@prisma/orm-framework 8.0.0-rc.21-dev.5 → 8.0.0-rc.21-dev.7

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.
Files changed (178) hide show
  1. package/dist/{apply-specifier-default-control-policy-Dlz0iwnK.d.mts → apply-specifier-default-control-policy-BSgLNgKj.d.mts} +2 -2
  2. package/dist/apply-specifier-default-control-policy-BSgLNgKj.d.mts.map +1 -0
  3. package/dist/{authoring-C2UAuRfN.d.mts → authoring-BKOoGNxH.d.mts} +58 -6
  4. package/dist/authoring-BKOoGNxH.d.mts.map +1 -0
  5. package/dist/{authoring-4wc_1ETR.mjs → authoring-CcfXu8Dz.mjs} +377 -31
  6. package/dist/authoring-CcfXu8Dz.mjs.map +1 -0
  7. package/dist/{framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts → authoring-type-choice-CHcRX0RP-CkG1L8a9.d.mts} +113 -29
  8. package/dist/authoring-type-choice-CHcRX0RP-CkG1L8a9.d.mts.map +1 -0
  9. package/dist/{binder-BszqDG1t-icu83_4f.d.mts → binder-CMy3WM5A-DRrDzBAq.d.mts} +38 -20
  10. package/dist/{binder-BszqDG1t-icu83_4f.d.mts.map → binder-CMy3WM5A-DRrDzBAq.d.mts.map} +1 -1
  11. package/dist/{canonicalization-CyrrXGmj-CeKUkht1.d.mts → canonicalization-BIS6ONYT-VttZI7M4.d.mts} +3 -3
  12. package/dist/{canonicalization-CyrrXGmj-CeKUkht1.d.mts.map → canonicalization-BIS6ONYT-VttZI7M4.d.mts.map} +1 -1
  13. package/dist/{codec-CZ3VQq7G.d.mts → codec-h0kvF5B8.d.mts} +4 -3
  14. package/dist/codec-h0kvF5B8.d.mts.map +1 -0
  15. package/dist/{codec-types-B4wPvO-K-BqcGrCE-.d.mts → codec-types-B4wPvO-K-BIPFT7EP.d.mts} +2 -2
  16. package/dist/{codec-types-B4wPvO-K-BqcGrCE-.d.mts.map → codec-types-B4wPvO-K-BIPFT7EP.d.mts.map} +1 -1
  17. package/dist/{components-BenCVFk4.d.mts → components-BvnVHOK3.d.mts} +5 -5
  18. package/dist/{components-BenCVFk4.d.mts.map → components-BvnVHOK3.d.mts.map} +1 -1
  19. package/dist/components.d.mts +17 -17
  20. package/dist/components.mjs +5 -5
  21. package/dist/components__authoring.d.mts +4 -4
  22. package/dist/components__authoring.mjs +3 -3
  23. package/dist/components__codec.d.mts +2 -2
  24. package/dist/components__components.d.mts +4 -4
  25. package/dist/components__control.d.mts +4 -4
  26. package/dist/components__control.mjs +2 -2
  27. package/dist/components__emission.d.mts +3 -3
  28. package/dist/components__execution.d.mts +1 -1
  29. package/dist/components__ir.d.mts +2 -2
  30. package/dist/components__ir.mjs +2 -2
  31. package/dist/components__psl-ast.d.mts +3 -3
  32. package/dist/components__runtime.d.mts +1 -1
  33. package/dist/{config-types-BJ79TZCl.d.mts → config-types-De3gHQOy.d.mts} +8 -8
  34. package/dist/{config-types-BJ79TZCl.d.mts.map → config-types-De3gHQOy.d.mts.map} +1 -1
  35. package/dist/config.d.mts +1 -1
  36. package/dist/config__config-types.d.mts +1 -1
  37. package/dist/contract-authoring.d.mts +6 -6
  38. package/dist/contract-authoring.mjs +3 -3
  39. package/dist/{contract-types-DEIEpzU_-DvAVuBr5.d.mts → contract-types-ib-VnKHG-l9vE5Vd-.d.mts} +22 -8
  40. package/dist/contract-types-ib-VnKHG-l9vE5Vd-.d.mts.map +1 -0
  41. package/dist/contract.d.mts +13 -11
  42. package/dist/contract.mjs +5 -3
  43. package/dist/contract__apply-specifier-default-control-policy.d.mts +1 -1
  44. package/dist/contract__enum-accessor.d.mts +1 -1
  45. package/dist/contract__hashing-utils.d.mts +1 -1
  46. package/dist/contract__hashing.d.mts +2 -2
  47. package/dist/contract__resolve-domain-model.d.mts +1 -1
  48. package/dist/contract__types.d.mts +6 -5
  49. package/dist/contract__types.mjs +3 -2
  50. package/dist/contract__validate-domain.d.mts +2 -2
  51. package/dist/contract__validate-domain.mjs +2 -2
  52. package/dist/contract__validate-storage.d.mts +2 -0
  53. package/dist/contract__validate-storage.mjs +2 -0
  54. package/dist/{control-DLpQIwer.mjs → control-BE0sjzPI.mjs} +6 -2
  55. package/dist/control-BE0sjzPI.mjs.map +1 -0
  56. package/dist/{control-BeXOxtXA-BU8y-LiK.d.mts → control-BeXOxtXA-DOfRFBDx.d.mts} +2 -2
  57. package/dist/{control-BeXOxtXA-BU8y-LiK.d.mts.map → control-BeXOxtXA-DOfRFBDx.d.mts.map} +1 -1
  58. package/dist/{control-CS1uqJj_.d.mts → control-DanUY6NX.d.mts} +24 -12
  59. package/dist/control-DanUY6NX.d.mts.map +1 -0
  60. package/dist/{control-MllEQmML-yjvIIvnf.mjs → control-MllEQmML-BgM0TgK3.mjs} +2 -2
  61. package/dist/{control-MllEQmML-yjvIIvnf.mjs.map → control-MllEQmML-BgM0TgK3.mjs.map} +1 -1
  62. package/dist/control-QJnHVB3m.d.mts +1 -0
  63. package/dist/{declarations-BgUAq1RG-D99LhVXe.mjs → declarations-BgUAq1RG-DvmyJ8LS.mjs} +2 -2
  64. package/dist/{declarations-BgUAq1RG-D99LhVXe.mjs.map → declarations-BgUAq1RG-DvmyJ8LS.mjs.map} +1 -1
  65. package/dist/domain-envelope-CJNIHBn_-DBFAmkNL.d.mts +191 -0
  66. package/dist/domain-envelope-CJNIHBn_-DBFAmkNL.d.mts.map +1 -0
  67. package/dist/emission-DGYCaKjl.d.mts +2 -0
  68. package/dist/{emission-types-bX2HmNSC-C9vDMKbg.d.mts → emission-types-bX2HmNSC-vaRddb1_.d.mts} +6 -5
  69. package/dist/emission-types-bX2HmNSC-vaRddb1_.d.mts.map +1 -0
  70. package/dist/{enum-accessor-2OZgavDX.d.mts → enum-accessor-BXc2Jseo.d.mts} +4 -3
  71. package/dist/enum-accessor-BXc2Jseo.d.mts.map +1 -0
  72. package/dist/errors.d.mts +4 -4
  73. package/dist/errors.mjs +3 -3
  74. package/dist/errors__control.d.mts +2 -2
  75. package/dist/errors__control.mjs +1 -1
  76. package/dist/errors__execution.d.mts +1 -1
  77. package/dist/errors__execution.mjs +1 -1
  78. package/dist/errors__migration.d.mts +1 -1
  79. package/dist/errors__migration.mjs +1 -1
  80. package/dist/{execution-CXXKXfwB.mjs → execution-BkFLjpfc.mjs} +2 -2
  81. package/dist/{execution-CXXKXfwB.mjs.map → execution-BkFLjpfc.mjs.map} +1 -1
  82. package/dist/{execution-BWR_z8XI.d.mts → execution-C_12rfIR.d.mts} +2 -2
  83. package/dist/{execution-BWR_z8XI.d.mts.map → execution-C_12rfIR.d.mts.map} +1 -1
  84. package/dist/{execution-BPJbNttJ.d.mts → execution-CyddhERj.d.mts} +2 -2
  85. package/dist/{execution-BPJbNttJ.d.mts.map → execution-CyddhERj.d.mts.map} +1 -1
  86. package/dist/{expressions-CMQzbnHk-Db8YJA0B.mjs → expressions-CMQzbnHk-B7zBWJ0c.mjs} +2 -2
  87. package/dist/{expressions-CMQzbnHk-Db8YJA0B.mjs.map → expressions-CMQzbnHk-B7zBWJ0c.mjs.map} +1 -1
  88. package/dist/field-problems-DMpmScuG-R70w-aDk.mjs +41 -0
  89. package/dist/field-problems-DMpmScuG-R70w-aDk.mjs.map +1 -0
  90. package/dist/{framework-components-BqHA1V92-D9j8uXa-.d.mts → framework-components-GBAmsfWO-DUJQpMpU.d.mts} +5 -5
  91. package/dist/{framework-components-BqHA1V92-D9j8uXa-.d.mts.map → framework-components-GBAmsfWO-DUJQpMpU.d.mts.map} +1 -1
  92. package/dist/{hashing-D-DHz0zl.d.mts → hashing-Ca2uTBmm.d.mts} +4 -4
  93. package/dist/{hashing-D-DHz0zl.d.mts.map → hashing-Ca2uTBmm.d.mts.map} +1 -1
  94. package/dist/{hashing-utils-DiGHKd3b.d.mts → hashing-utils-daflaalA.d.mts} +2 -2
  95. package/dist/{hashing-utils-DiGHKd3b.d.mts.map → hashing-utils-daflaalA.d.mts.map} +1 -1
  96. package/dist/ids__runtime.d.mts +1 -1
  97. package/dist/{ir-uDGU9vaj.mjs → ir-B7QKO3dq.mjs} +18 -2
  98. package/dist/ir-B7QKO3dq.mjs.map +1 -0
  99. package/dist/{ir-LV4tXsw3.d.mts → ir-DoVMhmqa.d.mts} +10 -25
  100. package/dist/ir-DoVMhmqa.d.mts.map +1 -0
  101. package/dist/{migration-Dk1sYIvs.d.mts → migration-B7ur91Et.d.mts} +2 -2
  102. package/dist/{migration-Dk1sYIvs.d.mts.map → migration-B7ur91Et.d.mts.map} +1 -1
  103. package/dist/{migration-B1TEF2ij.mjs → migration-CQufZA_7.mjs} +2 -2
  104. package/dist/{migration-B1TEF2ij.mjs.map → migration-CQufZA_7.mjs.map} +1 -1
  105. package/dist/{parse-bZgfjovA-CaBuZnet.mjs → parse-bZgfjovA-Vk8LMIu5.mjs} +3 -3
  106. package/dist/{parse-bZgfjovA-CaBuZnet.mjs.map → parse-bZgfjovA-Vk8LMIu5.mjs.map} +1 -1
  107. package/dist/{parse-djL5wker-DnMlKOii.d.mts → parse-djL5wker-4_2Cqwev.d.mts} +6 -6
  108. package/dist/{parse-djL5wker-DnMlKOii.d.mts.map → parse-djL5wker-4_2Cqwev.d.mts.map} +1 -1
  109. package/dist/{psl-ast-0oMzInxd-Nx9cHmcc.d.mts → psl-ast-B4ZxpQdr-DT9LRqBC.d.mts} +3 -3
  110. package/dist/{psl-ast-0oMzInxd-Nx9cHmcc.d.mts.map → psl-ast-B4ZxpQdr-DT9LRqBC.d.mts.map} +1 -1
  111. package/dist/psl-ast-Dsf1-QLK.d.mts +2 -0
  112. package/dist/psl-parser.d.mts +24 -15
  113. package/dist/psl-parser.d.mts.map +1 -1
  114. package/dist/psl-parser.mjs +29 -43
  115. package/dist/psl-parser.mjs.map +1 -1
  116. package/dist/psl-parser__format.d.mts +1 -1
  117. package/dist/psl-parser__format.mjs +3 -3
  118. package/dist/psl-parser__interpret.d.mts +65 -23
  119. package/dist/psl-parser__interpret.d.mts.map +1 -1
  120. package/dist/psl-parser__interpret.mjs +135 -140
  121. package/dist/psl-parser__interpret.mjs.map +1 -1
  122. package/dist/psl-parser__syntax.d.mts +1 -1
  123. package/dist/psl-parser__syntax.mjs +3 -3
  124. package/dist/psl-printer.d.mts +4 -4
  125. package/dist/psl-printer.mjs +1 -1
  126. package/dist/{resolve-domain-model-BNr1glea-BLuR-phK.d.mts → resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts} +3 -3
  127. package/dist/resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts.map +1 -0
  128. package/dist/{runtime-CTJc8PII.d.mts → runtime-BERs-lBJ.d.mts} +4 -4
  129. package/dist/{runtime-CTJc8PII.d.mts.map → runtime-BERs-lBJ.d.mts.map} +1 -1
  130. package/dist/storage-value-objects-Di8Cowdl-QNqJXkk0.mjs +28 -0
  131. package/dist/storage-value-objects-Di8Cowdl-QNqJXkk0.mjs.map +1 -0
  132. package/dist/{temporal-type-aliases-C9tIy4rv-Dsun86cY.mjs → temporal-type-aliases-BI3SL5iB-DIP8j4Gv.mjs} +383 -172
  133. package/dist/temporal-type-aliases-BI3SL5iB-DIP8j4Gv.mjs.map +1 -0
  134. package/dist/{temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts → temporal-type-aliases-D5QWPhYa-BNKiNvmd.d.mts} +4 -4
  135. package/dist/{temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts.map → temporal-type-aliases-D5QWPhYa-BNKiNvmd.d.mts.map} +1 -1
  136. package/dist/type-constructor-calls-Bfg5ojed-DYHnzC9z.mjs +538 -0
  137. package/dist/type-constructor-calls-Bfg5ojed-DYHnzC9z.mjs.map +1 -0
  138. package/dist/{types-B8ULzMAX.mjs → types-Boh5NGDz.mjs} +52 -9
  139. package/dist/types-Boh5NGDz.mjs.map +1 -0
  140. package/dist/types-CkFfDIud-C1u8M2UE.d.mts +196 -0
  141. package/dist/types-CkFfDIud-C1u8M2UE.d.mts.map +1 -0
  142. package/dist/{types-GNXJ7xW2.d.mts → types-Dh_AMVRf.d.mts} +145 -25
  143. package/dist/types-Dh_AMVRf.d.mts.map +1 -0
  144. package/dist/{types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts → types-import-spec-Bkh243Hv-BI9m5WFL.d.mts} +3 -3
  145. package/dist/{types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts.map → types-import-spec-Bkh243Hv-BI9m5WFL.d.mts.map} +1 -1
  146. package/dist/{validate-domain-CbXHDYpF.mjs → validate-domain-KUhPCj7i.mjs} +18 -35
  147. package/dist/validate-domain-KUhPCj7i.mjs.map +1 -0
  148. package/dist/{validate-domain-B5kmlBFB.d.mts → validate-domain-eU07L3vi.d.mts} +7 -3
  149. package/dist/{validate-domain-B5kmlBFB.d.mts.map → validate-domain-eU07L3vi.d.mts.map} +1 -1
  150. package/dist/validate-storage-CGeJ-62G.mjs +31 -0
  151. package/dist/validate-storage-CGeJ-62G.mjs.map +1 -0
  152. package/dist/validate-storage-ChcQuhTb.d.mts +10 -0
  153. package/dist/validate-storage-ChcQuhTb.d.mts.map +1 -0
  154. package/package.json +16 -15
  155. package/dist/apply-specifier-default-control-policy-Dlz0iwnK.d.mts.map +0 -1
  156. package/dist/authoring-4wc_1ETR.mjs.map +0 -1
  157. package/dist/authoring-C2UAuRfN.d.mts.map +0 -1
  158. package/dist/codec-CZ3VQq7G.d.mts.map +0 -1
  159. package/dist/contract-types-DEIEpzU_-DvAVuBr5.d.mts.map +0 -1
  160. package/dist/control-B3OS8JEw.d.mts +0 -1
  161. package/dist/control-CS1uqJj_.d.mts.map +0 -1
  162. package/dist/control-DLpQIwer.mjs.map +0 -1
  163. package/dist/domain-envelope-CN721GnP-4huRt7Wc.d.mts +0 -373
  164. package/dist/domain-envelope-CN721GnP-4huRt7Wc.d.mts.map +0 -1
  165. package/dist/emission-ByTWEe2j.d.mts +0 -2
  166. package/dist/emission-types-bX2HmNSC-C9vDMKbg.d.mts.map +0 -1
  167. package/dist/enum-accessor-2OZgavDX.d.mts.map +0 -1
  168. package/dist/framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts.map +0 -1
  169. package/dist/ir-LV4tXsw3.d.mts.map +0 -1
  170. package/dist/ir-uDGU9vaj.mjs.map +0 -1
  171. package/dist/psl-ast-CFQfCJeM.d.mts +0 -2
  172. package/dist/resolve-domain-model-BNr1glea-BLuR-phK.d.mts.map +0 -1
  173. package/dist/temporal-type-aliases-C9tIy4rv-Dsun86cY.mjs.map +0 -1
  174. package/dist/type-constructor-calls-CNd1Xlw2-CfYTYNSm.mjs +0 -306
  175. package/dist/type-constructor-calls-CNd1Xlw2-CfYTYNSm.mjs.map +0 -1
  176. package/dist/types-B8ULzMAX.mjs.map +0 -1
  177. package/dist/types-GNXJ7xW2.d.mts.map +0 -1
  178. package/dist/validate-domain-CbXHDYpF.mjs.map +0 -1
@@ -3,6 +3,56 @@ import { n as contractError, r as soleDomainNamespaceId } from "./default-namesp
3
3
  import { t as asNamespaceId } from "./namespace-id-asbWpwMw-3yxn-tRe.mjs";
4
4
  import { type } from "arktype";
5
5
  //#region ../../../1-framework/0-foundation/contract/dist/types.mjs
6
+ const ScalarFieldTypeSchema = type({
7
+ "+": "reject",
8
+ kind: "'scalar'",
9
+ codecId: "string",
10
+ "typeParams?": "Record<string, unknown>"
11
+ });
12
+ const ValueObjectReferenceSchema = type({
13
+ "+": "reject",
14
+ kind: "'valueObject'",
15
+ plane: "'storage'",
16
+ namespaceId: "string",
17
+ entityKind: "'valueObject'",
18
+ entityName: "string"
19
+ });
20
+ const UnionFieldTypeSchema = type({
21
+ "+": "reject",
22
+ kind: "'union'",
23
+ members: ScalarFieldTypeSchema.or(ValueObjectReferenceSchema).array()
24
+ });
25
+ /**
26
+ * The type of a domain field or of a value object's member, `ContractFieldType`: a scalar with its codec, a value object by its storage coordinate, or a union of those. A union holds no union.
27
+ */
28
+ const ContractFieldTypeSchema = ScalarFieldTypeSchema.or(ValueObjectReferenceSchema).or(UnionFieldTypeSchema);
29
+ const StorageValueSetReferenceSchema = type({
30
+ "+": "reject",
31
+ plane: "'storage'",
32
+ namespaceId: "string",
33
+ entityKind: "'valueSet'",
34
+ entityName: "string",
35
+ "spaceId?": "string"
36
+ });
37
+ /** A value object's member, `ContractValueObjectField`. */
38
+ const ContractValueObjectFieldSchema = type({
39
+ "+": "reject",
40
+ nullable: "boolean",
41
+ type: ContractFieldTypeSchema,
42
+ "many?": type("false").or({
43
+ "+": "reject",
44
+ elementNullable: "boolean"
45
+ }),
46
+ "dict?": "true",
47
+ "valueSet?": StorageValueSetReferenceSchema
48
+ });
49
+ /**
50
+ * A value object, `ContractValueObject`: the storage entity under `storage.namespaces.<ns>.entries.valueObject.<name>` (ADR 309). The framework defines this entity kind, since domain fields refer to it; both families validate their entries against this schema.
51
+ */
52
+ const ContractValueObjectSchema = type({
53
+ "+": "reject",
54
+ fields: type({ "[string]": ContractValueObjectFieldSchema })
55
+ });
6
56
  /**
7
57
  * Resolves the effective control policy for a storage-plane node.
8
58
  *
@@ -49,13 +99,6 @@ function domainModelsAtDefaultNamespace(domain) {
49
99
  } });
50
100
  return domainNamespace.models;
51
101
  }
52
- /**
53
- * Value objects for the contract's single domain namespace, when present.
54
- * Throws when the contract does not declare exactly one namespace.
55
- */
56
- function domainValueObjectsAtDefaultNamespace(domain) {
57
- return domain.namespaces[soleDomainNamespaceId(domain)]?.valueObjects;
58
- }
59
102
  const ExecutionMutationDefaultValueSchema = type({
60
103
  "+": "reject",
61
104
  kind: "'generator'",
@@ -124,6 +167,6 @@ function isExecutionMutationDefaultValue(value) {
124
167
  return true;
125
168
  }
126
169
  //#endregion
127
- export { domainModelsAtDefaultNamespace as a, executionHash as c, isColumnDefaultLiteralInputValue as d, isExecutionMutationDefaultValue as f, crossRef as i, governingControlPolicy as l, CrossReferenceSchema as n, domainValueObjectsAtDefaultNamespace as o, profileHash as p, coreHash as r, effectiveControlPolicy as s, ContractExecutionSectionSchema as t, isColumnDefault as u };
170
+ export { CrossReferenceSchema as a, domainModelsAtDefaultNamespace as c, governingControlPolicy as d, isColumnDefault as f, profileHash as h, ContractValueObjectSchema as i, effectiveControlPolicy as l, isExecutionMutationDefaultValue as m, ContractFieldTypeSchema as n, coreHash as o, isColumnDefaultLiteralInputValue as p, ContractValueObjectFieldSchema as r, crossRef as s, ContractExecutionSectionSchema as t, executionHash as u };
128
171
 
129
- //# sourceMappingURL=types-B8ULzMAX.mjs.map
172
+ //# sourceMappingURL=types-Boh5NGDz.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-Boh5NGDz.mjs","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/types.mjs"],"sourcesContent":["import { n as soleDomainNamespaceId, r as contractError, t as UNBOUND_DOMAIN_NAMESPACE_ID } from \"./default-namespace-D4vCwkXg.mjs\";\nimport { t as resolveDomainModel } from \"./resolve-domain-model-BovPAsW2.mjs\";\nimport { t as asNamespaceId } from \"./namespace-id-asbWpwMw.mjs\";\nimport { n as valueObjectsWithCoordinates, t as valueObjectAt } from \"./storage-value-objects-Di8Cowdl.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { type } from \"arktype\";\n//#region src/contract-value-object-schema.ts\nconst ScalarFieldTypeSchema = type({\n\t\"+\": \"reject\",\n\tkind: \"'scalar'\",\n\tcodecId: \"string\",\n\t\"typeParams?\": \"Record<string, unknown>\"\n});\nconst ValueObjectReferenceSchema = type({\n\t\"+\": \"reject\",\n\tkind: \"'valueObject'\",\n\tplane: \"'storage'\",\n\tnamespaceId: \"string\",\n\tentityKind: \"'valueObject'\",\n\tentityName: \"string\"\n});\nconst UnionFieldTypeSchema = type({\n\t\"+\": \"reject\",\n\tkind: \"'union'\",\n\tmembers: ScalarFieldTypeSchema.or(ValueObjectReferenceSchema).array()\n});\n/**\n* The type of a domain field or of a value object's member, `ContractFieldType`: a scalar with its codec, a value object by its storage coordinate, or a union of those. A union holds no union.\n*/\nconst ContractFieldTypeSchema = ScalarFieldTypeSchema.or(ValueObjectReferenceSchema).or(UnionFieldTypeSchema);\nconst StorageValueSetReferenceSchema = type({\n\t\"+\": \"reject\",\n\tplane: \"'storage'\",\n\tnamespaceId: \"string\",\n\tentityKind: \"'valueSet'\",\n\tentityName: \"string\",\n\t\"spaceId?\": \"string\"\n});\n/** A value object's member, `ContractValueObjectField`. */\nconst ContractValueObjectFieldSchema = type({\n\t\"+\": \"reject\",\n\tnullable: \"boolean\",\n\ttype: ContractFieldTypeSchema,\n\t\"many?\": type(\"false\").or({\n\t\t\"+\": \"reject\",\n\t\telementNullable: \"boolean\"\n\t}),\n\t\"dict?\": \"true\",\n\t\"valueSet?\": StorageValueSetReferenceSchema\n});\n/**\n* A value object, `ContractValueObject`: the storage entity under `storage.namespaces.<ns>.entries.valueObject.<name>` (ADR 309). The framework defines this entity kind, since domain fields refer to it; both families validate their entries against this schema.\n*/\nconst ContractValueObjectSchema = type({\n\t\"+\": \"reject\",\n\tfields: type({ \"[string]\": ContractValueObjectFieldSchema })\n});\n//#endregion\n//#region src/control-policy.ts\n/**\n* Resolves the effective control policy for a storage-plane node.\n*\n* Precedence: node-level value → contract default → `'managed'`.\n*\n* Both parameters are optional raw values so this function stays node-type-agnostic\n* and can be called by any consumer (verifier, planner, etc.) without importing IR classes.\n*/\nfunction effectiveControlPolicy(nodeControl, defaultControlPolicy) {\n\treturn nodeControl ?? defaultControlPolicy ?? \"managed\";\n}\n/**\n* The control policy that governs one storage object: what a planner may change in it and, in MongoDB, whether its contract describes a validator and how the verifier grades it. An `external` contract default is a floor that no object's own policy can raise ([ADR 224](../../../../../docs/architecture%20docs/adrs/ADR%20224%20-%20Control%20Policy%20%E2%80%94%20framework-locked%20vocabulary%20and%20family-owned%20dispatch.md)); otherwise this is {@link effectiveControlPolicy}.\n*/\nfunction governingControlPolicy(subject, defaultControlPolicy) {\n\tif (defaultControlPolicy === \"external\") return \"external\";\n\treturn effectiveControlPolicy(subject?.explicitNodeControlPolicy, defaultControlPolicy);\n}\n//#endregion\n//#region src/cross-reference.ts\nconst CrossReferenceSchema = /* @__PURE__ */ blindCast(/* @__PURE__ */ type({\n\t\"+\": \"reject\",\n\tnamespace: \"string\",\n\tmodel: \"string\",\n\t\"space?\": \"string\"\n}));\nconst DEFAULT_CROSS_REF_NAMESPACE = \"__unbound__\";\nfunction crossRef(model, namespace = DEFAULT_CROSS_REF_NAMESPACE, space) {\n\treturn {\n\t\tnamespace: asNamespaceId(namespace),\n\t\tmodel,\n\t\t...space !== void 0 ? { space } : {}\n\t};\n}\n//#endregion\n//#region src/domain-namespace-access.ts\n/**\n* Models map for the contract's single domain namespace. Throws when the\n* contract does not declare exactly one namespace — bare-name access is\n* ambiguous across namespaces and must be qualified explicitly (TML-2550).\n*/\nfunction domainModelsAtDefaultNamespace(domain) {\n\tconst namespaceId = soleDomainNamespaceId(domain);\n\tconst domainNamespace = domain.namespaces[namespaceId];\n\tif (domainNamespace === void 0) throw contractError(\"CONTRACT.NAMESPACE_INVALID\", `domain namespace \"${namespaceId}\" is not present on the contract`, { meta: {\n\t\treason: \"domain-namespace-missing\",\n\t\tnamespaceId\n\t} });\n\treturn domainNamespace.models;\n}\n//#endregion\n//#region src/execution-section-schema.ts\nconst ExecutionMutationDefaultValueSchema = type({\n\t\"+\": \"reject\",\n\tkind: \"'generator'\",\n\tid: type(\"string\").narrow((value, ctx) => {\n\t\treturn /^[A-Za-z0-9][A-Za-z0-9_-]*$/.test(value) ? true : ctx.mustBe(\"a flat generator id\");\n\t}),\n\t\"params?\": \"Record<string, unknown>\"\n});\nconst ContractExecutionSectionSchema = /* @__PURE__ */ blindCast(/* @__PURE__ */ type({\n\t\"+\": \"reject\",\n\texecutionHash: \"string\",\n\tmutations: {\n\t\t\"+\": \"reject\",\n\t\tdefaults: type({\n\t\t\t\"+\": \"reject\",\n\t\t\tref: {\n\t\t\t\t\"+\": \"reject\",\n\t\t\t\tnamespace: \"string\",\n\t\t\t\tentry: \"string\",\n\t\t\t\tfield: \"string\"\n\t\t\t},\n\t\t\t\"onCreate?\": ExecutionMutationDefaultValueSchema,\n\t\t\t\"onUpdate?\": ExecutionMutationDefaultValueSchema\n\t\t}).array().readonly()\n\t}\n}));\n//#endregion\n//#region src/types.ts\nfunction executionHash(value) {\n\treturn value;\n}\nfunction coreHash(value) {\n\treturn value;\n}\nfunction profileHash(value) {\n\treturn value;\n}\n/**\n* Runtime predicate for `ColumnDefaultLiteralInputValue`. Authoring layers\n* resolve template values from caller-supplied args (typed `unknown` at the\n* boundary) and need to validate before constructing a `ColumnDefault`.\n* Accepts JSON primitives, plain arrays/objects of JSON values, and `Date`\n* instances. Rejects functions, class instances (other than `Date`),\n* `undefined`, `bigint`, `symbol`, and arrays/objects containing those.\n*/\nfunction isColumnDefaultLiteralInputValue(value) {\n\tif (value === null) return true;\n\tconst t = typeof value;\n\tif (t === \"string\" || t === \"number\" || t === \"boolean\") return true;\n\tif (value instanceof Date) return true;\n\tif (Array.isArray(value)) return value.every(isColumnDefaultLiteralInputValue);\n\tif (t === \"object\" && Object.getPrototypeOf(value) === Object.prototype) return Object.values(value).every(isColumnDefaultLiteralInputValue);\n\treturn false;\n}\nfunction isColumnDefault(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst kind = value.kind;\n\tif (kind === \"literal\") return \"value\" in value;\n\tif (kind === \"function\") return typeof value.expression === \"string\";\n\treturn false;\n}\nfunction isExecutionMutationDefaultValue(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst candidate = value;\n\tif (candidate.kind !== \"generator\") return false;\n\tif (typeof candidate.id !== \"string\") return false;\n\tif (candidate.params !== void 0 && (typeof candidate.params !== \"object\" || candidate.params === null || Array.isArray(candidate.params))) return false;\n\treturn true;\n}\n//#endregion\nexport { ContractExecutionSectionSchema, ContractFieldTypeSchema, ContractValueObjectFieldSchema, ContractValueObjectSchema, CrossReferenceSchema, UNBOUND_DOMAIN_NAMESPACE_ID, asNamespaceId, coreHash, crossRef, domainModelsAtDefaultNamespace, effectiveControlPolicy, executionHash, governingControlPolicy, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, profileHash, resolveDomainModel, soleDomainNamespaceId, valueObjectAt, valueObjectsWithCoordinates };\n\n//# sourceMappingURL=types.mjs.map"],"mappings":";;;;;AAOA,MAAM,wBAAwB,KAAK;CAClC,KAAK;CACL,MAAM;CACN,SAAS;CACT,eAAe;AAChB,CAAC;AACD,MAAM,6BAA6B,KAAK;CACvC,KAAK;CACL,MAAM;CACN,OAAO;CACP,aAAa;CACb,YAAY;CACZ,YAAY;AACb,CAAC;AACD,MAAM,uBAAuB,KAAK;CACjC,KAAK;CACL,MAAM;CACN,SAAS,sBAAsB,GAAG,0BAA0B,CAAC,CAAC,MAAM;AACrE,CAAC;;;;AAID,MAAM,0BAA0B,sBAAsB,GAAG,0BAA0B,CAAC,CAAC,GAAG,oBAAoB;AAC5G,MAAM,iCAAiC,KAAK;CAC3C,KAAK;CACL,OAAO;CACP,aAAa;CACb,YAAY;CACZ,YAAY;CACZ,YAAY;AACb,CAAC;;AAED,MAAM,iCAAiC,KAAK;CAC3C,KAAK;CACL,UAAU;CACV,MAAM;CACN,SAAS,KAAK,OAAO,CAAC,CAAC,GAAG;EACzB,KAAK;EACL,iBAAiB;CAClB,CAAC;CACD,SAAS;CACT,aAAa;AACd,CAAC;;;;AAID,MAAM,4BAA4B,KAAK;CACtC,KAAK;CACL,QAAQ,KAAK,EAAE,YAAY,+BAA+B,CAAC;AAC5D,CAAC;;;;;;;;;AAWD,SAAS,uBAAuB,aAAa,sBAAsB;CAClE,OAAO,eAAe,wBAAwB;AAC/C;;;;AAIA,SAAS,uBAAuB,SAAS,sBAAsB;CAC9D,IAAI,yBAAyB,YAAY,OAAO;CAChD,OAAO,uBAAuB,SAAS,2BAA2B,oBAAoB;AACvF;AAGA,MAAM,uBAAuC,0BAA0B,qBAAK;CAC3E,KAAK;CACL,WAAW;CACX,OAAO;CACP,UAAU;AACX,CAAC,CAAC;AACF,MAAM,8BAA8B;AACpC,SAAS,SAAS,OAAO,YAAY,6BAA6B,OAAO;CACxE,OAAO;EACN,WAAW,cAAc,SAAS;EAClC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AC,CAAC,MAAM,gCAAgC;CAC3I,OAAO;AACR;AACA,SAAS,gBAAgB,OAAO;CAC/B,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM,OAAO;CACxD,MAAM,OAAO,MAAM;CACnB,IAAI,SAAS,WAAW,OAAO,WAAW;CAC1C,IAAI,SAAS,YAAY,OAAO,OAAO,MAAM,eAAe;CAC5D,OAAO;AACR;AACA,SAAS,gCAAgC,OAAO;CAC/C,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM,OAAO;CACxD,MAAM,YAAY;CAClB,IAAI,UAAU,SAAS,aAAa,OAAO;CAC3C,IAAI,OAAO,UAAU,OAAO,UAAU,OAAO;CAC7C,IAAI,UAAU,WAAW,KAAK,MAAM,OAAO,UAAU,WAAW,YAAY,UAAU,WAAW,QAAQ,MAAM,QAAQ,UAAU,MAAM,IAAI,OAAO;CAClJ,OAAO;AACR"}
@@ -0,0 +1,196 @@
1
+ //#region ../../../1-framework/0-foundation/contract/dist/types-CkFfDIud.d.mts
2
+ //#region src/types.d.ts
3
+ /**
4
+ * Unique symbol used as the key for branding types.
5
+ */
6
+ declare const $: unique symbol;
7
+ /**
8
+ * A helper type to brand a given type with a unique identifier.
9
+ *
10
+ * @template TKey Text used as the brand key.
11
+ * @template TValue Optional value associated with the brand key. Defaults to `true`.
12
+ */
13
+ type Brand<TKey extends string | number | symbol, TValue = true> = {
14
+ [$]: { [K in TKey]: TValue; };
15
+ };
16
+ /**
17
+ * Base type for storage contract hashes.
18
+ * Emitted contract.d.ts files use this with the hash value as a type parameter:
19
+ * `type StorageHash = StorageHashBase<'abc123...'>`
20
+ */
21
+ type StorageHashBase<THash extends string> = THash & Brand<'StorageHash'>;
22
+ /**
23
+ * Base type for execution contract hashes.
24
+ * Emitted contract.d.ts files use this with the hash value as a type parameter:
25
+ * `type ExecutionHash = ExecutionHashBase<'def456...'>`
26
+ */
27
+ type ExecutionHashBase<THash extends string> = THash & Brand<'ExecutionHash'>;
28
+ declare function executionHash<const T extends string>(value: T): ExecutionHashBase<T>;
29
+ declare function coreHash<const T extends string>(value: T): StorageHashBase<T>;
30
+ /**
31
+ * Base type for profile contract hashes.
32
+ * Emitted contract.d.ts files use this with the hash value as a type parameter:
33
+ * `type ProfileHash = ProfileHashBase<'def456...'>`
34
+ */
35
+ type ProfileHashBase<THash extends string> = THash & Brand<'ProfileHash'>;
36
+ declare function profileHash<const T extends string>(value: T): ProfileHashBase<T>;
37
+ /**
38
+ * One entity-kind slot in a namespace — a map of entity name to entry.
39
+ * Values are opaque at the foundation layer; family and target concretions
40
+ * refine them to typed IR classes.
41
+ */
42
+ type StorageEntitySlot = Readonly<Record<string, unknown>>;
43
+ /**
44
+ * Plain-data namespace entry in a storage block. Every hydrated contract
45
+ * carries at least `id` plus entity-kind slot maps under `entries`
46
+ * (`table`, `collection`, …). Foundation declares only this shape — no IR
47
+ * machinery.
48
+ */
49
+ interface StorageNamespace {
50
+ readonly id: string;
51
+ readonly entries: Readonly<Record<string, StorageEntitySlot>>;
52
+ }
53
+ /**
54
+ * Base type for family-specific storage blocks.
55
+ * Family storage types (SqlStorage, MongoStorage, etc.) extend this to carry the
56
+ * storage hash alongside family-specific data (tables, collections, etc.).
57
+ *
58
+ * The `namespaces` map is carried by every hydrated storage block. Serialized
59
+ * envelope shape is target-owned; this types the in-memory contract after
60
+ * `deserializeContract`.
61
+ */
62
+ interface StorageBase<THash extends string = string> {
63
+ readonly storageHash: StorageHashBase<THash>;
64
+ readonly namespaces: Readonly<Record<string, StorageNamespace>>;
65
+ }
66
+ interface FieldType {
67
+ readonly type: string;
68
+ readonly nullable: boolean;
69
+ readonly items?: FieldType;
70
+ readonly properties?: Record<string, FieldType>;
71
+ }
72
+ type GeneratedValueSpec = {
73
+ readonly id: string;
74
+ readonly params?: Record<string, unknown>;
75
+ };
76
+ type JsonPrimitive = string | number | boolean | null;
77
+ type JsonValue = JsonPrimitive | {
78
+ readonly [key: string]: JsonValue;
79
+ } | readonly JsonValue[];
80
+ type ColumnDefaultLiteralValue = JsonValue;
81
+ type ColumnDefaultLiteralInputValue = ColumnDefaultLiteralValue | Date;
82
+ /**
83
+ * Runtime predicate for `ColumnDefaultLiteralInputValue`. Authoring layers
84
+ * resolve template values from caller-supplied args (typed `unknown` at the
85
+ * boundary) and need to validate before constructing a `ColumnDefault`.
86
+ * Accepts JSON primitives, plain arrays/objects of JSON values, and `Date`
87
+ * instances. Rejects functions, class instances (other than `Date`),
88
+ * `undefined`, `bigint`, `symbol`, and arrays/objects containing those.
89
+ */
90
+ declare function isColumnDefaultLiteralInputValue(value: unknown): value is ColumnDefaultLiteralInputValue;
91
+ type ColumnDefault = {
92
+ readonly kind: 'literal';
93
+ readonly value: ColumnDefaultLiteralInputValue;
94
+ } | {
95
+ readonly kind: 'function';
96
+ readonly expression: string;
97
+ };
98
+ declare function isColumnDefault(value: unknown): value is ColumnDefault;
99
+ type ExecutionMutationDefaultValue = {
100
+ readonly kind: 'generator';
101
+ readonly id: GeneratedValueSpec['id'];
102
+ readonly params?: Record<string, unknown>;
103
+ };
104
+ declare function isExecutionMutationDefaultValue(value: unknown): value is ExecutionMutationDefaultValue;
105
+ /**
106
+ * A generator that fills a stored field on create, on update, or both. `ref.entry` names the storage entry that holds the field (a table or a collection) and `ref.field` the stored field in it (a column or a document field).
107
+ */
108
+ type ExecutionMutationDefault = {
109
+ readonly ref: {
110
+ readonly namespace: string;
111
+ readonly entry: string;
112
+ readonly field: string;
113
+ };
114
+ readonly onCreate?: ExecutionMutationDefaultValue;
115
+ readonly onUpdate?: ExecutionMutationDefaultValue;
116
+ };
117
+ /**
118
+ * `ExecutionMutationDefault` minus its `ref` — the per-field phases value
119
+ * authoring layers attach to a field before its ref is known.
120
+ */
121
+ type ExecutionMutationDefaultPhases = Omit<ExecutionMutationDefault, 'ref'>;
122
+ type ExecutionSection<THash extends string = string> = {
123
+ readonly executionHash: ExecutionHashBase<THash>;
124
+ readonly mutations: {
125
+ readonly defaults: ReadonlyArray<ExecutionMutationDefault>;
126
+ };
127
+ };
128
+ interface Source {
129
+ readonly readOnly: boolean;
130
+ readonly projection: Record<string, FieldType>;
131
+ readonly origin?: Record<string, unknown>;
132
+ readonly capabilities?: Record<string, boolean>;
133
+ }
134
+ interface DocIndex {
135
+ readonly name: string;
136
+ readonly keys: Record<string, 'asc' | 'desc'>;
137
+ readonly unique?: boolean;
138
+ readonly where?: Expr;
139
+ }
140
+ type Expr = {
141
+ readonly kind: 'eq';
142
+ readonly path: ReadonlyArray<string>;
143
+ readonly value: unknown;
144
+ } | {
145
+ readonly kind: 'exists';
146
+ readonly path: ReadonlyArray<string>;
147
+ };
148
+ interface DocCollection {
149
+ readonly name: string;
150
+ readonly id?: {
151
+ readonly strategy: 'auto' | 'client' | 'uuid' | 'objectId';
152
+ };
153
+ readonly fields: Record<string, FieldType>;
154
+ readonly indexes?: ReadonlyArray<DocIndex>;
155
+ readonly readOnly?: boolean;
156
+ }
157
+ interface PlanMeta {
158
+ readonly target: string;
159
+ readonly targetFamily?: string;
160
+ readonly storageHash: string;
161
+ readonly profileHash?: string;
162
+ readonly lane: string;
163
+ readonly annotations?: {
164
+ readonly [key: string]: unknown;
165
+ };
166
+ }
167
+ /**
168
+ * Contract marker record stored in the database.
169
+ * Represents the current contract identity for a database.
170
+ */
171
+ interface ContractMarkerRecord {
172
+ readonly storageHash: string;
173
+ readonly profileHash: string;
174
+ readonly contractJson: unknown | null;
175
+ readonly canonicalVersion: number | null;
176
+ readonly updatedAt: Date;
177
+ readonly appTag: string | null;
178
+ readonly meta: Record<string, unknown>;
179
+ readonly invariants: readonly string[];
180
+ }
181
+ /**
182
+ * One applied migration edge from the per-space ledger journal.
183
+ * Returned by `readLedger` in append (apply) order.
184
+ */
185
+ interface LedgerEntryRecord {
186
+ readonly space: string;
187
+ readonly migrationName: string;
188
+ readonly migrationHash: string;
189
+ readonly from: string | null;
190
+ readonly to: string;
191
+ readonly appliedAt: Date;
192
+ readonly operationCount: number;
193
+ }
194
+ //#endregion
195
+ export { isColumnDefaultLiteralInputValue as A, StorageBase as C, coreHash as D, StorageNamespace as E, profileHash as M, executionHash as O, Source as S, StorageHashBase as T, JsonPrimitive as _, ColumnDefaultLiteralValue as a, PlanMeta as b, DocIndex as c, ExecutionMutationDefaultPhases as d, ExecutionMutationDefaultValue as f, GeneratedValueSpec as g, FieldType as h, ColumnDefaultLiteralInputValue as i, isExecutionMutationDefaultValue as j, isColumnDefault as k, ExecutionHashBase as l, Expr as m, Brand as n, ContractMarkerRecord as o, ExecutionSection as p, ColumnDefault as r, DocCollection as s, $ as t, ExecutionMutationDefault as u, JsonValue as v, StorageEntitySlot as w, ProfileHashBase as x, LedgerEntryRecord as y };
196
+ //# sourceMappingURL=types-CkFfDIud-C1u8M2UE.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-CkFfDIud-C1u8M2UE.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/types-CkFfDIud.d.mts"],"mappings":";;;;;cAIc;;;;;;;KAOT,MAAM,uCAAuC;GAC/C,OAAO,KAAK,OAAO;;;;;;;KAOjB,gBAAgB,wBAAwB,QAAQ;;;;;;KAMhD,kBAAkB,wBAAwB,QAAQ;iBACtC,oBAAoB,kBAAkB,OAAO,IAAI,kBAAkB;iBACnE,eAAe,kBAAkB,OAAO,IAAI,gBAAgB;;;;;;KAMxE,gBAAgB,wBAAwB,QAAQ;iBACpC,kBAAkB,kBAAkB,OAAO,IAAI,gBAAgB;;;;;;KAM3E,oBAAoB,SAAS;;;;;;;UAOxB;WACC;WACA,SAAS,SAAS,eAAe;;;;;;;;;;;UAWlC,YAAY;WACX,aAAa,gBAAgB;WAC7B,YAAY,SAAS,eAAe;;UAErC;WACC;WACA;WACA,QAAQ;WACR,aAAa,eAAe;;KAElC;WACM;WACA,SAAS;;KAEf;KACA,YAAY;YACL,cAAc;aACb;KACR,4BAA4B;KAC5B,iCAAiC,4BAA4B;;;;;;;;;iBASjD,iCAAiC,iBAAiB,SAAS;KACvE;WACM;WACA,OAAO;;WAEP;WACA;;iBAEM,gBAAgB,iBAAiB,SAAS;KACtD;WACM;WACA,IAAI;WACJ,SAAS;;iBAEH,gCAAgC,iBAAiB,SAAS;;;;KAItE;WACM;aACE;aACA;aACA;;WAEF,WAAW;WACX,WAAW;;;;;;KAMjB,iCAAiC,KAAK;KACtC,iBAAiB;WACX,eAAe,kBAAkB;WACjC;aACE,UAAU,cAAc;;;UAG3B;WACC;WACA,YAAY,eAAe;WAC3B,SAAS;WACT,eAAe;;UAEhB;WACC;WACA,MAAM;WACN;WACA,QAAQ;;KAEd;WACM;WACA,MAAM;WACN;;WAEA;WACA,MAAM;;UAEP;WACC;WACA;aACE;;WAEF,QAAQ,eAAe;WACvB,UAAU,cAAc;WACxB;;UAED;WACC;WACA;WACA;WACA;WACA;WACA;cACG;;;;;;;UAOJ;WACC;WACA;WACA;WACA;WACA,WAAW;WACX;WACA,MAAM;WACN;;;;;;UAMD;WACC;WACA;WACA;WACA;WACA;WACA,WAAW;WACX"}
@@ -1,6 +1,120 @@
1
- import { g as ContractModelBase, n as ApplicationDomain, w as ContractValueObject } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
2
- import { n as ContractExecutionSection } from "./contract-types-DEIEpzU_-DvAVuBr5.mjs";
1
+ import { C as StorageBase } from "./types-CkFfDIud-C1u8M2UE.mjs";
2
+ import { t as ApplicationDomain, u as ContractModelBase, v as ContractValueObject, w as EntityCoordinate } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
3
+ import { n as ContractExecutionSection } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
3
4
  //#region ../../../1-framework/0-foundation/contract/dist/types.d.mts
5
+ //#region src/contract-value-object-schema.d.ts
6
+ /**
7
+ * The type of a domain field or of a value object's member, `ContractFieldType`: a scalar with its codec, a value object by its storage coordinate, or a union of those. A union holds no union.
8
+ */
9
+ declare const ContractFieldTypeSchema: import("arktype/internal/variants/object.ts").ObjectType<{
10
+ kind: "scalar";
11
+ codecId: string;
12
+ typeParams?: Record<string, unknown>;
13
+ } | {
14
+ kind: "valueObject";
15
+ plane: "storage";
16
+ namespaceId: string;
17
+ entityKind: "valueObject";
18
+ entityName: string;
19
+ } | {
20
+ kind: "union";
21
+ members: ({
22
+ kind: "scalar";
23
+ codecId: string;
24
+ typeParams?: Record<string, unknown>;
25
+ } | {
26
+ kind: "valueObject";
27
+ plane: "storage";
28
+ namespaceId: string;
29
+ entityKind: "valueObject";
30
+ entityName: string;
31
+ })[];
32
+ }, {}>;
33
+ /** A value object's member, `ContractValueObjectField`. */
34
+ declare const ContractValueObjectFieldSchema: import("arktype/internal/variants/object.ts").ObjectType<{
35
+ nullable: boolean;
36
+ type: {
37
+ kind: "scalar";
38
+ codecId: string;
39
+ typeParams?: Record<string, unknown>;
40
+ } | {
41
+ kind: "valueObject";
42
+ plane: "storage";
43
+ namespaceId: string;
44
+ entityKind: "valueObject";
45
+ entityName: string;
46
+ } | {
47
+ kind: "union";
48
+ members: ({
49
+ kind: "scalar";
50
+ codecId: string;
51
+ typeParams?: Record<string, unknown>;
52
+ } | {
53
+ kind: "valueObject";
54
+ plane: "storage";
55
+ namespaceId: string;
56
+ entityKind: "valueObject";
57
+ entityName: string;
58
+ })[];
59
+ };
60
+ many?: false | {
61
+ elementNullable: boolean;
62
+ };
63
+ dict?: true;
64
+ valueSet?: {
65
+ plane: "storage";
66
+ namespaceId: string;
67
+ entityKind: "valueSet";
68
+ entityName: string;
69
+ spaceId?: string;
70
+ };
71
+ }, {}>;
72
+ /**
73
+ * A value object, `ContractValueObject`: the storage entity under `storage.namespaces.<ns>.entries.valueObject.<name>` (ADR 309). The framework defines this entity kind, since domain fields refer to it; both families validate their entries against this schema.
74
+ */
75
+ declare const ContractValueObjectSchema: import("arktype/internal/variants/object.ts").ObjectType<{
76
+ fields: {
77
+ [x: string]: {
78
+ nullable: boolean;
79
+ type: {
80
+ kind: "scalar";
81
+ codecId: string;
82
+ typeParams?: Record<string, unknown>;
83
+ } | {
84
+ kind: "valueObject";
85
+ plane: "storage";
86
+ namespaceId: string;
87
+ entityKind: "valueObject";
88
+ entityName: string;
89
+ } | {
90
+ kind: "union";
91
+ members: ({
92
+ kind: "scalar";
93
+ codecId: string;
94
+ typeParams?: Record<string, unknown>;
95
+ } | {
96
+ kind: "valueObject";
97
+ plane: "storage";
98
+ namespaceId: string;
99
+ entityKind: "valueObject";
100
+ entityName: string;
101
+ })[];
102
+ };
103
+ many?: false | {
104
+ elementNullable: boolean;
105
+ };
106
+ dict?: true;
107
+ valueSet?: {
108
+ plane: "storage";
109
+ namespaceId: string;
110
+ entityKind: "valueSet";
111
+ entityName: string;
112
+ spaceId?: string;
113
+ };
114
+ };
115
+ };
116
+ }, {}>;
117
+ //#endregion
4
118
  //#region src/domain-namespace-access.d.ts
5
119
  /**
6
120
  * Models map for the contract's single domain namespace. Throws when the
@@ -8,11 +122,6 @@ import { n as ContractExecutionSection } from "./contract-types-DEIEpzU_-DvAVuBr
8
122
  * ambiguous across namespaces and must be qualified explicitly (TML-2550).
9
123
  */
10
124
  declare function domainModelsAtDefaultNamespace(domain: ApplicationDomain): Record<string, ContractModelBase>;
11
- /**
12
- * Value objects for the contract's single domain namespace, when present.
13
- * Throws when the contract does not declare exactly one namespace.
14
- */
15
- declare function domainValueObjectsAtDefaultNamespace(domain: ApplicationDomain): Record<string, ContractValueObject> | undefined;
16
125
  //#endregion
17
126
  //#region src/execution-section-schema.d.ts
18
127
  declare const ContractExecutionSectionSchema: import("arktype/internal/variants/object.ts").ObjectType<ContractExecutionSection, {}>;
@@ -66,15 +175,17 @@ type NullableFlag<Entry> = Entry extends {
66
175
  } ? true : false;
67
176
  type ClosedWhenEmpty<T> = [keyof T] extends [never] ? Record<string, never> : T;
68
177
  type InputClosedWhenEmpty<Side extends ValueTypeSide, T> = Side extends 'input' ? ClosedWhenEmpty<T> : T;
69
- type NamespaceParts<ValueObjects, NamespaceOverrides> = {
70
- readonly valueObjects: ValueObjects;
71
- readonly overrides: NamespaceOverrides;
178
+ type ContractParts<StorageNamespaces, Overrides> = {
179
+ readonly storage: StorageNamespaces;
180
+ readonly overrides: Overrides;
72
181
  };
73
- type ValueObjectType<Name, Parts, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Side extends ValueTypeSide> = ClosedWhenEmpty<{ readonly [F in keyof Lookup<Lookup<Lookup<Parts, 'valueObjects'>, Name>, 'fields'>]: FieldValueType<Lookup<Lookup<Lookup<Parts, 'valueObjects'>, Name>, 'fields'>[F], Lookup<Lookup<Lookup<Lookup<Parts, 'overrides'>, 'valueObjects'>, Name>, F>, Parts, CodecTypes, ParameterizedOutputs, Side>; }>;
182
+ type ValueObjectFields<Ns, Name, Parts> = Lookup<Lookup<Lookup<Lookup<Lookup<Lookup<Parts, 'storage'>, Ns>, 'entries'>, 'valueObject'>, Name>, 'fields'>;
183
+ type ValueObjectType<Ns, Name, Parts, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Side extends ValueTypeSide> = ClosedWhenEmpty<{ readonly [F in keyof ValueObjectFields<Ns, Name, Parts>]: FieldValueType<ValueObjectFields<Ns, Name, Parts>[F], Lookup<Lookup<Lookup<Lookup<Lookup<Parts, 'overrides'>, Ns>, 'valueObjects'>, Name>, F>, Parts, CodecTypes, ParameterizedOutputs, Side>; }>;
74
184
  type ElementType<FieldType, Parts, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Side extends ValueTypeSide> = FieldType extends {
75
185
  readonly kind: 'valueObject';
76
- readonly name: infer Name;
77
- } ? ValueObjectType<Name, Parts, CodecTypes, ParameterizedOutputs, Side> : FieldType extends {
186
+ readonly namespaceId: infer Ns;
187
+ readonly entityName: infer Name;
188
+ } ? ValueObjectType<Ns, Name, Parts, CodecTypes, ParameterizedOutputs, Side> : FieldType extends {
78
189
  readonly kind: 'union';
79
190
  readonly members: infer Members extends readonly unknown[];
80
191
  } ? UnionMemberType<Members[number], Parts, CodecTypes, ParameterizedOutputs, Side> : unknown;
@@ -98,34 +209,43 @@ type FieldValueType<Field, Override, Parts, CodecTypes, ParameterizedOutputs ext
98
209
  } ? ScalarValueType<CodecId, TypeParams, Override, NullableFlag<Field>, Many, Dictionary, CodecTypes, ParameterizedOutputs, Side> : Field extends {
99
210
  readonly type: {
100
211
  readonly kind: 'valueObject';
101
- readonly name: infer Name;
212
+ readonly namespaceId: infer Ns;
213
+ readonly entityName: infer Name;
102
214
  };
103
215
  readonly many?: infer Many;
104
216
  readonly dict?: infer Dictionary;
105
- } ? WithModifiers<BaseType<Override, ValueObjectType<Name, Parts, CodecTypes, ParameterizedOutputs, Side>, Side>, NullableFlag<Field>, Many, Dictionary> : Field extends {
217
+ } ? WithModifiers<BaseType<Override, ValueObjectType<Ns, Name, Parts, CodecTypes, ParameterizedOutputs, Side>, Side>, NullableFlag<Field>, Many, Dictionary> : Field extends {
106
218
  readonly type: infer FieldType;
107
219
  readonly many?: infer Many;
108
220
  readonly dict?: infer Dictionary;
109
221
  } ? WithModifiers<BaseType<Override, ElementType<FieldType, Parts, CodecTypes, ParameterizedOutputs, Side>, Side>, NullableFlag<Field>, Many, Dictionary> : never;
110
- type NamespacePartsOf<DomainNamespaces, Ns, Overrides> = NamespaceParts<Lookup<Lookup<DomainNamespaces, Ns>, 'valueObjects'>, Lookup<Overrides, Ns>>;
111
222
  /**
112
- * `FieldOutputTypes` (`Side` `'output'`) or `FieldInputTypes` (`'input'`) of a contract whose domain namespaces are `DomainNamespaces`, computed from the contract's literal shape. Both an emitted `contract.d.ts` and a contract written with `defineContract` type their fields through it.
223
+ * `FieldOutputTypes` (`Side` `'output'`) or `FieldInputTypes` (`'input'`) of a contract whose domain namespaces are `DomainNamespaces` and whose storage namespaces are `StorageNamespaces`, computed from the contract's literal shape. It reads both planes: the domain for the fields, and storage for the value objects the fields refer to, so it always takes both. Both an emitted `contract.d.ts` and a contract written with `defineContract` type their fields through it.
113
224
  *
114
225
  * Each value is typed by, in order:
115
226
  *
116
- * 1. its override for that side, `{ output?, input? }`, from `Overrides` at `[namespace]['models'][model][field]` for a model field, or at `[namespace]['valueObjects'][valueObject][field]` for a value object field. An override is the type of a field that the contract's shape and the codec types cannot give: the members of the value set it holds, the type its codec renders as text, or the type a family's storage entry gives it;
227
+ * 1. its override for that side, `{ output?, input? }`, from `Overrides` at `[namespace]['models'][model][field]` for a model field, or at `[storage namespace]['valueObjects'][valueObject][field]` for a value object field. An override is the type of a field that the contract's shape and the codec types cannot give: the members of the value set it holds, the type its codec renders as text, or the type a family's storage entry gives it;
117
228
  * 2. for a scalar field, on the output side, the type a pack's type function in `ParameterizedOutputs` gives it for its type parameters (`ParameterizedOutputType`), else its codec's `output` or `input` type, or `unknown` for a codec `CodecTypes` lacks;
118
- * 3. for a value object field, an object of the value object's field types from the same namespace's `valueObjects`, computed by these rules;
229
+ * 3. for a value object field, an object of the field types of the value object its reference names in `StorageNamespaces`, at `[namespaceId]['entries']['valueObject'][entityName]`, computed by these rules;
119
230
  * 4. for a union field, the union of its members' types, each a codec's plain type or a value object's type;
120
231
  *
121
232
  * then wrapped in `ReadonlyArray` for a list and in `Readonly<Record<string, …>>` for a dictionary, with `null` for a nullable element or value. A model without fields has `{}` output types and `Record<string, never>` input types; a value object without fields has `Record<string, never>` on both sides.
122
233
  */
123
- type FieldTypesFromDomain<DomainNamespaces, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Overrides, Side extends ValueTypeSide> = { readonly [Ns in keyof DomainNamespaces]: NamespaceFieldTypes<Lookup<DomainNamespaces[Ns], 'models'>, NamespacePartsOf<DomainNamespaces, Ns, Overrides>, CodecTypes, ParameterizedOutputs, Side>; };
124
- type NamespaceFieldTypes<Models, Parts, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Side extends ValueTypeSide> = { readonly [M in keyof Models]: Lookup<Models[M], 'fields'> extends (infer Fields) ? [Fields] extends [never] ? never : InputClosedWhenEmpty<Side, { readonly [F in keyof Fields]: FieldValueType<Fields[F], Lookup<Lookup<Lookup<Lookup<Parts, 'overrides'>, 'models'>, M>, F>, Parts, CodecTypes, ParameterizedOutputs, Side>; }> : never; };
234
+ type FieldTypesFromDomain<DomainNamespaces, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Overrides, Side extends ValueTypeSide, StorageNamespaces> = { readonly [Ns in keyof DomainNamespaces]: NamespaceFieldTypes<Lookup<DomainNamespaces[Ns], 'models'>, Lookup<Overrides, Ns>, ContractParts<StorageNamespaces, Overrides>, CodecTypes, ParameterizedOutputs, Side>; };
235
+ type NamespaceFieldTypes<Models, NamespaceOverrides, Parts, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Side extends ValueTypeSide> = { readonly [M in keyof Models]: Lookup<Models[M], 'fields'> extends (infer Fields) ? [Fields] extends [never] ? never : InputClosedWhenEmpty<Side, { readonly [F in keyof Fields]: FieldValueType<Fields[F], Lookup<Lookup<Lookup<NamespaceOverrides, 'models'>, M>, F>, Parts, CodecTypes, ParameterizedOutputs, Side>; }> : never; };
125
236
  /**
126
- * The output (`Side` `'output'`) or input (`'input'`) type of each value object of a contract whose domain namespaces are `DomainNamespaces`, keyed by namespace and value object name, by the rules of {@link FieldTypesFromDomain}.
237
+ * The output (`Side` `'output'`) or input (`'input'`) type of each value object of a contract whose storage namespaces are `StorageNamespaces`, keyed by storage namespace and value object name, by the rules of {@link FieldTypesFromDomain}.
127
238
  */
128
- type ValueObjectTypesFromDomain<DomainNamespaces, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Overrides, Side extends ValueTypeSide> = { readonly [Ns in keyof DomainNamespaces]: { readonly [V in keyof Lookup<DomainNamespaces[Ns], 'valueObjects'>]: ValueObjectType<V, NamespacePartsOf<DomainNamespaces, Ns, Overrides>, CodecTypes, ParameterizedOutputs, Side>; }; };
239
+ type ValueObjectTypesFromStorage<StorageNamespaces, CodecTypes, ParameterizedOutputs extends ParameterizedOutputTypesFunction, Overrides, Side extends ValueTypeSide> = { readonly [Ns in keyof StorageNamespaces]: { readonly [V in keyof Lookup<Lookup<StorageNamespaces[Ns], 'entries'>, 'valueObject'>]: ValueObjectType<Ns, V, ContractParts<StorageNamespaces, Overrides>, CodecTypes, ParameterizedOutputs, Side>; }; };
240
+ //#endregion
241
+ //#region src/storage-value-objects.d.ts
242
+ /** The storage value object a reference names, or `undefined` when storage does not have it. */
243
+ declare function valueObjectAt(storage: Pick<StorageBase, 'namespaces'>, reference: EntityCoordinate<'storage', 'valueObject'>): ContractValueObject | undefined;
244
+ /** Each value object in storage, in every namespace, with its coordinate. */
245
+ declare function valueObjectsWithCoordinates(storage: Pick<StorageBase, 'namespaces'>): ReadonlyArray<{
246
+ readonly coordinate: EntityCoordinate<'storage', 'valueObject'>;
247
+ readonly valueObject: ContractValueObject;
248
+ }>;
129
249
  //#endregion
130
- export { ParameterizedOutputType as a, ValueObjectTypesFromDomain as c, domainValueObjectsAtDefaultNamespace as d, FieldTypesFromDomain as i, ValueTypeSide as l, ContractExecutionSectionSchema as n, ParameterizedOutputTypesFunction as o, EnumMemberValueType as r, StoredValueType as s, ApplyParameterizedOutputTypes as t, domainModelsAtDefaultNamespace as u };
131
- //# sourceMappingURL=types-GNXJ7xW2.d.mts.map
250
+ export { ContractValueObjectSchema as a, ParameterizedOutputType as c, ValueObjectTypesFromStorage as d, ValueTypeSide as f, valueObjectsWithCoordinates as h, ContractValueObjectFieldSchema as i, ParameterizedOutputTypesFunction as l, valueObjectAt as m, ContractExecutionSectionSchema as n, EnumMemberValueType as o, domainModelsAtDefaultNamespace as p, ContractFieldTypeSchema as r, FieldTypesFromDomain as s, ApplyParameterizedOutputTypes as t, StoredValueType as u };
251
+ //# sourceMappingURL=types-Dh_AMVRf.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-Dh_AMVRf.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/types.d.mts"],"mappings":";;;;;;;;cASc,uEAAuE;EACnF;EACA;EACA,aAAa;;EAEb;EACA;EACA;EACA;EACA;;EAEA;E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AAe,OAAO,IAAI,OAAO,OAAO,OAAO,+BAA+B,IAAI,IAAI,OAAO,YAAY,sBAAsB;;;;KAIld,4BAA4B,mBAAmB,YAAY,6BAA6B,kCAAkC,WAAW,aAAa,6BAA6B,YAAY,gCAAgC,WAAW,OAAO,OAAO,kBAAkB,kCAAkC,gBAAgB,IAAI,GAAG,cAAc,mBAAmB,YAAY,YAAY,sBAAsB;;;;iBAIlY,cAAc,SAAS,KAAK,4BAA4B,WAAW,6CAA6C;;iBAEhH,4BAA4B,SAAS,KAAK,6BAA6B;WAC7E,YAAY;WACZ,aAAa"}
@@ -1,5 +1,5 @@
1
- import { B as JsonValue } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
2
- import { g as CodecTrait, m as CodecRef } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
1
+ import { v as JsonValue } from "./types-CkFfDIud-C1u8M2UE.mjs";
2
+ import { g as CodecTrait, m as CodecRef } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
3
3
  //#region ../../../1-framework/1-core/framework-components/dist/types-import-spec-Bkh243Hv.d.mts
4
4
  //#region src/shared/aggregate-descriptor.d.ts
5
5
  /**
@@ -110,4 +110,4 @@ interface TypesImportSpec {
110
110
  }
111
111
  //#endregion
112
112
  export { AnyInputAggregateDescriptor as a, SelfAggregateOutput as c, aggregateDescriptorKey as d, isAggregateDescriptor as f, AggregateResultNullability as i, TypesImportSpec as l, isNoInputAggregateDescriptor as m, AggregateInputMatch as n, NamedAggregateOutput as o, isAnyInputAggregateDescriptor as p, AggregateOutputCodec as r, NoInputAggregateDescriptor as s, AggregateDescriptor as t, ValueInputAggregateDescriptor as u };
113
- //# sourceMappingURL=types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts.map
113
+ //# sourceMappingURL=types-import-spec-Bkh243Hv-BI9m5WFL.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/types-import-spec-Bkh243Hv.d.mts"],"mappings":";;;;;;;;;;;;;;KAaK;WACM;;WAEA;WACA;;WAEA;WACA,OAAO;;WAEP;;;;;;;UAOD;WACC;WACA;WACA,cAAc,OAAO,yBAAyB;;;UAG/C;WACC;;;KAGN,uBAAuB,sBAAsB;;;;;;KAM7C;WACM;;WAEA;WACA;;KAEN,0BAA0B;;WAEpB;;;KAGN,6BAA6B;WACvB;aACE;;WAEF,QAAQ;;;KAGd,8BAA8B;WACxB;aACE;;WAEF,QAAQ;;;KAGd,gCAAgC;WAC1B;aACE;aACA;;aAEA;aACA,OAAO;;WAET,QAAQ;;;;;;;KAOd,sBAAsB,6BAA6B,8BAA8B;;;;iBAIrE,uBAAuB,YAAY;;iBAEnC,6BAA6B,YAAY,sBAAsB,cAAc;;iBAE7E,8BAA8B,YAAY,sBAAsB,cAAc;;;;iBAI9E,sBAAsB,iBAAiB,SAAS;;;;;;;UAOvD;WACC;WACA;WACA"}
1
+ {"version":3,"file":"types-import-spec-Bkh243Hv-BI9m5WFL.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/types-import-spec-Bkh243Hv.d.mts"],"mappings":";;;;;;;;;;;;;;KAaK;WACM;;WAEA;WACA;;WAEA;WACA,OAAO;;WAEP;;;;;;;UAOD;WACC;WACA;WACA,cAAc,OAAO,yBAAyB;;;UAG/C;WACC;;;KAGN,uBAAuB,sBAAsB;;;;;;KAM7C;WACM;;WAEA;WACA;;KAEN,0BAA0B;;WAEpB;;;KAGN,6BAA6B;WACvB;aACE;;WAEF,QAAQ;;;KAGd,8BAA8B;WACxB;aACE;;WAEF,QAAQ;;;KAGd,gCAAgC;WAC1B;aACE;aACA;;aAEA;aACA,OAAO;;WAET,QAAQ;;;;;;;KAOd,sBAAsB,6BAA6B,8BAA8B;;;;iBAIrE,uBAAuB,YAAY;;iBAEnC,6BAA6B,YAAY,sBAAsB,cAAc;;iBAE7E,8BAA8B,YAAY,sBAAsB,cAAc;;;;iBAI9E,sBAAsB,iBAAiB,SAAS;;;;;;;UAOvD;WACC;WACA;WACA"}