ui/client/features/pages-editor/domain/ScopeBinding
Pure (DOMAIN-001) — the type-fit rule for the Scope tab's click-to-bind flow.
Cockpit client (features), v0.9. Source: ui/client/features/pages-editor/domain/ScopeBinding.ts.
Functions#
normalizeTypeText()#
normalizeTypeText(
type):string
Defined in: ui/client/features/pages-editor/domain/ScopeBinding.ts:8
Parameters#
type
string
Returns#
string
typeFits()#
typeFits(
sourceType,targetType):boolean
Defined in: ui/client/features/pages-editor/domain/ScopeBinding.ts:12
Parameters#
sourceType
string | null
targetType
string | null
Returns#
boolean