@prisma/orm-family-sql 8.0.0-rc.21-dev.5 → 8.0.0-rc.21-dev.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/dist/{ast-DcphKbq9.d.mts → ast-1JRQY-dP.d.mts} +10 -4
  2. package/dist/ast-1JRQY-dP.d.mts.map +1 -0
  3. package/dist/{ast-e_02t9Nt.mjs → ast-C3itulLi.mjs} +7 -1
  4. package/dist/ast-C3itulLi.mjs.map +1 -0
  5. package/dist/{attribute-specs-Dcd2ZUrY.d.mts → attribute-specs-CM_fC-TC.d.mts} +3 -3
  6. package/dist/{attribute-specs-Dcd2ZUrY.d.mts.map → attribute-specs-CM_fC-TC.d.mts.map} +1 -1
  7. package/dist/{authored-check-naming-D-o196ry.d.mts → authored-check-naming-BiSwtSFu.d.mts} +2 -2
  8. package/dist/{authored-check-naming-D-o196ry.d.mts.map → authored-check-naming-BiSwtSFu.d.mts.map} +1 -1
  9. package/dist/{authored-check-naming-BHGJhjqn.mjs → authored-check-naming-DTKcH2_d.mjs} +3 -3
  10. package/dist/{authored-check-naming-BHGJhjqn.mjs.map → authored-check-naming-DTKcH2_d.mjs.map} +1 -1
  11. package/dist/{authoring-entity-types-CgKIgWq5-CZK1F9a_.d.mts → authoring-entity-types-CgKIgWq5--Hjkn72Y.d.mts} +2 -2
  12. package/dist/{authoring-entity-types-CgKIgWq5-CZK1F9a_.d.mts.map → authoring-entity-types-CgKIgWq5--Hjkn72Y.d.mts.map} +1 -1
  13. package/dist/builder.d.mts +3 -3
  14. package/dist/builder__runtime.d.mts +10 -10
  15. package/dist/builder__runtime.mjs +4 -4
  16. package/dist/builder__types.d.mts +5 -5
  17. package/dist/{check-constraint-B7qGu6rc-Bk2ezWXu.d.mts → check-constraint-B7qGu6rc-D5kVe9je.d.mts} +2 -2
  18. package/dist/{check-constraint-B7qGu6rc-Bk2ezWXu.d.mts.map → check-constraint-B7qGu6rc-D5kVe9je.d.mts.map} +1 -1
  19. package/dist/check-expressions-BDsLvzqN.mjs +108 -0
  20. package/dist/check-expressions-BDsLvzqN.mjs.map +1 -0
  21. package/dist/check-expressions-DuWjvG4h.d.mts +82 -0
  22. package/dist/check-expressions-DuWjvG4h.d.mts.map +1 -0
  23. package/dist/{codec-descriptor-registry-CiiFzMtb.mjs → codec-descriptor-registry-UiFDvDj4.mjs} +2 -2
  24. package/dist/{codec-descriptor-registry-CiiFzMtb.mjs.map → codec-descriptor-registry-UiFDvDj4.mjs.map} +1 -1
  25. package/dist/codec-json-type-BdWPJ6T5-BhmIyNyb.d.mts +13 -0
  26. package/dist/codec-json-type-BdWPJ6T5-BhmIyNyb.d.mts.map +1 -0
  27. package/dist/codec-json-type-DUWyBtJk-BVTavkH0.mjs +21 -0
  28. package/dist/codec-json-type-DUWyBtJk-BVTavkH0.mjs.map +1 -0
  29. package/dist/{collection-methods-D9CYfePl-DsDjYS6t.d.mts → collection-methods-D9CYfePl-BGvD1h9Z.d.mts} +4 -4
  30. package/dist/{collection-methods-D9CYfePl-DsDjYS6t.d.mts.map → collection-methods-D9CYfePl-BGvD1h9Z.d.mts.map} +1 -1
  31. package/dist/collection-methods-mo-2RjdX.d.mts +1 -0
  32. package/dist/{config-types-DkEeq_qq.mjs → config-types-BvmmK8D-.mjs} +2 -2
  33. package/dist/{config-types-DkEeq_qq.mjs.map → config-types-BvmmK8D-.mjs.map} +1 -1
  34. package/dist/{config-types-C-1mIiJO.d.mts → config-types-Ce1tAJ0B.d.mts} +4 -4
  35. package/dist/{config-types-C-1mIiJO.d.mts.map → config-types-Ce1tAJ0B.d.mts.map} +1 -1
  36. package/dist/{contract-builder-B-Q9T1CO.d.mts → contract-builder-B8oDZ4aU.d.mts} +16 -10
  37. package/dist/contract-builder-B8oDZ4aU.d.mts.map +1 -0
  38. package/dist/{contract-builder-DMNe_jX9.mjs → contract-builder-Bk-Co792.mjs} +5 -5
  39. package/dist/{contract-builder-DMNe_jX9.mjs.map → contract-builder-Bk-Co792.mjs.map} +1 -1
  40. package/dist/contract-emitter.d.mts +1 -1
  41. package/dist/contract-emitter.mjs +1 -1
  42. package/dist/contract-prisma7__provider.d.mts +2 -2
  43. package/dist/contract-prisma7__provider.mjs +6 -6
  44. package/dist/contract-psl.d.mts +4 -4
  45. package/dist/contract-psl.mjs +1 -1
  46. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  47. package/dist/contract-psl__attribute-specs.mjs +1 -1
  48. package/dist/contract-psl__provider.d.mts +2 -2
  49. package/dist/contract-psl__provider.mjs +3 -3
  50. package/dist/contract-psl__provider.mjs.map +1 -1
  51. package/dist/contract-ts.d.mts +4 -4
  52. package/dist/contract-ts.mjs +3 -3
  53. package/dist/contract-ts__config-types.d.mts +1 -1
  54. package/dist/contract-ts__config-types.mjs +1 -1
  55. package/dist/contract-ts__contract-builder.d.mts +3 -3
  56. package/dist/contract-ts__contract-builder.mjs +2 -2
  57. package/dist/{contract-view-DqpzeYeE.mjs → contract-view-CcD3axo0.mjs} +6 -2
  58. package/dist/contract-view-CcD3axo0.mjs.map +1 -0
  59. package/dist/{contract-view-DuB35or0.d.mts → contract-view-DkIZrHyj.d.mts} +3 -3
  60. package/dist/{contract-view-DuB35or0.d.mts.map → contract-view-DkIZrHyj.d.mts.map} +1 -1
  61. package/dist/contract.d.mts +21 -19
  62. package/dist/contract.mjs +16 -12
  63. package/dist/contract__authored-check-naming.d.mts +1 -1
  64. package/dist/contract__authored-check-naming.mjs +1 -1
  65. package/dist/contract__check-expressions.d.mts +2 -0
  66. package/dist/contract__check-expressions.mjs +2 -0
  67. package/dist/contract__codec-json-type.d.mts +2 -0
  68. package/dist/contract__codec-json-type.mjs +2 -0
  69. package/dist/contract__contract-view.d.mts +1 -1
  70. package/dist/contract__contract-view.mjs +1 -1
  71. package/dist/contract__data-type.d.mts +1 -1
  72. package/dist/contract__entity-kinds.d.mts +2 -2
  73. package/dist/contract__entity-kinds.mjs +2 -2
  74. package/dist/contract__factories.d.mts +1 -1
  75. package/dist/contract__factories.mjs +1 -1
  76. package/dist/contract__foreign-key-materialization.d.mts +1 -1
  77. package/dist/contract__foreign-key-materialization.mjs +2 -2
  78. package/dist/contract__index-naming.d.mts +1 -1
  79. package/dist/contract__index-naming.mjs +1 -1
  80. package/dist/contract__index-type-validation.d.mts +1 -1
  81. package/dist/contract__resolve-storage-table.d.mts +1 -1
  82. package/dist/contract__sql-expression.d.mts +1 -1
  83. package/dist/contract__types.d.mts +8 -8
  84. package/dist/contract__types.mjs +6 -4
  85. package/dist/contract__validators.d.mts +1 -1
  86. package/dist/contract__validators.mjs +2 -2
  87. package/dist/{control-B6W_VEZ9.d.mts → control-B2CeDfVO.d.mts} +18 -18
  88. package/dist/{control-B6W_VEZ9.d.mts.map → control-B2CeDfVO.d.mts.map} +1 -1
  89. package/dist/{control-D6wIw5Fi.mjs → control-C1EjGUVq.mjs} +12 -12
  90. package/dist/{control-D6wIw5Fi.mjs.map → control-C1EjGUVq.mjs.map} +1 -1
  91. package/dist/{control-adapter-BfyLe7rh-C_rrUuhb.d.mts → control-adapter-BfyLe7rh-CiGzw3dq.d.mts} +8 -8
  92. package/dist/{control-adapter-BfyLe7rh-C_rrUuhb.d.mts.map → control-adapter-BfyLe7rh-CiGzw3dq.d.mts.map} +1 -1
  93. package/dist/{control-adapter-CZ84jQ_z.d.mts → control-adapter-BlBhW0pc.d.mts} +4 -4
  94. package/dist/{control-adapter-CZ84jQ_z.d.mts.map → control-adapter-BlBhW0pc.d.mts.map} +1 -1
  95. package/dist/{data-type-DJIvKQHf.d.mts → data-type-CR0gi2GQ.d.mts} +3 -3
  96. package/dist/{data-type-DJIvKQHf.d.mts.map → data-type-CR0gi2GQ.d.mts.map} +1 -1
  97. package/dist/{db-D1d75IvM-D5CqruQz.d.mts → db-D1d75IvM-C1lqD6a2.d.mts} +13 -13
  98. package/dist/{db-D1d75IvM-D5CqruQz.d.mts.map → db-D1d75IvM-C1lqD6a2.d.mts.map} +1 -1
  99. package/dist/{ddl-types-BeA1kjV1-C4d5owxE.d.mts → ddl-types-BeA1kjV1-BUcW52Dx.d.mts} +3 -3
  100. package/dist/{ddl-types-BeA1kjV1-C4d5owxE.d.mts.map → ddl-types-BeA1kjV1-BUcW52Dx.d.mts.map} +1 -1
  101. package/dist/{default-mapping-CAOONlKQ-4m07nb-O.d.mts → default-mapping-CAOONlKQ-CIg7JCfF.d.mts} +2 -2
  102. package/dist/{default-mapping-CAOONlKQ-4m07nb-O.d.mts.map → default-mapping-CAOONlKQ-CIg7JCfF.d.mts.map} +1 -1
  103. package/dist/{derived-checks-D5HVRvqN-BJx1gwPA.mjs → derived-checks-BuTkSE9l-gyx0d0dX.mjs} +155 -39
  104. package/dist/derived-checks-BuTkSE9l-gyx0d0dX.mjs.map +1 -0
  105. package/dist/{derived-checks-DpPkO6Dt-9U9UJZOo.d.mts → derived-checks-DpPkO6Dt-CQIM17j5.d.mts} +3 -3
  106. package/dist/{derived-checks-DpPkO6Dt-9U9UJZOo.d.mts.map → derived-checks-DpPkO6Dt-CQIM17j5.d.mts.map} +1 -1
  107. package/dist/{diff-FNTO8gbI.d.mts → diff-BlX_rfVG.d.mts} +7 -7
  108. package/dist/{diff-FNTO8gbI.d.mts.map → diff-BlX_rfVG.d.mts.map} +1 -1
  109. package/dist/{dist-C8Y-PPuE.mjs → dist-BJjqJT_M.mjs} +5 -3
  110. package/dist/dist-BJjqJT_M.mjs.map +1 -0
  111. package/dist/{entity-kinds-JR5SAm5h-DOH6VUtL.mjs → entity-kinds-CgEwK0hH-D1NKoKE5.mjs} +25 -7
  112. package/dist/entity-kinds-CgEwK0hH-D1NKoKE5.mjs.map +1 -0
  113. package/dist/{entity-kinds-BPG2xCZV.d.mts → entity-kinds-oN1yn4vw.d.mts} +8 -7
  114. package/dist/{entity-kinds-BPG2xCZV.d.mts.map → entity-kinds-oN1yn4vw.d.mts.map} +1 -1
  115. package/dist/{exports-CGzFaakG-Dddm8emA.mjs → exports-CGzFaakG-4Aw50nT1.mjs} +3 -3
  116. package/dist/{exports-CGzFaakG-Dddm8emA.mjs.map → exports-CGzFaakG-4Aw50nT1.mjs.map} +1 -1
  117. package/dist/{expression-BWRsWR6O-BrUVz0V2.d.mts → expression-BWRsWR6O-HbWL9x9D.d.mts} +3 -3
  118. package/dist/{expression-BWRsWR6O-BrUVz0V2.d.mts.map → expression-BWRsWR6O-HbWL9x9D.d.mts.map} +1 -1
  119. package/dist/{expression-C3F6gxZH-DrYNeDbh.d.mts → expression-C3F6gxZH-EOb5cRCY.d.mts} +7 -7
  120. package/dist/{expression-C3F6gxZH-DrYNeDbh.d.mts.map → expression-C3F6gxZH-EOb5cRCY.d.mts.map} +1 -1
  121. package/dist/expression-OVCWlXHm.d.mts +2 -0
  122. package/dist/{expression-impl-DtbmFnnz-CUKzBisY.mjs → expression-impl-DtbmFnnz-Dal0IYDE.mjs} +2 -2
  123. package/dist/{expression-impl-DtbmFnnz-CUKzBisY.mjs.map → expression-impl-DtbmFnnz-Dal0IYDE.mjs.map} +1 -1
  124. package/dist/{factories-Crobuxwn.mjs → factories-B2hKDIzy.mjs} +3 -3
  125. package/dist/{factories-Crobuxwn.mjs.map → factories-B2hKDIzy.mjs.map} +1 -1
  126. package/dist/{factories-DbNP9qfs.d.mts → factories-DVgCG7DR.d.mts} +4 -4
  127. package/dist/{factories-DbNP9qfs.d.mts.map → factories-DVgCG7DR.d.mts.map} +1 -1
  128. package/dist/family.d.mts +15 -15
  129. package/dist/family.mjs +6 -6
  130. package/dist/family__control-adapter.d.mts +2 -2
  131. package/dist/family__control.d.mts +4 -4
  132. package/dist/family__control.mjs +3 -3
  133. package/dist/family__diff.d.mts +1 -1
  134. package/dist/family__diff.mjs +1 -1
  135. package/dist/family__ir.d.mts +1 -1
  136. package/dist/family__ir.mjs +1 -1
  137. package/dist/family__migration.d.mts +1 -1
  138. package/dist/family__pack.d.mts +1 -1
  139. package/dist/family__pack.mjs +2 -2
  140. package/dist/family__psl-build.d.mts +2 -2
  141. package/dist/family__psl-infer.d.mts +1 -1
  142. package/dist/family__psl-infer.mjs +1 -1
  143. package/dist/family__runtime.d.mts +2 -2
  144. package/dist/{foreign-key-materialization-48P2V8on.d.mts → foreign-key-materialization-C53nVQuD.d.mts} +4 -4
  145. package/dist/{foreign-key-materialization-48P2V8on.d.mts.map → foreign-key-materialization-C53nVQuD.d.mts.map} +1 -1
  146. package/dist/{foreign-key-materialization-BM59w_Xg.mjs → foreign-key-materialization-CCHAR789.mjs} +5 -5
  147. package/dist/{foreign-key-materialization-BM59w_Xg.mjs.map → foreign-key-materialization-CCHAR789.mjs.map} +1 -1
  148. package/dist/{functions-D7lN5-JU.mjs → functions-DO1k8KLB.mjs} +2 -2
  149. package/dist/{functions-D7lN5-JU.mjs.map → functions-DO1k8KLB.mjs.map} +1 -1
  150. package/dist/{functions-CQrsCHCj.d.mts → functions-PBSwFhni.d.mts} +6 -6
  151. package/dist/{functions-CQrsCHCj.d.mts.map → functions-PBSwFhni.d.mts.map} +1 -1
  152. package/dist/{generator-functions-Hy4pDDr9-AUCNpeg5.mjs → generator-functions-Hy4pDDr9-BUHOsofo.mjs} +3 -3
  153. package/dist/{generator-functions-Hy4pDDr9-AUCNpeg5.mjs.map → generator-functions-Hy4pDDr9-BUHOsofo.mjs.map} +1 -1
  154. package/dist/{index-0qfR8_db.d.mts → index-BAI1gH-I.d.mts} +21 -21
  155. package/dist/{index-0qfR8_db.d.mts.map → index-BAI1gH-I.d.mts.map} +1 -1
  156. package/dist/{index-Nqc3OHR_.d.mts → index-BWWwt5hB.d.mts} +3 -3
  157. package/dist/{index-Nqc3OHR_.d.mts.map → index-BWWwt5hB.d.mts.map} +1 -1
  158. package/dist/{index-equivalence-DswCiq5l-CGsyPP9B.mjs → index-equivalence-DswCiq5l-9GNm8oG9.mjs} +2 -2
  159. package/dist/{index-equivalence-DswCiq5l-CGsyPP9B.mjs.map → index-equivalence-DswCiq5l-9GNm8oG9.mjs.map} +1 -1
  160. package/dist/{index-naming-BOcJT1B3-mG8Fd6KN.mjs → index-naming-BOcJT1B3-D-49owHA.mjs} +2 -2
  161. package/dist/{index-naming-BOcJT1B3-mG8Fd6KN.mjs.map → index-naming-BOcJT1B3-D-49owHA.mjs.map} +1 -1
  162. package/dist/{index-naming-Cs6wwia3.d.mts → index-naming-DqjO4p5R.d.mts} +2 -2
  163. package/dist/{index-naming-Cs6wwia3.d.mts.map → index-naming-DqjO4p5R.d.mts.map} +1 -1
  164. package/dist/index-reference-D3p5ziNG.d.mts +1 -0
  165. package/dist/{index-reference-YHvh6wAL-BAhOS7RC.d.mts → index-reference-YHvh6wAL-BupQRpkE.d.mts} +4 -4
  166. package/dist/{index-reference-YHvh6wAL-BAhOS7RC.d.mts.map → index-reference-YHvh6wAL-BupQRpkE.d.mts.map} +1 -1
  167. package/dist/{index-type-validation-fGGwAHWc.d.mts → index-type-validation-BFJlwjWi.d.mts} +3 -3
  168. package/dist/{index-type-validation-fGGwAHWc.d.mts.map → index-type-validation-BFJlwjWi.d.mts.map} +1 -1
  169. package/dist/{interpreter-CS21wD1i-G0u1x8t_.mjs → interpreter-CrQFtK4p-CM5k_t4g.mjs} +80 -43
  170. package/dist/interpreter-CrQFtK4p-CM5k_t4g.mjs.map +1 -0
  171. package/dist/{ir-BvptQsFW.d.mts → ir-CZ5Ks7EA.d.mts} +4 -4
  172. package/dist/{ir-BvptQsFW.d.mts.map → ir-CZ5Ks7EA.d.mts.map} +1 -1
  173. package/dist/middleware-Dp3CD7yZ.d.mts +1 -0
  174. package/dist/{middleware-JfHt_Ax8-DKXbos9y.d.mts → middleware-JfHt_Ax8-rWWdDxnq.d.mts} +2 -2
  175. package/dist/{middleware-JfHt_Ax8-DKXbos9y.d.mts.map → middleware-JfHt_Ax8-rWWdDxnq.d.mts.map} +1 -1
  176. package/dist/{migration-qalbcIUs.d.mts → migration-B35kGD-7.d.mts} +4 -4
  177. package/dist/{migration-qalbcIUs.d.mts.map → migration-B35kGD-7.d.mts.map} +1 -1
  178. package/dist/{naming-BcD36g9T-Mfe_xGGL.d.mts → naming-CLfASFf7-HRjmKe43.d.mts} +9 -4
  179. package/dist/naming-CLfASFf7-HRjmKe43.d.mts.map +1 -0
  180. package/dist/{naming-bM5qm5PY-jOg3JFMb.mjs → naming-DEpT6Zad-C9PFkWt6.mjs} +5 -4
  181. package/dist/naming-DEpT6Zad-C9PFkWt6.mjs.map +1 -0
  182. package/dist/operations.d.mts +1 -1
  183. package/dist/orm-client.d.mts +22 -22
  184. package/dist/orm-client.mjs +7 -7
  185. package/dist/{pack-Cap3oVPy.d.mts → pack-BPbz6RVm.d.mts} +4 -4
  186. package/dist/{pack-Cap3oVPy.d.mts.map → pack-BPbz6RVm.d.mts.map} +1 -1
  187. package/dist/{plan-CMqVpPq6-Bllx5Zpk.d.mts → plan-CMqVpPq6-Aoza6Dp2.d.mts} +4 -4
  188. package/dist/{plan-CMqVpPq6-Bllx5Zpk.d.mts.map → plan-CMqVpPq6-Aoza6Dp2.d.mts.map} +1 -1
  189. package/dist/plan-DINEcqC1.d.mts +2 -0
  190. package/dist/{psl-build-RelubU2E.d.mts → psl-build-CNncjpsa.d.mts} +6 -6
  191. package/dist/{psl-build-RelubU2E.d.mts.map → psl-build-CNncjpsa.d.mts.map} +1 -1
  192. package/dist/{psl-column-resolution-djGEITmJ-B5iMpe8H.d.mts → psl-column-resolution-djGEITmJ-DfEOkjPf.d.mts} +3 -3
  193. package/dist/{psl-column-resolution-djGEITmJ-B5iMpe8H.d.mts.map → psl-column-resolution-djGEITmJ-DfEOkjPf.d.mts.map} +1 -1
  194. package/dist/{psl-field-resolution-Bvhx79fP-CQqHf_L4.mjs → psl-field-resolution-Bvhx79fP-CuyYFk8z.mjs} +4 -4
  195. package/dist/{psl-field-resolution-Bvhx79fP-CQqHf_L4.mjs.map → psl-field-resolution-Bvhx79fP-CuyYFk8z.mjs.map} +1 -1
  196. package/dist/{psl-infer-DzoxPZGd.d.mts → psl-infer-BkkoyXmM.d.mts} +4 -4
  197. package/dist/{psl-infer-DzoxPZGd.d.mts.map → psl-infer-BkkoyXmM.d.mts.map} +1 -1
  198. package/dist/{psl-infer--g4i84Go.mjs → psl-infer-C9kVS9ma.mjs} +2 -2
  199. package/dist/{psl-infer--g4i84Go.mjs.map → psl-infer-C9kVS9ma.mjs.map} +1 -1
  200. package/dist/query-lane-context-DL6bwl6k.d.mts +1 -0
  201. package/dist/{query-lane-context-DLSXDsDK-pEiQmuYy.d.mts → query-lane-context-DLSXDsDK-CGSahS15.d.mts} +8 -8
  202. package/dist/{query-lane-context-DLSXDsDK-pEiQmuYy.d.mts.map → query-lane-context-DLSXDsDK-CGSahS15.d.mts.map} +1 -1
  203. package/dist/relational-core.d.mts +12 -12
  204. package/dist/relational-core.mjs +2 -2
  205. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  206. package/dist/relational-core__ast.d.mts +3 -3
  207. package/dist/relational-core__ast.mjs +1 -1
  208. package/dist/relational-core__codec-descriptor-registry.d.mts +4 -4
  209. package/dist/relational-core__codec-descriptor-registry.mjs +1 -1
  210. package/dist/relational-core__collection-methods.d.mts +2 -2
  211. package/dist/relational-core__contract-free.d.mts +4 -4
  212. package/dist/relational-core__expression.d.mts +3 -3
  213. package/dist/relational-core__expression.mjs +1 -1
  214. package/dist/relational-core__functions.d.mts +1 -1
  215. package/dist/relational-core__functions.mjs +1 -1
  216. package/dist/relational-core__index-reference.d.mts +2 -2
  217. package/dist/relational-core__middleware.d.mts +2 -2
  218. package/dist/relational-core__plan.d.mts +3 -3
  219. package/dist/relational-core__query-lane-context.d.mts +2 -2
  220. package/dist/relational-core__types.d.mts +2 -2
  221. package/dist/{resolve-storage-table-DCqtmnSU.d.mts → resolve-storage-table-D1rXCcCk.d.mts} +3 -3
  222. package/dist/{resolve-storage-table-DCqtmnSU.d.mts.map → resolve-storage-table-D1rXCcCk.d.mts.map} +1 -1
  223. package/dist/{runtime-JKWb27L5.d.mts → runtime-BrBva2ta.d.mts} +2 -2
  224. package/dist/{runtime-JKWb27L5.d.mts.map → runtime-BrBva2ta.d.mts.map} +1 -1
  225. package/dist/runtime.d.mts +4 -4
  226. package/dist/runtime.mjs +1 -1
  227. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  228. package/dist/{schema-differ-DmP74bB8-tqHKiJ88.d.mts → schema-differ-DmP74bB8-BXkhxcPs.d.mts} +5 -5
  229. package/dist/{schema-differ-DmP74bB8-tqHKiJ88.d.mts.map → schema-differ-DmP74bB8-BXkhxcPs.d.mts.map} +1 -1
  230. package/dist/schema-ir.d.mts +1 -1
  231. package/dist/schema-ir.mjs +1 -1
  232. package/dist/schema-ir__naming.d.mts +2 -2
  233. package/dist/schema-ir__naming.mjs +2 -2
  234. package/dist/schema-ir__types.d.mts +2 -2
  235. package/dist/schema-ir__types.mjs +1 -1
  236. package/dist/{schema-verify-C3wbdviw-DMjIubOr.mjs → schema-verify-C3wbdviw-mlPO4NkT.mjs} +3 -3
  237. package/dist/{schema-verify-C3wbdviw-DMjIubOr.mjs.map → schema-verify-C3wbdviw-mlPO4NkT.mjs.map} +1 -1
  238. package/dist/{serialized-index-DjCCnXB1-DMA7BtO2.mjs → serialized-index-BefvjuZ0-Bbsja7If.mjs} +14 -27
  239. package/dist/serialized-index-BefvjuZ0-Bbsja7If.mjs.map +1 -0
  240. package/dist/{serialized-index-CrgG8ct1-DKVJ7TDX.d.mts → serialized-index-CrgG8ct1-Duy5-kFV.d.mts} +3 -3
  241. package/dist/{serialized-index-CrgG8ct1-DKVJ7TDX.d.mts.map → serialized-index-CrgG8ct1-Duy5-kFV.d.mts.map} +1 -1
  242. package/dist/{sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs → sql-contract-serializer-sMY3prTx-aQd4v3fE.mjs} +4 -4
  243. package/dist/{sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs.map → sql-contract-serializer-sMY3prTx-aQd4v3fE.mjs.map} +1 -1
  244. package/dist/{sql-execution-plan-CN-FEwrR-CzRFoxKR.d.mts → sql-execution-plan-CN-FEwrR-BEJ0-g83.d.mts} +2 -2
  245. package/dist/{sql-execution-plan-CN-FEwrR-CzRFoxKR.d.mts.map → sql-execution-plan-CN-FEwrR-BEJ0-g83.d.mts.map} +1 -1
  246. package/dist/{sql-expression-B4BrhGPi.d.mts → sql-expression-1yO8GiBc.d.mts} +2 -2
  247. package/dist/{sql-expression-B4BrhGPi.d.mts.map → sql-expression-1yO8GiBc.d.mts.map} +1 -1
  248. package/dist/{sql-index-ByAAE7K8-Dqtn_vUL.d.mts → sql-index-ByAAE7K8-4TUFKGLK.d.mts} +2 -2
  249. package/dist/{sql-index-ByAAE7K8-Dqtn_vUL.d.mts.map → sql-index-ByAAE7K8-4TUFKGLK.d.mts.map} +1 -1
  250. package/dist/sql-node-D8P0akYY-RVytYXDZ.mjs +50 -0
  251. package/dist/sql-node-D8P0akYY-RVytYXDZ.mjs.map +1 -0
  252. package/dist/{sql-storage-DeCAh5Hi-CEM-m8cs.d.mts → sql-storage-B_AM6tU1-BOPQxXo7.d.mts} +6 -5
  253. package/dist/{sql-storage-DeCAh5Hi-CEM-m8cs.d.mts.map → sql-storage-B_AM6tU1-BOPQxXo7.d.mts.map} +1 -1
  254. package/dist/{storage-table-DDvN83mw-DkbBFmK9.mjs → storage-table-B_MrLtQX-eWx6BgGT.mjs} +7 -50
  255. package/dist/storage-table-B_MrLtQX-eWx6BgGT.mjs.map +1 -0
  256. package/dist/{storage-table-Bf1ZjnxO-pUj6pyP0.d.mts → storage-value-object-BcvIeUr8-DiiZNIrZ.d.mts} +23 -6
  257. package/dist/storage-value-object-BcvIeUr8-DiiZNIrZ.d.mts.map +1 -0
  258. package/dist/storage-value-set-uGUEBAMJ-hX-zFqN5.mjs +38 -0
  259. package/dist/storage-value-set-uGUEBAMJ-hX-zFqN5.mjs.map +1 -0
  260. package/dist/{transaction-state-DR3nKTmH-BIKF_fP6.d.mts → transaction-state-DR3nKTmH-C3wq6dCB.d.mts} +9 -9
  261. package/dist/{transaction-state-DR3nKTmH-BIKF_fP6.d.mts.map → transaction-state-DR3nKTmH-C3wq6dCB.d.mts.map} +1 -1
  262. package/dist/{types-DoyiTsjg-2YMhMJDA.mjs → types-1ZKE0deC-Dou4ugcz.mjs} +3 -3
  263. package/dist/{types-DoyiTsjg-2YMhMJDA.mjs.map → types-1ZKE0deC-Dou4ugcz.mjs.map} +1 -1
  264. package/dist/types-B-dwfOwQ.d.mts +1 -0
  265. package/dist/{types-CTdSkl0s.mjs → types-CISwoRED.mjs} +2 -2
  266. package/dist/types-CISwoRED.mjs.map +1 -0
  267. package/dist/{types-COXfSNOP-DcuULeD9.d.mts → types-COXfSNOP-D9vt9QDL.d.mts} +9 -9
  268. package/dist/{types-COXfSNOP-DcuULeD9.d.mts.map → types-COXfSNOP-D9vt9QDL.d.mts.map} +1 -1
  269. package/dist/{types-CkAd8SWm.d.mts → types-CXRxo_TK.d.mts} +7 -7
  270. package/dist/{types-CkAd8SWm.d.mts.map → types-CXRxo_TK.d.mts.map} +1 -1
  271. package/dist/types-DIoM5Ft3.d.mts +1 -0
  272. package/dist/{types-DfKvtJwS-CrpWTGBJ.d.mts → types-DNTLudNR-DiVulPhL.d.mts} +7 -7
  273. package/dist/{types-DfKvtJwS-CrpWTGBJ.d.mts.map → types-DNTLudNR-DiVulPhL.d.mts.map} +1 -1
  274. package/dist/{types-NgqqVAo5-Be_uYGQx.d.mts → types-NgqqVAo5-CJG02ILZ.d.mts} +10 -10
  275. package/dist/{types-NgqqVAo5-Be_uYGQx.d.mts.map → types-NgqqVAo5-CJG02ILZ.d.mts.map} +1 -1
  276. package/dist/{types-CuCxAQat-Dz8P4xyt.d.mts → types-fmtEmvj3-B0fQaVes.d.mts} +4 -4
  277. package/dist/{types-CuCxAQat-Dz8P4xyt.d.mts.map → types-fmtEmvj3-B0fQaVes.d.mts.map} +1 -1
  278. package/dist/{types-ijhejJhK-EdACW3bY.d.mts → types-ijhejJhK-BqfwP5Cc.d.mts} +2 -2
  279. package/dist/{types-ijhejJhK-EdACW3bY.d.mts.map → types-ijhejJhK-BqfwP5Cc.d.mts.map} +1 -1
  280. package/dist/{validators-BwA7ttZM.mjs → validators-CnQqLEIi.mjs} +29 -30
  281. package/dist/validators-CnQqLEIi.mjs.map +1 -0
  282. package/dist/{validators-FJs8HvFr.d.mts → validators-Dt-19ywK.d.mts} +4 -4
  283. package/dist/{validators-FJs8HvFr.d.mts.map → validators-Dt-19ywK.d.mts.map} +1 -1
  284. package/package.json +20 -18
  285. package/dist/ast-DcphKbq9.d.mts.map +0 -1
  286. package/dist/ast-e_02t9Nt.mjs.map +0 -1
  287. package/dist/collection-methods-FWiYjZ5j.d.mts +0 -1
  288. package/dist/contract-builder-B-Q9T1CO.d.mts.map +0 -1
  289. package/dist/contract-view-DqpzeYeE.mjs.map +0 -1
  290. package/dist/derived-checks-D5HVRvqN-BJx1gwPA.mjs.map +0 -1
  291. package/dist/dist-C8Y-PPuE.mjs.map +0 -1
  292. package/dist/entity-kinds-JR5SAm5h-DOH6VUtL.mjs.map +0 -1
  293. package/dist/expression-CQHy0GY7.d.mts +0 -2
  294. package/dist/index-reference-BVkoanQn.d.mts +0 -1
  295. package/dist/interpreter-CS21wD1i-G0u1x8t_.mjs.map +0 -1
  296. package/dist/middleware-DYiOUIpn.d.mts +0 -1
  297. package/dist/naming-BcD36g9T-Mfe_xGGL.d.mts.map +0 -1
  298. package/dist/naming-bM5qm5PY-jOg3JFMb.mjs.map +0 -1
  299. package/dist/plan-Cg0h96GD.d.mts +0 -2
  300. package/dist/query-lane-context-Dqs5qCXx.d.mts +0 -1
  301. package/dist/serialized-index-DjCCnXB1-DMA7BtO2.mjs.map +0 -1
  302. package/dist/storage-table-Bf1ZjnxO-pUj6pyP0.d.mts.map +0 -1
  303. package/dist/storage-table-DDvN83mw-DkbBFmK9.mjs.map +0 -1
  304. package/dist/types-CTdSkl0s.mjs.map +0 -1
  305. package/dist/types-CvmPNREJ.d.mts +0 -1
  306. package/dist/types-ljUNyiWe.d.mts +0 -1
  307. package/dist/validators-BwA7ttZM.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import { c as AnyExpression } from "./types-ijhejJhK-EdACW3bY.mjs";
2
- import { o as Expression, x as ScopeField } from "./expression-C3F6gxZH-DrYNeDbh.mjs";
1
+ import { c as AnyExpression } from "./types-ijhejJhK-BqfwP5Cc.mjs";
2
+ import { o as Expression, x as ScopeField } from "./expression-C3F6gxZH-EOb5cRCY.mjs";
3
3
  //#region ../../../2-sql-family/4-lanes/relational-core/dist/expression-BWRsWR6O.d.mts
4
4
  //#region src/expression-impl.d.ts
5
5
  /**
@@ -19,4 +19,4 @@ declare class ExpressionImpl<T extends ScopeField = ScopeField> implements Expre
19
19
  }
20
20
  //#endregion
21
21
  export { ExpressionImpl as t };
22
- //# sourceMappingURL=expression-BWRsWR6O-BrUVz0V2.d.mts.map
22
+ //# sourceMappingURL=expression-BWRsWR6O-HbWL9x9D.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expression-BWRsWR6O-BrUVz0V2.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/expression-BWRsWR6O.d.mts"],"mappings":";;;;;;;;;;;cAUc,eAAe,UAAU,aAAa,uBAAuB,WAAW;mBACnE;mBACA;WACR,YAAY;EACrB,YAAY,KAAK,eAAe,YAAY,GAAG,gBAAgB;EAC/D,YAAY;EACZ,sBAAsB"}
1
+ {"version":3,"file":"expression-BWRsWR6O-HbWL9x9D.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/expression-BWRsWR6O.d.mts"],"mappings":";;;;;;;;;;;cAUc,eAAe,UAAU,aAAa,uBAAuB,WAAW;mBACnE;mBACA;WACR,YAAY;EACrB,YAAY,KAAK,eAAe,YAAY,GAAG,gBAAgB;EAC/D,YAAY;EACZ,sBAAsB"}
@@ -1,10 +1,10 @@
1
- import { l as SqlStorage } from "./sql-storage-DeCAh5Hi-CEM-m8cs.mjs";
2
- import { w as QueryOperationReturn } from "./types-DfKvtJwS-CrpWTGBJ.mjs";
3
- import "./types-CkAd8SWm.mjs";
4
- import { t as SqlLoweringSpec } from "./index-Nqc3OHR_.mjs";
5
- import { At as RawQueryColumn, E as CodecRef$1, Mt as RawSqlLiteral, c as AnyExpression, kt as RawQueryAst, wt as ParamRef } from "./types-ijhejJhK-EdACW3bY.mjs";
1
+ import { l as SqlStorage } from "./sql-storage-B_AM6tU1-BOPQxXo7.mjs";
2
+ import { w as QueryOperationReturn } from "./types-DNTLudNR-DiVulPhL.mjs";
3
+ import "./types-CXRxo_TK.mjs";
4
+ import { t as SqlLoweringSpec } from "./index-BWWwt5hB.mjs";
5
+ import { At as RawQueryColumn, E as CodecRef$1, Mt as RawSqlLiteral, c as AnyExpression, kt as RawQueryAst, wt as ParamRef } from "./types-ijhejJhK-BqfwP5Cc.mjs";
6
6
  import { l as SqlStatementStats } from "./driver-types-DRsYeq3j-BimeCnUk.mjs";
7
- import { n as SqlQueryPlan } from "./plan-CMqVpPq6-Bllx5Zpk.mjs";
7
+ import { n as SqlQueryPlan } from "./plan-CMqVpPq6-Aoza6Dp2.mjs";
8
8
  import { Contract } from "@prisma/orm-framework/contract/types";
9
9
  import { ParamSpec } from "@prisma/orm-framework/operations";
10
10
  //#region ../../../2-sql-family/4-lanes/relational-core/dist/expression-C3F6gxZH.d.mts
@@ -275,4 +275,4 @@ declare function createRawSql(adapter: RawCodecInferer, planContext: RawPlanCont
275
275
  declare function createRawSql(adapter: RawCodecInferer): RawSqlTag;
276
276
  //#endregion
277
277
  export { TraitExpression as C, isExpression as D, createRawSql as E, param as O, StorageColumnScopeField as S, codecOf as T, RawSqlStatementBuilder as _, CodecValue as a, ScalarListExpression as b, RawAffectedCountQuery as c, RawRow as d, RawRowQuery as f, RawSqlInterpolation as g, RawSqlBuilder as h, CodecTypesBase as i, toExpr as k, RawCodecInferer as l, RawRowSpecEntry as m, BuildOperationSpec as n, Expression as o, RawRowSpec as p, CodecExpression as r, NoReservedRowColumn as s, AffectedCount as t, RawPlanContext as u, RawSqlStatementTag as v, buildOperation as w, ScopeField as x, RawSqlTag as y };
278
- //# sourceMappingURL=expression-C3F6gxZH-DrYNeDbh.d.mts.map
278
+ //# sourceMappingURL=expression-C3F6gxZH-EOb5cRCY.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expression-C3F6gxZH-DrYNeDbh.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/expression-C3F6gxZH.d.mts"],"mappings":";;;;;;;;;;;KAQK;EACH;EACA;;;;;;;;EAQA;;;;EAIA,QAAQ;;;KAGL,wBAAwB;WAClB;WACA;;EAET,SAAS;EACT,UAAU;KACP;EACH;;EAEA;IACE;KACC,iBAAiB;WACX;WACA;;;;;KAKN,WAAW,UAAU,cAAc;WAC7B,YAAY;EACrB,YAAY;;KAET,kBAAkB,WAAW;WACvB;IACP,+CAA+C,WAAW,cAAc,GAAG;WACpE,cAAc;KACpB,iCAAiC,KAAK,2BAA2B;KACjE,WAAW,KAAK;;;;;KAKhB,WAAW,wBAAwB,0BAA0B,WAAW;WAClE;OACJ,sBAAsB,KAAK,GAAG,6BAA6B,WAAW;;;;;;;;;;;;;;;KAexE,gBAAgB,wBAAwB,0BAA0B,WAAW;WACvE;MACL;EACJ,SAAS;EACT,UAAU;EACV;KACG,WAAW,SAAS,UAAU;;;;;;;KAO9B,qBAAqB,wBAAwB,4BAA4B;EAC5E,SAAS;EACT,UAAU;EACV;;;;;;;KAOG,gBAAgB,kCAAkC,0BAA0B,WAAW;WACjF;MACL,gBAAgB,kBAAkB,IAAI,SAAS,UAAU;;;;;;;;iBAQ9C,OAAO,gBAAgB,QAAQ,aAAW;;;;iBAI1C,MAAM,GAAG,OAAO,GAAG;EAClC;IACE;;;;;;;;;;iBAUa,QAAQ,iBAAiB;iBACzB,aAAa,iBAAiB,SAAS,WAAW;UACzD,mBAAmB,UAAU;WAC5B;;;;WAIA,gBAAgB,kBAAkB;WAClC,SAAS,IAAI;WACb,UAAU;;;;;iBAKJ,eAAe,UAAU,YAAY,MAAM,mBAAmB,KAAK,WAAW;;;;;;;;;;;;;UAarF;EACR,WAAW,OAAO;;;UAGV;EACR,QAAQ,kBAAkB,MAAM,IAAI;IAClC,SAAS;IACT;;EAEF,QAAQ,kBAAkB,2BAA2B;aAC1C,SAAS;aACT,WAAW;MAClB;IACF,SAAS;IACT,UAAU;;;;;;;;;KAST;WACM;WACA;;;;;;;;;KASN;WACM;;;KAGN,aAAa,SAAS,eAAe,oBAAoB;;;;;;KAMzD,OAAO,aAAa,0BAA0B,WAAW;;;;;UAKpD;WACC,UAAU,SAAS;WACnB;;;;;;;;;;UAUD,YAAY,eAAe,aAAa,SAAS,eAAe,mBAAmB,SAAS,eAAe;;;;;;;;;WAS1G,SAAS;EAClB,YAAY;EACZ,SAAS,aAAa;;cAEV;;;;;;;;;;UAUJ,sBAAsB;YACpB;;;;;;;;UAQF;EACR,SAAS,aAAa;;;;;;;UAOd,+BAA+B;EACvC,WAAW,aAAa,YAAY,MAAM,OAAO,YAAY,OAAO;EACpE,iBAAiB;;;KAGd,aAAa,SAAS,yBAAyB,QAAQ,0BAA0B;;KAEjF,sBAAsB,SAAS,yBAAyB,QAAQ,0BAA0B;;KAE1F,uBAAuB,WAAW,cAAc,WAAW;;KAE3D,sBAAsB,uBAAuB;;;;;;;;iBAQjC,aAAa,SAAS,iBAAiB,aAAa,iBAAiB;iBACrE,aAAa,SAAS,kBAAkB"}
1
+ {"version":3,"file":"expression-C3F6gxZH-EOb5cRCY.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/expression-C3F6gxZH.d.mts"],"mappings":";;;;;;;;;;;KAQK;EACH;EACA;;;;;;;;EAQA;;;;EAIA,QAAQ;;;KAGL,wBAAwB;WAClB;WACA;;EAET,SAAS;EACT,UAAU;KACP;EACH;;EAEA;IACE;KACC,iBAAiB;WACX;WACA;;;;;KAKN,WAAW,UAAU,cAAc;WAC7B,YAAY;EACrB,YAAY;;KAET,kBAAkB,WAAW;WACvB;IACP,+CAA+C,WAAW,cAAc,GAAG;WACpE,cAAc;KACpB,iCAAiC,KAAK,2BAA2B;KACjE,WAAW,KAAK;;;;;KAKhB,WAAW,wBAAwB,0BAA0B,WAAW;WAClE;OACJ,sBAAsB,KAAK,GAAG,6BAA6B,WAAW;;;;;;;;;;;;;;;KAexE,gBAAgB,wBAAwB,0BAA0B,WAAW;WACvE;MACL;EACJ,SAAS;EACT,UAAU;EACV;KACG,WAAW,SAAS,UAAU;;;;;;;KAO9B,qBAAqB,wBAAwB,4BAA4B;EAC5E,SAAS;EACT,UAAU;EACV;;;;;;;KAOG,gBAAgB,kCAAkC,0BAA0B,WAAW;WACjF;MACL,gBAAgB,kBAAkB,IAAI,SAAS,UAAU;;;;;;;;iBAQ9C,OAAO,gBAAgB,QAAQ,aAAW;;;;iBAI1C,MAAM,GAAG,OAAO,GAAG;EAClC;IACE;;;;;;;;;;iBAUa,QAAQ,iBAAiB;iBACzB,aAAa,iBAAiB,SAAS,WAAW;UACzD,mBAAmB,UAAU;WAC5B;;;;WAIA,gBAAgB,kBAAkB;WAClC,SAAS,IAAI;WACb,UAAU;;;;;iBAKJ,eAAe,UAAU,YAAY,MAAM,mBAAmB,KAAK,WAAW;;;;;;;;;;;;;UAarF;EACR,WAAW,OAAO;;;UAGV;EACR,QAAQ,kBAAkB,MAAM,IAAI;IAClC,SAAS;IACT;;EAEF,QAAQ,kBAAkB,2BAA2B;aAC1C,SAAS;aACT,WAAW;MAClB;IACF,SAAS;IACT,UAAU;;;;;;;;;KAST;WACM;WACA;;;;;;;;;KASN;WACM;;;KAGN,aAAa,SAAS,eAAe,oBAAoB;;;;;;KAMzD,OAAO,aAAa,0BAA0B,WAAW;;;;;UAKpD;WACC,UAAU,SAAS;WACnB;;;;;;;;;;UAUD,YAAY,eAAe,aAAa,SAAS,eAAe,mBAAmB,SAAS,eAAe;;;;;;;;;WAS1G,SAAS;EAClB,YAAY;EACZ,SAAS,aAAa;;cAEV;;;;;;;;;;UAUJ,sBAAsB;YACpB;;;;;;;;UAQF;EACR,SAAS,aAAa;;;;;;;UAOd,+BAA+B;EACvC,WAAW,aAAa,YAAY,MAAM,OAAO,YAAY,OAAO;EACpE,iBAAiB;;;KAGd,aAAa,SAAS,yBAAyB,QAAQ,0BAA0B;;KAEjF,sBAAsB,SAAS,yBAAyB,QAAQ,0BAA0B;;KAE1F,uBAAuB,WAAW,cAAc,WAAW;;KAE3D,sBAAsB,uBAAuB;;;;;;;;iBAQjC,aAAa,SAAS,iBAAiB,aAAa,iBAAiB;iBACrE,aAAa,SAAS,kBAAkB"}
@@ -0,0 +1,2 @@
1
+ import "./expression-C3F6gxZH-EOb5cRCY.mjs";
2
+ import "./expression-BWRsWR6O-HbWL9x9D.mjs";
@@ -1,7 +1,7 @@
1
1
  import { A as ParamRef, D as OperationExpr, N as RawExpr, P as RawQueryAst } from "./types-BkTuhW3Z-BJfTjcxS.mjs";
2
2
  import { t as planFromAst } from "./plan-Dh0LbYIv-ubBSdUgl.mjs";
3
- import { runtimeError } from "@prisma/orm-framework/components/runtime";
4
3
  import { invariant } from "@prisma/orm-framework/utils/assertions";
4
+ import { runtimeError } from "@prisma/orm-framework/components/runtime";
5
5
  //#region ../../../2-sql-family/4-lanes/relational-core/dist/expression-impl-DtbmFnnz.mjs
6
6
  /**
7
7
  * Resolve a raw value or an Expression into an AST expression node.
@@ -168,4 +168,4 @@ var ExpressionImpl = class {
168
168
  //#endregion
169
169
  export { isExpression as a, createRawSql as i, buildOperation as n, param as o, codecOf as r, toExpr as s, ExpressionImpl as t };
170
170
 
171
- //# sourceMappingURL=expression-impl-DtbmFnnz-CUKzBisY.mjs.map
171
+ //# sourceMappingURL=expression-impl-DtbmFnnz-Dal0IYDE.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"expression-impl-DtbmFnnz-CUKzBisY.mjs","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/expression-impl-DtbmFnnz.mjs"],"sourcesContent":["import { A as ParamRef, D as OperationExpr, N as RawExpr, P as RawQueryAst } from \"./types-BkTuhW3Z.mjs\";\nimport { t as planFromAst } from \"./plan-Dh0LbYIv.mjs\";\nimport { runtimeError } from \"@internal/framework-components/runtime\";\nimport { invariant } from \"@internal/utils/assertions\";\n//#region src/expression.ts\n/**\n* Resolve a raw value or an Expression into an AST expression node.\n*\n* When `value` is an object with a callable `buildAst`, the AST it wraps is returned. Otherwise the value is embedded as a ParamRef tagged with the caller-supplied {@link CodecRef} (when known). The runtime resolves the ref via `contractCodecs.forCodecRef(codec)`; content-keyed memoisation collapses repeated lookups for the same logical column onto one shared codec.\n*\n* Operation implementations that compare a column-bound expression to a user value derive the column's {@link CodecRef} from the column-bound side (via {@link codecOf}) and forward it here so encode-side dispatch resolves to the per-instance codec for parameterized codec ids (`vector(1024)` vs. `vector(1536)`).\n*/\nfunction toExpr(value, codec) {\n\tif (isExpression(value)) return value.buildAst();\n\tif (codec === void 0) throw runtimeError(\"RUNTIME.PARAM_REF_CODEC_REQUIRED\", `Cannot construct a ParamRef for a ${value === null ? \"null\" : typeof value} value without an explicit codec. Provide a CodecRef at the call site or use a column-bound builder path.`);\n\treturn ParamRef.of(value, { codec });\n}\n/**\n* Construct a `ParamRef` for a value whose codec identity is known at call time. Use this when interpolating a value into a raw SQL expression and the codec cannot be inferred from context — e.g. `param(myDate, { codecId: 'pg/timestamptz-temporal@1' })`.\n*/\nfunction param(value, opts) {\n\treturn ParamRef.of(value, { codec: { codecId: opts.codecId } });\n}\n/**\n* Derive the {@link CodecRef} carried by an expression-like value.\n*\n* Resolution order:\n* 1. `wrapper.returnType.codec` — scope-level codec when the scope was built from contract storage.\n* 2. `{ codecId: wrapper.returnType.codecId }` — minimal ref derived from the expression's declared codec id (covers synthetic expressions like `count()` whose returnType has a known codec id but no explicit column binding).\n*\n* Returns `undefined` for raw scalar values (non-expression-like).\n*/\nfunction codecOf(value) {\n\tif (!isExpression(value)) return void 0;\n\treturn value.returnType?.codec ?? (value.returnType?.codecId ? { codecId: value.returnType.codecId } : void 0);\n}\nfunction isExpression(value) {\n\treturn typeof value === \"object\" && value !== null && \"buildAst\" in value && typeof value.buildAst === \"function\";\n}\n/**\n* Construct an OperationExpr AST node and wrap it as a typed Expression. Operation implementations use this to turn their user-facing arguments into the AST node the compilation pipeline eventually lowers to SQL.\n*/\nfunction buildOperation(spec) {\n\tconst [self, ...rest] = spec.args;\n\tconst op = new OperationExpr({\n\t\tmethod: spec.method,\n\t\tself,\n\t\targs: rest.length > 0 ? rest : void 0,\n\t\treturns: spec.returns,\n\t\tlowering: spec.lowering\n\t});\n\treturn {\n\t\treturnType: spec.returns,\n\t\tbuildAst: () => op\n\t};\n}\nfunction resolveInterpolation(adapter, value) {\n\tif (isExpression(value)) return value.buildAst();\n\tif (value instanceof ParamRef) return value;\n\tif (typeof value === \"number\" || typeof value === \"bigint\" || typeof value === \"string\" || typeof value === \"boolean\" || value instanceof Uint8Array) return ParamRef.of(value, { codec: { codecId: adapter.inferCodec(value) } });\n\tthrow runtimeError(\"RUNTIME.RAW_SQL_UNSUPPORTED_INTERPOLATION\", \"unsupported JS value type for raw-SQL interpolation: wrap this value in `param(...)` with an explicit codec\");\n}\nfunction isRawRowQuery(value) {\n\treturn typeof value === \"object\" && value !== null && \"buildAst\" in value && typeof value.buildAst === \"function\" && \"build\" in value && typeof value.build === \"function\";\n}\nfunction templateParts(adapter, strings, values) {\n\tconst parts = [strings[0] ?? \"\"];\n\tvalues.forEach((value, i) => {\n\t\tif (isRawRowQuery(value)) parts.push(...value.buildAst().parts);\n\t\telse parts.push(resolveInterpolation(adapter, value));\n\t\tparts.push(strings[i + 1] ?? \"\");\n\t});\n\treturn parts;\n}\n/**\n* Normalizes each authored entry to a {@link RawQueryColumn}. The record is\n* assembled with `Object.fromEntries`, which defines each key as an own\n* property: a spec built at runtime with a `__proto__` key reaches the AST,\n* which refuses it by name, rather than silently setting the record's\n* prototype and leaving the column to vanish.\n*/\nfunction resolveRowSpec(spec) {\n\treturn Object.fromEntries(Object.entries(spec).map(([name, entry]) => [name, typeof entry === \"string\" ? {\n\t\tcodecId: entry,\n\t\tnullable: false\n\t} : {\n\t\tcodecId: entry.codecId,\n\t\tnullable: entry.nullable ?? false\n\t}]));\n}\nfunction createRawSql(adapter, planContext) {\n\tif (planContext === void 0) return (strings, ...values) => new RawSqlBuilderImpl(templateParts(adapter, strings, values));\n\tconst context = planContext;\n\treturn (strings, ...values) => new RawSqlStatementBuilderImpl(templateParts(adapter, strings, values), context);\n}\nvar RawSqlBuilderImpl = class {\n\tparts;\n\tconstructor(parts) {\n\t\tthis.parts = parts;\n\t}\n\treturns(spec) {\n\t\tconst codecId = typeof spec === \"string\" ? spec : spec.codecId;\n\t\tconst nullable = typeof spec === \"string\" ? false : spec.nullable ?? false;\n\t\tconst paramSpec = {\n\t\t\tcodecId,\n\t\t\tnullable\n\t\t};\n\t\tconst node = new RawExpr({\n\t\t\tparts: this.parts,\n\t\t\treturns: paramSpec\n\t\t});\n\t\treturn {\n\t\t\treturnType: {\n\t\t\t\tcodecId,\n\t\t\t\tnullable\n\t\t\t},\n\t\t\tbuildAst: () => node\n\t\t};\n\t}\n};\nvar RawSqlStatementBuilderImpl = class extends RawSqlBuilderImpl {\n\tplanContext;\n\tconstructor(parts, planContext) {\n\t\tsuper(parts);\n\t\tthis.planContext = planContext;\n\t}\n\treturnsRow(spec) {\n\t\tconst node = RawQueryAst.rows(this.parts, resolveRowSpec(spec));\n\t\tconst result = node.result;\n\t\tinvariant(result.kind === \"rows\", \"RawQueryAst.rows built a non-rows result\");\n\t\treturn {\n\t\t\treturns: result.columns,\n\t\t\tbuildAst: () => node,\n\t\t\tbuild: () => this.planFor(node)\n\t\t};\n\t}\n\taffectedCount() {\n\t\tconst node = RawQueryAst.affectedCount(this.parts);\n\t\treturn { build: () => this.planFor(node) };\n\t}\n\tplanFor(node) {\n\t\treturn planFromAst(node, this.planContext.contract, this.planContext.laneId);\n\t}\n};\n//#endregion\n//#region src/expression-impl.ts\n/**\n* Runtime wrapper around a relational-core AST expression node. Carries ScopeField metadata (codecId, nullable) so aggregate-like combinators can propagate the input codec onto their result.\n*\n* `returnType.codec` records the column-bound codec ref when the field-proxy knows the binding — both the namespaced form (`f.user.email` → `ColumnRef`) and the top-level shortcut (`f.email` → `IdentifierRef`) stamp the ref derived from contract storage. `codecOf(expression)` exposes it for operation implementations forwarding the ref to `toExpr`.\n*\n* `projectionAst` carries the descriptor-lowered rendering of the expression, where a target declares one (e.g. SQLite's `CAST(count(*) AS TEXT)`). Lowering exists to carry the value across the driver boundary, so only the projection site consumes it — predicate and ordering positions (`buildAst()`) keep the plain form, where the rendering would change SQL semantics.\n*/\nvar ExpressionImpl = class {\n\tast;\n\tprojectionAst;\n\treturnType;\n\tconstructor(ast, returnType, projectionAst) {\n\t\tthis.ast = ast;\n\t\tthis.returnType = returnType;\n\t\tthis.projectionAst = projectionAst;\n\t}\n\tbuildAst() {\n\t\treturn this.ast;\n\t}\n\tbuildProjectionAst() {\n\t\treturn this.projectionAst ?? this.ast;\n\t}\n};\n//#endregion\nexport { isExpression as a, createRawSql as i, buildOperation as n, param as o, codecOf as r, toExpr as s, ExpressionImpl as t };\n\n//# sourceMappingURL=expression-impl-DtbmFnnz.mjs.map"],"mappings":"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"}
1
+ {"version":3,"file":"expression-impl-DtbmFnnz-Dal0IYDE.mjs","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/expression-impl-DtbmFnnz.mjs"],"sourcesContent":["import { A as ParamRef, D as OperationExpr, N as RawExpr, P as RawQueryAst } from \"./types-BkTuhW3Z.mjs\";\nimport { t as planFromAst } from \"./plan-Dh0LbYIv.mjs\";\nimport { runtimeError } from \"@internal/framework-components/runtime\";\nimport { invariant } from \"@internal/utils/assertions\";\n//#region src/expression.ts\n/**\n* Resolve a raw value or an Expression into an AST expression node.\n*\n* When `value` is an object with a callable `buildAst`, the AST it wraps is returned. Otherwise the value is embedded as a ParamRef tagged with the caller-supplied {@link CodecRef} (when known). The runtime resolves the ref via `contractCodecs.forCodecRef(codec)`; content-keyed memoisation collapses repeated lookups for the same logical column onto one shared codec.\n*\n* Operation implementations that compare a column-bound expression to a user value derive the column's {@link CodecRef} from the column-bound side (via {@link codecOf}) and forward it here so encode-side dispatch resolves to the per-instance codec for parameterized codec ids (`vector(1024)` vs. `vector(1536)`).\n*/\nfunction toExpr(value, codec) {\n\tif (isExpression(value)) return value.buildAst();\n\tif (codec === void 0) throw runtimeError(\"RUNTIME.PARAM_REF_CODEC_REQUIRED\", `Cannot construct a ParamRef for a ${value === null ? \"null\" : typeof value} value without an explicit codec. Provide a CodecRef at the call site or use a column-bound builder path.`);\n\treturn ParamRef.of(value, { codec });\n}\n/**\n* Construct a `ParamRef` for a value whose codec identity is known at call time. Use this when interpolating a value into a raw SQL expression and the codec cannot be inferred from context — e.g. `param(myDate, { codecId: 'pg/timestamptz-temporal@1' })`.\n*/\nfunction param(value, opts) {\n\treturn ParamRef.of(value, { codec: { codecId: opts.codecId } });\n}\n/**\n* Derive the {@link CodecRef} carried by an expression-like value.\n*\n* Resolution order:\n* 1. `wrapper.returnType.codec` — scope-level codec when the scope was built from contract storage.\n* 2. `{ codecId: wrapper.returnType.codecId }` — minimal ref derived from the expression's declared codec id (covers synthetic expressions like `count()` whose returnType has a known codec id but no explicit column binding).\n*\n* Returns `undefined` for raw scalar values (non-expression-like).\n*/\nfunction codecOf(value) {\n\tif (!isExpression(value)) return void 0;\n\treturn value.returnType?.codec ?? (value.returnType?.codecId ? { codecId: value.returnType.codecId } : void 0);\n}\nfunction isExpression(value) {\n\treturn typeof value === \"object\" && value !== null && \"buildAst\" in value && typeof value.buildAst === \"function\";\n}\n/**\n* Construct an OperationExpr AST node and wrap it as a typed Expression. Operation implementations use this to turn their user-facing arguments into the AST node the compilation pipeline eventually lowers to SQL.\n*/\nfunction buildOperation(spec) {\n\tconst [self, ...rest] = spec.args;\n\tconst op = new OperationExpr({\n\t\tmethod: spec.method,\n\t\tself,\n\t\targs: rest.length > 0 ? rest : void 0,\n\t\treturns: spec.returns,\n\t\tlowering: spec.lowering\n\t});\n\treturn {\n\t\treturnType: spec.returns,\n\t\tbuildAst: () => op\n\t};\n}\nfunction resolveInterpolation(adapter, value) {\n\tif (isExpression(value)) return value.buildAst();\n\tif (value instanceof ParamRef) return value;\n\tif (typeof value === \"number\" || typeof value === \"bigint\" || typeof value === \"string\" || typeof value === \"boolean\" || value instanceof Uint8Array) return ParamRef.of(value, { codec: { codecId: adapter.inferCodec(value) } });\n\tthrow runtimeError(\"RUNTIME.RAW_SQL_UNSUPPORTED_INTERPOLATION\", \"unsupported JS value type for raw-SQL interpolation: wrap this value in `param(...)` with an explicit codec\");\n}\nfunction isRawRowQuery(value) {\n\treturn typeof value === \"object\" && value !== null && \"buildAst\" in value && typeof value.buildAst === \"function\" && \"build\" in value && typeof value.build === \"function\";\n}\nfunction templateParts(adapter, strings, values) {\n\tconst parts = [strings[0] ?? \"\"];\n\tvalues.forEach((value, i) => {\n\t\tif (isRawRowQuery(value)) parts.push(...value.buildAst().parts);\n\t\telse parts.push(resolveInterpolation(adapter, value));\n\t\tparts.push(strings[i + 1] ?? \"\");\n\t});\n\treturn parts;\n}\n/**\n* Normalizes each authored entry to a {@link RawQueryColumn}. The record is\n* assembled with `Object.fromEntries`, which defines each key as an own\n* property: a spec built at runtime with a `__proto__` key reaches the AST,\n* which refuses it by name, rather than silently setting the record's\n* prototype and leaving the column to vanish.\n*/\nfunction resolveRowSpec(spec) {\n\treturn Object.fromEntries(Object.entries(spec).map(([name, entry]) => [name, typeof entry === \"string\" ? {\n\t\tcodecId: entry,\n\t\tnullable: false\n\t} : {\n\t\tcodecId: entry.codecId,\n\t\tnullable: entry.nullable ?? false\n\t}]));\n}\nfunction createRawSql(adapter, planContext) {\n\tif (planContext === void 0) return (strings, ...values) => new RawSqlBuilderImpl(templateParts(adapter, strings, values));\n\tconst context = planContext;\n\treturn (strings, ...values) => new RawSqlStatementBuilderImpl(templateParts(adapter, strings, values), context);\n}\nvar RawSqlBuilderImpl = class {\n\tparts;\n\tconstructor(parts) {\n\t\tthis.parts = parts;\n\t}\n\treturns(spec) {\n\t\tconst codecId = typeof spec === \"string\" ? spec : spec.codecId;\n\t\tconst nullable = typeof spec === \"string\" ? false : spec.nullable ?? false;\n\t\tconst paramSpec = {\n\t\t\tcodecId,\n\t\t\tnullable\n\t\t};\n\t\tconst node = new RawExpr({\n\t\t\tparts: this.parts,\n\t\t\treturns: paramSpec\n\t\t});\n\t\treturn {\n\t\t\treturnType: {\n\t\t\t\tcodecId,\n\t\t\t\tnullable\n\t\t\t},\n\t\t\tbuildAst: () => node\n\t\t};\n\t}\n};\nvar RawSqlStatementBuilderImpl = class extends RawSqlBuilderImpl {\n\tplanContext;\n\tconstructor(parts, planContext) {\n\t\tsuper(parts);\n\t\tthis.planContext = planContext;\n\t}\n\treturnsRow(spec) {\n\t\tconst node = RawQueryAst.rows(this.parts, resolveRowSpec(spec));\n\t\tconst result = node.result;\n\t\tinvariant(result.kind === \"rows\", \"RawQueryAst.rows built a non-rows result\");\n\t\treturn {\n\t\t\treturns: result.columns,\n\t\t\tbuildAst: () => node,\n\t\t\tbuild: () => this.planFor(node)\n\t\t};\n\t}\n\taffectedCount() {\n\t\tconst node = RawQueryAst.affectedCount(this.parts);\n\t\treturn { build: () => this.planFor(node) };\n\t}\n\tplanFor(node) {\n\t\treturn planFromAst(node, this.planContext.contract, this.planContext.laneId);\n\t}\n};\n//#endregion\n//#region src/expression-impl.ts\n/**\n* Runtime wrapper around a relational-core AST expression node. Carries ScopeField metadata (codecId, nullable) so aggregate-like combinators can propagate the input codec onto their result.\n*\n* `returnType.codec` records the column-bound codec ref when the field-proxy knows the binding — both the namespaced form (`f.user.email` → `ColumnRef`) and the top-level shortcut (`f.email` → `IdentifierRef`) stamp the ref derived from contract storage. `codecOf(expression)` exposes it for operation implementations forwarding the ref to `toExpr`.\n*\n* `projectionAst` carries the descriptor-lowered rendering of the expression, where a target declares one (e.g. SQLite's `CAST(count(*) AS TEXT)`). Lowering exists to carry the value across the driver boundary, so only the projection site consumes it — predicate and ordering positions (`buildAst()`) keep the plain form, where the rendering would change SQL semantics.\n*/\nvar ExpressionImpl = class {\n\tast;\n\tprojectionAst;\n\treturnType;\n\tconstructor(ast, returnType, projectionAst) {\n\t\tthis.ast = ast;\n\t\tthis.returnType = returnType;\n\t\tthis.projectionAst = projectionAst;\n\t}\n\tbuildAst() {\n\t\treturn this.ast;\n\t}\n\tbuildProjectionAst() {\n\t\treturn this.projectionAst ?? this.ast;\n\t}\n};\n//#endregion\nexport { isExpression as a, createRawSql as i, buildOperation as n, param as o, codecOf as r, toExpr as s, ExpressionImpl as t };\n\n//# sourceMappingURL=expression-impl-DtbmFnnz.mjs.map"],"mappings":"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"}
@@ -1,6 +1,6 @@
1
1
  import { t as contractError } from "./contract-errors-BCN6RVI5-DoH6b_KZ.mjs";
2
- import { m as parseNaming } from "./naming-bM5qm5PY-jOg3JFMb.mjs";
3
- import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, s as StorageColumn } from "./storage-table-DDvN83mw-DkbBFmK9.mjs";
2
+ import { h as parseNaming } from "./naming-DEpT6Zad-C9PFkWt6.mjs";
3
+ import { a as PrimaryKey, c as UniqueConstraint, i as Index, n as ForeignKey, o as StorageColumn, s as StorageTable } from "./storage-table-B_MrLtQX-eWx6BgGT.mjs";
4
4
  import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
5
5
  import { asNamespaceId } from "@prisma/orm-framework/contract/types";
6
6
  //#region ../../../2-sql-family/1-core/contract/dist/factories.mjs
@@ -81,4 +81,4 @@ function model(tableName, fields, relations = {}, namespaceId = UNBOUND_NAMESPAC
81
81
  //#endregion
82
82
  export { pk as a, model as i, fk as n, table as o, index as r, unique as s, col as t };
83
83
 
84
- //# sourceMappingURL=factories-Crobuxwn.mjs.map
84
+ //# sourceMappingURL=factories-B2hKDIzy.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"factories-Crobuxwn.mjs","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/factories.mjs"],"sourcesContent":["import { t as contractError } from \"./contract-errors-BCN6RVI5.mjs\";\nimport { a as ForeignKey, i as PrimaryKey, n as UniqueConstraint, r as StorageColumn, s as Index, t as StorageTable } from \"./storage-table-DDvN83mw.mjs\";\nimport { parseNaming } from \"@internal/sql-schema-ir/naming\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { asNamespaceId } from \"@internal/contract/types\";\n//#region src/factories.ts\nfunction col(dataType, codecId, nullable = false, opts) {\n\tif (opts?.elementNullable !== void 0 && opts.many !== true) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", \"StorageColumn elementNullable must be nested under many.\", { meta: { reason: \"elementNullable-without-many\" } });\n\treturn new StorageColumn({\n\t\tdataType,\n\t\tcodecId,\n\t\tnullable,\n\t\tmany: opts?.many === true ? { elementNullable: opts.elementNullable ?? false } : false\n\t});\n}\nfunction pk(...columns) {\n\treturn new PrimaryKey({ columns });\n}\nfunction unique(...columns) {\n\treturn new UniqueConstraint({ columns });\n}\nfunction index(name, columns, opts) {\n\treturn new Index({\n\t\tnaming: parseNaming(name, opts?.prefix),\n\t\tcolumns,\n\t\twhere: void 0,\n\t\tunique: opts?.unique ?? false,\n\t\ttype: opts?.type,\n\t\toptions: opts?.options\n\t});\n}\nfunction fk(srcTableName, srcColumns, targetTableName, targetColumns, opts) {\n\tconst namespaceId = asNamespaceId(opts?.namespaceId ?? UNBOUND_NAMESPACE_ID);\n\treturn new ForeignKey({\n\t\tsource: {\n\t\t\tnamespaceId,\n\t\t\ttableName: srcTableName,\n\t\t\tcolumns: srcColumns\n\t\t},\n\t\ttarget: {\n\t\t\tnamespaceId,\n\t\t\ttableName: targetTableName,\n\t\t\tcolumns: targetColumns\n\t\t},\n\t\t...opts?.name !== void 0 && { name: opts.name },\n\t\t...opts?.onDelete !== void 0 && { onDelete: opts.onDelete },\n\t\t...opts?.onUpdate !== void 0 && { onUpdate: opts.onUpdate },\n\t\t...opts?.index !== void 0 && { index: opts.index }\n\t});\n}\nfunction table(columns, opts) {\n\treturn new StorageTable({\n\t\tcolumns,\n\t\t...opts?.pk !== void 0 && { primaryKey: opts.pk },\n\t\tuniques: opts?.uniques ?? [],\n\t\tindexes: opts?.indexes ?? [],\n\t\tforeignKeys: opts?.fks ?? []\n\t});\n}\nfunction model(tableName, fields, relations = {}, namespaceId = UNBOUND_NAMESPACE_ID) {\n\tconst storage = {\n\t\ttable: tableName,\n\t\tnamespaceId,\n\t\tfields\n\t};\n\tconst domainFields = {};\n\tfor (const [name, field] of Object.entries(fields)) domainFields[name] = {\n\t\tnullable: field.nullable ?? false,\n\t\ttype: {\n\t\t\tkind: \"scalar\",\n\t\t\tcodecId: field.codecId ?? \"core/unknown@1\"\n\t\t},\n\t\tmany: false\n\t};\n\treturn {\n\t\tstorage,\n\t\tfields: domainFields,\n\t\trelations\n\t};\n}\n//#endregion\nexport { col, fk, index, model, pk, table, unique };\n\n//# sourceMappingURL=factories.mjs.map"],"mappings":";;;;;;AAMA,SAAS,IAAI,UAAU,SAAS,WAAW,OAAO,MAAM;CACvD,IAAI,MAAM,oBAAoB,KAAK,KAAK,KAAK,SAAS,MAAM,MAAM,cAAc,6BAA6B,4DAA4D,EAAE,MAAM,EAAE,QAAQ,+BAA+B,EAAE,CAAC;CAC7N,OAAO,IAAI,cAAc;EACxB;EACA;EACA;EACA,MAAM,MAAM,SAAS,OAAO,EAAE,iBAAiB,KAAK,mBAAmB,MAAM,IAAI;CAClF,CAAC;AACF;AACA,SAAS,GAAG,GAAG,SAAS;CACvB,OAAO,IAAI,WAAW,EAAE,QAAQ,CAAC;AAClC;AACA,SAAS,OAAO,GAAG,SAAS;CAC3B,OAAO,IAAI,iBAAiB,EAAE,QAAQ,CAAC;AACxC;AACA,SAAS,MAAM,MAAM,SAAS,MAAM;CACnC,OAAO,IAAI,MAAM;EAChB,QAAQ,YAAY,MAAM,MAAM,MAAM;EACtC;EACA,OAAO,KAAK;EACZ,QAAQ,MAAM,UAAU;EACxB,MAAM,MAAM;EACZ,SAAS,MAAM;CAChB,CAAC;AACF;AACA,SAAS,GAAG,cAAc,YAAY,iBAAiB,eAAe,MAAM;CAC3E,MAAM,cAAc,cAAc,MAAM,eAAe,oBAAoB;CAC3E,OAAO,IAAI,WAAW;EACrB,QAAQ;GACP;GACA,WAAW;GACX,SAAS;EACV;EACA,QAAQ;GACP;GACA,WAAW;GACX,SAAS;EACV;EACA,GAAG,MAAM,SAAS,KAAK,KAAK,EAAE,MAAM,KAAK,KAAK;EAC9C,GAAG,MAAM,aAAa,KAAK,KAAK,EAAE,UAAU,KAAK,SAAS;EAC1D,GAAG,MAAM,aAAa,KAAK,KAAK,EAAE,UAAU,KAAK,SAAS;EAC1D,GAAG,MAAM,UAAU,KAAK,KAAK,EAAE,OAAO,KAAK,MAAM;CAClD,CAAC;AACF;AACA,SAAS,MAAM,SAAS,MAAM;CAC7B,OAAO,IAAI,aAAa;EACvB;EACA,GAAG,MAAM,OAAO,KAAK,KAAK,EAAE,YAAY,KAAK,GAAG;EAChD,SAAS,MAAM,WAAW,CAAC;EAC3B,SAAS,MAAM,WAAW,CAAC;EAC3B,aAAa,MAAM,OAAO,CAAC;CAC5B,CAAC;AACF;AACA,SAAS,MAAM,WAAW,QAAQ,YAAY,CAAC,GAAG,cAAc,sBAAsB;CACrF,MAAM,UAAU;EACf,OAAO;EACP;EACA;CACD;CACA,MAAM,eAAe,CAAC;CACtB,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAQ,MAAM,GAAG,aAAa,QAAQ;EACxE,UAAU,MAAM,YAAY;EAC5B,MAAM;GACL,MAAM;GACN,SAAS,MAAM,WAAW;EAC3B;EACA,MAAM;CACP;CACA,OAAO;EACN;EACA,QAAQ;EACR;CACD;AACD"}
1
+ {"version":3,"file":"factories-B2hKDIzy.mjs","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/factories.mjs"],"sourcesContent":["import { t as contractError } from \"./contract-errors-BCN6RVI5.mjs\";\nimport { a as ForeignKey, i as PrimaryKey, n as UniqueConstraint, r as StorageColumn, s as Index, t as StorageTable } from \"./storage-table-B_MrLtQX.mjs\";\nimport { parseNaming } from \"@internal/sql-schema-ir/naming\";\nimport { asNamespaceId } from \"@internal/contract/types\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\n//#region src/factories.ts\nfunction col(dataType, codecId, nullable = false, opts) {\n\tif (opts?.elementNullable !== void 0 && opts.many !== true) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", \"StorageColumn elementNullable must be nested under many.\", { meta: { reason: \"elementNullable-without-many\" } });\n\treturn new StorageColumn({\n\t\tdataType,\n\t\tcodecId,\n\t\tnullable,\n\t\tmany: opts?.many === true ? { elementNullable: opts.elementNullable ?? false } : false\n\t});\n}\nfunction pk(...columns) {\n\treturn new PrimaryKey({ columns });\n}\nfunction unique(...columns) {\n\treturn new UniqueConstraint({ columns });\n}\nfunction index(name, columns, opts) {\n\treturn new Index({\n\t\tnaming: parseNaming(name, opts?.prefix),\n\t\tcolumns,\n\t\twhere: void 0,\n\t\tunique: opts?.unique ?? false,\n\t\ttype: opts?.type,\n\t\toptions: opts?.options\n\t});\n}\nfunction fk(srcTableName, srcColumns, targetTableName, targetColumns, opts) {\n\tconst namespaceId = asNamespaceId(opts?.namespaceId ?? UNBOUND_NAMESPACE_ID);\n\treturn new ForeignKey({\n\t\tsource: {\n\t\t\tnamespaceId,\n\t\t\ttableName: srcTableName,\n\t\t\tcolumns: srcColumns\n\t\t},\n\t\ttarget: {\n\t\t\tnamespaceId,\n\t\t\ttableName: targetTableName,\n\t\t\tcolumns: targetColumns\n\t\t},\n\t\t...opts?.name !== void 0 && { name: opts.name },\n\t\t...opts?.onDelete !== void 0 && { onDelete: opts.onDelete },\n\t\t...opts?.onUpdate !== void 0 && { onUpdate: opts.onUpdate },\n\t\t...opts?.index !== void 0 && { index: opts.index }\n\t});\n}\nfunction table(columns, opts) {\n\treturn new StorageTable({\n\t\tcolumns,\n\t\t...opts?.pk !== void 0 && { primaryKey: opts.pk },\n\t\tuniques: opts?.uniques ?? [],\n\t\tindexes: opts?.indexes ?? [],\n\t\tforeignKeys: opts?.fks ?? []\n\t});\n}\nfunction model(tableName, fields, relations = {}, namespaceId = UNBOUND_NAMESPACE_ID) {\n\tconst storage = {\n\t\ttable: tableName,\n\t\tnamespaceId,\n\t\tfields\n\t};\n\tconst domainFields = {};\n\tfor (const [name, field] of Object.entries(fields)) domainFields[name] = {\n\t\tnullable: field.nullable ?? false,\n\t\ttype: {\n\t\t\tkind: \"scalar\",\n\t\t\tcodecId: field.codecId ?? \"core/unknown@1\"\n\t\t},\n\t\tmany: false\n\t};\n\treturn {\n\t\tstorage,\n\t\tfields: domainFields,\n\t\trelations\n\t};\n}\n//#endregion\nexport { col, fk, index, model, pk, table, unique };\n\n//# sourceMappingURL=factories.mjs.map"],"mappings":";;;;;;AAMA,SAAS,IAAI,UAAU,SAAS,WAAW,OAAO,MAAM;CACvD,IAAI,MAAM,oBAAoB,KAAK,KAAK,KAAK,SAAS,MAAM,MAAM,cAAc,6BAA6B,4DAA4D,EAAE,MAAM,EAAE,QAAQ,+BAA+B,EAAE,CAAC;CAC7N,OAAO,IAAI,cAAc;EACxB;EACA;EACA;EACA,MAAM,MAAM,SAAS,OAAO,EAAE,iBAAiB,KAAK,mBAAmB,MAAM,IAAI;CAClF,CAAC;AACF;AACA,SAAS,GAAG,GAAG,SAAS;CACvB,OAAO,IAAI,WAAW,EAAE,QAAQ,CAAC;AAClC;AACA,SAAS,OAAO,GAAG,SAAS;CAC3B,OAAO,IAAI,iBAAiB,EAAE,QAAQ,CAAC;AACxC;AACA,SAAS,MAAM,MAAM,SAAS,MAAM;CACnC,OAAO,IAAI,MAAM;EAChB,QAAQ,YAAY,MAAM,MAAM,MAAM;EACtC;EACA,OAAO,KAAK;EACZ,QAAQ,MAAM,UAAU;EACxB,MAAM,MAAM;EACZ,SAAS,MAAM;CAChB,CAAC;AACF;AACA,SAAS,GAAG,cAAc,YAAY,iBAAiB,eAAe,MAAM;CAC3E,MAAM,cAAc,cAAc,MAAM,eAAe,oBAAoB;CAC3E,OAAO,IAAI,WAAW;EACrB,QAAQ;GACP;GACA,WAAW;GACX,SAAS;EACV;EACA,QAAQ;GACP;GACA,WAAW;GACX,SAAS;EACV;EACA,GAAG,MAAM,SAAS,KAAK,KAAK,EAAE,MAAM,KAAK,KAAK;EAC9C,GAAG,MAAM,aAAa,KAAK,KAAK,EAAE,UAAU,KAAK,SAAS;EAC1D,GAAG,MAAM,aAAa,KAAK,KAAK,EAAE,UAAU,KAAK,SAAS;EAC1D,GAAG,MAAM,UAAU,KAAK,KAAK,EAAE,OAAO,KAAK,MAAM;CAClD,CAAC;AACF;AACA,SAAS,MAAM,SAAS,MAAM;CAC7B,OAAO,IAAI,aAAa;EACvB;EACA,GAAG,MAAM,OAAO,KAAK,KAAK,EAAE,YAAY,KAAK,GAAG;EAChD,SAAS,MAAM,WAAW,CAAC;EAC3B,SAAS,MAAM,WAAW,CAAC;EAC3B,aAAa,MAAM,OAAO,CAAC;CAC5B,CAAC;AACF;AACA,SAAS,MAAM,WAAW,QAAQ,YAAY,CAAC,GAAG,cAAc,sBAAsB;CACrF,MAAM,UAAU;EACf,OAAO;EACP;EACA;CACD;CACA,MAAM,eAAe,CAAC;CACtB,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAQ,MAAM,GAAG,aAAa,QAAQ;EACxE,UAAU,MAAM,YAAY;EAC5B,MAAM;GACL,MAAM;GACN,SAAS,MAAM,WAAW;EAC3B;EACA,MAAM;CACP;CACA,OAAO;EACN;EACA,QAAQ;EACR;CACD;AACD"}
@@ -1,8 +1,8 @@
1
1
  import { t as ForeignKey } from "./foreign-key-qkDFfG8t-TaK_GYWR.mjs";
2
2
  import { r as UniqueConstraint, t as PrimaryKey } from "./unique-constraint-M5TlQnJQ-qX-maNUV.mjs";
3
- import { t as Index } from "./sql-index-ByAAE7K8-Dqtn_vUL.mjs";
4
- import { n as StorageColumnInput, r as StorageTable, t as StorageColumn } from "./storage-table-Bf1ZjnxO-pUj6pyP0.mjs";
5
- import { M as SqlModelFieldStorage, N as SqlModelStorage, x as ForeignKeyOptions } from "./types-DfKvtJwS-CrpWTGBJ.mjs";
3
+ import { t as Index } from "./sql-index-ByAAE7K8-4TUFKGLK.mjs";
4
+ import { n as StorageColumnInput, r as StorageTable, t as StorageColumn } from "./storage-value-object-BcvIeUr8-DiiZNIrZ.mjs";
5
+ import { M as SqlModelFieldStorage, N as SqlModelStorage, x as ForeignKeyOptions } from "./types-DNTLudNR-DiVulPhL.mjs";
6
6
  import { ScalarFieldType } from "@prisma/orm-framework/contract/types";
7
7
  //#region ../../../2-sql-family/1-core/contract/dist/factories.d.mts
8
8
  //#region src/factories.d.ts
@@ -42,4 +42,4 @@ declare function model(tableName: string, fields: Record<string, SqlModelFieldSt
42
42
  };
43
43
  //#endregion
44
44
  export { pk as a, model as i, fk as n, table as o, index as r, unique as s, col as t };
45
- //# sourceMappingURL=factories-DbNP9qfs.d.mts.map
45
+ //# sourceMappingURL=factories-DVgCG7DR.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"factories-DbNP9qfs.d.mts","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/factories.d.mts"],"mappings":";;;;;;;;KAOK;WACM;WACA;;WAEA;WACA;;iBAEM,IAAI,kBAAkB,iBAAiB,oBAAoB,OAAO,4BAA4B;iBAC9F,MAAM,6BAA6B;iBACnC,UAAU,6BAA6B;iBACvC,MAAM,cAAc,4BAA4B;WACtD;WACA;WACA;WACA,UAAU;IACjB;iBACa,GAAG,sBAAsB,+BAA+B,yBAAyB,kCAAkC,OAAO;EACzI;IACE;iBACa,MAAM,SAAS,eAAe,gBAAgB,qBAAqB;EAClF,KAAK;EACL,mBAAmB;EACnB,mBAAmB;EACnB,eAAe;IACb;iBACa,MAAM,mBAAmB,QAAQ,eAAe,uBAAuB,YAAY,yBAAyB;EAC3H,SAAS;EACT,QAAQ;aACG;aACA,MAAM;aACN;;EAEX,WAAW"}
1
+ {"version":3,"file":"factories-DVgCG7DR.d.mts","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/factories.d.mts"],"mappings":";;;;;;;;KAOK;WACM;WACA;;WAEA;WACA;;iBAEM,IAAI,kBAAkB,iBAAiB,oBAAoB,OAAO,4BAA4B;iBAC9F,MAAM,6BAA6B;iBACnC,UAAU,6BAA6B;iBACvC,MAAM,cAAc,4BAA4B;WACtD;WACA;WACA;WACA,UAAU;IACjB;iBACa,GAAG,sBAAsB,+BAA+B,yBAAyB,kCAAkC,OAAO;EACzI;IACE;iBACa,MAAM,SAAS,eAAe,gBAAgB,qBAAqB;EAClF,KAAK;EACL,mBAAmB;EACnB,mBAAmB;EACnB,eAAe;IACb;iBACa,MAAM,mBAAmB,QAAQ,eAAe,uBAAuB,YAAY,yBAAyB;EAC3H,SAAS;EACT,QAAQ;aACG;aACA,MAAM;aACN;;EAEX,WAAW"}
package/dist/family.d.mts CHANGED
@@ -1,17 +1,17 @@
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-BfyLe7rh-C_rrUuhb.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-COXfSNOP-DcuULeD9.mjs";
5
- import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-tqHKiJ88.mjs";
6
- import { $ as StatementPlanningTarget, $t as resolveTableRenameAgainst, A as NoTable, At as encodeStoredValue, B as SchemaTables, Bt as partitionIssuesByControlPolicy, C as MigrationPlannerConflict, Ct as contractToSchemaIR, D as NO_RENAMED_ORIGINS, Dt as createSqlTextSources, E as ModelTable, Et as createMigrationPlan, F as ReportedBody, Ft as fieldStatementColumns, G as SqlDescribedContractSpace, Gt as plannerFailure, H as SqlControlFamilyInstance, Ht as planFieldEventCalls, I as ReportedLiteralDefault, It as isUnfilledSlot, J as SqlQuotingRules, Jt as readReportedDefault, K as SqlPslBuildContext, Kt as plannerSuccess, L as RequiredColumn, Lt as modelRenameStorageEffect, M as PlannedStatements, Mt as fieldEventStorage, N as ReadColumnDefault, Nt as fieldOfColumn, O as NamespaceRename, Ot as detectDestructiveChanges, P as ReadReportedDefault, Pt as fieldRenameStorageEffect, Q as StatementOwnership, Qt as resolveColumnRenameAgainst, R as RequiredColumnMark, Rt as otherSpaceDeclaring, S as MigrationPlanner, St as contractNamespaceToSchemaIR, T as ModelStorageEffect, Tt as convertedColumnOf, U as SqlControlTargetDescriptor, Ut as planFieldEventOperations, V as SingleOperationCall, Vt as planEnumValueRewrites, W as SqlDefaultFunctionName, Wt as planStatements, X as SqlTextSources, Xt as requiredColumnOf, Y as SqlSlot, Yt as requiredColumnMeta, Z as StatementColumn, Zt as requiredColumnsOfMigration, _ as INIT_ADDITIVE_POLICY, _n as withEnumValueOperations, _t as assembleAuthoringContributions, a as ColumnRename, an as runnerFailure, at as SuppressionRecord, b as MigrationPlan, bt as columnTakesTemporaryValue, c as ContractColumns, cn as sqlDefaultFunctions, ct as TableNameCaseGuardTable, d as ConvertedColumn, dn as storageNameOfOperation, dt as TableRenameRequest, en as rowsHoldingValueMeta, et as StoredEnumValue, f as DefaultResolver, fn as subjectsOfCalls, ft as TargetMigrationsCapability, g as FieldStorageEffect, gn as unmatchedTableRename, gt as appliedStatementsInOrder, h as FieldStatementColumns, hn as unmatchedColumnRename, i as ColumnOnOneSide, in as rowsWithoutValueSummary, it as SubjectStorage, j as PlanFieldEventOperationsOptions, jt as extractCodecControlHooks, k as NamespaceStatementTarget, kt as detectTableNameCaseChanges, l as ContractToSchemaIROptions, ln as sqlOfSlot, lt as TableRename, m as FieldEventCall, mn as unknownCallNames, mt as WorkingSchemaOrigins, n as CallSubjects, nn as rowsHoldingValueSummary, nt as StoredValueReplacement, o as ColumnRenameRequest, on as runnerSuccess, ot as TABLE_NAME_CASE_CHANGED_CODE, p as DefaultResolverColumn, pn as unconvertedFieldOf, pt as TargetRefusal, q as SqlQuote, qt as readColumnDefault, r as CallWithCompanions, rn as rowsWithoutValueFailure, rt as StoredValueRewrite, s as ContractColumn, sn as slotSource, st as TableMove, t as COLUMN_RENAME_UNMATCHED_CODE, tn as rowsHoldingValueOf, tt as StoredValueCodec, u as ControlPolicySubject, un as sqlTypeLookupsOf, ut as TableRenameByHand, v as MigrationOperationClass, vt as backfillOfDefaultedField, w as MigrationPlannerResult, wt as convertedColumnMeta, x as MigrationPlanOperation, xt as contractColumns, y as MigrationOperationPolicy, yt as checkSqlExpressionText, z as RowsHoldingValueMark, zt as partitionCallsByControlPolicy } from "./control-B6W_VEZ9.mjs";
7
- import { t as resolveIntrospectedColumnType } from "./control-adapter-CZ84jQ_z.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-FNTO8gbI.mjs";
9
- import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-BvptQsFW.mjs";
10
- import { t as SqlMigration } from "./migration-qalbcIUs.mjs";
11
- import { i as sqlTargetTypeConstructors, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-Cap3oVPy.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-JKWb27L5.mjs";
1
+ import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-D1rXCcCk.mjs";
2
+ import { h as checkSqlDefaultText } from "./validators-Dt-19ywK.mjs";
3
+ import { n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-BfyLe7rh-CiGzw3dq.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-COXfSNOP-D9vt9QDL.mjs";
5
+ import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-BXkhxcPs.mjs";
6
+ import { $ as StatementPlanningTarget, $t as resolveTableRenameAgainst, A as NoTable, At as encodeStoredValue, B as SchemaTables, Bt as partitionIssuesByControlPolicy, C as MigrationPlannerConflict, Ct as contractToSchemaIR, D as NO_RENAMED_ORIGINS, Dt as createSqlTextSources, E as ModelTable, Et as createMigrationPlan, F as ReportedBody, Ft as fieldStatementColumns, G as SqlDescribedContractSpace, Gt as plannerFailure, H as SqlControlFamilyInstance, Ht as planFieldEventCalls, I as ReportedLiteralDefault, It as isUnfilledSlot, J as SqlQuotingRules, Jt as readReportedDefault, K as SqlPslBuildContext, Kt as plannerSuccess, L as RequiredColumn, Lt as modelRenameStorageEffect, M as PlannedStatements, Mt as fieldEventStorage, N as ReadColumnDefault, Nt as fieldOfColumn, O as NamespaceRename, Ot as detectDestructiveChanges, P as ReadReportedDefault, Pt as fieldRenameStorageEffect, Q as StatementOwnership, Qt as resolveColumnRenameAgainst, R as RequiredColumnMark, Rt as otherSpaceDeclaring, S as MigrationPlanner, St as contractNamespaceToSchemaIR, T as ModelStorageEffect, Tt as convertedColumnOf, U as SqlControlTargetDescriptor, Ut as planFieldEventOperations, V as SingleOperationCall, Vt as planEnumValueRewrites, W as SqlDefaultFunctionName, Wt as planStatements, X as SqlTextSources, Xt as requiredColumnOf, Y as SqlSlot, Yt as requiredColumnMeta, Z as StatementColumn, Zt as requiredColumnsOfMigration, _ as INIT_ADDITIVE_POLICY, _n as withEnumValueOperations, _t as assembleAuthoringContributions, a as ColumnRename, an as runnerFailure, at as SuppressionRecord, b as MigrationPlan, bt as columnTakesTemporaryValue, c as ContractColumns, cn as sqlDefaultFunctions, ct as TableNameCaseGuardTable, d as ConvertedColumn, dn as storageNameOfOperation, dt as TableRenameRequest, en as rowsHoldingValueMeta, et as StoredEnumValue, f as DefaultResolver, fn as subjectsOfCalls, ft as TargetMigrationsCapability, g as FieldStorageEffect, gn as unmatchedTableRename, gt as appliedStatementsInOrder, h as FieldStatementColumns, hn as unmatchedColumnRename, i as ColumnOnOneSide, in as rowsWithoutValueSummary, it as SubjectStorage, j as PlanFieldEventOperationsOptions, jt as extractCodecControlHooks, k as NamespaceStatementTarget, kt as detectTableNameCaseChanges, l as ContractToSchemaIROptions, ln as sqlOfSlot, lt as TableRename, m as FieldEventCall, mn as unknownCallNames, mt as WorkingSchemaOrigins, n as CallSubjects, nn as rowsHoldingValueSummary, nt as StoredValueReplacement, o as ColumnRenameRequest, on as runnerSuccess, ot as TABLE_NAME_CASE_CHANGED_CODE, p as DefaultResolverColumn, pn as unconvertedFieldOf, pt as TargetRefusal, q as SqlQuote, qt as readColumnDefault, r as CallWithCompanions, rn as rowsWithoutValueFailure, rt as StoredValueRewrite, s as ContractColumn, sn as slotSource, st as TableMove, t as COLUMN_RENAME_UNMATCHED_CODE, tn as rowsHoldingValueOf, tt as StoredValueCodec, u as ControlPolicySubject, un as sqlTypeLookupsOf, ut as TableRenameByHand, v as MigrationOperationClass, vt as backfillOfDefaultedField, w as MigrationPlannerResult, wt as convertedColumnMeta, x as MigrationPlanOperation, xt as contractColumns, y as MigrationOperationPolicy, yt as checkSqlExpressionText, z as RowsHoldingValueMark, zt as partitionCallsByControlPolicy } from "./control-B2CeDfVO.mjs";
7
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-BlBhW0pc.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-BlX_rfVG.mjs";
9
+ import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-CZ5Ks7EA.mjs";
10
+ import { t as SqlMigration } from "./migration-B35kGD-7.mjs";
11
+ import { i as sqlTargetTypeConstructors, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-BPbz6RVm.mjs";
12
+ import { a as writeDefaultLiteral, i as writeDataTypeValue, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CAOONlKQ-CIg7JCfF.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-CNncjpsa.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-BkkoyXmM.mjs";
15
+ import { a as timestampNowRuntimeGenerator, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-BrBva2ta.mjs";
16
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 RowsHoldingValueMark, 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 StoredEnumValue, type StoredValueCodec, type StoredValueReplacement, type StoredValueRewrite, 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, encodeStoredValue, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, generatorCallsFor, idGeneratorFunctionBindings, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, otherSpaceDeclaring, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planEnumValueRewrites, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveIntrospectedColumnType, resolveStorageTable, resolveTableRenameAgainst, rowsHoldingValueMeta, rowsHoldingValueOf, rowsHoldingValueSummary, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlIntegerArgumentGeneratorFunctions, sqlOfSlot, sqlTargetTypeConstructors, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff, withEnumValueOperations, writeDataTypeValue, writeDefaultLiteral, writtenTypeArguments };
package/dist/family.mjs CHANGED
@@ -1,16 +1,16 @@
1
1
  import { t as resolveStorageTable } from "./resolve-storage-table-BHLQsOza.mjs";
2
- import { n as checkSqlDefaultText } from "./validators-BwA7ttZM.mjs";
3
- import { c as sqlTargetTypeConstructors, s as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./generator-functions-Hy4pDDr9-AUCNpeg5.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";
2
+ import { n as checkSqlDefaultText } from "./validators-CnQqLEIi.mjs";
3
+ import { c as sqlTargetTypeConstructors, s as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./generator-functions-Hy4pDDr9-BUHOsofo.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-mlPO4NkT.mjs";
5
+ import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-aQd4v3fE.mjs";
6
6
  import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-DhKm6hB3.mjs";
7
- import { $ as sqlTypeLookupsOf, A as planEnumValueRewrites, B as requiredColumnsOfMigration, C as fieldRenameStorageEffect, D as otherSpaceDeclaring, E as modelRenameStorageEffect, F as plannerSuccess, G as rowsHoldingValueSummary, H as resolveTableRenameAgainst, I as readColumnDefault, J as runnerFailure, K as rowsWithoutValueFailure, L as readReportedDefault, M as planFieldEventOperations, N as planStatements, O as partitionCallsByControlPolicy, P as plannerFailure, Q as sqlOfSlot, R as requiredColumnMeta, S as fieldOfColumn, T as isUnfilledSlot, U as rowsHoldingValueMeta, V as resolveColumnRenameAgainst, W as rowsHoldingValueOf, X as slotSource, Y as runnerSuccess, Z as sqlDefaultFunctions, _ as createSqlTextSources, a as appliedStatementsInOrder, at as unmatchedTableRename, b as encodeStoredValue, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as storageNameOfOperation, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, it as unmatchedColumnRename, j as planFieldEventCalls, k as partitionIssuesByControlPolicy, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, nt as unconvertedFieldOf, o as assembleAuthoringContributions, ot as withEnumValueOperations, q as rowsWithoutValueSummary, r as NO_RENAMED_ORIGINS, rt as unknownCallNames, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, tt as subjectsOfCalls, u as contractColumns, v as detectDestructiveChanges, w as fieldStatementColumns, x as fieldEventStorage, y as detectTableNameCaseChanges, z as requiredColumnOf } from "./control-D6wIw5Fi.mjs";
7
+ import { $ as sqlTypeLookupsOf, A as planEnumValueRewrites, B as requiredColumnsOfMigration, C as fieldRenameStorageEffect, D as otherSpaceDeclaring, E as modelRenameStorageEffect, F as plannerSuccess, G as rowsHoldingValueSummary, H as resolveTableRenameAgainst, I as readColumnDefault, J as runnerFailure, K as rowsWithoutValueFailure, L as readReportedDefault, M as planFieldEventOperations, N as planStatements, O as partitionCallsByControlPolicy, P as plannerFailure, Q as sqlOfSlot, R as requiredColumnMeta, S as fieldOfColumn, T as isUnfilledSlot, U as rowsHoldingValueMeta, V as resolveColumnRenameAgainst, W as rowsHoldingValueOf, X as slotSource, Y as runnerSuccess, Z as sqlDefaultFunctions, _ as createSqlTextSources, a as appliedStatementsInOrder, at as unmatchedTableRename, b as encodeStoredValue, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as storageNameOfOperation, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, it as unmatchedColumnRename, j as planFieldEventCalls, k as partitionIssuesByControlPolicy, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, nt as unconvertedFieldOf, o as assembleAuthoringContributions, ot as withEnumValueOperations, q as rowsWithoutValueSummary, r as NO_RENAMED_ORIGINS, rt as unknownCallNames, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, tt as subjectsOfCalls, u as contractColumns, v as detectDestructiveChanges, w as fieldStatementColumns, x as fieldEventStorage, y as detectTableNameCaseChanges, z as requiredColumnOf } from "./control-C1EjGUVq.mjs";
8
8
  import { t as resolveIntrospectedColumnType } from "./control-adapter-SlQkTEwT.mjs";
9
9
  import { t as arraysEqual } from "./diff-C1rFOhek.mjs";
10
10
  import { t as SqlSchemaVerifierBase } from "./ir-DzsUDO8e.mjs";
11
11
  import { t as SqlMigration } from "./migration-BJQjkqFz.mjs";
12
12
  import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-D1CTmC3a.mjs";
13
13
  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-DqqYhOsa.mjs";
14
- 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";
14
+ 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-C9kVS9ma.mjs";
15
15
  import { i as timestampNowRuntimeGenerator, n as resolveDomainModel, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./runtime-CCzfa1mY.mjs";
16
16
  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, encodeStoredValue, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, generatorCallsFor, idGeneratorFunctionBindings, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, otherSpaceDeclaring, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planEnumValueRewrites, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveIntrospectedColumnType, resolveStorageTable, resolveTableRenameAgainst, rowsHoldingValueMeta, rowsHoldingValueOf, rowsHoldingValueSummary, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlIntegerArgumentGeneratorFunctions, sqlOfSlot, sqlTargetTypeConstructors, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff, withEnumValueOperations, writeDataTypeValue, writeDefaultLiteral, writtenTypeArguments };
@@ -1,3 +1,3 @@
1
- import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-BfyLe7rh-C_rrUuhb.mjs";
2
- import { t as resolveIntrospectedColumnType } from "./control-adapter-CZ84jQ_z.mjs";
1
+ import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-BfyLe7rh-CiGzw3dq.mjs";
2
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-BlBhW0pc.mjs";
3
3
  export { type ExecuteRequestLowerer, type Lowerer, type SqlControlAdapter, type SqlControlAdapterDescriptor, resolveIntrospectedColumnType };
@@ -1,5 +1,5 @@
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-COXfSNOP-DcuULeD9.mjs";
3
- import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-tqHKiJ88.mjs";
4
- import { $ as StatementPlanningTarget, $t as resolveTableRenameAgainst, A as NoTable, At as encodeStoredValue, B as SchemaTables, Bt as partitionIssuesByControlPolicy, C as MigrationPlannerConflict, Ct as contractToSchemaIR, D as NO_RENAMED_ORIGINS, Dt as createSqlTextSources, E as ModelTable, Et as createMigrationPlan, F as ReportedBody, Ft as fieldStatementColumns, G as SqlDescribedContractSpace, Gt as plannerFailure, H as SqlControlFamilyInstance, Ht as planFieldEventCalls, I as ReportedLiteralDefault, It as isUnfilledSlot, J as SqlQuotingRules, Jt as readReportedDefault, K as SqlPslBuildContext, Kt as plannerSuccess, L as RequiredColumn, Lt as modelRenameStorageEffect, M as PlannedStatements, Mt as fieldEventStorage, N as ReadColumnDefault, Nt as fieldOfColumn, O as NamespaceRename, Ot as detectDestructiveChanges, P as ReadReportedDefault, Pt as fieldRenameStorageEffect, Q as StatementOwnership, Qt as resolveColumnRenameAgainst, R as RequiredColumnMark, Rt as otherSpaceDeclaring, S as MigrationPlanner, St as contractNamespaceToSchemaIR, T as ModelStorageEffect, Tt as convertedColumnOf, U as SqlControlTargetDescriptor, Ut as planFieldEventOperations, V as SingleOperationCall, Vt as planEnumValueRewrites, W as SqlDefaultFunctionName, Wt as planStatements, X as SqlTextSources, Xt as requiredColumnOf, Y as SqlSlot, Yt as requiredColumnMeta, Z as StatementColumn, Zt as requiredColumnsOfMigration, _ as INIT_ADDITIVE_POLICY, _n as withEnumValueOperations, _t as assembleAuthoringContributions, a as ColumnRename, an as runnerFailure, at as SuppressionRecord, b as MigrationPlan, bt as columnTakesTemporaryValue, c as ContractColumns, cn as sqlDefaultFunctions, ct as TableNameCaseGuardTable, d as ConvertedColumn, dn as storageNameOfOperation, dt as TableRenameRequest, en as rowsHoldingValueMeta, et as StoredEnumValue, f as DefaultResolver, fn as subjectsOfCalls, ft as TargetMigrationsCapability, g as FieldStorageEffect, gn as unmatchedTableRename, gt as appliedStatementsInOrder, h as FieldStatementColumns, hn as unmatchedColumnRename, ht as _default, i as ColumnOnOneSide, in as rowsWithoutValueSummary, it as SubjectStorage, j as PlanFieldEventOperationsOptions, jt as extractCodecControlHooks, k as NamespaceStatementTarget, kt as detectTableNameCaseChanges, l as ContractToSchemaIROptions, ln as sqlOfSlot, lt as TableRename, m as FieldEventCall, mn as unknownCallNames, mt as WorkingSchemaOrigins, n as CallSubjects, nn as rowsHoldingValueSummary, nt as StoredValueReplacement, o as ColumnRenameRequest, on as runnerSuccess, ot as TABLE_NAME_CASE_CHANGED_CODE, p as DefaultResolverColumn, pn as unconvertedFieldOf, pt as TargetRefusal, q as SqlQuote, qt as readColumnDefault, r as CallWithCompanions, rn as rowsWithoutValueFailure, rt as StoredValueRewrite, s as ContractColumn, sn as slotSource, st as TableMove, t as COLUMN_RENAME_UNMATCHED_CODE, tn as rowsHoldingValueOf, tt as StoredValueCodec, u as ControlPolicySubject, un as sqlTypeLookupsOf, ut as TableRenameByHand, v as MigrationOperationClass, vt as backfillOfDefaultedField, w as MigrationPlannerResult, wt as convertedColumnMeta, x as MigrationPlanOperation, xt as contractColumns, y as MigrationOperationPolicy, yt as checkSqlExpressionText, z as RowsHoldingValueMark, zt as partitionCallsByControlPolicy } from "./control-B6W_VEZ9.mjs";
1
+ import { h as checkSqlDefaultText } from "./validators-Dt-19ywK.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-COXfSNOP-D9vt9QDL.mjs";
3
+ import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-BXkhxcPs.mjs";
4
+ import { $ as StatementPlanningTarget, $t as resolveTableRenameAgainst, A as NoTable, At as encodeStoredValue, B as SchemaTables, Bt as partitionIssuesByControlPolicy, C as MigrationPlannerConflict, Ct as contractToSchemaIR, D as NO_RENAMED_ORIGINS, Dt as createSqlTextSources, E as ModelTable, Et as createMigrationPlan, F as ReportedBody, Ft as fieldStatementColumns, G as SqlDescribedContractSpace, Gt as plannerFailure, H as SqlControlFamilyInstance, Ht as planFieldEventCalls, I as ReportedLiteralDefault, It as isUnfilledSlot, J as SqlQuotingRules, Jt as readReportedDefault, K as SqlPslBuildContext, Kt as plannerSuccess, L as RequiredColumn, Lt as modelRenameStorageEffect, M as PlannedStatements, Mt as fieldEventStorage, N as ReadColumnDefault, Nt as fieldOfColumn, O as NamespaceRename, Ot as detectDestructiveChanges, P as ReadReportedDefault, Pt as fieldRenameStorageEffect, Q as StatementOwnership, Qt as resolveColumnRenameAgainst, R as RequiredColumnMark, Rt as otherSpaceDeclaring, S as MigrationPlanner, St as contractNamespaceToSchemaIR, T as ModelStorageEffect, Tt as convertedColumnOf, U as SqlControlTargetDescriptor, Ut as planFieldEventOperations, V as SingleOperationCall, Vt as planEnumValueRewrites, W as SqlDefaultFunctionName, Wt as planStatements, X as SqlTextSources, Xt as requiredColumnOf, Y as SqlSlot, Yt as requiredColumnMeta, Z as StatementColumn, Zt as requiredColumnsOfMigration, _ as INIT_ADDITIVE_POLICY, _n as withEnumValueOperations, _t as assembleAuthoringContributions, a as ColumnRename, an as runnerFailure, at as SuppressionRecord, b as MigrationPlan, bt as columnTakesTemporaryValue, c as ContractColumns, cn as sqlDefaultFunctions, ct as TableNameCaseGuardTable, d as ConvertedColumn, dn as storageNameOfOperation, dt as TableRenameRequest, en as rowsHoldingValueMeta, et as StoredEnumValue, f as DefaultResolver, fn as subjectsOfCalls, ft as TargetMigrationsCapability, g as FieldStorageEffect, gn as unmatchedTableRename, gt as appliedStatementsInOrder, h as FieldStatementColumns, hn as unmatchedColumnRename, ht as _default, i as ColumnOnOneSide, in as rowsWithoutValueSummary, it as SubjectStorage, j as PlanFieldEventOperationsOptions, jt as extractCodecControlHooks, k as NamespaceStatementTarget, kt as detectTableNameCaseChanges, l as ContractToSchemaIROptions, ln as sqlOfSlot, lt as TableRename, m as FieldEventCall, mn as unknownCallNames, mt as WorkingSchemaOrigins, n as CallSubjects, nn as rowsHoldingValueSummary, nt as StoredValueReplacement, o as ColumnRenameRequest, on as runnerSuccess, ot as TABLE_NAME_CASE_CHANGED_CODE, p as DefaultResolverColumn, pn as unconvertedFieldOf, pt as TargetRefusal, q as SqlQuote, qt as readColumnDefault, r as CallWithCompanions, rn as rowsWithoutValueFailure, rt as StoredValueRewrite, s as ContractColumn, sn as slotSource, st as TableMove, t as COLUMN_RENAME_UNMATCHED_CODE, tn as rowsHoldingValueOf, tt as StoredValueCodec, u as ControlPolicySubject, un as sqlTypeLookupsOf, ut as TableRenameByHand, v as MigrationOperationClass, vt as backfillOfDefaultedField, w as MigrationPlannerResult, wt as convertedColumnMeta, x as MigrationPlanOperation, xt as contractColumns, y as MigrationOperationPolicy, yt as checkSqlExpressionText, z as RowsHoldingValueMark, zt as partitionCallsByControlPolicy } from "./control-B2CeDfVO.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 RowsHoldingValueMark, 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 StoredEnumValue, type StoredValueCodec, type StoredValueReplacement, type StoredValueRewrite, 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, encodeStoredValue, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, isUnfilledSlot, modelRenameStorageEffect, otherSpaceDeclaring, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planEnumValueRewrites, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsHoldingValueMeta, rowsHoldingValueOf, rowsHoldingValueSummary, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, withEnumValueOperations };
@@ -1,4 +1,4 @@
1
- import { n as checkSqlDefaultText } from "./validators-BwA7ttZM.mjs";
2
- import { s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-DMjIubOr.mjs";
3
- import { $ as sqlTypeLookupsOf, A as planEnumValueRewrites, B as requiredColumnsOfMigration, C as fieldRenameStorageEffect, D as otherSpaceDeclaring, E as modelRenameStorageEffect, F as plannerSuccess, G as rowsHoldingValueSummary, H as resolveTableRenameAgainst, I as readColumnDefault, J as runnerFailure, K as rowsWithoutValueFailure, L as readReportedDefault, M as planFieldEventOperations, N as planStatements, O as partitionCallsByControlPolicy, P as plannerFailure, Q as sqlOfSlot, R as requiredColumnMeta, S as fieldOfColumn, T as isUnfilledSlot, U as rowsHoldingValueMeta, V as resolveColumnRenameAgainst, W as rowsHoldingValueOf, X as slotSource, Y as runnerSuccess, Z as sqlDefaultFunctions, _ as createSqlTextSources, a as appliedStatementsInOrder, at as unmatchedTableRename, b as encodeStoredValue, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as storageNameOfOperation, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, it as unmatchedColumnRename, j as planFieldEventCalls, k as partitionIssuesByControlPolicy, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, nt as unconvertedFieldOf, o as assembleAuthoringContributions, ot as withEnumValueOperations, p as control_default, q as rowsWithoutValueSummary, r as NO_RENAMED_ORIGINS, rt as unknownCallNames, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, tt as subjectsOfCalls, u as contractColumns, v as detectDestructiveChanges, w as fieldStatementColumns, x as fieldEventStorage, y as detectTableNameCaseChanges, z as requiredColumnOf } from "./control-D6wIw5Fi.mjs";
1
+ import { n as checkSqlDefaultText } from "./validators-CnQqLEIi.mjs";
2
+ import { s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-mlPO4NkT.mjs";
3
+ import { $ as sqlTypeLookupsOf, A as planEnumValueRewrites, B as requiredColumnsOfMigration, C as fieldRenameStorageEffect, D as otherSpaceDeclaring, E as modelRenameStorageEffect, F as plannerSuccess, G as rowsHoldingValueSummary, H as resolveTableRenameAgainst, I as readColumnDefault, J as runnerFailure, K as rowsWithoutValueFailure, L as readReportedDefault, M as planFieldEventOperations, N as planStatements, O as partitionCallsByControlPolicy, P as plannerFailure, Q as sqlOfSlot, R as requiredColumnMeta, S as fieldOfColumn, T as isUnfilledSlot, U as rowsHoldingValueMeta, V as resolveColumnRenameAgainst, W as rowsHoldingValueOf, X as slotSource, Y as runnerSuccess, Z as sqlDefaultFunctions, _ as createSqlTextSources, a as appliedStatementsInOrder, at as unmatchedTableRename, b as encodeStoredValue, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as storageNameOfOperation, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, it as unmatchedColumnRename, j as planFieldEventCalls, k as partitionIssuesByControlPolicy, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, nt as unconvertedFieldOf, o as assembleAuthoringContributions, ot as withEnumValueOperations, p as control_default, q as rowsWithoutValueSummary, r as NO_RENAMED_ORIGINS, rt as unknownCallNames, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, tt as subjectsOfCalls, u as contractColumns, v as detectDestructiveChanges, w as fieldStatementColumns, x as fieldEventStorage, y as detectTableNameCaseChanges, z as requiredColumnOf } from "./control-C1EjGUVq.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, encodeStoredValue, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, isUnfilledSlot, modelRenameStorageEffect, otherSpaceDeclaring, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planEnumValueRewrites, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsHoldingValueMeta, rowsHoldingValueOf, rowsHoldingValueSummary, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, withEnumValueOperations };
@@ -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-FNTO8gbI.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-BlX_rfVG.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-DMjIubOr.mjs";
1
+ import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue } from "./schema-verify-C3wbdviw-mlPO4NkT.mjs";
2
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-BvptQsFW.mjs";
1
+ import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-CZ5Ks7EA.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-D2BfrNxs.mjs";
1
+ import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-aQd4v3fE.mjs";
2
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-qalbcIUs.mjs";
1
+ import { t as SqlMigration } from "./migration-B35kGD-7.mjs";
2
2
  export { SqlMigration as Migration };
@@ -1,2 +1,2 @@
1
- import { i as sqlTargetTypeConstructors, n as sqlFamilyPack, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-Cap3oVPy.mjs";
1
+ import { i as sqlTargetTypeConstructors, n as sqlFamilyPack, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-BPbz6RVm.mjs";
2
2
  export { sqlFamilyPack as default, idGeneratorFunctionBindings, sqlIntegerArgumentGeneratorFunctions, sqlTargetTypeConstructors };
@@ -1,6 +1,6 @@
1
1
  import { f as sqlExpressionRegistration } from "./sql-expression-CKgKznXS.mjs";
2
- import { b as sqlAttributeSpecs } from "./psl-field-resolution-Bvhx79fP-CQqHf_L4.mjs";
3
- import { a as sqlFamilyGeneratorFunctions, c as sqlTargetTypeConstructors, i as sqlFamilyGeneratorDescriptors, n as sqlFamilyAuthoringTypes, o as sqlFamilyPslBlockDescriptors, r as sqlFamilyEntityTypes, s as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./generator-functions-Hy4pDDr9-AUCNpeg5.mjs";
2
+ import { b as sqlAttributeSpecs } from "./psl-field-resolution-Bvhx79fP-CuyYFk8z.mjs";
3
+ import { a as sqlFamilyGeneratorFunctions, c as sqlTargetTypeConstructors, i as sqlFamilyGeneratorDescriptors, n as sqlFamilyAuthoringTypes, o as sqlFamilyPslBlockDescriptors, r as sqlFamilyEntityTypes, s as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./generator-functions-Hy4pDDr9-BUHOsofo.mjs";
4
4
  //#region ../../../2-sql-family/9-family/dist/pack.mjs
5
5
  const sqlFamilyPack = {
6
6
  kind: "family",
@@ -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-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";
1
+ import { a as writeDefaultLiteral, i as writeDataTypeValue, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CAOONlKQ-CIg7JCfF.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-CNncjpsa.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,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-DzoxPZGd.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-BkkoyXmM.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--g4i84Go.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-C9kVS9ma.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-DCqtmnSU.mjs";
2
- import { a as timestampNowRuntimeGenerator, i as sqlRuntimeFamilyDescriptor, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-JKWb27L5.mjs";
1
+ import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-D1rXCcCk.mjs";
2
+ import { a as timestampNowRuntimeGenerator, i as sqlRuntimeFamilyDescriptor, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-BrBva2ta.mjs";
3
3
  export { type ResolvedDomainModel, type ResolvedStorageTable, UNBOUND_DOMAIN_NAMESPACE_ID, sqlRuntimeFamilyDescriptor as default, resolveDomainModel, resolveStorageTable, timestampNowRuntimeGenerator };
@@ -1,9 +1,9 @@
1
1
  import { a as ForeignKeyReferenceInput, n as ForeignKeyIndex, o as ReferentialAction, r as ForeignKeyInput } from "./foreign-key-qkDFfG8t-TaK_GYWR.mjs";
2
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";
3
+ import { r as IndexInput } from "./sql-index-ByAAE7K8-4TUFKGLK.mjs";
4
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";
5
+ import { _ as SqlIndexIR } from "./types-fmtEmvj3-B0fQaVes.mjs";
6
+ import "./types-B-dwfOwQ.mjs";
7
7
  import { AuthoringWarningSink } from "@prisma/orm-framework/components/authoring";
8
8
  //#region ../../../2-sql-family/1-core/contract/dist/foreign-key-materialization.d.mts
9
9
  //#region src/index-equivalence.d.ts
@@ -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-48P2V8on.d.mts.map
98
+ //# sourceMappingURL=foreign-key-materialization-C53nVQuD.d.mts.map
@@ -1 +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
+ {"version":3,"file":"foreign-key-materialization-C53nVQuD.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,11 +1,11 @@
1
1
  import { t as contractError } from "./contract-errors-BCN6RVI5-DoH6b_KZ.mjs";
2
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";
3
+ import { _ as truncateToWireNamePrefixBytes, s as defaultIndexName, u as nameOf } from "./naming-DEpT6Zad-C9PFkWt6.mjs";
4
+ import { r as lowerAuthoredIndex } from "./index-naming-BOcJT1B3-D-49owHA.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-9GNm8oG9.mjs";
6
6
  import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
7
- import { InternalError } from "@prisma/orm-framework/utils/internal-error";
8
7
  import { asNamespaceId } from "@prisma/orm-framework/contract/types";
8
+ import { InternalError } from "@prisma/orm-framework/utils/internal-error";
9
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.";
@@ -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-BM59w_Xg.mjs.map
287
+ //# sourceMappingURL=foreign-key-materialization-CCHAR789.mjs.map