@dialecte/scl 0.3.14 → 0.3.15
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-By65uB-0.js → hooks-CLIa7kxj.js} +1061 -900
- package/dist/v2019C1/constants/index.d.ts +3 -0
- package/dist/v2019C1/constants/index.d.ts.map +1 -1
- package/dist/v2019C1/constants/naming.d.ts +3 -0
- package/dist/v2019C1/constants/naming.d.ts.map +1 -0
- package/dist/v2019C1/constants/topology-tags.d.ts +15 -0
- package/dist/v2019C1/constants/topology-tags.d.ts.map +1 -0
- package/dist/v2019C1/constants/topology-tags.types.d.ts +6 -0
- package/dist/v2019C1/constants/topology-tags.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/identity/transaction/restore-cloned-uuids.d.ts +8 -10
- package/dist/v2019C1/extensions/identity/transaction/restore-cloned-uuids.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/reconcile.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/extract/transaction/ensure-substation-structure.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/extract/transaction/index.d.ts +1 -0
- package/dist/v2019C1/extensions/lifecycle/extract/transaction/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/extract/transaction/ssd.d.ts +20 -0
- package/dist/v2019C1/extensions/lifecycle/extract/transaction/ssd.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/instance/find-instance.d.ts +3 -0
- package/dist/v2019C1/extensions/lifecycle/instance/find-instance.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/omit-filters.d.ts +6 -0
- package/dist/v2019C1/extensions/lifecycle/layers/omit-filters.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.d.ts +27 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/index.d.ts +3 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/index.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/root-selection.d.ts +14 -0
- package/dist/v2019C1/extensions/lifecycle/layers/topology/root-selection.d.ts.map +1 -0
- package/dist/v2019C1/extensions/lifecycle/report/query/report-asd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.d.ts +1 -1
- package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/asd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts +4 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/fsd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/function-satellites.d.ts +6 -0
- 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 +6 -0
- package/dist/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/transaction/index.d.ts +1 -1
- package/dist/v2019C1/extensions/reference/transaction/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/transaction/write-provenance.d.ts +9 -9
- package/dist/v2019C1/extensions/reference/transaction/write-provenance.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/transaction/write-provenance.types.d.ts +22 -7
- package/dist/v2019C1/extensions/reference/transaction/write-provenance.types.d.ts.map +1 -1
- package/dist/v2019C1/index.js +10 -10
- package/dist/v2019C1/test.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,mBAAmB,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/constants/naming.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,eAAO,MAAM,aAAa,aAAa,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared SCL topology tag sets for the process section.
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for the structural chain and the physical/topology content carried
|
|
5
|
+
* with it, so extract/instantiate/root-selection do not re-declare these lists per file.
|
|
6
|
+
*/
|
|
7
|
+
/** Structural levels of a process section, ordered outermost -> innermost. */
|
|
8
|
+
export declare const TOPOLOGY_STRUCTURAL_TAGS: readonly ["Substation", "VoltageLevel", "Bay"];
|
|
9
|
+
/**
|
|
10
|
+
* Physical + topology content placed directly under a structural level and carried as subtrees.
|
|
11
|
+
* `ConnectivityNode` is included: it holds the electrical connectivity referenced by equipment
|
|
12
|
+
* `Terminal`s (`connectivityNode` / `cNodeName`), so dropping it would dangle those references.
|
|
13
|
+
*/
|
|
14
|
+
export declare const TOPOLOGY_EQUIPMENT_TAGS: readonly ["ConductingEquipment", "PowerTransformer", "GeneralEquipment", "ConnectivityNode"];
|
|
15
|
+
//# sourceMappingURL=topology-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topology-tags.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/constants/topology-tags.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,8EAA8E;AAC9E,eAAO,MAAM,wBAAwB,gDAAiD,CAAA;AAEtF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,8FAK1B,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TOPOLOGY_STRUCTURAL_TAGS, TOPOLOGY_EQUIPMENT_TAGS } from './topology-tags';
|
|
2
|
+
/** A structural-level tag: `Substation` | `VoltageLevel` | `Bay`. */
|
|
3
|
+
export type TopologyStructuralTag = (typeof TOPOLOGY_STRUCTURAL_TAGS)[number];
|
|
4
|
+
/** A carried physical/topology content tag (equipment or `ConnectivityNode`). */
|
|
5
|
+
export type TopologyEquipmentTag = (typeof TOPOLOGY_EQUIPMENT_TAGS)[number];
|
|
6
|
+
//# sourceMappingURL=topology-tags.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topology-tags.types.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/constants/topology-tags.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AAExF,qEAAqE;AACrE,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAA;AAE7E,iFAAiF;AACjF,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { Config, Scl } from '../../../config';
|
|
2
2
|
import type * as Core from '@dialecte/core';
|
|
3
3
|
/**
|
|
4
|
-
* Fork identity restore
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* revision, so a newly added element must keep its SOURCE uuid.
|
|
4
|
+
* Fork identity restore. A clone always mints FRESH element uuids (`beforeClone`
|
|
5
|
+
* strips the element `uuid`, the standardize hook fills a new one) but copies every
|
|
6
|
+
* REFERENCE uuid attribute verbatim — and a fork's add path does NOT run
|
|
7
|
+
* `reference.applyUuidRemap`, so those refs stay pointing at their SOURCE uuids.
|
|
9
8
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* the same transaction (dependent path attrs are rebuilt by the `afterUpdated` hook).
|
|
9
|
+
* A fork converges the target to the SAME identity as the source revision, so it is
|
|
10
|
+
* enough to restore each cloned element's `uuid` back to its source uuid: an intra-clone
|
|
11
|
+
* ref (e.g. a `SourceRef` bound to a sibling `LNode` added in the same revision) is
|
|
12
|
+
* already coherent, because both the ref and its target were left in source space.
|
|
15
13
|
*/
|
|
16
14
|
export declare function restoreClonedUuids(tx: Core.Transaction<Config>, params: {
|
|
17
15
|
mappings: readonly Scl.CloneMapping[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restore-cloned-uuids.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/identity/transaction/restore-cloned-uuids.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"restore-cloned-uuids.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/identity/transaction/restore-cloned-uuids.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CACvC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IAAE,QAAQ,EAAE,SAAS,GAAG,CAAC,YAAY,EAAE,CAAA;CAAE,GAC/C,OAAO,CAAC,IAAI,CAAC,CAWf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconcile.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/reconcile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reconcile.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/reconcile.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gEAAgE,CAAA;AAClG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,gBAAgB,CAAA;AAEnE;;;;;;;;;;;;;;;;GAgBG;AAEH,wBAAsB,SAAS,CAC9B,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,aAAa,EAAE,cAAc,CAAA;IAC7B,eAAe,EAAE,cAAc,CAAA;IAC/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,qFAAqF;IACrF,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,2FAA2F;IAC3F,YAAY,CAAC,EAAE,YAAY,CAAA;CAC3B,GACC,OAAO,CAAC,IAAI,CAAC,CA4Cf"}
|
package/dist/v2019C1/extensions/lifecycle/extract/transaction/ensure-substation-structure.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ensure-substation-structure.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/ensure-substation-structure.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ensure-substation-structure.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/ensure-substation-structure.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,wBAAsB,iCAAiC,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;IAC9F,UAAU,EAAE,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;IACvC,YAAY,EAAE,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA;IAC3C,GAAG,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;CACzB,CAAC,CAuBD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAA;AACjF,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAA;AACjF,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Scl, Config } from '../../../../config';
|
|
2
|
+
import type * as Core from '@dialecte/core';
|
|
3
|
+
/**
|
|
4
|
+
* Extract a bay-typical (or wider process scope) from a project into a standalone SSD template.
|
|
5
|
+
*
|
|
6
|
+
* Mirrors `extract.asd`: seeds a TEMPLATE `Substation/VoltageLevel/Bay` scaffold, records an SSD
|
|
7
|
+
* `Header`, then `cloneTopologyContent` gathers the scope's content by CONSUMING the application
|
|
8
|
+
* layer (each `Application` + its composed `Function`s + type closure + satellites). uuid refs are
|
|
9
|
+
* repointed and orphans cleaned up.
|
|
10
|
+
*/
|
|
11
|
+
export declare function ssd(tx: Core.Transaction<Config>, params: {
|
|
12
|
+
sourceQuery: Core.Query<Config>;
|
|
13
|
+
scopeRef: Scl.Ref<'Substation'> | Scl.Ref<'VoltageLevel'> | Scl.Ref<'Bay'>;
|
|
14
|
+
tool: Scl.AttributesValueObjectOf<'Header'>['toolID'];
|
|
15
|
+
who: Scl.AttributesValueObjectOf<'Hitem'>['who'];
|
|
16
|
+
nameStructure?: Scl.AttributesValueObjectOf<'Header'>['nameStructure'];
|
|
17
|
+
}): Promise<{
|
|
18
|
+
warnings: string[];
|
|
19
|
+
}>;
|
|
20
|
+
//# sourceMappingURL=ssd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ssd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/ssd.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;GAOG;AACH,wBAAsB,GAAG,CACxB,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IAC1E,IAAI,EAAE,GAAG,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAA;IACrD,GAAG,EAAE,GAAG,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAA;IAChD,aAAa,CAAC,EAAE,GAAG,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,CAAA;CACtE,GACC,OAAO,CAAC;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CA6CjC"}
|
|
@@ -41,6 +41,7 @@ export declare function findInstanceByTemplateUuid(reader: Reader, params: {
|
|
|
41
41
|
tagName: Scl.ElementsOf;
|
|
42
42
|
sourceUuid: string | undefined;
|
|
43
43
|
sourceName?: string;
|
|
44
|
+
matchKey?: MatchKey;
|
|
44
45
|
}): Promise<AnyTrackedRecord | undefined>;
|
|
45
46
|
/**
|
|
46
47
|
* ALL records of `tagName` anywhere whose `templateUuid` equals the source uuid,
|
|
@@ -60,6 +61,8 @@ export declare function findInstancesByTemplateUuid(reader: Reader, params: {
|
|
|
60
61
|
tagName: Scl.ElementsOf;
|
|
61
62
|
sourceUuid: string | undefined;
|
|
62
63
|
sourceName?: string;
|
|
64
|
+
/** Attribute matched against `sourceUuid`. Default `templateUuid`; `uuid` for fork. */
|
|
65
|
+
matchKey?: MatchKey;
|
|
63
66
|
}): Promise<AnyTrackedRecord[]>;
|
|
64
67
|
export {};
|
|
65
68
|
//# sourceMappingURL=find-instance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-instance.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/find-instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAErE,iFAAiF;AACjF,KAAK,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;AAE3D;;;;GAIG;AACH,wBAAsB,iBAAiB,CACtC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE;IACP,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,OAAO,EAAE,GAAG,CAAC,UAAU,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,uFAAuF;IACvF,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACnB,GACC,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAGpC;AAED;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACvC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE;IACP,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,OAAO,EAAE,GAAG,CAAC,UAAU,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,uFAAuF;IACvF,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACnB,GACC,OAAO,CAAC,aAAa,EAAE,CAAC,CAQ1B;AAyBD;;;;;GAKG;AACH,wBAAsB,0BAA0B,CAC/C,MAAM,EAAE,MAAM,EACd,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"find-instance.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/find-instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAErE,iFAAiF;AACjF,KAAK,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;AAE3D;;;;GAIG;AACH,wBAAsB,iBAAiB,CACtC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE;IACP,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,OAAO,EAAE,GAAG,CAAC,UAAU,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,uFAAuF;IACvF,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACnB,GACC,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAGpC;AAED;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACvC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE;IACP,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,OAAO,EAAE,GAAG,CAAC,UAAU,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,uFAAuF;IACvF,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACnB,GACC,OAAO,CAAC,aAAa,EAAE,CAAC,CAQ1B;AAyBD;;;;;GAKG;AACH,wBAAsB,0BAA0B,CAC/C,MAAM,EAAE,MAAM,EACd,MAAM,EAAE;IACP,OAAO,EAAE,GAAG,CAAC,UAAU,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACnB,GACC,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAGvC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,2BAA2B,CAChD,MAAM,EAAE,MAAM,EACd,MAAM,EAAE;IACP,OAAO,EAAE,GAAG,CAAC,UAAU,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uFAAuF;IACvF,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACnB,GACC,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAsB7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/asd.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvD,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,
|
|
1
|
+
{"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/asd.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvD,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,CAiF7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fsd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvD,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AACnD,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,
|
|
1
|
+
{"version":3,"file":"fsd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvD,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AACnD,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,CAyE7F"}
|
|
@@ -6,4 +6,10 @@ import { OmitEntry } from '@dialecte/core';
|
|
|
6
6
|
* equipment. Instantiation omits nothing — composition provenance is preserved.
|
|
7
7
|
*/
|
|
8
8
|
export declare const ALWAYS_OMIT: OmitEntry<Config>[];
|
|
9
|
+
/**
|
|
10
|
+
* Prune list for the **topology (SSD) extract** direction: drops the source's own provenance
|
|
11
|
+
* refs but KEEPS equipment — equipment is the topology layer's own content (unlike ASD/FSD,
|
|
12
|
+
* where it is out-of-layer noise).
|
|
13
|
+
*/
|
|
14
|
+
export declare const TOPOLOGY_EXTRACT_OMIT: OmitEntry<Config>[];
|
|
9
15
|
//# sourceMappingURL=omit-filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"omit-filters.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/layers/omit-filters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,MAAM,CAAC,EAK1C,CAAA"}
|
|
1
|
+
{"version":3,"file":"omit-filters.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/layers/omit-filters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,MAAM,CAAC,EAK1C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,CAAC,MAAM,CAAC,EAA4C,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Config, Scl } from '../../../../config';
|
|
2
|
+
import { TopologyStructuralTag } from '../../../../constants';
|
|
3
|
+
import { TargetStructure } from '../../transplant/transaction';
|
|
4
|
+
import { OmitEntry } from '@dialecte/core';
|
|
5
|
+
import type * as Core from '@dialecte/core';
|
|
6
|
+
/**
|
|
7
|
+
* Topology-layer take-over (extract direction): gathers a topology scope's content into a
|
|
8
|
+
* self-contained target.
|
|
9
|
+
*
|
|
10
|
+
* 1. **Applications** under `scopeRef` - delegates to `cloneApplicationContent`, CONSUMING the
|
|
11
|
+
* application layer (Application + its composed `Function`s + type closure + satellites).
|
|
12
|
+
* 2. **Standalone Functions** structurally under the scope that no Application already pulled in.
|
|
13
|
+
* 3. **Equipment** (the topology layer's own content) placed back at its structural level.
|
|
14
|
+
*
|
|
15
|
+
* Each is placed at its structural level in `structure`. Direction-agnostic: returns the full
|
|
16
|
+
* `CloneMapping[]`; the caller applies identity policy and `reference.applyUuidRemap`.
|
|
17
|
+
*
|
|
18
|
+
* This is the building block a bay-typical extract (and later SCD) composes.
|
|
19
|
+
*/
|
|
20
|
+
export declare function cloneTopologyContent(tx: Core.Transaction<Config>, params: {
|
|
21
|
+
sourceQuery: Core.Query<Config>;
|
|
22
|
+
scopeRef: Scl.Ref<TopologyStructuralTag>;
|
|
23
|
+
structure: TargetStructure;
|
|
24
|
+
/** Child tags to drop from clones (extract prunes provenance refs; keeps equipment). */
|
|
25
|
+
omit?: OmitEntry<Config>[];
|
|
26
|
+
}): Promise<Scl.CloneMapping[]>;
|
|
27
|
+
//# sourceMappingURL=clone-topology-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clone-topology-content.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C;;;;;;;;;;;;;GAaG;AACH,wBAAsB,oBAAoB,CACzC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;IACxC,SAAS,EAAE,eAAe,CAAA;IAC1B,wFAAwF;IACxF,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAA;CAC1B,GACC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAwC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/topology/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Config, Scl } from '../../../../config';
|
|
2
|
+
import { TopologyStructuralTag } from '../../../../constants';
|
|
3
|
+
import type * as Core from '@dialecte/core';
|
|
4
|
+
/**
|
|
5
|
+
* Resolve the instantiable root of a process section.
|
|
6
|
+
*
|
|
7
|
+
* Descends `Substation -> VoltageLevel -> Bay` through `TEMPLATE`-named levels and returns the
|
|
8
|
+
* FIRST element whose `name` is not `TEMPLATE` - the reusable unit to instantiate. If every level
|
|
9
|
+
* down the chain is `TEMPLATE` (or the chain ends), the deepest reached element is the root.
|
|
10
|
+
*
|
|
11
|
+
* Returns `undefined` when the document has no `Substation`.
|
|
12
|
+
*/
|
|
13
|
+
export declare function resolveInstantiableRoot(query: Core.Query<Config>): Promise<Scl.Ref<TopologyStructuralTag> | undefined>;
|
|
14
|
+
//# sourceMappingURL=root-selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-selection.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/layers/topology/root-selection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;GAQG;AACH,wBAAsB,uBAAuB,CAC5C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,CAuBrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report-asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-asd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"report-asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-asd.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AACtF,OAAO,KAAK,EACX,UAAU,EAGV,MAAM,kDAAkD,CAAA;AAEzD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAG3C;;;;;;;;;;;GAWG;AACH,wBAAsB,SAAS,CAC9B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,QAAQ,CAAC,EAAE,iBAAiB,CAAA;CAC5B,GACC,OAAO,CAAC,UAAU,CAAC,CAuDrB"}
|
package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type * as Core from '@dialecte/core';
|
|
|
8
8
|
* Generic, element-agnostic counterpart of {@link addChildrenTo}: where `addChildrenTo` pours every
|
|
9
9
|
* source child in as a fresh clone, this walks name-keyed containers (e.g. `FunctionCategory` ->
|
|
10
10
|
* `SubCategory`) and, when a same-tag/same-name child already exists under the target, recurses into
|
|
11
|
-
* it
|
|
11
|
+
* it - so only the genuinely new leaves (references, unnamed content) are cloned. A source child with
|
|
12
12
|
* no `name`, or with no matching twin, is cloned whole.
|
|
13
13
|
*/
|
|
14
14
|
export declare function mergeChildrenInto(tx: Core.Transaction<Config>, params: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-children-into.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"merge-children-into.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;GASG;AACH,wBAAsB,iBAAiB,CACtC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,yDAAyD;IACzD,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC/B,iEAAiE;IACjE,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC/B,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;CAC3B,GACC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAkC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/asd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/asd.ts"],"names":[],"mappings":"AAwBA,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,WAAW,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAC/F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,GAAG,CACxB,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,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACrC,GACC,OAAO,CAAC;IACV,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAA;IACtC,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,EAAE,CAAA;CAC3D,CAAC,CAqHD"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Config, Scl } from '../../../../config';
|
|
2
|
+
import { IdentityMode } from '../../../identity/transaction/write-identity.types';
|
|
2
3
|
import { AcceptedIds } from '../../engine/decide.types';
|
|
4
|
+
import { MatchKey } from '../../scenario';
|
|
3
5
|
import { TargetStructure } from '../../transplant/transaction';
|
|
4
6
|
import type * as Core from '@dialecte/core';
|
|
5
7
|
/**
|
|
@@ -19,5 +21,7 @@ export declare function reconcileCrossCuttingSatellites(tx: Core.Transaction<Con
|
|
|
19
21
|
instancePrimaryRef?: Scl.Ref<Scl.ElementsOf>;
|
|
20
22
|
structure: TargetStructure;
|
|
21
23
|
accepted?: AcceptedIds;
|
|
24
|
+
matchKey?: MatchKey;
|
|
25
|
+
identityMode?: IdentityMode;
|
|
22
26
|
}): Promise<void>;
|
|
23
27
|
//# sourceMappingURL=cross-cutting-satellites.d.ts.map
|
package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cross-cutting-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;GAUG;AACH,wBAAsB,+BAA+B,CACpD,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACnC,kBAAkB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC5C,SAAS,EAAE,eAAe,CAAA;IAC1B,QAAQ,CAAC,EAAE,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"cross-cutting-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gEAAgE,CAAA;AAClG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;GAUG;AACH,wBAAsB,+BAA+B,CACpD,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACnC,kBAAkB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC5C,SAAS,EAAE,eAAe,CAAA;IAC1B,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,YAAY,CAAC,EAAE,YAAY,CAAA;CAC3B,GACC,OAAO,CAAC,IAAI,CAAC,CAyBf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fsd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/fsd.ts"],"names":[],"mappings":"AAoBA,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;AAKtF,OAAO,KAAK,EAEX,WAAW,EACX,UAAU,EACV,MAAM,kDAAkD,CAAA;AACzD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;GAaG;AACH,wBAAsB,GAAG,CACxB,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACrC,GACC,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"fsd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/fsd.ts"],"names":[],"mappings":"AAoBA,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;AAKtF,OAAO,KAAK,EAEX,WAAW,EACX,UAAU,EACV,MAAM,kDAAkD,CAAA;AACzD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;GAaG;AACH,wBAAsB,GAAG,CACxB,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACrC,GACC,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CA0E3D"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Config, Scl } from '../../../../config';
|
|
2
|
+
import { IdentityMode } from '../../../identity/transaction/write-identity.types';
|
|
2
3
|
import { AcceptedIds } from '../../engine/decide.types';
|
|
4
|
+
import { MatchKey } from '../../scenario';
|
|
3
5
|
import { AnyRefOrRecord } from '@dialecte/core';
|
|
4
6
|
import type * as Core from '@dialecte/core';
|
|
5
7
|
/**
|
|
@@ -29,5 +31,9 @@ export declare function reconcileCarriedSatellites(tx: Core.Transaction<Config>,
|
|
|
29
31
|
instanceRef: AnyRefOrRecord;
|
|
30
32
|
targetParent: Scl.Ref<Scl.ElementsOf>;
|
|
31
33
|
accepted?: AcceptedIds;
|
|
34
|
+
/** `templateUuid` (default) or `uuid` (fork) match for the satellite instance. */
|
|
35
|
+
matchKey?: MatchKey;
|
|
36
|
+
/** `stamp-template` (default) or `keep` (fork) identity for an added satellite. */
|
|
37
|
+
identityMode?: IdentityMode;
|
|
32
38
|
}): Promise<void>;
|
|
33
39
|
//# sourceMappingURL=function-satellites.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/function-satellites.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,0BAA0B,CAC/C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,WAAW,EAAE,cAAc,CAAA;IAC3B,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,QAAQ,CAAC,EAAE,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"function-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/function-satellites.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gEAAgE,CAAA;AAClG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,0BAA0B,CAC/C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,WAAW,EAAE,cAAc,CAAA;IAC3B,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,mFAAmF;IACnF,YAAY,CAAC,EAAE,YAAY,CAAA;CAC3B,GACC,OAAO,CAAC,IAAI,CAAC,CA6Ef"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Config, Scl } from '../../../../config';
|
|
2
|
+
import { IdentityMode } from '../../../identity/transaction/write-identity.types';
|
|
2
3
|
import { AcceptedIds } from '../../engine/decide.types';
|
|
4
|
+
import { MatchKey } from '../../scenario';
|
|
3
5
|
import { TargetStructure } from '../../transplant/transaction';
|
|
4
6
|
import type * as Core from '@dialecte/core';
|
|
5
7
|
/**
|
|
@@ -25,5 +27,9 @@ export declare function reconcileSatellites(tx: Core.Transaction<Config>, params
|
|
|
25
27
|
instanceSatelliteRefs?: Scl.Ref<Scl.ElementsOf>[];
|
|
26
28
|
structure: TargetStructure;
|
|
27
29
|
accepted?: AcceptedIds;
|
|
30
|
+
/** `templateUuid` (default) or `uuid` (fork) match for the satellite instance. */
|
|
31
|
+
matchKey?: MatchKey;
|
|
32
|
+
/** `stamp-template` (default) or `keep` (fork) identity for an added satellite. */
|
|
33
|
+
identityMode?: IdentityMode;
|
|
28
34
|
}): Promise<void>;
|
|
29
35
|
//# sourceMappingURL=satellite-reconcile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"satellite-reconcile.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,mBAAmB,CACxC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,aAAa,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACxC,qBAAqB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACjD,SAAS,EAAE,eAAe,CAAA;IAC1B,QAAQ,CAAC,EAAE,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"satellite-reconcile.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gEAAgE,CAAA;AAClG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,mBAAmB,CACxC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,aAAa,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACxC,qBAAqB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACjD,SAAS,EAAE,eAAe,CAAA;IAC1B,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,mFAAmF;IACnF,YAAY,CAAC,EAAE,YAAY,CAAA;CAC3B,GACC,OAAO,CAAC,IAAI,CAAC,CA0Ef"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { applyTypeIdRemap } from './apply-type-id-remap';
|
|
2
2
|
export { applyUuidRemap } from './apply-uuid-remap';
|
|
3
3
|
export { writeProvenance } from './write-provenance';
|
|
4
|
-
export type {
|
|
4
|
+
export type { ProvenanceTarget, SclFileType, WriteProvenanceParams } from './write-provenance.types';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/transaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/transaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -2,17 +2,17 @@ import { WriteProvenanceParams } from './write-provenance.types';
|
|
|
2
2
|
import { Config } from '../../../config';
|
|
3
3
|
import type * as Core from '@dialecte/core';
|
|
4
4
|
/**
|
|
5
|
-
* Writes
|
|
6
|
-
* `
|
|
7
|
-
* template file the instance was created from.
|
|
5
|
+
* Writes an instantiation/import provenance link: an `SclFileReference` pointing back at the source
|
|
6
|
+
* file, sourced from the source `Header` (`version` / `revision` / `fileUuid`) and store (`fileName`).
|
|
8
7
|
*
|
|
9
|
-
* The
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
8
|
+
* The anchor is chosen by `target`:
|
|
9
|
+
* - `function` / `application` — a fresh `FunctionSclRef` / `ApplicationSclRef` on the cloned root
|
|
10
|
+
* (FSD / ASD). Always **creates** a new ref (a root may already carry composition SclRefs; each
|
|
11
|
+
* instantiation is a distinct link).
|
|
12
|
+
* - `document` — appended to the target `Header > SourceFiles` (SSD / SCD): a whole-file source, with
|
|
13
|
+
* no per-root wrapper.
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
-
* carry composition-provenance SclRefs, and each instantiation is a distinct link.
|
|
15
|
+
* `version` / `revision` fall back to empty strings when the (optional) Header attributes are absent.
|
|
16
16
|
*/
|
|
17
17
|
export declare function writeProvenance(tx: Core.Transaction<Config>, params: WriteProvenanceParams): Promise<void>;
|
|
18
18
|
//# sourceMappingURL=write-provenance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-provenance.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/transaction/write-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"write-provenance.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/transaction/write-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiC,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AACpG,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAQ3C;;;;;;;;;;;;GAYG;AACH,wBAAsB,eAAe,CACpC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE,qBAAqB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAkBf"}
|
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
import { Scl, Config } from '../../../config';
|
|
2
2
|
import type * as Core from '@dialecte/core';
|
|
3
|
-
/**
|
|
4
|
-
export type
|
|
3
|
+
/** SCL file type recorded on an `SclFileReference` (the Header `fileType` domain). */
|
|
4
|
+
export type SclFileType = 'FSD' | 'ASD' | 'SSD' | 'ISD' | 'ICD' | 'IID' | 'SCD' | 'SED' | 'CID';
|
|
5
|
+
/**
|
|
6
|
+
* Where a provenance link is anchored.
|
|
7
|
+
* - `function` / `application` — a per-root `FunctionSclRef` / `ApplicationSclRef` on the cloned
|
|
8
|
+
* root (FSD / ASD); the `fileType` is implied by the anchor.
|
|
9
|
+
* - `document` — a `Header > SourceFiles > SclFileReference` recording the whole source file for the
|
|
10
|
+
* document (SSD / SCD / …), appended to the target `Header` (no per-root wrapper exists).
|
|
11
|
+
*/
|
|
12
|
+
export type ProvenanceTarget = {
|
|
13
|
+
anchor: 'function';
|
|
14
|
+
root: Scl.Ref<'Function'> | Scl.Ref<'SubFunction'>;
|
|
15
|
+
} | {
|
|
16
|
+
anchor: 'application';
|
|
17
|
+
root: Scl.Ref<'Application'>;
|
|
18
|
+
} | {
|
|
19
|
+
anchor: 'document';
|
|
20
|
+
fileType: SclFileType;
|
|
21
|
+
};
|
|
5
22
|
export type WriteProvenanceParams = {
|
|
6
|
-
/** Query over the
|
|
23
|
+
/** Query over the source document the provenance is sourced from (Header + file name). */
|
|
7
24
|
sourceQuery: Core.Query<Config>;
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
/** Template kind; selects `FunctionSclRef` (FSD) or `ApplicationSclRef` (ASD). */
|
|
11
|
-
fileType: ProvenanceFileType;
|
|
25
|
+
/** Where + how to anchor the link. */
|
|
26
|
+
target: ProvenanceTarget;
|
|
12
27
|
};
|
|
13
28
|
//# sourceMappingURL=write-provenance.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-provenance.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/transaction/write-provenance.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,
|
|
1
|
+
{"version":3,"file":"write-provenance.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/transaction/write-provenance.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,sFAAsF;AACtF,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAA;AAE/F;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GACzB;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;CAAE,GAC1E;IAAE,MAAM,EAAE,aAAa,CAAC;IAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;CAAE,GACvD;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,QAAQ,EAAE,WAAW,CAAA;CAAE,CAAA;AAEhD,MAAM,MAAM,qBAAqB,GAAG;IACnC,0FAA0F;IAC1F,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,sCAAsC;IACtC,MAAM,EAAE,gBAAgB,CAAA;CACxB,CAAA"}
|
package/dist/v2019C1/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r,
|
|
2
|
-
import { Project as
|
|
1
|
+
import { A as e, C as t, D as n, E as r, M as i, N as a, O as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as h, h as g, i as _, j as v, k as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, u as O, v as k, w as A, x as j, y as M } from "../hooks-CLIa7kxj.js";
|
|
2
|
+
import { Project as N } from "@dialecte/core";
|
|
3
3
|
//#region src/v2019C1/extensions/lifecycle/validate/template-uuid-check.info.ts
|
|
4
|
-
var
|
|
4
|
+
var P = {
|
|
5
5
|
"cross-type-template-uuid": {
|
|
6
6
|
title: "Placeholder templateUuid reused across element types",
|
|
7
7
|
description: "One templateUuid is carried by elements of several different types, so it cannot identify a single template element — it is an authoring placeholder, not real lineage.",
|
|
@@ -20,21 +20,21 @@ var j = {
|
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/v2019C1/dialecte.ts
|
|
23
|
-
function
|
|
23
|
+
function F(e) {
|
|
24
24
|
let { storage: t = { type: "local" }, extensions: n } = e ?? {};
|
|
25
|
-
return new
|
|
26
|
-
configs: { scl:
|
|
25
|
+
return new N({
|
|
26
|
+
configs: { scl: v },
|
|
27
27
|
defaultConfigKey: "scl",
|
|
28
28
|
storage: t,
|
|
29
29
|
extensions: {
|
|
30
|
-
base:
|
|
30
|
+
base: T,
|
|
31
31
|
custom: n
|
|
32
32
|
},
|
|
33
33
|
hooks: {
|
|
34
|
-
...
|
|
35
|
-
...
|
|
34
|
+
...S(),
|
|
35
|
+
...D
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|
|
40
|
-
export {
|
|
40
|
+
export { f as ALL_REF_UUID_ATTRIBUTES, b as ALL_RESOLUTIONS, u as DEFAULT_IGNORED_ATTRIBUTES, t as KEEP_ON_ORPHAN_REFS, O as LOCKED_LNODE_ATTRIBUTES, p as MAPPED_NAME_REFS, m as PAIRS_BY_REF, o as PATH_CONTRIBUTING_ATTRIBUTES, y as PATH_EXTRACTION_CONFIG, A as REFERENCE_TAGS, c as REFERENCE_TAG_NAMES, E as REF_CONTAINERS, w as RESOLUTION_TARGET_REFS, M as RESOLUTION_TYPE, x as RESOLVABLE_RESOLUTIONS, e as SCL_DATABASE_CONFIG, v as SCL_DIALECTE_CONFIG, i as SCL_IO_CONFIG, a as SCL_NAMESPACES, r as TARGET_ELEMENT_TYPES, s as TEMPLATE_NAME, P as TEMPLATE_UUID_WARNING_INFO, d as TOPOLOGY_EQUIPMENT_TAGS, j as TOPOLOGY_STRUCTURAL_TAGS, k as TYPE_ID_REFERENCE_PAIRS, g as TYPE_ID_REFERRERS_BY_TARGET, h as TYPE_ID_REF_ATTRIBUTES, l as TYPE_ID_TARGET_TAGS, n as UUID_REFERENCE_PAIRS, F as createSclProject, C as isTypeIdTarget, _ as presentationScope };
|
package/dist/v2019C1/test.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as e, n as t, r as n, t as r } from "../hooks-CLIa7kxj.js";
|
|
2
2
|
import { CUSTOM_RECORD_ID_ATTRIBUTE as i, CUSTOM_RECORD_ID_ATTRIBUTE_NAME as a, XMLNS_XSI_NAMESPACE as o } from "@dialecte/core/helpers";
|
|
3
3
|
import { XMLNS_DEV_NAMESPACE as s, createTestProject as c, createTestRecordFactory as l, createTestRunner as u, createXmlAssertions as d } from "@dialecte/core/test";
|
|
4
4
|
//#region src/v2019C1/test/hydrated-test.ts
|