@astrale-os/kernel-dsl 1.0.0-beta.3 → 1.0.0-beta.30
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/v1/addressing/class-key.js +3 -3
- package/dist/v1/addressing/definition-ref.js +21 -37
- package/dist/v1/addressing/domain-dependency.d.ts +0 -6
- package/dist/v1/addressing/domain-dependency.js +1 -6
- package/dist/v1/addressing/key.d.ts +4 -1
- package/dist/v1/addressing/key.js +23 -3
- package/dist/v1/addressing/ordering.d.ts +2 -0
- package/dist/v1/addressing/ordering.js +2 -0
- package/dist/v1/addressing/patterns.d.ts +1 -1
- package/dist/v1/addressing/patterns.js +2 -6
- package/dist/v1/builder/callable/authoring.d.ts +11 -5
- package/dist/v1/builder/callable/authoring.js +2 -0
- package/dist/v1/builder/class/authoring.d.ts +94 -224
- package/dist/v1/builder/class/authoring.js +30 -35
- package/dist/v1/builder/class/handle.d.ts +27 -0
- package/dist/v1/builder/class/handle.js +1 -0
- package/dist/v1/builder/class/input.d.ts +159 -0
- package/dist/v1/builder/class/projection.d.ts +129 -0
- package/dist/v1/builder/class/projection.js +1 -0
- package/dist/v1/builder/class/property.d.ts +3 -9
- package/dist/v1/builder/class/property.js +1 -0
- package/dist/v1/builder/core/authoring.d.ts +1 -1
- package/dist/v1/builder/index.d.ts +10 -2
- package/dist/v1/builder/index.js +2 -0
- package/dist/v1/builder/lowering/callable.js +1 -0
- package/dist/v1/builder/lowering/class.d.ts +9 -1
- package/dist/v1/builder/lowering/class.js +62 -17
- package/dist/v1/builder/lowering/policy.js +6 -24
- package/dist/v1/builder/lowering/property-keys.d.ts +27 -0
- package/dist/v1/builder/lowering/property-keys.js +108 -0
- package/dist/v1/builder/lowering/schema/compile.js +13 -6
- package/dist/v1/builder/lowering/schema/context.d.ts +9 -1
- package/dist/v1/builder/lowering/schema/context.js +36 -7
- package/dist/v1/builder/lowering/schema/lifetime.d.ts +11 -0
- package/dist/v1/builder/lowering/schema/lifetime.js +55 -0
- package/dist/v1/builder/lowering/value/compile.js +29 -22
- package/dist/v1/builder/lowering/value/file.d.ts +7 -0
- package/dist/v1/builder/lowering/value/file.js +14 -0
- package/dist/v1/builder/lowering/value/path.d.ts +1 -1
- package/dist/v1/builder/lowering/value/path.js +2 -4
- package/dist/v1/builder/lowering/value/zod.js +41 -7
- package/dist/v1/builder/policy/authoring.d.ts +80 -9
- package/dist/v1/builder/policy/authoring.js +99 -68
- package/dist/v1/builder/policy/legacy/edge.d.ts +28 -0
- package/dist/v1/builder/policy/legacy/edge.js +16 -0
- package/dist/v1/builder/schema/define.d.ts +0 -1
- package/dist/v1/builder/schema/diagnostic.d.ts +3 -2
- package/dist/v1/builder/schema/diagnostic.js +5 -10
- package/dist/v1/builder/schema/input.d.ts +4 -1
- package/dist/v1/builder/schema/projection/callable.d.ts +7 -5
- package/dist/v1/builder/schema/projection/class.d.ts +78 -16
- package/dist/v1/builder/schema/projection/core-input.d.ts +2 -1
- package/dist/v1/builder/schema/projection/domain.d.ts +13 -2
- package/dist/v1/builder/schema/projection/identity.d.ts +74 -9
- package/dist/v1/builder/schema/projection/model.d.ts +4 -2
- package/dist/v1/builder/schema/projection/property.d.ts +38 -4
- package/dist/v1/builder/schema/projection/resolved-class.d.ts +5 -4
- package/dist/v1/builder/schema/projection.d.ts +1 -1
- package/dist/v1/builder/schema/rule.d.ts +316 -0
- package/dist/v1/builder/schema/rule.js +192 -0
- package/dist/v1/builder/value/file.d.ts +34 -0
- package/dist/v1/builder/value/file.js +77 -0
- package/dist/v1/builder/value/full-match.d.ts +0 -1
- package/dist/v1/builder/value/full-match.js +0 -1
- package/dist/v1/builder/value/path-metadata.d.ts +1 -1
- package/dist/v1/builder/value/path.d.ts +1 -1
- package/dist/v1/bundle/codec.js +55 -74
- package/dist/v1/bundle/diagnostic.d.ts +3 -1
- package/dist/v1/bundle/diagnostic.js +9 -7
- package/dist/v1/bundle/index.d.ts +2 -0
- package/dist/v1/bundle/index.js +1 -0
- package/dist/v1/bundle/model.js +1 -1
- package/dist/v1/bundle/rule.d.ts +14 -0
- package/dist/v1/bundle/rule.js +41 -0
- package/dist/v1/bundle/structure.js +6 -8
- package/dist/v1/compiled/admission/accept.js +9 -15
- package/dist/v1/compiled/admission/closure.js +17 -34
- package/dist/v1/compiled/admission/diagnostic.d.ts +23 -1
- package/dist/v1/compiled/admission/diagnostic.js +40 -3
- package/dist/v1/compiled/admission/revision.d.ts +9 -1
- package/dist/v1/compiled/admission/revision.js +7 -3
- package/dist/v1/compiled/admission/semantics/class.d.ts +4 -1
- package/dist/v1/compiled/admission/semantics/class.js +48 -19
- package/dist/v1/compiled/admission/semantics/core.d.ts +1 -24
- package/dist/v1/compiled/admission/semantics/core.js +56 -24
- package/dist/v1/compiled/admission/semantics/edge.d.ts +2 -4
- package/dist/v1/compiled/admission/semantics/edge.js +6 -65
- package/dist/v1/compiled/admission/semantics/policy/admit.js +4 -19
- package/dist/v1/compiled/admission/semantics/policy/callable.js +2 -5
- package/dist/v1/compiled/admission/semantics/policy/contracts.d.ts +5 -20
- package/dist/v1/compiled/admission/semantics/policy/contracts.js +8 -21
- package/dist/v1/compiled/admission/semantics/policy/parity.js +44 -53
- package/dist/v1/compiled/admission/semantics/policy/pattern.d.ts +4 -1
- package/dist/v1/compiled/admission/semantics/policy/pattern.js +7 -21
- package/dist/v1/compiled/admission/semantics/policy/typing.d.ts +2 -24
- package/dist/v1/compiled/admission/semantics/policy/typing.js +19 -201
- package/dist/v1/compiled/admission/wire/callable.d.ts +5 -2
- package/dist/v1/compiled/admission/wire/callable.js +24 -20
- package/dist/v1/compiled/admission/wire/class.js +79 -30
- package/dist/v1/compiled/admission/wire/entry.d.ts +1 -1
- package/dist/v1/compiled/admission/wire/entry.js +36 -13
- package/dist/v1/compiled/admission/wire/policy.d.ts +4 -3
- package/dist/v1/compiled/admission/wire/policy.js +27 -20
- package/dist/v1/compiled/admission/wire/program.d.ts +13 -3
- package/dist/v1/compiled/admission/wire/program.js +39 -44
- package/dist/v1/compiled/admission/wire/property.d.ts +4 -1
- package/dist/v1/compiled/admission/wire/property.js +8 -5
- package/dist/v1/compiled/admission/wire/value.d.ts +0 -2
- package/dist/v1/compiled/admission/wire/value.js +0 -7
- package/dist/v1/compiled/codec/json.js +4 -3
- package/dist/v1/compiled/compiler/compile.js +15 -33
- package/dist/v1/compiled/diagnostic.d.ts +1 -1
- package/dist/v1/compiled/diagnostic.js +2 -3
- package/dist/v1/compiled/index.d.ts +2 -0
- package/dist/v1/compiled/index.js +1 -0
- package/dist/v1/compiled/loader/load.d.ts +3 -2
- package/dist/v1/compiled/loader/load.js +12 -51
- package/dist/v1/compiled/model/schema.d.ts +3 -0
- package/dist/v1/compiled/rule.d.ts +49 -0
- package/dist/v1/compiled/rule.js +169 -0
- package/dist/v1/domain/create.js +9 -10
- package/dist/v1/domain/model/domain.d.ts +2 -7
- package/dist/v1/domain/model/input.d.ts +15 -10
- package/dist/v1/domain/namespace/member-collection.js +8 -7
- package/dist/v1/domain/projection/classes.js +11 -8
- package/dist/v1/domain/validation/create.d.ts +7 -16
- package/dist/v1/domain/validation/create.js +35 -81
- package/dist/v1/index.d.ts +5 -3
- package/dist/v1/index.js +1 -1
- package/dist/v1/language/.spec/schemas/draft-2020-12.schema.json +462 -0
- package/dist/v1/language/.spec/schemas/value-schema.schema.json +23 -0
- package/dist/v1/language/callable/admission.d.ts +15 -0
- package/dist/v1/language/callable/admission.js +44 -0
- package/dist/v1/language/callable/model/callable.d.ts +10 -0
- package/dist/v1/language/callable/resolved.d.ts +16 -3
- package/dist/v1/language/chain.d.ts +7 -0
- package/dist/v1/language/chain.js +24 -0
- package/dist/v1/language/class/inheritance.d.ts +36 -5
- package/dist/v1/language/class/inheritance.js +85 -1
- package/dist/v1/language/class/lifetime.d.ts +50 -11
- package/dist/v1/language/class/lifetime.js +89 -20
- package/dist/v1/language/class/model/class.d.ts +45 -9
- package/dist/v1/language/class/model/edge.d.ts +31 -2
- package/dist/v1/language/class/model/property.d.ts +16 -7
- package/dist/v1/language/class/property-values.js +2 -4
- package/dist/v1/language/class/resolved.d.ts +9 -4
- package/dist/v1/language/class/unique.d.ts +143 -0
- package/dist/v1/language/class/unique.js +264 -0
- package/dist/v1/language/core/facts.d.ts +85 -0
- package/dist/v1/language/core/facts.js +116 -0
- package/dist/v1/language/cycle.d.ts +10 -0
- package/dist/v1/language/cycle.js +30 -0
- package/dist/v1/language/definition/metadata.d.ts +38 -0
- package/dist/v1/language/definition/metadata.js +51 -0
- package/dist/v1/language/freeze.d.ts +5 -0
- package/dist/v1/{schema/canonical → language}/freeze.js +4 -0
- package/dist/v1/language/index.d.ts +7 -2
- package/dist/v1/language/index.js +5 -1
- package/dist/v1/language/limits.d.ts +83 -0
- package/dist/v1/language/limits.js +77 -0
- package/dist/v1/language/policy/analysis/branches.d.ts +8 -0
- package/dist/v1/language/policy/analysis/branches.js +8 -8
- package/dist/v1/language/policy/analysis/budgets.d.ts +45 -12
- package/dist/v1/language/policy/analysis/budgets.js +140 -20
- package/dist/v1/language/policy/analysis/checks.js +8 -6
- package/dist/v1/language/policy/analysis/composition.d.ts +4 -0
- package/dist/v1/language/policy/analysis/composition.js +11 -0
- package/dist/v1/language/policy/analysis/typing.d.ts +51 -0
- package/dist/v1/language/policy/analysis/typing.js +456 -0
- package/dist/v1/language/policy/model/policy.d.ts +71 -9
- package/dist/v1/language/policy/model/policy.js +42 -4
- package/dist/v1/language/policy/normalization/normalize.d.ts +6 -6
- package/dist/v1/language/policy/normalization/normalize.js +46 -68
- package/dist/v1/language/suspended.d.ts +7 -0
- package/dist/v1/language/suspended.js +23 -0
- package/dist/v1/language/validation/diagnostic.d.ts +15 -1
- package/dist/v1/language/validation/diagnostic.js +21 -0
- package/dist/v1/language/validation/rule.d.ts +45 -0
- package/dist/v1/language/validation/rule.js +109 -0
- package/dist/v1/language/value/compile/fields.js +16 -16
- package/dist/v1/language/value/compile/load.d.ts +5 -0
- package/dist/v1/language/value/compile/load.js +13 -0
- package/dist/v1/language/value/evaluate/assertions.d.ts +5 -1
- package/dist/v1/language/value/evaluate/assertions.js +19 -8
- package/dist/v1/language/value/evaluate/evaluator.js +117 -120
- package/dist/v1/language/value/evaluate/preparation.d.ts +16 -0
- package/dist/v1/language/value/evaluate/preparation.js +100 -47
- package/dist/v1/language/value/evaluate/program.d.ts +2 -1
- package/dist/v1/language/value/evaluate/program.js +6 -6
- package/dist/v1/language/value/evaluate/validate.d.ts +3 -3
- package/dist/v1/language/value/evaluate/validate.js +14 -10
- package/dist/v1/language/value/evaluate/validity.optimization.d.ts +14 -0
- package/dist/v1/language/value/evaluate/validity.optimization.js +338 -0
- package/dist/v1/language/value/files.d.ts +44 -0
- package/dist/v1/language/value/files.js +151 -0
- package/dist/v1/language/value/inclusion/arrays.d.ts +3 -0
- package/dist/v1/language/value/inclusion/arrays.js +85 -0
- package/dist/v1/language/value/inclusion/assertions.d.ts +18 -0
- package/dist/v1/language/value/inclusion/assertions.js +28 -0
- package/dist/v1/language/value/inclusion/combinators.d.ts +3 -0
- package/dist/v1/language/value/inclusion/combinators.js +67 -0
- package/dist/v1/language/value/inclusion/equivalence.d.ts +4 -0
- package/dist/v1/language/value/inclusion/equivalence.js +76 -0
- package/dist/v1/language/value/inclusion/evidence.d.ts +34 -0
- package/dist/v1/language/value/inclusion/evidence.js +140 -0
- package/dist/v1/language/value/inclusion/includes.d.ts +29 -3
- package/dist/v1/language/value/inclusion/includes.js +58 -723
- package/dist/v1/language/value/inclusion/keywords.d.ts +5 -0
- package/dist/v1/language/value/inclusion/keywords.js +31 -0
- package/dist/v1/language/value/inclusion/kinds.d.ts +17 -0
- package/dist/v1/language/value/inclusion/kinds.js +57 -0
- package/dist/v1/language/value/inclusion/location.d.ts +24 -0
- package/dist/v1/language/value/inclusion/location.js +66 -0
- package/dist/v1/language/value/inclusion/numbers.d.ts +3 -0
- package/dist/v1/language/value/inclusion/numbers.js +41 -0
- package/dist/v1/language/value/inclusion/objects.d.ts +3 -0
- package/dist/v1/language/value/inclusion/objects.js +190 -0
- package/dist/v1/language/value/inclusion/strings.d.ts +3 -0
- package/dist/v1/language/value/inclusion/strings.js +29 -0
- package/dist/v1/language/value/inclusion/types.d.ts +3 -0
- package/dist/v1/language/value/inclusion/types.js +34 -0
- package/dist/v1/language/value/model/blob.d.ts +6 -0
- package/dist/v1/language/value/model/blob.js +8 -0
- package/dist/v1/language/value/model/file.d.ts +41 -0
- package/dist/v1/language/value/model/file.js +122 -0
- package/dist/v1/language/value/ordering.d.ts +14 -0
- package/dist/v1/language/value/ordering.js +144 -77
- package/dist/v1/language/value/profile/canonicalize.d.ts +6 -1
- package/dist/v1/language/value/profile/canonicalize.js +67 -87
- package/dist/v1/language/value/profile/json.validate.d.ts +12 -0
- package/dist/v1/language/value/profile/json.validate.js +18 -5
- package/dist/v1/language/value/profile/meta-schema.compiled.d.ts +1 -0
- package/dist/v1/language/value/profile/meta-schema.compiled.js +21 -5
- package/dist/v1/language/value/profile/rules.js +27 -44
- package/dist/v1/language/value/profile/validate.js +1 -10
- package/dist/v1/language/value/profile/vocabulary.d.ts +36 -2
- package/dist/v1/language/value/profile/vocabulary.js +58 -5
- package/dist/v1/language/value/reference/closure.js +6 -6
- package/dist/v1/language/value/reference/recursion.js +9 -48
- package/dist/v1/language/value/reference/references.d.ts +3 -1
- package/dist/v1/language/value/reference/references.js +7 -7
- package/dist/v1/language/value/reference/registry.index.d.ts +2 -0
- package/dist/v1/language/value/reference/registry.index.js +33 -16
- package/dist/v1/language/value/regexp/ast.js +6 -7
- package/dist/v1/language/value/regexp/compile.d.ts +5 -11
- package/dist/v1/language/value/regexp/compile.js +14 -12
- package/dist/v1/language/value/regexp/syntax.js +3 -2
- package/dist/v1/language/value/regexp/unicode.d.ts +1 -1
- package/dist/v1/language/value/regexp/unicode.js +1 -1
- package/dist/v1/language/value/syntax/keywords.d.ts +3 -3
- package/dist/v1/language/value/syntax/keywords.js +4 -20
- package/dist/v1/language/value/syntax/node-path/validate.js +2 -3
- package/dist/v1/language/value/syntax/pointer.d.ts +2 -0
- package/dist/v1/language/value/syntax/pointer.js +5 -2
- package/dist/v1/language/value/syntax/walk.d.ts +9 -0
- package/dist/v1/language/value/syntax/walk.js +37 -20
- package/dist/v1/schema/.spec/schemas/domain-schema.schema.json +2596 -0
- package/dist/v1/schema/admission/accept.d.ts +3 -1
- package/dist/v1/schema/admission/accept.js +6 -14
- package/dist/v1/schema/admission/callable.d.ts +21 -0
- package/dist/v1/schema/admission/callable.js +96 -0
- package/dist/v1/schema/analysis/class.d.ts +4 -0
- package/dist/v1/schema/analysis/class.js +57 -17
- package/dist/v1/schema/canonical/revision.d.ts +4 -1
- package/dist/v1/schema/canonical/revision.js +8 -5
- package/dist/v1/schema/compatibility/api.d.ts +4 -1
- package/dist/v1/schema/compatibility/api.js +2 -0
- package/dist/v1/schema/compatibility/comparators/callables.js +1 -1
- package/dist/v1/schema/compatibility/comparators/classes.d.ts +9 -4
- package/dist/v1/schema/compatibility/comparators/classes.js +50 -29
- package/dist/v1/schema/compatibility/comparators/index.d.ts +1 -1
- package/dist/v1/schema/compatibility/comparators/members.js +1 -1
- package/dist/v1/schema/compatibility/comparators/values.js +2 -2
- package/dist/v1/schema/compatibility/context.d.ts +5 -2
- package/dist/v1/schema/compatibility/context.js +8 -6
- package/dist/v1/schema/compatibility/coordinate.js +3 -3
- package/dist/v1/schema/compatibility/diff.js +2 -4
- package/dist/v1/schema/compatibility/extension.d.ts +11 -0
- package/dist/v1/schema/compatibility/extension.js +22 -0
- package/dist/v1/schema/compatibility/fields.d.ts +20 -4
- package/dist/v1/schema/compatibility/fields.js +13 -3
- package/dist/v1/schema/compatibility/meaning/footprint.js +16 -51
- package/dist/v1/schema/compatibility/model.d.ts +17 -5
- package/dist/v1/schema/compatibility/references.d.ts +0 -3
- package/dist/v1/schema/compatibility/references.js +1 -9
- package/dist/v1/schema/compatibility/report.js +1 -1
- package/dist/v1/schema/compatibility/rule.d.ts +13 -0
- package/dist/v1/schema/compatibility/rule.js +23 -0
- package/dist/v1/schema/compatibility/scope.d.ts +2 -0
- package/dist/v1/schema/compatibility/scope.js +4 -1
- package/dist/v1/schema/compatibility/structure/index.js +6 -4
- package/dist/v1/schema/compatibility/structure/requirements.js +58 -61
- package/dist/v1/schema/compatibility/versioning/index.js +1 -1
- package/dist/v1/schema/compatibility/versioning/surface.d.ts +1 -1
- package/dist/v1/schema/compatibility/versioning/surface.js +30 -2
- package/dist/v1/schema/compatibility/walk.d.ts +17 -0
- package/dist/v1/schema/compatibility/walk.js +41 -0
- package/dist/v1/schema/diagnostic.d.ts +17 -3
- package/dist/v1/schema/diagnostic.js +14 -11
- package/dist/v1/schema/enforcement/changes.d.ts +590 -0
- package/dist/v1/schema/enforcement/changes.js +566 -0
- package/dist/v1/schema/enforcement/derived.d.ts +236 -0
- package/dist/v1/schema/enforcement/derived.js +243 -0
- package/dist/v1/schema/enforcement/dispose.d.ts +308 -0
- package/dist/v1/schema/enforcement/dispose.js +275 -0
- package/dist/v1/schema/enforcement/facts.d.ts +89 -0
- package/dist/v1/schema/enforcement/facts.js +70 -0
- package/dist/v1/schema/enforcement/fields.d.ts +65 -0
- package/dist/v1/schema/enforcement/fields.js +36 -0
- package/dist/v1/schema/enforcement/index.d.ts +39 -0
- package/dist/v1/schema/enforcement/index.js +10 -0
- package/dist/v1/schema/enforcement/install.d.ts +1634 -0
- package/dist/v1/schema/enforcement/install.js +1223 -0
- package/dist/v1/schema/enforcement/lifecycle.d.ts +87 -0
- package/dist/v1/schema/enforcement/lifecycle.js +91 -0
- package/dist/v1/schema/enforcement/model.d.ts +253 -0
- package/dist/v1/schema/enforcement/model.js +1 -0
- package/dist/v1/schema/enforcement/obligations.d.ts +248 -0
- package/dist/v1/schema/enforcement/obligations.js +240 -0
- package/dist/v1/schema/enforcement/write.d.ts +1314 -0
- package/dist/v1/schema/enforcement/write.js +1017 -0
- package/dist/v1/schema/index.d.ts +11 -1
- package/dist/v1/schema/index.js +5 -0
- package/dist/v1/schema/model/schema.d.ts +23 -1
- package/dist/v1/schema/model/schema.js +1 -1
- package/dist/v1/schema/normalization/domain.d.ts +2 -0
- package/dist/v1/schema/normalization/domain.js +50 -13
- package/dist/v1/schema/resolution/closure.js +2 -1
- package/dist/v1/schema/resolution/context.js +17 -18
- package/dist/v1/schema/resolution/domain.d.ts +5 -0
- package/dist/v1/schema/resolution/domain.js +5 -13
- package/dist/v1/schema/resolution/origins.js +6 -8
- package/dist/v1/schema/rule.d.ts +25 -0
- package/dist/v1/schema/rule.js +459 -0
- package/dist/v1/schema/validation/callable.d.ts +35 -2
- package/dist/v1/schema/validation/callable.js +65 -9
- package/dist/v1/schema/validation/class.d.ts +6 -2
- package/dist/v1/schema/validation/class.js +128 -105
- package/dist/v1/schema/validation/core.js +103 -173
- package/dist/v1/schema/validation/domain.js +25 -15
- package/dist/v1/schema/validation/domain.json-schema.d.ts +15 -0
- package/dist/v1/schema/validation/domain.json-schema.js +222 -0
- package/dist/v1/schema/validation/domain.route.d.ts +6 -1
- package/dist/v1/schema/validation/domain.route.js +18 -0
- package/dist/v1/schema/validation/domain.structure.d.ts +7797 -0
- package/dist/v1/schema/validation/domain.structure.js +516 -160
- package/dist/v1/schema/validation/icon.d.ts +4 -0
- package/dist/v1/schema/validation/icon.js +29 -0
- package/dist/v1/schema/validation/json.json-schema.d.ts +40 -0
- package/dist/v1/schema/validation/json.json-schema.js +46 -0
- package/dist/v1/schema/validation/policy/budgets.d.ts +37 -2
- package/dist/v1/schema/validation/policy/budgets.js +94 -121
- package/dist/v1/schema/validation/policy/context.d.ts +6 -5
- package/dist/v1/schema/validation/policy/context.js +7 -10
- package/dist/v1/schema/validation/policy/objects.d.ts +1 -1
- package/dist/v1/schema/validation/policy/objects.js +6 -14
- package/dist/v1/schema/validation/policy/references.js +20 -62
- package/dist/v1/schema/validation/policy/typing.d.ts +3 -18
- package/dist/v1/schema/validation/policy/typing.js +22 -356
- package/dist/v1/schema/validation/policy/uses.d.ts +40 -3
- package/dist/v1/schema/validation/policy/uses.js +63 -91
- package/dist/v1/schema/validation/policy/validate.js +5 -5
- package/dist/v1/schema/validation/value-api.d.ts +27 -1
- package/dist/v1/schema/validation/value-api.js +37 -2
- package/dist/v1/schema/validation/value.d.ts +3 -0
- package/dist/v1/schema/validation/value.js +9 -17
- package/dist/v1/schema/validation/value.json-schema.d.ts +54 -0
- package/dist/v1/schema/validation/value.json-schema.js +163 -0
- package/dist/v1/schema/validation/view.js +4 -8
- package/dist/value/accept.d.ts +9 -3
- package/dist/value/accept.js +25 -1
- package/dist/value/canonical.d.ts +22 -1
- package/dist/value/canonical.js +114 -21
- package/dist/value/decode.d.ts +7 -0
- package/dist/value/decode.js +159 -9
- package/dist/value/equal.d.ts +9 -1
- package/dist/value/equal.js +37 -3
- package/dist/value/immutable.optimization.d.ts +2 -0
- package/dist/value/immutable.optimization.js +4 -0
- package/dist/value/index.d.ts +5 -3
- package/dist/value/index.js +2 -1
- package/dist/value/json.d.ts +2 -2
- package/dist/value/json.js +2 -2
- package/dist/value/limits.d.ts +11 -0
- package/dist/value/rule.d.ts +12 -0
- package/dist/value/rule.js +50 -0
- package/dist/value/types.d.ts +6 -0
- package/dist/value/unicode.d.ts +2 -1
- package/dist/value/unicode.js +2 -0
- package/package.json +15 -4
- package/dist/v1/builder/lowering/core-properties.d.ts +0 -10
- package/dist/v1/builder/lowering/core-properties.js +0 -76
- package/dist/v1/compiled/admission/semantics/cardinality.d.ts +0 -5
- package/dist/v1/compiled/admission/semantics/cardinality.js +0 -113
- package/dist/v1/compiled/admission/semantics/policy/equality.d.ts +0 -8
- package/dist/v1/compiled/admission/semantics/policy/equality.js +0 -27
- package/dist/v1/compiled/admission/semantics/policy/measure.d.ts +0 -9
- package/dist/v1/compiled/admission/semantics/policy/measure.js +0 -81
- package/dist/v1/compiled/admission/semantics/policy/variants.d.ts +0 -10
- package/dist/v1/compiled/admission/semantics/policy/variants.js +0 -65
- package/dist/v1/compiled/admission/wire/pattern.d.ts +0 -12
- package/dist/v1/compiled/admission/wire/pattern.js +0 -111
- package/dist/v1/language/class/index.d.ts +0 -8
- package/dist/v1/language/class/index.js +0 -1
- package/dist/v1/language/core/index.d.ts +0 -2
- package/dist/v1/language/value/index.d.ts +0 -11
- package/dist/v1/language/value/index.js +0 -8
- package/dist/v1/schema/canonical/domain.d.ts +0 -3
- package/dist/v1/schema/canonical/domain.digest.d.ts +0 -3
- package/dist/v1/schema/canonical/domain.digest.js +0 -5
- package/dist/v1/schema/canonical/domain.js +0 -5
- package/dist/v1/schema/canonical/freeze.d.ts +0 -1
- /package/dist/v1/{language/core/index.js → builder/class/input.js} +0 -0
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import type { DisposeMode } from './model.js';
|
|
2
|
+
/**
|
|
3
|
+
* What a schema change does to the facts it leaves behind, and what it refuses to leave. A row with
|
|
4
|
+
* a `requirement` is one requirement of `DATA_MIGRATION_REQUIRED`, the row `INSTALL.DATA_MIGRATION_REQUIRED`;
|
|
5
|
+
* a row with a `provider` is what the store answers the Runtime, which no caller receives.
|
|
6
|
+
*/
|
|
7
|
+
export declare const DISPOSE: Readonly<{
|
|
8
|
+
readonly REMOVED_CLASS_OCCUPIED: {
|
|
9
|
+
readonly phase: 'dispose';
|
|
10
|
+
readonly layer: 'structure';
|
|
11
|
+
readonly subjects: readonly ["class.ref"];
|
|
12
|
+
readonly does: 'refuse';
|
|
13
|
+
readonly modes: readonly ["replace", "safe"];
|
|
14
|
+
readonly refusal: {
|
|
15
|
+
readonly requirement: {
|
|
16
|
+
readonly operation: 'remove-facts';
|
|
17
|
+
readonly reason: 'destructive-change';
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
readonly statement: 'A Class a change removes without retiring it holds nothing but what its own projection removes: whatever their number, the change is refused and nothing moves.';
|
|
21
|
+
readonly laws: readonly ["SD-EXACT-BOUNDARY", "SD-SAFE-REFUSAL-ANY-SIZE", "SP-REMOVED-EXTENT", "VAL-REMOVED-EXTENT"];
|
|
22
|
+
readonly scope: {
|
|
23
|
+
readonly classes: 'exact';
|
|
24
|
+
readonly reads: 'extent';
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly LEAVING_NODE_RESTRICTED: {
|
|
28
|
+
readonly phase: 'dispose';
|
|
29
|
+
readonly layer: 'structure';
|
|
30
|
+
readonly subjects: readonly ["endpoint.onDelete", "fact.edge"];
|
|
31
|
+
readonly does: 'refuse';
|
|
32
|
+
readonly modes: readonly DisposeMode[];
|
|
33
|
+
readonly refusal: {
|
|
34
|
+
readonly requirement: {
|
|
35
|
+
readonly operation: 'remove-facts';
|
|
36
|
+
readonly reason: 'restricted-deletion';
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
readonly statement: "An Edge of a Class that stays, the Kernel's aside, keeps a Node from leaving unless every role holding that Node at that end detaches: an end no role accepts it at restricts, in a Class read because a role of it restricts or accepted a Class the target no longer declares concrete. A Class a destructive change retires is read under its previous contract, any other under the target. The end is named by the previous orientation and its roles by the target, so an Edge Class such a change also makes undirected restricts a Core Node that leaves, whatever the target declares.";
|
|
40
|
+
readonly accepted: 'DV_EDGE_LIFETIME';
|
|
41
|
+
readonly laws: readonly ["SD-LIFETIMES", "SD-REMOVED-CORE-REFERENCE"];
|
|
42
|
+
};
|
|
43
|
+
readonly INSPECTION_EXCEEDED: {
|
|
44
|
+
readonly phase: 'dispose';
|
|
45
|
+
readonly layer: 'limit';
|
|
46
|
+
readonly subjects: readonly ["store"];
|
|
47
|
+
readonly does: 'refuse';
|
|
48
|
+
readonly modes: readonly DisposeMode[];
|
|
49
|
+
readonly refusal: {
|
|
50
|
+
readonly requirement: {
|
|
51
|
+
readonly operation: 'remove-facts';
|
|
52
|
+
readonly reason: 'budget-exceeded';
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
readonly statement: 'The Edges an activation deletes at the Nodes that leave are read within the bound the Host configures, a Class that stays at a retiring Node included. Past it, each Class among the unscheduled facts read is refused, its count a lower bound; when every fact read is scheduled, the Class of the check, or the first Edge Class of a reference check, is refused instead. A Class past them is not named, and a role that restricts, or a residue, among them is answered alone. The Edges of a retiring Class are not read, so they never exceed.';
|
|
56
|
+
readonly divergence: 'PostgreSQL also holds one inspection under 1,000,000 facts and 64 MiB across its items, and past that answers a failure with no requirement; Reference holds no inspection under such a ceiling. Past the bound the engines read different facts, so may name different Classes: PostgreSQL in order of source, target and Class, Reference of Class, source and target.';
|
|
57
|
+
readonly laws: readonly ["SD-UNINSTALL-MESSAGE"];
|
|
58
|
+
};
|
|
59
|
+
readonly EDGE_DETACHES: {
|
|
60
|
+
readonly phase: 'dispose';
|
|
61
|
+
readonly layer: 'structure';
|
|
62
|
+
readonly subjects: readonly ["endpoint.onDelete"];
|
|
63
|
+
readonly does: 'apply';
|
|
64
|
+
readonly modes: readonly DisposeMode[];
|
|
65
|
+
readonly statement: 'An Edge of a Class that stays goes with a Node that leaves when its lifetime detaches at every end that leaves.';
|
|
66
|
+
readonly accepted: 'DV_EDGE_LIFETIME';
|
|
67
|
+
readonly laws: readonly ["SD-LIFETIMES", "MUT-DETACHED-EDGES"];
|
|
68
|
+
};
|
|
69
|
+
readonly KERNEL_RELATION_LEAVES: {
|
|
70
|
+
readonly phase: 'dispose';
|
|
71
|
+
readonly layer: 'protection';
|
|
72
|
+
readonly subjects: readonly ["fact.authority", "fact.projection", "fact.execution"];
|
|
73
|
+
readonly does: 'apply';
|
|
74
|
+
readonly modes: readonly DisposeMode[];
|
|
75
|
+
readonly statement: "A Kernel relation at a projection Node that leaves goes with it: one that detaches by the projection's Mutation, whatever their number; one that restricts, or whose role accepted a Class the target no longer declares concrete, by an exact deletion the activation closes. It refuses the change past the bound of that inspection, as DISPOSE.INSPECTION_EXCEEDED states, or past the bound of the Mutation an activation carries, which fails it with no requirement.";
|
|
76
|
+
readonly divergence: 'The Mutation an activation carries holds at most 1,000,000 operations and locators on PostgreSQL and 2,048 on Reference, past which each answers RESOURCE_EXHAUSTED.';
|
|
77
|
+
readonly laws: readonly ["SD-EXACT-BOUNDARY"];
|
|
78
|
+
};
|
|
79
|
+
readonly UNDECLARED_PROJECTION_DELETED: {
|
|
80
|
+
readonly phase: 'dispose';
|
|
81
|
+
readonly layer: 'structure';
|
|
82
|
+
readonly subjects: readonly ["install.core"];
|
|
83
|
+
readonly does: 'apply';
|
|
84
|
+
readonly modes: readonly DisposeMode[];
|
|
85
|
+
readonly statement: "A change deletes what a Domain's previous projection owned and its target no longer declares. A removal keeps what its Class retires, but for an Edge at a Node it deletes.";
|
|
86
|
+
readonly laws: readonly ["SP-RECONCILIATION", "SP-REMOVAL-KEEPS-RETIRING"];
|
|
87
|
+
};
|
|
88
|
+
readonly CORE_NODE_LEAVES: {
|
|
89
|
+
readonly phase: 'dispose';
|
|
90
|
+
readonly layer: 'structure';
|
|
91
|
+
readonly subjects: readonly ["install.core", "fact.node"];
|
|
92
|
+
readonly does: 'apply';
|
|
93
|
+
readonly modes: readonly ["replace"];
|
|
94
|
+
readonly statement: 'A Core Node the target no longer declares leaves the graph with its identity, and its Edges follow their lifetimes.';
|
|
95
|
+
readonly laws: readonly ["SD-REMOVED-CORE-REFERENCE"];
|
|
96
|
+
};
|
|
97
|
+
readonly EDGE_REORIENTED: {
|
|
98
|
+
readonly phase: 'dispose';
|
|
99
|
+
readonly layer: 'structure';
|
|
100
|
+
readonly subjects: readonly ["class.orientation", "fact.edge"];
|
|
101
|
+
readonly does: 'apply';
|
|
102
|
+
readonly modes: readonly ["replace"];
|
|
103
|
+
readonly statement: 'The activation that makes an Edge Class undirected stores each of its Edges under the canonical order of its two Nodes.';
|
|
104
|
+
readonly laws: readonly ["SCHEMA-ACTIVATION-UNORDERED"];
|
|
105
|
+
};
|
|
106
|
+
readonly CORE_MERGED: {
|
|
107
|
+
readonly phase: 'dispose';
|
|
108
|
+
readonly layer: 'structure';
|
|
109
|
+
readonly subjects: readonly ["install.core"];
|
|
110
|
+
readonly does: 'apply';
|
|
111
|
+
readonly modes: readonly ["replace"];
|
|
112
|
+
readonly statement: 'A replacement merges three Cores: the previous one, the live graph and the target. A value only one side changed keeps that side; two sides changing it apart is refused, as INSTALL.CORE_CONFLICT states. A target which adds an Edge the live graph already holds with those values takes it as Core, whoever wrote it: writes can no longer touch it, and a later target which drops it deletes it. A Kernel upgrade writes the Core of its target as it stands.';
|
|
113
|
+
readonly laws: readonly ["SP-RECONCILIATION"];
|
|
114
|
+
};
|
|
115
|
+
readonly REMOVED_CLASSES_RETIRE: {
|
|
116
|
+
readonly phase: 'dispose';
|
|
117
|
+
readonly layer: 'lifecycle';
|
|
118
|
+
readonly subjects: readonly ["class.ref"];
|
|
119
|
+
readonly does: 'apply';
|
|
120
|
+
readonly modes: readonly ["destructive"];
|
|
121
|
+
readonly statement: 'A destructive uninstall retires exactly every Node and Edge Class it removes, and reads none of their facts, whatever their number, but the Edges of a Class that stays at its Nodes. No other change retires anything.';
|
|
122
|
+
readonly laws: readonly ["SD-RETIREMENT-BY-CLASSIFICATION"];
|
|
123
|
+
};
|
|
124
|
+
readonly RETIREMENT_BOUNDARY_EDGES_DELETED: {
|
|
125
|
+
readonly phase: 'dispose';
|
|
126
|
+
readonly layer: 'structure';
|
|
127
|
+
readonly subjects: readonly ["fact.edge"];
|
|
128
|
+
readonly does: 'apply';
|
|
129
|
+
readonly modes: readonly ["destructive"];
|
|
130
|
+
readonly statement: 'The activation deletes every Edge of a target Class at a retiring Node, and every Edge of a retiring Class at a Node it deletes, each with its tombstone.';
|
|
131
|
+
readonly divergence: 'On PostgreSQL the cost follows the smaller of the retiring Nodes and the Edges of the Classes whose endpoint can hold them. Reference scans every Edge.';
|
|
132
|
+
readonly laws: readonly ["SCHEMA-RETIREMENT-ISLAND"];
|
|
133
|
+
};
|
|
134
|
+
readonly RETIRING_FACT_UNREADABLE: {
|
|
135
|
+
readonly phase: 'dispose';
|
|
136
|
+
readonly layer: 'protection';
|
|
137
|
+
readonly subjects: readonly ["fact.schema"];
|
|
138
|
+
readonly does: 'apply';
|
|
139
|
+
readonly modes: readonly DisposeMode[];
|
|
140
|
+
readonly statement: 'A retiring fact stays stored until the purge erases it, and no Query or Path reads it. A Mutation names none, and meets one only as DISPOSE.RETIRING_ID_HELD and DISPOSE.RETIRING_EDGE_ERASED state.';
|
|
141
|
+
readonly laws: readonly ["SCHEMA-RETIREMENT-AT-ACTIVATION", "POSTGRES-RETIRING-ABSENT"];
|
|
142
|
+
};
|
|
143
|
+
readonly RETIRING_ID_HELD: {
|
|
144
|
+
readonly phase: 'dispose';
|
|
145
|
+
readonly layer: 'identity';
|
|
146
|
+
readonly subjects: readonly ["fact.node"];
|
|
147
|
+
readonly does: 'refuse';
|
|
148
|
+
readonly modes: readonly DisposeMode[];
|
|
149
|
+
readonly refusal: {
|
|
150
|
+
readonly provider: {
|
|
151
|
+
readonly phase: 'preState';
|
|
152
|
+
readonly code: 'MUTATION_PRECONDITION_FAILED';
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
readonly statement: 'A Mutation creates no Node under the id a retiring Node holds.';
|
|
156
|
+
readonly laws: readonly ["SCHEMA-RETIREMENT-ISLAND"];
|
|
157
|
+
};
|
|
158
|
+
readonly RETIRING_EDGE_ERASED: {
|
|
159
|
+
readonly phase: 'dispose';
|
|
160
|
+
readonly layer: 'structure';
|
|
161
|
+
readonly subjects: readonly ["fact.edge"];
|
|
162
|
+
readonly does: 'apply';
|
|
163
|
+
readonly modes: readonly DisposeMode[];
|
|
164
|
+
readonly statement: 'A Mutation that deletes an active Node, a transition a lifecycle write composes and a recovery repair erase the retiring Edges at that Node. The erasure rides the write: refused, it keeps them.';
|
|
165
|
+
readonly divergence: 'PostgreSQL erases past 4,096 such Edges in batches of their own, beyond the commit of the Mutation, so those stay erased whatever it answers, and refuses a repair past 1,000,000 rows. Reference erases them all with the write.';
|
|
166
|
+
readonly laws: readonly ["SCHEMA-RETIREMENT-ISLAND", "POSTGRES-RETIRING-ERASED-AT-DELETE"];
|
|
167
|
+
};
|
|
168
|
+
readonly PURGE_ERASES_IN_BATCHES: {
|
|
169
|
+
readonly phase: 'dispose';
|
|
170
|
+
readonly layer: 'lifecycle';
|
|
171
|
+
readonly subjects: readonly ["fact.schema"];
|
|
172
|
+
readonly does: 'apply';
|
|
173
|
+
readonly modes: readonly DisposeMode[];
|
|
174
|
+
readonly statement: 'The purge erases retiring facts in batches of at most its limit, every Edge before every Node, each with the tombstone of an ordinary deletion. A batch sent again erases the next facts and changes nothing a read sees. A purge and the record of its end ask again when the Instance admission moved, up to four times.';
|
|
175
|
+
readonly laws: readonly ["SCHEMA-PURGE-BATCH", "SCHEMA-PURGE-REPLAY", "UNINSTALL-WORKFLOW-PURGE", "POSTGRES-RETIREMENT-PURGE", "SA-PURGE-EVIDENCE"];
|
|
176
|
+
};
|
|
177
|
+
readonly SERVICE_AWAITS_PURGE: {
|
|
178
|
+
readonly phase: 'dispose';
|
|
179
|
+
readonly layer: 'lifecycle';
|
|
180
|
+
readonly subjects: readonly ["kernel", "fact.schema"];
|
|
181
|
+
readonly does: 'apply';
|
|
182
|
+
readonly modes: readonly DisposeMode[];
|
|
183
|
+
readonly statement: 'While the Classes of a Domain retire, Boot leaves out its required Service and becomes ready, so a Kernel runs the purge. The first Boot after the purge installs it.';
|
|
184
|
+
readonly laws: readonly ["BOOT-SERVICE-AWAITS-PURGE"];
|
|
185
|
+
};
|
|
186
|
+
readonly PURGE_CHECKPOINT_STALE: {
|
|
187
|
+
readonly phase: 'dispose';
|
|
188
|
+
readonly layer: 'concurrency';
|
|
189
|
+
readonly subjects: readonly ["install.activation"];
|
|
190
|
+
readonly does: 'refuse';
|
|
191
|
+
readonly modes: readonly DisposeMode[];
|
|
192
|
+
readonly refusal: {
|
|
193
|
+
readonly provider: {
|
|
194
|
+
readonly phase: 'execution';
|
|
195
|
+
readonly code: 'CHECKPOINT_STALE';
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly statement: 'A purge or a count names the serving checkpoint, and that checkpoint retires.';
|
|
199
|
+
readonly laws: readonly ["SCHEMA-PURGE-BATCH", "SCHEMA-PURGE-REMAINING"];
|
|
200
|
+
};
|
|
201
|
+
readonly PURGE_REQUEST_MALFORMED: {
|
|
202
|
+
readonly phase: 'dispose';
|
|
203
|
+
readonly layer: 'limit';
|
|
204
|
+
readonly subjects: readonly ["install.activation"];
|
|
205
|
+
readonly does: 'refuse';
|
|
206
|
+
readonly modes: readonly DisposeMode[];
|
|
207
|
+
readonly refusal: {
|
|
208
|
+
readonly provider: {
|
|
209
|
+
readonly phase: 'admission';
|
|
210
|
+
readonly code: 'PLAN_UNSUPPORTED';
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
readonly statement: 'A purge carries a limit from one to its maximum and a well-formed cursor, and a count names a ticket.';
|
|
214
|
+
readonly divergence: 'PostgreSQL refuses a cursor whose Class or Nodes are not well formed; Reference takes any cursor of three or four strings. A well-formed cursor which passes a retiring Edge fails on both engines with no refusal of this row, as neither erases that Edge before the Node at it: PostgreSQL by its endpoint check (23503), Reference by a thrown error. A provider issues no such cursor.';
|
|
215
|
+
readonly laws: readonly ["SCHEMA-PURGE-BATCH", "SCHEMA-PURGE-REMAINING"];
|
|
216
|
+
};
|
|
217
|
+
readonly RECORD_DURING_RETIREMENT: {
|
|
218
|
+
readonly phase: 'dispose';
|
|
219
|
+
readonly layer: 'lifecycle';
|
|
220
|
+
readonly subjects: readonly ["install.activation"];
|
|
221
|
+
readonly does: 'refuse';
|
|
222
|
+
readonly modes: readonly DisposeMode[];
|
|
223
|
+
readonly refusal: {
|
|
224
|
+
readonly provider: {
|
|
225
|
+
readonly phase: 'execution';
|
|
226
|
+
readonly code: 'RETIREMENT_PENDING';
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
readonly statement: 'While Classes retire, a schema record commits only from the Execution that owns the retirement, once no retiring fact remains. A lifecycle write refuses that owner for as long as the retirement lasts, whatever remains of it, and the retirement refuses no other Execution.';
|
|
230
|
+
readonly laws: readonly ["SCHEMA-RETIREMENT-FINAL-TRANSITION", "LIFECYCLE-RECORD-RETIREMENT-PENDING", "UNINSTALL-WORKFLOW-PURGE-PENDING", "UNINSTALL-WORKFLOW-RETIRED-END"];
|
|
231
|
+
};
|
|
232
|
+
readonly RETIREMENT_ENDS: {
|
|
233
|
+
readonly phase: 'dispose';
|
|
234
|
+
readonly layer: 'lifecycle';
|
|
235
|
+
readonly subjects: readonly ["install.activation"];
|
|
236
|
+
readonly does: 'apply';
|
|
237
|
+
readonly modes: readonly DisposeMode[];
|
|
238
|
+
readonly statement: 'The record of the owner, once no retiring fact remains, selects in the same commit a new checkpoint with the same Registry and no retirement.';
|
|
239
|
+
readonly laws: readonly ["SCHEMA-RETIREMENT-FINAL-TRANSITION", "UNINSTALL-WORKFLOW-RETIREMENT-ENDED"];
|
|
240
|
+
};
|
|
241
|
+
readonly RETIREMENT_NOT_CARRIED: {
|
|
242
|
+
readonly phase: 'dispose';
|
|
243
|
+
readonly layer: 'concurrency';
|
|
244
|
+
readonly subjects: readonly ["install.activation"];
|
|
245
|
+
readonly does: 'refuse';
|
|
246
|
+
readonly modes: readonly DisposeMode[];
|
|
247
|
+
readonly refusal: {
|
|
248
|
+
readonly provider: {
|
|
249
|
+
readonly phase: 'execution';
|
|
250
|
+
readonly code: 'TRANSITION_REJECTED';
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
readonly statement: 'While Classes retire, an activation commits only when it retires the same Classes for the same Execution; and it retires only Classes the serving Registry declares, a repair session staged or the serving checkpoint already retires.';
|
|
254
|
+
readonly laws: readonly ["SCHEMA-RETIREMENT-CARRY-FORWARD", "BOOT-UPGRADE-CARRIES-THE-RETIREMENT"];
|
|
255
|
+
};
|
|
256
|
+
readonly RETIREMENT_MALFORMED: {
|
|
257
|
+
readonly phase: 'dispose';
|
|
258
|
+
readonly layer: 'structure';
|
|
259
|
+
readonly subjects: readonly ["install.activation"];
|
|
260
|
+
readonly does: 'refuse';
|
|
261
|
+
readonly modes: readonly ["destructive"];
|
|
262
|
+
readonly refusal: {
|
|
263
|
+
readonly provider: {
|
|
264
|
+
readonly phase: 'admission';
|
|
265
|
+
readonly code: 'PLAN_UNSUPPORTED';
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
readonly statement: 'An activation that retires Classes carries no record and retires no Class its target defines. It names them sorted, distinct and at least one.';
|
|
269
|
+
readonly laws: readonly ["SCHEMA-RETIREMENT-AT-ACTIVATION"];
|
|
270
|
+
};
|
|
271
|
+
readonly RETIREMENT_OWNER_ENDED: {
|
|
272
|
+
readonly phase: 'dispose';
|
|
273
|
+
readonly layer: 'structure';
|
|
274
|
+
readonly subjects: readonly ["store"];
|
|
275
|
+
readonly does: 'refuse';
|
|
276
|
+
readonly modes: readonly DisposeMode[];
|
|
277
|
+
readonly refusal: {
|
|
278
|
+
readonly provider: {
|
|
279
|
+
readonly phase: 'execution';
|
|
280
|
+
readonly code: 'REVISION_STALE';
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
readonly statement: 'An Execution whose end is recorded owns no retirement: its activation is refused.';
|
|
284
|
+
readonly laws: readonly ["CONTROL-ATOMIC-ADVANCE", "UNINSTALL-WORKFLOW-CANCEL-FENCED"];
|
|
285
|
+
};
|
|
286
|
+
readonly PURGE_EXIT_REFUSED: {
|
|
287
|
+
readonly phase: 'dispose';
|
|
288
|
+
readonly layer: 'lifecycle';
|
|
289
|
+
readonly subjects: readonly ["install.activation"];
|
|
290
|
+
readonly does: 'refuse';
|
|
291
|
+
readonly modes: readonly DisposeMode[];
|
|
292
|
+
readonly refusal: {
|
|
293
|
+
readonly code: 'EXECUTION_EXIT_REFUSED';
|
|
294
|
+
};
|
|
295
|
+
readonly statement: 'An uninstall which purges cannot be cancelled or deleted: its change is committed, and it completes once the purge ends.';
|
|
296
|
+
readonly laws: readonly ["UNINSTALL-WORKFLOW-PURGE-CANCEL"];
|
|
297
|
+
};
|
|
298
|
+
readonly PURGE_ONLY_GOES_FORWARD: {
|
|
299
|
+
readonly phase: 'dispose';
|
|
300
|
+
readonly layer: 'lifecycle';
|
|
301
|
+
readonly subjects: readonly ["install.activation"];
|
|
302
|
+
readonly does: 'apply';
|
|
303
|
+
readonly modes: readonly DisposeMode[];
|
|
304
|
+
readonly statement: 'Once its activation committed, an uninstall that retires only goes forward: a cancellation is ignored, a failure is retried, and a new run resumes the purge from the serving checkpoint.';
|
|
305
|
+
readonly laws: readonly ["UNINSTALL-WORKFLOW-PURGE", "UNINSTALL-WORKFLOW-PURGE-CANCEL", "INSTALL-WORKFLOW-CANCEL", "INSTALL-WORKFLOW-REHOMED"];
|
|
306
|
+
};
|
|
307
|
+
}>;
|
|
308
|
+
export type DisposeId = keyof typeof DISPOSE;
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { deepFreeze } from '../../language/freeze.js';
|
|
2
|
+
const LEAVING = deepFreeze(['replace', 'safe', 'destructive']);
|
|
3
|
+
const RETIRING = deepFreeze(['retiring']);
|
|
4
|
+
/**
|
|
5
|
+
* What a schema change does to the facts it leaves behind, and what it refuses to leave. A row with
|
|
6
|
+
* a `requirement` is one requirement of `DATA_MIGRATION_REQUIRED`, the row `INSTALL.DATA_MIGRATION_REQUIRED`;
|
|
7
|
+
* a row with a `provider` is what the store answers the Runtime, which no caller receives.
|
|
8
|
+
*/
|
|
9
|
+
export const DISPOSE = deepFreeze({
|
|
10
|
+
REMOVED_CLASS_OCCUPIED: {
|
|
11
|
+
phase: 'dispose',
|
|
12
|
+
layer: 'structure',
|
|
13
|
+
subjects: ['class.ref'],
|
|
14
|
+
does: 'refuse',
|
|
15
|
+
modes: ['replace', 'safe'],
|
|
16
|
+
refusal: { requirement: { operation: 'remove-facts', reason: 'destructive-change' } },
|
|
17
|
+
statement: 'A Class a change removes without retiring it holds nothing but what its own projection removes: whatever their number, the change is refused and nothing moves.',
|
|
18
|
+
laws: [
|
|
19
|
+
'SD-EXACT-BOUNDARY',
|
|
20
|
+
'SD-SAFE-REFUSAL-ANY-SIZE',
|
|
21
|
+
'SP-REMOVED-EXTENT',
|
|
22
|
+
'VAL-REMOVED-EXTENT',
|
|
23
|
+
],
|
|
24
|
+
scope: { classes: 'exact', reads: 'extent' },
|
|
25
|
+
},
|
|
26
|
+
LEAVING_NODE_RESTRICTED: {
|
|
27
|
+
phase: 'dispose',
|
|
28
|
+
layer: 'structure',
|
|
29
|
+
subjects: ['endpoint.onDelete', 'fact.edge'],
|
|
30
|
+
does: 'refuse',
|
|
31
|
+
modes: LEAVING,
|
|
32
|
+
refusal: { requirement: { operation: 'remove-facts', reason: 'restricted-deletion' } },
|
|
33
|
+
statement: "An Edge of a Class that stays, the Kernel's aside, keeps a Node from leaving unless every role holding that Node at that end detaches: an end no role accepts it at restricts, in a Class read because a role of it restricts or accepted a Class the target no longer declares concrete. A Class a destructive change retires is read under its previous contract, any other under the target. The end is named by the previous orientation and its roles by the target, so an Edge Class such a change also makes undirected restricts a Core Node that leaves, whatever the target declares.",
|
|
34
|
+
accepted: 'DV_EDGE_LIFETIME',
|
|
35
|
+
laws: ['SD-LIFETIMES', 'SD-REMOVED-CORE-REFERENCE'],
|
|
36
|
+
},
|
|
37
|
+
INSPECTION_EXCEEDED: {
|
|
38
|
+
phase: 'dispose',
|
|
39
|
+
layer: 'limit',
|
|
40
|
+
subjects: ['store'],
|
|
41
|
+
does: 'refuse',
|
|
42
|
+
modes: LEAVING,
|
|
43
|
+
refusal: { requirement: { operation: 'remove-facts', reason: 'budget-exceeded' } },
|
|
44
|
+
statement: 'The Edges an activation deletes at the Nodes that leave are read within the bound the Host configures, a Class that stays at a retiring Node included. Past it, each Class among the unscheduled facts read is refused, its count a lower bound; when every fact read is scheduled, the Class of the check, or the first Edge Class of a reference check, is refused instead. A Class past them is not named, and a role that restricts, or a residue, among them is answered alone. The Edges of a retiring Class are not read, so they never exceed.',
|
|
45
|
+
divergence: 'PostgreSQL also holds one inspection under 1,000,000 facts and 64 MiB across its items, and past that answers a failure with no requirement; Reference holds no inspection under such a ceiling. Past the bound the engines read different facts, so may name different Classes: PostgreSQL in order of source, target and Class, Reference of Class, source and target.',
|
|
46
|
+
laws: ['SD-UNINSTALL-MESSAGE'],
|
|
47
|
+
},
|
|
48
|
+
EDGE_DETACHES: {
|
|
49
|
+
phase: 'dispose',
|
|
50
|
+
layer: 'structure',
|
|
51
|
+
subjects: ['endpoint.onDelete'],
|
|
52
|
+
does: 'apply',
|
|
53
|
+
modes: LEAVING,
|
|
54
|
+
statement: 'An Edge of a Class that stays goes with a Node that leaves when its lifetime detaches at every end that leaves.',
|
|
55
|
+
accepted: 'DV_EDGE_LIFETIME',
|
|
56
|
+
laws: ['SD-LIFETIMES', 'MUT-DETACHED-EDGES'],
|
|
57
|
+
},
|
|
58
|
+
KERNEL_RELATION_LEAVES: {
|
|
59
|
+
phase: 'dispose',
|
|
60
|
+
layer: 'protection',
|
|
61
|
+
subjects: ['fact.authority', 'fact.projection', 'fact.execution'],
|
|
62
|
+
does: 'apply',
|
|
63
|
+
modes: LEAVING,
|
|
64
|
+
statement: "A Kernel relation at a projection Node that leaves goes with it: one that detaches by the projection's Mutation, whatever their number; one that restricts, or whose role accepted a Class the target no longer declares concrete, by an exact deletion the activation closes. It refuses the change past the bound of that inspection, as DISPOSE.INSPECTION_EXCEEDED states, or past the bound of the Mutation an activation carries, which fails it with no requirement.",
|
|
65
|
+
divergence: 'The Mutation an activation carries holds at most 1,000,000 operations and locators on PostgreSQL and 2,048 on Reference, past which each answers RESOURCE_EXHAUSTED.',
|
|
66
|
+
laws: ['SD-EXACT-BOUNDARY'],
|
|
67
|
+
},
|
|
68
|
+
UNDECLARED_PROJECTION_DELETED: {
|
|
69
|
+
phase: 'dispose',
|
|
70
|
+
layer: 'structure',
|
|
71
|
+
subjects: ['install.core'],
|
|
72
|
+
does: 'apply',
|
|
73
|
+
modes: LEAVING,
|
|
74
|
+
statement: "A change deletes what a Domain's previous projection owned and its target no longer declares. A removal keeps what its Class retires, but for an Edge at a Node it deletes.",
|
|
75
|
+
laws: ['SP-RECONCILIATION', 'SP-REMOVAL-KEEPS-RETIRING'],
|
|
76
|
+
},
|
|
77
|
+
CORE_NODE_LEAVES: {
|
|
78
|
+
phase: 'dispose',
|
|
79
|
+
layer: 'structure',
|
|
80
|
+
subjects: ['install.core', 'fact.node'],
|
|
81
|
+
does: 'apply',
|
|
82
|
+
modes: ['replace'],
|
|
83
|
+
statement: 'A Core Node the target no longer declares leaves the graph with its identity, and its Edges follow their lifetimes.',
|
|
84
|
+
laws: ['SD-REMOVED-CORE-REFERENCE'],
|
|
85
|
+
},
|
|
86
|
+
EDGE_REORIENTED: {
|
|
87
|
+
phase: 'dispose',
|
|
88
|
+
layer: 'structure',
|
|
89
|
+
subjects: ['class.orientation', 'fact.edge'],
|
|
90
|
+
does: 'apply',
|
|
91
|
+
modes: ['replace'],
|
|
92
|
+
statement: 'The activation that makes an Edge Class undirected stores each of its Edges under the canonical order of its two Nodes.',
|
|
93
|
+
laws: ['SCHEMA-ACTIVATION-UNORDERED'],
|
|
94
|
+
},
|
|
95
|
+
CORE_MERGED: {
|
|
96
|
+
phase: 'dispose',
|
|
97
|
+
layer: 'structure',
|
|
98
|
+
subjects: ['install.core'],
|
|
99
|
+
does: 'apply',
|
|
100
|
+
modes: ['replace'],
|
|
101
|
+
statement: 'A replacement merges three Cores: the previous one, the live graph and the target. A value only one side changed keeps that side; two sides changing it apart is refused, as INSTALL.CORE_CONFLICT states. A target which adds an Edge the live graph already holds with those values takes it as Core, whoever wrote it: writes can no longer touch it, and a later target which drops it deletes it. A Kernel upgrade writes the Core of its target as it stands.',
|
|
102
|
+
laws: ['SP-RECONCILIATION'],
|
|
103
|
+
},
|
|
104
|
+
REMOVED_CLASSES_RETIRE: {
|
|
105
|
+
phase: 'dispose',
|
|
106
|
+
layer: 'lifecycle',
|
|
107
|
+
subjects: ['class.ref'],
|
|
108
|
+
does: 'apply',
|
|
109
|
+
modes: ['destructive'],
|
|
110
|
+
statement: 'A destructive uninstall retires exactly every Node and Edge Class it removes, and reads none of their facts, whatever their number, but the Edges of a Class that stays at its Nodes. No other change retires anything.',
|
|
111
|
+
laws: ['SD-RETIREMENT-BY-CLASSIFICATION'],
|
|
112
|
+
},
|
|
113
|
+
RETIREMENT_BOUNDARY_EDGES_DELETED: {
|
|
114
|
+
phase: 'dispose',
|
|
115
|
+
layer: 'structure',
|
|
116
|
+
subjects: ['fact.edge'],
|
|
117
|
+
does: 'apply',
|
|
118
|
+
modes: ['destructive'],
|
|
119
|
+
statement: 'The activation deletes every Edge of a target Class at a retiring Node, and every Edge of a retiring Class at a Node it deletes, each with its tombstone.',
|
|
120
|
+
divergence: 'On PostgreSQL the cost follows the smaller of the retiring Nodes and the Edges of the Classes whose endpoint can hold them. Reference scans every Edge.',
|
|
121
|
+
laws: ['SCHEMA-RETIREMENT-ISLAND'],
|
|
122
|
+
},
|
|
123
|
+
RETIRING_FACT_UNREADABLE: {
|
|
124
|
+
phase: 'dispose',
|
|
125
|
+
layer: 'protection',
|
|
126
|
+
subjects: ['fact.schema'],
|
|
127
|
+
does: 'apply',
|
|
128
|
+
modes: RETIRING,
|
|
129
|
+
statement: 'A retiring fact stays stored until the purge erases it, and no Query or Path reads it. A Mutation names none, and meets one only as DISPOSE.RETIRING_ID_HELD and DISPOSE.RETIRING_EDGE_ERASED state.',
|
|
130
|
+
laws: ['SCHEMA-RETIREMENT-AT-ACTIVATION', 'POSTGRES-RETIRING-ABSENT'],
|
|
131
|
+
},
|
|
132
|
+
RETIRING_ID_HELD: {
|
|
133
|
+
phase: 'dispose',
|
|
134
|
+
layer: 'identity',
|
|
135
|
+
subjects: ['fact.node'],
|
|
136
|
+
does: 'refuse',
|
|
137
|
+
modes: RETIRING,
|
|
138
|
+
refusal: { provider: { phase: 'preState', code: 'MUTATION_PRECONDITION_FAILED' } },
|
|
139
|
+
statement: 'A Mutation creates no Node under the id a retiring Node holds.',
|
|
140
|
+
laws: ['SCHEMA-RETIREMENT-ISLAND'],
|
|
141
|
+
},
|
|
142
|
+
RETIRING_EDGE_ERASED: {
|
|
143
|
+
phase: 'dispose',
|
|
144
|
+
layer: 'structure',
|
|
145
|
+
subjects: ['fact.edge'],
|
|
146
|
+
does: 'apply',
|
|
147
|
+
modes: RETIRING,
|
|
148
|
+
statement: 'A Mutation that deletes an active Node, a transition a lifecycle write composes and a recovery repair erase the retiring Edges at that Node. The erasure rides the write: refused, it keeps them.',
|
|
149
|
+
divergence: 'PostgreSQL erases past 4,096 such Edges in batches of their own, beyond the commit of the Mutation, so those stay erased whatever it answers, and refuses a repair past 1,000,000 rows. Reference erases them all with the write.',
|
|
150
|
+
laws: ['SCHEMA-RETIREMENT-ISLAND', 'POSTGRES-RETIRING-ERASED-AT-DELETE'],
|
|
151
|
+
},
|
|
152
|
+
PURGE_ERASES_IN_BATCHES: {
|
|
153
|
+
phase: 'dispose',
|
|
154
|
+
layer: 'lifecycle',
|
|
155
|
+
subjects: ['fact.schema'],
|
|
156
|
+
does: 'apply',
|
|
157
|
+
modes: RETIRING,
|
|
158
|
+
statement: 'The purge erases retiring facts in batches of at most its limit, every Edge before every Node, each with the tombstone of an ordinary deletion. A batch sent again erases the next facts and changes nothing a read sees. A purge and the record of its end ask again when the Instance admission moved, up to four times.',
|
|
159
|
+
laws: [
|
|
160
|
+
'SCHEMA-PURGE-BATCH',
|
|
161
|
+
'SCHEMA-PURGE-REPLAY',
|
|
162
|
+
'UNINSTALL-WORKFLOW-PURGE',
|
|
163
|
+
'POSTGRES-RETIREMENT-PURGE',
|
|
164
|
+
'SA-PURGE-EVIDENCE',
|
|
165
|
+
],
|
|
166
|
+
},
|
|
167
|
+
SERVICE_AWAITS_PURGE: {
|
|
168
|
+
phase: 'dispose',
|
|
169
|
+
layer: 'lifecycle',
|
|
170
|
+
subjects: ['kernel', 'fact.schema'],
|
|
171
|
+
does: 'apply',
|
|
172
|
+
modes: RETIRING,
|
|
173
|
+
statement: 'While the Classes of a Domain retire, Boot leaves out its required Service and becomes ready, so a Kernel runs the purge. The first Boot after the purge installs it.',
|
|
174
|
+
laws: ['BOOT-SERVICE-AWAITS-PURGE'],
|
|
175
|
+
},
|
|
176
|
+
PURGE_CHECKPOINT_STALE: {
|
|
177
|
+
phase: 'dispose',
|
|
178
|
+
layer: 'concurrency',
|
|
179
|
+
subjects: ['install.activation'],
|
|
180
|
+
does: 'refuse',
|
|
181
|
+
modes: RETIRING,
|
|
182
|
+
refusal: { provider: { phase: 'execution', code: 'CHECKPOINT_STALE' } },
|
|
183
|
+
statement: 'A purge or a count names the serving checkpoint, and that checkpoint retires.',
|
|
184
|
+
laws: ['SCHEMA-PURGE-BATCH', 'SCHEMA-PURGE-REMAINING'],
|
|
185
|
+
},
|
|
186
|
+
PURGE_REQUEST_MALFORMED: {
|
|
187
|
+
phase: 'dispose',
|
|
188
|
+
layer: 'limit',
|
|
189
|
+
subjects: ['install.activation'],
|
|
190
|
+
does: 'refuse',
|
|
191
|
+
modes: RETIRING,
|
|
192
|
+
refusal: { provider: { phase: 'admission', code: 'PLAN_UNSUPPORTED' } },
|
|
193
|
+
statement: 'A purge carries a limit from one to its maximum and a well-formed cursor, and a count names a ticket.',
|
|
194
|
+
divergence: 'PostgreSQL refuses a cursor whose Class or Nodes are not well formed; Reference takes any cursor of three or four strings. A well-formed cursor which passes a retiring Edge fails on both engines with no refusal of this row, as neither erases that Edge before the Node at it: PostgreSQL by its endpoint check (23503), Reference by a thrown error. A provider issues no such cursor.',
|
|
195
|
+
laws: ['SCHEMA-PURGE-BATCH', 'SCHEMA-PURGE-REMAINING'],
|
|
196
|
+
},
|
|
197
|
+
RECORD_DURING_RETIREMENT: {
|
|
198
|
+
phase: 'dispose',
|
|
199
|
+
layer: 'lifecycle',
|
|
200
|
+
subjects: ['install.activation'],
|
|
201
|
+
does: 'refuse',
|
|
202
|
+
modes: RETIRING,
|
|
203
|
+
refusal: { provider: { phase: 'execution', code: 'RETIREMENT_PENDING' } },
|
|
204
|
+
statement: 'While Classes retire, a schema record commits only from the Execution that owns the retirement, once no retiring fact remains. A lifecycle write refuses that owner for as long as the retirement lasts, whatever remains of it, and the retirement refuses no other Execution.',
|
|
205
|
+
laws: [
|
|
206
|
+
'SCHEMA-RETIREMENT-FINAL-TRANSITION',
|
|
207
|
+
'LIFECYCLE-RECORD-RETIREMENT-PENDING',
|
|
208
|
+
'UNINSTALL-WORKFLOW-PURGE-PENDING',
|
|
209
|
+
'UNINSTALL-WORKFLOW-RETIRED-END',
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
RETIREMENT_ENDS: {
|
|
213
|
+
phase: 'dispose',
|
|
214
|
+
layer: 'lifecycle',
|
|
215
|
+
subjects: ['install.activation'],
|
|
216
|
+
does: 'apply',
|
|
217
|
+
modes: RETIRING,
|
|
218
|
+
statement: 'The record of the owner, once no retiring fact remains, selects in the same commit a new checkpoint with the same Registry and no retirement.',
|
|
219
|
+
laws: ['SCHEMA-RETIREMENT-FINAL-TRANSITION', 'UNINSTALL-WORKFLOW-RETIREMENT-ENDED'],
|
|
220
|
+
},
|
|
221
|
+
RETIREMENT_NOT_CARRIED: {
|
|
222
|
+
phase: 'dispose',
|
|
223
|
+
layer: 'concurrency',
|
|
224
|
+
subjects: ['install.activation'],
|
|
225
|
+
does: 'refuse',
|
|
226
|
+
modes: RETIRING,
|
|
227
|
+
refusal: { provider: { phase: 'execution', code: 'TRANSITION_REJECTED' } },
|
|
228
|
+
statement: 'While Classes retire, an activation commits only when it retires the same Classes for the same Execution; and it retires only Classes the serving Registry declares, a repair session staged or the serving checkpoint already retires.',
|
|
229
|
+
laws: ['SCHEMA-RETIREMENT-CARRY-FORWARD', 'BOOT-UPGRADE-CARRIES-THE-RETIREMENT'],
|
|
230
|
+
},
|
|
231
|
+
RETIREMENT_MALFORMED: {
|
|
232
|
+
phase: 'dispose',
|
|
233
|
+
layer: 'structure',
|
|
234
|
+
subjects: ['install.activation'],
|
|
235
|
+
does: 'refuse',
|
|
236
|
+
modes: ['destructive'],
|
|
237
|
+
refusal: { provider: { phase: 'admission', code: 'PLAN_UNSUPPORTED' } },
|
|
238
|
+
statement: 'An activation that retires Classes carries no record and retires no Class its target defines. It names them sorted, distinct and at least one.',
|
|
239
|
+
laws: ['SCHEMA-RETIREMENT-AT-ACTIVATION'],
|
|
240
|
+
},
|
|
241
|
+
RETIREMENT_OWNER_ENDED: {
|
|
242
|
+
phase: 'dispose',
|
|
243
|
+
layer: 'structure',
|
|
244
|
+
subjects: ['store'],
|
|
245
|
+
does: 'refuse',
|
|
246
|
+
modes: RETIRING,
|
|
247
|
+
refusal: { provider: { phase: 'execution', code: 'REVISION_STALE' } },
|
|
248
|
+
statement: 'An Execution whose end is recorded owns no retirement: its activation is refused.',
|
|
249
|
+
laws: ['CONTROL-ATOMIC-ADVANCE', 'UNINSTALL-WORKFLOW-CANCEL-FENCED'],
|
|
250
|
+
},
|
|
251
|
+
PURGE_EXIT_REFUSED: {
|
|
252
|
+
phase: 'dispose',
|
|
253
|
+
layer: 'lifecycle',
|
|
254
|
+
subjects: ['install.activation'],
|
|
255
|
+
does: 'refuse',
|
|
256
|
+
modes: RETIRING,
|
|
257
|
+
refusal: { code: 'EXECUTION_EXIT_REFUSED' },
|
|
258
|
+
statement: 'An uninstall which purges cannot be cancelled or deleted: its change is committed, and it completes once the purge ends.',
|
|
259
|
+
laws: ['UNINSTALL-WORKFLOW-PURGE-CANCEL'],
|
|
260
|
+
},
|
|
261
|
+
PURGE_ONLY_GOES_FORWARD: {
|
|
262
|
+
phase: 'dispose',
|
|
263
|
+
layer: 'lifecycle',
|
|
264
|
+
subjects: ['install.activation'],
|
|
265
|
+
does: 'apply',
|
|
266
|
+
modes: RETIRING,
|
|
267
|
+
statement: 'Once its activation committed, an uninstall that retires only goes forward: a cancellation is ignored, a failure is retried, and a new run resumes the purge from the serving checkpoint.',
|
|
268
|
+
laws: [
|
|
269
|
+
'UNINSTALL-WORKFLOW-PURGE',
|
|
270
|
+
'UNINSTALL-WORKFLOW-PURGE-CANCEL',
|
|
271
|
+
'INSTALL-WORKFLOW-CANCEL',
|
|
272
|
+
'INSTALL-WORKFLOW-REHOMED',
|
|
273
|
+
],
|
|
274
|
+
},
|
|
275
|
+
});
|