ManifestDefinition.kind
property · packages/metakit/src/toolingManifest.ts:39
readonly kind: DefinitionKindMetakit / @doeixd/metakit/tooling
interface · packages/metakit/src/toolingManifest.ts:38
interface ManifestDefinition {
readonly kind: DefinitionKind
readonly hash: Digest
readonly contract: Digest
readonly references: ReadonlyArray<Digest>
readonly canonical: {
readonly executable: string
readonly contract: string
}
}One definition of a manifest.
ManifestDefinition.kindproperty · packages/metakit/src/toolingManifest.ts:39
readonly kind: DefinitionKindManifestDefinition.hashproperty · packages/metakit/src/toolingManifest.ts:41
readonly hash: DigestThe executable hash.
ManifestDefinition.contractproperty · packages/metakit/src/toolingManifest.ts:43
readonly contract: DigestThe contract hash, which names the definition in the manifest. An expression claims nothing: its contract is its hash.
ManifestDefinition.referencesproperty · packages/metakit/src/toolingManifest.ts:45
readonly references: ReadonlyArray<Digest>The contract hash of each definition this one's hashes hold, sorted: the derived operations it calls, a machine's transitions.
ManifestDefinition.canonicalproperty · packages/metakit/src/toolingManifest.ts:47
readonly canonical: {
readonly executable: string
readonly contract: string
}The text each hash is the SHA-256 of: the canonical JSON of [tag, payload].