@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
@@ -1,5 +1,5 @@
1
- import { P as ContributedPslDiagnosticCode, at as PslExtensionBlock, dt as PslSpan, it as PslDiagnosticCode } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
2
- //#region ../../../1-framework/1-core/framework-components/dist/psl-ast-0oMzInxd.d.mts
1
+ import { B as ContributedPslDiagnosticCode, _t as PslSpan, dt as PslExtensionBlock, ut as PslDiagnosticCode } from "./authoring-type-choice-CHcRX0RP-CkG1L8a9.mjs";
2
+ //#region ../../../1-framework/1-core/framework-components/dist/psl-ast-B4ZxpQdr.d.mts
3
3
  //#region src/control/psl-ast.d.ts
4
4
  interface PslDiagnostic {
5
5
  /**
@@ -226,4 +226,4 @@ declare const BUILTIN_PSL_KIND_KEYS: ReadonlySet<string>;
226
226
  declare function namespacePslExtensionBlocks(ns: PslNamespace): readonly PslExtensionBlock[];
227
227
  //#endregion
228
228
  export { makePslNamespaceEntries as A, PslTypesBlock as C, flatPslCompositeTypes as D, UNSPECIFIED_PSL_NAMESPACE_ID as E, flatPslModels as O, PslTypeConstructorCall as S, UNBOUND_PSL_NAMESPACE_NAME as T, PslModelAttribute as _, PslAttributePositionalArgument as a, PslNamespaceEntry as b, PslDefaultFunctionValue as c, PslDiagnostic as d, PslDocumentAst as f, PslModel as g, PslIndexConstraint as h, PslAttributeNamedArgument as i, namespacePslExtensionBlocks as j, makePslNamespace as k, PslDefaultLiteralValue as l, PslFieldAttribute as m, PslAttribute as n, PslAttributeTarget as o, PslField as p, PslAttributeArgument as r, PslCompositeType as s, BUILTIN_PSL_KIND_KEYS as t, PslDefaultValue as u, PslNamedTypeDeclaration as v, PslUniqueConstraint as w, PslReferentialAction as x, PslNamespace as y };
229
- //# sourceMappingURL=psl-ast-0oMzInxd-Nx9cHmcc.d.mts.map
229
+ //# sourceMappingURL=psl-ast-B4ZxpQdr-DT9LRqBC.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"psl-ast-0oMzInxd-Nx9cHmcc.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast-0oMzInxd.d.mts"],"mappings":";;;UAEU;;;;;;;;;;;WAWC,MAAM,oBAAoB;WAC1B;WACA;WACA,MAAM;;UAEP;WACC;WACA;;UAED;WACC;WACA;;KAEN,kBAAkB,0BAA0B;KAC5C;UACK;WACC;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA;WACA,MAAM;;KAEZ,uBAAuB,iCAAiC;UACnD;WACC;WACA;WACA,eAAe;WACf,MAAM;;UAEP;WACC;WACA,QAAQ;WACR;WACA,eAAe;WACf,MAAM;;KAEZ;KACA,oBAAoB;UACf;WACC;WACA;;WAEA;;WAEA;;;;;;;;;WASA;WACA,kBAAkB;WAClB;WACA;WACA;WACA,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA,MAAM;;KAEZ,oBAAoB;UACf;WACC;WACA;WACA,iBAAiB;WACjB,qBAAqB;WACrB,MAAM;;;;;;;;WAQN;;;;;;;UAOD;WACC;WACA;WACA,iBAAiB;WACjB,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA;;;;;;WAMA;WACA,kBAAkB;WAClB,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA,uBAAuB;WACvB,MAAM;;;;;;;;;;;;;;cAcH;;;;;cAKA;;KAET,oBAAoB,WAAW,mBAAmB;;;;;;;;;;;;UAY7C;WACC;WACA;;WAEA,SAAS,SAAS,eAAe,SAAS,eAAe;;WAEzD,iBAAiB;;WAEjB,yBAAyB;WACzB,MAAM;;;iBAGA,iBAAiB;WACvB;WACA;WACA,SAAS,SAAS,eAAe,SAAS,eAAe;WACzD,MAAM;IACb;;;;;;iBAMa,wBAAwB,iBAAiB,YAAY,yBAAyB,oBAAoB,0BAA0B,sBAAsB,SAAS,eAAe,SAAS,eAAe;UACzM;WACC;WACA;WACA,qBAAqB;WACrB,QAAQ;WACR,MAAM;;;;;;iBAMA,cAAc,KAAK,0BAA0B;;;;iBAI7C,sBAAsB,KAAK,0BAA0B;;;;;;;;;;;cAWxD,uBAAuB;;;;;;;;;iBASpB,4BAA4B,IAAI,wBAAwB"}
1
+ {"version":3,"file":"psl-ast-B4ZxpQdr-DT9LRqBC.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast-B4ZxpQdr.d.mts"],"mappings":";;;UAEU;;;;;;;;;;;WAWC,MAAM,oBAAoB;WAC1B;WACA;WACA,MAAM;;UAEP;WACC;WACA;;UAED;WACC;WACA;;KAEN,kBAAkB,0BAA0B;KAC5C;UACK;WACC;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA;WACA,MAAM;;KAEZ,uBAAuB,iCAAiC;UACnD;WACC;WACA;WACA,eAAe;WACf,MAAM;;UAEP;WACC;WACA,QAAQ;WACR;WACA,eAAe;WACf,MAAM;;KAEZ;KACA,oBAAoB;UACf;WACC;WACA;;WAEA;;WAEA;;;;;;;;;WASA;WACA,kBAAkB;WAClB;WACA;WACA;WACA,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA,MAAM;;KAEZ,oBAAoB;UACf;WACC;WACA;WACA,iBAAiB;WACjB,qBAAqB;WACrB,MAAM;;;;;;;;WAQN;;;;;;;UAOD;WACC;WACA;WACA,iBAAiB;WACjB,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA;;;;;;WAMA;WACA,kBAAkB;WAClB,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA,uBAAuB;WACvB,MAAM;;;;;;;;;;;;;;cAcH;;;;;cAKA;;KAET,oBAAoB,WAAW,mBAAmB;;;;;;;;;;;;UAY7C;WACC;WACA;;WAEA,SAAS,SAAS,eAAe,SAAS,eAAe;;WAEzD,iBAAiB;;WAEjB,yBAAyB;WACzB,MAAM;;;iBAGA,iBAAiB;WACvB;WACA;WACA,SAAS,SAAS,eAAe,SAAS,eAAe;WACzD,MAAM;IACb;;;;;;iBAMa,wBAAwB,iBAAiB,YAAY,yBAAyB,oBAAoB,0BAA0B,sBAAsB,SAAS,eAAe,SAAS,eAAe;UACzM;WACC;WACA;WACA,qBAAqB;WACrB,QAAQ;WACR,MAAM;;;;;;iBAMA,cAAc,KAAK,0BAA0B;;;;iBAI7C,sBAAsB,KAAK,0BAA0B;;;;;;;;;;;cAWxD,uBAAuB;;;;;;;;;iBASpB,4BAA4B,IAAI,wBAAwB"}
@@ -0,0 +1,2 @@
1
+ import "./authoring-type-choice-CHcRX0RP-CkG1L8a9.mjs";
2
+ import "./psl-ast-B4ZxpQdr-DT9LRqBC.mjs";
@@ -1,15 +1,15 @@
1
- import { T as DataTypeValue, v as DataTypeId } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
1
+ import { T as DataTypeValue, v as DataTypeId } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
2
2
  import { r as Result } from "./result-BYCOANWy.mjs";
3
- import { E as AuthoringTypeConstructorDescriptor, I as ControlMutationDefaultRegistry, J as GeneratorFunctionRegistry, O as AuthoringTypeNamespace, Z as GeneratorPhase, at as PslExtensionBlock, b as AuthoringPslBlockDescriptor, bt as WrittenScalar, ct as PslExtensionBlockParsedAttribute, dt as PslSpan, it as PslDiagnosticCode, lt as PslExtensionBlockPrintEntry, ot as PslExtensionBlockAttribute, st as PslExtensionBlockAttributeArg, tt as ParsedPslExtensionBlock, ut as PslPosition, w as AuthoringTypeAliasDescriptor, x as AuthoringPslBlockDescriptorNamespace, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
4
- import "./authoring-C2UAuRfN.mjs";
5
- import "./codec-CZ3VQq7G.mjs";
6
- import "./components-BenCVFk4.mjs";
7
- import { C as PslTypesBlock, O as flatPslModels, S as PslTypeConstructorCall, _ as PslModelAttribute, a as PslAttributePositionalArgument, c as PslDefaultFunctionValue, f as PslDocumentAst, g as PslModel, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, u as PslDefaultValue, v as PslNamedTypeDeclaration, y as PslNamespace } from "./psl-ast-0oMzInxd-Nx9cHmcc.mjs";
8
- import { r as AssembledAuthoringContributions } from "./control-CS1uqJj_.mjs";
9
- import "./psl-ast-CFQfCJeM.mjs";
3
+ import { Dt as WrittenScalar, G as DataTypeSupport, H as ControlMutationDefaultRegistry, N as AuthoringTypeNamespace, _t as PslSpan, b as AuthoringPslBlockDescriptor, dt as PslExtensionBlock, et as GeneratorFunctionRegistry, ft as PslExtensionBlockAttribute, gt as PslPosition, ht as PslExtensionBlockPrintEntry, j as AuthoringTypeConstructorDescriptor, mt as PslExtensionBlockParsedAttribute, pt as PslExtensionBlockAttributeArg, rt as GeneratorPhase, st as ParsedPslExtensionBlock, ut as PslDiagnosticCode, w as AuthoringTypeAliasDescriptor, x as AuthoringPslBlockDescriptorNamespace } from "./authoring-type-choice-CHcRX0RP-CkG1L8a9.mjs";
4
+ import "./authoring-BKOoGNxH.mjs";
5
+ import "./codec-h0kvF5B8.mjs";
6
+ import "./components-BvnVHOK3.mjs";
7
+ import { C as PslTypesBlock, O as flatPslModels, S as PslTypeConstructorCall, _ as PslModelAttribute, a as PslAttributePositionalArgument, c as PslDefaultFunctionValue, f as PslDocumentAst, g as PslModel, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, u as PslDefaultValue, v as PslNamedTypeDeclaration, y as PslNamespace } from "./psl-ast-B4ZxpQdr-DT9LRqBC.mjs";
8
+ import { r as AssembledAuthoringContributions } from "./control-DanUY6NX.mjs";
9
+ import "./psl-ast-Dsf1-QLK.mjs";
10
10
  import { i as isPslIdentifier } from "./tokenizer-i8RaVWVa-7fRwlCPP.mjs";
11
- import { B as PslDiagnosticCollector, D as ModelAttributeAst, V as PslSources, Y as SyntaxNode, at as diagnosticFromSpan, d as DiagnosticSource, m as FieldAttributeAst, n as AstNode, ot as diagnosticSource, p as ExpressionAst, pt as mapPslDiagnostics, r as AttributeArgAst, rt as createPslDiagnosticCollector, z as PslDiagnostic } from "./parse-djL5wker-DnMlKOii.mjs";
12
- import { $ as ModelSymbol, A as DescribeUnresolvedType, At as SymbolTableResult, B as FixedStrArgType, Bt as contributedTypeCodecId, C as ContributedTypeNamespace, Ct as ResolvedAttributeArg, D as CtxOf, Dt as Scope, E as CreateBinderInput, Et as ResolvedTypeConstructorCall, F as FieldAttributeCtx, Ft as UnrestrictedNumArgType, G as InferAttr, Gt as keywordPslSpan, H as FuncCallSig, Ht as createBinder, I as FieldRefArgType, It as UnrestrictedStrArgType, J as JsonArgType, Jt as nodePslSpan, K as InspectableArgType, Kt as matchesSelector, L as FieldSymbol, Lt as UnsupportedAttribute, M as EntityDeclaration, Mt as TypedFuncCall, N as EntityRefArgType, Nt as UnresolvedTypeReference, O as DataTypeValueArgType, Ot as ScopeResolution, P as EntitySelector, Pt as UnrestrictedIdentifierArgType, Q as ModelAttributeCtx, Qt as typeReferenceNode, R as FixedIdentifierArgType, Rt as buildSymbolTable, S as ContributedTypeDescriptor, St as ResolvedAttribute, T as ContributedTypeSymbol, Tt as ResolvedNamedTypeBinding, U as FunctionSymbol, Ut as entityReference, V as FuncCallArgType, Vt as contributedTypeOf, W as IdentifierArgType, Wt as isNamespaceLike, X as ListArgType, Xt as readResolvedAttributes, Y as JsonValueArgType, Yt as readResolvedAttribute, Z as MixinSymbol, Zt as readResolvedConstructorCall, _ as CompositeTypeSymbol, _t as RecordArgType, a as AttributeLevel, at as NumLiteralArgType, b as ContributedMember, bt as RequiredContextFor, c as AttributeSymbol, ct as OutOf, d as BinderResult, dt as ParameterSymbol, et as NamedOut, f as BlockAttributeCtx, ft as ParsedTaggedLiteral, g as BuildSymbolTableOptions, gt as PslSymbol, h as BoundSpec, ht as PositionalParam, i as AttributeCtx, it as NumLiteral, j as DescribeUnsupportedAttribute, jt as TaggedLiteralArgType, k as DeclarationFor, kt as SymbolTable, l as Binder, lt as PSL_UNRESOLVED_REFERENCE, m as BoolArgType, mt as PosOut, n as ArgType, nt as NamespaceSymbol, o as AttributeOut, ot as OneOfArgType, p as BlockSymbol, pt as ParsedTypedValue, q as IntArgType, qt as memberEntries, r as ArgTypeKind, rt as NullArgType, s as AttributeSpec, st as OptionalArgType, t as AnyArgType, tt as NamedTypeSymbol, u as BinderContext, ut as Param, v as ConstantSymbol, vt as ReferencedFieldRefArgType, w as ContributedTypeScope, wt as ResolvedEntityReference, x as ContributedNamespaceSymbol, xt as Resolution, y as ContextForRequirement, yt as RejectingArgType, z as FixedNumArgType, zt as contributedTypeAt } from "./binder-BszqDG1t-icu83_4f.mjs";
11
+ import { B as PslDiagnosticCollector, D as ModelAttributeAst, V as PslSources, Y as SyntaxNode, at as diagnosticFromSpan, d as DiagnosticSource, m as FieldAttributeAst, n as AstNode, ot as diagnosticSource, p as ExpressionAst, pt as mapPslDiagnostics, r as AttributeArgAst, rt as createPslDiagnosticCollector, z as PslDiagnostic } from "./parse-djL5wker-4_2Cqwev.mjs";
12
+ import { $ as MixinSymbol, $t as readResolvedAttribute, A as DataTypeValueArgType, At as ScopeResolution, B as FixedIdentifierArgType, Bt as buildSymbolTable, C as ContributedTypeDescriptor, Ct as Resolution, D as ContributedTypeUse, Dt as ResolvedNamedTypeBinding, E as ContributedTypeSymbol, Et as ResolvedEntityReference, F as EntityRefArgType, Ft as UnresolvedTypeReference, G as FunctionSymbol, Gt as createBinder, H as FixedStrArgType, Ht as contributedTypeAt, I as EntitySelector, It as UnrestrictedIdentifierArgType, J as InspectableArgType, Jt as isNamespaceLike, K as IdentifierArgType, Kt as entityReference, L as FieldAttributeCtx, Lt as UnrestrictedNumArgType, M as DescribeUnresolvedType, Mt as SymbolTableResult, N as DescribeUnsupportedAttribute, Nt as TaggedLiteralArgType, O as CreateBinderInput, Ot as ResolvedTypeConstructorCall, P as EntityDeclaration, Pt as TypedFuncCall, Q as ListArgType, Qt as nodePslSpan, R as FieldRefArgType, Rt as UnrestrictedStrArgType, S as ContributedTypeChoiceSymbol, St as RequiredContextFor, T as ContributedTypeScope, Tt as ResolvedAttributeArg, U as FuncCallArgType, Ut as contributedTypeCodecId, V as FixedNumArgType, Vt as chosenTypeConstructor, W as FuncCallSig, Wt as contributedTypeOf, X as JsonArgType, Xt as matchesSelector, Y as IntArgType, Yt as keywordPslSpan, Z as JsonValueArgType, Zt as memberEntries, _ as CompositeTypeSymbol, _t as PositionalParam, a as AttributeLevel, at as NullArgType, b as ContributedMember, bt as ReferencedFieldRefArgType, c as AttributeSymbol, ct as OneOfArgType, d as BinderResult, dt as PSL_UNRESOLVED_REFERENCE, en as readResolvedAttributes, et as ModelAttributeCtx, f as BlockAttributeCtx, ft as Param, g as BuildSymbolTableOptions, gt as PosOut, h as BoundSpec, ht as ParsedTypedValue, i as AttributeCtx, it as NamespaceSymbol, j as DeclarationFor, jt as SymbolTable, k as CtxOf, kt as Scope, l as Binder, lt as OptionalArgType, m as BoolArgType, mt as ParsedTaggedLiteral, n as ArgType, nn as typeReferenceNode, nt as NamedOut, o as AttributeOut, ot as NumLiteral, p as BlockSymbol, pt as ParameterSymbol, q as InferAttr, qt as isContributedTypeChoice, r as ArgTypeKind, rt as NamedTypeSymbol, s as AttributeSpec, st as NumLiteralArgType, t as AnyArgType, tn as readResolvedConstructorCall, tt as ModelSymbol, u as BinderContext, ut as OutOf, v as ConstantSymbol, vt as PslSymbol, w as ContributedTypeNamespace, wt as ResolvedAttribute, x as ContributedNamespaceSymbol, xt as RejectingArgType, y as ContextForRequirement, yt as RecordArgType, z as FieldSymbol, zt as UnsupportedAttribute } from "./binder-CMy3WM5A-DRrDzBAq.mjs";
13
13
  //#region ../../../1-framework/2-authoring/psl-parser/dist/index.d.mts
14
14
  //#region src/attribute-helpers.d.ts
15
15
  declare function getPositionalArgument(attribute: PslAttribute, index?: number): string | undefined;
@@ -52,8 +52,8 @@ declare const EMPTY_DATA_TYPES: DataTypeSupport;
52
52
  interface FieldAttributeSpecContext extends AttributeSpecContext {
53
53
  readonly field: FieldSymbol;
54
54
  readonly typeResolution: Resolution | undefined;
55
- /** The type constructor the field's type resolves to, through a named type when it is declared with one. */
56
- readonly typeConstructor: ContributedTypeSymbol | undefined;
55
+ /** The contributed type the field's type resolves to, through a named type when it is declared with one, with the call it is written with. */
56
+ readonly contributedType: ContributedTypeUse | undefined;
57
57
  }
58
58
  /** The declaration an attribute that reads its type is written on: a field, or a type alias whose fields take the attribute. */
59
59
  interface TypeAttributeSubject {
@@ -70,8 +70,8 @@ interface TypeAttributeSpecContext extends Omit<AttributeSpecContext, 'model'> {
70
70
  /** The type as written, such as an enum's name. */
71
71
  readonly typeName: string;
72
72
  readonly typeResolution: Resolution | undefined;
73
- /** The type constructor the type resolves to, through a named type when it is declared with one. */
74
- readonly typeConstructor: ContributedTypeSymbol | undefined;
73
+ /** The contributed type the type resolves to, through a named type when it is declared with one, with the call it is written with. */
74
+ readonly contributedType: ContributedTypeUse | undefined;
75
75
  }
76
76
  declare function typeAttributeSpecContextOfField(ctx: FieldAttributeSpecContext): TypeAttributeSpecContext;
77
77
  type ModelAttributeSpecFactory = (ctx: AttributeSpecContext) => AttributeSpec<never, ModelAttributeCtx>;
@@ -372,6 +372,10 @@ declare function blockSpecContext(input: {
372
372
  readonly dataTypes: DataTypeSupport;
373
373
  }): BlockSpecContext;
374
374
  //#endregion
375
+ //#region src/call-arguments.d.ts
376
+ /** The call as the schema writes it, with its arguments separated by `, `. */
377
+ declare function printTypeConstructorCall(call: ResolvedTypeConstructorCall): string;
378
+ //#endregion
375
379
  //#region src/extension-block.d.ts
376
380
  declare function findBlockDescriptor(descriptors: AuthoringPslBlockDescriptorNamespace | undefined, keyword: string): AuthoringPslBlockDescriptor | undefined;
377
381
  //#endregion
@@ -406,6 +410,11 @@ type TypeAliasBase = {
406
410
  readonly descriptor: AuthoringTypeConstructorDescriptor;
407
411
  /** `undefined` when the constructor is written bare. */
408
412
  readonly call: ResolvedTypeConstructorCall | undefined;
413
+ } | {
414
+ readonly kind: 'typeChoice';
415
+ readonly symbol: ContributedTypeChoiceSymbol;
416
+ /** `undefined` when the type choice is written bare. */
417
+ readonly call: ResolvedTypeConstructorCall | undefined;
409
418
  } | {
410
419
  readonly kind: 'block';
411
420
  readonly symbol: BlockSymbol;
@@ -483,5 +492,5 @@ type WrittenScalarResult = {
483
492
  /** Reads a PSL literal expression as a `WrittenScalar`, for a position that takes a value of a data type. ADR 254. */
484
493
  declare function readWrittenScalar(expression: ExpressionAst): WrittenScalarResult;
485
494
  //#endregion
486
- export { type ArgBindingSpec, type ArgType, type ArgTypeKind, type AssembledAttributeSpecs, type AttributeCtx, type AttributeLevel, type AttributeOut, type AttributeSpec, type AttributeSpecContext, type AttributeSpecNamespace, type AttributeSymbol, type Binder, type BinderContext, type BinderResult, type BlockAttributeCtx, type BlockAttributeSpecFactory, type BlockEntryValueSpec, type BlockSpec, type BlockSpecContext, type BlockSpecFactory, type BlockSymbol, type BoundSpec, type BuildSymbolTableOptions, type CompositeTypeSymbol, type ConstantSymbol, type ContributedMember, type ContributedNamespaceSymbol, type ContributedTypeAlias, type ContributedTypeDescriptor, type ContributedTypeNamespace, type ContributedTypeScope, type ContributedTypeSymbol, type CreateBinderInput, type DataTypeValueArgType, type DataTypeValueOptions, type DataTypeValueRefusal, type DeclarationFor, type DescribeUnresolvedType, type DescribeUnsupportedAttribute, type DiagnosticSource, EMPTY_DATA_TYPES, type EntityDeclaration, type EntityRefArgType, type EntitySelector, type FieldAttributeCtx, type FieldAttributeSpecContext, type FieldAttributeSpecFactory, type FieldSymbol, type FixedIdentifierArgType, type FixedNumArgType, type FuncCallSig, type FunctionSymbol, type IdentifierArgType, type InferAttr, type InferBlock, type InspectableArgType, type IntArgType, type InterpretExtensionBlockAttributesInput, type InterpretExtensionBlockInput, type InterpretExtensionBlocksResult, type JsonValueArgType, type ListOptions, type MapBlockSpec, type MixinSymbol, type ModelAttributeCtx, type ModelAttributeSpecFactory, type ModelSymbol, NAME_THE_PSL_SOURCE_LOSES, type NamedOut, type NamedTypeSymbol, type NamespaceSymbol, type NullArgType, type NumLiteral, type OneOfArgType, type OptionalArgType, type OutOf, PSL_UNRESOLVED_REFERENCE, type Param, type ParameterSymbol, type ParsedPslExtensionBlock, type ParsedTaggedLiteral, type ParsedTypedValue, type ParsedWrittenList, type ParsedWrittenScalar, type PosOut, type PositionalParam, type PslAttribute, type PslAttributeArgument, type PslAttributeNamedArgument, type PslAttributePositionalArgument, type PslAttributeTarget, type PslBlockSpecDescriptor, type PslCompositeType, type PslDefaultFunctionValue, type PslDefaultLiteralValue, type PslDefaultValue, type PslDiagnostic, type PslDiagnosticCode, type PslDiagnosticCollector, type PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, type PslField, type PslFieldAttribute, type PslModel, type PslModelAttribute, type PslNamedTypeDeclaration, type PslNamespace, type PslPosition, type PslSpan, type PslSymbol, type PslTypeConstructorCall, type PslTypesBlock, type RejectingArgType, type Resolution, type ResolvedAttribute, type ResolvedAttributeArg, type ResolvedEntityReference, type ResolvedNamedTypeBinding, type ResolvedTypeConstructorCall, type Scope, type ScopeResolution, type StructBlockSpec, type SymbolTable, type SymbolTableResult, TYPE_ALIAS_ATTRIBUTE_NAMES, type TaggedLiteralArgType, type TypeAlias, type TypeAliasBase, type TypeAttributeSpecContext, type TypeAttributeSubject, type TypedFuncCall, type UnresolvedTypeReference, type UnrestrictedIdentifierArgType, type UnrestrictedNumArgType, type UnsupportedAttribute, type WrittenScalarResult, assembleAttributeSpecs, blockAttribute, blockSpecContext, blockSpecFactoryOf, bool, buildSymbolTable, contributedTypeAliasOf, contributedTypeAt, contributedTypeCodecId, contributedTypeOf, createBinder, createPslDiagnosticCollector, dataTypeValue, diagnosticFromSpan, diagnosticSource, entityRef, entityReference, enumMemberValue, fieldAttribute, fieldRef, findBlockDescriptor, flatPslModels, funcCall, generatorAttributeSpec, generatorFunctionCall, getPositionalArgument, groupedTypeLabel, identifier, int, interpretArgs, interpretAttribute, interpretExtensionBlock, interpretExtensionBlockAttributes, interpretExtensionBlocks, isNamespaceLike, isPrismaNextSchema, isPslIdentifier, json, jsonValue, keywordPslSpan, leafDiagnostic, list, mapArg, mapBlock, mapPslDiagnostics, matchesSelector, memberEntries, modelAttribute, namespacePslExtensionBlocks, nodePslSpan, nodeSourceText, num, numLiteral, oneOf, optional, parseQuotedStringLiteral, readExpressionAs, readResolvedAttribute, readResolvedAttributes, readResolvedConstructorCall, readWrittenScalar, record, referencedFieldRef, refineArg, refuseRepeatedTypeAliasAttributes, renameLegacyDirective, resolveTypeAliases, str, structBlock, taggedLiteral, typeAliasAttributeNames, typeAliasOfField, typeAliasSpecContext, typeAttribute, typeAttributeSpecContextOfField, typeAttributeSubjectLabel, typeGeneratorAttributeSpec, typeReferenceNode, writtenList, writtenScalar };
495
+ export { type ArgBindingSpec, type ArgType, type ArgTypeKind, type AssembledAttributeSpecs, type AttributeCtx, type AttributeLevel, type AttributeOut, type AttributeSpec, type AttributeSpecContext, type AttributeSpecNamespace, type AttributeSymbol, type Binder, type BinderContext, type BinderResult, type BlockAttributeCtx, type BlockAttributeSpecFactory, type BlockEntryValueSpec, type BlockSpec, type BlockSpecContext, type BlockSpecFactory, type BlockSymbol, type BoundSpec, type BuildSymbolTableOptions, type CompositeTypeSymbol, type ConstantSymbol, type ContributedMember, type ContributedNamespaceSymbol, type ContributedTypeAlias, type ContributedTypeChoiceSymbol, type ContributedTypeDescriptor, type ContributedTypeNamespace, type ContributedTypeScope, type ContributedTypeSymbol, type ContributedTypeUse, type CreateBinderInput, type DataTypeValueArgType, type DataTypeValueOptions, type DataTypeValueRefusal, type DeclarationFor, type DescribeUnresolvedType, type DescribeUnsupportedAttribute, type DiagnosticSource, EMPTY_DATA_TYPES, type EntityDeclaration, type EntityRefArgType, type EntitySelector, type FieldAttributeCtx, type FieldAttributeSpecContext, type FieldAttributeSpecFactory, type FieldSymbol, type FixedIdentifierArgType, type FixedNumArgType, type FuncCallSig, type FunctionSymbol, type IdentifierArgType, type InferAttr, type InferBlock, type InspectableArgType, type IntArgType, type InterpretExtensionBlockAttributesInput, type InterpretExtensionBlockInput, type InterpretExtensionBlocksResult, type JsonValueArgType, type ListOptions, type MapBlockSpec, type MixinSymbol, type ModelAttributeCtx, type ModelAttributeSpecFactory, type ModelSymbol, NAME_THE_PSL_SOURCE_LOSES, type NamedOut, type NamedTypeSymbol, type NamespaceSymbol, type NullArgType, type NumLiteral, type OneOfArgType, type OptionalArgType, type OutOf, PSL_UNRESOLVED_REFERENCE, type Param, type ParameterSymbol, type ParsedPslExtensionBlock, type ParsedTaggedLiteral, type ParsedTypedValue, type ParsedWrittenList, type ParsedWrittenScalar, type PosOut, type PositionalParam, type PslAttribute, type PslAttributeArgument, type PslAttributeNamedArgument, type PslAttributePositionalArgument, type PslAttributeTarget, type PslBlockSpecDescriptor, type PslCompositeType, type PslDefaultFunctionValue, type PslDefaultLiteralValue, type PslDefaultValue, type PslDiagnostic, type PslDiagnosticCode, type PslDiagnosticCollector, type PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, type PslField, type PslFieldAttribute, type PslModel, type PslModelAttribute, type PslNamedTypeDeclaration, type PslNamespace, type PslPosition, type PslSpan, type PslSymbol, type PslTypeConstructorCall, type PslTypesBlock, type RejectingArgType, type Resolution, type ResolvedAttribute, type ResolvedAttributeArg, type ResolvedEntityReference, type ResolvedNamedTypeBinding, type ResolvedTypeConstructorCall, type Scope, type ScopeResolution, type StructBlockSpec, type SymbolTable, type SymbolTableResult, TYPE_ALIAS_ATTRIBUTE_NAMES, type TaggedLiteralArgType, type TypeAlias, type TypeAliasBase, type TypeAttributeSpecContext, type TypeAttributeSubject, type TypedFuncCall, type UnresolvedTypeReference, type UnrestrictedIdentifierArgType, type UnrestrictedNumArgType, type UnsupportedAttribute, type WrittenScalarResult, assembleAttributeSpecs, blockAttribute, blockSpecContext, blockSpecFactoryOf, bool, buildSymbolTable, chosenTypeConstructor, contributedTypeAliasOf, contributedTypeAt, contributedTypeCodecId, contributedTypeOf, createBinder, createPslDiagnosticCollector, dataTypeValue, diagnosticFromSpan, diagnosticSource, entityRef, entityReference, enumMemberValue, fieldAttribute, fieldRef, findBlockDescriptor, flatPslModels, funcCall, generatorAttributeSpec, generatorFunctionCall, getPositionalArgument, groupedTypeLabel, identifier, int, interpretArgs, interpretAttribute, interpretExtensionBlock, interpretExtensionBlockAttributes, interpretExtensionBlocks, isContributedTypeChoice, isNamespaceLike, isPrismaNextSchema, isPslIdentifier, json, jsonValue, keywordPslSpan, leafDiagnostic, list, mapArg, mapBlock, mapPslDiagnostics, matchesSelector, memberEntries, modelAttribute, namespacePslExtensionBlocks, nodePslSpan, nodeSourceText, num, numLiteral, oneOf, optional, parseQuotedStringLiteral, printTypeConstructorCall, readExpressionAs, readResolvedAttribute, readResolvedAttributes, readResolvedConstructorCall, readWrittenScalar, record, referencedFieldRef, refineArg, refuseRepeatedTypeAliasAttributes, renameLegacyDirective, resolveTypeAliases, str, structBlock, taggedLiteral, typeAliasAttributeNames, typeAliasOfField, typeAliasSpecContext, typeAttribute, typeAttributeSpecContextOfField, typeAttributeSubjectLabel, typeGeneratorAttributeSpec, typeReferenceNode, writtenList, writtenScalar };
487
496
  //# sourceMappingURL=psl-parser.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"psl-parser.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;iBAWiB,sBAAsB,WAAW,cAAgB;iBACjD,yBAAyB;;;UAGhC;WACC,SAAS;WACT,WAAW;;UAEZ;WACC,MAAM,iBAAiB;WACvB;;UAED,gBAAgB;WACf;WACA,YAAY,SAAS,eAAe,eAAe;WACnD,OAAO;;UAER,aAAa;WACZ;WACA,OAAO;WACP;WACA,OAAO;;KAEb,UAAU,iBAAiB,gBAAgB,OAAO,aAAa;KAC/D,WAAW,KAAK,UAAU,gBAAgB,OAAO;KACjD,oBAAoB,KAAK,qBAAqB,UAAU,SAAS;;;UAG5D;WACC,SAAS;WACT,OAAO,cAAc;WACrB,yBAAyB;WACzB,oBAAoB;WACpB,WAAW;;;cAGR,kBAAkB;UACtB,kCAAkC;WACjC,OAAO;WACP,gBAAgB;;WAEhB,iBAAiB;;;UAGlB;WACC;;WAEA;;;iBAGM,0BAA0B,SAAS;;UAE1C,iCAAiC,KAAK;WACrC,SAAS;WACT;;WAEA;WACA,gBAAgB;;WAEhB,iBAAiB;;iBAEX,gCAAgC,KAAK,4BAA4B;KAC7E,6BAA6B,KAAK,yBAAyB,qBAAqB;KAChF,6BAA6B,KAAK,8BAA8B,qBAAqB;UAChF;WACC,OAAO,SAAS,eAAe;WAC/B,OAAO,SAAS,eAAe;;KAErC,6BAA6B,KAAK,qBAAqB,qBAAqB;;;UAGvE;WACC,OAAO,SAAS,eAAe;WAC/B,OAAO,SAAS,eAAe;;iBAEzB,uBAAuB,eAAe,kCAAkC;;;UAG/E,qBAAqB,qBA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;UAEf;;WAEC;WACA,YAAY;;;iBAGN,uBAAuB,YAAY,yBAAyB;;iBAE5D,wBAAwB,OAAO,YAAY,uBAAuB;;iBAElE,iBAAiB,OAAO,aAAa,QAAQ,QAAQ,SAAS,YAAY,iBAAiB,aAAa;;iBAExG,qBAAqB,OAAO,WAAW;WAC7C,SAAS;WACT,QAAQ;WACR,yBAAyB;WACzB,oBAAoB;WACpB,WAAW;IAClB;;;;iBAIa,kCAAkC;WACxC,OAAO;;WAEP;WACA,OAAO,YAAY;WACnB,SAAS;WACT,aAAa;;;;;KAKnB;WACM;WACA,SAAS;;WAET;WACA;;WAEA;WACA;WACA;;;iBAGM,kBAAkB,YAAY,gBAAgB"}
1
+ {"version":3,"file":"psl-parser.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;iBAWiB,sBAAsB,WAAW,cAAgB;iBACjD,yBAAyB;;;UAGhC;WACC,SAAS;WACT,WAAW;;UAEZ;WACC,MAAM,iBAAiB;WACvB;;UAED,gBAAgB;WACf;WACA,YAAY,SAAS,eAAe,eAAe;WACnD,OAAO;;UAER,aAAa;WACZ;WACA,OAAO;WACP;WACA,OAAO;;KAEb,UAAU,iBAAiB,gBAAgB,OAAO,aAAa;KAC/D,WAAW,KAAK,UAAU,gBAAgB,OAAO;KACjD,oBAAoB,KAAK,qBAAqB,UAAU,SAAS;;;UAG5D;WACC,SAAS;WACT,OAAO,cAAc;WACrB,yBAAyB;WACzB,oBAAoB;WACpB,WAAW;;;cAGR,kBAAkB;UACtB,kCAAkC;WACjC,OAAO;WACP,gBAAgB;;WAEhB,iBAAiB;;;UAGlB;WACC;;WAEA;;;iBAGM,0BAA0B,SAAS;;UAE1C,iCAAiC,KAAK;WACrC,SAAS;WACT;;WAEA;WACA,gBAAgB;;WAEhB,iBAAiB;;iBAEX,gCAAgC,KAAK,4BAA4B;KAC7E,6BAA6B,KAAK,yBAAyB,qBAAqB;KAChF,6BAA6B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A,QAAQ;;WAER,MAAM;;WAEN;WACA,QAAQ;;;UAGT;WACC,QAAQ;WACR,MAAM;;WAEN;WACA,gBAAgB;;WAEhB,qBAAqB,kBAAkB;;;;;iBAKjC,mBAAmB;WACzB,uBAAuB;WACvB,QAAQ;WACR,SAAS;WACT,aAAa;;WAEb,gBAAgB;;WAEhB,qBAAqB;;WAErB,gCAAgC,WAAW,kBAAkB,oBAAoB,aAAa;IACrG,IAAI,iBAAiB;;UAEf;;WAEC;WACA,YAAY;;;iBAGN,uBAAuB,YAAY,yBAAyB;;iBAE5D,wBAAwB,OAAO,YAAY,uBAAuB;;iBAElE,iBAAiB,OAAO,aAAa,QAAQ,QAAQ,SAAS,YAAY,iBAAiB,aAAa;;iBAExG,qBAAqB,OAAO,WAAW;WAC7C,SAAS;WACT,QAAQ;WACR,yBAAyB;WACzB,oBAAoB;WACpB,WAAW;IAClB;;;;iBAIa,kCAAkC;WACxC,OAAO;;WAEP;WACA,OAAO,YAAY;WACnB,SAAS;WACT,aAAa;;;;;KAKnB;WACM;WACA,SAAS;;WAET;WACA;;WAEA;WACA;WACA;;;iBAGM,kBAAkB,YAAY,gBAAgB"}
@@ -1,16 +1,15 @@
1
1
  import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
2
2
  import { t as InternalError } from "./internal-error-ChGYPVpq-DhUD05u0.mjs";
3
3
  import { a as or, i as okVoid, n as notOk, r as ok, t as and } from "./result-8OXF26MN.mjs";
4
- import { c as createDataTypeLookup } from "./data-type-DPsP4_9m-BRPJX_-z.mjs";
5
- import { T as isAuthoringPslBlockDescriptor, h as describeTaggedLiteralFailure, w as isAuthoringModelAttributeDescriptor, y as instantiateAuthoringTypeAlias } from "./temporal-type-aliases-C9tIy4rv-Dsun86cY.mjs";
4
+ import { O as isAuthoringModelAttributeDescriptor, S as instantiateAuthoringTypeAlias, _ as describeTaggedLiteralFailure, k as isAuthoringPslBlockDescriptor } from "./temporal-type-aliases-BI3SL5iB-DIP8j4Gv.mjs";
6
5
  import { r as UNBOUND_NAMESPACE_ID } from "./namespace-VUH2dgnS-By5y75h9.mjs";
7
- import { n as admittedTags, s as describeAdmittedForms, v as findAuthoringTypeConstructorCall, w as tagForm } from "./authoring-4wc_1ETR.mjs";
6
+ import { T as tagForm, n as admittedTags, s as describeAdmittedForms, y as findAuthoringTypeConstructorCall } from "./authoring-CcfXu8Dz.mjs";
8
7
  import { a as flatPslModels, c as namespacePslExtensionBlocks, n as UNBOUND_PSL_NAMESPACE_NAME } from "./psl-ast-CyvE6CR-.mjs";
9
8
  import { n as isPslIdentifier } from "./tokenizer-C-GTKKjR-B1vOzJy0.mjs";
10
- import { C as printSyntax, a as IdentifierAst, c as ObjectLiteralExprAst, d as StringLiteralExprAst, i as FunctionCallAst, l as PathExprAst, m as TaggedLiteralExprAst, o as NumberLiteralExprAst, r as BooleanLiteralExprAst, t as ArrayLiteralAst } from "./expressions-CMQzbnHk-Db8YJA0B.mjs";
11
- import { a as contributedTypeCodecId, c as diagnosticFromSpan, d as mapPslDiagnostics, f as nodePslSpan, g as readWrittenScalar, h as readResolvedConstructorCall, i as contributedTypeAt, l as diagnosticSource, m as readResolvedAttributes, n as readExpressionAs, o as contributedTypeScope, p as readResolvedAttribute, s as createPslDiagnosticCollector, t as isBareTypeConstructor, u as keywordPslSpan } from "./type-constructor-calls-CNd1Xlw2-CfYTYNSm.mjs";
12
- import { a as FieldDeclarationAst, c as MixinDeclarationAst, d as ModelDeclarationAst, g as isTrivia, h as TypesBlockAst, n as CompositeTypeDeclarationAst, o as GenericBlockDeclarationAst, p as NamespaceDeclarationAst, s as KeyValuePairAst, u as ModelAttributeAst } from "./declarations-BgUAq1RG-D99LhVXe.mjs";
13
- //#region ../../../1-framework/2-authoring/psl-parser/dist/binder-BvVe33ov.mjs
9
+ import { C as printSyntax, a as IdentifierAst, c as ObjectLiteralExprAst, d as StringLiteralExprAst, i as FunctionCallAst, l as PathExprAst, m as TaggedLiteralExprAst, o as NumberLiteralExprAst, r as BooleanLiteralExprAst, t as ArrayLiteralAst } from "./expressions-CMQzbnHk-B7zBWJ0c.mjs";
10
+ import { C as typeAttributeSpecContextOfField, S as readWrittenScalar, _ as printTypeConstructorCall, a as chosenTypeConstructor, b as readResolvedAttributes, c as contributedTypeScope, d as diagnosticSource, f as isContributedTypeChoice, g as nodePslSpan, l as createPslDiagnosticCollector, m as mapPslDiagnostics, o as contributedTypeAt, p as keywordPslSpan, r as EMPTY_DATA_TYPES, s as contributedTypeCodecId, t as isBareTypeConstructor, u as diagnosticFromSpan, v as readExpressionAs, w as typeAttributeSubjectLabel, x as readResolvedConstructorCall, y as readResolvedAttribute } from "./type-constructor-calls-Bfg5ojed-DYHnzC9z.mjs";
11
+ import { a as FieldDeclarationAst, c as MixinDeclarationAst, d as ModelDeclarationAst, g as isTrivia, h as TypesBlockAst, n as CompositeTypeDeclarationAst, o as GenericBlockDeclarationAst, p as NamespaceDeclarationAst, s as KeyValuePairAst, u as ModelAttributeAst } from "./declarations-BgUAq1RG-DvmyJ8LS.mjs";
12
+ //#region ../../../1-framework/2-authoring/psl-parser/dist/binder-CqDHN1et.mjs
14
13
  function* modelAttributeDescriptors(namespace) {
15
14
  for (const value of Object.values(namespace)) {
16
15
  if (isAuthoringModelAttributeDescriptor(value)) {
@@ -629,13 +628,21 @@ const PSL_UNRESOLVED_REFERENCE = "PSL_UNRESOLVED_REFERENCE";
629
628
  function typeReferenceNode(symbol) {
630
629
  return symbol.node.typeAnnotation()?.name()?.syntax;
631
630
  }
632
- function contributedTypeOf(resolution, binder) {
633
- return contributedTypeOfResolution(resolution, (base) => binder.symbolForNode(base));
631
+ /**
632
+ * The contributed type a field's or type alias's type resolves to, through a named type when it is declared with one, and the call it is written with there: `call`, the field's own, for a contributed type, or the named type's.
633
+ */
634
+ function contributedTypeOf(resolution, binder, call) {
635
+ return contributedTypeOfResolution(resolution, (base) => binder.symbolForNode(base), call);
634
636
  }
635
- function contributedTypeOfResolution(resolution, resolve) {
636
- const base = resolution?.kind === "namedType" ? typeReferenceNode(resolution.symbol) : void 0;
637
+ function contributedTypeOfResolution(resolution, resolve, call) {
638
+ const named = resolution?.kind === "namedType" ? resolution.symbol : void 0;
639
+ const base = named === void 0 ? void 0 : typeReferenceNode(named);
637
640
  const target = base === void 0 ? resolution : resolve(base);
638
- return target?.kind === "contributedType" ? target.symbol : void 0;
641
+ if (target?.kind !== "contributedType") return void 0;
642
+ return {
643
+ symbol: target.symbol,
644
+ call: named === void 0 ? call : named.typeConstructor
645
+ };
639
646
  }
640
647
  var PslBinder = class {
641
648
  #declarations;
@@ -874,12 +881,12 @@ function bind(options) {
874
881
  if (specContext === void 0) return void 0;
875
882
  const node = typeReferenceNode(field);
876
883
  const typeResolution = node === void 0 ? void 0 : references.get(node);
877
- const typeConstructor = contributedTypeOfResolution(typeResolution, (base) => references.get(base));
884
+ const contributedType = contributedTypeOfResolution(typeResolution, (base) => references.get(base), field.typeConstructor);
878
885
  return factory({
879
886
  ...specContext,
880
887
  field,
881
888
  typeResolution,
882
- typeConstructor
889
+ contributedType
883
890
  });
884
891
  }, {
885
892
  ...context,
@@ -2098,32 +2105,6 @@ function fieldLevelAttribute(name, config) {
2098
2105
  ...config.refine !== void 0 ? { refine: config.refine } : {}
2099
2106
  };
2100
2107
  }
2101
- /** The data types of a stack that registers none. */
2102
- const EMPTY_DATA_TYPES = {
2103
- entries: {},
2104
- lookup: createDataTypeLookup([]),
2105
- dataTypeOfCodec: () => void 0
2106
- };
2107
- /** How a diagnostic names a subject, as in `Field "Post.slug"` or `Type alias "Slug"`. */
2108
- function typeAttributeSubjectLabel(subject) {
2109
- return `${subject.kind === "field" ? "Field" : "Type alias"} "${subject.name}"`;
2110
- }
2111
- function typeAttributeSpecContextOfField(ctx) {
2112
- return {
2113
- symbols: ctx.symbols,
2114
- defaultFunctionRegistry: ctx.defaultFunctionRegistry,
2115
- generatorFunctions: ctx.generatorFunctions,
2116
- dataTypes: ctx.dataTypes,
2117
- subject: {
2118
- kind: "field",
2119
- name: `${ctx.model.name}.${ctx.field.name}`
2120
- },
2121
- list: ctx.field.list,
2122
- typeName: ctx.field.typeName,
2123
- typeResolution: ctx.typeResolution,
2124
- typeConstructor: ctx.typeConstructor
2125
- };
2126
- }
2127
2108
  const GENERATOR_PHASE_DOCUMENTATION = {
2128
2109
  onCreate: "Generates a value in the client when a row is created without one.",
2129
2110
  onUpdate: "Generates a value in the client every time a row is updated."
@@ -2150,7 +2131,7 @@ function generatorFunctionCall(name, signature, dataTypes) {
2150
2131
  * The generator function arms for a field's codec. A call to a function that does not apply to the codec, or that no component declares, is refused before the arms are tried, so the author is told which functions do apply.
2151
2132
  */
2152
2133
  function generatorCallArm(ctx) {
2153
- const codecId = ctx.typeConstructor === void 0 ? void 0 : contributedTypeCodecId(ctx.typeConstructor.descriptor);
2134
+ const codecId = ctx.contributedType === void 0 ? void 0 : contributedTypeCodecId(ctx.contributedType, ctx.dataTypes);
2154
2135
  const functions = codecId === void 0 ? [] : ctx.generatorFunctions.functionsFor(codecId);
2155
2136
  const subject = typeAttributeSubjectLabel(ctx.subject);
2156
2137
  const target = codecId === void 0 ? "the field's type" : `codec "${codecId}"`;
@@ -2570,6 +2551,11 @@ function baseOf(declaration, resolution) {
2570
2551
  symbol: resolution.symbol
2571
2552
  };
2572
2553
  if (resolution?.kind !== "contributedType") return void 0;
2554
+ if (isContributedTypeChoice(resolution.symbol)) return {
2555
+ kind: "typeChoice",
2556
+ symbol: resolution.symbol,
2557
+ call: declaration.typeConstructor
2558
+ };
2573
2559
  const { descriptor } = resolution.symbol;
2574
2560
  if (descriptor.kind !== "typeConstructor") return void 0;
2575
2561
  if (declaration.isConstructor) return {
@@ -2672,7 +2658,7 @@ function typeAliasSpecContext(alias, input) {
2672
2658
  list: false,
2673
2659
  typeName: alias.baseName,
2674
2660
  typeResolution: alias.baseResolution,
2675
- typeConstructor: contributedTypeOf(alias.baseResolution, input.binder)
2661
+ contributedType: contributedTypeOf(alias.baseResolution, input.binder, alias.symbol.typeConstructor)
2676
2662
  };
2677
2663
  }
2678
2664
  /**
@@ -2691,6 +2677,6 @@ function refuseRepeatedTypeAliasAttributes(input) {
2691
2677
  return repeated.length > 0;
2692
2678
  }
2693
2679
  //#endregion
2694
- export { EMPTY_DATA_TYPES, NAME_THE_PSL_SOURCE_LOSES, PSL_UNRESOLVED_REFERENCE, TYPE_ALIAS_ATTRIBUTE_NAMES, assembleAttributeSpecs, blockAttribute, blockSpecContext, blockSpecFactoryOf, bool, buildSymbolTable, contributedTypeAliasOf, contributedTypeAt, contributedTypeCodecId, contributedTypeOf, createBinder, createPslDiagnosticCollector, dataTypeValue, diagnosticFromSpan, diagnosticSource, entityRef, entityReference, enumMemberValue, fieldAttribute, fieldRef, findBlockDescriptor, flatPslModels, funcCall, generatorAttributeSpec, generatorFunctionCall, getPositionalArgument, groupedTypeLabel, identifier, int, interpretArgs, interpretAttribute, interpretExtensionBlock, interpretExtensionBlockAttributes, interpretExtensionBlocks, isNamespaceLike, isPrismaNextSchema, isPslIdentifier, json, jsonValue, keywordPslSpan, leafDiagnostic, list, mapArg, mapBlock, mapPslDiagnostics, matchesSelector, memberEntries, modelAttribute, namespacePslExtensionBlocks, nodePslSpan, nodeSourceText, num, numLiteral, oneOf, optional, parseQuotedStringLiteral, readExpressionAs, readResolvedAttribute, readResolvedAttributes, readResolvedConstructorCall, readWrittenScalar, record, referencedFieldRef, refineArg, refuseRepeatedTypeAliasAttributes, renameLegacyDirective, resolveTypeAliases, str, structBlock, taggedLiteral, typeAliasAttributeNames, typeAliasOfField, typeAliasSpecContext, typeAttribute, typeAttributeSpecContextOfField, typeAttributeSubjectLabel, typeGeneratorAttributeSpec, typeReferenceNode, writtenList, writtenScalar };
2680
+ export { EMPTY_DATA_TYPES, NAME_THE_PSL_SOURCE_LOSES, PSL_UNRESOLVED_REFERENCE, TYPE_ALIAS_ATTRIBUTE_NAMES, assembleAttributeSpecs, blockAttribute, blockSpecContext, blockSpecFactoryOf, bool, buildSymbolTable, chosenTypeConstructor, contributedTypeAliasOf, contributedTypeAt, contributedTypeCodecId, contributedTypeOf, createBinder, createPslDiagnosticCollector, dataTypeValue, diagnosticFromSpan, diagnosticSource, entityRef, entityReference, enumMemberValue, fieldAttribute, fieldRef, findBlockDescriptor, flatPslModels, funcCall, generatorAttributeSpec, generatorFunctionCall, getPositionalArgument, groupedTypeLabel, identifier, int, interpretArgs, interpretAttribute, interpretExtensionBlock, interpretExtensionBlockAttributes, interpretExtensionBlocks, isContributedTypeChoice, isNamespaceLike, isPrismaNextSchema, isPslIdentifier, json, jsonValue, keywordPslSpan, leafDiagnostic, list, mapArg, mapBlock, mapPslDiagnostics, matchesSelector, memberEntries, modelAttribute, namespacePslExtensionBlocks, nodePslSpan, nodeSourceText, num, numLiteral, oneOf, optional, parseQuotedStringLiteral, printTypeConstructorCall, readExpressionAs, readResolvedAttribute, readResolvedAttributes, readResolvedConstructorCall, readWrittenScalar, record, referencedFieldRef, refineArg, refuseRepeatedTypeAliasAttributes, renameLegacyDirective, resolveTypeAliases, str, structBlock, taggedLiteral, typeAliasAttributeNames, typeAliasOfField, typeAliasSpecContext, typeAttribute, typeAttributeSpecContextOfField, typeAttributeSubjectLabel, typeGeneratorAttributeSpec, typeReferenceNode, writtenList, writtenScalar };
2695
2681
 
2696
2682
  //# sourceMappingURL=psl-parser.mjs.map