@prisma/orm-framework 8.0.0-rc.21-dev.5 → 8.0.0-rc.21-dev.6
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/{apply-specifier-default-control-policy-Dlz0iwnK.d.mts → apply-specifier-default-control-policy-BSgLNgKj.d.mts} +2 -2
- package/dist/apply-specifier-default-control-policy-BSgLNgKj.d.mts.map +1 -0
- package/dist/{authoring-C2UAuRfN.d.mts → authoring-D75oR8Nt.d.mts} +5 -5
- package/dist/{authoring-C2UAuRfN.d.mts.map → authoring-D75oR8Nt.d.mts.map} +1 -1
- package/dist/{binder-BszqDG1t-icu83_4f.d.mts → binder-BszqDG1t-pSH-fXt5.d.mts} +12 -12
- package/dist/{binder-BszqDG1t-icu83_4f.d.mts.map → binder-BszqDG1t-pSH-fXt5.d.mts.map} +1 -1
- package/dist/{canonicalization-CyrrXGmj-CeKUkht1.d.mts → canonicalization-BIS6ONYT-VttZI7M4.d.mts} +3 -3
- package/dist/{canonicalization-CyrrXGmj-CeKUkht1.d.mts.map → canonicalization-BIS6ONYT-VttZI7M4.d.mts.map} +1 -1
- package/dist/{codec-CZ3VQq7G.d.mts → codec-h0kvF5B8.d.mts} +4 -3
- package/dist/codec-h0kvF5B8.d.mts.map +1 -0
- package/dist/{codec-types-B4wPvO-K-BqcGrCE-.d.mts → codec-types-B4wPvO-K-BIPFT7EP.d.mts} +2 -2
- package/dist/{codec-types-B4wPvO-K-BqcGrCE-.d.mts.map → codec-types-B4wPvO-K-BIPFT7EP.d.mts.map} +1 -1
- package/dist/{components-BenCVFk4.d.mts → components-CHWGZJ5q.d.mts} +5 -5
- package/dist/{components-BenCVFk4.d.mts.map → components-CHWGZJ5q.d.mts.map} +1 -1
- package/dist/components.d.mts +17 -17
- package/dist/components.mjs +2 -2
- package/dist/components__authoring.d.mts +3 -3
- package/dist/components__codec.d.mts +2 -2
- package/dist/components__components.d.mts +4 -4
- package/dist/components__control.d.mts +4 -4
- package/dist/components__emission.d.mts +3 -3
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__ir.d.mts +2 -2
- package/dist/components__ir.mjs +2 -2
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/components__runtime.d.mts +1 -1
- package/dist/{config-types-BJ79TZCl.d.mts → config-types-B0JjhuaX.d.mts} +8 -8
- package/dist/{config-types-BJ79TZCl.d.mts.map → config-types-B0JjhuaX.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +6 -6
- package/dist/{contract-types-DEIEpzU_-DvAVuBr5.d.mts → contract-types-ib-VnKHG-l9vE5Vd-.d.mts} +22 -8
- package/dist/contract-types-ib-VnKHG-l9vE5Vd-.d.mts.map +1 -0
- package/dist/contract.d.mts +13 -11
- package/dist/contract.mjs +5 -3
- package/dist/contract__apply-specifier-default-control-policy.d.mts +1 -1
- package/dist/contract__enum-accessor.d.mts +1 -1
- package/dist/contract__hashing-utils.d.mts +1 -1
- package/dist/contract__hashing.d.mts +2 -2
- package/dist/contract__resolve-domain-model.d.mts +1 -1
- package/dist/contract__types.d.mts +6 -5
- package/dist/contract__types.mjs +3 -2
- package/dist/contract__validate-domain.d.mts +2 -2
- package/dist/contract__validate-domain.mjs +2 -2
- package/dist/contract__validate-storage.d.mts +2 -0
- package/dist/contract__validate-storage.mjs +2 -0
- package/dist/{control-BeXOxtXA-BU8y-LiK.d.mts → control-BeXOxtXA-DyPvQsqJ.d.mts} +2 -2
- package/dist/{control-BeXOxtXA-BU8y-LiK.d.mts.map → control-BeXOxtXA-DyPvQsqJ.d.mts.map} +1 -1
- package/dist/{control-CS1uqJj_.d.mts → control-BrO2h8ed.d.mts} +24 -12
- package/dist/control-BrO2h8ed.d.mts.map +1 -0
- package/dist/control-COPuZO7V.d.mts +1 -0
- package/dist/domain-envelope-CJNIHBn_-DBFAmkNL.d.mts +191 -0
- package/dist/domain-envelope-CJNIHBn_-DBFAmkNL.d.mts.map +1 -0
- package/dist/emission-DGYCaKjl.d.mts +2 -0
- package/dist/{emission-types-bX2HmNSC-C9vDMKbg.d.mts → emission-types-bX2HmNSC-vaRddb1_.d.mts} +6 -5
- package/dist/emission-types-bX2HmNSC-vaRddb1_.d.mts.map +1 -0
- package/dist/{enum-accessor-2OZgavDX.d.mts → enum-accessor-BXc2Jseo.d.mts} +4 -3
- package/dist/enum-accessor-BXc2Jseo.d.mts.map +1 -0
- package/dist/errors.d.mts +4 -4
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/{execution-BPJbNttJ.d.mts → execution-BhFeCTkt.d.mts} +2 -2
- package/dist/{execution-BPJbNttJ.d.mts.map → execution-BhFeCTkt.d.mts.map} +1 -1
- package/dist/{execution-BWR_z8XI.d.mts → execution-Cgkrs6UV.d.mts} +2 -2
- package/dist/{execution-BWR_z8XI.d.mts.map → execution-Cgkrs6UV.d.mts.map} +1 -1
- package/dist/field-problems-DMpmScuG-R70w-aDk.mjs +41 -0
- package/dist/field-problems-DMpmScuG-R70w-aDk.mjs.map +1 -0
- package/dist/{framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts → framework-authoring-ebqZ8M_M-Bdi8MutX.d.mts} +3 -3
- package/dist/{framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts.map → framework-authoring-ebqZ8M_M-Bdi8MutX.d.mts.map} +1 -1
- package/dist/{framework-components-BqHA1V92-D9j8uXa-.d.mts → framework-components-BqHA1V92-D_nUDFf9.d.mts} +4 -4
- package/dist/{framework-components-BqHA1V92-D9j8uXa-.d.mts.map → framework-components-BqHA1V92-D_nUDFf9.d.mts.map} +1 -1
- package/dist/{hashing-D-DHz0zl.d.mts → hashing-Ca2uTBmm.d.mts} +4 -4
- package/dist/{hashing-D-DHz0zl.d.mts.map → hashing-Ca2uTBmm.d.mts.map} +1 -1
- package/dist/{hashing-utils-DiGHKd3b.d.mts → hashing-utils-daflaalA.d.mts} +2 -2
- package/dist/{hashing-utils-DiGHKd3b.d.mts.map → hashing-utils-daflaalA.d.mts.map} +1 -1
- package/dist/ids__runtime.d.mts +1 -1
- package/dist/{ir-uDGU9vaj.mjs → ir-B7QKO3dq.mjs} +18 -2
- package/dist/ir-B7QKO3dq.mjs.map +1 -0
- package/dist/{ir-LV4tXsw3.d.mts → ir-DoVMhmqa.d.mts} +10 -25
- package/dist/ir-DoVMhmqa.d.mts.map +1 -0
- package/dist/{migration-Dk1sYIvs.d.mts → migration-CMMT3vcR.d.mts} +2 -2
- package/dist/{migration-Dk1sYIvs.d.mts.map → migration-CMMT3vcR.d.mts.map} +1 -1
- package/dist/{parse-djL5wker-DnMlKOii.d.mts → parse-djL5wker-Bf4uawTE.d.mts} +6 -6
- package/dist/{parse-djL5wker-DnMlKOii.d.mts.map → parse-djL5wker-Bf4uawTE.d.mts.map} +1 -1
- package/dist/{psl-ast-0oMzInxd-Nx9cHmcc.d.mts → psl-ast-0oMzInxd-BjKbrwNk.d.mts} +2 -2
- package/dist/{psl-ast-0oMzInxd-Nx9cHmcc.d.mts.map → psl-ast-0oMzInxd-BjKbrwNk.d.mts.map} +1 -1
- package/dist/psl-ast-DjTRQDW7.d.mts +2 -0
- package/dist/psl-parser.d.mts +10 -10
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__interpret.d.mts +7 -7
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-printer.d.mts +4 -4
- package/dist/{resolve-domain-model-BNr1glea-BLuR-phK.d.mts → resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts} +3 -3
- package/dist/resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts.map +1 -0
- package/dist/{runtime-CTJc8PII.d.mts → runtime-BERs-lBJ.d.mts} +4 -4
- package/dist/{runtime-CTJc8PII.d.mts.map → runtime-BERs-lBJ.d.mts.map} +1 -1
- package/dist/storage-value-objects-Di8Cowdl-QNqJXkk0.mjs +28 -0
- package/dist/storage-value-objects-Di8Cowdl-QNqJXkk0.mjs.map +1 -0
- package/dist/{temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts → temporal-type-aliases-BIiamFSH-DLxWO37e.d.mts} +3 -3
- package/dist/{temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts.map → temporal-type-aliases-BIiamFSH-DLxWO37e.d.mts.map} +1 -1
- package/dist/{types-B8ULzMAX.mjs → types-Boh5NGDz.mjs} +52 -9
- package/dist/types-Boh5NGDz.mjs.map +1 -0
- package/dist/types-CkFfDIud-C1u8M2UE.d.mts +196 -0
- package/dist/types-CkFfDIud-C1u8M2UE.d.mts.map +1 -0
- package/dist/{types-GNXJ7xW2.d.mts → types-Dh_AMVRf.d.mts} +145 -25
- package/dist/types-Dh_AMVRf.d.mts.map +1 -0
- package/dist/{types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts → types-import-spec-Bkh243Hv-BI9m5WFL.d.mts} +3 -3
- package/dist/{types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts.map → types-import-spec-Bkh243Hv-BI9m5WFL.d.mts.map} +1 -1
- package/dist/{validate-domain-CbXHDYpF.mjs → validate-domain-KUhPCj7i.mjs} +18 -35
- package/dist/validate-domain-KUhPCj7i.mjs.map +1 -0
- package/dist/{validate-domain-B5kmlBFB.d.mts → validate-domain-eU07L3vi.d.mts} +7 -3
- package/dist/{validate-domain-B5kmlBFB.d.mts.map → validate-domain-eU07L3vi.d.mts.map} +1 -1
- package/dist/validate-storage-CGeJ-62G.mjs +31 -0
- package/dist/validate-storage-CGeJ-62G.mjs.map +1 -0
- package/dist/validate-storage-ChcQuhTb.d.mts +10 -0
- package/dist/validate-storage-ChcQuhTb.d.mts.map +1 -0
- package/package.json +16 -15
- package/dist/apply-specifier-default-control-policy-Dlz0iwnK.d.mts.map +0 -1
- package/dist/codec-CZ3VQq7G.d.mts.map +0 -1
- package/dist/contract-types-DEIEpzU_-DvAVuBr5.d.mts.map +0 -1
- package/dist/control-B3OS8JEw.d.mts +0 -1
- package/dist/control-CS1uqJj_.d.mts.map +0 -1
- package/dist/domain-envelope-CN721GnP-4huRt7Wc.d.mts +0 -373
- package/dist/domain-envelope-CN721GnP-4huRt7Wc.d.mts.map +0 -1
- package/dist/emission-ByTWEe2j.d.mts +0 -2
- package/dist/emission-types-bX2HmNSC-C9vDMKbg.d.mts.map +0 -1
- package/dist/enum-accessor-2OZgavDX.d.mts.map +0 -1
- package/dist/ir-LV4tXsw3.d.mts.map +0 -1
- package/dist/ir-uDGU9vaj.mjs.map +0 -1
- package/dist/psl-ast-CFQfCJeM.d.mts +0 -2
- package/dist/resolve-domain-model-BNr1glea-BLuR-phK.d.mts.map +0 -1
- package/dist/types-B8ULzMAX.mjs.map +0 -1
- package/dist/types-GNXJ7xW2.d.mts.map +0 -1
- package/dist/validate-domain-CbXHDYpF.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-BrO2h8ed.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;KAsBK;WACM;WACA;;UAED,gBAAgB,cAAc,eAAe;;WAE5C;;WAEA,WAAW;;WAEX,SAAS;;;;;;;;WAQT;;WAEA,cAAc;;;;;;;KAOpB;UACK;;WAEC;WACA,OAAO;;;;;;;;;;;;;;;;KAgBb;;;;;;;iBAOY,aAAa,OAAO,kBAAkB;;;;;;;;;;;;;;;UAe7C;WACC;WACA;;;;;;;WAOA,qBAAqB;EAC9B,UAAU,OAAO;;;;;;EAMjB,iBAAiB,QAAQ,2BAA2B;EACpD,qBAAqB;;;;;;;;;;;iBAWN,YAAY,UAAU,cAAc,QAAQ,wBAAwB;;;;;;;;;;;;cAYvE,WAAW,cAAc,eAAe;WAC3C,iBAAiB,gBAAgB;EAC1C,YAAY,iBAAiB,gBAAgB;;EAE7C,OAAO,OAAO,OAAO,gBAAgB,qBAAqB,WAAW;;;;cAIzD;cACA;cACA;cACA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;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BlL,0BAA0B,cAAc,eAAe,cAAc,iBAAiB,gBAAgB,oBAAoB,gBAAgB;;;;iBAI1I,WAAW,OAAO;;iBAElB,gBAAgB,iBAAiB,iBAAiB;;iBAElD,eAAe,iBAAiB;;iBAEhC,kBAAkB,OAAO;;iBAEzB,mBAAmB,OAAO;;;;;;;;;;;;;;;;;;UAkBjC,eAAe,WAAW;EAClC,aAAa,SAAS,oBAAoB,WAAW,WAAW;;;;;;;;UAQxD,oBAAoB,WAAW;WAC9B,UAAU;WACV,QAAQ;;;;;;;;UAQT;WACC;WACA,iBAAiB;;;;KAIvB;KACA,kBAAkB;;;;;;;;;;;;;;;;;KAiBlB;;;;;;;;;;iBAUY,uBAAuB,eAAe,eAAe,UAAU,wBAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./control-BeXOxtXA-DyPvQsqJ.mjs";
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { C as StorageBase, v as JsonValue } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
//#region ../../../1-framework/0-foundation/contract/dist/domain-envelope-CJNIHBn_.d.mts
|
|
3
|
+
//#region src/namespace-id.d.ts
|
|
4
|
+
type NamespaceId = string & {
|
|
5
|
+
readonly __brand: 'NamespaceId';
|
|
6
|
+
};
|
|
7
|
+
declare function asNamespaceId(value: string): NamespaceId;
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/cross-reference.d.ts
|
|
10
|
+
interface CrossReference {
|
|
11
|
+
readonly namespace: NamespaceId;
|
|
12
|
+
readonly model: string;
|
|
13
|
+
/**
|
|
14
|
+
* Contract-space identity for cross-space relations. When present, the
|
|
15
|
+
* referenced model lives in a different contract space. Absent for local
|
|
16
|
+
* (same-space) relations.
|
|
17
|
+
*/
|
|
18
|
+
readonly space?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const CrossReferenceSchema: import("arktype/internal/variants/object.ts").ObjectType<CrossReference, {}>;
|
|
21
|
+
declare function crossRef(model: string, namespace?: string, space?: string): CrossReference;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/entity-coordinate.d.ts
|
|
24
|
+
/**
|
|
25
|
+
* Canonical address for a named entity in a contract plane.
|
|
26
|
+
*
|
|
27
|
+
* `plane` is the top-level contract plane the entity lives on. `entityKind` equals the key of the slot the entity lives under (`'valueSet'` for `entries.valueSet`, `'valueObject'` for `entries.valueObject`, `'enum'` for the domain's `enum` slot), with no translation between the two (ADR 224). `entityName` is the entity's key in that slot.
|
|
28
|
+
*
|
|
29
|
+
* References between planes obey a directional invariant: domain may refer to storage; storage may never refer to domain. The coordinate carries the plane a validator checks.
|
|
30
|
+
*
|
|
31
|
+
* The type parameters narrow the plane and the kind for a reference to one kind of entity, such as a field's value object (`EntityCoordinate<'storage', 'valueObject'>`).
|
|
32
|
+
*/
|
|
33
|
+
interface EntityCoordinate<TPlane extends 'domain' | 'storage' = 'domain' | 'storage', TKind extends string = string> {
|
|
34
|
+
readonly plane: TPlane;
|
|
35
|
+
readonly namespaceId: string;
|
|
36
|
+
readonly entityKind: TKind;
|
|
37
|
+
readonly entityName: string;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/value-set-ref.d.ts
|
|
41
|
+
/**
|
|
42
|
+
* Entity coordinate for a domain enum or storage value-set reference.
|
|
43
|
+
*
|
|
44
|
+
* Every `valueSet` reference stays in its plane: a domain field refers to a domain enum, and a storage column or check to a storage value set.
|
|
45
|
+
*
|
|
46
|
+
* `namespaceId` admits the `UNBOUND_NAMESPACE_ID` (`__unbound__`) sentinel for single-namespace (unbound) references.
|
|
47
|
+
*
|
|
48
|
+
* `spaceId` is the cross-space discriminator: absent ⇒ local (same contract-space); present ⇒ cross-space. No separate tag field.
|
|
49
|
+
*/
|
|
50
|
+
interface ValueSetRef extends EntityCoordinate<'domain' | 'storage', 'enum' | 'valueSet'> {
|
|
51
|
+
readonly spaceId?: string;
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/domain-types.d.ts
|
|
55
|
+
type ScalarFieldType = {
|
|
56
|
+
readonly kind: 'scalar';
|
|
57
|
+
readonly codecId: string;
|
|
58
|
+
readonly typeParams?: Record<string, unknown>;
|
|
59
|
+
};
|
|
60
|
+
/** The type of a field that refers to a value object: the coordinate of the value object in storage (ADR 309). Not to be confused with {@link ContractValueObjectField}, a field of a value object. */
|
|
61
|
+
interface ValueObjectReference extends EntityCoordinate<'storage', 'valueObject'> {
|
|
62
|
+
readonly kind: 'valueObject';
|
|
63
|
+
}
|
|
64
|
+
type UnionFieldType = {
|
|
65
|
+
readonly kind: 'union';
|
|
66
|
+
readonly members: ReadonlyArray<ScalarFieldType | ValueObjectReference>;
|
|
67
|
+
};
|
|
68
|
+
type ContractFieldType = ScalarFieldType | ValueObjectReference | UnionFieldType;
|
|
69
|
+
type ContractField = {
|
|
70
|
+
readonly nullable: boolean;
|
|
71
|
+
readonly type: ContractFieldType;
|
|
72
|
+
readonly many?: false | {
|
|
73
|
+
readonly elementNullable: boolean;
|
|
74
|
+
};
|
|
75
|
+
readonly dict?: true;
|
|
76
|
+
readonly valueSet?: ValueSetRef;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* A domain enum: an ordered set of named members, each with a codec-encoded
|
|
80
|
+
* value. The `codecId` identifies the codec used to encode member values in
|
|
81
|
+
* storage. The `members` array is ordered (declaration order is preserved).
|
|
82
|
+
*/
|
|
83
|
+
type ContractEnum = {
|
|
84
|
+
readonly codecId: string;
|
|
85
|
+
readonly members: readonly {
|
|
86
|
+
readonly name: string;
|
|
87
|
+
readonly value: JsonValue;
|
|
88
|
+
}[];
|
|
89
|
+
};
|
|
90
|
+
type ContractRelationOn = {
|
|
91
|
+
readonly localFields: readonly string[];
|
|
92
|
+
readonly targetFields: readonly string[];
|
|
93
|
+
};
|
|
94
|
+
type ContractRelationThrough = {
|
|
95
|
+
readonly table: string;
|
|
96
|
+
readonly namespaceId: string;
|
|
97
|
+
readonly parentColumns: readonly string[];
|
|
98
|
+
readonly childColumns: readonly string[];
|
|
99
|
+
readonly targetColumns: readonly string[];
|
|
100
|
+
};
|
|
101
|
+
type ContractManyToManyRelation = {
|
|
102
|
+
readonly to: CrossReference;
|
|
103
|
+
readonly cardinality: 'N:M';
|
|
104
|
+
readonly on: ContractRelationOn;
|
|
105
|
+
readonly through: ContractRelationThrough;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* A to-one reference relation. `nullable` records whether the related row may be
|
|
109
|
+
* absent, as stated by the schema (`author User?` versus `author User`).
|
|
110
|
+
*/
|
|
111
|
+
type ContractToOneRelation = {
|
|
112
|
+
readonly to: CrossReference;
|
|
113
|
+
readonly cardinality: '1:1' | 'N:1';
|
|
114
|
+
readonly nullable: boolean;
|
|
115
|
+
readonly on: ContractRelationOn;
|
|
116
|
+
readonly through?: never;
|
|
117
|
+
};
|
|
118
|
+
type ContractToManyRelation = {
|
|
119
|
+
readonly to: CrossReference;
|
|
120
|
+
readonly cardinality: '1:N';
|
|
121
|
+
readonly on: ContractRelationOn;
|
|
122
|
+
readonly through?: never;
|
|
123
|
+
};
|
|
124
|
+
type ContractNonJunctionRelation = ContractToOneRelation | ContractToManyRelation;
|
|
125
|
+
type ContractReferenceRelation = ContractManyToManyRelation | ContractNonJunctionRelation;
|
|
126
|
+
type ContractEmbedRelation = {
|
|
127
|
+
readonly to: CrossReference;
|
|
128
|
+
readonly cardinality: '1:1' | '1:N';
|
|
129
|
+
};
|
|
130
|
+
type ContractRelation = ContractReferenceRelation | ContractEmbedRelation;
|
|
131
|
+
type ContractDiscriminator = {
|
|
132
|
+
readonly field: string;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* A field of a value object, which is a storage entity (ADR 309). Storage never refers to the domain plane, so a member an enum types refers to the enum's storage value set.
|
|
136
|
+
*/
|
|
137
|
+
interface ContractValueObjectField extends Omit<ContractField, 'valueSet'> {
|
|
138
|
+
readonly valueSet?: EntityCoordinate<'storage', 'valueSet'> & {
|
|
139
|
+
readonly spaceId?: string;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
type ContractValueObject = {
|
|
143
|
+
readonly fields: Record<string, ContractValueObjectField>;
|
|
144
|
+
};
|
|
145
|
+
type ModelStorageBase = Readonly<Record<string, unknown>>;
|
|
146
|
+
interface ContractModelBase<TModelStorage extends ModelStorageBase = ModelStorageBase> {
|
|
147
|
+
readonly fields: Record<string, ContractField>;
|
|
148
|
+
readonly relations: Record<string, ContractRelation>;
|
|
149
|
+
readonly storage: TModelStorage;
|
|
150
|
+
readonly discriminator?: ContractDiscriminator;
|
|
151
|
+
readonly variants?: Record<string, CrossReference>;
|
|
152
|
+
readonly base?: CrossReference;
|
|
153
|
+
readonly owner?: string;
|
|
154
|
+
}
|
|
155
|
+
interface ContractModel<TModelStorage extends ModelStorageBase = ModelStorageBase> extends ContractModelBase<TModelStorage> {
|
|
156
|
+
readonly fields: Record<string, ContractField>;
|
|
157
|
+
}
|
|
158
|
+
type ReferenceRelationKeys<TModels extends Record<string, {
|
|
159
|
+
readonly relations: Record<string, ContractRelation>;
|
|
160
|
+
}>, ModelName extends string & keyof TModels> = { [K in keyof TModels[ModelName]['relations']]: TModels[ModelName]['relations'][K] extends ContractReferenceRelation ? K : never; }[keyof TModels[ModelName]['relations']];
|
|
161
|
+
type EmbedRelationKeys<TModels extends Record<string, {
|
|
162
|
+
readonly relations: Record<string, ContractRelation>;
|
|
163
|
+
}>, ModelName extends string & keyof TModels> = { [K in keyof TModels[ModelName]['relations']]: TModels[ModelName]['relations'][K] extends ContractReferenceRelation ? never : K; }[keyof TModels[ModelName]['relations']];
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region src/domain-envelope.d.ts
|
|
166
|
+
/**
|
|
167
|
+
* One namespace's application-domain entities — models and optional enums
|
|
168
|
+
* keyed by entity name within that namespace coordinate. Value objects are
|
|
169
|
+
* storage entities (ADR 309).
|
|
170
|
+
*/
|
|
171
|
+
interface ApplicationDomainNamespace {
|
|
172
|
+
readonly models: Record<string, ContractModelBase>;
|
|
173
|
+
readonly enum?: Record<string, ContractEnum>;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Application-domain envelope: entity content keyed by namespace id.
|
|
177
|
+
* Mirrors the storage plane's `namespaces` segment (ADR 221).
|
|
178
|
+
*/
|
|
179
|
+
interface ApplicationDomain {
|
|
180
|
+
readonly namespaces: Readonly<Record<string, ApplicationDomainNamespace>>;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* What reading a contract's domain fields needs: the domain, and the storage namespaces that hold the value objects its fields refer to (ADR 309).
|
|
184
|
+
*/
|
|
185
|
+
type ContractWithDomain = {
|
|
186
|
+
readonly domain: ApplicationDomain;
|
|
187
|
+
readonly storage: Pick<StorageBase, 'namespaces'>;
|
|
188
|
+
};
|
|
189
|
+
//#endregion
|
|
190
|
+
export { ValueObjectReference as A, EmbedRelationKeys as C, ReferenceRelationKeys as D, NamespaceId as E, asNamespaceId as M, crossRef as N, ScalarFieldType as O, CrossReferenceSchema as S, ModelStorageBase as T, ContractToOneRelation as _, ContractEnum as a, ContractWithDomain as b, ContractManyToManyRelation as c, ContractNonJunctionRelation as d, ContractReferenceRelation as f, ContractToManyRelation as g, ContractRelationThrough as h, ContractEmbedRelation as i, ValueSetRef as j, UnionFieldType as k, ContractModel as l, ContractRelationOn as m, ApplicationDomainNamespace as n, ContractField as o, ContractRelation as p, ContractDiscriminator as r, ContractFieldType as s, ApplicationDomain as t, ContractModelBase as u, ContractValueObject as v, EntityCoordinate as w, CrossReference as x, ContractValueObjectField as y };
|
|
191
|
+
//# sourceMappingURL=domain-envelope-CJNIHBn_-DBFAmkNL.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain-envelope-CJNIHBn_-DBFAmkNL.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/domain-envelope-CJNIHBn_.d.mts"],"mapp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Ac,WAAW,QAAQ,0BAA0B,QAAQ,wBAAwB,WAAW,oCAAoC,WAAW,QAAQ;;;;;;;;UAQxL;WACC,QAAQ,eAAe;WACvB,OAAO,eAAe;;;;;;UAMvB;WACC,YAAY,SAAS,eAAe;;;;;KAK1C;WACM,QAAQ;WACR,SAAS,KAAK"}
|
package/dist/{emission-types-bX2HmNSC-C9vDMKbg.d.mts → emission-types-bX2HmNSC-vaRddb1_.d.mts}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { v as JsonValue } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { u as ContractModelBase } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
3
|
+
import { t as Contract } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
4
|
+
import { f as CodecLookup, t as AnyCodecDescriptor } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
5
|
+
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-Bkh243Hv-BI9m5WFL.mjs";
|
|
5
6
|
//#region ../../../1-framework/1-core/framework-components/dist/emission-types-bX2HmNSC.d.mts
|
|
6
7
|
//#region src/shared/import-specifier-resolver.d.ts
|
|
7
8
|
/**
|
|
@@ -78,4 +79,4 @@ interface EmissionSpi {
|
|
|
78
79
|
}
|
|
79
80
|
//#endregion
|
|
80
81
|
export { resolveRequirementSpecifiers as a, keepInternalSpecifiers as i, GenerateContractTypesOptions as n, ImportSpecifierResolver as r, EmissionSpi as t };
|
|
81
|
-
//# sourceMappingURL=emission-types-bX2HmNSC-
|
|
82
|
+
//# sourceMappingURL=emission-types-bX2HmNSC-vaRddb1_.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emission-types-bX2HmNSC-vaRddb1_.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/emission-types-bX2HmNSC.d.mts"],"mappings":";;;;;;;;;;;;;;;;;KAcK,2BAA2B;;;;;;cAMlB,wBAAwB;;;;;;;;;;iBAUrB,6BAA6B;WACnC;GACR,uBAAuB,KAAK,UAAU,0BAA0B,MAAM,KAAK;WACnE;;;;UAID;WACC,4BAA4B,cAAc;;WAE1C,iCAAiC,cAAc;;;;WAI/C,uBAAuB,cAAc;WACrC,mBAAmB,cAAc;;;;WAIjC;;UAED;WACC;EACT,oBAAoB,UAAU,UAAU;EACxC,yBAAyB,mBAAmB,OAAO;;;;;;EAMnD,iBAAiB,wBAAwB;EACzC,qBAAqB,UAAU;EAC/B;EACA,mBAAmB,0BAA0B;;;;;;;EAO7C,wBAAwB,mBAAmB,mBAAmB,OAAO,mBAAmB,UAAU;aACvF,wBAAwB;aACxB;;EAEX,uBAAuB,UAAU,UAAU,cAAc"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { v as JsonValue } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { a as ContractEnum } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
3
|
+
import { t as Contract } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
3
4
|
//#region ../../../1-framework/0-foundation/contract/dist/enum-accessor.d.mts
|
|
4
5
|
//#region src/enum-accessor.d.ts
|
|
5
6
|
/**
|
|
@@ -101,4 +102,4 @@ type NamespaceEnumAccessors<TContract extends Contract, NsId extends keyof TCont
|
|
|
101
102
|
type NamespacedEnums<TContract extends Contract> = { readonly [Ns in keyof TContract['domain']['namespaces']]: NamespaceEnumAccessors<TContract, Ns>; };
|
|
102
103
|
//#endregion
|
|
103
104
|
export { EnumMemberCodecFor as a, NamespaceEnumAccessors as c, buildNamespacedEnums as d, createEnumAccessor as f, EnumMemberCodec as i, NamespacedEnums as l, EnumAccessor as n, EnumMemberNames as o, EnumEntriesToAccessors as r, EnumValues as s, ContractEnumAccessor as t, buildEnumsMapForNamespace as u };
|
|
104
|
-
//# sourceMappingURL=enum-accessor-
|
|
105
|
+
//# sourceMappingURL=enum-accessor-BXc2Jseo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum-accessor-BXc2Jseo.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/enum-accessor.d.mts"],"mappings":";;;;;;;;UAOU;WACC;IACP,aAAa,MAAM,WAAW,QAAQ,SAAS;IAC/C,WAAW,iBAAiB;;aAEnB,eAAe,MAAM;;EAEhC,kBAAkB;EAClB,gBAAgB;;;KAGb,sBAAsB,oBAAoB;;;;;;UAMrC;;WAEC;WACA;WACA,SAAS,SAAS;EAC3B,IAAI;EACJ,QAAQ;EACR,OAAO;EACP,UAAU;;;;;iBAKK,mBAAmB,cAAc,cAAc,QAAQ,kBAAkB;;;;iBAIzE,0BAA0B;WAChC,YAAY,SAAS;aACnB,OAAO,SAAS,eAAe;;GAEzC,qBAAqB,UAAU,qBAAqB,eAAe;iBACrD,qBAAqB,kBAAkB,UAAU,QAAQ,qBAAqB,UAAU,qBAAqB,gBAAgB;KACzI,QAAQ,KAAK,QAAQ;KACrB;WACM;WACA;;KAEN;WACM,kBAAkB;;KAExB,aAAa,uBAAuB,WAAW,UAAU,QAAQ,WAAW,kBAAkB,QAAQ;KACtG,YAAY,uBAAuB,WAAW,UAAU,QAAQ,WAAW,kBAAkB,QAAQ;KACrG,gBAAgB,cAAc,aAAa,aAAa;KACxD,eAAe,cAAc,aAAa,YAAY;KACtD,iBAAiB,cAAc,yBAAyB,KAAK,4BAA4B,YAAY;KACrG,qBAAqB,cAAc;WAC7B,QAAQ,gBAAgB;WACxB,OAAO,eAAe;WACtB,SAAS,iBAAiB;;EAEnC,IAAI,aAAa,KAAK,gBAAgB;;EAEtC,QAAQ,eAAe,QAAQ,QAAQ,eAAe;EACtD,OAAO,GAAG,gBAAgB;EAC1B,UAAU,GAAG,gBAAgB;;;;;WAKpB,OAAO,gBAAgB;;;;;;;KAO7B,WAAW,KAAK;WACV,QAAQ,oBAAoB;IACnC;;;;KAIC,gBAAgB,KAAK;WACf,OAAO,oBAAoB;IAClC;KACC,uBAAuB,qBAAqB,WAAW,QAAQ,MAAM,WAAW,YAAY,qBAAqB,MAAM;KACvH,kBAAkB,cAAc;WAC1B,aAAa;oBACJ,IAAI,uBAAuB,QAAQ,KAAK;KACvD,qBAAqB,cAAc;WAC7B,wBAAwB;oBACf,eAAe,kBAAkB,0BAA0B,WAAW,QAAQ;WACvF,SAAS,QAAQ,cAAc;OACnC,kBAAkB;KACpB,uBAAuB,kBAAkB,UAAU,mBAAmB,qCAAqC,uBAAuB,qBAAqB,kCAAkC;KACzL,gBAAgB,kBAAkB,wBAAwB,YAAY,oCAAoC,uBAAuB,WAAW"}
|
package/dist/errors.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-BeXOxtXA-
|
|
2
|
-
import "./control-
|
|
3
|
-
import { a as errorMarkerRowCorrupt, c as parseMarkerRowSafely, i as errorMarkerRequired, l as rethrowMarkerReadError, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorTargetMismatch, t as errorHashMismatch, u as withMarkerReadErrorHandling } from "./execution-
|
|
4
|
-
import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-
|
|
1
|
+
import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-BeXOxtXA-DyPvQsqJ.mjs";
|
|
2
|
+
import "./control-COPuZO7V.mjs";
|
|
3
|
+
import { a as errorMarkerRowCorrupt, c as parseMarkerRowSafely, i as errorMarkerRequired, l as rethrowMarkerReadError, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorTargetMismatch, t as errorHashMismatch, u as withMarkerReadErrorHandling } from "./execution-BhFeCTkt.mjs";
|
|
4
|
+
import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-CMMT3vcR.mjs";
|
|
5
5
|
export { type CheckedMigrationConfig, type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRuntime, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, unfilledPlaceholderOperation, withMarkerReadErrorHandling };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-BeXOxtXA-
|
|
2
|
-
import "./control-
|
|
1
|
+
import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-BeXOxtXA-DyPvQsqJ.mjs";
|
|
2
|
+
import "./control-COPuZO7V.mjs";
|
|
3
3
|
export { type CheckedMigrationConfig, type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationPlanningFailed, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorTargetMigrationNotSupported, errorUnexpected };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as errorMarkerRowCorrupt, c as parseMarkerRowSafely, i as errorMarkerRequired, l as rethrowMarkerReadError, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorTargetMismatch, t as errorHashMismatch, u as withMarkerReadErrorHandling } from "./execution-
|
|
1
|
+
import { a as errorMarkerRowCorrupt, c as parseMarkerRowSafely, i as errorMarkerRequired, l as rethrowMarkerReadError, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorTargetMismatch, t as errorHashMismatch, u as withMarkerReadErrorHandling } from "./execution-BhFeCTkt.mjs";
|
|
2
2
|
export { errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRuntime, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-
|
|
1
|
+
import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-CMMT3vcR.mjs";
|
|
2
2
|
export { errorDataTransformContractMismatch, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationTargetMismatch, errorUnfilledPlaceholder, placeholder, unfilledPlaceholderOperation };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as NextAction, r as Diagnostic } from "./structured-error-Cc7AIRsp.mjs";
|
|
2
|
-
import { i as CliStructuredError } from "./control-BeXOxtXA-
|
|
2
|
+
import { i as CliStructuredError } from "./control-BeXOxtXA-DyPvQsqJ.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/errors/dist/execution.d.mts
|
|
4
4
|
//#region src/execution.d.ts
|
|
5
5
|
/**
|
|
@@ -73,4 +73,4 @@ declare function errorRuntime(code: `${string}.${string}`, summary: string, opti
|
|
|
73
73
|
}): CliStructuredError;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { errorMarkerRowCorrupt as a, parseMarkerRowSafely as c, errorMarkerRequired as i, rethrowMarkerReadError as l, errorMarkerMissing as n, errorRuntime as o, errorMarkerReadFailed as r, errorTargetMismatch as s, errorHashMismatch as t, withMarkerReadErrorHandling as u };
|
|
76
|
-
//# sourceMappingURL=execution-
|
|
76
|
+
//# sourceMappingURL=execution-BhFeCTkt.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-
|
|
1
|
+
{"version":3,"file":"execution-BhFeCTkt.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.d.mts"],"mappings":";;;;;;;iBAMiB,mBAAmB;WACzB;IACP;;;;iBAIa,kBAAkB;WACxB;WACA;WACA;IACP;;;;iBAIa,oBAAoB,kBAAkB,gBAAgB;WAC5D;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;iBACa,uBAAuB,cAAc;WAC3C;WACA;;iBAEM,4BAA4B,GAAG,iBAAiB,QAAQ,IAAI;WAClE;WACA;IACP,QAAQ;iBACK,qBAAqB,GAAG,cAAc,QAAQ,mBAAmB,GAAG;WAC1E;WACA;IACP;;;;;iBAKa,oBAAoB;WAC1B;WACA;WACA,uBAAuB;IAC9B;;;;iBAIa,aAAa,6BAA6B,iBAAiB;WACjE;WACA;WACA,uBAAuB;WACvB,OAAO;WACP;IACP"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, h as FamilyInstance, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, t as AdapterDescriptor, v as SessionSettings, x as TargetInstance } from "./framework-components-BqHA1V92-
|
|
1
|
+
import { b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, h as FamilyInstance, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, t as AdapterDescriptor, v as SessionSettings, x as TargetInstance } from "./framework-components-BqHA1V92-D_nUDFf9.mjs";
|
|
2
2
|
//#region ../../../1-framework/1-core/framework-components/dist/execution.d.mts
|
|
3
3
|
//#region src/execution/execution-instances.d.ts
|
|
4
4
|
interface RuntimeFamilyInstance<TFamilyId extends string> extends FamilyInstance<TFamilyId> {}
|
|
@@ -77,4 +77,4 @@ declare function assertRuntimeContractRequirementsSatisfied<TFamilyId extends st
|
|
|
77
77
|
}): void;
|
|
78
78
|
//#endregion
|
|
79
79
|
export { RuntimeDriverDescriptor as a, RuntimeExtensionInstance as c, RuntimeTargetDescriptor as d, RuntimeTargetInstance as f, instantiateExecutionStack as h, RuntimeAdapterInstance as i, RuntimeFamilyDescriptor as l, createExecutionStack as m, ExecutionStackInstance as n, RuntimeDriverInstance as o, assertRuntimeContractRequirementsSatisfied as p, RuntimeAdapterDescriptor as r, RuntimeExtensionDescriptor as s, ExecutionStack as t, RuntimeFamilyInstance as u };
|
|
80
|
-
//# sourceMappingURL=execution-
|
|
80
|
+
//# sourceMappingURL=execution-Cgkrs6UV.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-
|
|
1
|
+
{"version":3,"file":"execution-Cgkrs6UV.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/execution.d.mts"],"mappings":";;;UAEU,sBAAsB,kCAAkC,eAAe;UACvE,sBAAsB,0BAA0B,kCAAkC,eAAe,WAAW;UAC5G,uBAAuB,0BAA0B,kCAAkC,gBAAgB,WAAW;UAC9G,sBAAsB,0BAA0B,kCAAkC,eAAe,WAAW;UAC5G,yBAAyB,0BAA0B,kCAAkC,kBAAkB,WAAW;;;UAGlH,eAAe,0BAA0B,0BAA0B,yBAAyB,uBAAuB,WAAW,aAAa,uBAAuB,WAAW,YAAY,wBAAwB,sBAAsB,WAAW,aAAa,sBAAsB,WAAW,YAAY,2BAA2B,yBAAyB,WAAW,aAAa,yBAAyB,WAAW;WAC3Z,QAAQ,wBAAwB,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WAAW;aAC7C,QAAQ,wBAAwB,WAAW;aAC3C,qBAAqB,2BAA2B,WAAW;MAClE;;UAEI,wBAAwB,0BAA0B,0BAA0B,wBAAwB,sBAAsB,WAAW,aAAa,sBAAsB,WAAW,oBAAoB,iBAAiB,WAAW;EAC3O,UAAU;;UAEF,yBAAyB,0BAA0B,0BAA0B,yBAAyB,uBAAuB,WAAW,aAAa,uBAAuB,WAAW,oBAAoB,kBAAkB,WAAW;;;;;;;;EAQhP,OAAO,OAAO,eAAe,WAAW,aAAa;;UAE7C,wBAAwB,0BAA0B,0BAA0B,uBAAuB,wBAAwB,sBAAsB,WAAW,aAAa,sBAAsB,WAAW,oBAAoB,iBAAiB,WAAW;;EAElQ,OAAO,UAAU,gBAAgB,kBAAkB,kBAAkB;;UAE7D,2BAA2B,0BAA0B,0BAA0B,2BAA2B,yBAAyB,WAAW,aAAa,yBAAyB,WAAW,oBAAoB,oBAAoB,WAAW;EAC1P,UAAU;;;;iBAIK,2CAA2C,0BAA0B,4BAA4B,UAAU,QAAQ,QAAQ,SAAS;WAC1I;aACE;aACA,aAAa;;WAEf,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,qBAAqB,2BAA2B,WAAW"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
|
+
import { t as valueObjectAt } from "./storage-value-objects-Di8Cowdl-QNqJXkk0.mjs";
|
|
3
|
+
//#region ../../../1-framework/0-foundation/contract/dist/field-problems-DMpmScuG.mjs
|
|
4
|
+
function fieldLike(field) {
|
|
5
|
+
return blindCast(field);
|
|
6
|
+
}
|
|
7
|
+
function valueObjectReferenceProblem(type) {
|
|
8
|
+
if (type.plane === void 0 && type.entityKind === void 0) return `refers to value object "${type.name}" by name; contracts no longer do: a field refers to its value object by the coordinate of a storage entity under storage.namespaces.<namespace>.entries.valueObject, so re-emit the contract from its source, or rewrite a stored contract such as a migration snapshot with value-objects-in-storage.ts, which ships in the value-objects-in-storage scripts of the Prisma 8 upgrade guide`;
|
|
9
|
+
if (type.plane !== "storage" || type.entityKind !== "valueObject") return `refers to a value object with plane "${type.plane}" and entityKind "${type.entityKind}"; a value object reference has plane "storage" and entityKind "valueObject"`;
|
|
10
|
+
}
|
|
11
|
+
/** What is wrong with the value object references of a field's type, a union's members included, each prefixed with `location`. */
|
|
12
|
+
function valueObjectTypeProblems(storage, type, location) {
|
|
13
|
+
if (type === void 0) return [];
|
|
14
|
+
if (type.kind === "union") return (type.members ?? []).flatMap((member) => valueObjectTypeProblems(storage, member, location));
|
|
15
|
+
if (type.kind !== "valueObject") return [];
|
|
16
|
+
const problem = valueObjectReferenceProblem(type);
|
|
17
|
+
if (problem !== void 0) return [`${location} ${problem}`];
|
|
18
|
+
const namespaceId = type.namespaceId ?? "";
|
|
19
|
+
const entityName = type.entityName ?? "";
|
|
20
|
+
return valueObjectAt(storage, {
|
|
21
|
+
plane: "storage",
|
|
22
|
+
namespaceId,
|
|
23
|
+
entityKind: "valueObject",
|
|
24
|
+
entityName
|
|
25
|
+
}) === void 0 ? [`${location} refers to value object "${entityName}" in storage namespace "${namespaceId}", which storage.namespaces.${namespaceId}.entries.valueObject does not have`] : [];
|
|
26
|
+
}
|
|
27
|
+
/** What is wrong with a field's `many`, `elementNullable` and `dict`, each prefixed with `location`. */
|
|
28
|
+
function fieldModifierProblems(location, field) {
|
|
29
|
+
const candidate = fieldLike(field);
|
|
30
|
+
const many = candidate?.many;
|
|
31
|
+
const isList = typeof many === "object" && many !== null && !Array.isArray(many) && Object.keys(many).length === 1 && "elementNullable" in many && typeof many.elementNullable === "boolean";
|
|
32
|
+
const problems = [];
|
|
33
|
+
if (many !== void 0 && many !== false && !isList) problems.push(`${location} has invalid "many"; expected false or an elementNullable descriptor`);
|
|
34
|
+
if (candidate?.elementNullable !== void 0) problems.push(`${location} cannot have sibling "elementNullable"; put it inside "many"`);
|
|
35
|
+
if (isList && candidate?.dict) problems.push(`${location} cannot have both "many" and "dict" modifiers`);
|
|
36
|
+
return problems;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { fieldModifierProblems as n, valueObjectTypeProblems as r, fieldLike as t };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=field-problems-DMpmScuG-R70w-aDk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-problems-DMpmScuG-R70w-aDk.mjs","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/field-problems-DMpmScuG.mjs"],"sourcesContent":["import { t as valueObjectAt } from \"./storage-value-objects-Di8Cowdl.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/field-problems.ts\nfunction fieldLike(field) {\n\treturn blindCast(field);\n}\nfunction valueObjectReferenceProblem(type) {\n\tif (type.plane === void 0 && type.entityKind === void 0) return `refers to value object \"${type.name}\" by name; contracts no longer do: a field refers to its value object by the coordinate of a storage entity under storage.namespaces.<namespace>.entries.valueObject, so re-emit the contract from its source, or rewrite a stored contract such as a migration snapshot with value-objects-in-storage.ts, which ships in the value-objects-in-storage scripts of the Prisma 8 upgrade guide`;\n\tif (type.plane !== \"storage\" || type.entityKind !== \"valueObject\") return `refers to a value object with plane \"${type.plane}\" and entityKind \"${type.entityKind}\"; a value object reference has plane \"storage\" and entityKind \"valueObject\"`;\n}\n/** What is wrong with the value object references of a field's type, a union's members included, each prefixed with `location`. */\nfunction valueObjectTypeProblems(storage, type, location) {\n\tif (type === void 0) return [];\n\tif (type.kind === \"union\") return (type.members ?? []).flatMap((member) => valueObjectTypeProblems(storage, member, location));\n\tif (type.kind !== \"valueObject\") return [];\n\tconst problem = valueObjectReferenceProblem(type);\n\tif (problem !== void 0) return [`${location} ${problem}`];\n\tconst namespaceId = type.namespaceId ?? \"\";\n\tconst entityName = type.entityName ?? \"\";\n\treturn valueObjectAt(storage, {\n\t\tplane: \"storage\",\n\t\tnamespaceId,\n\t\tentityKind: \"valueObject\",\n\t\tentityName\n\t}) === void 0 ? [`${location} refers to value object \"${entityName}\" in storage namespace \"${namespaceId}\", which storage.namespaces.${namespaceId}.entries.valueObject does not have`] : [];\n}\n/** What is wrong with a field's `many`, `elementNullable` and `dict`, each prefixed with `location`. */\nfunction fieldModifierProblems(location, field) {\n\tconst candidate = fieldLike(field);\n\tconst many = candidate?.many;\n\tconst isList = typeof many === \"object\" && many !== null && !Array.isArray(many) && Object.keys(many).length === 1 && \"elementNullable\" in many && typeof many.elementNullable === \"boolean\";\n\tconst problems = [];\n\tif (many !== void 0 && many !== false && !isList) problems.push(`${location} has invalid \"many\"; expected false or an elementNullable descriptor`);\n\tif (candidate?.elementNullable !== void 0) problems.push(`${location} cannot have sibling \"elementNullable\"; put it inside \"many\"`);\n\tif (isList && candidate?.dict) problems.push(`${location} cannot have both \"many\" and \"dict\" modifiers`);\n\treturn problems;\n}\n//#endregion\nexport { fieldModifierProblems as n, valueObjectTypeProblems as r, fieldLike as t };\n\n//# sourceMappingURL=field-problems-DMpmScuG.mjs.map"],"mappings":";;;AAGA,SAAS,UAAU,OAAO;CACzB,OAAO,UAAU,KAAK;AACvB;AACA,SAAS,4BAA4B,MAAM;CAC1C,IAAI,KAAK,UAAU,KAAK,KAAK,KAAK,eAAe,KAAK,GAAG,OAAO,2BAA2B,KAAK,KAAK;CACrG,IAAI,KAAK,UAAU,aAAa,KAAK,eAAe,eAAe,OAAO,wCAAwC,KAAK,MAAM,oBAAoB,KAAK,WAAW;AAClK;;AAEA,SAAS,wBAAwB,SAAS,MAAM,UAAU;CACzD,IAAI,SAAS,KAAK,GAAG,OAAO,CAAC;CAC7B,IAAI,KAAK,SAAS,SAAS,QAAQ,KAAK,WAAW,CAAC,EAAA,CAAG,SAAS,WAAW,wBAAwB,SAAS,QAAQ,QAAQ,CAAC;CAC7H,IAAI,KAAK,SAAS,eAAe,OAAO,CAAC;CACzC,MAAM,UAAU,4BAA4B,IAAI;CAChD,IAAI,YAAY,KAAK,GAAG,OAAO,CAAC,GAAG,SAAS,GAAG,SAAS;CACxD,MAAM,cAAc,KAAK,eAAe;CACxC,MAAM,aAAa,KAAK,cAAc;CACtC,OAAO,cAAc,SAAS;EAC7B,OAAO;EACP;EACA,YAAY;EACZ;CACD,CAAC,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,2BAA2B,WAAW,0BAA0B,YAAY,8BAA8B,YAAY,mCAAmC,IAAI,CAAC;AAC5L;;AAEA,SAAS,sBAAsB,UAAU,OAAO;CAC/C,MAAM,YAAY,UAAU,KAAK;CACjC,MAAM,OAAO,WAAW;CACxB,MAAM,SAAS,OAAO,SAAS,YAAY,SAAS,QAAQ,CAAC,MAAM,QAAQ,IAAI,KAAK,OAAO,KAAK,IAAI,CAAC,CAAC,WAAW,KAAK,qBAAqB,QAAQ,OAAO,KAAK,oBAAoB;CACnL,MAAM,WAAW,CAAC;CAClB,IAAI,SAAS,KAAK,KAAK,SAAS,SAAS,CAAC,QAAQ,SAAS,KAAK,GAAG,SAAS,qEAAqE;CACjJ,IAAI,WAAW,oBAAoB,KAAK,GAAG,SAAS,KAAK,GAAG,SAAS,6DAA6D;CAClI,IAAI,UAAU,WAAW,MAAM,SAAS,KAAK,GAAG,SAAS,8CAA8C;CACvG,OAAO;AACR"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as DataTypeValue, b as DataTypeParams, m as CodecRef, p as CodecLookupWithDescriptors, v as DataTypeId, y as DataTypeLookup } from "./codec-types-B4wPvO-K-
|
|
1
|
+
import { d as ExecutionMutationDefaultPhases, f as ExecutionMutationDefaultValue, r as ColumnDefault, v as JsonValue } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { T as DataTypeValue, b as DataTypeParams, m as CodecRef, p as CodecLookupWithDescriptors, v as DataTypeId, y as DataTypeLookup } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
3
3
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
4
4
|
import { Type } from "arktype";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1013,4 +1013,4 @@ declare function instantiateAuthoringTypeConstructorFromValues(descriptor: Autho
|
|
|
1013
1013
|
declare function instantiateAuthoringEntityType<TOutput = unknown>(helperPath: string, descriptor: AuthoringEntityTypeDescriptor, args: readonly unknown[], ctx: AuthoringEntityContext): TOutput;
|
|
1014
1014
|
//#endregion
|
|
1015
1015
|
export { LoweredDefaultValue as $, mergeAuthoringNamespaces as $t, AuthoringWarning as A, classifyEnumMemberType as At, DataTypeWrittenForm as B, getAuthoringTypeConstructor as Bt, AuthoringTemplateValue as C, admittedTags as Ct, AuthoringTypeConstructorEntityRef as D, assertResolvableTypeConstructorTemplates as Dt, AuthoringTypeConstructorDescriptor as E, assertNoCrossRegistryCollisions as Et, ControlMutationDefaultEntry as F, describeRefusedValueType as Ft, GeneratorFunctionComponent as G, isAuthoringArgRef as Gt, EMPTY_GENERATOR_FUNCTIONS as H, instantiateAuthoringTypeAlias as Ht, ControlMutationDefaultRegistry as I, entryForPlain as It, GeneratorFunctionRegistry as J, isAuthoringPslBlockDescriptor as Jt, GeneratorFunctionContribution as K, isAuthoringEntityTypeDescriptor as Kt, ControlMutationDefaults as L, entryForTag as Lt, BindingResolution as M, describeAdmittedForms as Mt, CastRefusal as N, describeExpected as Nt, AuthoringTypeNamespace as O, assertTypeAliasesValid as Ot, ContributedPslDiagnosticCode as P, describeRefusal as Pt, LoweredDefaultResult as Q, knownTags as Qt, DataTypeAuthoringEntry as R, exactRewrite as Rt, AuthoringStorageTypeTemplate as S, admittedForms as St, AuthoringTypeAliasOutput as T, assertNoAuthoringFieldNamespace as Tt, GeneratorFunctionBinding as U, instantiateAuthoringTypeConstructor as Ut, DefaultFunctionLoweringContext as V, instantiateAuthoringEntityType as Vt, GeneratorFunctionCall as W, instantiateAuthoringTypeConstructorFromValues as Wt, GeneratorFunctionSummary as X, isAuthoringTypeConstructorDescriptor as Xt, GeneratorFunctionResolution as Y, isAuthoringTypeAliasDescriptor as Yt, GeneratorPhase as Z, isAuthoringTypeDescriptor as Zt, AuthoringModelAttributeEntityOutput as _, SourceSpan as _t, AuthoringAttributeSpecContributions as a, resolveTypeAliasGenerators as an, PslExtensionBlock as at, AuthoringPslBlockDescriptor as b, WrittenScalar as bt, AuthoringDiagnosticSink as c, validateAuthoringHelperArguments as cn, PslExtensionBlockParsedAttribute as ct, AuthoringEntityTypeFactoryOutput as d, PslSpan as dt, readWrittenValue as en, MutationDefaultGeneratorDescriptor as et, AuthoringEntityTypeNamespace as f, ReadRefusal as ft, AuthoringModelAttributeDescriptorNamespace as g, SourceDiagnostic as gt, AuthoringModelAttributeDescriptor as h, ScalarTypeConstructorOutput as ht, AuthoringArgumentDescriptor as i, resolveEnumCodecId as in, PslDiagnosticCode as it, AuthoringWarningSink as j, collectScalarTypeConstructors as jt, AuthoringTypeParamsIssue as k, castTypedValue as kt, AuthoringEntityContext as l, validateAuthoringTypeParams as ln, PslExtensionBlockPrintEntry as lt, AuthoringModelAttributeContext as m, RefusalGuidance as mt, AssembledControlMutationDefaults as n, readWrittenValueIntoCodec as nn, PrintedArguments as nt, AuthoringContributions as o, singleGeneratorBinding as on, PslExtensionBlockAttribute as ot, AuthoringEntityTypeTemplateOutput as p, RefusalDescription as pt, GeneratorFunctionField as q, isAuthoringModelAttributeDescriptor as qt, AuthoringArgRef as r, resolveAuthoringTemplateValue as rn, PrintedGeneratorCall as rt, AuthoringDescriptorKinds as s, tagForm as sn, PslExtensionBlockAttributeArg as st, AUTHORING_TYPE_DESCRIPTOR_KINDS as t, readWrittenValueAs as tn, ParsedPslExtensionBlock as tt, AuthoringEntityTypeDescriptor as u, PslPosition as ut, AuthoringModelAttributeIndexOutput as v, TypedDefaultFunctionCall as vt, AuthoringTypeAliasDescriptor as w, assembleGeneratorFunctions as wt, AuthoringPslBlockDescriptorNamespace as x, WrittenValue as xt, AuthoringModelAttributeLoweringOutput as y, WrittenForm as yt, DataTypeSupport as z, flushAuthoringWarnings as zt };
|
|
1016
|
-
//# sourceMappingURL=framework-authoring-ebqZ8M_M-
|
|
1016
|
+
//# sourceMappingURL=framework-authoring-ebqZ8M_M-Bdi8MutX.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-authoring-ebqZ8M_M-
|
|
1
|
+
{"version":3,"file":"framework-authoring-ebqZ8M_M-Bdi8MutX.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/framework-authoring-ebqZ8M_M.d.mts"],"mappings":";;;;;;;UAMU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;WACP,OAAO,SAAS;;UAEjB;WACC;WACA;WACA;WACA;;;KAGN;WACM;WACA,cAAc;;KAEpB;WACM;WACA,OAAO;;WAEP;WACA,YAAY;;UAEb;WACC;;UAED;WACC;WACA,MAAM;WACN,MAAM,SAAS;;UAEhB;WACC;WACA,QAAQ;aACN,MAAM;aACN,SAAS;QACd;WACG;;KAEN,iCAAiC,oBAAoB;UAChD;WACC,yBAAyB;WACzB,+BAA+B;;;UAGhC,yCAAyC;;WAExC,yBAAyB;;;;;KAK/B;;UAEK;WACC;WACA,YAAY,SAAS;;WAErB;;;UAGD;WACC;WACA,MAAM,SAAS;;;KAGrB;WACM;WACA,WAAW;;WAEX;WACA;;;UAGD;WACC,MAAM,SAAS;WACf;;UAED;WACC;;WAEA;WACA,UAAU;aACR,MAAM,SAAS;aACf,OAAO;QACZ;;WAEG,iBAAiB,WAAW,+BAA+B,OAAO,2BAA2B;;UAE9F;WACC;;WAEA;WACA,mBAAmB;;UAEpB;WACC;WACA;;KAEN;WACM;WACA,WAAW;;WAEX;WACA;WACA;;WAEA;WACA;WACA;;;UAGD;WACC,MAAM;WACN;;UAED;EACR,aAAa,2BAA2B;EACxC,IAAI;EACJ,QAAQ,MAAM,uBAAuB,OAAO,yBAAyB;EACrE,QA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S;;;;iBAInE,8CAA8C,YAAY,oCAAoC,4BAA4B,cAAc,wCAAwC,OAAO,6BAA6B;iBACpN,+BAA+B,mBAAmB,oBAAoB,YAAY,+BAA+B,0BAA0B,KAAK,yBAAyB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as DataType, t as AnyCodecDescriptor } from "./codec-types-B4wPvO-K-
|
|
2
|
-
import { K as GeneratorFunctionContribution, L as ControlMutationDefaults, o as AuthoringContributions } from "./framework-authoring-ebqZ8M_M-
|
|
3
|
-
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-Bkh243Hv-
|
|
1
|
+
import { _ as DataType, t as AnyCodecDescriptor } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
2
|
+
import { K as GeneratorFunctionContribution, L as ControlMutationDefaults, o as AuthoringContributions } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
3
|
+
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-Bkh243Hv-BI9m5WFL.mjs";
|
|
4
4
|
//#region ../../../1-framework/1-core/framework-components/dist/framework-components-BqHA1V92.d.mts
|
|
5
5
|
//#region src/shared/framework-components.d.ts
|
|
6
6
|
/**
|
|
@@ -330,4 +330,4 @@ interface ExtensionInstance<TFamilyId extends string, TTargetId extends string>
|
|
|
330
330
|
}
|
|
331
331
|
//#endregion
|
|
332
332
|
export { checkContractComponentRequirements as C, TargetPackRef as S, PackRefBase as _, ComponentMetadata as a, TargetDescriptor as b, DriverDescriptor as c, ExtensionDescriptor as d, ExtensionInstance as f, FamilyPackRef as g, FamilyInstance as h, ComponentDescriptor as i, DriverInstance as l, FamilyDescriptor as m, AdapterInstance as n, ContractComponentRequirementsCheckInput as o, ExtensionPackRef as p, AdapterPackRef as r, ContractComponentRequirementsCheckResult as s, AdapterDescriptor as t, DriverPackRef as u, SessionSettings as v, TargetInstance as x, TargetBoundComponentDescriptor as y };
|
|
333
|
-
//# sourceMappingURL=framework-components-BqHA1V92-
|
|
333
|
+
//# sourceMappingURL=framework-components-BqHA1V92-D_nUDFf9.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-components-BqHA1V92-
|
|
1
|
+
{"version":3,"file":"framework-components-BqHA1V92-D_nUDFf9.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/framework-components-BqHA1V92.d.mts"],"mappings":";;;;;;;;UAOU;;WAEC;;;;;;WAMA,eAAe;;WAEf;aACE;;;;eAIE,SAAS;;;;;;;;eAQT,cAAc,cAAc;;;;eAI5B,2BAA2B;;;;eAI3B,oBAAoB;;;;eAIpB,mBAAmB,cAAc;;;;;aAKnC,uBAAuB,cAAc;aACrC;eACE,QAAQ;;;;;;;;;WASZ,YAAY,cAAc;;;;;;WAM1B,YAAY;;;;WAIZ,0BAA0B;;;;WAI1B,8BAA8B;;;;;;;;;;;;;;;;;UAiB/B,oBAAoB,6BAA6B;;WAEhD,MAAM;;WAEN;;UAED;WACC;aACE;aACA;aACA,aAAa;;WAEf;WACA;WACA,sBAAsB;;UAEvB;WACC;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;iBAEM,mCAAmC,OAAO,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;UA0B3F,iBAAiB,kCAAkC;;WAElD,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4BhB,kBAAkB,SAAS;UACtB,iBAAiB,0BAA0B,kCAAkC;;WAE5E,UAAU;;WAEV,UAAU;;WAEV;;WAEA,kBAAkB;;;;;UAKnB,YAAY,qBAAqB,kCAAkC;WAClE,MAAM;WACN;WACA,UAAU;WACV;WACA,YAAY;;KAElB,cAAc,qCAAqC,sBAAsB;KACzE,cAAc,mCAAmC,qCAAqC,sBAAsB;WACtG,UAAU;;WAEV;WACA;;WAEA;;KAEN,eAAe,mCAAmC,qCAAqC,uBAAuB;WACxG,UAAU;;KAEhB,iBAAiB,mCAAmC,qCAAqC,yBAAyB;WAC5G,UAAU;;KAEhB,cAAc,mCAAmC,qCAAqC,sBAAsB;WACtG,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA4BX,kBAAkB,0BAA0B,kCAAkC;;WAE7E,UAAU;;WAEV,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA6BX,iBAAiB,0BAA0B,kCAAkC;;WAE5E,UAAU;;WAEV,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA4BX,oBAAoB,0BAA0B,kCAAkC;;WAE/E,UAAU;;WAEV,UAAU;;;KAGhB,+BAA+B,0BAA0B,4BAA4B,iBAAiB,WAAW,aAAa,kBAAkB,WAAW,aAAa,iBAAiB,WAAW,aAAa,oBAAoB,WAAW;UAC3O,eAAe;WACd,UAAU;;UAEX,eAAe,0BAA0B;WACxC,UAAU;WACV,UAAU;;UAEX,gBAAgB,0BAA0B;WACzC,UAAU;WACV,UAAU;;UAEX,eAAe,0BAA0B;WACxC,UAAU;WACV,UAAU;;UAEX,kBAAkB,0BAA0B;WAC3C,UAAU;WACV,UAAU"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ContractExecutionSection } from "./contract-types-
|
|
3
|
-
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-
|
|
1
|
+
import { T as StorageHashBase, l as ExecutionHashBase, u as ExecutionMutationDefault, x as ProfileHashBase } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { n as ContractExecutionSection } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
3
|
+
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-BIS6ONYT-VttZI7M4.mjs";
|
|
4
4
|
//#region ../../../1-framework/0-foundation/contract/dist/hashing.d.mts
|
|
5
5
|
//#region src/build-execution-section.d.ts
|
|
6
6
|
/**
|
|
@@ -33,4 +33,4 @@ declare function computeProfileHash(args: {
|
|
|
33
33
|
}): ProfileHashBase<string>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { computeStorageHash as i, computeExecutionHash as n, computeProfileHash as r, buildExecutionSection as t };
|
|
36
|
-
//# sourceMappingURL=hashing-
|
|
36
|
+
//# sourceMappingURL=hashing-Ca2uTBmm.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashing-
|
|
1
|
+
{"version":3,"file":"hashing-Ca2uTBmm.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/hashing.d.mts"],"mappings":";;;;;;;;iBAOiB,sBAAsB;WAC5B;WACA;WACA,UAAU,cAAc;IAC/B;;;KAGC;EACH;EACA;EACA,SAAS;WACA,sBAAsB;WACtB,cAAc;;iBAER,mBAAmB,MAAM,yBAAyB;iBAClD,qBAAqB;EACpC;EACA;EACA,WAAW;IACT;iBACa,mBAAmB;EAClC;EACA;EACA,cAAc,eAAe;IAC3B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-
|
|
1
|
+
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-BIS6ONYT-VttZI7M4.mjs";
|
|
2
2
|
//#region ../../../1-framework/0-foundation/contract/dist/hashing-utils.d.mts
|
|
3
3
|
//#region src/canonicalization-path-match.d.ts
|
|
4
4
|
type PathSegment = string | '*' | readonly string[];
|
|
@@ -17,4 +17,4 @@ declare function compareByNameProperty(a: unknown, b: unknown): number;
|
|
|
17
17
|
declare function createStorageSort(targets: readonly NamedArraySortTarget[], compare?: (a: unknown, b: unknown) => number): StorageSort;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { compareByNameProperty as a, createStorageSort as c, PathSegment$1 as i, matchesPathPattern as l, PathPattern as n, compareCodeUnits as o, PathSegment as r, createPreserveEmptyPredicate as s, NamedArraySortTarget as t };
|
|
20
|
-
//# sourceMappingURL=hashing-utils-
|
|
20
|
+
//# sourceMappingURL=hashing-utils-daflaalA.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashing-utils-
|
|
1
|
+
{"version":3,"file":"hashing-utils-daflaalA.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/hashing-utils.d.mts"],"mappings":";;;KAEK;KACA,uBAAuB;iBACX,mBAAmB,yBAAyB,SAAS;iBACrD,6BAA6B,mBAAmB,gBAAgB;;;KAG5E;UACK;WACC,eAAe;WACf;;iBAEM,iBAAiB,WAAW;iBAC5B,sBAAsB,YAAY;iBAClC,kBAAkB,kBAAkB,wBAAwB,WAAW,YAAY,wBAAwB"}
|
package/dist/ids__runtime.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as GeneratedValueSpec } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
2
|
//#region ../../../1-framework/2-authoring/ids/dist/runtime.d.mts
|
|
3
3
|
//#region src/runtime.d.ts
|
|
4
4
|
declare function generateId(spec: GeneratedValueSpec): string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
|
+
import { t as canonicalStringify } from "./canonical-stringify-DY4NaAJi.mjs";
|
|
2
3
|
import { t as InternalError } from "./internal-error-ChGYPVpq-DhUD05u0.mjs";
|
|
3
4
|
import { t as isPlainRecord } from "./is-plain-record-CUofyVQ7-DWEzdhIx.mjs";
|
|
4
5
|
import { n as runtimeError } from "./runtime-error-BA9d7XjZ-BlT8t6LB.mjs";
|
|
@@ -133,6 +134,21 @@ function coordinateKey(coordinate) {
|
|
|
133
134
|
].map((value) => JSON.stringify(value)).join("-");
|
|
134
135
|
}
|
|
135
136
|
/**
|
|
137
|
+
* The storage entities that differ between two `Storage`-shaped values: added, removed, or with
|
|
138
|
+
* different content. Content is compared as JSON, ignoring key order. Sorted by namespace id,
|
|
139
|
+
* entity kind and entity name. With no earlier storage, every entity counts as added.
|
|
140
|
+
*/
|
|
141
|
+
function changedElementCoordinates(from, to) {
|
|
142
|
+
const contentAt = (storage, coordinate) => {
|
|
143
|
+
if (storage === null) return void 0;
|
|
144
|
+
const entity = entityAt(storage, coordinate);
|
|
145
|
+
return entity === void 0 ? void 0 : canonicalStringify(JSON.parse(JSON.stringify(entity)));
|
|
146
|
+
};
|
|
147
|
+
const coordinates = /* @__PURE__ */ new Map();
|
|
148
|
+
for (const coordinate of [...from === null ? [] : elementCoordinates(from), ...elementCoordinates(to)]) coordinates.set(coordinateKey(coordinate), coordinate);
|
|
149
|
+
return [...coordinates.values()].filter((coordinate) => contentAt(from, coordinate) !== contentAt(to, coordinate)).sort((a, b) => a.namespaceId.localeCompare(b.namespaceId, "en") || a.entityKind.localeCompare(b.entityKind, "en") || a.entityName.localeCompare(b.entityName, "en"));
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
136
152
|
* Looks up a single entity in a `Storage`-shaped value by its full coordinate.
|
|
137
153
|
* Returns `undefined` if the namespace, entity kind, or entity name is absent.
|
|
138
154
|
* The type parameter is a caller assertion — the walk itself is structural
|
|
@@ -149,6 +165,6 @@ function entityAt(storage, coord) {
|
|
|
149
165
|
return blindCast(kindMap[coord.entityName]);
|
|
150
166
|
}
|
|
151
167
|
//#endregion
|
|
152
|
-
export {
|
|
168
|
+
export { domainElementCoordinates as a, hydrateNamespaceEntities as c, coordinateKey as i, promoteBuiltinKinds as l, buildSingleNamespaceView as n, elementCoordinates as o, changedElementCoordinates as r, entityAt as s, buildNamespacedEntities as t };
|
|
153
169
|
|
|
154
|
-
//# sourceMappingURL=ir-
|
|
170
|
+
//# sourceMappingURL=ir-B7QKO3dq.mjs.map
|