@dialecte/scl 0.5.0 → 0.7.0
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/hooks-Cw9fAx-L.js +53454 -0
- package/dist/v2019C1/config/dialecte.config.d.ts +27746 -20645
- package/dist/v2019C1/config/dialecte.config.d.ts.map +1 -1
- package/dist/v2019C1/constants/index.d.ts +1 -0
- package/dist/v2019C1/constants/index.d.ts.map +1 -1
- package/dist/v2019C1/constants/lnode-spec-naming.d.ts +8 -0
- package/dist/v2019C1/constants/lnode-spec-naming.d.ts.map +1 -0
- package/dist/v2019C1/constants/naming.d.ts +2 -0
- package/dist/v2019C1/constants/naming.d.ts.map +1 -1
- package/dist/v2019C1/constants/reference-pairs.d.ts +12 -4
- package/dist/v2019C1/constants/reference-pairs.d.ts.map +1 -1
- package/dist/v2019C1/definition/constants.generated.d.ts.map +1 -1
- package/dist/v2019C1/definition/definition.generated.d.ts +27746 -20645
- package/dist/v2019C1/definition/definition.generated.d.ts.map +1 -1
- package/dist/v2019C1/definition/types.generated.d.ts +5 -153
- package/dist/v2019C1/definition/types.generated.d.ts.map +1 -1
- package/dist/v2019C1/errors/errors.d.ts +60 -0
- package/dist/v2019C1/errors/errors.d.ts.map +1 -0
- package/dist/v2019C1/errors/index.d.ts +6 -0
- package/dist/v2019C1/errors/index.d.ts.map +1 -0
- package/dist/v2019C1/errors/warnings.d.ts +30 -0
- package/dist/v2019C1/errors/warnings.d.ts.map +1 -0
- package/dist/v2019C1/extensions/clean-up/transaction/orphan-lnode-bindings.d.ts.map +1 -1
- package/dist/v2019C1/extensions/data-model/naming/lnode-naming.d.ts +19 -0
- package/dist/v2019C1/extensions/data-model/naming/lnode-naming.d.ts.map +1 -0
- package/dist/v2019C1/extensions/data-model/naming/lnode-naming.types.d.ts +12 -0
- package/dist/v2019C1/extensions/data-model/naming/lnode-naming.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/data-model/query/is-lnode-locked.d.ts.map +1 -1
- package/dist/v2019C1/extensions/data-model/transaction/index.d.ts +1 -0
- package/dist/v2019C1/extensions/data-model/transaction/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/data-model/transaction/unlock-lnode.constants.d.ts +5 -0
- package/dist/v2019C1/extensions/data-model/transaction/unlock-lnode.constants.d.ts.map +1 -0
- package/dist/v2019C1/extensions/data-model/transaction/unlock-lnode.d.ts +14 -0
- package/dist/v2019C1/extensions/data-model/transaction/unlock-lnode.d.ts.map +1 -0
- package/dist/v2019C1/extensions/identity/transaction/restore-cloned-uuids.d.ts +1 -1
- package/dist/v2019C1/extensions/identity/transaction/restore-cloned-uuids.d.ts.map +1 -1
- package/dist/v2019C1/extensions/identity/transaction/write-identity.d.ts +1 -1
- package/dist/v2019C1/extensions/identity/transaction/write-identity.d.ts.map +1 -1
- package/dist/v2019C1/extensions/index.d.ts +4 -2
- package/dist/v2019C1/extensions/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/info/constants/state.d.ts +5 -0
- package/dist/v2019C1/extensions/info/constants/state.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/constants/state.types.d.ts +38 -0
- package/dist/v2019C1/extensions/info/constants/state.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/constants/title.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/constants/title.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/index.d.ts +5 -0
- package/dist/v2019C1/extensions/info/index.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/public.d.ts +3 -0
- package/dist/v2019C1/extensions/info/public.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/query/index.d.ts +4 -0
- package/dist/v2019C1/extensions/info/query/index.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/query/info-context.d.ts +6 -0
- package/dist/v2019C1/extensions/info/query/info-context.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/query/info-context.types.d.ts +11 -0
- package/dist/v2019C1/extensions/info/query/info-context.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/query/of-each.d.ts +10 -0
- package/dist/v2019C1/extensions/info/query/of-each.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/query/of.d.ts +28 -0
- package/dist/v2019C1/extensions/info/query/of.d.ts.map +1 -0
- package/dist/v2019C1/extensions/info/query/of.types.d.ts +27 -0
- package/dist/v2019C1/extensions/info/query/of.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/apply/apply.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.d.ts +4 -2
- package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.d.ts +0 -7
- package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.d.ts +19 -3
- package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.types.d.ts +6 -16
- package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/index.d.ts +3 -2
- package/dist/v2019C1/extensions/lifecycle/constraints/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/make-unique.d.ts +16 -0
- package/dist/v2019C1/extensions/lifecycle/constraints/make-unique.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/constraints/make-unique.types.d.ts +6 -0
- package/dist/v2019C1/extensions/lifecycle/constraints/make-unique.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/constraints/public.d.ts +3 -0
- package/dist/v2019C1/extensions/lifecycle/constraints/public.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/resolve-placement-collision.d.ts +2 -4
- package/dist/v2019C1/extensions/lifecycle/constraints/resolve-placement-collision.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.d.ts +18 -6
- package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/contract.types.d.ts +47 -10
- package/dist/v2019C1/extensions/lifecycle/contract.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.d.ts +2 -0
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.d.ts +14 -18
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.types.d.ts +19 -0
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/finalize-cloned-identity.d.ts +8 -1
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/finalize-cloned-identity.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/mapping.constants.d.ts +15 -0
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/mapping.constants.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/engine/correlate.d.ts +16 -8
- package/dist/v2019C1/extensions/lifecycle/engine/correlate.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/decide.d.ts +30 -2
- package/dist/v2019C1/extensions/lifecycle/engine/decide.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/decide.types.d.ts +2 -2
- package/dist/v2019C1/extensions/lifecycle/engine/diff.d.ts +35 -1
- package/dist/v2019C1/extensions/lifecycle/engine/diff.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/diff.types.d.ts +29 -22
- package/dist/v2019C1/extensions/lifecycle/engine/diff.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/group.d.ts +15 -1
- package/dist/v2019C1/extensions/lifecycle/engine/group.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/index.d.ts +3 -2
- package/dist/v2019C1/extensions/lifecycle/engine/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/instance-tag.d.ts +16 -0
- package/dist/v2019C1/extensions/lifecycle/engine/instance-tag.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/engine/link-placement-dependencies.d.ts +19 -0
- package/dist/v2019C1/extensions/lifecycle/engine/link-placement-dependencies.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/engine/match-child.d.ts +24 -1
- package/dist/v2019C1/extensions/lifecycle/engine/match-child.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/public.d.ts +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/public.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/reconcile.d.ts +33 -2
- package/dist/v2019C1/extensions/lifecycle/engine/reconcile.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/reference-match.d.ts +18 -3
- package/dist/v2019C1/extensions/lifecycle/engine/reference-match.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/repoint-added-references.d.ts +20 -0
- package/dist/v2019C1/extensions/lifecycle/engine/repoint-added-references.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/engine/repoint-added-references.types.d.ts +31 -0
- package/dist/v2019C1/extensions/lifecycle/engine/repoint-added-references.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/engine/standing/describe-standing-choice.d.ts +16 -0
- package/dist/v2019C1/extensions/lifecycle/engine/standing/describe-standing-choice.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/engine/standing/index.d.ts +4 -0
- package/dist/v2019C1/extensions/lifecycle/engine/standing/index.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/engine/standing/resolve-standings.d.ts +24 -0
- package/dist/v2019C1/extensions/lifecycle/engine/standing/resolve-standings.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/engine/standing/standing.types.d.ts +96 -0
- package/dist/v2019C1/extensions/lifecycle/engine/standing/standing.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/extract/transaction/fsd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.constants.d.ts +5 -0
- package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.constants.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.d.ts +11 -0
- package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.types.d.ts +21 -0
- package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/ied/index.d.ts +2 -0
- package/dist/v2019C1/extensions/lifecycle/ied/index.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/ied/public.d.ts +2 -0
- package/dist/v2019C1/extensions/lifecycle/ied/public.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/index.d.ts +8 -0
- package/dist/v2019C1/extensions/lifecycle/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instance/composed-functions.d.ts +2 -0
- package/dist/v2019C1/extensions/lifecycle/instance/composed-functions.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instance/foreign-scope.d.ts +31 -0
- package/dist/v2019C1/extensions/lifecycle/instance/foreign-scope.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/instance/foreign-scope.types.d.ts +31 -0
- package/dist/v2019C1/extensions/lifecycle/instance/foreign-scope.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/instance/index.d.ts +4 -1
- package/dist/v2019C1/extensions/lifecycle/instance/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instance/instance-scope.d.ts +13 -0
- package/dist/v2019C1/extensions/lifecycle/instance/instance-scope.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.d.ts +9 -3
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.types.d.ts +31 -6
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.d.ts +2 -2
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.types.d.ts +21 -8
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.d.ts +10 -0
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.types.d.ts +14 -0
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.d.ts +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.types.d.ts +13 -2
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.d.ts +14 -3
- package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.types.d.ts +17 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/index.d.ts +4 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/application/mapping.constants.d.ts +10 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/mapping.constants.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.d.ts +14 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.types.d.ts +17 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.d.ts +6 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.types.d.ts +21 -0
- package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.d.ts +13 -10
- package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.types.d.ts +26 -0
- package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/function/index.d.ts +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/function/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/function/mapping.constants.d.ts +10 -0
- package/dist/v2019C1/extensions/lifecycle/layers/function/mapping.constants.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/function/placed-function-tag.d.ts +9 -0
- package/dist/v2019C1/extensions/lifecycle/layers/function/placed-function-tag.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.d.ts +2 -1
- package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.d.ts +12 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.types.d.ts +4 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/describe-placement-mappings.d.ts +37 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/describe-placement-mappings.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/ensure-topology-frame.d.ts +13 -5
- package/dist/v2019C1/extensions/lifecycle/layers/topology/ensure-topology-frame.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/ensure-topology-frame.types.d.ts +18 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/ensure-topology-frame.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/find-frame-instances.d.ts +13 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/find-frame-instances.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/find-frame-instances.types.d.ts +22 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/find-frame-instances.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/index.d.ts +18 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/land-primaries.d.ts +12 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/land-primaries.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/land-primaries.types.d.ts +12 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/land-primaries.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/placement-landing.d.ts +18 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/placement-landing.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/reconcile-topology-frame.d.ts +9 -3
- package/dist/v2019C1/extensions/lifecycle/layers/topology/reconcile-topology-frame.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/reconcile-topology-frame.types.d.ts +13 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/reconcile-topology-frame.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-held-levels.d.ts +18 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-held-levels.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-held-levels.types.d.ts +23 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-held-levels.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-instance-levels.d.ts +28 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-instance-levels.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-instance-levels.types.d.ts +78 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-instance-levels.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-placement-mappings.d.ts +20 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-placement-mappings.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-placement-mappings.types.d.ts +31 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-placement-mappings.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-parents.d.ts +16 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-parents.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-parents.types.d.ts +36 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-parents.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-placement.d.ts +15 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-placement.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-placement.types.d.ts +30 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-placement.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/scope-content.d.ts +11 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/scope-content.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/mapping/assert-mapping-decided.d.ts +17 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/assert-mapping-decided.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/assert-mappings-coherent.d.ts +10 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/assert-mappings-coherent.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/describe-mapping.d.ts +28 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/describe-mapping.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/find-withdrawn-contributions.d.ts +16 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/find-withdrawn-contributions.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/index.d.ts +9 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/index.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/mapping-policies.d.ts +4 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/mapping-policies.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/mapping.types.d.ts +204 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/mapping.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/pair-instance-satellites.d.ts +16 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/pair-instance-satellites.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/resolve-mapping.d.ts +15 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/resolve-mapping.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/resolve-satellite-mappings.d.ts +26 -0
- package/dist/v2019C1/extensions/lifecycle/mapping/resolve-satellite-mappings.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/public.d.ts +5 -3
- package/dist/v2019C1/extensions/lifecycle/public.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/index.d.ts +0 -1
- package/dist/v2019C1/extensions/lifecycle/report/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.d.ts +11 -0
- package/dist/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-asd.d.ts +14 -0
- package/dist/v2019C1/extensions/lifecycle/report/query/report-asd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-fsd.d.ts +13 -2
- package/dist/v2019C1/extensions/lifecycle/report/query/report-fsd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-function-satellites.d.ts +15 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-function-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-function.d.ts +9 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-function.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-instance.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-ssd.d.ts +5 -0
- package/dist/v2019C1/extensions/lifecycle/report/query/report-ssd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-topology-frame.d.ts +24 -4
- package/dist/v2019C1/extensions/lifecycle/report/query/report-topology-frame.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/satellite-companions.d.ts +27 -2
- package/dist/v2019C1/extensions/lifecycle/report/query/satellite-companions.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/report.d.ts +2 -2
- package/dist/v2019C1/extensions/lifecycle/report/report.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.d.ts +1 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.types.d.ts +2 -2
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-tree.d.ts +2 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-tree.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.d.ts +14 -4
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.types.d.ts +9 -0
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/asd.d.ts +16 -3
- package/dist/v2019C1/extensions/lifecycle/update/transaction/asd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cascade-composed-functions.d.ts +22 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cascade-composed-functions.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cascade-composed-functions.types.d.ts +38 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cascade-composed-functions.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts +13 -5
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.types.d.ts +9 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/fsd.d.ts +15 -2
- package/dist/v2019C1/extensions/lifecycle/update/transaction/fsd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/function-satellites.d.ts +20 -19
- package/dist/v2019C1/extensions/lifecycle/update/transaction/function-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.d.ts +18 -5
- package/dist/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/ssd.d.ts +3 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/ssd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/validate/template-uuid-check.info.d.ts +2 -1
- package/dist/v2019C1/extensions/lifecycle/validate/template-uuid-check.info.d.ts.map +1 -1
- package/dist/v2019C1/extensions/public.d.ts +1 -1
- package/dist/v2019C1/extensions/public.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/constants/derived.d.ts +4 -4
- package/dist/v2019C1/extensions/reference/constants/derived.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/constants/index.d.ts +1 -1
- package/dist/v2019C1/extensions/reference/constants/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/constants/path-extraction.d.ts +3 -22
- package/dist/v2019C1/extensions/reference/constants/path-extraction.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/constants/path-extraction.types.d.ts +37 -0
- package/dist/v2019C1/extensions/reference/constants/path-extraction.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/constants/resolution-types.d.ts +3 -1
- package/dist/v2019C1/extensions/reference/constants/resolution-types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/public.d.ts +2 -0
- package/dist/v2019C1/extensions/reference/public.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/build-element-path.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/build-mapped-lnode-path.d.ts +1 -7
- package/dist/v2019C1/extensions/reference/query/build/build-mapped-lnode-path.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/build-mapped-lnode-path.types.d.ts +9 -0
- package/dist/v2019C1/extensions/reference/query/build/build-mapped-lnode-path.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/build/build-reference-path.d.ts +3 -2
- package/dist/v2019C1/extensions/reference/query/build/build-reference-path.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/compose-reference-path.d.ts +17 -0
- package/dist/v2019C1/extensions/reference/query/build/compose-reference-path.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/build/compose-reference-path.types.d.ts +20 -0
- package/dist/v2019C1/extensions/reference/query/build/compose-reference-path.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/build/function-scope.d.ts +16 -0
- package/dist/v2019C1/extensions/reference/query/build/function-scope.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/build/index.d.ts +1 -1
- package/dist/v2019C1/extensions/reference/query/build/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/path-segment.d.ts +6 -2
- package/dist/v2019C1/extensions/reference/query/build/path-segment.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/path-segment.types.d.ts +12 -1
- package/dist/v2019C1/extensions/reference/query/build/path-segment.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/signal-name.d.ts +7 -0
- package/dist/v2019C1/extensions/reference/query/build/signal-name.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/build/spec-namings.d.ts +10 -0
- package/dist/v2019C1/extensions/reference/query/build/spec-namings.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/resolve/parse-path.d.ts +15 -10
- package/dist/v2019C1/extensions/reference/query/resolve/parse-path.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-element-path.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-mapped-lnode.constants.d.ts +3 -0
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-mapped-lnode.constants.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-mapped-lnode.d.ts +1 -3
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-mapped-lnode.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.constants.d.ts +11 -0
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.constants.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.d.ts +1 -4
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.types.d.ts +6 -0
- package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/resolve/types.d.ts +2 -2
- package/dist/v2019C1/extensions/reference/query/resolve/types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/transaction/apply-uuid-remap.d.ts +8 -4
- package/dist/v2019C1/extensions/reference/transaction/apply-uuid-remap.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/transaction/apply-uuid-remap.types.d.ts +12 -0
- package/dist/v2019C1/extensions/reference/transaction/apply-uuid-remap.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/transaction/write-provenance.d.ts.map +1 -1
- package/dist/v2019C1/hooks/after-created/after-created.d.ts.map +1 -1
- package/dist/v2019C1/hooks/after-created/ref-paths.d.ts.map +1 -1
- package/dist/v2019C1/hooks/after-delete/after-delete.d.ts +10 -0
- package/dist/v2019C1/hooks/after-delete/after-delete.d.ts.map +1 -0
- package/dist/v2019C1/hooks/after-delete/index.d.ts +2 -0
- package/dist/v2019C1/hooks/after-delete/index.d.ts.map +1 -0
- package/dist/v2019C1/hooks/after-updated/after-updated.d.ts.map +1 -1
- package/dist/v2019C1/hooks/after-updated/ref-paths.d.ts.map +1 -1
- package/dist/v2019C1/hooks/before-commit/before-commit.d.ts +13 -0
- package/dist/v2019C1/hooks/before-commit/before-commit.d.ts.map +1 -0
- package/dist/v2019C1/hooks/before-commit/index.d.ts +2 -0
- package/dist/v2019C1/hooks/before-commit/index.d.ts.map +1 -0
- package/dist/v2019C1/hooks/index.d.ts.map +1 -1
- package/dist/v2019C1/hooks/io/import-path-index.d.ts +15 -0
- package/dist/v2019C1/hooks/io/import-path-index.d.ts.map +1 -0
- package/dist/v2019C1/hooks/io/io-hooks.constants.d.ts +3 -0
- package/dist/v2019C1/hooks/io/io-hooks.constants.d.ts.map +1 -0
- package/dist/v2019C1/hooks/io/io-hooks.d.ts +6 -6
- package/dist/v2019C1/hooks/io/io-hooks.d.ts.map +1 -1
- package/dist/v2019C1/hooks/io/io-hooks.types.d.ts +82 -4
- package/dist/v2019C1/hooks/io/io-hooks.types.d.ts.map +1 -1
- package/dist/v2019C1/hooks/io/lnode-spec-naming-import.d.ts +8 -0
- package/dist/v2019C1/hooks/io/lnode-spec-naming-import.d.ts.map +1 -0
- package/dist/v2019C1/hooks/io/lnode-spec-naming-import.types.d.ts +21 -0
- package/dist/v2019C1/hooks/io/lnode-spec-naming-import.types.d.ts.map +1 -0
- package/dist/v2019C1/hooks/shared/index.d.ts +3 -0
- package/dist/v2019C1/hooks/shared/index.d.ts.map +1 -1
- package/dist/v2019C1/hooks/shared/lnode-binding.d.ts +5 -2
- package/dist/v2019C1/hooks/shared/lnode-binding.d.ts.map +1 -1
- package/dist/v2019C1/hooks/shared/lnode-spec-naming.d.ts +34 -0
- package/dist/v2019C1/hooks/shared/lnode-spec-naming.d.ts.map +1 -0
- package/dist/v2019C1/hooks/shared/ref-entry-ops.d.ts.map +1 -1
- package/dist/v2019C1/hooks/shared/ref-path-rebuild.d.ts +2 -1
- package/dist/v2019C1/hooks/shared/ref-path-rebuild.d.ts.map +1 -1
- package/dist/v2019C1/hooks/shared/references-through.d.ts +14 -0
- package/dist/v2019C1/hooks/shared/references-through.d.ts.map +1 -0
- package/dist/v2019C1/hooks/shared/signal-sibling-paths.d.ts +17 -0
- package/dist/v2019C1/hooks/shared/signal-sibling-paths.d.ts.map +1 -0
- package/dist/v2019C1/index.d.ts +1 -0
- package/dist/v2019C1/index.d.ts.map +1 -1
- package/dist/v2019C1/index.js +13 -13
- package/dist/v2019C1/test/assert-coherent-scl-references.d.ts +19 -0
- package/dist/v2019C1/test/assert-coherent-scl-references.d.ts.map +1 -0
- package/dist/v2019C1/test/assert-coherent-scl-references.types.d.ts +50 -0
- package/dist/v2019C1/test/assert-coherent-scl-references.types.d.ts.map +1 -0
- package/dist/v2019C1/test/assert-valid-scl-xml.d.ts.map +1 -1
- package/dist/v2019C1/test/hydrated-test.d.ts +14 -6
- package/dist/v2019C1/test/hydrated-test.d.ts.map +1 -1
- package/dist/v2019C1/test/hydrated-test.types.d.ts +8 -1
- package/dist/v2019C1/test/hydrated-test.types.d.ts.map +1 -1
- package/dist/v2019C1/test.js +174 -27
- package/package.json +3 -3
- package/dist/hooks-2Y_WzKF4.js +0 -43213
- package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.types.d.ts +0 -16
- package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.types.d.ts.map +0 -1
- package/dist/v2019C1/extensions/lifecycle/report/mark-placement-conflicts.d.ts +0 -22
- package/dist/v2019C1/extensions/lifecycle/report/mark-placement-conflicts.d.ts.map +0 -1
- package/dist/v2019C1/extensions/presentation/constants/title.d.ts.map +0 -1
- package/dist/v2019C1/extensions/presentation/constants/title.types.d.ts.map +0 -1
- package/dist/v2019C1/extensions/presentation/index.d.ts +0 -5
- package/dist/v2019C1/extensions/presentation/index.d.ts.map +0 -1
- package/dist/v2019C1/extensions/presentation/public.d.ts +0 -3
- package/dist/v2019C1/extensions/presentation/public.d.ts.map +0 -1
- package/dist/v2019C1/extensions/presentation/query/extract-element-title.d.ts +0 -20
- package/dist/v2019C1/extensions/presentation/query/extract-element-title.d.ts.map +0 -1
- package/dist/v2019C1/extensions/presentation/query/extract-element-title.types.d.ts +0 -24
- package/dist/v2019C1/extensions/presentation/query/extract-element-title.types.d.ts.map +0 -1
- package/dist/v2019C1/extensions/presentation/query/index.d.ts +0 -3
- package/dist/v2019C1/extensions/presentation/query/index.d.ts.map +0 -1
- /package/dist/v2019C1/extensions/{presentation → info}/constants/title.d.ts +0 -0
- /package/dist/v2019C1/extensions/{presentation → info}/constants/title.types.d.ts +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { apply } from './apply';
|
|
2
|
+
import { makeUnique } from './constraints';
|
|
3
|
+
import { classifyIeds } from './ied';
|
|
2
4
|
import { report } from './report';
|
|
3
5
|
import { deep } from './transplant';
|
|
4
6
|
import { checkTemplateUuids } from './validate';
|
|
@@ -19,6 +21,10 @@ import * as updateTransaction from './update';
|
|
|
19
21
|
* - `transplant` — generic clone engine (`tx.lifecycle.transplant.deep`).
|
|
20
22
|
* - `update` — instantiate-or-reconcile a project against a newer template
|
|
21
23
|
* (`tx.lifecycle.update.fsd` / `.asd` apply the change).
|
|
24
|
+
* - `makeUnique` — make an element unique where it sits, in the engine's one numbering
|
|
25
|
+
* (`tx.lifecycle.makeUnique`); what a consumer calls after naming an element.
|
|
26
|
+
* - `classifyIeds` — read-only: every IED is a real device's IED or a specification IED
|
|
27
|
+
* (`query.lifecycle.classifyIeds()`).
|
|
22
28
|
* - `report` — read-only classify: `query.lifecycle.report({ verb,
|
|
23
29
|
* sourceQuery, ref, anchor })` returns a `DiffReport`
|
|
24
30
|
* (fast/full classification) — nothing is written.
|
|
@@ -32,6 +38,7 @@ export declare const lifecycle: {
|
|
|
32
38
|
query: {
|
|
33
39
|
report: typeof report;
|
|
34
40
|
checkTemplateUuids: typeof checkTemplateUuids;
|
|
41
|
+
classifyIeds: typeof classifyIeds;
|
|
35
42
|
};
|
|
36
43
|
transaction: {
|
|
37
44
|
extract: typeof extractTransaction;
|
|
@@ -41,6 +48,7 @@ export declare const lifecycle: {
|
|
|
41
48
|
};
|
|
42
49
|
update: typeof updateTransaction;
|
|
43
50
|
apply: typeof apply;
|
|
51
|
+
makeUnique: typeof makeUnique;
|
|
44
52
|
};
|
|
45
53
|
};
|
|
46
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2019C1/extensions/lifecycle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAA;AAC/C,OAAO,KAAK,sBAAsB,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2019C1/extensions/lifecycle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,KAAK,sBAAsB,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAcrB,CAAA"}
|
|
@@ -7,4 +7,6 @@ import type * as Core from '@dialecte/core';
|
|
|
7
7
|
* the composed-function set identically.
|
|
8
8
|
*/
|
|
9
9
|
export declare function collectComposedFunctionUuids(sourceQuery: Core.Query<Config>, applicationRef: Scl.Ref<'Application'>): Promise<Set<string>>;
|
|
10
|
+
/** The source Functions an Application composes, each found by the `functionUuid` it refers to. */
|
|
11
|
+
export declare function findComposedFunctionRefs(sourceQuery: Core.Query<Config>, applicationRef: Scl.Ref<'Application'>): Promise<Scl.Ref<'Function'>[]>;
|
|
10
12
|
//# sourceMappingURL=composed-functions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composed-functions.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/composed-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAG3C;;;;;GAKG;AACH,wBAAsB,4BAA4B,CACjD,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,GACpC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAKtB"}
|
|
1
|
+
{"version":3,"file":"composed-functions.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/composed-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAG3C;;;;;GAKG;AACH,wBAAsB,4BAA4B,CACjD,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,GACpC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAKtB;AAcD,mGAAmG;AACnG,wBAAsB,wBAAwB,CAC7C,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,GACpC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAYhC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CollectForeignReferenceIdsParams, CollectForeignScopesParams, ForeignScopeResolverParams, ForeignScopes, ResolveForeignScope } from './foreign-scope.types';
|
|
2
|
+
import { Config } from '../../../config';
|
|
3
|
+
import { AnyTreeRecord } from '@dialecte/core';
|
|
4
|
+
import type * as Core from '@dialecte/core';
|
|
5
|
+
/** A reader with the untyped `.any` facade — either a Query or a Transaction. */
|
|
6
|
+
type Reader = Core.Query<Config> | Core.Transaction<Config>;
|
|
7
|
+
/**
|
|
8
|
+
* What belongs to the other instances of a template, for each of its instances: the elements the
|
|
9
|
+
* others hold or refer to, less those the instance holds or refers to itself (an element they
|
|
10
|
+
* share is nobody's alone). Empty for a template the project holds one instance of.
|
|
11
|
+
*/
|
|
12
|
+
export declare function collectForeignScopes(reader: Reader, params: CollectForeignScopesParams): Promise<ForeignScopes>;
|
|
13
|
+
/**
|
|
14
|
+
* What belongs to the other instances of the template one instance was made from, found among
|
|
15
|
+
* every instance of that template the project holds. Resolved when first asked for, once.
|
|
16
|
+
*/
|
|
17
|
+
export declare function foreignScopeResolver(reader: Reader, params: ForeignScopeResolverParams): ResolveForeignScope;
|
|
18
|
+
/**
|
|
19
|
+
* The references a shared element holds for the OTHER instances of a template: those pointing at
|
|
20
|
+
* what belongs to another instance, and those already known to be another instance's. Each
|
|
21
|
+
* instance gives a shared element its own references; another instance's is never the counterpart
|
|
22
|
+
* of one of this instance's.
|
|
23
|
+
*/
|
|
24
|
+
export declare function collectForeignReferenceIds(reader: Reader, params: CollectForeignReferenceIdsParams): Promise<Set<string>>;
|
|
25
|
+
/** Whether a reference points at an element of a scope. */
|
|
26
|
+
export declare function pointsInto(reader: Reader, params: {
|
|
27
|
+
reference: AnyTreeRecord;
|
|
28
|
+
scope: ReadonlySet<string>;
|
|
29
|
+
}): Promise<boolean>;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=foreign-scope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"foreign-scope.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/foreign-scope.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACX,gCAAgC,EAChC,0BAA0B,EAC1B,0BAA0B,EAC1B,aAAa,EACb,mBAAmB,EACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEnD,iFAAiF;AACjF,KAAK,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;AAE3D;;;;GAIG;AACH,wBAAsB,oBAAoB,CACzC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,0BAA0B,GAChC,OAAO,CAAC,aAAa,CAAC,CAuBxB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CACnC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,0BAA0B,GAChC,mBAAmB,CAkBrB;AAED;;;;;GAKG;AACH,wBAAsB,0BAA0B,CAC/C,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,gCAAgC,GACtC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAWtB;AAwBD,2DAA2D;AAC3D,wBAAsB,UAAU,CAC/B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE;IAAE,SAAS,EAAE,aAAa,CAAC;IAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAAE,GAC9D,OAAO,CAAC,OAAO,CAAC,CAgBlB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { MatchKey } from '../scenario';
|
|
2
|
+
import { AnyRefOrRecord, AnyTrackedRecord } from '@dialecte/core';
|
|
3
|
+
export type CollectForeignScopesParams = {
|
|
4
|
+
/** Every instance of one template the project holds. */
|
|
5
|
+
instances: readonly AnyTrackedRecord[];
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* For each instance of a template, by its record id: the record ids of what belongs to the OTHER
|
|
9
|
+
* instances of that template and not to it.
|
|
10
|
+
*/
|
|
11
|
+
export type ForeignScopes = ReadonlyMap<string, ReadonlySet<string>>;
|
|
12
|
+
export type CollectForeignReferenceIdsParams = {
|
|
13
|
+
/** The element the instances share: a role, a category, a variable. */
|
|
14
|
+
sharedRootRef: AnyRefOrRecord;
|
|
15
|
+
/** What belongs to the other instances of the template. */
|
|
16
|
+
foreignScope: ReadonlySet<string>;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* What belongs to the other instances of the template an instance was made from. Asked for only
|
|
20
|
+
* when an element the instances share is at hand, and worked out once.
|
|
21
|
+
*/
|
|
22
|
+
export type ResolveForeignScope = () => Promise<ReadonlySet<string>>;
|
|
23
|
+
export type ForeignScopeResolverParams = {
|
|
24
|
+
/** The instance at hand. */
|
|
25
|
+
instanceRootRef: AnyRefOrRecord;
|
|
26
|
+
/** The `uuid` of the source element the instance was made from. */
|
|
27
|
+
sourceUuid: string | undefined;
|
|
28
|
+
/** How an instance carries the uuid of its source element. Default `templateUuid`. */
|
|
29
|
+
matchKey?: MatchKey;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=foreign-scope.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"foreign-scope.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/foreign-scope.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtE,MAAM,MAAM,0BAA0B,GAAG;IACxC,wDAAwD;IACxD,SAAS,EAAE,SAAS,gBAAgB,EAAE,CAAA;CACtC,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAA;AAEpE,MAAM,MAAM,gCAAgC,GAAG;IAC9C,uEAAuE;IACvE,aAAa,EAAE,cAAc,CAAA;IAC7B,2DAA2D;IAC3D,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAA;AAEpE,MAAM,MAAM,0BAA0B,GAAG;IACxC,4BAA4B;IAC5B,eAAe,EAAE,cAAc,CAAA;IAC/B,mEAAmE;IACnE,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,sFAAsF;IACtF,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACnB,CAAA"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
export { collectComposedFunctionUuids } from './composed-functions';
|
|
1
|
+
export { collectComposedFunctionUuids, findComposedFunctionRefs } from './composed-functions';
|
|
2
2
|
export { findInstanceByTemplateUuid, findInstancesByTemplateUuid, findInstancesUnder, findInstanceUnder, scopeToTargetInstance, } from './find-instance';
|
|
3
|
+
export { collectInstanceScope } from './instance-scope';
|
|
4
|
+
export { collectForeignReferenceIds, collectForeignScopes, foreignScopeResolver, pointsInto, } from './foreign-scope';
|
|
5
|
+
export type { ForeignScopes, ResolveForeignScope } from './foreign-scope.types';
|
|
3
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAC7F,OAAO,EACN,0BAA0B,EAC1B,2BAA2B,EAC3B,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,GACrB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AACvD,OAAO,EACN,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,UAAU,GACV,MAAM,iBAAiB,CAAA;AACxB,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Config } from '../../../config';
|
|
2
|
+
import { AnyRefOrRecord } from '@dialecte/core';
|
|
3
|
+
import type * as Core from '@dialecte/core';
|
|
4
|
+
/** A reader with the untyped `.any` facade — either a Query or a Transaction. */
|
|
5
|
+
type Reader = Core.Query<Config> | Core.Transaction<Config>;
|
|
6
|
+
/**
|
|
7
|
+
* The record ids of the elements that belong to an instance: the elements of its subtree and the
|
|
8
|
+
* elements its references point at. What tells the elements of one instance from those of another
|
|
9
|
+
* instance of the same template.
|
|
10
|
+
*/
|
|
11
|
+
export declare function collectInstanceScope(reader: Reader, instanceRootRef: AnyRefOrRecord): Promise<Set<string>>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=instance-scope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance-scope.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/instance-scope.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,gBAAgB,CAAA;AAEnE,iFAAiF;AACjF,KAAK,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;AAE3D;;;;GAIG;AACH,wBAAsB,oBAAoB,CACzC,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,cAAc,GAC7B,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAKtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AsdParams, AsdResult } from './asd.types';
|
|
1
|
+
import { AsdParams, AsdResult, PlaceApplicationParams, PlacedApplication } from './asd.types';
|
|
2
2
|
import { Config } from '../../../../config';
|
|
3
3
|
import type * as Core from '@dialecte/core';
|
|
4
4
|
/**
|
|
@@ -14,9 +14,15 @@ import type * as Core from '@dialecte/core';
|
|
|
14
14
|
* the ASD) is written on the cloned root by `reference.writeProvenance`; SET policy
|
|
15
15
|
* (naming, assign-to-application) is applied by consumer hooks, not here.
|
|
16
16
|
*
|
|
17
|
-
* Returns the instantiated Application ref, its composed Function roots, and the
|
|
18
|
-
*
|
|
17
|
+
* Returns the instantiated Application ref, its composed Function roots, and the clone
|
|
18
|
+
* mappings of everything the operation cloned, so a consumer can drive follow-up rules against the fresh
|
|
19
19
|
* instance without re-querying by templateUuid.
|
|
20
20
|
*/
|
|
21
21
|
export declare function asd(tx: Core.Transaction<Config>, params: AsdParams): Promise<AsdResult>;
|
|
22
|
+
/**
|
|
23
|
+
* Place an application of an ASD as {@link asd} does, leaving out what the consumer left out: the
|
|
24
|
+
* application left out, the functions it composes that are kept are placed without it — and
|
|
25
|
+
* without provenance, which is the application's.
|
|
26
|
+
*/
|
|
27
|
+
export declare function placeApplication(tx: Core.Transaction<Config>, params: PlaceApplicationParams): Promise<PlacedApplication>;
|
|
22
28
|
//# sourceMappingURL=asd.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/asd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/asd.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAClG,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAM7F;AAED;;;;GAIG;AACH,wBAAsB,gBAAgB,CACrC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE,sBAAsB,GAC5B,OAAO,CAAC,iBAAiB,CAAC,CA4H5B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Scl, Config } from '../../../../config';
|
|
2
2
|
import { KeepNameTypesFrom } from '../../../data-model/transaction';
|
|
3
3
|
import { CollisionOverrides } from '../../engine/decide.types';
|
|
4
|
+
import { DecisionMappings } from '../../mapping';
|
|
4
5
|
import type * as Core from '@dialecte/core';
|
|
5
6
|
export type AsdParams = {
|
|
6
7
|
sourceQuery: Core.Query<Config>;
|
|
@@ -12,19 +13,43 @@ export type AsdParams = {
|
|
|
12
13
|
overrides?: CollisionOverrides;
|
|
13
14
|
/** Type-dedup name authority, forwarded to `importTypes`. Default `'target'`. */
|
|
14
15
|
keepNameTypesFrom?: KeepNameTypesFrom;
|
|
16
|
+
/** The consumer's choices for the shared elements the application refers to. */
|
|
17
|
+
decisionMappings?: DecisionMappings;
|
|
18
|
+
/**
|
|
19
|
+
* The application is placed by this operation alone (an ASD): `targetParent` is where the
|
|
20
|
+
* consumer started, and started above a level the application or one of its functions was made
|
|
21
|
+
* for, each lands on the level its template says. Left out when the caller already resolved
|
|
22
|
+
* where they land.
|
|
23
|
+
*/
|
|
24
|
+
resolvePlacement?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The application is placed as part of a larger template (a substation's): the provenance is that
|
|
27
|
+
* template's, the application carries none of its own.
|
|
28
|
+
*/
|
|
29
|
+
partOfTemplate?: boolean;
|
|
30
|
+
};
|
|
31
|
+
export type PlaceApplicationParams = AsdParams & {
|
|
32
|
+
/**
|
|
33
|
+
* The source elements the consumer left out (record ids): the application, or functions it
|
|
34
|
+
* composes. Left out, the application is not placed and the functions it composes that are kept
|
|
35
|
+
* are placed without it.
|
|
36
|
+
*/
|
|
37
|
+
leftOut?: ReadonlySet<string>;
|
|
38
|
+
};
|
|
39
|
+
/** What a placement of an application wrote: as {@link AsdResult}, the application unless left out. */
|
|
40
|
+
export type PlacedApplication = Omit<AsdResult, 'applicationRef'> & {
|
|
41
|
+
applicationRef?: Scl.Ref<'Application'>;
|
|
15
42
|
};
|
|
16
43
|
export type AsdResult = {
|
|
17
44
|
/** The instantiated Application in the target. */
|
|
18
45
|
applicationRef: Scl.Ref<'Application'>;
|
|
19
46
|
/** The instantiated composed Function roots (referenced by the Application). */
|
|
20
47
|
composedFunctionRefs: (Scl.Ref<'Function'> | Scl.Ref<'SubFunction'>)[];
|
|
21
|
-
/** Full source-record -> target-record mapping for the cloned content. */
|
|
22
|
-
recordMappings: Scl.CloneMapping[];
|
|
23
48
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
49
|
+
* Each source record and the copy made of it, for everything the operation cloned: the
|
|
50
|
+
* Application, its composed Functions, their categories, the shared elements created for it and
|
|
51
|
+
* the cross-cutting satellites that live outside the Application subtree.
|
|
27
52
|
*/
|
|
28
|
-
|
|
53
|
+
cloneMappings: Scl.CloneMapping[];
|
|
29
54
|
};
|
|
30
55
|
//# sourceMappingURL=asd.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asd.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/asd.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG;IACvB,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,yDAAyD;IACzD,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,wFAAwF;IACxF,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,wFAAwF;IACxF,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"asd.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/asd.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAA;AAC5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG;IACvB,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,yDAAyD;IACzD,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,wFAAwF;IACxF,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,wFAAwF;IACxF,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG;IAChD;;;;OAIG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAC7B,CAAA;AAED,uGAAuG;AACvG,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,gBAAgB,CAAC,GAAG;IACnE,cAAc,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACvB,kDAAkD;IAClD,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,gFAAgF;IAChF,oBAAoB,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,EAAE,CAAA;IACtE;;;;OAIG;IACH,aAAa,EAAE,GAAG,CAAC,YAAY,EAAE,CAAA;CACjC,CAAA"}
|
|
@@ -19,8 +19,8 @@ import type * as Core from '@dialecte/core';
|
|
|
19
19
|
* the FSD) is written on the cloned root by `reference.writeProvenance`; SET
|
|
20
20
|
* policy (naming, application assignment) is applied by consumer hooks, not here.
|
|
21
21
|
*
|
|
22
|
-
* Returns the instantiated root ref (retagged if applicable) and the
|
|
23
|
-
*
|
|
22
|
+
* Returns the instantiated root ref (retagged if applicable) and the clone mappings of
|
|
23
|
+
* everything the operation cloned, so a consumer can drive follow-up rules
|
|
24
24
|
* against the fresh instance without re-querying by templateUuid.
|
|
25
25
|
*/
|
|
26
26
|
export declare function fsd(tx: Core.Transaction<Config>, params: FsdParams): Promise<FsdResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fsd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fsd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvD,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AAEnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAqG7F"}
|
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
import { Scl, Config } from '../../../../config';
|
|
2
2
|
import { KeepNameTypesFrom } from '../../../data-model/transaction';
|
|
3
|
+
import { SourceFunctionRef } from '../../contract.types';
|
|
3
4
|
import { CollisionOverrides } from '../../engine/decide.types';
|
|
5
|
+
import { DecisionMappings } from '../../mapping';
|
|
4
6
|
import type * as Core from '@dialecte/core';
|
|
5
7
|
export type FsdParams = {
|
|
6
8
|
sourceQuery: Core.Query<Config>;
|
|
7
|
-
/** The
|
|
8
|
-
functionRef:
|
|
9
|
+
/** The function carried by the FSD to instantiate: a Function, a SubFunction or a FunctionTemplate. */
|
|
10
|
+
functionRef: SourceFunctionRef;
|
|
9
11
|
/** Target parent the function is instantiated under (e.g. a project Bay). */
|
|
10
12
|
targetParent: Scl.Ref<Scl.ElementsOf>;
|
|
11
13
|
/** User-edited values per source element id (full track); drives collision override. */
|
|
12
14
|
overrides?: CollisionOverrides;
|
|
13
15
|
/** Type-dedup name authority, forwarded to `importTypes`. Default `'target'`. */
|
|
14
16
|
keepNameTypesFrom?: KeepNameTypesFrom;
|
|
17
|
+
/** The consumer's choices for the shared elements the function is classified by. */
|
|
18
|
+
decisionMappings?: DecisionMappings;
|
|
19
|
+
/**
|
|
20
|
+
* The function is placed by this operation alone (an FSD): `targetParent` is where the consumer
|
|
21
|
+
* started, and started above the level the function was made for, it lands on the level its
|
|
22
|
+
* template says. Left out when the caller already resolved where it lands.
|
|
23
|
+
*/
|
|
24
|
+
resolvePlacement?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The function is placed as part of a larger template (an application's, a substation's): the provenance is that
|
|
27
|
+
* template's, the function carries none of its own.
|
|
28
|
+
*/
|
|
29
|
+
partOfTemplate?: boolean;
|
|
15
30
|
};
|
|
16
31
|
export type FsdResult = {
|
|
17
32
|
/**
|
|
@@ -19,13 +34,11 @@ export type FsdResult = {
|
|
|
19
34
|
* was placed under a (Sub)Function (retagged), otherwise `Function`.
|
|
20
35
|
*/
|
|
21
36
|
functionRef: Scl.Ref<'Function'> | Scl.Ref<'SubFunction'>;
|
|
22
|
-
/** Full source-record -> target-record mapping for the cloned subtree. */
|
|
23
|
-
recordMappings: Scl.CloneMapping[];
|
|
24
37
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
38
|
+
* Each source record and the copy made of it, for everything the operation cloned: the function
|
|
39
|
+
* subtree and the satellites carried with it (FunctionCategory, Variable, BehaviorDescription)
|
|
40
|
+
* that live outside the subtree.
|
|
28
41
|
*/
|
|
29
|
-
|
|
42
|
+
cloneMappings: Scl.CloneMapping[];
|
|
30
43
|
};
|
|
31
44
|
//# sourceMappingURL=fsd.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fsd.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG;IACvB,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,
|
|
1
|
+
{"version":3,"file":"fsd.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AACtF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAA;AAC5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG;IACvB,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,uGAAuG;IACvG,WAAW,EAAE,iBAAiB,CAAA;IAC9B,6EAA6E;IAC7E,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,wFAAwF;IACxF,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACvB;;;OAGG;IACH,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACzD;;;;OAIG;IACH,aAAa,EAAE,GAAG,CAAC,YAAY,EAAE,CAAA;CACjC,CAAA"}
|
package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NameCreatedSharedElementsParams } from './name-created-shared-elements.types';
|
|
2
|
+
import { Config } from '../../../../config';
|
|
3
|
+
import type * as Core from '@dialecte/core';
|
|
4
|
+
/**
|
|
5
|
+
* Name the shared elements an operation CREATED (those with no project element to map onto): each
|
|
6
|
+
* is validated against the structural level it landed on — the name the consumer chose is
|
|
7
|
+
* applied, and a name already taken there is bumped to a free one, like any placed element.
|
|
8
|
+
*/
|
|
9
|
+
export declare function nameCreatedSharedElements(tx: Core.Transaction<Config>, params: NameCreatedSharedElementsParams): Promise<void>;
|
|
10
|
+
//# sourceMappingURL=name-created-shared-elements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"name-created-shared-elements.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAA;AAC3F,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;GAIG;AACH,wBAAsB,yBAAyB,CAC9C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE,+BAA+B,GACrC,OAAO,CAAC,IAAI,CAAC,CAmBf"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Config, Scl } from '../../../../config';
|
|
2
|
+
import { DecisionMappings } from '../../mapping';
|
|
3
|
+
import { TargetStructure } from '../../transplant/transaction';
|
|
4
|
+
import type * as Core from '@dialecte/core';
|
|
5
|
+
export type NameCreatedSharedElementsParams = {
|
|
6
|
+
sourceQuery: Core.Query<Config>;
|
|
7
|
+
/** What the operation cloned: the shared elements among them are the ones it created. */
|
|
8
|
+
cloneMappings: readonly Scl.CloneMapping[];
|
|
9
|
+
/** The structure the operation places its elements in. */
|
|
10
|
+
structure: TargetStructure;
|
|
11
|
+
/** The consumer's choices, by source record id. */
|
|
12
|
+
decisionMappings?: DecisionMappings;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=name-created-shared-elements.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"name-created-shared-elements.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,+BAA+B,GAAG;IAC7C,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,yFAAyF;IACzF,aAAa,EAAE,SAAS,GAAG,CAAC,YAAY,EAAE,CAAA;IAC1C,0DAA0D;IAC1D,SAAS,EAAE,eAAe,CAAA;IAC1B,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;CACnC,CAAA"}
|
package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ import type * as Core from '@dialecte/core';
|
|
|
16
16
|
* levels absent from the target are omitted. Callers that need a specific level
|
|
17
17
|
* (a satellite scoped to it) get a clear failure from `resolveStructureRef`.
|
|
18
18
|
*/
|
|
19
|
-
export declare function resolveTargetStructure(tx: Core.Transaction<Config>, targetParent: Scl.Ref<Scl.ElementsOf>): Promise<TargetStructure>;
|
|
19
|
+
export declare function resolveTargetStructure(tx: Core.Query<Config> | Core.Transaction<Config>, targetParent: Scl.Ref<Scl.ElementsOf>): Promise<TargetStructure>;
|
|
20
20
|
//# sourceMappingURL=resolve-target-structure.d.ts.map
|
package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-target-structure.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,sBAAsB,CAC3C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"resolve-target-structure.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,sBAAsB,CAC3C,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EACjD,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GACnC,OAAO,CAAC,eAAe,CAAC,CAuB1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ssd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ssd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;GAaG;AACH,wBAAsB,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CA0G7F"}
|
|
@@ -2,6 +2,7 @@ import { Config, Scl } from '../../../../config';
|
|
|
2
2
|
import { TopologyStructuralTag } from '../../../../constants';
|
|
3
3
|
import { KeepNameTypesFrom } from '../../../data-model/transaction';
|
|
4
4
|
import { CollisionOverrides } from '../../engine/decide.types';
|
|
5
|
+
import { DecisionMappings } from '../../mapping';
|
|
5
6
|
import type * as Core from '@dialecte/core';
|
|
6
7
|
export type SsdParams = {
|
|
7
8
|
sourceQuery: Core.Query<Config>;
|
|
@@ -15,11 +16,21 @@ export type SsdParams = {
|
|
|
15
16
|
overrides?: CollisionOverrides;
|
|
16
17
|
/** Type-dedup name authority, forwarded to `importTypes`. Default `'target'`. */
|
|
17
18
|
keepNameTypesFrom?: KeepNameTypesFrom;
|
|
19
|
+
/** The consumer's choices for the shared elements the applications refer to. */
|
|
20
|
+
decisionMappings?: DecisionMappings;
|
|
21
|
+
/**
|
|
22
|
+
* The source elements the consumer left out (record ids): a level and what it holds, an
|
|
23
|
+
* application, a function. Nothing left out: the whole scope is placed.
|
|
24
|
+
*/
|
|
25
|
+
leftOut?: ReadonlySet<string>;
|
|
18
26
|
};
|
|
19
27
|
export type SsdResult = {
|
|
20
28
|
/** The SSD scope root that was instantiated (source-side ref). */
|
|
21
29
|
scopeRef: Scl.Ref<TopologyStructuralTag>;
|
|
22
|
-
/**
|
|
23
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Each source record and the copy made of it, for everything the operation cloned: the reproduced
|
|
32
|
+
* frame, the placed Functions and Applications, and the cross-cutting satellites carried with them.
|
|
33
|
+
*/
|
|
34
|
+
cloneMappings: Scl.CloneMapping[];
|
|
24
35
|
};
|
|
25
36
|
//# sourceMappingURL=ssd.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ssd.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG;IACvB,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;IACzC,gFAAgF;IAChF,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,+FAA+F;IAC/F,IAAI,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAA;IAChC,wFAAwF;IACxF,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"ssd.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAA;AAC5F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG;IACvB,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;IACzC,gFAAgF;IAChF,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,+FAA+F;IAC/F,IAAI,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAA;IAChC,wFAAwF;IACxF,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACvB,kEAAkE;IAClE,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;IACxC;;;OAGG;IACH,aAAa,EAAE,GAAG,CAAC,YAAY,EAAE,CAAA;CACjC,CAAA"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { CloneApplicationContentResult } from './clone-application.types';
|
|
1
2
|
import { Scl, Config } from '../../../../config';
|
|
2
3
|
import { KeepNameTypesFrom } from '../../../data-model/transaction';
|
|
4
|
+
import { DecisionMappings } from '../../mapping';
|
|
3
5
|
import { TargetStructure } from '../../transplant/transaction';
|
|
4
6
|
import { OmitEntry } from '@dialecte/core';
|
|
5
7
|
import type * as Core from '@dialecte/core';
|
|
@@ -7,10 +9,11 @@ import type * as Core from '@dialecte/core';
|
|
|
7
9
|
* Application-layer take-over: clones an Application and all its satellites
|
|
8
10
|
* (Functions, FunctionCategories, AllocationRoles, BehaviorDescriptions, ...) into
|
|
9
11
|
* the target structure. Direction-agnostic — returns the full `CloneMapping[]` so
|
|
10
|
-
* the calling operation applies identity policy (extract strips, instantiate stamps)
|
|
12
|
+
* the calling operation applies identity policy (extract strips, instantiate stamps),
|
|
13
|
+
* plus the redirect mappings of the shared elements that were mapped instead of cloned.
|
|
11
14
|
*
|
|
12
15
|
* UUID remapping is the caller's responsibility via `reference.applyUuidRemap` over the
|
|
13
|
-
* returned mappings.
|
|
16
|
+
* returned mappings and redirect mappings.
|
|
14
17
|
*/
|
|
15
18
|
export declare function cloneApplicationContent(tx: Core.Transaction<Config>, params: {
|
|
16
19
|
sourceQuery: Core.Query<Config>;
|
|
@@ -19,5 +22,13 @@ export declare function cloneApplicationContent(tx: Core.Transaction<Config>, pa
|
|
|
19
22
|
/** Child tags to drop from clones. Extract prunes (ALWAYS_OMIT); instantiate omits nothing. */
|
|
20
23
|
omit?: OmitEntry<Config>[];
|
|
21
24
|
keepNameTypesFrom?: KeepNameTypesFrom;
|
|
22
|
-
|
|
25
|
+
/** The consumer's choices for the shared elements the application refers to. */
|
|
26
|
+
decisionMappings?: DecisionMappings;
|
|
27
|
+
/**
|
|
28
|
+
* The source elements the consumer left out (record ids): a function left out is not placed;
|
|
29
|
+
* the application left out is not placed, nor what only it refers to — the functions it
|
|
30
|
+
* composes that are kept are placed without it.
|
|
31
|
+
*/
|
|
32
|
+
leftOut?: ReadonlySet<string>;
|
|
33
|
+
}): Promise<CloneApplicationContentResult>;
|
|
23
34
|
//# sourceMappingURL=clone-application.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clone-application.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/clone-application.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"clone-application.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/clone-application.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAuB,6BAA6B,EAAE,MAAM,2BAA2B,CAAA;AACnG,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAE5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C;;;;;;;;;GASG;AACH,wBAAsB,uBAAuB,CAC5C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,SAAS,EAAE,eAAe,CAAA;IAC1B,+FAA+F;IAC/F,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAA;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC;;;;OAIG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAC7B,GACC,OAAO,CAAC,6BAA6B,CAAC,CAuGxC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Scl } from '../../../../config';
|
|
2
|
+
import { RedirectMapping } from '../../../reference/transaction/apply-uuid-remap.types';
|
|
3
|
+
export type CloneApplicationContentResult = {
|
|
4
|
+
/** All source -> target clone mappings for the application content. */
|
|
5
|
+
cloneMappings: Scl.CloneMapping[];
|
|
6
|
+
/** Shared elements mapped onto elements the target already holds (nothing cloned for them). */
|
|
7
|
+
redirectMappings: RedirectMapping[];
|
|
8
|
+
};
|
|
9
|
+
/** A source AllocationRole that landed on a role the target already holds. */
|
|
10
|
+
export type AllocationRoleReuse = {
|
|
11
|
+
sourceId: string;
|
|
12
|
+
sourceUuid: string;
|
|
13
|
+
existingRef: Scl.Ref<'AllocationRole'>;
|
|
14
|
+
/** The source role's children cloned under the existing role. */
|
|
15
|
+
contributedMappings: Scl.CloneMapping[];
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=clone-application.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clone-application.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/clone-application.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mEAAmE,CAAA;AAExG,MAAM,MAAM,6BAA6B,GAAG;IAC3C,uEAAuE;IACvE,aAAa,EAAE,GAAG,CAAC,YAAY,EAAE,CAAA;IACjC,+FAA+F;IAC/F,gBAAgB,EAAE,eAAe,EAAE,CAAA;CACnC,CAAA;AAED,8EAA8E;AAC9E,MAAM,MAAM,mBAAmB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;IACtC,iEAAiE;IACjE,mBAAmB,EAAE,GAAG,CAAC,YAAY,EAAE,CAAA;CACvC,CAAA"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export { cloneApplicationContent } from './clone-application';
|
|
2
2
|
export { resolveApplicationSatellites } from './satellites';
|
|
3
|
+
export { resolveComposedFunctions } from './resolve-composed-functions';
|
|
4
|
+
export { resolveInstanceHoldings } from './resolve-instance-holdings';
|
|
5
|
+
export type { ResolveComposedFunctionsParams } from './resolve-composed-functions.types';
|
|
6
|
+
export type { InstanceHoldings, ResolveInstanceHoldingsParams, } from './resolve-instance-holdings.types';
|
|
3
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAA;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAA;AACrE,YAAY,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAA;AACxF,YAAY,EACX,gBAAgB,EAChB,6BAA6B,GAC7B,MAAM,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The application layer's SHARED elements: elements the project holds once and several
|
|
3
|
+
* applications refer to. A source one maps onto the project's rather than being copied.
|
|
4
|
+
*/
|
|
5
|
+
export declare const APPLICATION_MAPPING_POLICIES: readonly [{
|
|
6
|
+
readonly tagName: "AllocationRole";
|
|
7
|
+
readonly key: "name";
|
|
8
|
+
readonly selectable: true;
|
|
9
|
+
}];
|
|
10
|
+
//# sourceMappingURL=mapping.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapping.constants.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/mapping.constants.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;EAEI,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ResolveComposedFunctionsParams } from './resolve-composed-functions.types';
|
|
2
|
+
import { Config } from '../../../../config';
|
|
3
|
+
import { ChildStandings } from '../../engine/standing';
|
|
4
|
+
import type * as Core from '@dialecte/core';
|
|
5
|
+
/**
|
|
6
|
+
* What stands, for each instance of the application, for each function its template composes —
|
|
7
|
+
* the engine's rule (`resolveStandings`) over what the application layer knows:
|
|
8
|
+
* - an instance owns the functions it refers to;
|
|
9
|
+
* - it lives on the levels of its other functions (else where the consumer started): that is where
|
|
10
|
+
* a function of the lineage is looked for, and where a new one is placed.
|
|
11
|
+
* Each instance is read once per run.
|
|
12
|
+
*/
|
|
13
|
+
export declare function resolveComposedFunctions(query: Core.Query<Config>, params: ResolveComposedFunctionsParams): Promise<ChildStandings[]>;
|
|
14
|
+
//# sourceMappingURL=resolve-composed-functions.d.ts.map
|
package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-composed-functions.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EACX,cAAc,EAGd,MAAM,gDAAgD,CAAA;AACvD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAG3C;;;;;;;GAOG;AACH,wBAAsB,wBAAwB,CAC7C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE,8BAA8B,GACpC,OAAO,CAAC,cAAc,EAAE,CAAC,CAqE3B"}
|
package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.types.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Config, Scl } from '../../../../config';
|
|
2
|
+
import { DecisionMappings } from '../../mapping';
|
|
3
|
+
import { MatchKey } from '../../scenario';
|
|
4
|
+
import { AnyTrackedRecord } from '@dialecte/core';
|
|
5
|
+
import type * as Core from '@dialecte/core';
|
|
6
|
+
export type ResolveComposedFunctionsParams = {
|
|
7
|
+
sourceQuery: Core.Query<Config>;
|
|
8
|
+
applicationRef: Scl.Ref<'Application'>;
|
|
9
|
+
/** The instances of the application in the project. */
|
|
10
|
+
applicationInstances: readonly AnyTrackedRecord[];
|
|
11
|
+
/** The element of the project the consumer started from, when known. */
|
|
12
|
+
anchor?: Scl.Ref<Scl.ElementsOf>;
|
|
13
|
+
matchKey: MatchKey;
|
|
14
|
+
/** The consumer's choices, among them which function an instance stands on where several qualify. */
|
|
15
|
+
decisionMappings?: DecisionMappings;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=resolve-composed-functions.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-composed-functions.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,MAAM,MAAM,8BAA8B,GAAG;IAC5C,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,uDAAuD;IACvD,oBAAoB,EAAE,SAAS,gBAAgB,EAAE,CAAA;IACjD,wEAAwE;IACxE,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,QAAQ,CAAA;IAClB,qGAAqG;IACrG,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;CACnC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InstanceHoldings, ResolveInstanceHoldingsParams } from './resolve-instance-holdings.types';
|
|
2
|
+
import { Config } from '../../../../config';
|
|
3
|
+
import type * as Core from '@dialecte/core';
|
|
4
|
+
/** What one instance of the application holds: its own functions and the levels it lives on. */
|
|
5
|
+
export declare function resolveInstanceHoldings(query: Core.Query<Config>, params: ResolveInstanceHoldingsParams): Promise<InstanceHoldings>;
|
|
6
|
+
//# sourceMappingURL=resolve-instance-holdings.d.ts.map
|
package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-instance-holdings.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACX,gBAAgB,EAChB,6BAA6B,EAC7B,MAAM,mCAAmC,CAAA;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AAEnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAG3C,gGAAgG;AAChG,wBAAsB,uBAAuB,CAC5C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE,6BAA6B,GACnC,OAAO,CAAC,gBAAgB,CAAC,CA2B3B"}
|