Line

You are reading docs for v0.8. See latest (v0.9)

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.8. 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