@prisma/orm-family-sql 8.0.0-rc.19 → 8.0.0-rc.19-dev.2

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 (251) hide show
  1. package/dist/{ast-DlajRqlB.d.mts → ast-BySjcUKx.d.mts} +3 -3
  2. package/dist/{ast-DlajRqlB.d.mts.map → ast-BySjcUKx.d.mts.map} +1 -1
  3. package/dist/{attribute-specs-cHzMPvMl.d.mts → attribute-specs-BsaemIyu.d.mts} +9 -11
  4. package/dist/attribute-specs-BsaemIyu.d.mts.map +1 -0
  5. package/dist/{authoring-entity-types-DUQLeBf_-nuhFC6jJ.d.mts → authoring-entity-types-DUQLeBf_-DSWWvkLJ.d.mts} +2 -2
  6. package/dist/{authoring-entity-types-DUQLeBf_-nuhFC6jJ.d.mts.map → authoring-entity-types-DUQLeBf_-DSWWvkLJ.d.mts.map} +1 -1
  7. package/dist/builder.d.mts +3 -3
  8. package/dist/builder__runtime.d.mts +10 -10
  9. package/dist/builder__runtime.mjs +1 -1
  10. package/dist/builder__types.d.mts +5 -5
  11. package/dist/{codec-descriptor-registry-4kw8FPpo.mjs → codec-descriptor-registry-MG2bFxW_.mjs} +5 -14
  12. package/dist/codec-descriptor-registry-MG2bFxW_.mjs.map +1 -0
  13. package/dist/collection-methods-BTknGdHI.d.mts +1 -0
  14. package/dist/{collection-methods-BtJYB_5s-0fek2_wK.d.mts → collection-methods-D2UnCS0S-CRYoAOtB.d.mts} +5 -5
  15. package/dist/{collection-methods-BtJYB_5s-0fek2_wK.d.mts.map → collection-methods-D2UnCS0S-CRYoAOtB.d.mts.map} +1 -1
  16. package/dist/{config-types-DY37pCIx.mjs → config-types-BLDwd9wS.mjs} +2 -2
  17. package/dist/{config-types-DY37pCIx.mjs.map → config-types-BLDwd9wS.mjs.map} +1 -1
  18. package/dist/{config-types-DN0IueHY.d.mts → config-types-D8quwydu.d.mts} +4 -4
  19. package/dist/{config-types-DN0IueHY.d.mts.map → config-types-D8quwydu.d.mts.map} +1 -1
  20. package/dist/{contract-builder-DT689tII.mjs → contract-builder-CNeGxqP_.mjs} +96 -99
  21. package/dist/contract-builder-CNeGxqP_.mjs.map +1 -0
  22. package/dist/{contract-builder-DZSUqbp0.d.mts → contract-builder-xFftVmD8.d.mts} +85 -69
  23. package/dist/contract-builder-xFftVmD8.d.mts.map +1 -0
  24. package/dist/contract-emitter.mjs +1 -1
  25. package/dist/contract-prisma7__provider.d.mts +2 -2
  26. package/dist/contract-prisma7__provider.mjs +4 -4
  27. package/dist/contract-psl.d.mts +4 -4
  28. package/dist/contract-psl.d.mts.map +1 -1
  29. package/dist/contract-psl.mjs +1 -1
  30. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  31. package/dist/contract-psl__attribute-specs.mjs +1 -1
  32. package/dist/contract-psl__provider.d.mts +2 -2
  33. package/dist/contract-psl__provider.mjs +2 -2
  34. package/dist/contract-psl__provider.mjs.map +1 -1
  35. package/dist/contract-ts.d.mts +3 -3
  36. package/dist/contract-ts.mjs +3 -3
  37. package/dist/contract-ts__config-types.d.mts +1 -1
  38. package/dist/contract-ts__config-types.mjs +1 -1
  39. package/dist/contract-ts__contract-builder.d.mts +2 -2
  40. package/dist/contract-ts__contract-builder.mjs +2 -2
  41. package/dist/{contract-view-BAbRgQMW.d.mts → contract-view-BgpEwVz0.d.mts} +2 -2
  42. package/dist/{contract-view-BAbRgQMW.d.mts.map → contract-view-BgpEwVz0.d.mts.map} +1 -1
  43. package/dist/contract.d.mts +13 -13
  44. package/dist/contract.mjs +7 -7
  45. package/dist/contract__contract-view.d.mts +1 -1
  46. package/dist/contract__data-type.d.mts +1 -1
  47. package/dist/contract__entity-kinds.d.mts +1 -1
  48. package/dist/contract__entity-kinds.mjs +1 -1
  49. package/dist/contract__factories.d.mts +1 -1
  50. package/dist/contract__factories.mjs +1 -1
  51. package/dist/contract__foreign-key-materialization.d.mts +1 -1
  52. package/dist/contract__index-type-validation.d.mts +1 -1
  53. package/dist/contract__resolve-storage-table.d.mts +1 -1
  54. package/dist/contract__types.d.mts +5 -5
  55. package/dist/contract__types.mjs +4 -4
  56. package/dist/contract__validators.d.mts +1 -1
  57. package/dist/contract__validators.mjs +2 -2
  58. package/dist/{control-CF-KJYTH.mjs → control-KwF_dWdr.mjs} +33 -67
  59. package/dist/control-KwF_dWdr.mjs.map +1 -0
  60. package/dist/{control-adapter-Bn0uhplA-BBax-2PG.d.mts → control-adapter-Bn0uhplA-D0fhkvnJ.d.mts} +8 -8
  61. package/dist/{control-adapter-Bn0uhplA-BBax-2PG.d.mts.map → control-adapter-Bn0uhplA-D0fhkvnJ.d.mts.map} +1 -1
  62. package/dist/{control-adapter-QzlyTp1z.d.mts → control-adapter-El4czoUh.d.mts} +4 -4
  63. package/dist/{control-adapter-QzlyTp1z.d.mts.map → control-adapter-El4czoUh.d.mts.map} +1 -1
  64. package/dist/{control-YFLg-7Gn.d.mts → control-cq1XZ1wo.d.mts} +24 -24
  65. package/dist/control-cq1XZ1wo.d.mts.map +1 -0
  66. package/dist/{data-type-BacIoCfv.d.mts → data-type-CWFhlpaq.d.mts} +3 -3
  67. package/dist/{data-type-BacIoCfv.d.mts.map → data-type-CWFhlpaq.d.mts.map} +1 -1
  68. package/dist/{db-BmrN9nRS-DGNx3jwd.d.mts → db-BmrN9nRS-MT5cfCJy.d.mts} +13 -13
  69. package/dist/{db-BmrN9nRS-DGNx3jwd.d.mts.map → db-BmrN9nRS-MT5cfCJy.d.mts.map} +1 -1
  70. package/dist/{ddl-types-BBrLVtS--u4u-I8L5.d.mts → ddl-types-By5mT2_S--j4lTxme.d.mts} +4 -4
  71. package/dist/{ddl-types-BBrLVtS--u4u-I8L5.d.mts.map → ddl-types-By5mT2_S--j4lTxme.d.mts.map} +1 -1
  72. package/dist/{derived-checks-DpPkO6Dt-D-vp9vY3.d.mts → derived-checks-DpPkO6Dt-D6tfanWv.d.mts} +3 -3
  73. package/dist/{derived-checks-DpPkO6Dt-D-vp9vY3.d.mts.map → derived-checks-DpPkO6Dt-D6tfanWv.d.mts.map} +1 -1
  74. package/dist/{derived-checks-CXW9ytkb-B_zxX1-8.mjs → derived-checks-iXF3y0Ki-28vqz_8w.mjs} +22 -18
  75. package/dist/derived-checks-iXF3y0Ki-28vqz_8w.mjs.map +1 -0
  76. package/dist/{diff-CzUyZmJi.d.mts → diff-Cqz45svW.d.mts} +7 -7
  77. package/dist/{diff-CzUyZmJi.d.mts.map → diff-Cqz45svW.d.mts.map} +1 -1
  78. package/dist/diff-DZ82XaGR.mjs.map +1 -1
  79. package/dist/{dist-Bxu8hzMC.mjs → dist-D8RKUdwh.mjs} +4 -5
  80. package/dist/dist-D8RKUdwh.mjs.map +1 -0
  81. package/dist/{entity-kinds-CQ_jwgYv-DoOBWwvX.mjs → entity-kinds-JR5SAm5h-ZkDejOUK.mjs} +4 -8
  82. package/dist/entity-kinds-JR5SAm5h-ZkDejOUK.mjs.map +1 -0
  83. package/dist/{entity-kinds-BCMNbwxO.d.mts → entity-kinds-OhCjfrIe.d.mts} +2 -2
  84. package/dist/{entity-kinds-BCMNbwxO.d.mts.map → entity-kinds-OhCjfrIe.d.mts.map} +1 -1
  85. package/dist/{exports-D3JbXqm_-mm-wWICO.mjs → exports-CRROThzp-BNz0pGj0.mjs} +8 -65
  86. package/dist/{exports-D3JbXqm_-mm-wWICO.mjs.map → exports-CRROThzp-BNz0pGj0.mjs.map} +1 -1
  87. package/dist/{expression-CC4544Y8-C_EWTA_0.d.mts → expression-6ld_ZQL6-CQghHqQ4.d.mts} +8 -8
  88. package/dist/{expression-CC4544Y8-C_EWTA_0.d.mts.map → expression-6ld_ZQL6-CQghHqQ4.d.mts.map} +1 -1
  89. package/dist/expression-BLiObOS8.d.mts +2 -0
  90. package/dist/{expression-BdaU48Qq-Dff96hT_.d.mts → expression-CieaNuRM-BpwVyjJL.d.mts} +4 -4
  91. package/dist/expression-CieaNuRM-BpwVyjJL.d.mts.map +1 -0
  92. package/dist/{factories-DkD3nMYt.mjs → factories-C4JbtO84.mjs} +2 -2
  93. package/dist/{factories-DkD3nMYt.mjs.map → factories-C4JbtO84.mjs.map} +1 -1
  94. package/dist/{factories-B4AMRt6O.d.mts → factories-CfHDga-q.d.mts} +3 -3
  95. package/dist/{factories-B4AMRt6O.d.mts.map → factories-CfHDga-q.d.mts.map} +1 -1
  96. package/dist/family.d.mts +14 -14
  97. package/dist/family.mjs +6 -6
  98. package/dist/family__control-adapter.d.mts +2 -2
  99. package/dist/family__control.d.mts +4 -4
  100. package/dist/family__control.mjs +3 -3
  101. package/dist/family__diff.d.mts +1 -1
  102. package/dist/family__diff.mjs +1 -1
  103. package/dist/family__ir.d.mts +1 -1
  104. package/dist/family__ir.mjs +1 -1
  105. package/dist/family__migration.d.mts +1 -1
  106. package/dist/family__pack.d.mts +1 -1
  107. package/dist/family__pack.mjs +2 -2
  108. package/dist/family__psl-build.d.mts +1 -1
  109. package/dist/family__psl-infer.d.mts +1 -1
  110. package/dist/family__runtime.d.mts +2 -2
  111. package/dist/{foreign-key-materialization-bL-t2oPB.d.mts → foreign-key-materialization-CgW18KP-.d.mts} +3 -3
  112. package/dist/{foreign-key-materialization-bL-t2oPB.d.mts.map → foreign-key-materialization-CgW18KP-.d.mts.map} +1 -1
  113. package/dist/{functions-wFi6AtCc.d.mts → functions-DTInIMZT.d.mts} +6 -6
  114. package/dist/{functions-wFi6AtCc.d.mts.map → functions-DTInIMZT.d.mts.map} +1 -1
  115. package/dist/{generator-functions-DuDZSQHE-BbKhsXck.mjs → generator-functions-DuDZSQHE-Dl5EP61A.mjs} +2 -2
  116. package/dist/{generator-functions-DuDZSQHE-BbKhsXck.mjs.map → generator-functions-DuDZSQHE-Dl5EP61A.mjs.map} +1 -1
  117. package/dist/{index-v5QXXCrA.d.mts → index-3aEIvk82.d.mts} +22 -22
  118. package/dist/{index-v5QXXCrA.d.mts.map → index-3aEIvk82.d.mts.map} +1 -1
  119. package/dist/{index-BRFLss5v.d.mts → index-ffCr9ySU.d.mts} +3 -3
  120. package/dist/{index-BRFLss5v.d.mts.map → index-ffCr9ySU.d.mts.map} +1 -1
  121. package/dist/{index-reference-DSsn39tX-EEkv1N4w.d.mts → index-reference-4wsdeB7v-DiTLLldN.d.mts} +4 -4
  122. package/dist/{index-reference-DSsn39tX-EEkv1N4w.d.mts.map → index-reference-4wsdeB7v-DiTLLldN.d.mts.map} +1 -1
  123. package/dist/index-reference-Da9mdOjD.d.mts +1 -0
  124. package/dist/{index-type-validation-Cz2T3FJn.d.mts → index-type-validation-Ibtp3RKo.d.mts} +3 -3
  125. package/dist/{index-type-validation-Cz2T3FJn.d.mts.map → index-type-validation-Ibtp3RKo.d.mts.map} +1 -1
  126. package/dist/{interpreter-DTwRm0sl-DHX1SdeJ.mjs → interpreter-BGgim2OE-D9BG-4aU.mjs} +148 -130
  127. package/dist/interpreter-BGgim2OE-D9BG-4aU.mjs.map +1 -0
  128. package/dist/{ir-qK4wX3D3.d.mts → ir-BjC1VOuq.d.mts} +3 -3
  129. package/dist/{ir-qK4wX3D3.d.mts.map → ir-BjC1VOuq.d.mts.map} +1 -1
  130. package/dist/{middleware-C7H9kh01-l6_mYpN2.d.mts → middleware-DHkW6pRr-CFiQojK4.d.mts} +3 -3
  131. package/dist/{middleware-C7H9kh01-l6_mYpN2.d.mts.map → middleware-DHkW6pRr-CFiQojK4.d.mts.map} +1 -1
  132. package/dist/middleware-GO31SJSv.d.mts +1 -0
  133. package/dist/{migration-tfMTDejH.d.mts → migration-DeekERBF.d.mts} +4 -4
  134. package/dist/{migration-tfMTDejH.d.mts.map → migration-DeekERBF.d.mts.map} +1 -1
  135. package/dist/operations.d.mts +1 -1
  136. package/dist/orm-client.d.mts +21 -21
  137. package/dist/orm-client.mjs +2 -2
  138. package/dist/{pack-NM8AYiUp.mjs → pack-B5_CfdgT.mjs} +3 -3
  139. package/dist/{pack-NM8AYiUp.mjs.map → pack-B5_CfdgT.mjs.map} +1 -1
  140. package/dist/{pack-AyeYizq-.d.mts → pack-BJ53Inwa.d.mts} +6 -6
  141. package/dist/{pack-AyeYizq-.d.mts.map → pack-BJ53Inwa.d.mts.map} +1 -1
  142. package/dist/{plan-BiCLdXQr-0ZB4P6b9.d.mts → plan-Cr4azjnG-lIrzIrmu.d.mts} +5 -5
  143. package/dist/plan-Cr4azjnG-lIrzIrmu.d.mts.map +1 -0
  144. package/dist/plan-OXQ8s6Ee.d.mts +2 -0
  145. package/dist/psl-build-D5VG40ej.mjs.map +1 -1
  146. package/dist/{psl-build-C4ia2uM6.d.mts → psl-build-prdUw3sC.d.mts} +4 -4
  147. package/dist/{psl-build-C4ia2uM6.d.mts.map → psl-build-prdUw3sC.d.mts.map} +1 -1
  148. package/dist/{psl-column-resolution-BgThghdu-BWaFlWYV.d.mts → psl-column-resolution-ChZqioOc-DcjGSXDp.d.mts} +3 -4
  149. package/dist/psl-column-resolution-ChZqioOc-DcjGSXDp.d.mts.map +1 -0
  150. package/dist/{psl-field-resolution-DpGsATq3-BREG9FbU.mjs → psl-field-resolution-C9zwpsAu-DCc7Eifv.mjs} +163 -133
  151. package/dist/psl-field-resolution-C9zwpsAu-DCc7Eifv.mjs.map +1 -0
  152. package/dist/{psl-infer-B_n-rSCj.d.mts → psl-infer-CpTRaF5I.d.mts} +3 -3
  153. package/dist/{psl-infer-B_n-rSCj.d.mts.map → psl-infer-CpTRaF5I.d.mts.map} +1 -1
  154. package/dist/{query-lane-context-DEr9NHM--ClIM8v5T.d.mts → query-lane-context-BCEoKy0_-DQOOliDn.d.mts} +11 -20
  155. package/dist/query-lane-context-BCEoKy0_-DQOOliDn.d.mts.map +1 -0
  156. package/dist/query-lane-context-BssPNZey.d.mts +1 -0
  157. package/dist/relational-core.d.mts +13 -13
  158. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  159. package/dist/relational-core__ast.d.mts +3 -3
  160. package/dist/relational-core__codec-descriptor-registry.d.mts +6 -7
  161. package/dist/relational-core__codec-descriptor-registry.d.mts.map +1 -1
  162. package/dist/relational-core__codec-descriptor-registry.mjs +1 -1
  163. package/dist/relational-core__collection-methods.d.mts +2 -2
  164. package/dist/relational-core__contract-free.d.mts +3 -3
  165. package/dist/relational-core__expression.d.mts +3 -3
  166. package/dist/relational-core__functions.d.mts +1 -1
  167. package/dist/relational-core__index-reference.d.mts +2 -2
  168. package/dist/relational-core__middleware.d.mts +2 -2
  169. package/dist/relational-core__plan.d.mts +3 -3
  170. package/dist/relational-core__query-lane-context.d.mts +3 -3
  171. package/dist/relational-core__types.d.mts +2 -2
  172. package/dist/{resolve-storage-table-8N2xelSh.d.mts → resolve-storage-table-CxmU_MPu.d.mts} +3 -3
  173. package/dist/{resolve-storage-table-8N2xelSh.d.mts.map → resolve-storage-table-CxmU_MPu.d.mts.map} +1 -1
  174. package/dist/{runtime-BlUQqGCH.d.mts → runtime-Bmndf-fm.d.mts} +2 -2
  175. package/dist/{runtime-BlUQqGCH.d.mts.map → runtime-Bmndf-fm.d.mts.map} +1 -1
  176. package/dist/runtime.d.mts +5 -5
  177. package/dist/runtime.mjs +1 -1
  178. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  179. package/dist/{schema-differ-DmP74bB8-BfEQ_9cY.d.mts → schema-differ-DmP74bB8-0ZupRJKb.d.mts} +5 -5
  180. package/dist/{schema-differ-DmP74bB8-BfEQ_9cY.d.mts.map → schema-differ-DmP74bB8-0ZupRJKb.d.mts.map} +1 -1
  181. package/dist/schema-ir.d.mts +1 -1
  182. package/dist/schema-ir__types.d.mts +2 -2
  183. package/dist/{schema-verify-BwRdzbHb-DfFAS0EC.mjs → schema-verify-C3wbdviw-BifQBCpu.mjs} +3 -3
  184. package/dist/{schema-verify-BwRdzbHb-DfFAS0EC.mjs.map → schema-verify-C3wbdviw-BifQBCpu.mjs.map} +1 -1
  185. package/dist/{serialized-index-52COq1yV-CUJ2F65u.mjs → serialized-index-DjCCnXB1-C_YccpTL.mjs} +3 -3
  186. package/dist/{serialized-index-52COq1yV-CUJ2F65u.mjs.map → serialized-index-DjCCnXB1-C_YccpTL.mjs.map} +1 -1
  187. package/dist/{sql-contract-serializer-sMY3prTx-CpZa5Nlt.mjs → sql-contract-serializer-sMY3prTx-BkFoHhST.mjs} +4 -4
  188. package/dist/{sql-contract-serializer-sMY3prTx-CpZa5Nlt.mjs.map → sql-contract-serializer-sMY3prTx-BkFoHhST.mjs.map} +1 -1
  189. package/dist/{sql-execution-plan-BEhLlwYP-seGNP8Qr.d.mts → sql-execution-plan-3uxYjHyu-C0Z4_RSY.d.mts} +3 -3
  190. package/dist/sql-execution-plan-3uxYjHyu-C0Z4_RSY.d.mts.map +1 -0
  191. package/dist/{sql-storage-tZhB8nS5-8NSWT0TW.d.mts → sql-storage-DeCAh5Hi-nJQUIgfL.d.mts} +6 -9
  192. package/dist/sql-storage-DeCAh5Hi-nJQUIgfL.d.mts.map +1 -0
  193. package/dist/{storage-table-DC9afJhr-CmRU56OS.d.mts → storage-table-Bf1ZjnxO-NvkG2pgq.d.mts} +2 -8
  194. package/dist/storage-table-Bf1ZjnxO-NvkG2pgq.d.mts.map +1 -0
  195. package/dist/{storage-table-DN36E2yE-0ncS821l.mjs → storage-table-DDvN83mw-CbCFr5wm.mjs} +2 -3
  196. package/dist/{storage-table-DN36E2yE-0ncS821l.mjs.map → storage-table-DDvN83mw-CbCFr5wm.mjs.map} +1 -1
  197. package/dist/{transaction-state-DR3nKTmH-2-ewbth1.d.mts → transaction-state-DR3nKTmH-D6VdY7YX.d.mts} +9 -9
  198. package/dist/{transaction-state-DR3nKTmH-2-ewbth1.d.mts.map → transaction-state-DR3nKTmH-D6VdY7YX.d.mts.map} +1 -1
  199. package/dist/types-BUggiEEH.d.mts +1 -0
  200. package/dist/{types-M_FeBD9w.mjs → types-C7610W2l.mjs} +5 -6
  201. package/dist/types-C7610W2l.mjs.map +1 -0
  202. package/dist/{types-CI5lled6-CDV4aYNB.d.mts → types-CI5lled6-DMWq8aOX.d.mts} +9 -9
  203. package/dist/{types-CI5lled6-CDV4aYNB.d.mts.map → types-CI5lled6-DMWq8aOX.d.mts.map} +1 -1
  204. package/dist/{types-B2Dee96w.d.mts → types-CRbj_WQf.d.mts} +7 -12
  205. package/dist/types-CRbj_WQf.d.mts.map +1 -0
  206. package/dist/{types-DiD6BqoN-ZF53hwPp.d.mts → types-CuCxAQat-BBGUHEku.d.mts} +3 -4
  207. package/dist/types-CuCxAQat-BBGUHEku.d.mts.map +1 -0
  208. package/dist/types-DDqbg3WC.d.mts +1 -0
  209. package/dist/{types-Dqf87mfA-BOElvimQ.d.mts → types-DfKvtJwS-tndgHh53.d.mts} +4 -4
  210. package/dist/{types-Dqf87mfA-BOElvimQ.d.mts.map → types-DfKvtJwS-tndgHh53.d.mts.map} +1 -1
  211. package/dist/{types-GgcOrYm_-RhoxnXdj.d.mts → types-DriMIMNQ-BBacSgaI.d.mts} +4 -5
  212. package/dist/types-DriMIMNQ-BBacSgaI.d.mts.map +1 -0
  213. package/dist/{types-Dy1w8GHm-7hJTBOLL.d.mts → types-TXO7x1BA-DuW4v0rw.d.mts} +11 -11
  214. package/dist/{types-Dy1w8GHm-7hJTBOLL.d.mts.map → types-TXO7x1BA-DuW4v0rw.d.mts.map} +1 -1
  215. package/dist/{validators-CTZ-hU2l.d.mts → validators-BDuMio1F.d.mts} +3 -4
  216. package/dist/validators-BDuMio1F.d.mts.map +1 -0
  217. package/dist/{validators-Cfy0jmZ2.mjs → validators-xXKEHvnw.mjs} +25 -12
  218. package/dist/validators-xXKEHvnw.mjs.map +1 -0
  219. package/package.json +18 -18
  220. package/dist/attribute-specs-cHzMPvMl.d.mts.map +0 -1
  221. package/dist/codec-descriptor-registry-4kw8FPpo.mjs.map +0 -1
  222. package/dist/collection-methods-CwBVxvll.d.mts +0 -1
  223. package/dist/contract-builder-DT689tII.mjs.map +0 -1
  224. package/dist/contract-builder-DZSUqbp0.d.mts.map +0 -1
  225. package/dist/control-CF-KJYTH.mjs.map +0 -1
  226. package/dist/control-YFLg-7Gn.d.mts.map +0 -1
  227. package/dist/derived-checks-CXW9ytkb-B_zxX1-8.mjs.map +0 -1
  228. package/dist/dist-Bxu8hzMC.mjs.map +0 -1
  229. package/dist/entity-kinds-CQ_jwgYv-DoOBWwvX.mjs.map +0 -1
  230. package/dist/expression-BdaU48Qq-Dff96hT_.d.mts.map +0 -1
  231. package/dist/expression-DI_LoyKf.d.mts +0 -2
  232. package/dist/index-reference-burEIuXy.d.mts +0 -1
  233. package/dist/interpreter-DTwRm0sl-DHX1SdeJ.mjs.map +0 -1
  234. package/dist/middleware-CpxZxPGp.d.mts +0 -1
  235. package/dist/plan-BiCLdXQr-0ZB4P6b9.d.mts.map +0 -1
  236. package/dist/plan-xPa9B6I3.d.mts +0 -2
  237. package/dist/psl-column-resolution-BgThghdu-BWaFlWYV.d.mts.map +0 -1
  238. package/dist/psl-field-resolution-DpGsATq3-BREG9FbU.mjs.map +0 -1
  239. package/dist/query-lane-context--sVodqqM.d.mts +0 -1
  240. package/dist/query-lane-context-DEr9NHM--ClIM8v5T.d.mts.map +0 -1
  241. package/dist/sql-execution-plan-BEhLlwYP-seGNP8Qr.d.mts.map +0 -1
  242. package/dist/sql-storage-tZhB8nS5-8NSWT0TW.d.mts.map +0 -1
  243. package/dist/storage-table-DC9afJhr-CmRU56OS.d.mts.map +0 -1
  244. package/dist/types-B2Dee96w.d.mts.map +0 -1
  245. package/dist/types-BQC-To7K.d.mts +0 -1
  246. package/dist/types-D_nlUp-1.d.mts +0 -1
  247. package/dist/types-DiD6BqoN-ZF53hwPp.d.mts.map +0 -1
  248. package/dist/types-GgcOrYm_-RhoxnXdj.d.mts.map +0 -1
  249. package/dist/types-M_FeBD9w.mjs.map +0 -1
  250. package/dist/validators-CTZ-hU2l.d.mts.map +0 -1
  251. package/dist/validators-Cfy0jmZ2.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- import { Dt as ProjectionItem, E as CodecRef$1, ft as LockWaitPolicy, gt as LoweredStatement, h as AnyQueryAst, m as AnyParamRef } from "./types-GgcOrYm_-RhoxnXdj.mjs";
1
+ import { Dt as ProjectionItem, E as CodecRef$1, ft as LockWaitPolicy, gt as LoweredStatement, h as AnyQueryAst, m as AnyParamRef } from "./types-DriMIMNQ-BBacSgaI.mjs";
2
2
  import { c as SqlQueryable } from "./driver-types-DRsYeq3j-X_D6hNMZ.mjs";
3
- import "./ddl-types-BBrLVtS--u4u-I8L5.mjs";
3
+ import "./ddl-types-By5mT2_S--j4lTxme.mjs";
4
4
  import { StructuredError } from "@prisma/orm-framework/utils/structured-error";
5
5
  import { CodecCallContext, CodecDescriptorTemplateImpl, CodecImpl, CodecInstanceContext, CodecLookupWithDescriptors, DataTypeValue } from "@prisma/orm-framework/components/codec";
6
6
  import { ColumnDefaultLiteralInputValue, ContractMarkerRecord, JsonValue } from "@prisma/orm-framework/contract/types";
@@ -289,4 +289,4 @@ declare function collectOrderedParamRefs(ast: AnyQueryAst): ReadonlyArray<AnyPar
289
289
  declare function isAggregateProjection(item: ProjectionItem): boolean;
290
290
  //#endregion
291
291
  export { sqlIntDescriptor as $, SqlTextDescriptor as A, lockStrengthCapabilities as B, SqlFloatCodec as C, SqlRawCodec as D, SqlIntDescriptor as E, encodeListLiteralDefault as F, sqlCharDescriptor as G, missingCapability as H, encodeLiteralDefault as I, sqlFloatDecode as J, sqlCharEncode as K, isAggregateProjection as L, SqlVarcharDescriptor as M, collectOrderedParamRefs as N, SqlRawDescriptor as O, compact as P, sqlIntDecode as Q, lockIncompatible as R, SqlCharDescriptor as S, SqlIntCodec as T, sqlCharColumn as U, lockWaitPolicyOf as V, sqlCharDecode as W, sqlFloatEncode as X, sqlFloatDescriptor as Y, sqlIntColumn as Z, SQL_INT_CODEC_ID as _, EncodedLiteralDefault as a, sqlTextDescriptor as at, SQL_VARCHAR_CODEC_ID as b, LockOptionCapabilities as c, sqlVarcharDecode as ct, LockWaitRequest as d, sqlIntEncode as et, Lowerer as f, SQL_FLOAT_CODEC_ID as g, SQL_CHAR_CODEC_ID as h, CapabilityRequirement as i, sqlTextDecode as it, SqlVarcharCodec as j, SqlTextCodec as k, LockStrengthCapabilities as l, sqlVarcharDescriptor as lt, MarkerReadResult as m, AdapterProfile as n, sqlRawDescriptor as nt, LiteralDefaultColumn as o, sqlTextEncode as ot, LowererContext as p, sqlFloatColumn as q, AdapterTarget as r, sqlTextColumn as rt, LockConflict as s, sqlVarcharColumn as st, Adapter as t, sqlRawColumn as tt, LockWaitOptions as u, sqlVarcharEncode as ut, SQL_RAW_CODEC_ID as v, SqlFloatDescriptor as w, SqlCharCodec as x, SQL_TEXT_CODEC_ID as y, lockOptionCapabilities as z };
292
- //# sourceMappingURL=ast-DlajRqlB.d.mts.map
292
+ //# sourceMappingURL=ast-BySjcUKx.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ast-DlajRqlB.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/ast.d.mts"],"mappings":";;;;;;;;KAOK;;;;;;;KAOA;WACM;WACA,QAAQ;;WAER;;WAEA;;UAED,eAAe,gBAAgB,gBAAgB;WAC9C;WACA,QAAQ;WACR,cAAc;;;;EAIvB,WAAW,WAAW,eAAe,QAAQ;;UAErC,eAAe;WACd,UAAU;WACV;;KAEN,QAAQ,eAAe,qBAAqB,QAAQ,qBAAqB,KAAK,KAAK,SAAS,eAAe,eAAe;;;;UAIrH,QAAQ,eAAe,qBAAqB,QAAQ;WACnD,SAAS;EAClB,MAAM,KAAK,KAAK,SAAS,eAAe,aAAa;;;;;KAKlD;WACM;;WAEA;WACA;;;UAGD;WACC;WACA;;;;;;;iBAOM,qBAAqB,aAAa,KAAK,8CAA8C,UAAU,YAAU,OAAO,gCAAgC,OAAO,uBAAuB,QAAQ;;;;iBAItL,yBAAyB,aAAa,KAAK,8CAA8C,UAAU,YAAU,mBAAmB,aAAa,OAAO,uBAAuB,iBAAiB;;;;KAIxM;;iBAEY,iBAAiB,UAAU,cAAc,kBAAkB;;KAEvE;YACO;cACE;;;;cAIA;WACH;aACE;eACE;;;WAGJ;aACE;eACE;;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Ae,+DAA+D,WAAW;EACrG;;;;iBAIe,QAAQ,UAAU,yBAAyB,GAAG,IAAI;;;;;;;;;;;iBAWlD,wBAAwB,KAAK,cAAc,cAAc;;iBAEzD,sBAAsB,MAAM"}
@@ -1,12 +1,11 @@
1
- import "./types-B2Dee96w.mjs";
2
- import "./contract-builder-DZSUqbp0.mjs";
3
- import "./psl-column-resolution-BgThghdu-BWaFlWYV.mjs";
1
+ import "./contract-builder-xFftVmD8.mjs";
2
+ import "./psl-column-resolution-ChZqioOc-DcjGSXDp.mjs";
4
3
  import { DataTypeSupport } from "@prisma/orm-framework/components/authoring";
5
4
  import { PslSources } from "@prisma/orm-framework/psl-parser/syntax";
6
5
  import { ControlMutationDefaultEntry } from "@prisma/orm-framework/components/control";
7
6
  import { ArgType, AttributeCtx, AttributeSpec, AttributeSpecContext, DescribeUnsupportedAttribute, FieldAttributeCtx, FieldAttributeSpecContext, FuncCallSig, ModelAttributeCtx, ModelSymbol, ParsedWrittenList, ParsedWrittenScalar, PslSpan, TypedFuncCall } from "@prisma/orm-framework/psl-parser";
8
7
  import "@prisma/orm-framework/components/psl-ast";
9
- //#region ../../../2-sql/2-authoring/contract-psl/dist/sql-attribute-specs-PZQwre0P.d.mts
8
+ //#region ../../../2-sql/2-authoring/contract-psl/dist/sql-attribute-specs-CK9iRCBj.d.mts
10
9
  //#region src/sql-attribute-specs.d.ts
11
10
  interface EnumMemberDefault {
12
11
  readonly kind: 'member';
@@ -34,9 +33,6 @@ type DefaultFunctionSignature = FuncCallSig | ((dataTypes: DataTypeSupport) => F
34
33
  * A call to the registered default function `name`, with its signature built from the stack's data types when it needs them. Its binding diagnostics name it as a default function.
35
34
  */
36
35
  declare function defaultFunctionCall(name: string, entry: ControlMutationDefaultEntry, dataTypes: DataTypeSupport): ArgType<TypedFuncCall, AttributeCtx>;
37
- declare function defaultFieldSpec(ctx: FieldAttributeSpecContext): AttributeSpec<{
38
- value: DefaultArgValue;
39
- }, FieldAttributeCtx>;
40
36
  declare function indexModelSpec(ctx: AttributeSpecContext): AttributeSpec<{
41
37
  fields?: string[];
42
38
  readonly expression?: import("@prisma/orm-framework/psl-parser").ParsedTypedValue;
@@ -98,13 +94,15 @@ declare const sqlAttributeSpecs: {
98
94
  readonly onUpdate?: "NoAction" | "Restrict" | "Cascade" | "SetNull" | "SetDefault";
99
95
  readonly index?: string | boolean;
100
96
  }, FieldAttributeCtx>;
101
- readonly default: typeof defaultFieldSpec;
97
+ readonly default: (ctx: FieldAttributeSpecContext) => AttributeSpec<{
98
+ value: DefaultArgValue;
99
+ }, AttributeCtx>;
102
100
  readonly onCreate: (ctx: FieldAttributeSpecContext) => AttributeSpec<{
103
101
  value: TypedFuncCall;
104
- }, FieldAttributeCtx>;
102
+ }, AttributeCtx>;
105
103
  readonly onUpdate: (ctx: FieldAttributeSpecContext) => AttributeSpec<{
106
104
  value: TypedFuncCall;
107
- }, FieldAttributeCtx>;
105
+ }, AttributeCtx>;
108
106
  };
109
107
  };
110
108
  //#endregion
@@ -113,4 +111,4 @@ declare const sqlAttributeSpecs: {
113
111
  declare function describeUnsupportedSqlAttribute(sources: PslSources): DescribeUnsupportedAttribute;
114
112
  //#endregion
115
113
  export { EnumMemberListDefault as a, sqlAttributeSpecs as c, EnumMemberDefault as i, DefaultFunctionCall as n, ParsedNullLiteral as o, DefaultFunctionSignature as r, defaultFunctionCall as s, describeUnsupportedSqlAttribute as t };
116
- //# sourceMappingURL=attribute-specs-cHzMPvMl.d.mts.map
114
+ //# sourceMappingURL=attribute-specs-BsaemIyu.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attribute-specs-BsaemIyu.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/sql-attribute-specs-CK9iRCBj.d.mts","../../../../2-sql/2-authoring/contract-psl/dist/attribute-specs.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;;;UAGD;WACC;WACA,MAAM;;;UAGP;WACC;WACA,oBAAoB,oBAAoB;;;UAGzC;WACC;WACA,MAAM;;KAEZ,kBAAkB,sBAAsB,oBAAoB,kBAAkB,sBAAsB,qBAAqB,sBAAsB,oBAAoB;;KAEnK,2BAA2B,gBAAgB,WAAW,oBAAoB;;;;iBAI9D,oBAAoB,cAAc,OAAO,6BAA6B,WAAW,kBAAkB,QAAQ,eAAe;iBAC1H,eAAe,KAAK,uBAAuB;EAC1D;WACS,4CAA4C;WAC5C,uCAAuC;WACvC;WACA;WACA;WACA;WACA,UAAU;GAClB;iBACc,eAAe,KAAK,uBAAuB;WACjD,2CAA2C;WAC3C;WACA;GACR;;cAEW;WACH;aACE,MAAM,MAAM,yBAAyB;MAC5C;OACC;aACM,KAAK,MAAM,yBAAyB;MAC3C;eACS;OACR;aACM,SAAS,MAAM,yBAAyB;MAC/C;eACS;OACR;aACM,cAAc;aACd,cAAc;aACd,UAAU,MAAM,yBAAyB;MAChD;OACC;aACM,gBAAgB,MAAM,yBAAyB;MACtD;OACC;aACM,OAAO,MAAM,yBAAyB;MAC7C,qCAAqC,wBAAwB;MAC7D,OAAO;OACN;;WAEI;aACE,MAAM,MAAM,8BAA8B;MACjD;OACC;aACM,KAAK,MAAM,8BAA8B;eACvC;OACR;aACM,SAAS,MAAM,8BAA8B;eAC3C;OACR;aACM,WAAW,MAAM,8BAA8B;MACtD;eACS;eACA;eACA;eACA;eACA;eACA;OACR;aACM,UAAU,KAAK,8BAA8B;MACpD,OAAO;OACN;aACM,WAAW,KAAK,8BAA8B;MACrD,OAAO;OACN;aACM,WAAW,KAAK,8BAA8B;MACrD,OAAO;OACN;;;;;;iBC3FU,gCAAgC,SAAS,aAAa"}
@@ -1,4 +1,4 @@
1
- import "./contract-builder-DZSUqbp0.mjs";
1
+ import "./contract-builder-xFftVmD8.mjs";
2
2
  import "@prisma/orm-framework/components/authoring";
3
3
  import "@prisma/orm-framework/psl-parser";
4
4
  //#region ../../../2-sql/9-family/dist/authoring-entity-types-DUQLeBf_.d.mts
@@ -6,4 +6,4 @@ import "@prisma/orm-framework/psl-parser";
6
6
  declare function sqlFamilyEnumSpec(): import("@prisma/orm-framework/psl-parser").MapBlockSpec<Record<string, string | number | boolean | import("@prisma/orm-framework/components/authoring").WrittenScalar | undefined>>;
7
7
  //#endregion
8
8
  export { sqlFamilyEnumSpec as t };
9
- //# sourceMappingURL=authoring-entity-types-DUQLeBf_-nuhFC6jJ.d.mts.map
9
+ //# sourceMappingURL=authoring-entity-types-DUQLeBf_-DSWWvkLJ.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authoring-entity-types-DUQLeBf_-nuhFC6jJ.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/authoring-entity-types-DUQLeBf_.d.mts"],"mappings":";;;;;iBAIiB,oDAAoD,aAAa,8FAA8F"}
1
+ {"version":3,"file":"authoring-entity-types-DUQLeBf_-DSWWvkLJ.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/authoring-entity-types-DUQLeBf_.d.mts"],"mappings":";;;;;iBAIiB,oDAAoD,aAAa,8FAA8F"}
@@ -1,4 +1,4 @@
1
- import { o as Expression, x as ScopeField } from "./expression-CC4544Y8-C_EWTA_0.mjs";
2
- import { a as Subquery, r as Functions } from "./functions-wFi6AtCc.mjs";
3
- import { C as WhereFilter, S as UpdateQuery, d as QueryContext, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, o as GatedMethod, r as Db, s as GroupedQuery, t as AggregateFunctions, y as TableProxy } from "./db-BmrN9nRS-DGNx3jwd.mjs";
1
+ import { o as Expression, x as ScopeField } from "./expression-6ld_ZQL6-CQghHqQ4.mjs";
2
+ import { a as Subquery, r as Functions } from "./functions-DTInIMZT.mjs";
3
+ import { C as WhereFilter, S as UpdateQuery, d as QueryContext, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, o as GatedMethod, r as Db, s as GroupedQuery, t as AggregateFunctions, y as TableProxy } from "./db-BmrN9nRS-MT5cfCJy.mjs";
4
4
  export type { AggregateFunctions, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, InsertQuery, QueryContext, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableProxy, UpdateQuery, WhereFilter };
@@ -1,13 +1,13 @@
1
- import { l as SqlStorage } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
2
- import "./types-B2Dee96w.mjs";
3
- import { i as SqlOperationEntry } from "./index-BRFLss5v.mjs";
4
- import { l as RawCodecInferer } from "./expression-CC4544Y8-C_EWTA_0.mjs";
5
- import { t as ExpressionImpl } from "./expression-BdaU48Qq-Dff96hT_.mjs";
6
- import "./expression-DI_LoyKf.mjs";
7
- import { s as createFunctions } from "./functions-wFi6AtCc.mjs";
8
- import { a as FieldProxy, b as TableProxyContract, d as QueryContext, f as RawLane, h as Scope, r as Db, t as AggregateFunctions } from "./db-BmrN9nRS-DGNx3jwd.mjs";
9
- import { a as SqlAggregateDescriptorRegistry, n as ExecutionContext } from "./query-lane-context-DEr9NHM--ClIM8v5T.mjs";
10
- import "./query-lane-context--sVodqqM.mjs";
1
+ import { l as SqlStorage } from "./sql-storage-DeCAh5Hi-nJQUIgfL.mjs";
2
+ import "./types-CRbj_WQf.mjs";
3
+ import { i as SqlOperationEntry } from "./index-ffCr9ySU.mjs";
4
+ import { l as RawCodecInferer } from "./expression-6ld_ZQL6-CQghHqQ4.mjs";
5
+ import { t as ExpressionImpl } from "./expression-CieaNuRM-BpwVyjJL.mjs";
6
+ import "./expression-BLiObOS8.mjs";
7
+ import { s as createFunctions } from "./functions-DTInIMZT.mjs";
8
+ import { a as FieldProxy, b as TableProxyContract, d as QueryContext, f as RawLane, h as Scope, r as Db, t as AggregateFunctions } from "./db-BmrN9nRS-MT5cfCJy.mjs";
9
+ import { a as SqlAggregateDescriptorRegistry, n as ExecutionContext } from "./query-lane-context-BCEoKy0_-DQOOliDn.mjs";
10
+ import "./query-lane-context-BssPNZey.mjs";
11
11
  import { Contract } from "@prisma/orm-framework/contract/types";
12
12
  //#region ../../../2-sql/4-lanes/sql-builder/dist/runtime/index.d.mts
13
13
  //#region src/runtime/field-proxy.d.ts
@@ -2,7 +2,7 @@ import { A as ParamRef, F as SelectAst, G as isOrderByNulls, L as TableSource, M
2
2
  import { r as isAggregateProjection, t as collectOrderedParamRefs } from "./util-BBgcP3gI-XJBkxo1K.mjs";
3
3
  import { D as lockWaitPolicyOf, E as lockStrengthCapabilities, T as lockOptionCapabilities, w as lockIncompatible } from "./ast-BJs2669T.mjs";
4
4
  import { i as createRawSql, s as toExpr, t as ExpressionImpl } from "./expression-impl-B-XNINxr-vYwKVFeP.mjs";
5
- import { n as codecRefForStorageColumn } from "./codec-descriptor-registry-4kw8FPpo.mjs";
5
+ import { n as codecRefForStorageColumn } from "./codec-descriptor-registry-MG2bFxW_.mjs";
6
6
  import { t as createFunctions } from "./functions-0YWByawj.mjs";
7
7
  import { t as createIndexReferences } from "./index-reference-DR62gjQS.mjs";
8
8
  import { assertAnnotationsApplicable } from "@prisma/orm-framework/components/runtime";
@@ -1,6 +1,6 @@
1
- import { o as Expression, x as ScopeField } from "./expression-CC4544Y8-C_EWTA_0.mjs";
2
- import { a as Subquery, r as Functions, t as BooleanCodecType } from "./functions-wFi6AtCc.mjs";
3
- import { t as IndexReference } from "./index-reference-DSsn39tX-EEkv1N4w.mjs";
4
- import "./index-reference-burEIuXy.mjs";
5
- import { C as WhereFilter, S as UpdateQuery, _ as TableInAnyNamespace, b as TableProxyContract, c as IndexReferences, d as QueryContext, f as RawLane, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, n as ContractRawTag, o as GatedMethod, p as RawTagFor, r as Db, s as GroupedQuery, t as AggregateFunctions, u as Namespace, v as TableNamesAcrossNamespaces, x as UnboundTables, y as TableProxy } from "./db-BmrN9nRS-DGNx3jwd.mjs";
1
+ import { o as Expression, x as ScopeField } from "./expression-6ld_ZQL6-CQghHqQ4.mjs";
2
+ import { a as Subquery, r as Functions, t as BooleanCodecType } from "./functions-DTInIMZT.mjs";
3
+ import { t as IndexReference } from "./index-reference-4wsdeB7v-DiTLLldN.mjs";
4
+ import "./index-reference-Da9mdOjD.mjs";
5
+ import { C as WhereFilter, S as UpdateQuery, _ as TableInAnyNamespace, b as TableProxyContract, c as IndexReferences, d as QueryContext, f as RawLane, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, n as ContractRawTag, o as GatedMethod, p as RawTagFor, r as Db, s as GroupedQuery, t as AggregateFunctions, u as Namespace, v as TableNamesAcrossNamespaces, x as UnboundTables, y as TableProxy } from "./db-BmrN9nRS-MT5cfCJy.mjs";
6
6
  export type { AggregateFunctions, BooleanCodecType, ContractRawTag, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, IndexReference, IndexReferences, InsertQuery, Namespace, QueryContext, RawLane, RawTagFor, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableInAnyNamespace, TableNamesAcrossNamespaces, TableProxy, TableProxyContract, UnboundTables, UpdateQuery, WhereFilter };
@@ -1,5 +1,5 @@
1
1
  import { t as resolveStorageTable } from "./resolve-storage-table-DZsfnzeW.mjs";
2
- import { d as resolvedTypeParams, u as isStorageTypeInstance } from "./types-M_FeBD9w.mjs";
2
+ import { d as nonEmptyTypeParams } from "./types-C7610W2l.mjs";
3
3
  import { structuredError } from "@prisma/orm-framework/utils/structured-error";
4
4
  import { blindCast } from "@prisma/orm-framework/utils/casts";
5
5
  //#region ../../../2-sql/4-lanes/relational-core/dist/exports/codec-descriptor-registry.mjs
@@ -8,11 +8,10 @@ import { blindCast } from "@prisma/orm-framework/utils/casts";
8
8
  *
9
9
  * Resolution rules over namespace `entries.table[table].columns[column]`:
10
10
  *
11
- * - `typeRef` column → `{codecId, typeParams}` from `storage.types[typeRef]` (multiple columns sharing the typeRef share one ref → one memoised codec).
12
- * - inline `typeParams` column → `{codecId, typeParams}` from the column itself.
11
+ * - `typeParams` column → `{codecId, typeParams}` from the column itself.
13
12
  * - non-parameterized column → `{codecId}` with `typeParams` undefined.
14
13
  *
15
- * Returns `undefined` when the table or column is unknown, or when a `typeRef` column references a `storage.types` entry that does not exist.
14
+ * Returns `undefined` when the table or column is unknown.
16
15
  *
17
16
  * `namespaceId` leads the coordinate args and is always supplied: every
18
17
  * model/table sits in an explicit namespace, so the table is resolved strictly
@@ -23,16 +22,8 @@ function codecRefForStorageColumn(storage, namespaceId, tableName, columnName) {
23
22
  if (resolved === void 0) return void 0;
24
23
  const columnDef = resolved.table.columns[columnName];
25
24
  if (!columnDef) return void 0;
26
- const typeParams = resolvedTypeParams(columnDef, storage.types);
25
+ const typeParams = nonEmptyTypeParams(columnDef.typeParams);
27
26
  const params = typeParams === void 0 ? {} : { typeParams: blindCast(typeParams) };
28
- if (columnDef.typeRef !== void 0) {
29
- const instance = storage.types?.[columnDef.typeRef];
30
- if (!instance || !isStorageTypeInstance(instance)) return void 0;
31
- return {
32
- codecId: instance.codecId,
33
- ...params
34
- };
35
- }
36
27
  return columnDef.many ? {
37
28
  codecId: columnDef.codecId,
38
29
  ...params,
@@ -75,4 +66,4 @@ function buildCodecDescriptorRegistry(allDescriptors, storage) {
75
66
  //#endregion
76
67
  export { codecRefForStorageColumn as n, buildCodecDescriptorRegistry as t };
77
68
 
78
- //# sourceMappingURL=codec-descriptor-registry-4kw8FPpo.mjs.map
69
+ //# sourceMappingURL=codec-descriptor-registry-MG2bFxW_.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codec-descriptor-registry-MG2bFxW_.mjs","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/codec-descriptor-registry.mjs"],"sourcesContent":["import { structuredError } from \"@internal/utils/structured-error\";\nimport { resolveStorageTable } from \"@internal/sql-contract/resolve-storage-table\";\nimport { nonEmptyTypeParams } from \"@internal/sql-contract/types\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/codec-ref-for-column.ts\n/**\n* Derive the canonical {@link CodecRef} for a `(table, column)` pair against a {@link SqlStorage}. This is the build-time path every column-bound `ParamRef` / `ProjectionItem` uses to stamp its `codec` slot before the AST is handed to the runtime — the runtime resolver then materialises a memoised {@link import('@internal/sql-relational-core/ast').Codec} for the same `CodecRef` via `forCodecRef`.\n*\n* Resolution rules over namespace `entries.table[table].columns[column]`:\n*\n* - `typeParams` column → `{codecId, typeParams}` from the column itself.\n* - non-parameterized column → `{codecId}` with `typeParams` undefined.\n*\n* Returns `undefined` when the table or column is unknown.\n*\n* `namespaceId` leads the coordinate args and is always supplied: every\n* model/table sits in an explicit namespace, so the table is resolved strictly\n* within that namespace (see {@link resolveStorageTable}).\n*/\nfunction codecRefForStorageColumn(storage, namespaceId, tableName, columnName) {\n\tconst resolved = resolveStorageTable(storage, tableName, namespaceId);\n\tif (resolved === void 0) return void 0;\n\tconst columnDef = resolved.table.columns[columnName];\n\tif (!columnDef) return void 0;\n\tconst typeParams = nonEmptyTypeParams(columnDef.typeParams);\n\tconst params = typeParams === void 0 ? {} : { typeParams: blindCast(typeParams) };\n\treturn columnDef.many ? {\n\t\tcodecId: columnDef.codecId,\n\t\t...params,\n\t\tmany: true\n\t} : {\n\t\tcodecId: columnDef.codecId,\n\t\t...params\n\t};\n}\n//#endregion\n//#region src/codec-descriptor-registry.ts\n/**\n* Build a {@link CodecDescriptorRegistry} from a flat descriptor list.\n*\n* Used by:\n* - Each codec-shipping package's `core/registry.ts` to expose a package-scoped registry as the public consumer surface (replacing raw descriptor-array exports). See ADR 208.\n* - The runtime's `buildExecutionContext` to construct the contract-bound combined registry from every contributor's `codecs:` slot.\n*\n* The descriptor map is heterogeneous in `P` — each codec id has its own params shape. The public {@link CodecDescriptorRegistry} interface widens to `CodecDescriptor<unknown>` and consumers narrow per codec id at the call site (the descriptor's `paramsSchema` validates JSON-sourced params before the factory ever sees them, so the runtime narrow is safe). The cast at registration goes through `unknown` because\n* `CodecDescriptor<P>` is invariant in `P` (the `factory` and `renderOutputType` slots use `P` contravariantly).\n*/\nfunction buildCodecDescriptorRegistry(allDescriptors, storage) {\n\tconst byId = /* @__PURE__ */ new Map();\n\tfor (const descriptor of allDescriptors) {\n\t\tif (byId.has(descriptor.codecId)) throw structuredError(\"RUNTIME.DUPLICATE_CODEC\", `Duplicate codec descriptor id: '${descriptor.codecId}' — registered twice during registry construction. Each codecId must be contributed by exactly one component (target / adapter / extension pack).`, { meta: { codecId: descriptor.codecId } });\n\t\tconst widened = descriptor;\n\t\tbyId.set(descriptor.codecId, widened);\n\t}\n\treturn {\n\t\tdescriptorFor(codecId) {\n\t\t\treturn byId.get(codecId);\n\t\t},\n\t\tcodecRefForColumn(namespaceId, table, column) {\n\t\t\tif (!storage) return void 0;\n\t\t\treturn codecRefForStorageColumn(storage, namespaceId, table, column);\n\t\t},\n\t\t*values() {\n\t\t\tyield* byId.values();\n\t\t}\n\t};\n}\n//#endregion\nexport { buildCodecDescriptorRegistry, codecRefForStorageColumn };\n\n//# sourceMappingURL=codec-descriptor-registry.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,yBAAyB,SAAS,aAAa,WAAW,YAAY;CAC9E,MAAM,WAAW,oBAAoB,SAAS,WAAW,WAAW;CACpE,IAAI,aAAa,KAAK,GAAG,OAAO,KAAK;CACrC,MAAM,YAAY,SAAS,MAAM,QAAQ;CACzC,IAAI,CAAC,WAAW,OAAO,KAAK;CAC5B,MAAM,aAAa,mBAAmB,UAAU,UAAU;CAC1D,MAAM,SAAS,eAAe,KAAK,IAAI,CAAC,IAAI,EAAE,YAAY,UAAU,UAAU,EAAE;CAChF,OAAO,UAAU,OAAO;EACvB,SAAS,UAAU;EACnB,GAAG;EACH,MAAM;CACP,IAAI;EACH,SAAS,UAAU;EACnB,GAAG;CACJ;AACD;;;;;;;;;;;AAaA,SAAS,6BAA6B,gBAAgB,SAAS;CAC9D,MAAM,uBAAuB,IAAI,IAAI;CACrC,KAAK,MAAM,cAAc,gBAAgB;EACxC,IAAI,KAAK,IAAI,WAAW,OAAO,GAAG,MAAM,gBAAgB,2BAA2B,mCAAmC,WAAW,QAAQ,oJAAoJ,EAAE,MAAM,EAAE,SAAS,WAAW,QAAQ,EAAE,CAAC;EACtU,MAAM,UAAU;EAChB,KAAK,IAAI,WAAW,SAAS,OAAO;CACrC;CACA,OAAO;EACN,cAAc,SAAS;GACtB,OAAO,KAAK,IAAI,OAAO;EACxB;EACA,kBAAkB,aAAa,OAAO,QAAQ;GAC7C,IAAI,CAAC,SAAS,OAAO,KAAK;GAC1B,OAAO,yBAAyB,SAAS,aAAa,OAAO,MAAM;EACpE;EACA,CAAC,SAAS;GACT,OAAO,KAAK,OAAO;EACpB;CACD;AACD"}
@@ -0,0 +1 @@
1
+ import "./collection-methods-D2UnCS0S-CRYoAOtB.mjs";
@@ -1,8 +1,8 @@
1
- import { r as StorageTable } from "./storage-table-DC9afJhr-CmRU56OS.mjs";
2
- import "./types-B2Dee96w.mjs";
3
- import { t as IndexReference } from "./index-reference-DSsn39tX-EEkv1N4w.mjs";
1
+ import { r as StorageTable } from "./storage-table-Bf1ZjnxO-NvkG2pgq.mjs";
2
+ import "./types-CRbj_WQf.mjs";
3
+ import { t as IndexReference } from "./index-reference-4wsdeB7v-DiTLLldN.mjs";
4
4
  import { ContractField, ContractRelation } from "@prisma/orm-framework/contract/types";
5
- //#region ../../../2-sql/4-lanes/relational-core/dist/collection-methods-BtJYB_5s.d.mts
5
+ //#region ../../../2-sql/4-lanes/relational-core/dist/collection-methods-D2UnCS0S.d.mts
6
6
  //#region src/collection-methods.d.ts
7
7
  /**
8
8
  * One model, as a contribution's type half reads it: the contract's target, the model's name, its fields with their codec ids and type parameters, its relations, and its storage table with columns and indexes.
@@ -74,4 +74,4 @@ interface CollectionMethodContribution {
74
74
  }
75
75
  //#endregion
76
76
  export { CollectionMethodModel as a, CollectionMethodRegistry as c, CollectionMethodContributionType as i, CollectionMethodTools as l, CollectionMethodContribution as n, CollectionMethodModelType as o, CollectionMethodContributionId as r, CollectionMethodReceiver as s, CollectionMethodBody as t, ContributedMethodSignature as u };
77
- //# sourceMappingURL=collection-methods-BtJYB_5s-0fek2_wK.d.mts.map
77
+ //# sourceMappingURL=collection-methods-D2UnCS0S-CRYoAOtB.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection-methods-BtJYB_5s-0fek2_wK.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/collection-methods-BtJYB_5s.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;WACA;WACA;WACA;aACE;aACA;;;;;;UAMH;WACC;WACA;WACA;;;;;UAKD;WACC,OAAO;WACP;cACG,eAAe;;;;;;UAMnB;;WAEC;;;KAGN,iCAAiC,cAAc;;UAE1C;WACC,KAAK,SAAS,mBAAmB;WACjC,SAAS,SAAS,eAAe;;;;;UAKlC;EACR,MAAM,YAAY,gBAAgB,OAAO,oCAAoC;EAC7E,QAAQ,QAAQ,gBAAgB,OAAO,oCAAoC;;;KAGxE,wBAAwB,YAAY,6BAA6B,kBAAkB;;UAE9E;WACC;WACA;WACA,QAAQ,SAAS,eAAe;WAChC,WAAW,SAAS,eAAe;WACnC,OAAO;;;;;UAKR;WACC;EACT,WAAW,OAAO,wBAAwB,SAAS,eAAe"}
1
+ {"version":3,"file":"collection-methods-D2UnCS0S-CRYoAOtB.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/collection-methods-D2UnCS0S.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;WACA;WACA;WACA;aACE;aACA;;;;;;UAMH;WACC;WACA;WACA;;;;;UAKD;WACC,OAAO;WACP;cACG,eAAe;;;;;;UAMnB;;WAEC;;;KAGN,iCAAiC,cAAc;;UAE1C;WACC,KAAK,SAAS,mBAAmB;WACjC,SAAS,SAAS,eAAe;;;;;UAKlC;EACR,MAAM,YAAY,gBAAgB,OAAO,oCAAoC;EAC7E,QAAQ,QAAQ,gBAAgB,OAAO,oCAAoC;;;KAGxE,wBAAwB,YAAY,6BAA6B,kBAAkB;;UAE9E;WACC;WACA;WACA,QAAQ,SAAS,eAAe;WAChC,WAAW,SAAS,eAAe;WACnC,OAAO;;;;;UAKR;WACC;EACT,WAAW,OAAO,wBAAwB,SAAS,eAAe"}
@@ -1,4 +1,4 @@
1
- import { n as buildSqlContractFromDefinition, r as contractError, t as applySqlSpecifierControlPolicy } from "./derived-checks-CXW9ytkb-B_zxX1-8.mjs";
1
+ import { n as buildSqlContractFromDefinition, r as contractError, t as applySqlSpecifierControlPolicy } from "./derived-checks-iXF3y0Ki-28vqz_8w.mjs";
2
2
  import { ifDefined } from "@prisma/orm-framework/utils/defined";
3
3
  import { createDataTypeLookup, emptyCodecLookup } from "@prisma/orm-framework/components/codec";
4
4
  import { InternalError } from "@prisma/orm-framework/utils/internal-error";
@@ -65,4 +65,4 @@ function typescriptContractFromPath(contractPath, output, options) {
65
65
  //#endregion
66
66
  export { typescriptContract as n, typescriptContractFromPath as r, emptyContract as t };
67
67
 
68
- //# sourceMappingURL=config-types-DY37pCIx.mjs.map
68
+ //# sourceMappingURL=config-types-BLDwd9wS.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-types-DY37pCIx.mjs","names":[],"sources":["../../../../2-sql/2-authoring/contract-ts/dist/config-types.mjs"],"sourcesContent":["import { n as buildSqlContractFromDefinition, o as contractError, t as applySqlSpecifierControlPolicy } from \"./derived-checks-CXW9ytkb.mjs\";\nimport { createDataTypeLookup, emptyCodecLookup } from \"@internal/framework-components/codec\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { pathToFileURL } from \"node:url\";\nimport { ok } from \"@internal/utils/result\";\nimport { extname } from \"pathe\";\n//#region src/config-types.ts\n/**\n* Derives the emit output path from the TS contract input so artefacts land\n* colocated with the source (e.g. `prisma/contract.ts` →\n* `prisma/contract.json`). Mirrors the same default-derivation logic in\n* `@internal/sql-contract-psl/provider`.\n*/\nfunction defaultOutputFromContractPath(contractPath) {\n\tconst ext = extname(contractPath);\n\tif (ext.length === 0) return `${contractPath}.json`;\n\treturn `${contractPath.slice(0, -ext.length)}.json`;\n}\nfunction emptyContract(options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"typescript\",\n\t\t\tload: async () => {\n\t\t\t\treturn ok(applySqlSpecifierControlPolicy(buildSqlContractFromDefinition({\n\t\t\t\t\twarnings: void 0,\n\t\t\t\t\ttarget: options.target,\n\t\t\t\t\tcreateNamespace: options.createNamespace,\n\t\t\t\t\tmodels: []\n\t\t\t\t}, {\n\t\t\t\t\t...emptyCodecLookup,\n\t\t\t\t\tdescriptorFor: () => void 0\n\t\t\t\t}, createDataTypeLookup([])), options.defaultControlPolicy, options.createNamespace));\n\t\t\t}\n\t\t},\n\t\t...ifDefined(\"output\", options.output)\n\t};\n}\nfunction typescriptContract(contract, output, options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"typescript\",\n\t\t\tload: async () => ok(options === void 0 ? contract : applySqlSpecifierControlPolicy(contract, options.defaultControlPolicy, options.createNamespace))\n\t\t},\n\t\t...ifDefined(\"output\", output)\n\t};\n}\nfunction typescriptContractFromPath(contractPath, output, options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"typescript\",\n\t\t\tinputs: [contractPath],\n\t\t\tload: async (context) => {\n\t\t\t\tconst [absolutePath] = context.resolvedInputs;\n\t\t\t\tif (absolutePath === void 0) throw new InternalError(\"typescriptContractFromPath: context.resolvedInputs is empty. The CLI config loader should populate it from source.inputs.\");\n\t\t\t\tconst mod = await import(pathToFileURL(absolutePath).href);\n\t\t\t\tconst contract = mod.default ?? mod.contract;\n\t\t\t\tif (contract === void 0) throw contractError(\"CONTRACT.MODULE_EXPORT_MISSING\", `typescriptContractFromPath: module at \"${absolutePath}\" has no \"default\" or \"contract\" export.`, { meta: { path: absolutePath } });\n\t\t\t\treturn ok(options === void 0 ? contract : applySqlSpecifierControlPolicy(contract, options.defaultControlPolicy, options.createNamespace));\n\t\t\t}\n\t\t},\n\t\toutput: output ?? defaultOutputFromContractPath(contractPath)\n\t};\n}\n//#endregion\nexport { empty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M,EAAE,MAAM,aAAa,EAAE,CAAC;IACjN,OAAO,GAAG,YAAY,KAAK,IAAI,WAAW,+BAA+B,UAAU,QAAQ,sBAAsB,QAAQ,eAAe,CAAC;GAC1I;EACD;EACA,QAAQ,UAAU,8BAA8B,YAAY;CAC7D;AACD"}
1
+ {"version":3,"file":"config-types-BLDwd9wS.mjs","names":[],"sources":["../../../../2-sql/2-authoring/contract-ts/dist/config-types.mjs"],"sourcesContent":["import { n as buildSqlContractFromDefinition, s as contractError, t as applySqlSpecifierControlPolicy } from \"./derived-checks-iXF3y0Ki.mjs\";\nimport { createDataTypeLookup, emptyCodecLookup } from \"@internal/framework-components/codec\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { pathToFileURL } from \"node:url\";\nimport { ok } from \"@internal/utils/result\";\nimport { extname } from \"pathe\";\n//#region src/config-types.ts\n/**\n* Derives the emit output path from the TS contract input so artefacts land\n* colocated with the source (e.g. `prisma/contract.ts` →\n* `prisma/contract.json`). Mirrors the same default-derivation logic in\n* `@internal/sql-contract-psl/provider`.\n*/\nfunction defaultOutputFromContractPath(contractPath) {\n\tconst ext = extname(contractPath);\n\tif (ext.length === 0) return `${contractPath}.json`;\n\treturn `${contractPath.slice(0, -ext.length)}.json`;\n}\nfunction emptyContract(options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"typescript\",\n\t\t\tload: async () => {\n\t\t\t\treturn ok(applySqlSpecifierControlPolicy(buildSqlContractFromDefinition({\n\t\t\t\t\twarnings: void 0,\n\t\t\t\t\ttarget: options.target,\n\t\t\t\t\tcreateNamespace: options.createNamespace,\n\t\t\t\t\tmodels: []\n\t\t\t\t}, {\n\t\t\t\t\t...emptyCodecLookup,\n\t\t\t\t\tdescriptorFor: () => void 0\n\t\t\t\t}, createDataTypeLookup([])), options.defaultControlPolicy, options.createNamespace));\n\t\t\t}\n\t\t},\n\t\t...ifDefined(\"output\", options.output)\n\t};\n}\nfunction typescriptContract(contract, output, options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"typescript\",\n\t\t\tload: async () => ok(options === void 0 ? contract : applySqlSpecifierControlPolicy(contract, options.defaultControlPolicy, options.createNamespace))\n\t\t},\n\t\t...ifDefined(\"output\", output)\n\t};\n}\nfunction typescriptContractFromPath(contractPath, output, options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"typescript\",\n\t\t\tinputs: [contractPath],\n\t\t\tload: async (context) => {\n\t\t\t\tconst [absolutePath] = context.resolvedInputs;\n\t\t\t\tif (absolutePath === void 0) throw new InternalError(\"typescriptContractFromPath: context.resolvedInputs is empty. The CLI config loader should populate it from source.inputs.\");\n\t\t\t\tconst mod = await import(pathToFileURL(absolutePath).href);\n\t\t\t\tconst contract = mod.default ?? mod.contract;\n\t\t\t\tif (contract === void 0) throw contractError(\"CONTRACT.MODULE_EXPORT_MISSING\", `typescriptContractFromPath: module at \"${absolutePath}\" has no \"default\" or \"contract\" export.`, { meta: { path: absolutePath } });\n\t\t\t\treturn ok(options === void 0 ? contract : applySqlSpecifierControlPolicy(contract, options.defaultControlPolicy, options.createNamespace));\n\t\t\t}\n\t\t},\n\t\toutput: output ?? defaultOutputFromContractPath(contractPath)\n\t};\n}\n//#endregion\nexport { emptyContract, typescriptContract, typescriptContractFromPath };\n\n//# sourceMappingURL=config-types.mjs.map"],"mappings":";;;;;;;;;;;;;;AAcA,SAAS,8BAA8B,cAAc;CACpD,MAAM,MAAM,QAAQ,YAAY;CAChC,IAAI,IAAI,WAAW,GAAG,OAAO,GAAG,aAAa;CAC7C,OAAO,GAAG,aAAa,MAAM,GAAG,CAAC,IAAI,MAAM,EAAE;AAC9C;AACA,SAAS,cAAc,SAAS;CAC/B,OAAO;EACN,QAAQ;GACP,QAAQ;GACR,MAAM,YAAY;IACjB,OAAO,GAAG,+BAA+B,+BAA+B;KACvE,UAAU,KAAK;KACf,QAAQ,QAAQ;KAChB,iBAAiB,QAAQ;KACzB,QAAQ,CAAC;IACV,GAAG;KACF,GAAG;KACH,qBAAqB,KAAK;IAC3B,GAAG,qBAAqB,CAAC,CAAC,CAAC,GAAG,QAAQ,sBAAsB,QAAQ,eAAe,CAAC;GACrF;EACD;EACA,GAAG,UAAU,UAAU,QAAQ,MAAM;CACtC;AACD;AACA,SAAS,mBAAmB,UAAU,QAAQ,SAAS;CACtD,OAAO;EACN,QAAQ;GACP,QAAQ;GACR,MAAM,YAAY,GAAG,YAAY,KAAK,IAAI,WAAW,+BAA+B,UAAU,QAAQ,sBAAsB,QAAQ,eAAe,CAAC;EACrJ;EACA,GAAG,UAAU,UAAU,MAAM;CAC9B;AACD;AACA,SAAS,2BAA2B,cAAc,QAAQ,SAAS;CAClE,OAAO;EACN,QAAQ;GACP,QAAQ;GACR,QAAQ,CAAC,YAAY;GACrB,MAAM,OAAO,YAAY;IACxB,MAAM,CAAC,gBAAgB,QAAQ;IAC/B,IAAI,iBAAiB,KAAK,GAAG,MAAM,IAAI,cAAc,2HAA2H;IAChL,MAAM,MAAM,MAAM,OAAO,cAAc,YAAY,CAAC,CAAC;IACrD,MAAM,WAAW,IAAI,WAAW,IAAI;IACpC,IAAI,aAAa,KAAK,GAAG,MAAM,cAAc,kCAAkC,0CAA0C,aAAa,2CAA2C,EAAE,MAAM,EAAE,MAAM,aAAa,EAAE,CAAC;IACjN,OAAO,GAAG,YAAY,KAAK,IAAI,WAAW,+BAA+B,UAAU,QAAQ,sBAAsB,QAAQ,eAAe,CAAC;GAC1I;EACD;EACA,QAAQ,UAAU,8BAA8B,YAAY;CAC7D;AACD"}
@@ -1,6 +1,6 @@
1
- import { a as SqlNamespaceBase, c as SqlNamespaceInput } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
2
- import "./types-B2Dee96w.mjs";
3
- import { t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt-D-vp9vY3.mjs";
1
+ import { a as SqlNamespaceBase, c as SqlNamespaceInput } from "./sql-storage-DeCAh5Hi-nJQUIgfL.mjs";
2
+ import "./types-CRbj_WQf.mjs";
3
+ import { t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt-D6tfanWv.mjs";
4
4
  import { Contract, ControlPolicy } from "@prisma/orm-framework/contract/types";
5
5
  import { TargetPackRef } from "@prisma/orm-framework/components/components";
6
6
  import { ContractConfig, ContractConfig as ContractConfig$1 } from "@prisma/orm-framework/config/config-types";
@@ -25,4 +25,4 @@ declare function typescriptContract(contract: Contract, output?: string, options
25
25
  declare function typescriptContractFromPath(contractPath: string, output?: string, options?: TypeScriptContractSpecifierOptions): ContractConfig;
26
26
  //#endregion
27
27
  export { typescriptContractFromPath as i, emptyContract as n, typescriptContract as r, ContractConfig$1 as t };
28
- //# sourceMappingURL=config-types-DN0IueHY.d.mts.map
28
+ //# sourceMappingURL=config-types-D8quwydu.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-types-DN0IueHY.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-ts/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;;;UAWU;WACC,sBAAsB;WACtB,iBAAiB;;iBAEX,cAAc;WACpB;WACA,QAAQ;WACR,kBAAkB,OAAO,sBAAsB;WAC/C,uBAAuB;IAC9B;iBACa,mBAAmB,UAAU,UAAU,iBAAiB,UAAU,qCAAqC;iBACvG,2BAA2B,sBAAsB,iBAAiB,UAAU,qCAAqC"}
1
+ {"version":3,"file":"config-types-D8quwydu.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-ts/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;;;UAWU;WACC,sBAAsB;WACtB,iBAAiB;;iBAEX,cAAc;WACpB;WACA,QAAQ;WACR,kBAAkB,OAAO,sBAAsB;WAC/C,uBAAuB;IAC9B;iBACa,mBAAmB,UAAU,UAAU,iBAAiB,UAAU,qCAAqC;iBACvG,2BAA2B,sBAAsB,iBAAiB,UAAU,qCAAqC"}