ReadinessProfile._tag
property · packages/metakit/src/languageReadiness.ts:21
readonly _tag: 'profile'Metakit / @doeixd/metakit/language
interface · packages/metakit/src/languageReadiness.ts:20
interface ReadinessProfile<Op extends Node.CoreOpId = Node.CoreOpId> {
readonly _tag: 'profile'
readonly id: string
readonly operators: ReadonlyArray<Op>
readonly nodes: ReadonlyArray<ProfileNode>
readonly limits: ArtifactLimits
}A named, bounded fragment of the language with exact semantics, which
Language.readiness checks an expression against: the core operators and
node kinds it admits and the size it allows. Its literals are a safe
integer, a boolean, null or text with no NUL and no lone surrogate; a
foreign call is outside it (expand derived operations first). It does not
check kinds: readiness sees no Schema.
ReadinessProfile._tagproperty · packages/metakit/src/languageReadiness.ts:21
readonly _tag: 'profile'ReadinessProfile.idproperty · packages/metakit/src/languageReadiness.ts:23
readonly id: string<owner>/<name>@<version>, as a bundle records it.
ReadinessProfile.operatorsproperty · packages/metakit/src/languageReadiness.ts:24
readonly operators: ReadonlyArray<Op>ReadinessProfile.nodesproperty · packages/metakit/src/languageReadiness.ts:25
readonly nodes: ReadonlyArray<ProfileNode>ReadinessProfile.limitsproperty · packages/metakit/src/languageReadiness.ts:27
readonly limits: ArtifactLimitsThe size bound a bundle of this profile is held to, counted as the artifact codec counts.