@astrale-os/kernel-dsl 0.1.5 → 0.2.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -57
- package/dist/index.js +1 -31
- package/dist/upgrade/contract.d.ts +31 -0
- package/dist/upgrade/contract.js +1 -0
- package/dist/upgrade/index.d.ts +1 -0
- package/dist/upgrade/index.js +1 -0
- package/dist/v1/addressing/class-key.d.ts +12 -0
- package/dist/v1/addressing/class-key.js +39 -0
- package/dist/v1/addressing/definition-ref.d.ts +28 -0
- package/dist/v1/addressing/definition-ref.js +63 -0
- package/dist/v1/addressing/domain-dependency.d.ts +18 -0
- package/dist/v1/addressing/domain-dependency.js +6 -0
- package/dist/v1/addressing/index.d.ts +12 -0
- package/dist/v1/addressing/index.js +7 -0
- package/dist/v1/addressing/key.d.ts +19 -0
- package/dist/v1/addressing/key.js +39 -0
- package/dist/v1/addressing/method-address.d.ts +9 -0
- package/dist/v1/addressing/method-address.js +1 -0
- package/dist/v1/addressing/method-key.d.ts +15 -0
- package/dist/v1/addressing/method-key.js +60 -0
- package/dist/v1/addressing/ordering.d.ts +6 -0
- package/dist/v1/addressing/ordering.js +20 -0
- package/dist/v1/addressing/patterns.d.ts +27 -0
- package/dist/v1/addressing/patterns.js +29 -0
- package/dist/v1/addressing/property-key.d.ts +13 -0
- package/dist/v1/addressing/property-key.js +39 -0
- package/dist/v1/addressing/revision.d.ts +8 -0
- package/dist/v1/addressing/revision.js +8 -0
- package/dist/v1/builder/callable/authoring.d.ts +117 -0
- package/dist/v1/builder/callable/authoring.js +67 -0
- package/dist/v1/builder/class/authoring.d.ts +367 -0
- package/dist/v1/builder/class/authoring.js +134 -0
- package/dist/v1/builder/class/property.d.ts +52 -0
- package/dist/v1/builder/class/property.js +49 -0
- package/dist/v1/builder/core/authoring.d.ts +42 -0
- package/dist/v1/builder/core/authoring.js +39 -0
- package/dist/v1/builder/index.d.ts +26 -0
- package/dist/v1/builder/index.js +11 -0
- package/dist/v1/builder/lowering/callable.d.ts +24 -0
- package/dist/v1/builder/lowering/callable.js +135 -0
- package/dist/v1/builder/lowering/class.d.ts +22 -0
- package/dist/v1/builder/lowering/class.js +129 -0
- package/dist/v1/builder/lowering/core-properties.d.ts +10 -0
- package/dist/v1/builder/lowering/core-properties.js +76 -0
- package/dist/v1/builder/lowering/core.d.ts +22 -0
- package/dist/v1/builder/lowering/core.js +50 -0
- package/dist/v1/builder/lowering/policy.d.ts +16 -0
- package/dist/v1/builder/lowering/policy.js +59 -0
- package/dist/v1/builder/lowering/schema/capture.d.ts +4 -0
- package/dist/v1/builder/lowering/schema/capture.js +70 -0
- package/dist/v1/builder/lowering/schema/compile.d.ts +10 -0
- package/dist/v1/builder/lowering/schema/compile.js +80 -0
- package/dist/v1/builder/lowering/schema/context.d.ts +44 -0
- package/dist/v1/builder/lowering/schema/context.js +247 -0
- package/dist/v1/builder/lowering/schema/ownership.d.ts +8 -0
- package/dist/v1/builder/lowering/schema/ownership.js +29 -0
- package/dist/v1/builder/lowering/value/compile.d.ts +15 -0
- package/dist/v1/builder/lowering/value/compile.js +136 -0
- package/dist/v1/builder/lowering/value/path.d.ts +3 -0
- package/dist/v1/builder/lowering/value/path.js +20 -0
- package/dist/v1/builder/lowering/value/zod.d.ts +32 -0
- package/dist/v1/builder/lowering/value/zod.js +342 -0
- package/dist/v1/builder/lowering/view.d.ts +11 -0
- package/dist/v1/builder/lowering/view.js +27 -0
- package/dist/v1/builder/policy/authoring.d.ts +52 -0
- package/dist/v1/builder/policy/authoring.js +90 -0
- package/dist/v1/builder/schema/define.d.ts +11 -0
- package/dist/v1/builder/schema/define.js +5 -0
- package/dist/v1/builder/schema/diagnostic.d.ts +16 -0
- package/dist/v1/builder/schema/diagnostic.js +31 -0
- package/dist/v1/builder/schema/handle.d.ts +7 -0
- package/dist/v1/builder/schema/handle.js +14 -0
- package/dist/v1/builder/schema/input.d.ts +15 -0
- package/dist/v1/builder/schema/input.js +1 -0
- package/dist/v1/builder/schema/lazy.d.ts +2 -0
- package/dist/v1/builder/schema/lazy.js +13 -0
- package/dist/v1/builder/schema/projection.d.ts +364 -0
- package/dist/v1/builder/schema/projection.js +1 -0
- package/dist/v1/builder/value/full-match.d.ts +4 -0
- package/dist/v1/builder/value/full-match.js +11 -0
- package/dist/v1/builder/value/path-metadata.d.ts +4 -0
- package/dist/v1/builder/value/path-metadata.js +7 -0
- package/dist/v1/builder/value/path.d.ts +8 -0
- package/dist/v1/builder/value/path.js +11 -0
- package/dist/v1/builder/value/schema.d.ts +16 -0
- package/dist/v1/builder/value/schema.js +10 -0
- package/dist/v1/builder/view/authoring.d.ts +17 -0
- package/dist/v1/builder/view/authoring.js +16 -0
- package/dist/v1/bundle/codec.d.ts +5 -0
- package/dist/v1/bundle/codec.js +168 -0
- package/dist/v1/bundle/create.d.ts +3 -0
- package/dist/v1/bundle/create.js +5 -0
- package/dist/v1/bundle/diagnostic.d.ts +10 -0
- package/dist/v1/bundle/diagnostic.js +17 -0
- package/dist/v1/bundle/index.d.ts +18 -0
- package/dist/v1/bundle/index.js +20 -0
- package/dist/v1/bundle/model.d.ts +16 -0
- package/dist/v1/bundle/model.js +11 -0
- package/dist/v1/bundle/structure.d.ts +7 -0
- package/dist/v1/bundle/structure.js +71 -0
- package/dist/v1/bundle/transport.d.ts +8 -0
- package/dist/v1/bundle/transport.js +7 -0
- package/dist/v1/compiled/admission/accept.d.ts +3 -0
- package/dist/v1/compiled/admission/accept.js +881 -0
- package/dist/v1/compiled/admission/revision.d.ts +4 -0
- package/dist/v1/compiled/admission/revision.js +73 -0
- package/dist/v1/compiled/admission/semantics.d.ts +7 -0
- package/dist/v1/compiled/admission/semantics.js +1091 -0
- package/dist/v1/compiled/codec/json.d.ts +3 -0
- package/dist/v1/compiled/codec/json.js +9 -0
- package/dist/v1/compiled/compiler/compile.d.ts +4 -0
- package/dist/v1/compiled/compiler/compile.js +113 -0
- package/dist/v1/compiled/diagnostic.d.ts +11 -0
- package/dist/v1/compiled/diagnostic.js +13 -0
- package/dist/v1/compiled/index.d.ts +7 -0
- package/dist/v1/compiled/index.js +5 -0
- package/dist/v1/compiled/loader/index.d.ts +1 -0
- package/dist/v1/compiled/loader/index.js +1 -0
- package/dist/v1/compiled/loader/load.d.ts +4 -0
- package/dist/v1/compiled/loader/load.js +141 -0
- package/dist/v1/compiled/model/schema.d.ts +73 -0
- package/dist/v1/compiled/model/schema.js +1 -0
- package/dist/v1/domain/create.d.ts +8 -0
- package/dist/v1/domain/create.js +264 -0
- package/dist/v1/domain/index.d.ts +2 -0
- package/dist/v1/domain/index.js +1 -0
- package/dist/v1/domain/model/domain.d.ts +59 -0
- package/dist/v1/domain/model/domain.js +1 -0
- package/dist/v1/domain/model/input.d.ts +31 -0
- package/dist/v1/domain/model/input.js +1 -0
- package/dist/v1/domain/namespace/member-collection.d.ts +5 -0
- package/dist/v1/domain/namespace/member-collection.js +81 -0
- package/dist/v1/domain/projection/classes.d.ts +4 -0
- package/dist/v1/domain/projection/classes.js +200 -0
- package/dist/v1/domain/validation/create.d.ts +18 -0
- package/dist/v1/domain/validation/create.js +75 -0
- package/dist/v1/index.d.ts +16 -0
- package/dist/v1/index.js +8 -0
- package/dist/v1/language/callable/index.d.ts +2 -0
- package/dist/v1/language/callable/index.js +1 -0
- package/dist/v1/language/callable/model/callable.d.ts +33 -0
- package/dist/v1/language/callable/model/callable.js +1 -0
- package/dist/v1/language/callable/resolved.d.ts +68 -0
- package/dist/v1/language/callable/resolved.js +1 -0
- package/dist/v1/language/class/facets.d.ts +58 -0
- package/dist/v1/language/class/facets.js +1 -0
- package/dist/v1/language/class/index.d.ts +8 -0
- package/dist/v1/language/class/index.js +1 -0
- package/dist/v1/language/class/model/class.d.ts +36 -0
- package/dist/v1/language/class/model/class.js +1 -0
- package/dist/v1/language/class/model/data.d.ts +11 -0
- package/dist/v1/language/class/model/data.js +2 -0
- package/dist/v1/language/class/model/edge.d.ts +38 -0
- package/dist/v1/language/class/model/edge.js +1 -0
- package/dist/v1/language/class/model/property.d.ts +18 -0
- package/dist/v1/language/class/model/property.js +1 -0
- package/dist/v1/language/class/property-values.d.ts +15 -0
- package/dist/v1/language/class/property-values.js +30 -0
- package/dist/v1/language/class/resolved.d.ts +123 -0
- package/dist/v1/language/class/resolved.js +1 -0
- package/dist/v1/language/core/index.d.ts +2 -0
- package/dist/v1/language/core/index.js +1 -0
- package/dist/v1/language/core/model/core.d.ts +20 -0
- package/dist/v1/language/core/model/core.js +1 -0
- package/dist/v1/language/core/resolved.d.ts +21 -0
- package/dist/v1/language/core/resolved.js +1 -0
- package/dist/v1/language/definition/metadata.d.ts +12 -0
- package/dist/v1/language/definition/metadata.js +12 -0
- package/dist/v1/language/definition.d.ts +7 -0
- package/dist/v1/language/definition.js +1 -0
- package/dist/v1/language/index.d.ts +23 -0
- package/dist/v1/language/index.js +1 -0
- package/dist/v1/language/policy/analysis/branches.d.ts +19 -0
- package/dist/v1/language/policy/analysis/branches.js +132 -0
- package/dist/v1/language/policy/analysis/budgets.d.ts +16 -0
- package/dist/v1/language/policy/analysis/budgets.js +25 -0
- package/dist/v1/language/policy/index.d.ts +3 -0
- package/dist/v1/language/policy/index.js +1 -0
- package/dist/v1/language/policy/model/policy.d.ts +77 -0
- package/dist/v1/language/policy/model/policy.js +1 -0
- package/dist/v1/language/policy/normalization/normalize.d.ts +4 -0
- package/dist/v1/language/policy/normalization/normalize.js +226 -0
- package/dist/v1/language/policy/resolved.d.ts +9 -0
- package/dist/v1/language/policy/resolved.js +1 -0
- package/dist/v1/language/resolved.d.ts +10 -0
- package/dist/v1/language/resolved.js +1 -0
- package/dist/v1/language/validation/diagnostic.d.ts +8 -0
- package/dist/v1/language/validation/diagnostic.js +3 -0
- package/dist/v1/language/value/compile/fields.d.ts +3 -0
- package/dist/v1/language/value/compile/fields.js +60 -0
- package/dist/v1/language/value/compile/load.d.ts +4 -0
- package/dist/v1/language/value/compile/load.js +41 -0
- package/dist/v1/language/value/compile/model.d.ts +27 -0
- package/dist/v1/language/value/compile/model.js +1 -0
- package/dist/v1/language/value/evaluate/assertions.d.ts +6 -0
- package/dist/v1/language/value/evaluate/assertions.js +58 -0
- package/dist/v1/language/value/evaluate/evaluator.d.ts +4 -0
- package/dist/v1/language/value/evaluate/evaluator.js +361 -0
- package/dist/v1/language/value/evaluate/preparation.d.ts +13 -0
- package/dist/v1/language/value/evaluate/preparation.js +135 -0
- package/dist/v1/language/value/evaluate/program.d.ts +3 -0
- package/dist/v1/language/value/evaluate/program.js +16 -0
- package/dist/v1/language/value/evaluate/types.d.ts +36 -0
- package/dist/v1/language/value/evaluate/types.js +9 -0
- package/dist/v1/language/value/evaluate/validate.d.ts +12 -0
- package/dist/v1/language/value/evaluate/validate.js +43 -0
- package/dist/v1/language/value/index.d.ts +11 -0
- package/dist/v1/language/value/index.js +8 -0
- package/dist/v1/language/value/model/instant.d.ts +9 -0
- package/dist/v1/language/value/model/instant.js +37 -0
- package/dist/v1/language/value/model/object.d.ts +5 -0
- package/dist/v1/language/value/model/object.js +3 -0
- package/dist/v1/language/value/model/schema.d.ts +25 -0
- package/dist/v1/language/value/model/schema.js +11 -0
- package/dist/v1/language/value/ordering.d.ts +13 -0
- package/dist/v1/language/value/ordering.js +174 -0
- package/dist/v1/language/value/profile/canonicalize.d.ts +4 -0
- package/dist/v1/language/value/profile/canonicalize.js +130 -0
- package/dist/v1/language/value/profile/json.validate.d.ts +2 -0
- package/dist/v1/language/value/profile/json.validate.js +14 -0
- package/dist/v1/language/value/profile/meta-schema.compiled.d.ts +78 -0
- package/dist/v1/language/value/profile/meta-schema.compiled.js +2079 -0
- package/dist/v1/language/value/profile/meta-schema.d.ts +4 -0
- package/dist/v1/language/value/profile/meta-schema.js +19 -0
- package/dist/v1/language/value/profile/rules.d.ts +3 -0
- package/dist/v1/language/value/profile/rules.js +109 -0
- package/dist/v1/language/value/profile/validate.d.ts +4 -0
- package/dist/v1/language/value/profile/validate.js +39 -0
- package/dist/v1/language/value/profile/vocabulary.d.ts +2 -0
- package/dist/v1/language/value/profile/vocabulary.js +68 -0
- package/dist/v1/language/value/reference/closure.d.ts +11 -0
- package/dist/v1/language/value/reference/closure.js +51 -0
- package/dist/v1/language/value/reference/recursion.d.ts +5 -0
- package/dist/v1/language/value/reference/recursion.js +95 -0
- package/dist/v1/language/value/reference/references.d.ts +17 -0
- package/dist/v1/language/value/reference/references.js +45 -0
- package/dist/v1/language/value/reference/registry.d.ts +24 -0
- package/dist/v1/language/value/reference/registry.index.d.ts +14 -0
- package/dist/v1/language/value/reference/registry.index.js +76 -0
- package/dist/v1/language/value/reference/registry.js +1 -0
- package/dist/v1/language/value/regexp/ast.d.ts +21 -0
- package/dist/v1/language/value/regexp/ast.js +326 -0
- package/dist/v1/language/value/regexp/compile.d.ts +3 -0
- package/dist/v1/language/value/regexp/compile.js +96 -0
- package/dist/v1/language/value/regexp/lower.d.ts +3 -0
- package/dist/v1/language/value/regexp/lower.js +26 -0
- package/dist/v1/language/value/regexp/matcher.d.ts +7 -0
- package/dist/v1/language/value/regexp/matcher.js +50 -0
- package/dist/v1/language/value/regexp/pattern.d.ts +2 -0
- package/dist/v1/language/value/regexp/pattern.js +38 -0
- package/dist/v1/language/value/regexp/syntax.d.ts +2 -0
- package/dist/v1/language/value/regexp/syntax.js +5 -0
- package/dist/v1/language/value/syntax/full-match.d.ts +6 -0
- package/dist/v1/language/value/syntax/full-match.js +20 -0
- package/dist/v1/language/value/syntax/keywords.d.ts +3 -0
- package/dist/v1/language/value/syntax/keywords.js +20 -0
- package/dist/v1/language/value/syntax/node-path/schema.d.ts +5 -0
- package/dist/v1/language/value/syntax/node-path/schema.js +18 -0
- package/dist/v1/language/value/syntax/node-path/validate.d.ts +4 -0
- package/dist/v1/language/value/syntax/node-path/validate.js +80 -0
- package/dist/v1/language/value/syntax/pointer.d.ts +4 -0
- package/dist/v1/language/value/syntax/pointer.js +49 -0
- package/dist/v1/language/value/syntax/walk.d.ts +10 -0
- package/dist/v1/language/value/syntax/walk.js +53 -0
- package/dist/v1/language/view/index.d.ts +2 -0
- package/dist/v1/language/view/index.js +1 -0
- package/dist/v1/language/view/model/view.d.ts +11 -0
- package/dist/v1/language/view/model/view.js +1 -0
- package/dist/v1/language/view/resolved.d.ts +9 -0
- package/dist/v1/language/view/resolved.js +1 -0
- package/dist/v1/schema/admission/accept.d.ts +3 -0
- package/dist/v1/schema/admission/accept.js +26 -0
- package/dist/v1/schema/analysis/class.d.ts +41 -0
- package/dist/v1/schema/analysis/class.js +181 -0
- package/dist/v1/schema/canonical/domain.d.ts +3 -0
- package/dist/v1/schema/canonical/domain.digest.d.ts +3 -0
- package/dist/v1/schema/canonical/domain.digest.js +5 -0
- package/dist/v1/schema/canonical/domain.js +5 -0
- package/dist/v1/schema/canonical/freeze.d.ts +1 -0
- package/dist/v1/schema/canonical/freeze.js +9 -0
- package/dist/v1/schema/canonical/revision.d.ts +11 -0
- package/dist/v1/schema/canonical/revision.js +17 -0
- package/dist/v1/schema/codec/header.d.ts +17 -0
- package/dist/v1/schema/codec/header.js +26 -0
- package/dist/v1/schema/codec/schema.d.ts +5 -0
- package/dist/v1/schema/codec/schema.js +21 -0
- package/dist/v1/schema/compatibility/meaning.d.ts +29 -0
- package/dist/v1/schema/compatibility/meaning.js +605 -0
- package/dist/v1/schema/dependency/lookup.d.ts +18 -0
- package/dist/v1/schema/dependency/lookup.js +31 -0
- package/dist/v1/schema/diagnostic.d.ts +12 -0
- package/dist/v1/schema/diagnostic.js +21 -0
- package/dist/v1/schema/index.d.ts +26 -0
- package/dist/v1/schema/index.js +13 -0
- package/dist/v1/schema/model/format.d.ts +2 -0
- package/dist/v1/schema/model/format.js +2 -0
- package/dist/v1/schema/model/schema.d.ts +30 -0
- package/dist/v1/schema/model/schema.js +4 -0
- package/dist/v1/schema/normalization/domain.d.ts +2 -0
- package/dist/v1/schema/normalization/domain.js +207 -0
- package/dist/v1/schema/resolution/closure.d.ts +9 -0
- package/dist/v1/schema/resolution/closure.js +49 -0
- package/dist/v1/schema/resolution/context.d.ts +17 -0
- package/dist/v1/schema/resolution/context.js +158 -0
- package/dist/v1/schema/resolution/definition.index.d.ts +21 -0
- package/dist/v1/schema/resolution/definition.index.js +17 -0
- package/dist/v1/schema/resolution/domain.d.ts +4 -0
- package/dist/v1/schema/resolution/domain.js +112 -0
- package/dist/v1/schema/resolution/origins.d.ts +14 -0
- package/dist/v1/schema/resolution/origins.js +121 -0
- package/dist/v1/schema/resolution/value.registry.d.ts +7 -0
- package/dist/v1/schema/resolution/value.registry.js +39 -0
- package/dist/v1/schema/revision.d.ts +1 -0
- package/dist/v1/schema/revision.js +1 -0
- package/dist/v1/schema/validation/class.d.ts +5 -0
- package/dist/v1/schema/validation/class.js +208 -0
- package/dist/v1/schema/validation/core.d.ts +5 -0
- package/dist/v1/schema/validation/core.js +264 -0
- package/dist/v1/schema/validation/domain.d.ts +11 -0
- package/dist/v1/schema/validation/domain.js +36 -0
- package/dist/v1/schema/validation/domain.route.d.ts +4 -0
- package/dist/v1/schema/validation/domain.route.js +32 -0
- package/dist/v1/schema/validation/domain.structure.d.ts +4 -0
- package/dist/v1/schema/validation/domain.structure.js +427 -0
- package/dist/v1/schema/validation/policy/budgets.d.ts +4 -0
- package/dist/v1/schema/validation/policy/budgets.js +102 -0
- package/dist/v1/schema/validation/policy/context.d.ts +28 -0
- package/dist/v1/schema/validation/policy/context.js +89 -0
- package/dist/v1/schema/validation/policy/references.d.ts +2 -0
- package/dist/v1/schema/validation/policy/references.js +143 -0
- package/dist/v1/schema/validation/policy/typing.d.ts +19 -0
- package/dist/v1/schema/validation/policy/typing.js +318 -0
- package/dist/v1/schema/validation/policy/uses.d.ts +5 -0
- package/dist/v1/schema/validation/policy/uses.js +258 -0
- package/dist/v1/schema/validation/policy/validate.d.ts +11 -0
- package/dist/v1/schema/validation/policy/validate.js +23 -0
- package/dist/v1/schema/validation/value-api.d.ts +13 -0
- package/dist/v1/schema/validation/value-api.js +23 -0
- package/dist/v1/schema/validation/value.d.ts +4 -0
- package/dist/v1/schema/validation/value.js +39 -0
- package/dist/v1/schema/validation/view.d.ts +3 -0
- package/dist/v1/schema/validation/view.js +29 -0
- package/dist/v1/value/full-match.d.ts +2 -0
- package/dist/v1/value/full-match.js +2 -0
- package/dist/v1.d.ts +2 -0
- package/dist/v1.js +2 -0
- package/dist/value/accept.d.ts +8 -0
- package/dist/value/accept.js +132 -0
- package/dist/value/canonical.d.ts +4 -0
- package/dist/value/canonical.js +41 -0
- package/dist/value/decode.d.ts +4 -0
- package/dist/value/decode.js +108 -0
- package/dist/value/equal.d.ts +3 -0
- package/dist/value/equal.js +5 -0
- package/dist/value/error.d.ts +12 -0
- package/dist/value/error.js +21 -0
- package/dist/value/index.d.ts +9 -0
- package/dist/value/index.js +6 -0
- package/dist/value/json.d.ts +3 -0
- package/dist/value/json.js +3 -0
- package/dist/value/limits.d.ts +21 -0
- package/dist/value/limits.js +15 -0
- package/dist/value/types.d.ts +6 -0
- package/dist/value/types.js +1 -0
- package/dist/value/unicode.d.ts +4 -0
- package/dist/value/unicode.js +64 -0
- package/dist/version/dispatch.d.ts +24 -0
- package/dist/version/dispatch.js +47 -0
- package/dist/version/index.d.ts +2 -0
- package/dist/version/index.js +1 -0
- package/package.json +75 -15
- package/dist/builders/bitmask.d.ts +0 -5
- package/dist/builders/bitmask.d.ts.map +0 -1
- package/dist/builders/bitmask.js +0 -12
- package/dist/builders/bitmask.js.map +0 -1
- package/dist/builders/data.d.ts +0 -7
- package/dist/builders/data.d.ts.map +0 -1
- package/dist/builders/data.js +0 -18
- package/dist/builders/data.js.map +0 -1
- package/dist/builders/definition/base.d.ts +0 -13
- package/dist/builders/definition/base.d.ts.map +0 -1
- package/dist/builders/definition/base.js +0 -24
- package/dist/builders/definition/base.js.map +0 -1
- package/dist/builders/definition/edge-class.d.ts +0 -8
- package/dist/builders/definition/edge-class.d.ts.map +0 -1
- package/dist/builders/definition/edge-class.js +0 -9
- package/dist/builders/definition/edge-class.js.map +0 -1
- package/dist/builders/definition/edge-interface.d.ts +0 -8
- package/dist/builders/definition/edge-interface.d.ts.map +0 -1
- package/dist/builders/definition/edge-interface.js +0 -9
- package/dist/builders/definition/edge-interface.js.map +0 -1
- package/dist/builders/definition/node-class.d.ts +0 -7
- package/dist/builders/definition/node-class.d.ts.map +0 -1
- package/dist/builders/definition/node-class.js +0 -9
- package/dist/builders/definition/node-class.js.map +0 -1
- package/dist/builders/definition/node-interface.d.ts +0 -7
- package/dist/builders/definition/node-interface.d.ts.map +0 -1
- package/dist/builders/definition/node-interface.js +0 -9
- package/dist/builders/definition/node-interface.js.map +0 -1
- package/dist/builders/function.d.ts +0 -34
- package/dist/builders/function.d.ts.map +0 -1
- package/dist/builders/function.js +0 -8
- package/dist/builders/function.js.map +0 -1
- package/dist/builders/policy.d.ts +0 -10
- package/dist/builders/policy.d.ts.map +0 -1
- package/dist/builders/policy.js +0 -28
- package/dist/builders/policy.js.map +0 -1
- package/dist/builders/prop.d.ts +0 -7
- package/dist/builders/prop.d.ts.map +0 -1
- package/dist/builders/prop.js +0 -9
- package/dist/builders/prop.js.map +0 -1
- package/dist/builders/ref.d.ts +0 -12
- package/dist/builders/ref.d.ts.map +0 -1
- package/dist/builders/ref.js +0 -27
- package/dist/builders/ref.js.map +0 -1
- package/dist/grammar/definition/base.d.ts +0 -13
- package/dist/grammar/definition/base.d.ts.map +0 -1
- package/dist/grammar/definition/base.js +0 -2
- package/dist/grammar/definition/base.js.map +0 -1
- package/dist/grammar/definition/discriminants.d.ts +0 -31
- package/dist/grammar/definition/discriminants.d.ts.map +0 -1
- package/dist/grammar/definition/discriminants.js +0 -33
- package/dist/grammar/definition/discriminants.js.map +0 -1
- package/dist/grammar/definition/edge-class.d.ts +0 -19
- package/dist/grammar/definition/edge-class.d.ts.map +0 -1
- package/dist/grammar/definition/edge-class.js +0 -2
- package/dist/grammar/definition/edge-class.js.map +0 -1
- package/dist/grammar/definition/edge-interface.d.ts +0 -18
- package/dist/grammar/definition/edge-interface.d.ts.map +0 -1
- package/dist/grammar/definition/edge-interface.js +0 -2
- package/dist/grammar/definition/edge-interface.js.map +0 -1
- package/dist/grammar/definition/node-class.d.ts +0 -26
- package/dist/grammar/definition/node-class.d.ts.map +0 -1
- package/dist/grammar/definition/node-class.js +0 -2
- package/dist/grammar/definition/node-class.js.map +0 -1
- package/dist/grammar/definition/node-interface.d.ts +0 -14
- package/dist/grammar/definition/node-interface.d.ts.map +0 -1
- package/dist/grammar/definition/node-interface.js +0 -2
- package/dist/grammar/definition/node-interface.js.map +0 -1
- package/dist/grammar/facets/constraints.d.ts +0 -8
- package/dist/grammar/facets/constraints.d.ts.map +0 -1
- package/dist/grammar/facets/constraints.js +0 -2
- package/dist/grammar/facets/constraints.js.map +0 -1
- package/dist/grammar/facets/content.d.ts +0 -4
- package/dist/grammar/facets/content.d.ts.map +0 -1
- package/dist/grammar/facets/content.js +0 -2
- package/dist/grammar/facets/content.js.map +0 -1
- package/dist/grammar/facets/endpoints.d.ts +0 -14
- package/dist/grammar/facets/endpoints.d.ts.map +0 -1
- package/dist/grammar/facets/endpoints.js +0 -3
- package/dist/grammar/facets/endpoints.js.map +0 -1
- package/dist/grammar/facets/indexes.d.ts +0 -12
- package/dist/grammar/facets/indexes.d.ts.map +0 -1
- package/dist/grammar/facets/indexes.js +0 -9
- package/dist/grammar/facets/indexes.js.map +0 -1
- package/dist/grammar/facets/properties.d.ts +0 -26
- package/dist/grammar/facets/properties.d.ts.map +0 -1
- package/dist/grammar/facets/properties.js +0 -45
- package/dist/grammar/facets/properties.js.map +0 -1
- package/dist/grammar/function/config.d.ts +0 -16
- package/dist/grammar/function/config.d.ts.map +0 -1
- package/dist/grammar/function/config.js +0 -2
- package/dist/grammar/function/config.js.map +0 -1
- package/dist/grammar/function/def.d.ts +0 -58
- package/dist/grammar/function/def.d.ts.map +0 -1
- package/dist/grammar/function/def.js +0 -2
- package/dist/grammar/function/def.js.map +0 -1
- package/dist/grammar/function/inheritance.d.ts +0 -3
- package/dist/grammar/function/inheritance.d.ts.map +0 -1
- package/dist/grammar/function/inheritance.js +0 -2
- package/dist/grammar/function/inheritance.js.map +0 -1
- package/dist/grammar/function/output.d.ts +0 -3
- package/dist/grammar/function/output.d.ts.map +0 -1
- package/dist/grammar/function/output.js +0 -2
- package/dist/grammar/function/output.js.map +0 -1
- package/dist/grammar/policy/callable.d.ts +0 -40
- package/dist/grammar/policy/callable.d.ts.map +0 -1
- package/dist/grammar/policy/callable.js +0 -2
- package/dist/grammar/policy/callable.js.map +0 -1
- package/dist/grammar/policy/def.d.ts +0 -27
- package/dist/grammar/policy/def.d.ts.map +0 -1
- package/dist/grammar/policy/def.js +0 -2
- package/dist/grammar/policy/def.js.map +0 -1
- package/dist/grammar/policy/pattern.d.ts +0 -34
- package/dist/grammar/policy/pattern.d.ts.map +0 -1
- package/dist/grammar/policy/pattern.js +0 -2
- package/dist/grammar/policy/pattern.js.map +0 -1
- package/dist/grammar/values/bitmask.d.ts +0 -7
- package/dist/grammar/values/bitmask.d.ts.map +0 -1
- package/dist/grammar/values/bitmask.js +0 -2
- package/dist/grammar/values/bitmask.js.map +0 -1
- package/dist/grammar/values/data.d.ts +0 -30
- package/dist/grammar/values/data.d.ts.map +0 -1
- package/dist/grammar/values/data.js +0 -2
- package/dist/grammar/values/data.js.map +0 -1
- package/dist/grammar/values/ref.d.ts +0 -26
- package/dist/grammar/values/ref.d.ts.map +0 -1
- package/dist/grammar/values/ref.js +0 -2
- package/dist/grammar/values/ref.js.map +0 -1
- package/dist/grammar/values/self.d.ts +0 -12
- package/dist/grammar/values/self.d.ts.map +0 -1
- package/dist/grammar/values/self.js +0 -6
- package/dist/grammar/values/self.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/inference/content.d.ts +0 -27
- package/dist/inference/content.d.ts.map +0 -1
- package/dist/inference/content.js +0 -2
- package/dist/inference/content.js.map +0 -1
- package/dist/inference/index.d.ts +0 -7
- package/dist/inference/index.d.ts.map +0 -1
- package/dist/inference/index.js +0 -2
- package/dist/inference/index.js.map +0 -1
- package/dist/inference/inheritance.d.ts +0 -48
- package/dist/inference/inheritance.d.ts.map +0 -1
- package/dist/inference/inheritance.js +0 -2
- package/dist/inference/inheritance.js.map +0 -1
- package/dist/inference/input.d.ts +0 -30
- package/dist/inference/input.d.ts.map +0 -1
- package/dist/inference/input.js +0 -2
- package/dist/inference/input.js.map +0 -1
- package/dist/inference/methods.d.ts +0 -69
- package/dist/inference/methods.d.ts.map +0 -1
- package/dist/inference/methods.js +0 -2
- package/dist/inference/methods.js.map +0 -1
- package/dist/inference/properties.d.ts +0 -37
- package/dist/inference/properties.d.ts.map +0 -1
- package/dist/inference/properties.js +0 -2
- package/dist/inference/properties.js.map +0 -1
- package/dist/inference/schema.d.ts +0 -37
- package/dist/inference/schema.d.ts.map +0 -1
- package/dist/inference/schema.js +0 -2
- package/dist/inference/schema.js.map +0 -1
- package/dist/instance/core/define.d.ts +0 -13
- package/dist/instance/core/define.d.ts.map +0 -1
- package/dist/instance/core/define.js +0 -63
- package/dist/instance/core/define.js.map +0 -1
- package/dist/instance/core/edge.d.ts +0 -9
- package/dist/instance/core/edge.d.ts.map +0 -1
- package/dist/instance/core/edge.js +0 -11
- package/dist/instance/core/edge.js.map +0 -1
- package/dist/instance/core/endpoint.d.ts +0 -11
- package/dist/instance/core/endpoint.d.ts.map +0 -1
- package/dist/instance/core/endpoint.js +0 -19
- package/dist/instance/core/endpoint.js.map +0 -1
- package/dist/instance/core/node.d.ts +0 -7
- package/dist/instance/core/node.d.ts.map +0 -1
- package/dist/instance/core/node.js +0 -9
- package/dist/instance/core/node.js.map +0 -1
- package/dist/instance/core/path.d.ts +0 -21
- package/dist/instance/core/path.d.ts.map +0 -1
- package/dist/instance/core/path.js +0 -21
- package/dist/instance/core/path.js.map +0 -1
- package/dist/instance/core/self.d.ts +0 -15
- package/dist/instance/core/self.d.ts.map +0 -1
- package/dist/instance/core/self.js +0 -8
- package/dist/instance/core/self.js.map +0 -1
- package/dist/instance/core/types.d.ts +0 -45
- package/dist/instance/core/types.d.ts.map +0 -1
- package/dist/instance/core/types.js +0 -2
- package/dist/instance/core/types.js.map +0 -1
- package/dist/instance/seed/define.d.ts +0 -12
- package/dist/instance/seed/define.d.ts.map +0 -1
- package/dist/instance/seed/define.js +0 -34
- package/dist/instance/seed/define.js.map +0 -1
- package/dist/instance/seed/types.d.ts +0 -12
- package/dist/instance/seed/types.d.ts.map +0 -1
- package/dist/instance/seed/types.js +0 -2
- package/dist/instance/seed/types.js.map +0 -1
- package/dist/ir/classes.d.ts +0 -78
- package/dist/ir/classes.d.ts.map +0 -1
- package/dist/ir/classes.js +0 -2
- package/dist/ir/classes.js.map +0 -1
- package/dist/ir/domain.d.ts +0 -13
- package/dist/ir/domain.d.ts.map +0 -1
- package/dist/ir/domain.js +0 -2
- package/dist/ir/domain.js.map +0 -1
- package/dist/ir/endpoints.d.ts +0 -27
- package/dist/ir/endpoints.d.ts.map +0 -1
- package/dist/ir/endpoints.js +0 -2
- package/dist/ir/endpoints.js.map +0 -1
- package/dist/ir/functions.d.ts +0 -34
- package/dist/ir/functions.d.ts.map +0 -1
- package/dist/ir/functions.js +0 -2
- package/dist/ir/functions.js.map +0 -1
- package/dist/ir/index.d.ts +0 -9
- package/dist/ir/index.d.ts.map +0 -1
- package/dist/ir/index.js +0 -2
- package/dist/ir/index.js.map +0 -1
- package/dist/ir/ir.d.ts +0 -75
- package/dist/ir/ir.d.ts.map +0 -1
- package/dist/ir/ir.js +0 -5
- package/dist/ir/ir.js.map +0 -1
- package/dist/ir/json-schema.d.ts +0 -20
- package/dist/ir/json-schema.d.ts.map +0 -1
- package/dist/ir/json-schema.js +0 -2
- package/dist/ir/json-schema.js.map +0 -1
- package/dist/ir/policies.d.ts +0 -74
- package/dist/ir/policies.d.ts.map +0 -1
- package/dist/ir/policies.js +0 -2
- package/dist/ir/policies.js.map +0 -1
- package/dist/schema/classify.d.ts +0 -8
- package/dist/schema/classify.d.ts.map +0 -1
- package/dist/schema/classify.js +0 -20
- package/dist/schema/classify.js.map +0 -1
- package/dist/schema/define.d.ts +0 -23
- package/dist/schema/define.d.ts.map +0 -1
- package/dist/schema/define.js +0 -58
- package/dist/schema/define.js.map +0 -1
- package/dist/schema/error.d.ts +0 -8
- package/dist/schema/error.d.ts.map +0 -1
- package/dist/schema/error.js +0 -14
- package/dist/schema/error.js.map +0 -1
- package/dist/schema/refs.d.ts +0 -77
- package/dist/schema/refs.d.ts.map +0 -1
- package/dist/schema/refs.js +0 -100
- package/dist/schema/refs.js.map +0 -1
- package/dist/schema/resolve/index.d.ts +0 -5
- package/dist/schema/resolve/index.d.ts.map +0 -1
- package/dist/schema/resolve/index.js +0 -5
- package/dist/schema/resolve/index.js.map +0 -1
- package/dist/schema/resolve/methods.d.ts +0 -8
- package/dist/schema/resolve/methods.d.ts.map +0 -1
- package/dist/schema/resolve/methods.js +0 -18
- package/dist/schema/resolve/methods.js.map +0 -1
- package/dist/schema/resolve/properties.d.ts +0 -13
- package/dist/schema/resolve/properties.d.ts.map +0 -1
- package/dist/schema/resolve/properties.js +0 -37
- package/dist/schema/resolve/properties.js.map +0 -1
- package/dist/schema/resolve/self.d.ts +0 -7
- package/dist/schema/resolve/self.d.ts.map +0 -1
- package/dist/schema/resolve/self.js +0 -33
- package/dist/schema/resolve/self.js.map +0 -1
- package/dist/schema/resolve/thunks.d.ts +0 -12
- package/dist/schema/resolve/thunks.d.ts.map +0 -1
- package/dist/schema/resolve/thunks.js +0 -37
- package/dist/schema/resolve/thunks.js.map +0 -1
- package/dist/schema/schema.d.ts +0 -25
- package/dist/schema/schema.d.ts.map +0 -1
- package/dist/schema/schema.js +0 -2
- package/dist/schema/schema.js.map +0 -1
- package/dist/schema/validators/context.d.ts +0 -17
- package/dist/schema/validators/context.d.ts.map +0 -1
- package/dist/schema/validators/context.js +0 -2
- package/dist/schema/validators/context.js.map +0 -1
- package/dist/schema/validators/endpoints.d.ts +0 -4
- package/dist/schema/validators/endpoints.d.ts.map +0 -1
- package/dist/schema/validators/endpoints.js +0 -27
- package/dist/schema/validators/endpoints.js.map +0 -1
- package/dist/schema/validators/index.d.ts +0 -12
- package/dist/schema/validators/index.d.ts.map +0 -1
- package/dist/schema/validators/index.js +0 -25
- package/dist/schema/validators/index.js.map +0 -1
- package/dist/schema/validators/indexes.d.ts +0 -4
- package/dist/schema/validators/indexes.d.ts.map +0 -1
- package/dist/schema/validators/indexes.js +0 -19
- package/dist/schema/validators/indexes.js.map +0 -1
- package/dist/schema/validators/inheritance.d.ts +0 -4
- package/dist/schema/validators/inheritance.d.ts.map +0 -1
- package/dist/schema/validators/inheritance.js +0 -27
- package/dist/schema/validators/inheritance.js.map +0 -1
- package/dist/schema/validators/methods.d.ts +0 -9
- package/dist/schema/validators/methods.d.ts.map +0 -1
- package/dist/schema/validators/methods.js +0 -44
- package/dist/schema/validators/methods.js.map +0 -1
- package/dist/schema/validators/names.d.ts +0 -4
- package/dist/schema/validators/names.d.ts.map +0 -1
- package/dist/schema/validators/names.js +0 -19
- package/dist/schema/validators/names.js.map +0 -1
- package/dist/schema/validators/policies.d.ts +0 -4
- package/dist/schema/validators/policies.d.ts.map +0 -1
- package/dist/schema/validators/policies.js +0 -61
- package/dist/schema/validators/policies.js.map +0 -1
- package/dist/schema/validators/ref-targets.d.ts +0 -4
- package/dist/schema/validators/ref-targets.d.ts.map +0 -1
- package/dist/schema/validators/ref-targets.js +0 -54
- package/dist/schema/validators/ref-targets.js.map +0 -1
- package/dist/serializer/context.d.ts +0 -35
- package/dist/serializer/context.d.ts.map +0 -1
- package/dist/serializer/context.js +0 -359
- package/dist/serializer/context.js.map +0 -1
- package/dist/serializer/helpers.d.ts +0 -34
- package/dist/serializer/helpers.d.ts.map +0 -1
- package/dist/serializer/helpers.js +0 -116
- package/dist/serializer/helpers.js.map +0 -1
- package/dist/serializer/index.d.ts +0 -2
- package/dist/serializer/index.d.ts.map +0 -1
- package/dist/serializer/index.js +0 -2
- package/dist/serializer/index.js.map +0 -1
- package/dist/serializer/policies.d.ts +0 -34
- package/dist/serializer/policies.d.ts.map +0 -1
- package/dist/serializer/policies.js +0 -837
- package/dist/serializer/policies.js.map +0 -1
- package/dist/serializer/policy-typing.d.ts +0 -56
- package/dist/serializer/policy-typing.d.ts.map +0 -1
- package/dist/serializer/policy-typing.js +0 -490
- package/dist/serializer/policy-typing.js.map +0 -1
- package/dist/serializer/serialize.d.ts +0 -12
- package/dist/serializer/serialize.d.ts.map +0 -1
- package/dist/serializer/serialize.js +0 -6
- package/dist/serializer/serialize.js.map +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CoreContent } from '../../language/core/model/core.js';
|
|
2
|
+
import type { DomainSchemaLookup } from '../../schema/dependency/lookup.js';
|
|
3
|
+
import type { DomainSchemaIR } from '../../schema/model/schema.js';
|
|
4
|
+
import type { UnqualifiedCoreContent } from './core.js';
|
|
5
|
+
type UnqualifiedDomainSchema = Omit<DomainSchemaIR, 'core'> & {
|
|
6
|
+
readonly core: UnqualifiedCoreContent;
|
|
7
|
+
};
|
|
8
|
+
/** Lower rich builder shorthand to the canonical full-key Core representation. */
|
|
9
|
+
export declare function canonicalizeCorePropertyKeys(candidate: UnqualifiedDomainSchema, lookup: DomainSchemaLookup): CoreContent;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { PropertyKey as admitPropertyKey } from '../../addressing/index.js';
|
|
2
|
+
import { definitionRefIndex } from '../../addressing/ordering.js';
|
|
3
|
+
import { createPropertyValues } from '../../language/class/property-values.js';
|
|
4
|
+
import { analyzeDefinitions } from '../../schema/analysis/class.js';
|
|
5
|
+
import { buildDomainResolutionContext } from '../../schema/resolution/context.js';
|
|
6
|
+
import { escapeToken, fail } from '../schema/diagnostic.js';
|
|
7
|
+
/** Lower rich builder shorthand to the canonical full-key Core representation. */
|
|
8
|
+
export function canonicalizeCorePropertyKeys(candidate, lookup) {
|
|
9
|
+
// Core Property values do not participate in Class composition. Analyze the
|
|
10
|
+
// already-canonical Definition surface, then admit Core values below.
|
|
11
|
+
const analysisCandidate = {
|
|
12
|
+
...candidate,
|
|
13
|
+
core: { nodes: {}, edges: [] },
|
|
14
|
+
};
|
|
15
|
+
const definitions = analyzeDefinitions(buildDomainResolutionContext(analysisCandidate, lookup)).definitions;
|
|
16
|
+
const nodes = Object.fromEntries(Object.entries(candidate.core.nodes).map(([slug, node]) => {
|
|
17
|
+
const definition = definitions.get(definitionRefIndex(node.class));
|
|
18
|
+
if (definition === undefined) {
|
|
19
|
+
fail('BUILDER_CORE_PROPERTY', `/core/nodes/${escapeToken(slug)}/class`, 'Core property shorthand requires a resolvable concrete Class.');
|
|
20
|
+
}
|
|
21
|
+
return [
|
|
22
|
+
slug,
|
|
23
|
+
{
|
|
24
|
+
...node,
|
|
25
|
+
properties: qualify(node.properties, definition, `/core/nodes/${escapeToken(slug)}/properties`),
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
}));
|
|
29
|
+
const edges = candidate.core.edges.map((edge, index) => {
|
|
30
|
+
const definition = definitions.get(definitionRefIndex(edge.class));
|
|
31
|
+
if (definition === undefined) {
|
|
32
|
+
fail('BUILDER_CORE_PROPERTY', `/core/edges/${index}/class`, 'Core property shorthand requires a resolvable concrete Class.');
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
...edge,
|
|
36
|
+
properties: qualify(edge.properties, definition, `/core/edges/${index}/properties`),
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
return { nodes, edges };
|
|
40
|
+
}
|
|
41
|
+
function qualify(input, definition, pointer) {
|
|
42
|
+
const byName = new Map();
|
|
43
|
+
for (const [key, field] of definition.properties) {
|
|
44
|
+
const candidates = byName.get(field.name) ?? [];
|
|
45
|
+
candidates.push(key);
|
|
46
|
+
byName.set(field.name, candidates);
|
|
47
|
+
}
|
|
48
|
+
const result = {};
|
|
49
|
+
const sourceByKey = new Map();
|
|
50
|
+
for (const [inputKey, value] of Object.entries(input)) {
|
|
51
|
+
const key = resolveInputKey(inputKey, definition, byName, `${pointer}/${escapeToken(inputKey)}`);
|
|
52
|
+
const previous = sourceByKey.get(key);
|
|
53
|
+
if (previous !== undefined) {
|
|
54
|
+
fail('BUILDER_CORE_PROPERTY', `${pointer}/${escapeToken(inputKey)}`, `Property is supplied twice through ${JSON.stringify(previous)} and ${JSON.stringify(inputKey)}.`);
|
|
55
|
+
}
|
|
56
|
+
sourceByKey.set(key, inputKey);
|
|
57
|
+
result[key] = value;
|
|
58
|
+
}
|
|
59
|
+
return createPropertyValues(Object.entries(result).map(([key, value]) => [admitPropertyKey(key), value]));
|
|
60
|
+
}
|
|
61
|
+
function resolveInputKey(input, definition, byName, pointer) {
|
|
62
|
+
if (admitPropertyKey.is(input)) {
|
|
63
|
+
const key = admitPropertyKey(input);
|
|
64
|
+
if (!definition.properties.has(key)) {
|
|
65
|
+
fail('BUILDER_CORE_PROPERTY', pointer, `Property ${input} is not present on the Core Class.`);
|
|
66
|
+
}
|
|
67
|
+
return key;
|
|
68
|
+
}
|
|
69
|
+
const candidates = byName.get(input) ?? [];
|
|
70
|
+
if (candidates.length === 1)
|
|
71
|
+
return candidates[0];
|
|
72
|
+
if (candidates.length === 0) {
|
|
73
|
+
fail('BUILDER_CORE_PROPERTY', pointer, `Property ${JSON.stringify(input)} does not exist.`);
|
|
74
|
+
}
|
|
75
|
+
fail('BUILDER_CORE_PROPERTY', pointer, `Property ${JSON.stringify(input)} is ambiguous; use one of: ${candidates.join(', ')}.`);
|
|
76
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Object as JsonObject } from '@astrale-os/kernel-dsl/value';
|
|
2
|
+
import type { ClassRef, CoreRef } from '../../addressing/index.js';
|
|
3
|
+
import type { CoreEndpointRef } from '../../language/core/model/core.js';
|
|
4
|
+
import type { CoreInput } from '../core/authoring.js';
|
|
5
|
+
import type { BuilderContext } from './schema/context.js';
|
|
6
|
+
export declare function captureCore(input: CoreInput | undefined, context: BuilderContext): void;
|
|
7
|
+
export interface UnqualifiedCoreDefinition {
|
|
8
|
+
readonly ref: CoreRef;
|
|
9
|
+
readonly class: ClassRef;
|
|
10
|
+
readonly properties: JsonObject;
|
|
11
|
+
}
|
|
12
|
+
export interface UnqualifiedCoreEdge {
|
|
13
|
+
readonly class: ClassRef;
|
|
14
|
+
readonly source: CoreEndpointRef;
|
|
15
|
+
readonly target: CoreEndpointRef;
|
|
16
|
+
readonly properties: JsonObject;
|
|
17
|
+
}
|
|
18
|
+
export interface UnqualifiedCoreContent {
|
|
19
|
+
readonly nodes: Readonly<Record<string, UnqualifiedCoreDefinition>>;
|
|
20
|
+
readonly edges: readonly UnqualifiedCoreEdge[];
|
|
21
|
+
}
|
|
22
|
+
export declare function compileCore(input: CoreInput | undefined, context: BuilderContext): UnqualifiedCoreContent;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { coreEdgeConfiguration, coreNodeConfiguration } from '../core/authoring.js';
|
|
2
|
+
import { escapeToken, fail } from '../schema/diagnostic.js';
|
|
3
|
+
import { isAuthoringValue } from '../schema/handle.js';
|
|
4
|
+
export function captureCore(input, context) {
|
|
5
|
+
for (const [slug, node] of Object.entries(input?.nodes ?? {})) {
|
|
6
|
+
if (!isAuthoringValue(node, 'core-node')) {
|
|
7
|
+
fail('BUILDER_CORE_NODE', `/core/nodes/${escapeToken(slug)}`, 'core.nodes entries are created by node(...).');
|
|
8
|
+
}
|
|
9
|
+
context.captureCoreNode(node, slug, `/core/nodes/${escapeToken(slug)}`);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export function compileCore(input, context) {
|
|
13
|
+
const nodes = Object.fromEntries(Object.entries(input?.nodes ?? {}).map(([slug, value]) => [
|
|
14
|
+
slug,
|
|
15
|
+
compileNode(slug, value, context, `/core/nodes/${escapeToken(slug)}`),
|
|
16
|
+
]));
|
|
17
|
+
const edges = (input?.edges ?? []).map((value, index) => compileEdge(value, context, `/core/edges/${index}`));
|
|
18
|
+
return { nodes, edges };
|
|
19
|
+
}
|
|
20
|
+
function compileNode(slug, value, context, pointer) {
|
|
21
|
+
const configuration = coreNodeConfiguration(value);
|
|
22
|
+
const ref = context.resolveNodeClass(configuration.class, `${pointer}/class`);
|
|
23
|
+
if (ref.origin !== context.origin) {
|
|
24
|
+
fail('BUILDER_CORE_CLASS', `${pointer}/class`, 'A Core Node Class must be local to the owning Domain.');
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
ref: { origin: context.origin, kind: 'core', name: slug },
|
|
28
|
+
class: ref,
|
|
29
|
+
properties: configuration.properties,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function compileEdge(value, context, pointer) {
|
|
33
|
+
if (!isAuthoringValue(value, 'core-edge')) {
|
|
34
|
+
fail('BUILDER_CORE_EDGE', pointer, 'core.edges entries are created by edge(...).');
|
|
35
|
+
}
|
|
36
|
+
const configuration = coreEdgeConfiguration(value);
|
|
37
|
+
const ref = context.resolveEdgeClass(configuration.class, `${pointer}/class`);
|
|
38
|
+
if (ref.origin !== context.origin) {
|
|
39
|
+
fail('BUILDER_CORE_CLASS', `${pointer}/class`, 'A Core Edge Class must be local to the owning Domain.');
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
class: ref,
|
|
43
|
+
source: resolveEndpoint(configuration.source, context, `${pointer}/source`),
|
|
44
|
+
target: resolveEndpoint(configuration.target, context, `${pointer}/target`),
|
|
45
|
+
properties: configuration.properties,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function resolveEndpoint(value, context, pointer) {
|
|
49
|
+
return context.resolveCoreEndpoint(value, pointer);
|
|
50
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PolicyRef } from '../../addressing/index.js';
|
|
2
|
+
import type { PolicyDefinition } from '../../language/policy/model/policy.js';
|
|
3
|
+
import type { Policy } from '../policy/authoring.js';
|
|
4
|
+
import type { Lazy } from '../schema/lazy.js';
|
|
5
|
+
import type { BuilderContext } from './schema/context.js';
|
|
6
|
+
export interface PolicyCompiler {
|
|
7
|
+
compile(value: Policy, name: string, pointer: string): PolicyDefinition;
|
|
8
|
+
ref(value: Lazy<unknown>, pointer: string): PolicyRef;
|
|
9
|
+
}
|
|
10
|
+
export declare class V1PolicyCompiler implements PolicyCompiler {
|
|
11
|
+
readonly context: BuilderContext;
|
|
12
|
+
constructor(context: BuilderContext);
|
|
13
|
+
ref(value: Lazy<unknown>, pointer: string): PolicyRef;
|
|
14
|
+
compile(value: Policy, name: string, pointer: string): PolicyDefinition;
|
|
15
|
+
}
|
|
16
|
+
export declare function assertPolicyCompositionAcyclic(declarations: Readonly<Record<string, PolicyDefinition>>, origin: string): void;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { normalizePolicyExpression } from '../../language/policy/normalization/normalize.js';
|
|
2
|
+
import { createPatternContext, policyDeclaration } from '../policy/authoring.js';
|
|
3
|
+
import { fail } from '../schema/diagnostic.js';
|
|
4
|
+
export class V1PolicyCompiler {
|
|
5
|
+
context;
|
|
6
|
+
constructor(context) {
|
|
7
|
+
this.context = context;
|
|
8
|
+
}
|
|
9
|
+
ref(value, pointer) {
|
|
10
|
+
return this.context.resolvePolicy(value, pointer);
|
|
11
|
+
}
|
|
12
|
+
compile(value, name, pointer) {
|
|
13
|
+
const input = policyDeclaration(value);
|
|
14
|
+
const ref = { origin: this.context.origin, kind: 'policy', name };
|
|
15
|
+
if ('operator' in input) {
|
|
16
|
+
const refs = input.policies.map((policy, index) => this.context.resolvePolicy(policy, `${pointer}/${input.operator}/${index}`));
|
|
17
|
+
return {
|
|
18
|
+
ref,
|
|
19
|
+
expression: normalizePolicyExpression(input.operator === 'allOf' ? { allOf: refs } : { anyOf: refs }),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
const match = input.match(createPatternContext({
|
|
23
|
+
resolveEdgeClass: (definition, refPointer) => this.context.resolveEdgeClass(definition, refPointer),
|
|
24
|
+
resolveNodeClass: (definition, refPointer) => this.context.resolveNodeClass(definition, refPointer),
|
|
25
|
+
pointer,
|
|
26
|
+
}));
|
|
27
|
+
return {
|
|
28
|
+
ref,
|
|
29
|
+
...(input.description === undefined ? {} : { description: input.description }),
|
|
30
|
+
expression: normalizePolicyExpression({ match }),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export function assertPolicyCompositionAcyclic(declarations, origin) {
|
|
35
|
+
const visiting = new Set();
|
|
36
|
+
const visited = new Set();
|
|
37
|
+
const visit = (name) => {
|
|
38
|
+
if (visiting.has(name)) {
|
|
39
|
+
fail('BUILDER_POLICY_CYCLE', `/policies/${name}`, `Policy composition cycle reaches ${origin}:policy.${name}.`);
|
|
40
|
+
}
|
|
41
|
+
if (visited.has(name))
|
|
42
|
+
return;
|
|
43
|
+
visiting.add(name);
|
|
44
|
+
const declaration = declarations[name];
|
|
45
|
+
const expression = declaration?.expression;
|
|
46
|
+
const refs = expression !== undefined && 'allOf' in expression
|
|
47
|
+
? expression.allOf
|
|
48
|
+
: expression !== undefined && 'anyOf' in expression
|
|
49
|
+
? expression.anyOf
|
|
50
|
+
: [];
|
|
51
|
+
for (const ref of refs)
|
|
52
|
+
if (ref.origin === origin)
|
|
53
|
+
visit(ref.name);
|
|
54
|
+
visiting.delete(name);
|
|
55
|
+
visited.add(name);
|
|
56
|
+
};
|
|
57
|
+
for (const name of Object.keys(declarations))
|
|
58
|
+
visit(name);
|
|
59
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DomainSchemaInput } from '../../schema/input.js';
|
|
2
|
+
import { BuilderContext } from './context.js';
|
|
3
|
+
export declare function captureSchema(input: DomainSchemaInput, context: BuilderContext): void;
|
|
4
|
+
export declare function commitSchemaOwnership(input: DomainSchemaInput, origin: string): void;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { MethodKey } from '../../../addressing/index.js';
|
|
2
|
+
import { classConfiguration } from '../../class/authoring.js';
|
|
3
|
+
import { escapeToken, fail } from '../../schema/diagnostic.js';
|
|
4
|
+
import { isAuthoringValue } from '../../schema/handle.js';
|
|
5
|
+
import { captureCore } from '../core.js';
|
|
6
|
+
import { BuilderContext } from './context.js';
|
|
7
|
+
export function captureSchema(input, context) {
|
|
8
|
+
captureDefinitions(input.classes ?? {}, context);
|
|
9
|
+
capturePolicies(input.policies ?? {}, context);
|
|
10
|
+
captureExecutables(input, context);
|
|
11
|
+
captureCore(input.core, context);
|
|
12
|
+
}
|
|
13
|
+
export function commitSchemaOwnership(input, origin) {
|
|
14
|
+
const context = new BuilderContext(origin, input.dependencies ?? {});
|
|
15
|
+
captureSchema(input, context);
|
|
16
|
+
context.ownership.commit();
|
|
17
|
+
}
|
|
18
|
+
function captureDefinitions(classes, context) {
|
|
19
|
+
for (const [name, value] of Object.entries(classes)) {
|
|
20
|
+
assertDefinition(value, `/classes/${escapeToken(name)}`);
|
|
21
|
+
context.captureDefinition(value, { origin: context.origin, kind: 'class', name }, `/classes/${escapeToken(name)}`);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function capturePolicies(policies, context) {
|
|
25
|
+
for (const [name, value] of Object.entries(policies)) {
|
|
26
|
+
if (!isAuthoringValue(value, 'policy')) {
|
|
27
|
+
fail('BUILDER_POLICY', `/policies/${escapeToken(name)}`, 'Policies are created by policy(...).');
|
|
28
|
+
}
|
|
29
|
+
context.capturePolicy(value, { origin: context.origin, kind: 'policy', name }, `/policies/${escapeToken(name)}`);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function captureExecutables(input, context) {
|
|
33
|
+
for (const [name, value] of Object.entries(input.functions ?? {})) {
|
|
34
|
+
const pointer = `/functions/${escapeToken(name)}`;
|
|
35
|
+
assertFunction(value, pointer);
|
|
36
|
+
context.captureFunction(value, { origin: context.origin, kind: 'function', name }, pointer);
|
|
37
|
+
}
|
|
38
|
+
for (const [definitionName, definition] of Object.entries(input.classes ?? {})) {
|
|
39
|
+
if (definition.kind !== 'node')
|
|
40
|
+
continue;
|
|
41
|
+
const methods = classConfiguration(definition).methods;
|
|
42
|
+
for (const [methodName, method] of Object.entries(methods ?? {})) {
|
|
43
|
+
const pointer = `/classes/${escapeToken(definitionName)}/methods/${escapeToken(methodName)}`;
|
|
44
|
+
assertMethod(method, pointer);
|
|
45
|
+
context.ownership.capture(method, MethodKey.of({ origin: context.origin, kind: 'class', name: definitionName }, methodName), pointer);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
for (const [name, value] of Object.entries(input.views ?? {})) {
|
|
49
|
+
const pointer = `/views/${escapeToken(name)}`;
|
|
50
|
+
if (!isAuthoringValue(value, 'view')) {
|
|
51
|
+
fail('BUILDER_VIEW', pointer, 'Views are created by view(...).');
|
|
52
|
+
}
|
|
53
|
+
context.captureView(value, { origin: context.origin, kind: 'view', name }, pointer);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function assertDefinition(value, pointer) {
|
|
57
|
+
if (!isAuthoringValue(value, 'definition')) {
|
|
58
|
+
fail('BUILDER_DEFINITION', pointer, 'Definitions are created by a V1 Definition builder.');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function assertFunction(value, pointer) {
|
|
62
|
+
if (!isAuthoringValue(value, 'function')) {
|
|
63
|
+
fail('BUILDER_FUNCTION', pointer, 'Functions are created by func(...).');
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function assertMethod(value, pointer) {
|
|
67
|
+
if (!isAuthoringValue(value, 'method')) {
|
|
68
|
+
fail('BUILDER_METHOD', pointer, 'Methods are created by method(...).');
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DomainSchema } from '../../../schema/model/schema.js';
|
|
2
|
+
import type { DomainSchemaInput } from '../../schema/input.js';
|
|
3
|
+
import type { ResolvedDomainOfInput } from '../../schema/projection.js';
|
|
4
|
+
/**
|
|
5
|
+
* Compile the V1 TypeScript builder graph through the same semantic acceptance
|
|
6
|
+
* path used for untrusted decoded schemas.
|
|
7
|
+
*
|
|
8
|
+
* This is the private implementation behind defineSchema.
|
|
9
|
+
*/
|
|
10
|
+
export declare function compileSchema<const Origin extends string, const Input extends DomainSchemaInput>(origin: Origin, input: Input): DomainSchema<Origin, ResolvedDomainOfInput<Origin, Input>>;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { acceptDomainSchema } from '../../../schema/admission/accept.js';
|
|
2
|
+
import { canonicalizeDomainSchema } from '../../../schema/canonical/domain.js';
|
|
3
|
+
import { deepFreeze } from '../../../schema/canonical/freeze.js';
|
|
4
|
+
import { MemoryDomainSchemaLookup } from '../../../schema/dependency/lookup.js';
|
|
5
|
+
import { lookupEntriesForDependencies } from '../../../schema/resolution/closure.js';
|
|
6
|
+
import { parseDomainSchemaStructure } from '../../../schema/validation/domain.structure.js';
|
|
7
|
+
import { assertKnownKeys, escapeToken } from '../../schema/diagnostic.js';
|
|
8
|
+
import { V1CallableCompiler } from '../callable.js';
|
|
9
|
+
import { V1DefinitionCompiler } from '../class.js';
|
|
10
|
+
import { canonicalizeCorePropertyKeys } from '../core-properties.js';
|
|
11
|
+
import { compileCore } from '../core.js';
|
|
12
|
+
import { assertPolicyCompositionAcyclic, V1PolicyCompiler } from '../policy.js';
|
|
13
|
+
import { BuilderValueSchemas } from '../value/compile.js';
|
|
14
|
+
import { V1ViewCompiler } from '../view.js';
|
|
15
|
+
import { captureSchema, commitSchemaOwnership } from './capture.js';
|
|
16
|
+
import { BuilderContext } from './context.js';
|
|
17
|
+
/**
|
|
18
|
+
* Compile the V1 TypeScript builder graph through the same semantic acceptance
|
|
19
|
+
* path used for untrusted decoded schemas.
|
|
20
|
+
*
|
|
21
|
+
* This is the private implementation behind defineSchema.
|
|
22
|
+
*/
|
|
23
|
+
export function compileSchema(origin, input) {
|
|
24
|
+
const lookup = new MemoryDomainSchemaLookup(lookupEntriesForDependencies(input.dependencies ?? {}));
|
|
25
|
+
const candidate = assembleDomainSchema(origin, input, lookup);
|
|
26
|
+
const accepted = acceptDomainSchema(candidate, lookup);
|
|
27
|
+
commitSchemaOwnership(input, origin);
|
|
28
|
+
return accepted;
|
|
29
|
+
}
|
|
30
|
+
/** Structural assembly before whole-Domain semantic acceptance. */
|
|
31
|
+
function assembleDomainSchema(origin, input, lookup) {
|
|
32
|
+
assertKnownKeys(input, ['dependencies', 'classes', 'functions', 'policies', 'views', 'core']);
|
|
33
|
+
if (input.core !== undefined)
|
|
34
|
+
assertKnownKeys(input.core, ['nodes', 'edges'], '/core');
|
|
35
|
+
const context = new BuilderContext(origin, input.dependencies ?? {});
|
|
36
|
+
captureSchema(input, context);
|
|
37
|
+
const values = new BuilderValueSchemas(context);
|
|
38
|
+
const policyCompiler = new V1PolicyCompiler(context);
|
|
39
|
+
const callableCompiler = new V1CallableCompiler(context, values);
|
|
40
|
+
const definitionCompiler = new V1DefinitionCompiler(context, values, callableCompiler, policyCompiler);
|
|
41
|
+
const viewCompiler = new V1ViewCompiler(context);
|
|
42
|
+
const classes = mapRecord(input.classes ?? {}, (value, name) => definitionCompiler.compileClass(value, name, `/classes/${escapeToken(name)}`));
|
|
43
|
+
const functions = mapRecord(input.functions ?? {}, (value, name) => callableCompiler.compile(value, {
|
|
44
|
+
kind: 'function',
|
|
45
|
+
ref: { origin, kind: 'function', name },
|
|
46
|
+
pointer: `/functions/${escapeToken(name)}`,
|
|
47
|
+
}));
|
|
48
|
+
const policies = mapRecord(input.policies ?? {}, (value, name) => policyCompiler.compile(value, name, `/policies/${escapeToken(name)}`));
|
|
49
|
+
assertPolicyCompositionAcyclic(policies, origin);
|
|
50
|
+
const views = mapRecord(input.views ?? {}, (value, name) => viewCompiler.compile(value, name, `/views/${escapeToken(name)}`));
|
|
51
|
+
const core = compileCore(input.core, context);
|
|
52
|
+
const semanticContent = {
|
|
53
|
+
format: 'astrale.dsl',
|
|
54
|
+
version: 'v1',
|
|
55
|
+
origin,
|
|
56
|
+
// Class/Property resolution needs every dependency already referenced by
|
|
57
|
+
// authored Definitions. Core endpoint refs are added immediately below.
|
|
58
|
+
dependencies: context.dependencies(),
|
|
59
|
+
classes,
|
|
60
|
+
functions,
|
|
61
|
+
policies,
|
|
62
|
+
views,
|
|
63
|
+
core,
|
|
64
|
+
};
|
|
65
|
+
const qualifiedContent = {
|
|
66
|
+
...semanticContent,
|
|
67
|
+
core: canonicalizeCorePropertyKeys(semanticContent, lookup),
|
|
68
|
+
};
|
|
69
|
+
context.noteDomainEndpointReferences(qualifiedContent);
|
|
70
|
+
const candidate = {
|
|
71
|
+
...qualifiedContent,
|
|
72
|
+
dependencies: context.dependencies(),
|
|
73
|
+
};
|
|
74
|
+
const structured = parseDomainSchemaStructure(candidate);
|
|
75
|
+
const canonical = parseDomainSchemaStructure(canonicalizeDomainSchema(structured));
|
|
76
|
+
return deepFreeze(canonical);
|
|
77
|
+
}
|
|
78
|
+
function mapRecord(record, map) {
|
|
79
|
+
return Object.fromEntries(Object.entries(record).map(([name, value]) => [name, map(value, name)]));
|
|
80
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { CoreRef, ClassRef, DefinitionRef, FunctionRef, PolicyRef, ViewRef } from '../../../addressing/index.js';
|
|
2
|
+
import type { DomainDependency } from '../../../addressing/index.js';
|
|
3
|
+
import type { ClassKind } from '../../../language/class/model/class.js';
|
|
4
|
+
import type { CoreEndpointRef } from '../../../language/core/model/core.js';
|
|
5
|
+
import type { PolicyObjectRef } from '../../../language/policy/model/policy.js';
|
|
6
|
+
import type { ValueSchemaRegistry } from '../../../language/value/reference/registry.js';
|
|
7
|
+
import type { DomainSchema, DomainSchemaIR } from '../../../schema/model/schema.js';
|
|
8
|
+
import type { Function, PolicyObjectInput } from '../../callable/authoring.js';
|
|
9
|
+
import type { Class, ClassReferenceInput } from '../../class/authoring.js';
|
|
10
|
+
import type { CoreNode } from '../../core/authoring.js';
|
|
11
|
+
import type { Policy } from '../../policy/authoring.js';
|
|
12
|
+
import type { View } from '../../view/authoring.js';
|
|
13
|
+
import { type Lazy } from '../../schema/lazy.js';
|
|
14
|
+
import { OwnershipCapture } from './ownership.js';
|
|
15
|
+
export declare class BuilderContext {
|
|
16
|
+
#private;
|
|
17
|
+
readonly origin: string;
|
|
18
|
+
readonly ownership: OwnershipCapture;
|
|
19
|
+
readonly localDefinitions: Map<string, DefinitionRef<import("../../../addressing/definition-ref.js").Definition.Kind, string>>;
|
|
20
|
+
readonly localClassKinds: Map<string, ClassKind>;
|
|
21
|
+
readonly policies: Map<object, PolicyRef>;
|
|
22
|
+
readonly coreNodes: Map<CoreNode, CoreRef>;
|
|
23
|
+
readonly policyObjects: Map<object, PolicyObjectRef>;
|
|
24
|
+
readonly policyObjectRefs: Set<string>;
|
|
25
|
+
readonly usedForeignOrigins: Set<string>;
|
|
26
|
+
constructor(origin: string, dependencies: Readonly<Record<string, DomainSchema>>);
|
|
27
|
+
captureDefinition(value: Class, ref: ClassRef, pointer: string): void;
|
|
28
|
+
capturePolicy(value: Policy, ref: PolicyRef, pointer: string): void;
|
|
29
|
+
captureCoreNode(value: CoreNode, slug: string, pointer: string): void;
|
|
30
|
+
captureFunction(value: Function, ref: FunctionRef, pointer: string): void;
|
|
31
|
+
captureView(value: View, ref: ViewRef, pointer: string): void;
|
|
32
|
+
resolveClass(input: ClassReferenceInput, kind: ClassKind, pointer: string): ClassRef;
|
|
33
|
+
resolveNodeClass(input: ClassReferenceInput, pointer: string): ClassRef;
|
|
34
|
+
resolveEdgeClass(input: ClassReferenceInput, pointer: string): ClassRef;
|
|
35
|
+
resolvePolicy(input: Lazy<unknown>, pointer: string): PolicyRef;
|
|
36
|
+
resolvePolicyObject(input: PolicyObjectInput | PolicyObjectRef, pointer: string): PolicyObjectRef;
|
|
37
|
+
resolveCoreEndpoint(value: CoreNode | CoreEndpointRef, pointer: string): CoreEndpointRef;
|
|
38
|
+
dependencies(): Readonly<Record<string, DomainDependency>>;
|
|
39
|
+
valueRegistry(): ValueSchemaRegistry;
|
|
40
|
+
noteDomainEndpointReferences(schema: DomainSchemaIR): void;
|
|
41
|
+
private assertVisible;
|
|
42
|
+
private classKind;
|
|
43
|
+
private capturePolicyObject;
|
|
44
|
+
}
|