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

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 (557) hide show
  1. package/dist/{aggregate-descriptor-registry-Dd7Uj7DJ.mjs → aggregate-descriptor-registry-ZrKjxwQe.mjs} +3 -3
  2. package/dist/aggregate-descriptor-registry-ZrKjxwQe.mjs.map +1 -0
  3. package/dist/{ast-BJs2669T.mjs → ast-D0miQ1B6.mjs} +3 -3
  4. package/dist/ast-D0miQ1B6.mjs.map +1 -0
  5. package/dist/{ast-BySjcUKx.d.mts → ast-De1p3DM9.d.mts} +5 -5
  6. package/dist/ast-De1p3DM9.d.mts.map +1 -0
  7. package/dist/{attribute-specs-BsaemIyu.d.mts → attribute-specs-CTEOxEJS.d.mts} +5 -5
  8. package/dist/attribute-specs-CTEOxEJS.d.mts.map +1 -0
  9. package/dist/{authored-check-naming-CIX7Bbyh.mjs → authored-check-naming-BHGJhjqn.mjs} +5 -5
  10. package/dist/authored-check-naming-BHGJhjqn.mjs.map +1 -0
  11. package/dist/{authored-check-naming-CK6T_Dfh.d.mts → authored-check-naming-D-o196ry.d.mts} +3 -3
  12. package/dist/authored-check-naming-D-o196ry.d.mts.map +1 -0
  13. package/dist/{authoring-entity-types-CgKIgWq5-Dxf_T0Ih.d.mts → authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts} +3 -3
  14. package/dist/authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts.map +1 -0
  15. package/dist/builder.d.mts +3 -3
  16. package/dist/builder__runtime.d.mts +11 -11
  17. package/dist/builder__runtime.d.mts.map +1 -1
  18. package/dist/builder__runtime.mjs +8 -8
  19. package/dist/builder__runtime.mjs.map +1 -1
  20. package/dist/builder__types.d.mts +5 -5
  21. package/dist/{canonicalization-hooks-dmXkOR4a.mjs → canonicalization-hooks-Ce1v_TDl.mjs} +2 -2
  22. package/dist/canonicalization-hooks-Ce1v_TDl.mjs.map +1 -0
  23. package/dist/{canonicalization-hooks-CYnW_sGn.d.mts → canonicalization-hooks-DyapQ0my.d.mts} +2 -2
  24. package/dist/canonicalization-hooks-DyapQ0my.d.mts.map +1 -0
  25. package/dist/{check-constraint-B7qGu6rc-CBVYAMwG.d.mts → check-constraint-B7qGu6rc-Bk2ezWXu.d.mts} +4 -4
  26. package/dist/check-constraint-B7qGu6rc-Bk2ezWXu.d.mts.map +1 -0
  27. package/dist/{codec-descriptor-registry-MG2bFxW_.mjs → codec-descriptor-registry-CiiFzMtb.mjs} +4 -4
  28. package/dist/codec-descriptor-registry-CiiFzMtb.mjs.map +1 -0
  29. package/dist/collection-methods-Bc8v7iVP.d.mts +1 -0
  30. package/dist/{collection-methods-D2UnCS0S-CRYoAOtB.d.mts → collection-methods-D2UnCS0S-CjdGDJ5y.d.mts} +5 -5
  31. package/dist/collection-methods-D2UnCS0S-CjdGDJ5y.d.mts.map +1 -0
  32. package/dist/{config-types-D8quwydu.d.mts → config-types-DGD0sYRS.d.mts} +5 -5
  33. package/dist/config-types-DGD0sYRS.d.mts.map +1 -0
  34. package/dist/{config-types-BbBY5_GQ.mjs → config-types-DkEeq_qq.mjs} +3 -3
  35. package/dist/config-types-DkEeq_qq.mjs.map +1 -0
  36. package/dist/{contract-builder-xFftVmD8.d.mts → contract-builder-BrpdASoV.d.mts} +12 -12
  37. package/dist/contract-builder-BrpdASoV.d.mts.map +1 -0
  38. package/dist/{contract-builder-D7cTmhfs.mjs → contract-builder-Dp7AOnHB.mjs} +8 -8
  39. package/dist/contract-builder-Dp7AOnHB.mjs.map +1 -0
  40. package/dist/contract-emitter.d.mts +1 -1
  41. package/dist/contract-emitter.d.mts.map +1 -1
  42. package/dist/contract-emitter.mjs +1 -1
  43. package/dist/{contract-errors-BCN6RVI5-5IHBF_lg.mjs → contract-errors-BCN6RVI5-DoH6b_KZ.mjs} +2 -2
  44. package/dist/contract-errors-BCN6RVI5-DoH6b_KZ.mjs.map +1 -0
  45. package/dist/contract-prisma7__provider.d.mts +3 -3
  46. package/dist/contract-prisma7__provider.d.mts.map +1 -1
  47. package/dist/contract-prisma7__provider.mjs +10 -10
  48. package/dist/contract-prisma7__provider.mjs.map +1 -1
  49. package/dist/contract-psl.d.mts +4 -4
  50. package/dist/contract-psl.d.mts.map +1 -1
  51. package/dist/contract-psl.mjs +1 -1
  52. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  53. package/dist/contract-psl__attribute-specs.mjs +1 -1
  54. package/dist/contract-psl__default-table-name.d.mts +1 -1
  55. package/dist/contract-psl__default-table-name.d.mts.map +1 -1
  56. package/dist/contract-psl__default-table-name.mjs +1 -1
  57. package/dist/contract-psl__diagnostics.d.mts +1 -1
  58. package/dist/contract-psl__diagnostics.d.mts.map +1 -1
  59. package/dist/contract-psl__diagnostics.mjs +1 -1
  60. package/dist/contract-psl__map-names.d.mts +1 -1
  61. package/dist/contract-psl__map-names.d.mts.map +1 -1
  62. package/dist/contract-psl__map-names.mjs +2 -2
  63. package/dist/contract-psl__map-names.mjs.map +1 -1
  64. package/dist/contract-psl__provider.d.mts +3 -3
  65. package/dist/contract-psl__provider.d.mts.map +1 -1
  66. package/dist/contract-psl__provider.mjs +3 -3
  67. package/dist/contract-psl__provider.mjs.map +1 -1
  68. package/dist/contract-ts.d.mts +4 -4
  69. package/dist/contract-ts.mjs +4 -4
  70. package/dist/contract-ts__config-types.d.mts +1 -1
  71. package/dist/contract-ts__config-types.mjs +1 -1
  72. package/dist/contract-ts__contract-builder.d.mts +3 -3
  73. package/dist/contract-ts__contract-builder.mjs +3 -3
  74. package/dist/{contract-view-BMR5IWk4.mjs → contract-view-DqpzeYeE.mjs} +2 -2
  75. package/dist/contract-view-DqpzeYeE.mjs.map +1 -0
  76. package/dist/{contract-view-BgpEwVz0.d.mts → contract-view-DuB35or0.d.mts} +3 -3
  77. package/dist/contract-view-DuB35or0.d.mts.map +1 -0
  78. package/dist/contract.d.mts +29 -29
  79. package/dist/contract.mjs +22 -22
  80. package/dist/contract__authored-check-naming.d.mts +1 -1
  81. package/dist/contract__authored-check-naming.mjs +1 -1
  82. package/dist/contract__canonicalization-hooks.d.mts +1 -1
  83. package/dist/contract__canonicalization-hooks.mjs +1 -1
  84. package/dist/contract__contract-view.d.mts +1 -1
  85. package/dist/contract__contract-view.mjs +1 -1
  86. package/dist/contract__data-type-support.d.mts +1 -1
  87. package/dist/contract__data-type-support.mjs +1 -1
  88. package/dist/contract__data-type.d.mts +1 -1
  89. package/dist/contract__data-type.mjs +2 -2
  90. package/dist/contract__entity-handle-lowering-hook.d.mts +1 -1
  91. package/dist/contract__entity-handle-lowering-hook.mjs +1 -1
  92. package/dist/contract__entity-kinds.d.mts +1 -1
  93. package/dist/contract__entity-kinds.mjs +1 -1
  94. package/dist/contract__factories.d.mts +1 -1
  95. package/dist/contract__factories.mjs +1 -1
  96. package/dist/contract__foreign-key-materialization.d.mts +1 -1
  97. package/dist/contract__foreign-key-materialization.mjs +2 -2
  98. package/dist/contract__index-naming.d.mts +1 -1
  99. package/dist/contract__index-naming.mjs +1 -1
  100. package/dist/contract__index-type-validation.d.mts +1 -1
  101. package/dist/contract__index-type-validation.mjs +1 -1
  102. package/dist/contract__index-types.d.mts +2 -2
  103. package/dist/contract__index-types.mjs +1 -1
  104. package/dist/contract__referential-action-sql.d.mts +1 -1
  105. package/dist/contract__referential-action-sql.mjs +1 -1
  106. package/dist/contract__resolve-storage-table.d.mts +1 -1
  107. package/dist/contract__resolve-storage-table.mjs +1 -1
  108. package/dist/contract__sql-expression.d.mts +1 -1
  109. package/dist/contract__sql-expression.mjs +1 -1
  110. package/dist/contract__types.d.mts +11 -11
  111. package/dist/contract__types.mjs +3 -3
  112. package/dist/contract__validators.d.mts +1 -1
  113. package/dist/contract__validators.mjs +2 -2
  114. package/dist/contract__value-set-derivation-hook.d.mts +1 -1
  115. package/dist/contract__value-set-derivation-hook.mjs +1 -1
  116. package/dist/{control-BW6gbqvb.d.mts → control-0cDzwyu1.d.mts} +19 -19
  117. package/dist/control-0cDzwyu1.d.mts.map +1 -0
  118. package/dist/{control-adapter-El4czoUh.d.mts → control-adapter-BLLXAM9_.d.mts} +5 -5
  119. package/dist/control-adapter-BLLXAM9_.d.mts.map +1 -0
  120. package/dist/{control-adapter-Bn0uhplA-D0fhkvnJ.d.mts → control-adapter-Bn0uhplA-DYCjJlfN.d.mts} +10 -10
  121. package/dist/control-adapter-Bn0uhplA-DYCjJlfN.d.mts.map +1 -0
  122. package/dist/{control-adapter-DRlEXxsv.mjs → control-adapter-SlQkTEwT.mjs} +3 -3
  123. package/dist/control-adapter-SlQkTEwT.mjs.map +1 -0
  124. package/dist/{control-DnFJf5_F.mjs → control-ba0_VwlQ.mjs} +18 -18
  125. package/dist/control-ba0_VwlQ.mjs.map +1 -0
  126. package/dist/{data-type-BMnEHaW3.mjs → data-type-BFSpaotu.mjs} +3 -3
  127. package/dist/data-type-BFSpaotu.mjs.map +1 -0
  128. package/dist/{data-type-iatMyRs6.d.mts → data-type-DJIvKQHf.d.mts} +4 -4
  129. package/dist/data-type-DJIvKQHf.d.mts.map +1 -0
  130. package/dist/{data-type-support-juGV2d9c.mjs → data-type-support-BhSoPUFj.mjs} +2 -2
  131. package/dist/data-type-support-BhSoPUFj.mjs.map +1 -0
  132. package/dist/{data-type-support-a9BR-PbH.d.mts → data-type-support-CXpA0ex-.d.mts} +2 -2
  133. package/dist/data-type-support-CXpA0ex-.d.mts.map +1 -0
  134. package/dist/{db-BmrN9nRS-MT5cfCJy.d.mts → db-BmrN9nRS-BKdvl6Lv.d.mts} +14 -14
  135. package/dist/db-BmrN9nRS-BKdvl6Lv.d.mts.map +1 -0
  136. package/dist/{ddl-types-By5mT2_S--j4lTxme.d.mts → ddl-types-By5mT2_S-CEkSuvfl.d.mts} +5 -5
  137. package/dist/ddl-types-By5mT2_S-CEkSuvfl.d.mts.map +1 -0
  138. package/dist/{default-mapping-CAOONlKQ-v7GTIkjE.d.mts → default-mapping-CAOONlKQ-4m07nb-O.d.mts} +2 -2
  139. package/dist/default-mapping-CAOONlKQ-4m07nb-O.d.mts.map +1 -0
  140. package/dist/{default-table-name-BfFY8qYR-lHNcVmY5.mjs → default-table-name-BfFY8qYR-CWZFDX6v.mjs} +2 -2
  141. package/dist/default-table-name-BfFY8qYR-CWZFDX6v.mjs.map +1 -0
  142. package/dist/{derived-checks-D5HVRvqN-B37oe30Z.mjs → derived-checks-D5HVRvqN-BJx1gwPA.mjs} +16 -16
  143. package/dist/derived-checks-D5HVRvqN-BJx1gwPA.mjs.map +1 -0
  144. package/dist/{derived-checks-DpPkO6Dt-D6tfanWv.d.mts → derived-checks-DpPkO6Dt-BzFrQoFZ.d.mts} +4 -4
  145. package/dist/derived-checks-DpPkO6Dt-BzFrQoFZ.d.mts.map +1 -0
  146. package/dist/{diagnostics-IM48vCjC.mjs → diagnostics-RHJxoiIk.mjs} +4 -4
  147. package/dist/diagnostics-RHJxoiIk.mjs.map +1 -0
  148. package/dist/{diff-DZ82XaGR.mjs → diff-C1rFOhek.mjs} +2 -2
  149. package/dist/diff-C1rFOhek.mjs.map +1 -0
  150. package/dist/{diff-D2PJJkGv.d.mts → diff-DnJBqc_l.d.mts} +8 -8
  151. package/dist/diff-DnJBqc_l.d.mts.map +1 -0
  152. package/dist/{dist-D8RKUdwh.mjs → dist-C8Y-PPuE.mjs} +4 -4
  153. package/dist/dist-C8Y-PPuE.mjs.map +1 -0
  154. package/dist/{dist-C_q1_QR9.mjs → dist-CHz1hF8M.mjs} +2 -2
  155. package/dist/dist-CHz1hF8M.mjs.map +1 -0
  156. package/dist/{dist-x6jvtkKM.mjs → dist-CMDXybwm.mjs} +2 -2
  157. package/dist/dist-CMDXybwm.mjs.map +1 -0
  158. package/dist/{driver-types-DRsYeq3j-X_D6hNMZ.d.mts → driver-types-DRsYeq3j-BimeCnUk.d.mts} +2 -2
  159. package/dist/driver-types-DRsYeq3j-BimeCnUk.d.mts.map +1 -0
  160. package/dist/{entity-handle-lowering-hook-B3atrRKX.mjs → entity-handle-lowering-hook-BJZSlVVF.mjs} +2 -2
  161. package/dist/entity-handle-lowering-hook-BJZSlVVF.mjs.map +1 -0
  162. package/dist/{entity-handle-lowering-hook-93syhZ0p.d.mts → entity-handle-lowering-hook-BuvLtgFi.d.mts} +2 -2
  163. package/dist/entity-handle-lowering-hook-BuvLtgFi.d.mts.map +1 -0
  164. package/dist/{entity-kinds-OhCjfrIe.d.mts → entity-kinds-BPG2xCZV.d.mts} +7 -7
  165. package/dist/entity-kinds-BPG2xCZV.d.mts.map +1 -0
  166. package/dist/{entity-kinds-JR5SAm5h-ZkDejOUK.mjs → entity-kinds-JR5SAm5h-DOH6VUtL.mjs} +5 -5
  167. package/dist/entity-kinds-JR5SAm5h-DOH6VUtL.mjs.map +1 -0
  168. package/dist/{errors-B5g0xWro-mWH2C07F.mjs → errors-B5g0xWro-C8plbqga.mjs} +2 -2
  169. package/dist/errors-B5g0xWro-C8plbqga.mjs.map +1 -0
  170. package/dist/errors.d.mts +1 -1
  171. package/dist/errors.d.mts.map +1 -1
  172. package/dist/errors.mjs +1 -1
  173. package/dist/{exports-C3wGYtID-Bg6ThaBe.mjs → exports-C3wGYtID-D65DEUTC.mjs} +9 -9
  174. package/dist/exports-C3wGYtID-D65DEUTC.mjs.map +1 -0
  175. package/dist/{expression-6ld_ZQL6-CQghHqQ4.d.mts → expression-6ld_ZQL6-Brvfpjqy.d.mts} +9 -9
  176. package/dist/expression-6ld_ZQL6-Brvfpjqy.d.mts.map +1 -0
  177. package/dist/{expression-CieaNuRM-BpwVyjJL.d.mts → expression-CieaNuRM-CI_2zExe.d.mts} +4 -4
  178. package/dist/expression-CieaNuRM-CI_2zExe.d.mts.map +1 -0
  179. package/dist/{expression-impl-B-XNINxr-vYwKVFeP.mjs → expression-impl-B-XNINxr-BhN2sysZ.mjs} +4 -4
  180. package/dist/expression-impl-B-XNINxr-BhN2sysZ.mjs.map +1 -0
  181. package/dist/expression-kBtMHj-W.d.mts +2 -0
  182. package/dist/{factories-C4JbtO84.mjs → factories-Crobuxwn.mjs} +5 -5
  183. package/dist/factories-Crobuxwn.mjs.map +1 -0
  184. package/dist/{factories-CfHDga-q.d.mts → factories-DbNP9qfs.d.mts} +7 -7
  185. package/dist/factories-DbNP9qfs.d.mts.map +1 -0
  186. package/dist/family.d.mts +16 -16
  187. package/dist/family.mjs +16 -16
  188. package/dist/family__control-adapter.d.mts +2 -2
  189. package/dist/family__control-adapter.mjs +1 -1
  190. package/dist/family__control.d.mts +4 -4
  191. package/dist/family__control.mjs +3 -3
  192. package/dist/family__diff.d.mts +1 -1
  193. package/dist/family__diff.mjs +2 -2
  194. package/dist/family__ir.d.mts +1 -1
  195. package/dist/family__ir.mjs +2 -2
  196. package/dist/family__migration.d.mts +1 -1
  197. package/dist/family__migration.mjs +1 -1
  198. package/dist/family__pack.d.mts +1 -1
  199. package/dist/family__pack.mjs +2 -2
  200. package/dist/family__psl-build.d.mts +2 -2
  201. package/dist/family__psl-build.mjs +2 -2
  202. package/dist/family__psl-infer.d.mts +1 -1
  203. package/dist/family__psl-infer.mjs +1 -1
  204. package/dist/family__runtime.d.mts +2 -2
  205. package/dist/family__runtime.mjs +2 -2
  206. package/dist/family__verify.d.mts +1 -1
  207. package/dist/family__verify.mjs +1 -1
  208. package/dist/{foreign-key-materialization-CgW18KP-.d.mts → foreign-key-materialization-48P2V8on.d.mts} +8 -8
  209. package/dist/foreign-key-materialization-48P2V8on.d.mts.map +1 -0
  210. package/dist/{foreign-key-materialization-BPQqd0qF.mjs → foreign-key-materialization-BM59w_Xg.mjs} +7 -7
  211. package/dist/foreign-key-materialization-BM59w_Xg.mjs.map +1 -0
  212. package/dist/{foreign-key-qkDFfG8t-Fyrzd0VI.d.mts → foreign-key-qkDFfG8t-TaK_GYWR.d.mts} +3 -3
  213. package/dist/foreign-key-qkDFfG8t-TaK_GYWR.d.mts.map +1 -0
  214. package/dist/{functions-DTInIMZT.d.mts → functions-CRvEdiQM.d.mts} +7 -7
  215. package/dist/functions-CRvEdiQM.d.mts.map +1 -0
  216. package/dist/{functions-0YWByawj.mjs → functions-CsOoN7I3.mjs} +4 -4
  217. package/dist/functions-CsOoN7I3.mjs.map +1 -0
  218. package/dist/{generator-functions-D_qdqBV--BoeJwWsz.mjs → generator-functions-D_qdqBV--B2Q0WOf5.mjs} +4 -4
  219. package/dist/generator-functions-D_qdqBV--B2Q0WOf5.mjs.map +1 -0
  220. package/dist/{index-ffCr9ySU.d.mts → index-CUG8HKk_.d.mts} +4 -4
  221. package/dist/index-CUG8HKk_.d.mts.map +1 -0
  222. package/dist/{index-BAxGJxON.d.mts → index-ClfuhAEt.d.mts} +23 -23
  223. package/dist/index-ClfuhAEt.d.mts.map +1 -0
  224. package/dist/{index-equivalence-DswCiq5l-D5VK0qTy.mjs → index-equivalence-DswCiq5l-CGsyPP9B.mjs} +3 -3
  225. package/dist/index-equivalence-DswCiq5l-CGsyPP9B.mjs.map +1 -0
  226. package/dist/{index-naming-BOcJT1B3-18gQUduD.mjs → index-naming-BOcJT1B3-mG8Fd6KN.mjs} +5 -5
  227. package/dist/index-naming-BOcJT1B3-mG8Fd6KN.mjs.map +1 -0
  228. package/dist/{index-naming-C7pme5Pj.d.mts → index-naming-Cs6wwia3.d.mts} +4 -4
  229. package/dist/index-naming-Cs6wwia3.d.mts.map +1 -0
  230. package/dist/{index-reference-4wsdeB7v-DiTLLldN.d.mts → index-reference-4wsdeB7v-BTOzTNIT.d.mts} +5 -5
  231. package/dist/index-reference-4wsdeB7v-BTOzTNIT.d.mts.map +1 -0
  232. package/dist/{index-reference-DR62gjQS.mjs → index-reference-BQSrkRfT.mjs} +2 -2
  233. package/dist/index-reference-BQSrkRfT.mjs.map +1 -0
  234. package/dist/index-reference-DFUfnGcB.d.mts +1 -0
  235. package/dist/{index-type-validation-Bcme_Ust.mjs → index-type-validation-DJEMmmw0.mjs} +3 -3
  236. package/dist/index-type-validation-DJEMmmw0.mjs.map +1 -0
  237. package/dist/{index-type-validation-Ibtp3RKo.d.mts → index-type-validation-fGGwAHWc.d.mts} +5 -5
  238. package/dist/index-type-validation-fGGwAHWc.d.mts.map +1 -0
  239. package/dist/{index-types-H1O43iYT-ONvDbszL.d.mts → index-types-H1O43iYT-BD0VwPqV.d.mts} +2 -2
  240. package/dist/index-types-H1O43iYT-BD0VwPqV.d.mts.map +1 -0
  241. package/dist/{index-types-pC_5vADQ-TTUXAfmL.mjs → index-types-pC_5vADQ-BOOBi14R.mjs} +3 -3
  242. package/dist/index-types-pC_5vADQ-BOOBi14R.mjs.map +1 -0
  243. package/dist/index-types-snhtt_Fo.d.mts +1 -0
  244. package/dist/{interpreter-BDpym-rc-BZVFp5GU.mjs → interpreter-BDpym-rc-C3-vTcej.mjs} +12 -12
  245. package/dist/interpreter-BDpym-rc-C3-vTcej.mjs.map +1 -0
  246. package/dist/{ir-I-xciGUH.mjs → ir-DzsUDO8e.mjs} +2 -2
  247. package/dist/ir-DzsUDO8e.mjs.map +1 -0
  248. package/dist/{ir-BjC1VOuq.d.mts → ir-VGuTeCGp.d.mts} +4 -4
  249. package/dist/ir-VGuTeCGp.d.mts.map +1 -0
  250. package/dist/middleware-D5UhS_mW.d.mts +1 -0
  251. package/dist/{middleware-DHkW6pRr-CFiQojK4.d.mts → middleware-DHkW6pRr-B67Dujfd.d.mts} +3 -3
  252. package/dist/middleware-DHkW6pRr-B67Dujfd.d.mts.map +1 -0
  253. package/dist/{middleware-yBAfiVWn-CzNCthJT.mjs → middleware-yBAfiVWn-DZO0vCRQ.mjs} +3 -3
  254. package/dist/middleware-yBAfiVWn-DZO0vCRQ.mjs.map +1 -0
  255. package/dist/{migration-Dy_4Wmiy.mjs → migration-BJQjkqFz.mjs} +2 -2
  256. package/dist/migration-BJQjkqFz.mjs.map +1 -0
  257. package/dist/{migration-DWLbMM34.d.mts → migration-CXZQR3C_.d.mts} +5 -5
  258. package/dist/migration-CXZQR3C_.d.mts.map +1 -0
  259. package/dist/{naming-BcD36g9T-DFyaudUa.d.mts → naming-BcD36g9T-Mfe_xGGL.d.mts} +2 -2
  260. package/dist/naming-BcD36g9T-Mfe_xGGL.d.mts.map +1 -0
  261. package/dist/{naming-bM5qm5PY-DdginUhA.mjs → naming-bM5qm5PY-jOg3JFMb.mjs} +2 -2
  262. package/dist/naming-bM5qm5PY-jOg3JFMb.mjs.map +1 -0
  263. package/dist/{opaque-sql-Dset3kln-BzzXoO94.mjs → opaque-sql-Dset3kln-CtsPDTXn.mjs} +2 -2
  264. package/dist/opaque-sql-Dset3kln-CtsPDTXn.mjs.map +1 -0
  265. package/dist/operations.d.mts +1 -1
  266. package/dist/operations.mjs +1 -1
  267. package/dist/orm-client.d.mts +21 -21
  268. package/dist/orm-client.mjs +11 -11
  269. package/dist/{pack-CdaZMfI_.d.mts → pack-CGcsowo7.d.mts} +5 -5
  270. package/dist/pack-CGcsowo7.d.mts.map +1 -0
  271. package/dist/{pack-BifOs83a.mjs → pack-vaUY9-7E.mjs} +5 -5
  272. package/dist/pack-vaUY9-7E.mjs.map +1 -0
  273. package/dist/{plan-Cr4azjnG-lIrzIrmu.d.mts → plan-Cr4azjnG-B5MWRcqp.d.mts} +5 -5
  274. package/dist/plan-Cr4azjnG-B5MWRcqp.d.mts.map +1 -0
  275. package/dist/{plan-Dh0LbYIv-Crx5-ThG.mjs → plan-Dh0LbYIv-ubBSdUgl.mjs} +2 -2
  276. package/dist/plan-Dh0LbYIv-ubBSdUgl.mjs.map +1 -0
  277. package/dist/plan-cqtZBj5m.d.mts +2 -0
  278. package/dist/{psl-attribute-parsing-BCsFWsSp-LaNsbcrw.mjs → psl-attribute-parsing-BCsFWsSp-BJ-wGlY6.mjs} +2 -2
  279. package/dist/psl-attribute-parsing-BCsFWsSp-BJ-wGlY6.mjs.map +1 -0
  280. package/dist/{psl-build-fwoI6rBO.mjs → psl-build-DFBG6vhz.mjs} +6 -6
  281. package/dist/psl-build-DFBG6vhz.mjs.map +1 -0
  282. package/dist/{psl-build-BYXXz2XD.d.mts → psl-build-RelubU2E.d.mts} +6 -6
  283. package/dist/psl-build-RelubU2E.d.mts.map +1 -0
  284. package/dist/{psl-column-resolution-ChZqioOc-DcjGSXDp.d.mts → psl-column-resolution-ChZqioOc-DkKTu21I.d.mts} +3 -3
  285. package/dist/psl-column-resolution-ChZqioOc-DkKTu21I.d.mts.map +1 -0
  286. package/dist/{psl-field-resolution-C5KQ7kzP-DH8oSBIL.mjs → psl-field-resolution-C5KQ7kzP-B0NwuRWV.mjs} +7 -7
  287. package/dist/psl-field-resolution-C5KQ7kzP-B0NwuRWV.mjs.map +1 -0
  288. package/dist/{psl-infer-CaEnF_x3.mjs → psl-infer--g4i84Go.mjs} +5 -5
  289. package/dist/psl-infer--g4i84Go.mjs.map +1 -0
  290. package/dist/{psl-infer-CpTRaF5I.d.mts → psl-infer-DzoxPZGd.d.mts} +5 -5
  291. package/dist/psl-infer-DzoxPZGd.d.mts.map +1 -0
  292. package/dist/{psl-names-C3cwe0rg-CsuHOV7E.mjs → psl-names-C3cwe0rg-D1CTmC3a.mjs} +2 -2
  293. package/dist/psl-names-C3cwe0rg-D1CTmC3a.mjs.map +1 -0
  294. package/dist/{query-lane-context-BCEoKy0_-DQOOliDn.d.mts → query-lane-context-BCEoKy0_-CBzNngG3.d.mts} +8 -8
  295. package/dist/query-lane-context-BCEoKy0_-CBzNngG3.d.mts.map +1 -0
  296. package/dist/query-lane-context-DElm2VXX.d.mts +1 -0
  297. package/dist/{referential-action-sql-Cw1Q0YSd.d.mts → referential-action-sql-B2vKoUK6.d.mts} +3 -3
  298. package/dist/referential-action-sql-B2vKoUK6.d.mts.map +1 -0
  299. package/dist/{referential-action-sql-DSqkrySN.mjs → referential-action-sql-BLzCtTi8.mjs} +2 -2
  300. package/dist/referential-action-sql-BLzCtTi8.mjs.map +1 -0
  301. package/dist/relational-core.d.mts +13 -13
  302. package/dist/relational-core.mjs +7 -7
  303. package/dist/relational-core__aggregate-descriptor-registry.d.mts +2 -2
  304. package/dist/relational-core__aggregate-descriptor-registry.d.mts.map +1 -1
  305. package/dist/relational-core__aggregate-descriptor-registry.mjs +1 -1
  306. package/dist/relational-core__ast.d.mts +4 -4
  307. package/dist/relational-core__ast.mjs +4 -4
  308. package/dist/relational-core__codec-descriptor-registry.d.mts +5 -5
  309. package/dist/relational-core__codec-descriptor-registry.d.mts.map +1 -1
  310. package/dist/relational-core__codec-descriptor-registry.mjs +1 -1
  311. package/dist/relational-core__collection-methods.d.mts +2 -2
  312. package/dist/relational-core__contract-free.d.mts +6 -6
  313. package/dist/relational-core__contract-free.d.mts.map +1 -1
  314. package/dist/relational-core__contract-free.mjs +4 -4
  315. package/dist/relational-core__contract-free.mjs.map +1 -1
  316. package/dist/relational-core__expression.d.mts +3 -3
  317. package/dist/relational-core__expression.mjs +1 -1
  318. package/dist/relational-core__functions.d.mts +1 -1
  319. package/dist/relational-core__functions.mjs +1 -1
  320. package/dist/relational-core__index-reference.d.mts +2 -2
  321. package/dist/relational-core__index-reference.mjs +1 -1
  322. package/dist/relational-core__middleware.d.mts +2 -2
  323. package/dist/relational-core__middleware.mjs +1 -1
  324. package/dist/relational-core__plan.d.mts +3 -3
  325. package/dist/relational-core__plan.mjs +1 -1
  326. package/dist/relational-core__query-lane-context.d.mts +2 -2
  327. package/dist/relational-core__types.d.mts +2 -2
  328. package/dist/{resolve-storage-table-DZsfnzeW.mjs → resolve-storage-table-BHLQsOza.mjs} +3 -3
  329. package/dist/resolve-storage-table-BHLQsOza.mjs.map +1 -0
  330. package/dist/{resolve-storage-table-CxmU_MPu.d.mts → resolve-storage-table-DCqtmnSU.d.mts} +4 -4
  331. package/dist/resolve-storage-table-DCqtmnSU.d.mts.map +1 -0
  332. package/dist/{runtime-Z3nD7ix1.mjs → runtime-6tH1yOxK.mjs} +2 -2
  333. package/dist/runtime-6tH1yOxK.mjs.map +1 -0
  334. package/dist/{runtime-Bmndf-fm.d.mts → runtime-CF6rAlE5.d.mts} +3 -3
  335. package/dist/runtime-CF6rAlE5.d.mts.map +1 -0
  336. package/dist/runtime.d.mts +4 -4
  337. package/dist/runtime.mjs +1 -1
  338. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  339. package/dist/runtime__internal__prepared-query.mjs +1 -1
  340. package/dist/{schema-differ-DmP74bB8-0ZupRJKb.d.mts → schema-differ-DmP74bB8-Be7PDHNx.d.mts} +6 -6
  341. package/dist/schema-differ-DmP74bB8-Be7PDHNx.d.mts.map +1 -0
  342. package/dist/schema-ir.d.mts +1 -1
  343. package/dist/schema-ir.mjs +1 -1
  344. package/dist/schema-ir__naming.d.mts +1 -1
  345. package/dist/schema-ir__naming.mjs +1 -1
  346. package/dist/schema-ir__types.d.mts +2 -2
  347. package/dist/schema-ir__types.mjs +1 -1
  348. package/dist/{schema-verify-C3wbdviw-BifQBCpu.mjs → schema-verify-C3wbdviw-DMjIubOr.mjs} +5 -5
  349. package/dist/schema-verify-C3wbdviw-DMjIubOr.mjs.map +1 -0
  350. package/dist/{serialized-index-CrgG8ct1-DDfHKUEK.d.mts → serialized-index-CrgG8ct1-DKVJ7TDX.d.mts} +4 -4
  351. package/dist/serialized-index-CrgG8ct1-DKVJ7TDX.d.mts.map +1 -0
  352. package/dist/{serialized-index-DjCCnXB1-C_YccpTL.mjs → serialized-index-DjCCnXB1-DMA7BtO2.mjs} +4 -4
  353. package/dist/serialized-index-DjCCnXB1-DMA7BtO2.mjs.map +1 -0
  354. package/dist/{sql-contract-serializer-sMY3prTx-BkFoHhST.mjs → sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs} +7 -7
  355. package/dist/sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs.map +1 -0
  356. package/dist/{sql-data-type-D7M-YTTY-C9oWGZ3z.mjs → sql-data-type-D7M-YTTY-D2vRqDxn.mjs} +3 -3
  357. package/dist/sql-data-type-D7M-YTTY-D2vRqDxn.mjs.map +1 -0
  358. package/dist/{sql-execution-plan-3uxYjHyu-C0Z4_RSY.d.mts → sql-execution-plan-3uxYjHyu-Cl0eB5av.d.mts} +3 -3
  359. package/dist/sql-execution-plan-3uxYjHyu-Cl0eB5av.d.mts.map +1 -0
  360. package/dist/{sql-expression-BAtH-2UU.d.mts → sql-expression-B4BrhGPi.d.mts} +2 -2
  361. package/dist/sql-expression-B4BrhGPi.d.mts.map +1 -0
  362. package/dist/{sql-expression-BJCuy-WI.mjs → sql-expression-CKgKznXS.mjs} +3 -3
  363. package/dist/sql-expression-CKgKznXS.mjs.map +1 -0
  364. package/dist/{sql-index-ByAAE7K8-BpbPBWPD.d.mts → sql-index-ByAAE7K8-Dqtn_vUL.d.mts} +4 -4
  365. package/dist/sql-index-ByAAE7K8-Dqtn_vUL.d.mts.map +1 -0
  366. package/dist/{sql-node-kEz6YFZo-v2F7delx.d.mts → sql-node-kEz6YFZo-1ogT6Cxt.d.mts} +2 -2
  367. package/dist/sql-node-kEz6YFZo-1ogT6Cxt.d.mts.map +1 -0
  368. package/dist/{sql-storage-DeCAh5Hi-nJQUIgfL.d.mts → sql-storage-DeCAh5Hi-CEM-m8cs.d.mts} +5 -5
  369. package/dist/sql-storage-DeCAh5Hi-CEM-m8cs.d.mts.map +1 -0
  370. package/dist/{storage-table-Bf1ZjnxO-NvkG2pgq.d.mts → storage-table-Bf1ZjnxO-pUj6pyP0.d.mts} +7 -7
  371. package/dist/storage-table-Bf1ZjnxO-pUj6pyP0.d.mts.map +1 -0
  372. package/dist/{storage-table-DDvN83mw-CbCFr5wm.mjs → storage-table-DDvN83mw-DkbBFmK9.mjs} +4 -4
  373. package/dist/storage-table-DDvN83mw-DkbBFmK9.mjs.map +1 -0
  374. package/dist/{storage-value-set-BGlj5Uus-CvZD--GG.d.mts → storage-value-set-BGlj5Uus-ny2k-0PA.d.mts} +3 -3
  375. package/dist/storage-value-set-BGlj5Uus-ny2k-0PA.d.mts.map +1 -0
  376. package/dist/{transaction-state-BfXhs7D7-3k10jZ8I.mjs → transaction-state-BfXhs7D7-DhmbySW9.mjs} +2 -2
  377. package/dist/transaction-state-BfXhs7D7-DhmbySW9.mjs.map +1 -0
  378. package/dist/{transaction-state-DR3nKTmH-D6VdY7YX.d.mts → transaction-state-DR3nKTmH-Dcu5lbwd.d.mts} +11 -11
  379. package/dist/transaction-state-DR3nKTmH-Dcu5lbwd.d.mts.map +1 -0
  380. package/dist/{types-CRbj_WQf.d.mts → types-B0J6ZASy.d.mts} +12 -12
  381. package/dist/types-B0J6ZASy.d.mts.map +1 -0
  382. package/dist/{types-C7610W2l.mjs → types-CTdSkl0s.mjs} +3 -3
  383. package/dist/types-CTdSkl0s.mjs.map +1 -0
  384. package/dist/{types-Cq6ImLAB-BqOfLAYG.d.mts → types-Cq6ImLAB-BRpWMRJe.d.mts} +10 -10
  385. package/dist/types-Cq6ImLAB-BRpWMRJe.d.mts.map +1 -0
  386. package/dist/{types-CuCxAQat-BBGUHEku.d.mts → types-CuCxAQat-Dz8P4xyt.d.mts} +3 -3
  387. package/dist/types-CuCxAQat-Dz8P4xyt.d.mts.map +1 -0
  388. package/dist/types-CwP7Hgmt.d.mts +1 -0
  389. package/dist/{types-DfKvtJwS-tndgHh53.d.mts → types-DfKvtJwS-CrpWTGBJ.d.mts} +11 -11
  390. package/dist/types-DfKvtJwS-CrpWTGBJ.d.mts.map +1 -0
  391. package/dist/{types-DoyiTsjg-DDTmYyNY.mjs → types-DoyiTsjg-2YMhMJDA.mjs} +3 -3
  392. package/dist/types-DoyiTsjg-2YMhMJDA.mjs.map +1 -0
  393. package/dist/{types-DriMIMNQ-BBacSgaI.d.mts → types-DriMIMNQ-Cs5YW-O-.d.mts} +3 -3
  394. package/dist/types-DriMIMNQ-Cs5YW-O-.d.mts.map +1 -0
  395. package/dist/{types-NTQsD2MS-DAP2yVDn.mjs → types-NTQsD2MS-xcLtvKO9.mjs} +2 -2
  396. package/dist/types-NTQsD2MS-xcLtvKO9.mjs.map +1 -0
  397. package/dist/{types-TXO7x1BA-DuW4v0rw.d.mts → types-TXO7x1BA-B8fGzOYJ.d.mts} +12 -12
  398. package/dist/types-TXO7x1BA-B8fGzOYJ.d.mts.map +1 -0
  399. package/dist/types-ljUNyiWe.d.mts +1 -0
  400. package/dist/{unique-constraint-M5TlQnJQ-BiIHJ85k.d.mts → unique-constraint-M5TlQnJQ-qX-maNUV.d.mts} +3 -3
  401. package/dist/unique-constraint-M5TlQnJQ-qX-maNUV.d.mts.map +1 -0
  402. package/dist/{util-BBgcP3gI-XJBkxo1K.mjs → util-BBgcP3gI-CpL-0VuC.mjs} +2 -2
  403. package/dist/util-BBgcP3gI-CpL-0VuC.mjs.map +1 -0
  404. package/dist/{validators-xXKEHvnw.mjs → validators-BwA7ttZM.mjs} +7 -7
  405. package/dist/validators-BwA7ttZM.mjs.map +1 -0
  406. package/dist/{validators-BDuMio1F.d.mts → validators-FJs8HvFr.d.mts} +6 -6
  407. package/dist/validators-FJs8HvFr.d.mts.map +1 -0
  408. package/dist/{value-set-derivation-hook-BhgGVtw0.d.mts → value-set-derivation-hook-3E437jPU.d.mts} +3 -3
  409. package/dist/value-set-derivation-hook-3E437jPU.d.mts.map +1 -0
  410. package/dist/{value-set-derivation-hook-Di9JZ0X7.mjs → value-set-derivation-hook-HVaxhALD.mjs} +2 -2
  411. package/dist/value-set-derivation-hook-HVaxhALD.mjs.map +1 -0
  412. package/dist/{verify-BVk5bjdH-dq5M4iIh.mjs → verify-BVk5bjdH-DhKm6hB3.mjs} +3 -3
  413. package/dist/verify-BVk5bjdH-DhKm6hB3.mjs.map +1 -0
  414. package/dist/{verify-zDRnw0Rn.d.mts → verify-DHXbuZPB.d.mts} +2 -2
  415. package/dist/verify-DHXbuZPB.d.mts.map +1 -0
  416. package/package.json +18 -18
  417. package/dist/aggregate-descriptor-registry-Dd7Uj7DJ.mjs.map +0 -1
  418. package/dist/ast-BJs2669T.mjs.map +0 -1
  419. package/dist/ast-BySjcUKx.d.mts.map +0 -1
  420. package/dist/attribute-specs-BsaemIyu.d.mts.map +0 -1
  421. package/dist/authored-check-naming-CIX7Bbyh.mjs.map +0 -1
  422. package/dist/authored-check-naming-CK6T_Dfh.d.mts.map +0 -1
  423. package/dist/authoring-entity-types-CgKIgWq5-Dxf_T0Ih.d.mts.map +0 -1
  424. package/dist/canonicalization-hooks-CYnW_sGn.d.mts.map +0 -1
  425. package/dist/canonicalization-hooks-dmXkOR4a.mjs.map +0 -1
  426. package/dist/check-constraint-B7qGu6rc-CBVYAMwG.d.mts.map +0 -1
  427. package/dist/codec-descriptor-registry-MG2bFxW_.mjs.map +0 -1
  428. package/dist/collection-methods-BTknGdHI.d.mts +0 -1
  429. package/dist/collection-methods-D2UnCS0S-CRYoAOtB.d.mts.map +0 -1
  430. package/dist/config-types-BbBY5_GQ.mjs.map +0 -1
  431. package/dist/config-types-D8quwydu.d.mts.map +0 -1
  432. package/dist/contract-builder-D7cTmhfs.mjs.map +0 -1
  433. package/dist/contract-builder-xFftVmD8.d.mts.map +0 -1
  434. package/dist/contract-errors-BCN6RVI5-5IHBF_lg.mjs.map +0 -1
  435. package/dist/contract-view-BMR5IWk4.mjs.map +0 -1
  436. package/dist/contract-view-BgpEwVz0.d.mts.map +0 -1
  437. package/dist/control-BW6gbqvb.d.mts.map +0 -1
  438. package/dist/control-DnFJf5_F.mjs.map +0 -1
  439. package/dist/control-adapter-Bn0uhplA-D0fhkvnJ.d.mts.map +0 -1
  440. package/dist/control-adapter-DRlEXxsv.mjs.map +0 -1
  441. package/dist/control-adapter-El4czoUh.d.mts.map +0 -1
  442. package/dist/data-type-BMnEHaW3.mjs.map +0 -1
  443. package/dist/data-type-iatMyRs6.d.mts.map +0 -1
  444. package/dist/data-type-support-a9BR-PbH.d.mts.map +0 -1
  445. package/dist/data-type-support-juGV2d9c.mjs.map +0 -1
  446. package/dist/db-BmrN9nRS-MT5cfCJy.d.mts.map +0 -1
  447. package/dist/ddl-types-By5mT2_S--j4lTxme.d.mts.map +0 -1
  448. package/dist/default-mapping-CAOONlKQ-v7GTIkjE.d.mts.map +0 -1
  449. package/dist/default-table-name-BfFY8qYR-lHNcVmY5.mjs.map +0 -1
  450. package/dist/derived-checks-D5HVRvqN-B37oe30Z.mjs.map +0 -1
  451. package/dist/derived-checks-DpPkO6Dt-D6tfanWv.d.mts.map +0 -1
  452. package/dist/diagnostics-IM48vCjC.mjs.map +0 -1
  453. package/dist/diff-D2PJJkGv.d.mts.map +0 -1
  454. package/dist/diff-DZ82XaGR.mjs.map +0 -1
  455. package/dist/dist-C_q1_QR9.mjs.map +0 -1
  456. package/dist/dist-D8RKUdwh.mjs.map +0 -1
  457. package/dist/dist-x6jvtkKM.mjs.map +0 -1
  458. package/dist/driver-types-DRsYeq3j-X_D6hNMZ.d.mts.map +0 -1
  459. package/dist/entity-handle-lowering-hook-93syhZ0p.d.mts.map +0 -1
  460. package/dist/entity-handle-lowering-hook-B3atrRKX.mjs.map +0 -1
  461. package/dist/entity-kinds-JR5SAm5h-ZkDejOUK.mjs.map +0 -1
  462. package/dist/entity-kinds-OhCjfrIe.d.mts.map +0 -1
  463. package/dist/errors-B5g0xWro-mWH2C07F.mjs.map +0 -1
  464. package/dist/exports-C3wGYtID-Bg6ThaBe.mjs.map +0 -1
  465. package/dist/expression-6ld_ZQL6-CQghHqQ4.d.mts.map +0 -1
  466. package/dist/expression-BLiObOS8.d.mts +0 -2
  467. package/dist/expression-CieaNuRM-BpwVyjJL.d.mts.map +0 -1
  468. package/dist/expression-impl-B-XNINxr-vYwKVFeP.mjs.map +0 -1
  469. package/dist/factories-C4JbtO84.mjs.map +0 -1
  470. package/dist/factories-CfHDga-q.d.mts.map +0 -1
  471. package/dist/foreign-key-materialization-BPQqd0qF.mjs.map +0 -1
  472. package/dist/foreign-key-materialization-CgW18KP-.d.mts.map +0 -1
  473. package/dist/foreign-key-qkDFfG8t-Fyrzd0VI.d.mts.map +0 -1
  474. package/dist/functions-0YWByawj.mjs.map +0 -1
  475. package/dist/functions-DTInIMZT.d.mts.map +0 -1
  476. package/dist/generator-functions-D_qdqBV--BoeJwWsz.mjs.map +0 -1
  477. package/dist/index-BAxGJxON.d.mts.map +0 -1
  478. package/dist/index-equivalence-DswCiq5l-D5VK0qTy.mjs.map +0 -1
  479. package/dist/index-ffCr9ySU.d.mts.map +0 -1
  480. package/dist/index-naming-BOcJT1B3-18gQUduD.mjs.map +0 -1
  481. package/dist/index-naming-C7pme5Pj.d.mts.map +0 -1
  482. package/dist/index-reference-4wsdeB7v-DiTLLldN.d.mts.map +0 -1
  483. package/dist/index-reference-DR62gjQS.mjs.map +0 -1
  484. package/dist/index-reference-Da9mdOjD.d.mts +0 -1
  485. package/dist/index-type-validation-Bcme_Ust.mjs.map +0 -1
  486. package/dist/index-type-validation-Ibtp3RKo.d.mts.map +0 -1
  487. package/dist/index-types-ByX8MLso.d.mts +0 -1
  488. package/dist/index-types-H1O43iYT-ONvDbszL.d.mts.map +0 -1
  489. package/dist/index-types-pC_5vADQ-TTUXAfmL.mjs.map +0 -1
  490. package/dist/interpreter-BDpym-rc-BZVFp5GU.mjs.map +0 -1
  491. package/dist/ir-BjC1VOuq.d.mts.map +0 -1
  492. package/dist/ir-I-xciGUH.mjs.map +0 -1
  493. package/dist/middleware-DHkW6pRr-CFiQojK4.d.mts.map +0 -1
  494. package/dist/middleware-GO31SJSv.d.mts +0 -1
  495. package/dist/middleware-yBAfiVWn-CzNCthJT.mjs.map +0 -1
  496. package/dist/migration-DWLbMM34.d.mts.map +0 -1
  497. package/dist/migration-Dy_4Wmiy.mjs.map +0 -1
  498. package/dist/naming-BcD36g9T-DFyaudUa.d.mts.map +0 -1
  499. package/dist/naming-bM5qm5PY-DdginUhA.mjs.map +0 -1
  500. package/dist/opaque-sql-Dset3kln-BzzXoO94.mjs.map +0 -1
  501. package/dist/pack-BifOs83a.mjs.map +0 -1
  502. package/dist/pack-CdaZMfI_.d.mts.map +0 -1
  503. package/dist/plan-Cr4azjnG-lIrzIrmu.d.mts.map +0 -1
  504. package/dist/plan-Dh0LbYIv-Crx5-ThG.mjs.map +0 -1
  505. package/dist/plan-OXQ8s6Ee.d.mts +0 -2
  506. package/dist/psl-attribute-parsing-BCsFWsSp-LaNsbcrw.mjs.map +0 -1
  507. package/dist/psl-build-BYXXz2XD.d.mts.map +0 -1
  508. package/dist/psl-build-fwoI6rBO.mjs.map +0 -1
  509. package/dist/psl-column-resolution-ChZqioOc-DcjGSXDp.d.mts.map +0 -1
  510. package/dist/psl-field-resolution-C5KQ7kzP-DH8oSBIL.mjs.map +0 -1
  511. package/dist/psl-infer-CaEnF_x3.mjs.map +0 -1
  512. package/dist/psl-infer-CpTRaF5I.d.mts.map +0 -1
  513. package/dist/psl-names-C3cwe0rg-CsuHOV7E.mjs.map +0 -1
  514. package/dist/query-lane-context-BCEoKy0_-DQOOliDn.d.mts.map +0 -1
  515. package/dist/query-lane-context-BssPNZey.d.mts +0 -1
  516. package/dist/referential-action-sql-Cw1Q0YSd.d.mts.map +0 -1
  517. package/dist/referential-action-sql-DSqkrySN.mjs.map +0 -1
  518. package/dist/resolve-storage-table-CxmU_MPu.d.mts.map +0 -1
  519. package/dist/resolve-storage-table-DZsfnzeW.mjs.map +0 -1
  520. package/dist/runtime-Bmndf-fm.d.mts.map +0 -1
  521. package/dist/runtime-Z3nD7ix1.mjs.map +0 -1
  522. package/dist/schema-differ-DmP74bB8-0ZupRJKb.d.mts.map +0 -1
  523. package/dist/schema-verify-C3wbdviw-BifQBCpu.mjs.map +0 -1
  524. package/dist/serialized-index-CrgG8ct1-DDfHKUEK.d.mts.map +0 -1
  525. package/dist/serialized-index-DjCCnXB1-C_YccpTL.mjs.map +0 -1
  526. package/dist/sql-contract-serializer-sMY3prTx-BkFoHhST.mjs.map +0 -1
  527. package/dist/sql-data-type-D7M-YTTY-C9oWGZ3z.mjs.map +0 -1
  528. package/dist/sql-execution-plan-3uxYjHyu-C0Z4_RSY.d.mts.map +0 -1
  529. package/dist/sql-expression-BAtH-2UU.d.mts.map +0 -1
  530. package/dist/sql-expression-BJCuy-WI.mjs.map +0 -1
  531. package/dist/sql-index-ByAAE7K8-BpbPBWPD.d.mts.map +0 -1
  532. package/dist/sql-node-kEz6YFZo-v2F7delx.d.mts.map +0 -1
  533. package/dist/sql-storage-DeCAh5Hi-nJQUIgfL.d.mts.map +0 -1
  534. package/dist/storage-table-Bf1ZjnxO-NvkG2pgq.d.mts.map +0 -1
  535. package/dist/storage-table-DDvN83mw-CbCFr5wm.mjs.map +0 -1
  536. package/dist/storage-value-set-BGlj5Uus-CvZD--GG.d.mts.map +0 -1
  537. package/dist/transaction-state-BfXhs7D7-3k10jZ8I.mjs.map +0 -1
  538. package/dist/transaction-state-DR3nKTmH-D6VdY7YX.d.mts.map +0 -1
  539. package/dist/types-BUggiEEH.d.mts +0 -1
  540. package/dist/types-C7610W2l.mjs.map +0 -1
  541. package/dist/types-CRbj_WQf.d.mts.map +0 -1
  542. package/dist/types-Cq6ImLAB-BqOfLAYG.d.mts.map +0 -1
  543. package/dist/types-CuCxAQat-BBGUHEku.d.mts.map +0 -1
  544. package/dist/types-DDqbg3WC.d.mts +0 -1
  545. package/dist/types-DfKvtJwS-tndgHh53.d.mts.map +0 -1
  546. package/dist/types-DoyiTsjg-DDTmYyNY.mjs.map +0 -1
  547. package/dist/types-DriMIMNQ-BBacSgaI.d.mts.map +0 -1
  548. package/dist/types-NTQsD2MS-DAP2yVDn.mjs.map +0 -1
  549. package/dist/types-TXO7x1BA-DuW4v0rw.d.mts.map +0 -1
  550. package/dist/unique-constraint-M5TlQnJQ-BiIHJ85k.d.mts.map +0 -1
  551. package/dist/util-BBgcP3gI-XJBkxo1K.mjs.map +0 -1
  552. package/dist/validators-BDuMio1F.d.mts.map +0 -1
  553. package/dist/validators-xXKEHvnw.mjs.map +0 -1
  554. package/dist/value-set-derivation-hook-BhgGVtw0.d.mts.map +0 -1
  555. package/dist/value-set-derivation-hook-Di9JZ0X7.mjs.map +0 -1
  556. package/dist/verify-BVk5bjdH-dq5M4iIh.mjs.map +0 -1
  557. package/dist/verify-zDRnw0Rn.d.mts.map +0 -1
package/dist/family.d.mts CHANGED
@@ -1,17 +1,17 @@
1
- import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-CxmU_MPu.mjs";
2
- import { h as checkSqlDefaultText } from "./validators-BDuMio1F.mjs";
3
- import { n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-D0fhkvnJ.mjs";
4
- import { C as SqlPlannerConflict, D as SqlPlannerResult, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, S as SqlPlanTargetDetails, T as SqlPlannerConflictLocation, _ as SqlMigrationRunnerExecuteCallbacks, a as ResolveIdentityValueInput, b as SqlMigrationRunnerResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, f as SqlMigrationPlanOperationTarget, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, i as FieldEventContext, k as StorageTypePlanResult, l as SqlMigrationPlanContractInfo, m as SqlMigrationPlannerPlanOptions, n as CreateSqlMigrationPlanOptions, o as SqlControlAdapterDescriptor, p as SqlMigrationPlanner, r as FieldEvent, s as SqlControlExtensionDescriptor, t as CodecControlHooks, u as SqlMigrationPlanOperation, v as SqlMigrationRunnerExecuteOptions, w as SqlPlannerConflictKind, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-Cq6ImLAB-BqOfLAYG.mjs";
5
- import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-0ZupRJKb.mjs";
6
- import { $ as SubjectStorage, $t as sqlOfSlot, A as NoTable, At as isUnfilledSlot, B as SingleOperationCall, Bt as readColumnDefault, C as MigrationPlannerConflict, Ct as detectDestructiveChanges, D as NO_RENAMED_ORIGINS, Dt as fieldOfColumn, E as ModelTable, Et as fieldEventStorage, F as ReportedBody, Ft as planFieldEventCalls, G as SqlPslBuildContext, Gt as resolveColumnRenameAgainst, H as SqlControlTargetDescriptor, Ht as requiredColumnMeta, I as ReportedLiteralDefault, It as planFieldEventOperations, J as SqlSlot, Jt as rowsWithoutValueSummary, K as SqlQuote, Kt as resolveTableRenameAgainst, L as RequiredColumn, Lt as planStatements, M as PlannedStatements, Mt as otherSpaceDeclaring, N as ReadColumnDefault, Nt as partitionCallsByControlPolicy, O as NamespaceRename, Ot as fieldRenameStorageEffect, P as ReadReportedDefault, Pt as partitionIssuesByControlPolicy, Q as StatementPlanningTarget, Qt as sqlDefaultFunctions, R as RequiredColumnMark, Rt as plannerFailure, S as MigrationPlanner, St as createSqlTextSources, T as ModelStorageEffect, Tt as extractCodecControlHooks, U as SqlDefaultFunctionName, Ut as requiredColumnOf, V as SqlControlFamilyInstance, Vt as readReportedDefault, W as SqlDescribedContractSpace, Wt as requiredColumnsOfMigration, X as StatementColumn, Xt as runnerSuccess, Y as SqlTextSources, Yt as runnerFailure, Z as StatementOwnership, Zt as slotSource, _ as INIT_ADDITIVE_POLICY, _t as contractNamespaceToSchemaIR, a as ColumnRename, an as unmatchedColumnRename, at as TableRenameByHand, b as MigrationPlan, bt as convertedColumnOf, c as ContractColumns, ct as TargetRefusal, d as ConvertedColumn, dt as appliedStatementsInOrder, en as sqlTypeLookupsOf, et as SuppressionRecord, f as DefaultResolver, ft as assembleAuthoringContributions, g as FieldStorageEffect, gt as contractColumns, h as FieldStatementColumns, ht as columnTakesTemporaryValue, i as ColumnOnOneSide, in as unknownCallNames, it as TableRename, j as PlanFieldEventOperationsOptions, jt as modelRenameStorageEffect, k as NamespaceStatementTarget, kt as fieldStatementColumns, l as ContractToSchemaIROptions, lt as WorkingSchemaOrigins, m as FieldEventCall, mt as checkSqlExpressionText, n as CallSubjects, nn as subjectsOfCalls, nt as TableMove, o as ColumnRenameRequest, on as unmatchedTableRename, ot as TableRenameRequest, p as DefaultResolverColumn, pt as backfillOfDefaultedField, q as SqlQuotingRules, qt as rowsWithoutValueFailure, r as CallWithCompanions, rn as unconvertedFieldOf, rt as TableNameCaseGuardTable, s as ContractColumn, st as TargetMigrationsCapability, t as COLUMN_RENAME_UNMATCHED_CODE, tn as storageNameOfOperation, tt as TABLE_NAME_CASE_CHANGED_CODE, u as ControlPolicySubject, v as MigrationOperationClass, vt as contractToSchemaIR, w as MigrationPlannerResult, wt as detectTableNameCaseChanges, x as MigrationPlanOperation, xt as createMigrationPlan, y as MigrationOperationPolicy, yt as convertedColumnMeta, z as SchemaTables, zt as plannerSuccess } from "./control-BW6gbqvb.mjs";
7
- import { t as resolveIntrospectedColumnType } from "./control-adapter-El4czoUh.mjs";
8
- import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-D2PJJkGv.mjs";
9
- import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-BjC1VOuq.mjs";
10
- import { t as SqlMigration } from "./migration-DWLbMM34.mjs";
11
- import { a as temporalCodecPresetWithPrecision, i as sqlTargetTypeConstructors, o as temporalStringAuthoringPresets, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-CdaZMfI_.mjs";
12
- import { a as writeDefaultLiteral, i as writeDataTypeValue, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CAOONlKQ-v7GTIkjE.mjs";
13
- import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as writtenTypeArguments, n as GeneratorCallRefusal, o as IntrospectedTable, p as toEnumMemberName, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-BYXXz2XD.mjs";
14
- import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-CpTRaF5I.mjs";
15
- import { a as timestampNowRuntimeGenerator, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-Bmndf-fm.mjs";
16
- import { n as parseContractMarkerRow, t as ContractMarkerRow } from "./verify-zDRnw0Rn.mjs";
1
+ import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-DCqtmnSU.mjs";
2
+ import { h as checkSqlDefaultText } from "./validators-FJs8HvFr.mjs";
3
+ import { n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-DYCjJlfN.mjs";
4
+ import { C as SqlPlannerConflict, D as SqlPlannerResult, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, S as SqlPlanTargetDetails, T as SqlPlannerConflictLocation, _ as SqlMigrationRunnerExecuteCallbacks, a as ResolveIdentityValueInput, b as SqlMigrationRunnerResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, f as SqlMigrationPlanOperationTarget, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, i as FieldEventContext, k as StorageTypePlanResult, l as SqlMigrationPlanContractInfo, m as SqlMigrationPlannerPlanOptions, n as CreateSqlMigrationPlanOptions, o as SqlControlAdapterDescriptor, p as SqlMigrationPlanner, r as FieldEvent, s as SqlControlExtensionDescriptor, t as CodecControlHooks, u as SqlMigrationPlanOperation, v as SqlMigrationRunnerExecuteOptions, w as SqlPlannerConflictKind, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-Cq6ImLAB-BRpWMRJe.mjs";
5
+ import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-Be7PDHNx.mjs";
6
+ import { $ as SubjectStorage, $t as sqlOfSlot, A as NoTable, At as isUnfilledSlot, B as SingleOperationCall, Bt as readColumnDefault, C as MigrationPlannerConflict, Ct as detectDestructiveChanges, D as NO_RENAMED_ORIGINS, Dt as fieldOfColumn, E as ModelTable, Et as fieldEventStorage, F as ReportedBody, Ft as planFieldEventCalls, G as SqlPslBuildContext, Gt as resolveColumnRenameAgainst, H as SqlControlTargetDescriptor, Ht as requiredColumnMeta, I as ReportedLiteralDefault, It as planFieldEventOperations, J as SqlSlot, Jt as rowsWithoutValueSummary, K as SqlQuote, Kt as resolveTableRenameAgainst, L as RequiredColumn, Lt as planStatements, M as PlannedStatements, Mt as otherSpaceDeclaring, N as ReadColumnDefault, Nt as partitionCallsByControlPolicy, O as NamespaceRename, Ot as fieldRenameStorageEffect, P as ReadReportedDefault, Pt as partitionIssuesByControlPolicy, Q as StatementPlanningTarget, Qt as sqlDefaultFunctions, R as RequiredColumnMark, Rt as plannerFailure, S as MigrationPlanner, St as createSqlTextSources, T as ModelStorageEffect, Tt as extractCodecControlHooks, U as SqlDefaultFunctionName, Ut as requiredColumnOf, V as SqlControlFamilyInstance, Vt as readReportedDefault, W as SqlDescribedContractSpace, Wt as requiredColumnsOfMigration, X as StatementColumn, Xt as runnerSuccess, Y as SqlTextSources, Yt as runnerFailure, Z as StatementOwnership, Zt as slotSource, _ as INIT_ADDITIVE_POLICY, _t as contractNamespaceToSchemaIR, a as ColumnRename, an as unmatchedColumnRename, at as TableRenameByHand, b as MigrationPlan, bt as convertedColumnOf, c as ContractColumns, ct as TargetRefusal, d as ConvertedColumn, dt as appliedStatementsInOrder, en as sqlTypeLookupsOf, et as SuppressionRecord, f as DefaultResolver, ft as assembleAuthoringContributions, g as FieldStorageEffect, gt as contractColumns, h as FieldStatementColumns, ht as columnTakesTemporaryValue, i as ColumnOnOneSide, in as unknownCallNames, it as TableRename, j as PlanFieldEventOperationsOptions, jt as modelRenameStorageEffect, k as NamespaceStatementTarget, kt as fieldStatementColumns, l as ContractToSchemaIROptions, lt as WorkingSchemaOrigins, m as FieldEventCall, mt as checkSqlExpressionText, n as CallSubjects, nn as subjectsOfCalls, nt as TableMove, o as ColumnRenameRequest, on as unmatchedTableRename, ot as TableRenameRequest, p as DefaultResolverColumn, pt as backfillOfDefaultedField, q as SqlQuotingRules, qt as rowsWithoutValueFailure, r as CallWithCompanions, rn as unconvertedFieldOf, rt as TableNameCaseGuardTable, s as ContractColumn, st as TargetMigrationsCapability, t as COLUMN_RENAME_UNMATCHED_CODE, tn as storageNameOfOperation, tt as TABLE_NAME_CASE_CHANGED_CODE, u as ControlPolicySubject, v as MigrationOperationClass, vt as contractToSchemaIR, w as MigrationPlannerResult, wt as detectTableNameCaseChanges, x as MigrationPlanOperation, xt as createMigrationPlan, y as MigrationOperationPolicy, yt as convertedColumnMeta, z as SchemaTables, zt as plannerSuccess } from "./control-0cDzwyu1.mjs";
7
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-BLLXAM9_.mjs";
8
+ import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-DnJBqc_l.mjs";
9
+ import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-VGuTeCGp.mjs";
10
+ import { t as SqlMigration } from "./migration-CXZQR3C_.mjs";
11
+ import { a as temporalCodecPresetWithPrecision, i as sqlTargetTypeConstructors, o as temporalStringAuthoringPresets, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-CGcsowo7.mjs";
12
+ import { a as writeDefaultLiteral, i as writeDataTypeValue, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CAOONlKQ-4m07nb-O.mjs";
13
+ import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as writtenTypeArguments, n as GeneratorCallRefusal, o as IntrospectedTable, p as toEnumMemberName, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-RelubU2E.mjs";
14
+ import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-DzoxPZGd.mjs";
15
+ import { a as timestampNowRuntimeGenerator, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-CF6rAlE5.mjs";
16
+ import { n as parseContractMarkerRow, t as ContractMarkerRow } from "./verify-DHXbuZPB.mjs";
17
17
  export { COLUMN_RENAME_UNMATCHED_CODE, type CallSubjects, type CallWithCompanions, type CodecControlHooks, type ColumnOnOneSide, type ColumnRename, type ColumnRenameRequest, type ColumnTypeOf, type ContractColumn, type ContractColumns, type ContractMarkerRow, type ContractToSchemaIROptions, type ControlPolicySubject, type ConvertedColumn, type CreateSqlMigrationPlanOptions, type DefaultMappingOptions, type DefaultMappingResult, type DefaultResolver, type DefaultResolverColumn, type EnumInfo, type ExecuteRequestLowerer, type FieldEvent, type FieldEventCall, type FieldEventContext, type FieldStatementColumns, type FieldStorageEffect, type GeneratorCallRefusal, type GeneratorCallsResult, INIT_ADDITIVE_POLICY, type InferredRelations, type InferredTypeConstructor, type InferredTypeConstructors, type IntrospectedTable, type Lowerer, SqlMigration as Migration, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type ModelStorageEffect, type ModelTable, NO_RENAMED_ORIGINS, type NamespaceRename, type NamespaceStatementTarget, type NoTable, type PhaseCallText, type PlanFieldEventOperationsOptions, type PlannedStatements, type PslPrinterOptions, type PslTypeCall, type ReadColumnDefault, type ReadReportedDefault, type RelationField, type ReportedBody, type ReportedLiteralDefault, type RequiredColumn, type RequiredColumnMark, type ResolveIdentityValueInput, type ResolvedDomainModel, type ResolvedStorageTable, type SchemaTables, type SingleOperationCall, SqlContractSerializer, SqlContractSerializerBase, type SqlControlAdapter, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDefaultFunctionName, type SqlDescribedContractSpace, type SqlDiffVerdict, type SqlDiffVerdictInput, type SqlEntityHydrationFactory, type SqlMigrationPlan, type SqlMigrationPlanContractInfo, type SqlMigrationPlanOperation, type SqlMigrationPlanOperationStep, type SqlMigrationPlanOperationTarget, type SqlMigrationPlanner, type SqlMigrationPlannerPlanOptions, type SqlMigrationRunner, type SqlMigrationRunnerErrorCode, type SqlMigrationRunnerExecuteCallbacks, type SqlMigrationRunnerExecuteOptions, type SqlMigrationRunnerFailure, type SqlMigrationRunnerResult, type SqlMigrationRunnerSuccessValue, type SqlPlanTargetDetails, type SqlPlannerConflict, type SqlPlannerConflictKind, type SqlPlannerConflictLocation, type SqlPlannerFailureResult, type SqlPlannerResult, type SqlPlannerSuccessResult, type SqlPslBuildContext, type SqlQuote, type SqlQuotingRules, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, SqlSchemaVerifierBase, type SqlSlot, type SqlTextSources, type StatementColumn, type StatementOwnership, type StatementPlanningTarget, type StorageTypePlanResult, type StorageTypeVerdict, type StorageTypeVerdictInput, type SubjectStorage, type SuppressionRecord, TABLE_NAME_CASE_CHANGED_CODE, type TableMove, type TableNameCaseGuardTable, type TableRename, type TableRenameByHand, type TableRenameRequest, type TargetMigrationsCapability, type TargetRefusal, UNBOUND_DOMAIN_NAMESPACE_ID, type VerifySqlSchemaByDiffInput, type WorkingSchemaOrigins, appliedStatementsInOrder, arraysEqual, assembleAuthoringContributions, backfillOfDefaultedField, buildChildRelationField, checkSqlDefaultText, checkSqlExpressionText, classifyDiffSubjectGranularity, classifySqlDiffIssue, columnTakesTemporaryValue, computeSqlDiffVerdict, computeStorageTypeVerdict, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, deriveBackRelationFieldName, deriveRelationFieldName, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, generatorCallsFor, idGeneratorFunctionBindings, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, otherSpaceDeclaring, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveIntrospectedColumnType, resolveStorageTable, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlIntegerArgumentGeneratorFunctions, sqlOfSlot, sqlTargetTypeConstructors, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff, writeDataTypeValue, writeDefaultLiteral, writtenTypeArguments };
package/dist/family.mjs CHANGED
@@ -1,17 +1,17 @@
1
- import { t as resolveStorageTable } from "./resolve-storage-table-DZsfnzeW.mjs";
2
- import { n as checkSqlDefaultText } from "./validators-xXKEHvnw.mjs";
3
- import { c as sqlIntegerArgumentGeneratorFunctions, l as sqlTargetTypeConstructors, t as idGeneratorFunctionBindings } from "./generator-functions-D_qdqBV--BoeJwWsz.mjs";
4
- import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue, s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-BifQBCpu.mjs";
5
- import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-BkFoHhST.mjs";
6
- import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-dq5M4iIh.mjs";
7
- import { $ as unmatchedColumnRename, A as planFieldEventOperations, B as resolveTableRenameAgainst, C as fieldStatementColumns, D as partitionCallsByControlPolicy, E as otherSpaceDeclaring, F as readReportedDefault, G as slotSource, H as rowsWithoutValueSummary, I as requiredColumnMeta, J as sqlTypeLookupsOf, K as sqlDefaultFunctions, L as requiredColumnOf, M as plannerFailure, N as plannerSuccess, O as partitionIssuesByControlPolicy, P as readColumnDefault, Q as unknownCallNames, R as requiredColumnsOfMigration, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerFailure, V as rowsWithoutValueFailure, W as runnerSuccess, X as subjectsOfCalls, Y as storageNameOfOperation, Z as unconvertedFieldOf, _ as createSqlTextSources, a as appliedStatementsInOrder, b as fieldEventStorage, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as unmatchedTableRename, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, j as planStatements, k as planFieldEventCalls, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as assembleAuthoringContributions, q as sqlOfSlot, r as NO_RENAMED_ORIGINS, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractColumns, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveColumnRenameAgainst } from "./control-DnFJf5_F.mjs";
8
- import { t as resolveIntrospectedColumnType } from "./control-adapter-DRlEXxsv.mjs";
9
- import { t as arraysEqual } from "./diff-DZ82XaGR.mjs";
10
- import { t as SqlSchemaVerifierBase } from "./ir-I-xciGUH.mjs";
11
- import { t as SqlMigration } from "./migration-Dy_4Wmiy.mjs";
12
- import { n as temporalCodecPresetWithPrecision, r as temporalStringAuthoringPresets } from "./pack-BifOs83a.mjs";
13
- import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-CsuHOV7E.mjs";
14
- import { a as mapDefault, c as writtenTypeArguments, i as inferredTypeConstructors, n as generatorCallsFor, o as writeDataTypeValue, r as inferColumnTypes, s as writeDefaultLiteral, t as fewestArgumentsCall } from "./psl-build-fwoI6rBO.mjs";
15
- import { a as pluralize, c as toModelName, i as inferRelations, n as deriveBackRelationFieldName, o as toEnumName, r as deriveRelationFieldName, s as toFieldName, t as buildChildRelationField } from "./psl-infer-CaEnF_x3.mjs";
16
- import { i as timestampNowRuntimeGenerator, n as resolveDomainModel, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./runtime-Z3nD7ix1.mjs";
1
+ import { t as resolveStorageTable } from "./resolve-storage-table-BHLQsOza.mjs";
2
+ import { n as checkSqlDefaultText } from "./validators-BwA7ttZM.mjs";
3
+ import { c as sqlIntegerArgumentGeneratorFunctions, l as sqlTargetTypeConstructors, t as idGeneratorFunctionBindings } from "./generator-functions-D_qdqBV--B2Q0WOf5.mjs";
4
+ import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue, s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-DMjIubOr.mjs";
5
+ import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs";
6
+ import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-DhKm6hB3.mjs";
7
+ import { $ as unmatchedColumnRename, A as planFieldEventOperations, B as resolveTableRenameAgainst, C as fieldStatementColumns, D as partitionCallsByControlPolicy, E as otherSpaceDeclaring, F as readReportedDefault, G as slotSource, H as rowsWithoutValueSummary, I as requiredColumnMeta, J as sqlTypeLookupsOf, K as sqlDefaultFunctions, L as requiredColumnOf, M as plannerFailure, N as plannerSuccess, O as partitionIssuesByControlPolicy, P as readColumnDefault, Q as unknownCallNames, R as requiredColumnsOfMigration, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerFailure, V as rowsWithoutValueFailure, W as runnerSuccess, X as subjectsOfCalls, Y as storageNameOfOperation, Z as unconvertedFieldOf, _ as createSqlTextSources, a as appliedStatementsInOrder, b as fieldEventStorage, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as unmatchedTableRename, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, j as planStatements, k as planFieldEventCalls, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as assembleAuthoringContributions, q as sqlOfSlot, r as NO_RENAMED_ORIGINS, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractColumns, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveColumnRenameAgainst } from "./control-ba0_VwlQ.mjs";
8
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-SlQkTEwT.mjs";
9
+ import { t as arraysEqual } from "./diff-C1rFOhek.mjs";
10
+ import { t as SqlSchemaVerifierBase } from "./ir-DzsUDO8e.mjs";
11
+ import { t as SqlMigration } from "./migration-BJQjkqFz.mjs";
12
+ import { n as temporalCodecPresetWithPrecision, r as temporalStringAuthoringPresets } from "./pack-vaUY9-7E.mjs";
13
+ import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-D1CTmC3a.mjs";
14
+ import { a as mapDefault, c as writtenTypeArguments, i as inferredTypeConstructors, n as generatorCallsFor, o as writeDataTypeValue, r as inferColumnTypes, s as writeDefaultLiteral, t as fewestArgumentsCall } from "./psl-build-DFBG6vhz.mjs";
15
+ import { a as pluralize, c as toModelName, i as inferRelations, n as deriveBackRelationFieldName, o as toEnumName, r as deriveRelationFieldName, s as toFieldName, t as buildChildRelationField } from "./psl-infer--g4i84Go.mjs";
16
+ import { i as timestampNowRuntimeGenerator, n as resolveDomainModel, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./runtime-6tH1yOxK.mjs";
17
17
  export { COLUMN_RENAME_UNMATCHED_CODE, INIT_ADDITIVE_POLICY, SqlMigration as Migration, NO_RENAMED_ORIGINS, SqlContractSerializer, SqlContractSerializerBase, SqlSchemaVerifierBase, TABLE_NAME_CASE_CHANGED_CODE, UNBOUND_DOMAIN_NAMESPACE_ID, appliedStatementsInOrder, arraysEqual, assembleAuthoringContributions, backfillOfDefaultedField, buildChildRelationField, checkSqlDefaultText, checkSqlExpressionText, classifyDiffSubjectGranularity, classifySqlDiffIssue, columnTakesTemporaryValue, computeSqlDiffVerdict, computeStorageTypeVerdict, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, deriveBackRelationFieldName, deriveRelationFieldName, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, generatorCallsFor, idGeneratorFunctionBindings, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, otherSpaceDeclaring, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveIntrospectedColumnType, resolveStorageTable, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlIntegerArgumentGeneratorFunctions, sqlOfSlot, sqlTargetTypeConstructors, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff, writeDataTypeValue, writeDefaultLiteral, writtenTypeArguments };
@@ -1,3 +1,3 @@
1
- import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-D0fhkvnJ.mjs";
2
- import { t as resolveIntrospectedColumnType } from "./control-adapter-El4czoUh.mjs";
1
+ import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-DYCjJlfN.mjs";
2
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-BLLXAM9_.mjs";
3
3
  export { type ExecuteRequestLowerer, type Lowerer, type SqlControlAdapter, type SqlControlAdapterDescriptor, resolveIntrospectedColumnType };
@@ -1,2 +1,2 @@
1
- import { t as resolveIntrospectedColumnType } from "./control-adapter-DRlEXxsv.mjs";
1
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-SlQkTEwT.mjs";
2
2
  export { resolveIntrospectedColumnType };
@@ -1,5 +1,5 @@
1
- import { h as checkSqlDefaultText } from "./validators-BDuMio1F.mjs";
2
- import { C as SqlPlannerConflict, D as SqlPlannerResult, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, S as SqlPlanTargetDetails, T as SqlPlannerConflictLocation, _ as SqlMigrationRunnerExecuteCallbacks, a as ResolveIdentityValueInput, b as SqlMigrationRunnerResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, f as SqlMigrationPlanOperationTarget, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, i as FieldEventContext, k as StorageTypePlanResult, l as SqlMigrationPlanContractInfo, m as SqlMigrationPlannerPlanOptions, n as CreateSqlMigrationPlanOptions, o as SqlControlAdapterDescriptor, p as SqlMigrationPlanner, r as FieldEvent, s as SqlControlExtensionDescriptor, t as CodecControlHooks, u as SqlMigrationPlanOperation, v as SqlMigrationRunnerExecuteOptions, w as SqlPlannerConflictKind, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-Cq6ImLAB-BqOfLAYG.mjs";
3
- import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-0ZupRJKb.mjs";
4
- import { $ as SubjectStorage, $t as sqlOfSlot, A as NoTable, At as isUnfilledSlot, B as SingleOperationCall, Bt as readColumnDefault, C as MigrationPlannerConflict, Ct as detectDestructiveChanges, D as NO_RENAMED_ORIGINS, Dt as fieldOfColumn, E as ModelTable, Et as fieldEventStorage, F as ReportedBody, Ft as planFieldEventCalls, G as SqlPslBuildContext, Gt as resolveColumnRenameAgainst, H as SqlControlTargetDescriptor, Ht as requiredColumnMeta, I as ReportedLiteralDefault, It as planFieldEventOperations, J as SqlSlot, Jt as rowsWithoutValueSummary, K as SqlQuote, Kt as resolveTableRenameAgainst, L as RequiredColumn, Lt as planStatements, M as PlannedStatements, Mt as otherSpaceDeclaring, N as ReadColumnDefault, Nt as partitionCallsByControlPolicy, O as NamespaceRename, Ot as fieldRenameStorageEffect, P as ReadReportedDefault, Pt as partitionIssuesByControlPolicy, Q as StatementPlanningTarget, Qt as sqlDefaultFunctions, R as RequiredColumnMark, Rt as plannerFailure, S as MigrationPlanner, St as createSqlTextSources, T as ModelStorageEffect, Tt as extractCodecControlHooks, U as SqlDefaultFunctionName, Ut as requiredColumnOf, V as SqlControlFamilyInstance, Vt as readReportedDefault, W as SqlDescribedContractSpace, Wt as requiredColumnsOfMigration, X as StatementColumn, Xt as runnerSuccess, Y as SqlTextSources, Yt as runnerFailure, Z as StatementOwnership, Zt as slotSource, _ as INIT_ADDITIVE_POLICY, _t as contractNamespaceToSchemaIR, a as ColumnRename, an as unmatchedColumnRename, at as TableRenameByHand, b as MigrationPlan, bt as convertedColumnOf, c as ContractColumns, ct as TargetRefusal, d as ConvertedColumn, dt as appliedStatementsInOrder, en as sqlTypeLookupsOf, et as SuppressionRecord, f as DefaultResolver, ft as assembleAuthoringContributions, g as FieldStorageEffect, gt as contractColumns, h as FieldStatementColumns, ht as columnTakesTemporaryValue, i as ColumnOnOneSide, in as unknownCallNames, it as TableRename, j as PlanFieldEventOperationsOptions, jt as modelRenameStorageEffect, k as NamespaceStatementTarget, kt as fieldStatementColumns, l as ContractToSchemaIROptions, lt as WorkingSchemaOrigins, m as FieldEventCall, mt as checkSqlExpressionText, n as CallSubjects, nn as subjectsOfCalls, nt as TableMove, o as ColumnRenameRequest, on as unmatchedTableRename, ot as TableRenameRequest, p as DefaultResolverColumn, pt as backfillOfDefaultedField, q as SqlQuotingRules, qt as rowsWithoutValueFailure, r as CallWithCompanions, rn as unconvertedFieldOf, rt as TableNameCaseGuardTable, s as ContractColumn, st as TargetMigrationsCapability, t as COLUMN_RENAME_UNMATCHED_CODE, tn as storageNameOfOperation, tt as TABLE_NAME_CASE_CHANGED_CODE, u as ControlPolicySubject, ut as _default, v as MigrationOperationClass, vt as contractToSchemaIR, w as MigrationPlannerResult, wt as detectTableNameCaseChanges, x as MigrationPlanOperation, xt as createMigrationPlan, y as MigrationOperationPolicy, yt as convertedColumnMeta, z as SchemaTables, zt as plannerSuccess } from "./control-BW6gbqvb.mjs";
1
+ import { h as checkSqlDefaultText } from "./validators-FJs8HvFr.mjs";
2
+ import { C as SqlPlannerConflict, D as SqlPlannerResult, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, S as SqlPlanTargetDetails, T as SqlPlannerConflictLocation, _ as SqlMigrationRunnerExecuteCallbacks, a as ResolveIdentityValueInput, b as SqlMigrationRunnerResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, f as SqlMigrationPlanOperationTarget, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, i as FieldEventContext, k as StorageTypePlanResult, l as SqlMigrationPlanContractInfo, m as SqlMigrationPlannerPlanOptions, n as CreateSqlMigrationPlanOptions, o as SqlControlAdapterDescriptor, p as SqlMigrationPlanner, r as FieldEvent, s as SqlControlExtensionDescriptor, t as CodecControlHooks, u as SqlMigrationPlanOperation, v as SqlMigrationRunnerExecuteOptions, w as SqlPlannerConflictKind, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-Cq6ImLAB-BRpWMRJe.mjs";
3
+ import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-Be7PDHNx.mjs";
4
+ import { $ as SubjectStorage, $t as sqlOfSlot, A as NoTable, At as isUnfilledSlot, B as SingleOperationCall, Bt as readColumnDefault, C as MigrationPlannerConflict, Ct as detectDestructiveChanges, D as NO_RENAMED_ORIGINS, Dt as fieldOfColumn, E as ModelTable, Et as fieldEventStorage, F as ReportedBody, Ft as planFieldEventCalls, G as SqlPslBuildContext, Gt as resolveColumnRenameAgainst, H as SqlControlTargetDescriptor, Ht as requiredColumnMeta, I as ReportedLiteralDefault, It as planFieldEventOperations, J as SqlSlot, Jt as rowsWithoutValueSummary, K as SqlQuote, Kt as resolveTableRenameAgainst, L as RequiredColumn, Lt as planStatements, M as PlannedStatements, Mt as otherSpaceDeclaring, N as ReadColumnDefault, Nt as partitionCallsByControlPolicy, O as NamespaceRename, Ot as fieldRenameStorageEffect, P as ReadReportedDefault, Pt as partitionIssuesByControlPolicy, Q as StatementPlanningTarget, Qt as sqlDefaultFunctions, R as RequiredColumnMark, Rt as plannerFailure, S as MigrationPlanner, St as createSqlTextSources, T as ModelStorageEffect, Tt as extractCodecControlHooks, U as SqlDefaultFunctionName, Ut as requiredColumnOf, V as SqlControlFamilyInstance, Vt as readReportedDefault, W as SqlDescribedContractSpace, Wt as requiredColumnsOfMigration, X as StatementColumn, Xt as runnerSuccess, Y as SqlTextSources, Yt as runnerFailure, Z as StatementOwnership, Zt as slotSource, _ as INIT_ADDITIVE_POLICY, _t as contractNamespaceToSchemaIR, a as ColumnRename, an as unmatchedColumnRename, at as TableRenameByHand, b as MigrationPlan, bt as convertedColumnOf, c as ContractColumns, ct as TargetRefusal, d as ConvertedColumn, dt as appliedStatementsInOrder, en as sqlTypeLookupsOf, et as SuppressionRecord, f as DefaultResolver, ft as assembleAuthoringContributions, g as FieldStorageEffect, gt as contractColumns, h as FieldStatementColumns, ht as columnTakesTemporaryValue, i as ColumnOnOneSide, in as unknownCallNames, it as TableRename, j as PlanFieldEventOperationsOptions, jt as modelRenameStorageEffect, k as NamespaceStatementTarget, kt as fieldStatementColumns, l as ContractToSchemaIROptions, lt as WorkingSchemaOrigins, m as FieldEventCall, mt as checkSqlExpressionText, n as CallSubjects, nn as subjectsOfCalls, nt as TableMove, o as ColumnRenameRequest, on as unmatchedTableRename, ot as TableRenameRequest, p as DefaultResolverColumn, pt as backfillOfDefaultedField, q as SqlQuotingRules, qt as rowsWithoutValueFailure, r as CallWithCompanions, rn as unconvertedFieldOf, rt as TableNameCaseGuardTable, s as ContractColumn, st as TargetMigrationsCapability, t as COLUMN_RENAME_UNMATCHED_CODE, tn as storageNameOfOperation, tt as TABLE_NAME_CASE_CHANGED_CODE, u as ControlPolicySubject, ut as _default, v as MigrationOperationClass, vt as contractToSchemaIR, w as MigrationPlannerResult, wt as detectTableNameCaseChanges, x as MigrationPlanOperation, xt as createMigrationPlan, y as MigrationOperationPolicy, yt as convertedColumnMeta, z as SchemaTables, zt as plannerSuccess } from "./control-0cDzwyu1.mjs";
5
5
  export { COLUMN_RENAME_UNMATCHED_CODE, type CallSubjects, type CallWithCompanions, type CodecControlHooks, type ColumnOnOneSide, type ColumnRename, type ColumnRenameRequest, type ContractColumn, type ContractColumns, type ContractToSchemaIROptions, type ControlPolicySubject, type ConvertedColumn, type CreateSqlMigrationPlanOptions, type DefaultResolver, type DefaultResolverColumn, type FieldEvent, type FieldEventCall, type FieldEventContext, type FieldStatementColumns, type FieldStorageEffect, INIT_ADDITIVE_POLICY, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type ModelStorageEffect, type ModelTable, NO_RENAMED_ORIGINS, type NamespaceRename, type NamespaceStatementTarget, type NoTable, type PlanFieldEventOperationsOptions, type PlannedStatements, type ReadColumnDefault, type ReadReportedDefault, type ReportedBody, type ReportedLiteralDefault, type RequiredColumn, type RequiredColumnMark, type ResolveIdentityValueInput, type SchemaTables, type SingleOperationCall, type SqlControlAdapterDescriptor, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDefaultFunctionName, type SqlDescribedContractSpace, type SqlMigrationPlan, type SqlMigrationPlanContractInfo, type SqlMigrationPlanOperation, type SqlMigrationPlanOperationStep, type SqlMigrationPlanOperationTarget, type SqlMigrationPlanner, type SqlMigrationPlannerPlanOptions, type SqlMigrationRunner, type SqlMigrationRunnerErrorCode, type SqlMigrationRunnerExecuteCallbacks, type SqlMigrationRunnerExecuteOptions, type SqlMigrationRunnerFailure, type SqlMigrationRunnerResult, type SqlMigrationRunnerSuccessValue, type SqlPlanTargetDetails, type SqlPlannerConflict, type SqlPlannerConflictKind, type SqlPlannerConflictLocation, type SqlPlannerFailureResult, type SqlPlannerResult, type SqlPlannerSuccessResult, type SqlPslBuildContext, type SqlQuote, type SqlQuotingRules, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, type SqlSlot, type SqlTextSources, type StatementColumn, type StatementOwnership, type StatementPlanningTarget, type StorageTypePlanResult, type SubjectStorage, type SuppressionRecord, TABLE_NAME_CASE_CHANGED_CODE, type TableMove, type TableNameCaseGuardTable, type TableRename, type TableRenameByHand, type TableRenameRequest, type TargetMigrationsCapability, type TargetRefusal, type WorkingSchemaOrigins, appliedStatementsInOrder, assembleAuthoringContributions, backfillOfDefaultedField, checkSqlDefaultText, checkSqlExpressionText, columnTakesTemporaryValue, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, _default as default, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, isUnfilledSlot, modelRenameStorageEffect, otherSpaceDeclaring, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename };
@@ -1,4 +1,4 @@
1
- import { n as checkSqlDefaultText } from "./validators-xXKEHvnw.mjs";
2
- import { s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-BifQBCpu.mjs";
3
- import { $ as unmatchedColumnRename, A as planFieldEventOperations, B as resolveTableRenameAgainst, C as fieldStatementColumns, D as partitionCallsByControlPolicy, E as otherSpaceDeclaring, F as readReportedDefault, G as slotSource, H as rowsWithoutValueSummary, I as requiredColumnMeta, J as sqlTypeLookupsOf, K as sqlDefaultFunctions, L as requiredColumnOf, M as plannerFailure, N as plannerSuccess, O as partitionIssuesByControlPolicy, P as readColumnDefault, Q as unknownCallNames, R as requiredColumnsOfMigration, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerFailure, V as rowsWithoutValueFailure, W as runnerSuccess, X as subjectsOfCalls, Y as storageNameOfOperation, Z as unconvertedFieldOf, _ as createSqlTextSources, a as appliedStatementsInOrder, b as fieldEventStorage, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as unmatchedTableRename, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, j as planStatements, k as planFieldEventCalls, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as assembleAuthoringContributions, p as control_default, q as sqlOfSlot, r as NO_RENAMED_ORIGINS, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractColumns, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveColumnRenameAgainst } from "./control-DnFJf5_F.mjs";
1
+ import { n as checkSqlDefaultText } from "./validators-BwA7ttZM.mjs";
2
+ import { s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-DMjIubOr.mjs";
3
+ import { $ as unmatchedColumnRename, A as planFieldEventOperations, B as resolveTableRenameAgainst, C as fieldStatementColumns, D as partitionCallsByControlPolicy, E as otherSpaceDeclaring, F as readReportedDefault, G as slotSource, H as rowsWithoutValueSummary, I as requiredColumnMeta, J as sqlTypeLookupsOf, K as sqlDefaultFunctions, L as requiredColumnOf, M as plannerFailure, N as plannerSuccess, O as partitionIssuesByControlPolicy, P as readColumnDefault, Q as unknownCallNames, R as requiredColumnsOfMigration, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerFailure, V as rowsWithoutValueFailure, W as runnerSuccess, X as subjectsOfCalls, Y as storageNameOfOperation, Z as unconvertedFieldOf, _ as createSqlTextSources, a as appliedStatementsInOrder, b as fieldEventStorage, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as unmatchedTableRename, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, j as planStatements, k as planFieldEventCalls, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as assembleAuthoringContributions, p as control_default, q as sqlOfSlot, r as NO_RENAMED_ORIGINS, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractColumns, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveColumnRenameAgainst } from "./control-ba0_VwlQ.mjs";
4
4
  export { COLUMN_RENAME_UNMATCHED_CODE, INIT_ADDITIVE_POLICY, NO_RENAMED_ORIGINS, TABLE_NAME_CASE_CHANGED_CODE, appliedStatementsInOrder, assembleAuthoringContributions, backfillOfDefaultedField, checkSqlDefaultText, checkSqlExpressionText, columnTakesTemporaryValue, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, control_default as default, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, isUnfilledSlot, modelRenameStorageEffect, otherSpaceDeclaring, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename };
@@ -1,2 +1,2 @@
1
- import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-D2PJJkGv.mjs";
1
+ import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-DnJBqc_l.mjs";
2
2
  export { type SqlDiffVerdict, type SqlDiffVerdictInput, type StorageTypeVerdict, type StorageTypeVerdictInput, type VerifySqlSchemaByDiffInput, arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
@@ -1,3 +1,3 @@
1
- import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue } from "./schema-verify-C3wbdviw-BifQBCpu.mjs";
2
- import { t as arraysEqual } from "./diff-DZ82XaGR.mjs";
1
+ import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue } from "./schema-verify-C3wbdviw-DMjIubOr.mjs";
2
+ import { t as arraysEqual } from "./diff-C1rFOhek.mjs";
3
3
  export { arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
@@ -1,2 +1,2 @@
1
- import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-BjC1VOuq.mjs";
1
+ import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-VGuTeCGp.mjs";
2
2
  export { SqlContractSerializer, SqlContractSerializerBase, type SqlEntityHydrationFactory, SqlSchemaVerifierBase };
@@ -1,3 +1,3 @@
1
- import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-BkFoHhST.mjs";
2
- import { t as SqlSchemaVerifierBase } from "./ir-I-xciGUH.mjs";
1
+ import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs";
2
+ import { t as SqlSchemaVerifierBase } from "./ir-DzsUDO8e.mjs";
3
3
  export { SqlContractSerializer, SqlContractSerializerBase, SqlSchemaVerifierBase };
@@ -1,2 +1,2 @@
1
- import { t as SqlMigration } from "./migration-DWLbMM34.mjs";
1
+ import { t as SqlMigration } from "./migration-CXZQR3C_.mjs";
2
2
  export { SqlMigration as Migration };
@@ -1,2 +1,2 @@
1
- import { t as SqlMigration } from "./migration-Dy_4Wmiy.mjs";
1
+ import { t as SqlMigration } from "./migration-BJQjkqFz.mjs";
2
2
  export { SqlMigration as Migration };
@@ -1,2 +1,2 @@
1
- import { a as temporalCodecPresetWithPrecision, i as sqlTargetTypeConstructors, n as sqlFamilyPack, o as temporalStringAuthoringPresets, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-CdaZMfI_.mjs";
1
+ import { a as temporalCodecPresetWithPrecision, i as sqlTargetTypeConstructors, n as sqlFamilyPack, o as temporalStringAuthoringPresets, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-CGcsowo7.mjs";
2
2
  export { sqlFamilyPack as default, idGeneratorFunctionBindings, sqlIntegerArgumentGeneratorFunctions, sqlTargetTypeConstructors, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets };
@@ -1,3 +1,3 @@
1
- import { c as sqlIntegerArgumentGeneratorFunctions, l as sqlTargetTypeConstructors, t as idGeneratorFunctionBindings } from "./generator-functions-D_qdqBV--BoeJwWsz.mjs";
2
- import { n as temporalCodecPresetWithPrecision, r as temporalStringAuthoringPresets, t as sqlFamilyPack } from "./pack-BifOs83a.mjs";
1
+ import { c as sqlIntegerArgumentGeneratorFunctions, l as sqlTargetTypeConstructors, t as idGeneratorFunctionBindings } from "./generator-functions-D_qdqBV--B2Q0WOf5.mjs";
2
+ import { n as temporalCodecPresetWithPrecision, r as temporalStringAuthoringPresets, t as sqlFamilyPack } from "./pack-vaUY9-7E.mjs";
3
3
  export { sqlFamilyPack as default, idGeneratorFunctionBindings, sqlIntegerArgumentGeneratorFunctions, sqlTargetTypeConstructors, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets };
@@ -1,3 +1,3 @@
1
- import { a as writeDefaultLiteral, i as writeDataTypeValue, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CAOONlKQ-v7GTIkjE.mjs";
2
- import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as writtenTypeArguments, n as GeneratorCallRefusal, o as IntrospectedTable, p as toEnumMemberName, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-BYXXz2XD.mjs";
1
+ import { a as writeDefaultLiteral, i as writeDataTypeValue, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CAOONlKQ-4m07nb-O.mjs";
2
+ import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as writtenTypeArguments, n as GeneratorCallRefusal, o as IntrospectedTable, p as toEnumMemberName, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-RelubU2E.mjs";
3
3
  export { type ColumnTypeOf, type DefaultMappingOptions, type DefaultMappingResult, type GeneratorCallRefusal, type GeneratorCallsResult, type InferredTypeConstructor, type InferredTypeConstructors, type IntrospectedTable, type PhaseCallText, type PslTypeCall, fewestArgumentsCall, generatorCallsFor, inferColumnTypes, inferredTypeConstructors, mapDefault, toEnumMemberName, writeDataTypeValue, writeDefaultLiteral, writtenTypeArguments };
@@ -1,3 +1,3 @@
1
- import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-CsuHOV7E.mjs";
2
- import { a as mapDefault, c as writtenTypeArguments, i as inferredTypeConstructors, n as generatorCallsFor, o as writeDataTypeValue, r as inferColumnTypes, s as writeDefaultLiteral, t as fewestArgumentsCall } from "./psl-build-fwoI6rBO.mjs";
1
+ import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-D1CTmC3a.mjs";
2
+ import { a as mapDefault, c as writtenTypeArguments, i as inferredTypeConstructors, n as generatorCallsFor, o as writeDataTypeValue, r as inferColumnTypes, s as writeDefaultLiteral, t as fewestArgumentsCall } from "./psl-build-DFBG6vhz.mjs";
3
3
  export { fewestArgumentsCall, generatorCallsFor, inferColumnTypes, inferredTypeConstructors, mapDefault, toEnumMemberName, writeDataTypeValue, writeDefaultLiteral, writtenTypeArguments };
@@ -1,2 +1,2 @@
1
- import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-CpTRaF5I.mjs";
1
+ import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-DzoxPZGd.mjs";
2
2
  export { type EnumInfo, type InferredRelations, type PslPrinterOptions, type RelationField, buildChildRelationField, deriveBackRelationFieldName, deriveRelationFieldName, inferRelations, pluralize, toEnumName, toFieldName, toModelName };
@@ -1,2 +1,2 @@
1
- import { a as pluralize, c as toModelName, i as inferRelations, n as deriveBackRelationFieldName, o as toEnumName, r as deriveRelationFieldName, s as toFieldName, t as buildChildRelationField } from "./psl-infer-CaEnF_x3.mjs";
1
+ import { a as pluralize, c as toModelName, i as inferRelations, n as deriveBackRelationFieldName, o as toEnumName, r as deriveRelationFieldName, s as toFieldName, t as buildChildRelationField } from "./psl-infer--g4i84Go.mjs";
2
2
  export { buildChildRelationField, deriveBackRelationFieldName, deriveRelationFieldName, inferRelations, pluralize, toEnumName, toFieldName, toModelName };
@@ -1,3 +1,3 @@
1
- import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-CxmU_MPu.mjs";
2
- import { a as timestampNowRuntimeGenerator, i as sqlRuntimeFamilyDescriptor, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-Bmndf-fm.mjs";
1
+ import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-DCqtmnSU.mjs";
2
+ import { a as timestampNowRuntimeGenerator, i as sqlRuntimeFamilyDescriptor, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-CF6rAlE5.mjs";
3
3
  export { type ResolvedDomainModel, type ResolvedStorageTable, UNBOUND_DOMAIN_NAMESPACE_ID, sqlRuntimeFamilyDescriptor as default, resolveDomainModel, resolveStorageTable, timestampNowRuntimeGenerator };
@@ -1,3 +1,3 @@
1
- import { t as resolveStorageTable } from "./resolve-storage-table-DZsfnzeW.mjs";
2
- import { i as timestampNowRuntimeGenerator, n as resolveDomainModel, r as runtime_default, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./runtime-Z3nD7ix1.mjs";
1
+ import { t as resolveStorageTable } from "./resolve-storage-table-BHLQsOza.mjs";
2
+ import { i as timestampNowRuntimeGenerator, n as resolveDomainModel, r as runtime_default, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./runtime-6tH1yOxK.mjs";
3
3
  export { UNBOUND_DOMAIN_NAMESPACE_ID, runtime_default as default, resolveDomainModel, resolveStorageTable, timestampNowRuntimeGenerator };
@@ -1,2 +1,2 @@
1
- import { n as parseContractMarkerRow, t as ContractMarkerRow } from "./verify-zDRnw0Rn.mjs";
1
+ import { n as parseContractMarkerRow, t as ContractMarkerRow } from "./verify-DHXbuZPB.mjs";
2
2
  export { type ContractMarkerRow, parseContractMarkerRow };
@@ -1,2 +1,2 @@
1
- import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-dq5M4iIh.mjs";
1
+ import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-DhKm6hB3.mjs";
2
2
  export { parseContractMarkerRow };
@@ -1,11 +1,11 @@
1
- import { a as ForeignKeyReferenceInput, n as ForeignKeyIndex, o as ReferentialAction, r as ForeignKeyInput } from "./foreign-key-qkDFfG8t-Fyrzd0VI.mjs";
2
- import { i as UniqueConstraintInput, n as PrimaryKeyInput } from "./unique-constraint-M5TlQnJQ-BiIHJ85k.mjs";
3
- import { r as IndexInput } from "./sql-index-ByAAE7K8-BpbPBWPD.mjs";
4
- import { a as IndexTypeRegistry } from "./index-types-H1O43iYT-ONvDbszL.mjs";
5
- import { _ as SqlIndexIR } from "./types-CuCxAQat-BBGUHEku.mjs";
6
- import "./types-BUggiEEH.mjs";
1
+ import { a as ForeignKeyReferenceInput, n as ForeignKeyIndex, o as ReferentialAction, r as ForeignKeyInput } from "./foreign-key-qkDFfG8t-TaK_GYWR.mjs";
2
+ import { i as UniqueConstraintInput, n as PrimaryKeyInput } from "./unique-constraint-M5TlQnJQ-qX-maNUV.mjs";
3
+ import { r as IndexInput } from "./sql-index-ByAAE7K8-Dqtn_vUL.mjs";
4
+ import { a as IndexTypeRegistry } from "./index-types-H1O43iYT-BD0VwPqV.mjs";
5
+ import { _ as SqlIndexIR } from "./types-CuCxAQat-Dz8P4xyt.mjs";
6
+ import "./types-ljUNyiWe.mjs";
7
7
  import { AuthoringWarningSink } from "@prisma/orm-framework/components/authoring";
8
- //#region ../../../2-sql/1-core/contract/dist/foreign-key-materialization.d.mts
8
+ //#region ../../../2-sql-family/1-core/contract/dist/foreign-key-materialization.d.mts
9
9
  //#region src/index-equivalence.d.ts
10
10
  type Keyed = {
11
11
  readonly columns: readonly string[];
@@ -95,4 +95,4 @@ declare function defaultForeignKeyIndex(tableName: string, columns: readonly str
95
95
  }): ForeignKeyIndex | undefined;
96
96
  //#endregion
97
97
  export { declaredBackingObjectName as a, derivedBackingIndexIsRedundant as c, MaterializedTableConstraints as i, leadingBackingObjectName as l, ForeignKeyAuthoringInput as n, declaredIndexesServeForeignKey as o, IndexCandidate as r, defaultForeignKeyIndex as s, FOREIGN_KEY_INDEX_UNRESOLVED as t, materializeForeignKeysAndIndexes as u };
98
- //# sourceMappingURL=foreign-key-materialization-CgW18KP-.d.mts.map
98
+ //# sourceMappingURL=foreign-key-materialization-48P2V8on.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foreign-key-materialization-48P2V8on.d.mts","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/foreign-key-materialization.d.mts"],"mappings":";;;;;;;;;KAOK;WACM;;UAED,WAAW,QAAQ,gBAAgB,OAAO,oBAAoB;WAC7D,kBAAkB;WAClB,SAAS,OAAO,WAAW;WAC3B,kBAAkB;WAClB,YAAY;;;;;iBAKN,+BAA+B,QAAQ,gBAAgB,OAAO,oBAAoB,OAAO,4BAA4B,OAAO,WAAW,QAAQ,SAAS;KACpK,WAAW;WACL;;;;;iBAKM,yBAAyB,QAAQ,gBAAgB,UAAU,oBAAoB,UAAU,4BAA4B,OAAO,WAAW,QAAQ,SAAS;WAC9J,SAAS,OAAO;;;;;UAKjB;WACC,OAAO;;WAEP;;;;;cAKG;;;;UAIJ;WACC,QAAQ;WACR,QAAQ;WACR;WACA,WAAW;WACX,WAAW;WACX;WACA;;UAED;WACC,sBAAsB;WACtB,kBAAkB;;;;;iBAKZ,iCAAiC;WACvC;WACA,sBAAsB;WACtB,0BAA0B;WAC1B,kBAAkB;WAClB,YAAY;WACZ,UAAU;WACV,YAAY,KAAK;IACxB;;;;iBAIa,+BAA+B,4BAA4B;WACjE,kBAAkB;WAClB,kBAAkB;WAClB,YAAY;;;;;iBAKN,0BAA0B,4BAA4B;WAC5D,kBAAkB;WAClB,kBAAkB;WAClB,YAAY;;;;;iBAKN,uBAAuB,mBAAmB,4BAA4B;WAC5E,kBAAkB;WAClB,kBAAkB;WAClB,YAAY;IACnB"}
@@ -1,12 +1,12 @@
1
- import { t as contractError } from "./contract-errors-BCN6RVI5-5IHBF_lg.mjs";
2
- import { a as rendersIndexBody, t as accessMethodOf } from "./index-types-pC_5vADQ-TTUXAfmL.mjs";
3
- import { g as truncateToWireNamePrefixBytes, l as nameOf, o as defaultIndexName } from "./naming-bM5qm5PY-DdginUhA.mjs";
4
- import { r as lowerAuthoredIndex } from "./index-naming-BOcJT1B3-18gQUduD.mjs";
5
- import { i as leadingBackingObjectName, n as identicalIndexes, o as servingKey, r as indexNodeOf, s as startsWithColumns, t as derivedBackingIndexIsRedundant } from "./index-equivalence-DswCiq5l-D5VK0qTy.mjs";
1
+ import { t as contractError } from "./contract-errors-BCN6RVI5-DoH6b_KZ.mjs";
2
+ import { a as rendersIndexBody, t as accessMethodOf } from "./index-types-pC_5vADQ-BOOBi14R.mjs";
3
+ import { g as truncateToWireNamePrefixBytes, l as nameOf, o as defaultIndexName } from "./naming-bM5qm5PY-jOg3JFMb.mjs";
4
+ import { r as lowerAuthoredIndex } from "./index-naming-BOcJT1B3-mG8Fd6KN.mjs";
5
+ import { i as leadingBackingObjectName, n as identicalIndexes, o as servingKey, r as indexNodeOf, s as startsWithColumns, t as derivedBackingIndexIsRedundant } from "./index-equivalence-DswCiq5l-CGsyPP9B.mjs";
6
6
  import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
7
7
  import { InternalError } from "@prisma/orm-framework/utils/internal-error";
8
8
  import { asNamespaceId } from "@prisma/orm-framework/contract/types";
9
- //#region ../../../2-sql/1-core/contract/dist/foreign-key-materialization.mjs
9
+ //#region ../../../2-sql-family/1-core/contract/dist/foreign-key-materialization.mjs
10
10
  const IDENTICAL_DESCRIPTION = "the planner sees them as the same index. The contract keeps both because each is named.";
11
11
  const REDUNDANT_DESCRIPTION = "which already serves the same lookups.";
12
12
  /**
@@ -284,4 +284,4 @@ function foreignKeyIndexOf(backing) {
284
284
  //#endregion
285
285
  export { materializeForeignKeysAndIndexes as a, defaultForeignKeyIndex as i, declaredBackingObjectName as n, declaredIndexesServeForeignKey as r, FOREIGN_KEY_INDEX_UNRESOLVED as t };
286
286
 
287
- //# sourceMappingURL=foreign-key-materialization-BPQqd0qF.mjs.map
287
+ //# sourceMappingURL=foreign-key-materialization-BM59w_Xg.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foreign-key-materialization-BM59w_Xg.mjs","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/foreign-key-materialization.mjs"],"sourcesContent":["import { t as contractError } from \"./contract-errors-BCN6RVI5.mjs\";\nimport { a as rendersIndexBody, t as accessMethodOf } from \"./index-types-pC_5vADQ.mjs\";\nimport { r as lowerAuthoredIndex } from \"./index-naming-BOcJT1B3.mjs\";\nimport { i as leadingBackingObjectName, n as identicalIndexes, o as servingKey, r as indexNodeOf, s as startsWithColumns, t as derivedBackingIndexIsRedundant } from \"./index-equivalence-DswCiq5l.mjs\";\nimport { defaultIndexName, nameOf, truncateToWireNamePrefixBytes } from \"@internal/sql-schema-ir/naming\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { asNamespaceId } from \"@internal/contract/types\";\n//#region src/index-deduplication.ts\nconst IDENTICAL_DESCRIPTION = \"the planner sees them as the same index. The contract keeps both because each is named.\";\nconst REDUNDANT_DESCRIPTION = \"which already serves the same lookups.\";\n/**\n* Removes the indexes of one table that duplicate another. Two indexes are identical when the planner sees them as the same index apart from their names (see {@link identicalIndexes}); of an identical group the pass keeps the indexes named by the user, or the first one when none is. A plain non-unique index whose columns are those of the primary key, a unique constraint or a unique index without a predicate is redundant (see {@link servingKey}), and the pass removes it unless it is named by the user. Every index named by the user survives; the pass warns about each one that duplicates another, and refuses two identical indexes both named with `name:`, whose wire names the planner could not tell apart.\n*/\nfunction deduplicateIndexes(input) {\n\tconst { tableName, warnings } = input;\n\tconst replacements = /* @__PURE__ */ new Map();\n\tconst nodes = new Map(input.indexes.map((candidate) => [candidate, indexNodeOf(candidate.index)]));\n\tconst nodeOf = (candidate) => {\n\t\tconst node = nodes.get(candidate);\n\t\tif (node === void 0) throw new InternalError(\"every candidate has a node\");\n\t\treturn node;\n\t};\n\tconst groups = [];\n\tfor (const candidate of input.indexes) {\n\t\tconst position = groups.findIndex(([first]) => identicalIndexes(nodeOf(first), nodeOf(candidate)));\n\t\tconst group = groups[position];\n\t\tif (group === void 0) groups.push([candidate]);\n\t\telse groups[position] = [...group, candidate];\n\t}\n\tfor (const group of groups) {\n\t\tconst named = group.filter((candidate) => candidate.namedByUser);\n\t\tconst wireNamed = named.filter((candidate) => candidate.index.naming.kind === \"wire\");\n\t\tif (wireNamed.length > 1) throw identicalWireNamedIndexesError(tableName, wireNamed);\n\t\tconst kept = named[0] ?? group[0];\n\t\tfor (const candidate of group) if (candidate !== kept && !candidate.namedByUser) replacements.set(candidate, {\n\t\t\tkind: \"index\",\n\t\t\tindex: kept\n\t\t});\n\t\tif (named.length > 1) warnings.push(identicalIndexesWarning(tableName, named));\n\t}\n\tconst survivors = input.indexes.filter((candidate) => !replacements.has(candidate));\n\tfor (const candidate of survivors) {\n\t\tconst servedBy = servingKey(nodeOf(candidate), {\n\t\t\tindexes: survivors,\n\t\t\tnodeOf,\n\t\t\tuniques: input.uniques,\n\t\t\tprimaryKey: input.primaryKey\n\t\t});\n\t\tif (servedBy === void 0) continue;\n\t\tif (candidate.namedByUser) warnings.push(redundantIndexWarning(tableName, candidate, servedBy));\n\t\telse replacements.set(candidate, servedBy);\n\t}\n\treturn {\n\t\tindexes: input.indexes.filter((candidate) => !replacements.has(candidate)),\n\t\treplacements\n\t};\n}\nfunction identicalWireNamedIndexesError(tableName, wireNamed) {\n\treturn contractError(\"CONTRACT.ARGUMENT_INVALID\", `Indexes ${quotedList(wireNamed.map((candidate) => writtenName(candidate.index)))} on table \"${tableName}\" are identical and both named with name:; the planner pairs wire-named indexes by their content, so it could not tell them apart.`, {\n\t\tfix: \"Remove one of them, or name one with map: to keep both under exact names.\",\n\t\tmeta: {\n\t\t\ttableName,\n\t\t\tindexes: wireNamed.map((candidate) => writtenName(candidate.index))\n\t\t}\n\t});\n}\n/** The name the source wrote: the prefix of a wire-named index, the whole name of an exact one. */\nfunction writtenName(index) {\n\treturn index.naming.kind === \"wire\" ? index.naming.prefix : index.naming.name;\n}\nfunction quotedList(names) {\n\tconst quoted = names.map((name) => `\"${name}\"`);\n\treturn quoted.length <= 2 ? quoted.join(\" and \") : `${quoted.slice(0, -1).join(\", \")} and ${quoted.at(-1)}`;\n}\nfunction identicalIndexesWarning(tableName, named) {\n\tconst names = quotedList(named.map((candidate) => writtenName(candidate.index)));\n\treturn {\n\t\tcode: \"PN_INDEX_DUPLICATE\",\n\t\tmessage: `Indexes ${names} on table \"${tableName}\" are identical: ${IDENTICAL_DESCRIPTION} Remove one of them.`,\n\t\titem: `table \"${tableName}\": indexes ${names}`,\n\t\tsummary: `tables have named indexes that are identical: ${IDENTICAL_DESCRIPTION} Remove one of each.`\n\t};\n}\nfunction describeReplacement(replacement) {\n\tswitch (replacement.kind) {\n\t\tcase \"primaryKey\": return \"the primary key\";\n\t\tcase \"uniqueConstraint\": return replacement.unique.name === void 0 ? `the unique constraint on (${replacement.unique.columns.join(\", \")})` : `the unique constraint \"${replacement.unique.name}\"`;\n\t\tcase \"index\": return `the unique index \"${writtenName(replacement.index.index)}\"`;\n\t}\n}\nfunction redundantIndexWarning(tableName, candidate, servedBy) {\n\tconst name = writtenName(candidate.index);\n\treturn {\n\t\tcode: \"PN_INDEX_REDUNDANT\",\n\t\tmessage: `Index \"${name}\" on table \"${tableName}\" has the same columns as ${describeReplacement(servedBy)}, ${REDUNDANT_DESCRIPTION} The contract keeps the index because it is named. Remove it.`,\n\t\titem: `table \"${tableName}\": index \"${name}\"`,\n\t\tsummary: `tables have a named index with the same columns as a unique constraint, unique index or primary key, ${REDUNDANT_DESCRIPTION} The contract keeps each index because it is named. Remove them.`\n\t};\n}\n//#endregion\n//#region src/foreign-key-materialization.ts\n/** The `meta.reason` of the refusal of a relation's `index: \"<name>\"`, which a source can report at the relation. */\nconst FOREIGN_KEY_INDEX_UNRESOLVED = \"foreign-key-index-unresolved\";\n/**\n* Lowers a table's authored foreign keys and indexes into the entities `contract.json` persists. A `constraint: false` foreign key contributes no `foreignKeys[]` entry. A foreign key with `index: true` gets a derived backing index; one with `index: \"<name>\"` uses what the table declares under that name. The table's indexes then pass through {@link deduplicateIndexes}, and each foreign key states what backs it in the result: an index by name, or the primary key or a unique constraint by kind.\n*/\nfunction materializeForeignKeysAndIndexes(input) {\n\tconst { tableName, declaredIndexes, uniques, primaryKey, indexTypes } = input;\n\tconst derivedIndexes = [];\n\tconst intents = input.foreignKeys.map((foreignKey) => {\n\t\tconst { constraint, index, ...reference } = foreignKey;\n\t\tif (index !== true) return {\n\t\t\tconstraint,\n\t\t\treference,\n\t\t\tindex\n\t\t};\n\t\tconst derived = derivedBackingIndex(tableName, reference.source.columns);\n\t\tderivedIndexes.push(derived);\n\t\treturn {\n\t\t\tconstraint,\n\t\t\treference,\n\t\t\tindex: derived\n\t\t};\n\t});\n\tconst deduplicated = deduplicateIndexes({\n\t\ttableName,\n\t\tindexes: [...declaredIndexes, ...derivedIndexes],\n\t\tuniques,\n\t\tprimaryKey,\n\t\twarnings: input.warnings\n\t});\n\tconst resolve = (backing) => foreignKeyIndexOf(resolveReplacement(backing, deduplicated.replacements));\n\treturn {\n\t\tforeignKeys: intents.flatMap(({ constraint, reference, index }) => {\n\t\t\tconst backing = index === false ? void 0 : typeof index === \"string\" ? namedBackingObject(reference.source, index, {\n\t\t\t\tdeclaredIndexes,\n\t\t\t\tuniques,\n\t\t\t\tprimaryKey,\n\t\t\t\tindexTypes,\n\t\t\t\tresolve\n\t\t\t}) : resolve({\n\t\t\t\tkind: \"index\",\n\t\t\t\tindex\n\t\t\t});\n\t\t\tif (!constraint) return [];\n\t\t\treturn [backing === void 0 ? reference : {\n\t\t\t\t...reference,\n\t\t\t\tindex: backing\n\t\t\t}];\n\t\t}),\n\t\tindexes: deduplicated.indexes.map((candidate) => candidate.index)\n\t};\n}\n/**\n* Whether a table's declared indexes, unique constraints or primary key already serve a foreign key on `columns`, so the build would drop a derived backing index again. A source that writes no backing index of its own, such as a Prisma 7 schema, leaves the foreign key's `index` to the build where this holds, so the stored foreign key states what backs it.\n*/\nfunction declaredIndexesServeForeignKey(columns, table) {\n\treturn derivedBackingIndexIsRedundant(columns, {\n\t\tindexes: table.indexes,\n\t\tnodeOf: indexNodeOf,\n\t\tuniques: table.uniques,\n\t\tprimaryKey: table.primaryKey\n\t});\n}\n/**\n* The name to give a relation's `index` argument when the table's declared indexes and keys serve a foreign key on `columns` although the build would keep a derived backing index beside them (see {@link leadingBackingObjectName}).\n*/\nfunction declaredBackingObjectName(columns, table) {\n\treturn leadingBackingObjectName(columns, {\n\t\tindexes: table.indexes,\n\t\tnodeOf: indexNodeOf,\n\t\tnameOf: (index) => nameOf(index.naming),\n\t\tuniques: table.uniques,\n\t\tprimaryKey: table.primaryKey\n\t});\n}\n/**\n* What a foreign key on `columns` states it is backed by when its relation says nothing, beside a table whose indexes all carry the `name` or `map` the source gave them, as a printed contract's do. A printer writes a relation's `index` argument only where the stored foreign key differs from this.\n*/\nfunction defaultForeignKeyIndex(tableName, columns, table) {\n\tconst reference = {\n\t\tnamespaceId: asNamespaceId(UNBOUND_NAMESPACE_ID),\n\t\ttableName,\n\t\tcolumns\n\t};\n\tconst [foreignKey] = materializeForeignKeysAndIndexes({\n\t\ttableName,\n\t\tforeignKeys: [{\n\t\t\tsource: reference,\n\t\t\ttarget: reference,\n\t\t\tconstraint: true,\n\t\t\tindex: true\n\t\t}],\n\t\tdeclaredIndexes: table.indexes.map((index) => ({\n\t\t\tindex,\n\t\t\tnamedByUser: true\n\t\t})),\n\t\tuniques: table.uniques,\n\t\tprimaryKey: table.primaryKey,\n\t\twarnings: [],\n\t\tindexTypes: void 0\n\t}).foreignKeys;\n\treturn typeof foreignKey?.index === \"object\" ? foreignKey.index : void 0;\n}\nfunction derivedBackingIndex(tableName, columns) {\n\treturn {\n\t\tindex: lowerAuthoredIndex(tableName, {\n\t\t\tcolumns,\n\t\t\twhere: void 0,\n\t\t\tunique: void 0,\n\t\t\tmap: void 0,\n\t\t\tname: truncateToWireNamePrefixBytes(defaultIndexName(tableName, columns)),\n\t\t\ttype: void 0,\n\t\t\toptions: void 0\n\t\t}),\n\t\tnamedByUser: false\n\t};\n}\n/**\n* What a relation's `index: \"<name>\"` points at. The name is the `name` or `map` the source gave an index, unique constraint or primary key, or an index's stored name; an unnamed index's default name does not count. Identical indexes count as one, so the name is resolved after they merge. The object must start with the foreign key's columns, in order, or it would not serve the foreign key's lookups. An index of a type whose body is rendered from its options (see {@link rendersIndexBody}) is refused too: its columns are not its key.\n*/\nfunction namedBackingObject(source, name, table) {\n\tconst { namespaceId, tableName, columns } = source;\n\tconst subject = `The foreign key on table \"${tableName}\" columns (${columns.join(\", \")}) names \"${name}\" as its index`;\n\tconst meta = {\n\t\treason: FOREIGN_KEY_INDEX_UNRESOLVED,\n\t\tnamespaceId,\n\t\ttableName,\n\t\tcolumns,\n\t\tindex: name\n\t};\n\tconst indexes = table.declaredIndexes.filter((candidate) => candidate.namedByUser && writtenName(candidate.index) === name || nameOf(candidate.index.naming) === name);\n\tconst keys = [...table.uniques.filter((unique) => unique.name === name), ...table.primaryKey?.name === name ? [table.primaryKey] : []];\n\tconst resolvedIndexes = [...new Map(indexes.map((index) => {\n\t\tconst resolved = table.resolve({\n\t\t\tkind: \"index\",\n\t\t\tindex\n\t\t});\n\t\treturn [JSON.stringify(resolved), {\n\t\t\tindex,\n\t\t\tresolved\n\t\t}];\n\t})).values()];\n\tconst matches = resolvedIndexes.length + keys.length;\n\tif (matches === 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `${subject}, but table \"${tableName}\" has no index, unique constraint or primary key with that name.`, {\n\t\tfix: `Declare an index, unique constraint or primary key named \"${name}\" on table \"${tableName}\", or drop the index argument so the foreign key gets its own backing index.`,\n\t\tmeta\n\t});\n\tif (matches > 1) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `${subject}, but table \"${tableName}\" has more than one index, unique constraint or primary key with that name.`, {\n\t\tfix: `Give the object the foreign key should use a name no other index, unique constraint or primary key of table \"${tableName}\" has, and name that on the relation.`,\n\t\tmeta\n\t});\n\tconst [match] = resolvedIndexes;\n\tconst key = keys[0];\n\tconst matchType = match?.index.index.type;\n\tconst typeEntry = matchType === void 0 ? void 0 : table.indexTypes?.get(matchType);\n\tif (typeEntry !== void 0 && rendersIndexBody(typeEntry)) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `${subject}, but it is a \"${typeEntry.type}\" index, a \"${accessMethodOf(typeEntry)}\" index whose key is rendered from its options rather than its columns, so it does not serve the foreign key's lookups.`, {\n\t\tfix: `Name an index, unique constraint or primary key whose first columns are (${columns.join(\", \")}), or drop the index argument so the foreign key gets its own backing index beside the \"${typeEntry.type}\" index.`,\n\t\tmeta\n\t});\n\tconst objectColumns = match !== void 0 ? match.index.index.columns : key?.columns;\n\tif (objectColumns === void 0 || !startsWithColumns(objectColumns, columns)) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `${subject}, but ${objectColumns === void 0 ? \"it indexes an expression, not the foreign key's columns\" : `its columns (${objectColumns.join(\", \")}) do not start with the foreign key's columns`}, so it does not serve the foreign key's lookups.`, {\n\t\tfix: `Name an index, unique constraint or primary key whose first columns are (${columns.join(\", \")}), or drop the index argument so the foreign key gets its own backing index.`,\n\t\tmeta\n\t});\n\tif (match !== void 0) return match.resolved;\n\treturn key === table.primaryKey ? { primaryKey: true } : { unique: objectColumns };\n}\nfunction resolveReplacement(backing, replacements) {\n\tlet current = backing;\n\twhile (current.kind === \"index\") {\n\t\tconst replacement = replacements.get(current.index);\n\t\tif (replacement === void 0) break;\n\t\tcurrent = replacement;\n\t}\n\treturn current;\n}\nfunction foreignKeyIndexOf(backing) {\n\tswitch (backing.kind) {\n\t\tcase \"index\": return { name: nameOf(backing.index.index.naming) };\n\t\tcase \"uniqueConstraint\": return { unique: backing.unique.columns };\n\t\tcase \"primaryKey\": return { primaryKey: true };\n\t}\n}\n//#endregion\nexport { FOREIGN_KEY_INDEX_UNRESOLVED, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, derivedBackingIndexIsRedundant, leadingBackingObjectName, materializeForeignKeysAndIndexes };\n\n//# sourceMappingURL=foreign-key-materialization.mjs.map"],"mappings":"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"}
@@ -1,6 +1,6 @@
1
- import { t as SqlNode } from "./sql-node-kEz6YFZo-v2F7delx.mjs";
1
+ import { t as SqlNode } from "./sql-node-kEz6YFZo-1ogT6Cxt.mjs";
2
2
  import { NamespaceId } from "@prisma/orm-framework/contract/types";
3
- //#region ../../../2-sql/1-core/contract/dist/foreign-key-qkDFfG8t.d.mts
3
+ //#region ../../../2-sql-family/1-core/contract/dist/foreign-key-qkDFfG8t.d.mts
4
4
  //#region src/ir/foreign-key-reference.d.ts
5
5
  /**
6
6
  * Input for a foreign-key reference (one side of a foreign-key declaration).
@@ -100,4 +100,4 @@ declare class ForeignKey extends SqlNode {
100
100
  }
101
101
  //#endregion
102
102
  export { ForeignKeyReferenceInput as a, ForeignKeyReference as i, ForeignKeyIndex as n, ReferentialAction as o, ForeignKeyInput as r, ForeignKey as t };
103
- //# sourceMappingURL=foreign-key-qkDFfG8t-Fyrzd0VI.d.mts.map
103
+ //# sourceMappingURL=foreign-key-qkDFfG8t-TaK_GYWR.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foreign-key-qkDFfG8t-TaK_GYWR.d.mts","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/foreign-key-qkDFfG8t.d.mts"],"mappings":";;;;;;;;;;;;;;;UAcU;WACC;WACA;WACA;WACA;;;;;;;;;;;;;;;;;;cAkBG,4BAA4B;WAC/B,aAAa;WACb;WACA;WACA;EACT,YAAY,OAAO;SACZ,KAAK,OAAO,sBAAsB,2BAA2B;;;;KAIjE;;;;KAIA;WACM;;WAEA;;WAEA;;UAED;WACC,QAAQ,sBAAsB;WAC9B,QAAQ,sBAAsB;WAC9B;WACA,WAAW;WACX,WAAW;;;;WAIX,QAAQ;;;;;;;;;;;;;;;;;;;;;;;cAuBL,mBAAmB;WACtB,QAAQ;WACR,QAAQ;WACR;WACA,WAAW;WACX,WAAW;WACX,QAAQ;EACjB,YAAY,OAAO;SACZ,KAAK,OAAO,aAAa,kBAAkB"}
@@ -1,9 +1,9 @@
1
- import { D as QueryOperationTypesBase } from "./types-DfKvtJwS-tndgHh53.mjs";
2
- import "./types-CRbj_WQf.mjs";
3
- import { i as SqlOperationEntry } from "./index-ffCr9ySU.mjs";
4
- import { Nt as SelectAst } from "./types-DriMIMNQ-BBacSgaI.mjs";
5
- import { i as CodecTypesBase, l as RawCodecInferer, o as Expression, r as CodecExpression, x as ScopeField, y as RawSqlTag } from "./expression-6ld_ZQL6-CQghHqQ4.mjs";
6
- //#region ../../../2-sql/4-lanes/relational-core/dist/exports/functions.d.mts
1
+ import { D as QueryOperationTypesBase } from "./types-DfKvtJwS-CrpWTGBJ.mjs";
2
+ import "./types-B0J6ZASy.mjs";
3
+ import { i as SqlOperationEntry } from "./index-CUG8HKk_.mjs";
4
+ import { Nt as SelectAst } from "./types-DriMIMNQ-Cs5YW-O-.mjs";
5
+ import { i as CodecTypesBase, l as RawCodecInferer, o as Expression, r as CodecExpression, x as ScopeField, y as RawSqlTag } from "./expression-6ld_ZQL6-Brvfpjqy.mjs";
6
+ //#region ../../../2-sql-family/4-lanes/relational-core/dist/exports/functions.d.mts
7
7
  //#region src/functions.d.ts
8
8
  type BooleanCodecType = {
9
9
  codecId: 'pg/bool@1';
@@ -70,4 +70,4 @@ type Functions<QC extends FunctionsContext> = BuiltinFunctions<QC['codecTypes']>
70
70
  declare function createFunctions<QC extends FunctionsContext>(operations: Readonly<Record<string, SqlOperationEntry>>, rawCodecInferer: RawCodecInferer): Functions<QC>;
71
71
  //#endregion
72
72
  export { Subquery as a, FunctionsContext as i, BuiltinFunctions as n, SubqueryMarker as o, Functions as r, createFunctions as s, BooleanCodecType as t };
73
- //# sourceMappingURL=functions-DTInIMZT.d.mts.map
73
+ //# sourceMappingURL=functions-CRvEdiQM.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions-CRvEdiQM.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/exports/functions.d.mts"],"mappings":";;;;;;;KAKK;EACH;EACA;;cAEY;KACT,SAAS,gBAAgB,eAAe;GAC1C,iBAAiB;EAClB,YAAY;EACZ,gBAAgB,eAAe;;;KAG5B;WACM,YAAY;WACZ,qBAAqB;;KAE3B,mBAAmB,WAAW,8BAA8B,WAAW,KAAK,GAAG;KAC/E,iBAAiB,WAAW;WACtB;;EAET,KAAK,wBAAwB,GAAG,gBAAgB,kBAAkB,YAAY,GAAG,gBAAgB,kBAAkB,eAAe,WAAW;EAC7I,KAAK,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,YAAY,GAAG,gBAAgB,SAAS,GAAG,eAAe,WAAW;EACpJ,KAAK,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,KAAK,GAAG,gBAAgB,SAAS,GAAG,QAAQ,WAAW;EACtI,MAAM,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,KAAK,GAAG,gBAAgB,SAAS,GAAG,QAAQ,WAAW;EACvI,KAAK,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,KAAK,GAAG,gBAAgB,SAAS,GAAG,QAAQ,WAAW;EACtI,MAAM,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,KAAK,GAAG,gBAAgB,SAAS,GAAG,QAAQ,WAAW;EACvI,SAAS,MAAM,sCAAsC,UAAU,WAAW;EAC1E,QAAQ,KAAK,sCAAsC,UAAU,WAAW;EACxE,SAAS,UAAU,SAAS,eAAe,iBAAiB,WAAW;EACvE,YAAY,UAAU,SAAS,eAAe,iBAAiB,WAAW;EAC1E;KACG,wBAAwB,MAAM;MAC7B,SAAS;MACT;QACE,UAAU,SAAS;MACrB,SAAS;MACT;UACI,WAAW;KAChB,wBAAwB,MAAM;MAC7B,SAAS;MACT;QACE,QAAQ,MAAM,gBAAgB,kBAAkB,OAAO,WAAW;;EAExE;KACG,wBAAwB,MAAM;MAC7B,SAAS;MACT;QACE,UAAU,SAAS;MACrB,SAAS;MACT;UACI,WAAW;KAChB,wBAAwB,MAAM;MAC7B,SAAS;MACT;QACE,QAAQ,MAAM,gBAAgB,kBAAkB,OAAO,WAAW;;WAE/D,KAAK;;;KAGX,UAAU,WAAW,oBAAoB,iBAAiB,oBAAoB,mBAAmB;;;;iBAIrF,gBAAgB,WAAW,kBAAkB,YAAY,SAAS,eAAe,qBAAqB,iBAAiB,kBAAkB,UAAU"}
@@ -1,7 +1,7 @@
1
- import { C as LiteralExpr, E as NullCheckExpr, I as SubqueryExpr, O as OrExpr, S as ListExpression, n as AndExpr, p as ExistsExpr, r as BinaryExpr } from "./types-NTQsD2MS-DAP2yVDn.mjs";
2
- import { a as isExpression, i as createRawSql, r as codecOf, s as toExpr, t as ExpressionImpl } from "./expression-impl-B-XNINxr-vYwKVFeP.mjs";
1
+ import { C as LiteralExpr, E as NullCheckExpr, I as SubqueryExpr, O as OrExpr, S as ListExpression, n as AndExpr, p as ExistsExpr, r as BinaryExpr } from "./types-NTQsD2MS-xcLtvKO9.mjs";
2
+ import { a as isExpression, i as createRawSql, r as codecOf, s as toExpr, t as ExpressionImpl } from "./expression-impl-B-XNINxr-BhN2sysZ.mjs";
3
3
  import { blindCast } from "@prisma/orm-framework/utils/casts";
4
- //#region ../../../2-sql/4-lanes/relational-core/dist/exports/functions.mjs
4
+ //#region ../../../2-sql-family/4-lanes/relational-core/dist/exports/functions.mjs
5
5
  const BOOL_FIELD = {
6
6
  codecId: "pg/bool@1",
7
7
  nullable: false
@@ -85,4 +85,4 @@ function createFunctions(operations, rawCodecInferer) {
85
85
  //#endregion
86
86
  export { createFunctions as t };
87
87
 
88
- //# sourceMappingURL=functions-0YWByawj.mjs.map
88
+ //# sourceMappingURL=functions-CsOoN7I3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions-CsOoN7I3.mjs","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/exports/functions.mjs"],"sourcesContent":["import { C as LiteralExpr, E as NullCheckExpr, I as SubqueryExpr, O as OrExpr, S as ListExpression, n as AndExpr, p as ExistsExpr, r as BinaryExpr } from \"../types-NTQsD2MS.mjs\";\nimport { a as isExpression, i as createRawSql, r as codecOf, s as toExpr, t as ExpressionImpl } from \"../expression-impl-B-XNINxr.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/functions.ts\nconst BOOL_FIELD = {\n\tcodecId: \"pg/bool@1\",\n\tnullable: false\n};\n/**\n* Resolve a binary-comparison operand into an AST expression, threading the column-bound side's {@link CodecRef} to the raw-value side.\n*\n* For `fns.eq(f.email, 'alice@example.com')`, `f.email` is the column-bound expression carrying a `ColumnRef` AST and a `CodecRef` derived from contract storage; the raw string operand has no codec context. By deriving the codec context from the column-bound side and forwarding it via `toExpr(value, codec)`, the resulting `ParamRef` carries the `CodecRef` that encode-side dispatch needs to materialise the per-instance codec for parameterized codec ids (`vector(1024)` vs. `vector(1536)`).\n*/\nfunction resolveOperand(operand, otherCodec) {\n\tif (isExpression(operand)) return operand.buildAst();\n\treturn toExpr(operand, otherCodec);\n}\n/**\n* Resolves an Expression via `buildAst()`, or wraps a raw value as a `LiteralExpr` — an SQL literal inlined into the query text, not a bound parameter.\n*\n* Used for `and` / `or` operands. The usual operand is an `Expression<bool>` (e.g. the result of `fns.eq`), which this function passes through by calling `buildAst()`. The only time the raw-value branch fires is when the caller writes `fns.and(true, x)` or similar — inlining `TRUE`/`FALSE` literals lets the SQL planner statically simplify `TRUE AND x` to `x`, which it cannot do for an opaque `ParamRef`.\n*/\nfunction toLiteralExpr(value) {\n\tif (isExpression(value)) return value.buildAst();\n\treturn new LiteralExpr(value);\n}\nfunction boolExpr(astNode) {\n\treturn new ExpressionImpl(astNode, BOOL_FIELD);\n}\nfunction binaryWithSharedCodec(a, b, build) {\n\tconst aCodec = codecOf(a);\n\treturn build(resolveOperand(a, codecOf(b)), resolveOperand(b, aCodec));\n}\nfunction eq(a, b) {\n\tif (b === null) return boolExpr(NullCheckExpr.isNull(toExpr(a)));\n\tif (a === null) return boolExpr(NullCheckExpr.isNull(toExpr(b)));\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(\"eq\", l, r)));\n}\nfunction ne(a, b) {\n\tif (b === null) return boolExpr(NullCheckExpr.isNotNull(toExpr(a)));\n\tif (a === null) return boolExpr(NullCheckExpr.isNotNull(toExpr(b)));\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(\"neq\", l, r)));\n}\nfunction comparison(a, b, op) {\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(op, l, r)));\n}\nfunction inOrNotIn(expr, valuesOrSubquery, op) {\n\tconst left = expr.buildAst();\n\tconst leftCodec = codecOf(expr);\n\tconst binaryFn = op === \"in\" ? BinaryExpr.in : BinaryExpr.notIn;\n\tif (Array.isArray(valuesOrSubquery)) {\n\t\tconst refs = valuesOrSubquery.map((v) => resolveOperand(v, leftCodec));\n\t\treturn boolExpr(binaryFn(left, ListExpression.of(refs)));\n\t}\n\treturn boolExpr(binaryFn(left, SubqueryExpr.of(valuesOrSubquery.buildAst())));\n}\nfunction createBuiltinFunctions(rawCodecInferer) {\n\treturn {\n\t\teq: (a, b) => eq(a, b),\n\t\tne: (a, b) => ne(a, b),\n\t\tgt: (a, b) => comparison(a, b, \"gt\"),\n\t\tgte: (a, b) => comparison(a, b, \"gte\"),\n\t\tlt: (a, b) => comparison(a, b, \"lt\"),\n\t\tlte: (a, b) => comparison(a, b, \"lte\"),\n\t\tand: (...exprs) => boolExpr(AndExpr.of(exprs.map(toLiteralExpr))),\n\t\tor: (...exprs) => boolExpr(OrExpr.of(exprs.map(toLiteralExpr))),\n\t\texists: (subquery) => boolExpr(ExistsExpr.exists(subquery.buildAst())),\n\t\tnotExists: (subquery) => boolExpr(ExistsExpr.notExists(subquery.buildAst())),\n\t\tin: (expr, valuesOrSubquery) => inOrNotIn(expr, valuesOrSubquery, \"in\"),\n\t\tnotIn: (expr, valuesOrSubquery) => inOrNotIn(expr, valuesOrSubquery, \"notIn\"),\n\t\traw: createRawSql(rawCodecInferer)\n\t};\n}\n/**\n* The function surface for a contract: the built-in functions, and each registered query operation's implementation under its name.\n*/\nfunction createFunctions(operations, rawCodecInferer) {\n\tconst builtins = createBuiltinFunctions(rawCodecInferer);\n\treturn new Proxy(blindCast({}), { get(_target, prop) {\n\t\tif (Object.hasOwn(builtins, prop)) return blindCast(builtins)[prop];\n\t\tconst op = operations[prop];\n\t\tif (op) return op.impl;\n\t} });\n}\n//#endregion\nexport { createFunctions };\n\n//# sourceMappingURL=functions.mjs.map"],"mappings":"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"}
@@ -1,5 +1,5 @@
1
- import { c as enumType } from "./contract-builder-D7cTmhfs.mjs";
2
- import { c as SQL_TEXT_CODEC_ID, i as SQL_CHAR_CODEC_ID, l as SQL_VARCHAR_CODEC_ID } from "./ast-BJs2669T.mjs";
1
+ import { c as enumType } from "./contract-builder-Dp7AOnHB.mjs";
2
+ import { c as SQL_TEXT_CODEC_ID, i as SQL_CHAR_CODEC_ID, l as SQL_VARCHAR_CODEC_ID } from "./ast-D0miQ1B6.mjs";
3
3
  import { readEnumBlockMembers, resolveEnumCodecId } from "@prisma/orm-framework/components/authoring";
4
4
  import { enumRefusalOf, requiredParamKeys } from "@prisma/orm-framework/components/codec";
5
5
  import { blindCast } from "@prisma/orm-framework/utils/casts";
@@ -8,7 +8,7 @@ import { singleGeneratorBinding } from "@prisma/orm-framework/components/compone
8
8
  import { notOk, ok } from "@prisma/orm-framework/utils/result";
9
9
  import { blockAttribute, dataTypeValue, enumMemberValue, leafDiagnostic, mapBlock, optional, refineArg, str } from "@prisma/orm-framework/psl-parser";
10
10
  import { CUID_VERSION, NANOID_SIZE, UUID_VERSIONS, generatedLength } from "@prisma/orm-framework/ids";
11
- //#region ../../../2-sql/9-family/dist/generator-functions-D_qdqBV-.mjs
11
+ //#region ../../../2-sql-family/9-family/dist/generator-functions-D_qdqBV-.mjs
12
12
  function sqlFamilyEnumSpec() {
13
13
  return mapBlock({
14
14
  value: {
@@ -541,4 +541,4 @@ function checkedInteger(integer, dataTypes, allowed, refusal) {
541
541
  //#endregion
542
542
  export { sqlFamilyGeneratorDescriptors as a, sqlIntegerArgumentGeneratorFunctions as c, sqlFamilyEntityTypes as i, sqlTargetTypeConstructors as l, sqlFamilyAuthoringFieldPresets as n, sqlFamilyGeneratorFunctions as o, sqlFamilyAuthoringTypes as r, sqlFamilyPslBlockDescriptors as s, idGeneratorFunctionBindings as t };
543
543
 
544
- //# sourceMappingURL=generator-functions-D_qdqBV--BoeJwWsz.mjs.map
544
+ //# sourceMappingURL=generator-functions-D_qdqBV--B2Q0WOf5.mjs.map