@prisma/orm-family-sql 8.0.0-rc.18-dev.9 → 8.0.0-rc.18-dev.11

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 (212) hide show
  1. package/dist/{ast-DbmdIKFd.d.mts → ast-BoM9T1b2.d.mts} +3 -3
  2. package/dist/{ast-DbmdIKFd.d.mts.map → ast-BoM9T1b2.d.mts.map} +1 -1
  3. package/dist/{attribute-specs-CKg3a2P_.d.mts → attribute-specs-D7EhHD08.d.mts} +4 -8
  4. package/dist/{attribute-specs-CKg3a2P_.d.mts.map → attribute-specs-D7EhHD08.d.mts.map} +1 -1
  5. package/dist/{authoring-entity-types-CZ-vdwYS-Cc7JCJ0Q.d.mts → authoring-entity-types-CZ-vdwYS-Cl5erH9X.d.mts} +2 -2
  6. package/dist/{authoring-entity-types-CZ-vdwYS-Cc7JCJ0Q.d.mts.map → authoring-entity-types-CZ-vdwYS-Cl5erH9X.d.mts.map} +1 -1
  7. package/dist/{authoring-type-constructors-0Iv2zdwS-BG0FZNDM.mjs → authoring-type-constructors-0Iv2zdwS-yMnSyGBK.mjs} +2 -2
  8. package/dist/{authoring-type-constructors-0Iv2zdwS-BG0FZNDM.mjs.map → authoring-type-constructors-0Iv2zdwS-yMnSyGBK.mjs.map} +1 -1
  9. package/dist/builder.d.mts +3 -3
  10. package/dist/builder__runtime.d.mts +10 -10
  11. package/dist/builder__runtime.mjs +1 -1
  12. package/dist/builder__types.d.mts +5 -5
  13. package/dist/{codec-descriptor-registry-CYK0Wzja.mjs → codec-descriptor-registry-Bg9OjQf_.mjs} +2 -2
  14. package/dist/{codec-descriptor-registry-CYK0Wzja.mjs.map → codec-descriptor-registry-Bg9OjQf_.mjs.map} +1 -1
  15. package/dist/{collection-methods-BnR4UjcW-BY8ZGjfa.d.mts → collection-methods-BnR4UjcW-C_55W2m0.d.mts} +4 -4
  16. package/dist/{collection-methods-BnR4UjcW-BY8ZGjfa.d.mts.map → collection-methods-BnR4UjcW-C_55W2m0.d.mts.map} +1 -1
  17. package/dist/collection-methods-CyUXbXVw.d.mts +1 -0
  18. package/dist/{config-types-C2mASmPh.d.mts → config-types-B47kpY4J.d.mts} +4 -4
  19. package/dist/{config-types-C2mASmPh.d.mts.map → config-types-B47kpY4J.d.mts.map} +1 -1
  20. package/dist/{config-types-CrREu8Fa.mjs → config-types-ni1nb_HA.mjs} +2 -2
  21. package/dist/{config-types-CrREu8Fa.mjs.map → config-types-ni1nb_HA.mjs.map} +1 -1
  22. package/dist/{contract-builder-ClsLO9DI.d.mts → contract-builder-CH0AIjsv.d.mts} +5 -23
  23. package/dist/contract-builder-CH0AIjsv.d.mts.map +1 -0
  24. package/dist/{contract-builder-Du_YOA1B.mjs → contract-builder-CiYVj56_.mjs} +4 -19
  25. package/dist/contract-builder-CiYVj56_.mjs.map +1 -0
  26. package/dist/contract-emitter.mjs +1 -1
  27. package/dist/contract-prisma7__provider.d.mts +2 -2
  28. package/dist/contract-prisma7__provider.mjs +5 -8
  29. package/dist/contract-prisma7__provider.mjs.map +1 -1
  30. package/dist/contract-psl.d.mts +3 -3
  31. package/dist/contract-psl.mjs +1 -1
  32. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  33. package/dist/contract-psl__attribute-specs.mjs +1 -1
  34. package/dist/contract-psl__provider.d.mts +2 -2
  35. package/dist/contract-psl__provider.mjs +2 -2
  36. package/dist/contract-psl__provider.mjs.map +1 -1
  37. package/dist/contract-ts.d.mts +4 -5
  38. package/dist/contract-ts.mjs +3 -3
  39. package/dist/contract-ts__config-types.d.mts +1 -1
  40. package/dist/contract-ts__config-types.mjs +1 -1
  41. package/dist/contract-ts__contract-builder.d.mts +3 -4
  42. package/dist/contract-ts__contract-builder.mjs +2 -2
  43. package/dist/{contract-view-CijuTaer.d.mts → contract-view-BAbRgQMW.d.mts} +2 -2
  44. package/dist/{contract-view-CijuTaer.d.mts.map → contract-view-BAbRgQMW.d.mts.map} +1 -1
  45. package/dist/contract.d.mts +10 -10
  46. package/dist/contract.mjs +6 -6
  47. package/dist/contract__contract-view.d.mts +1 -1
  48. package/dist/contract__entity-kinds.d.mts +1 -1
  49. package/dist/contract__entity-kinds.mjs +1 -1
  50. package/dist/contract__factories.d.mts +1 -1
  51. package/dist/contract__factories.mjs +1 -1
  52. package/dist/contract__index-type-validation.d.mts +1 -1
  53. package/dist/contract__resolve-storage-table.d.mts +1 -1
  54. package/dist/contract__types.d.mts +4 -4
  55. package/dist/contract__types.mjs +3 -3
  56. package/dist/contract__validators.d.mts +1 -1
  57. package/dist/contract__validators.mjs +2 -2
  58. package/dist/{control-Ced1D4yz.d.mts → control-DI79MS1a.d.mts} +15 -19
  59. package/dist/control-DI79MS1a.d.mts.map +1 -0
  60. package/dist/{control-DiLXYDZc.mjs → control-Dw27oEaF.mjs} +9 -9
  61. package/dist/{control-DiLXYDZc.mjs.map → control-Dw27oEaF.mjs.map} +1 -1
  62. package/dist/{control-adapter-CkFfBVei-4WUzQP7G.d.mts → control-adapter-CkFfBVei-DGf1LihO.d.mts} +6 -6
  63. package/dist/{control-adapter-CkFfBVei-4WUzQP7G.d.mts.map → control-adapter-CkFfBVei-DGf1LihO.d.mts.map} +1 -1
  64. package/dist/control-adapter-DDjgBMy3.d.mts +1 -0
  65. package/dist/{db-BmrN9nRS-CkMIL55t.d.mts → db-BmrN9nRS-CzyybGKR.d.mts} +13 -13
  66. package/dist/{db-BmrN9nRS-CkMIL55t.d.mts.map → db-BmrN9nRS-CzyybGKR.d.mts.map} +1 -1
  67. package/dist/{ddl-types-DtKZjNtN-BCpmdMQF.d.mts → ddl-types-DtKZjNtN-DWQeO79o.d.mts} +3 -3
  68. package/dist/{ddl-types-DtKZjNtN-BCpmdMQF.d.mts.map → ddl-types-DtKZjNtN-DWQeO79o.d.mts.map} +1 -1
  69. package/dist/{derived-checks-BVSHiu2A-CzEmkTMg.mjs → derived-checks-Cgx_VgS3-CmFqNFgU.mjs} +8 -53
  70. package/dist/derived-checks-Cgx_VgS3-CmFqNFgU.mjs.map +1 -0
  71. package/dist/{derived-checks-DpPkO6Dt--oL-Zi3r.d.mts → derived-checks-DpPkO6Dt-BMXrIjZy.d.mts} +3 -3
  72. package/dist/{derived-checks-DpPkO6Dt--oL-Zi3r.d.mts.map → derived-checks-DpPkO6Dt-BMXrIjZy.d.mts.map} +1 -1
  73. package/dist/{diff-Cx7qTc2x.d.mts → diff-CVVGktZG.d.mts} +6 -6
  74. package/dist/{diff-Cx7qTc2x.d.mts.map → diff-CVVGktZG.d.mts.map} +1 -1
  75. package/dist/{dist-D4FKWSKx.mjs → dist-Cg2lL1hR.mjs} +2 -2
  76. package/dist/{dist-D4FKWSKx.mjs.map → dist-Cg2lL1hR.mjs.map} +1 -1
  77. package/dist/{entity-kinds-DqUYen0Y.d.mts → entity-kinds-BCMNbwxO.d.mts} +2 -2
  78. package/dist/{entity-kinds-DqUYen0Y.d.mts.map → entity-kinds-BCMNbwxO.d.mts.map} +1 -1
  79. package/dist/{entity-kinds-DDTkNIr9-DJ2EIO94.mjs → entity-kinds-CQ_jwgYv-HA5t2SE0.mjs} +5 -14
  80. package/dist/entity-kinds-CQ_jwgYv-HA5t2SE0.mjs.map +1 -0
  81. package/dist/{expression-CNBCbbzU-DnvLZYf4.d.mts → expression-CNBCbbzU-DOXKUxQs.d.mts} +3 -3
  82. package/dist/{expression-CNBCbbzU-DnvLZYf4.d.mts.map → expression-CNBCbbzU-DOXKUxQs.d.mts.map} +1 -1
  83. package/dist/{expression-Ck1wys3N-CBfr-HMG.d.mts → expression-Ck1wys3N-Cdc7eUQS.d.mts} +7 -7
  84. package/dist/{expression-Ck1wys3N-CBfr-HMG.d.mts.map → expression-Ck1wys3N-Cdc7eUQS.d.mts.map} +1 -1
  85. package/dist/expression-DUYovBa6.d.mts +2 -0
  86. package/dist/{factories-2LNVsQ2j.d.mts → factories-B4AMRt6O.d.mts} +3 -3
  87. package/dist/{factories-2LNVsQ2j.d.mts.map → factories-B4AMRt6O.d.mts.map} +1 -1
  88. package/dist/{factories-CScqMnFk.mjs → factories-vDQ3S5gW.mjs} +2 -2
  89. package/dist/{factories-CScqMnFk.mjs.map → factories-vDQ3S5gW.mjs.map} +1 -1
  90. package/dist/family.d.mts +12 -12
  91. package/dist/family.mjs +4 -4
  92. package/dist/family__control-adapter.d.mts +2 -2
  93. package/dist/family__control.d.mts +4 -4
  94. package/dist/family__control.mjs +3 -3
  95. package/dist/family__diff.d.mts +2 -2
  96. package/dist/family__diff.mjs +1 -1
  97. package/dist/family__ir.d.mts +1 -1
  98. package/dist/family__ir.mjs +1 -1
  99. package/dist/family__migration.d.mts +1 -1
  100. package/dist/family__pack.d.mts +1 -1
  101. package/dist/family__pack.mjs +2 -2
  102. package/dist/family__runtime.d.mts +2 -2
  103. package/dist/{functions-DucgffNf.d.mts → functions-DSwXxsTg.d.mts} +6 -6
  104. package/dist/{functions-DucgffNf.d.mts.map → functions-DSwXxsTg.d.mts.map} +1 -1
  105. package/dist/{index-CJlr0Eja.d.mts → index-BXFiad5j.d.mts} +3 -3
  106. package/dist/{index-CJlr0Eja.d.mts.map → index-BXFiad5j.d.mts.map} +1 -1
  107. package/dist/{index-DuD4M3b8.d.mts → index-C8jUgdUh.d.mts} +20 -20
  108. package/dist/{index-DuD4M3b8.d.mts.map → index-C8jUgdUh.d.mts.map} +1 -1
  109. package/dist/index-reference-DGQdSRjQ.d.mts +1 -0
  110. package/dist/{index-reference-DJX-CNsb-C1fCMhrJ.d.mts → index-reference-DJX-CNsb-D5uoBnH_.d.mts} +3 -3
  111. package/dist/{index-reference-DJX-CNsb-C1fCMhrJ.d.mts.map → index-reference-DJX-CNsb-D5uoBnH_.d.mts.map} +1 -1
  112. package/dist/{index-type-validation-P4WLRyZA.d.mts → index-type-validation-Cz2T3FJn.d.mts} +3 -3
  113. package/dist/{index-type-validation-P4WLRyZA.d.mts.map → index-type-validation-Cz2T3FJn.d.mts.map} +1 -1
  114. package/dist/{interpreter-y1GRudgs-DnP0uDGL.mjs → interpreter-CvmBTYyI-DNl-jr2E.mjs} +5 -6
  115. package/dist/interpreter-CvmBTYyI-DNl-jr2E.mjs.map +1 -0
  116. package/dist/{ir-BEQwEnRB.d.mts → ir-D0Vpm5O9.d.mts} +3 -3
  117. package/dist/{ir-BEQwEnRB.d.mts.map → ir-D0Vpm5O9.d.mts.map} +1 -1
  118. package/dist/middleware-Bp-R5o9E.d.mts +1 -0
  119. package/dist/{middleware-YsFLC19Y-Dot9R8QY.d.mts → middleware-YsFLC19Y-5mJZCBWq.d.mts} +2 -2
  120. package/dist/{middleware-YsFLC19Y-Dot9R8QY.d.mts.map → middleware-YsFLC19Y-5mJZCBWq.d.mts.map} +1 -1
  121. package/dist/{migration-Cc102YUu.d.mts → migration-ESRa6312.d.mts} +4 -4
  122. package/dist/{migration-Cc102YUu.d.mts.map → migration-ESRa6312.d.mts.map} +1 -1
  123. package/dist/operations.d.mts +1 -1
  124. package/dist/orm-client.d.mts +21 -21
  125. package/dist/orm-client.mjs +1 -1
  126. package/dist/{pack-DI4Nur5d.d.mts → pack-BtGENS4_.d.mts} +3 -7
  127. package/dist/{pack-DI4Nur5d.d.mts.map → pack-BtGENS4_.d.mts.map} +1 -1
  128. package/dist/plan-DdpaNNu1.d.mts +2 -0
  129. package/dist/{plan-cGEaSXHv-Bv-SBtFA.d.mts → plan-cGEaSXHv-yuz43WrR.d.mts} +4 -4
  130. package/dist/{plan-cGEaSXHv-Bv-SBtFA.d.mts.map → plan-cGEaSXHv-yuz43WrR.d.mts.map} +1 -1
  131. package/dist/{psl-column-resolution-BCkhNzOK-0Gry4LFl.d.mts → psl-column-resolution-BCkhNzOK-Bbrs_WzK.d.mts} +2 -2
  132. package/dist/{psl-column-resolution-BCkhNzOK-0Gry4LFl.d.mts.map → psl-column-resolution-BCkhNzOK-Bbrs_WzK.d.mts.map} +1 -1
  133. package/dist/{psl-field-resolution-4U7Plpfb-CCfgoBAa.mjs → psl-field-resolution-SPNDr-jr-CH_gs3Oy.mjs} +4 -92
  134. package/dist/psl-field-resolution-SPNDr-jr-CH_gs3Oy.mjs.map +1 -0
  135. package/dist/{query-lane-context-C42-u9L1-CUP3uW4A.d.mts → query-lane-context-C42-u9L1-BSJoP83K.d.mts} +7 -7
  136. package/dist/{query-lane-context-C42-u9L1-CUP3uW4A.d.mts.map → query-lane-context-C42-u9L1-BSJoP83K.d.mts.map} +1 -1
  137. package/dist/query-lane-context-C4xq68Mr.d.mts +1 -0
  138. package/dist/relational-core.d.mts +12 -12
  139. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  140. package/dist/relational-core__ast.d.mts +3 -3
  141. package/dist/relational-core__codec-descriptor-registry.d.mts +4 -4
  142. package/dist/relational-core__codec-descriptor-registry.mjs +1 -1
  143. package/dist/relational-core__collection-methods.d.mts +2 -2
  144. package/dist/relational-core__contract-free.d.mts +3 -3
  145. package/dist/relational-core__expression.d.mts +3 -3
  146. package/dist/relational-core__functions.d.mts +1 -1
  147. package/dist/relational-core__index-reference.d.mts +2 -2
  148. package/dist/relational-core__middleware.d.mts +2 -2
  149. package/dist/relational-core__plan.d.mts +3 -3
  150. package/dist/relational-core__query-lane-context.d.mts +2 -2
  151. package/dist/relational-core__types.d.mts +2 -2
  152. package/dist/{resolve-storage-table-wSUswl-4.d.mts → resolve-storage-table-8N2xelSh.d.mts} +3 -3
  153. package/dist/{resolve-storage-table-wSUswl-4.d.mts.map → resolve-storage-table-8N2xelSh.d.mts.map} +1 -1
  154. package/dist/{runtime-BHJXmBhw.d.mts → runtime-BlUQqGCH.d.mts} +2 -2
  155. package/dist/{runtime-BHJXmBhw.d.mts.map → runtime-BlUQqGCH.d.mts.map} +1 -1
  156. package/dist/runtime.d.mts +4 -4
  157. package/dist/runtime.mjs +1 -1
  158. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  159. package/dist/{schema-differ-CqWOkoW9-DAcuiQPU.d.mts → schema-differ-CqWOkoW9-uVU2SdFf.d.mts} +3 -3
  160. package/dist/{schema-differ-CqWOkoW9-DAcuiQPU.d.mts.map → schema-differ-CqWOkoW9-uVU2SdFf.d.mts.map} +1 -1
  161. package/dist/{schema-verify-DIfHSB4I-CU6ViTDO.mjs → schema-verify-DIfHSB4I-wt28gB9e.mjs} +2 -2
  162. package/dist/{schema-verify-DIfHSB4I-CU6ViTDO.mjs.map → schema-verify-DIfHSB4I-wt28gB9e.mjs.map} +1 -1
  163. package/dist/{serialized-index-C26m_DWu-BjU519sW.mjs → serialized-index-52COq1yV-D8zJP-Xl.mjs} +3 -3
  164. package/dist/{serialized-index-C26m_DWu-BjU519sW.mjs.map → serialized-index-52COq1yV-D8zJP-Xl.mjs.map} +1 -1
  165. package/dist/{sql-contract-serializer-DDaAVCQr-DFIIkxQr.mjs → sql-contract-serializer-DDaAVCQr-Ba3XOCG6.mjs} +4 -4
  166. package/dist/{sql-contract-serializer-DDaAVCQr-DFIIkxQr.mjs.map → sql-contract-serializer-DDaAVCQr-Ba3XOCG6.mjs.map} +1 -1
  167. package/dist/{sql-execution-plan-C7XauPPu-DI9L8IkC.d.mts → sql-execution-plan-C7XauPPu-BgBp89vP.d.mts} +2 -2
  168. package/dist/{sql-execution-plan-C7XauPPu-DI9L8IkC.d.mts.map → sql-execution-plan-C7XauPPu-BgBp89vP.d.mts.map} +1 -1
  169. package/dist/{sql-storage-BTlJLUID-CGy3wuH4.d.mts → sql-storage-tZhB8nS5-8NSWT0TW.d.mts} +3 -3
  170. package/dist/{sql-storage-BTlJLUID-CGy3wuH4.d.mts.map → sql-storage-tZhB8nS5-8NSWT0TW.d.mts.map} +1 -1
  171. package/dist/{storage-table-WXeVNycx-BCwDhdq5.d.mts → storage-table-DC9afJhr-CmRU56OS.d.mts} +2 -7
  172. package/dist/storage-table-DC9afJhr-CmRU56OS.d.mts.map +1 -0
  173. package/dist/{storage-table-B7OSPl3G-p1j6AjMS.mjs → storage-table-DN36E2yE-Bm5eKeGw.mjs} +2 -3
  174. package/dist/{storage-table-B7OSPl3G-p1j6AjMS.mjs.map → storage-table-DN36E2yE-Bm5eKeGw.mjs.map} +1 -1
  175. package/dist/{transaction-state-DR3nKTmH-CkkfiS9z.d.mts → transaction-state-DR3nKTmH-D5eFB250.d.mts} +9 -9
  176. package/dist/{transaction-state-DR3nKTmH-CkkfiS9z.d.mts.map → transaction-state-DR3nKTmH-D5eFB250.d.mts.map} +1 -1
  177. package/dist/types-BSBsW0qR.d.mts +1 -0
  178. package/dist/{types-Cl4MLNrS-GHKQvTNi.d.mts → types-Cl4MLNrS-BXDsTb9U.d.mts} +10 -10
  179. package/dist/{types-Cl4MLNrS-GHKQvTNi.d.mts.map → types-Cl4MLNrS-BXDsTb9U.d.mts.map} +1 -1
  180. package/dist/{types-CzxOObSY-DTQ2rnLF.d.mts → types-CzxOObSY-Cq3t_HCe.d.mts} +7 -7
  181. package/dist/{types-CzxOObSY-DTQ2rnLF.d.mts.map → types-CzxOObSY-Cq3t_HCe.d.mts.map} +1 -1
  182. package/dist/{types-HD5m-h8B.d.mts → types-DMfBh16_.d.mts} +4 -4
  183. package/dist/{types-HD5m-h8B.d.mts.map → types-DMfBh16_.d.mts.map} +1 -1
  184. package/dist/{types-zwKzjyma-CxZkmkUI.d.mts → types-Dqf87mfA-BOElvimQ.d.mts} +4 -4
  185. package/dist/{types-zwKzjyma-CxZkmkUI.d.mts.map → types-Dqf87mfA-BOElvimQ.d.mts.map} +1 -1
  186. package/dist/{types-DXrO0fxT.mjs → types-GS3fwvoX.mjs} +2 -2
  187. package/dist/{types-DXrO0fxT.mjs.map → types-GS3fwvoX.mjs.map} +1 -1
  188. package/dist/{types-Sh5HuaZE-Dq4AUzl7.d.mts → types-Sh5HuaZE-BwZNUDEi.d.mts} +2 -2
  189. package/dist/{types-Sh5HuaZE-Dq4AUzl7.d.mts.map → types-Sh5HuaZE-BwZNUDEi.d.mts.map} +1 -1
  190. package/dist/{validators-CfUrQdiv.mjs → validators-DlpO67uZ.mjs} +35 -15
  191. package/dist/validators-DlpO67uZ.mjs.map +1 -0
  192. package/dist/{validators-BifwoR5e.d.mts → validators-R-Wsy5Rr.d.mts} +3 -4
  193. package/dist/validators-R-Wsy5Rr.d.mts.map +1 -0
  194. package/package.json +18 -18
  195. package/dist/collection-methods-iWGpEfkq.d.mts +0 -1
  196. package/dist/contract-builder-ClsLO9DI.d.mts.map +0 -1
  197. package/dist/contract-builder-Du_YOA1B.mjs.map +0 -1
  198. package/dist/control-Ced1D4yz.d.mts.map +0 -1
  199. package/dist/control-adapter-pn8u9o3J.d.mts +0 -1
  200. package/dist/derived-checks-BVSHiu2A-CzEmkTMg.mjs.map +0 -1
  201. package/dist/entity-kinds-DDTkNIr9-DJ2EIO94.mjs.map +0 -1
  202. package/dist/expression-eDSWdiqh.d.mts +0 -2
  203. package/dist/index-reference-CrohwmmB.d.mts +0 -1
  204. package/dist/interpreter-y1GRudgs-DnP0uDGL.mjs.map +0 -1
  205. package/dist/middleware-DTu2jl68.d.mts +0 -1
  206. package/dist/plan-CuSLaQdv.d.mts +0 -2
  207. package/dist/psl-field-resolution-4U7Plpfb-CCfgoBAa.mjs.map +0 -1
  208. package/dist/query-lane-context-C29KGcgz.d.mts +0 -1
  209. package/dist/storage-table-WXeVNycx-BCwDhdq5.d.mts.map +0 -1
  210. package/dist/types-BhcBOXu7.d.mts +0 -1
  211. package/dist/validators-BifwoR5e.d.mts.map +0 -1
  212. package/dist/validators-CfUrQdiv.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- import { a as SqlNamespaceBase, c as SqlNamespaceInput } from "./sql-storage-BTlJLUID-CGy3wuH4.mjs";
2
- import "./types-HD5m-h8B.mjs";
3
- import { t as ColumnDescriptor } from "./psl-column-resolution-BCkhNzOK-0Gry4LFl.mjs";
1
+ import { a as SqlNamespaceBase, c as SqlNamespaceInput } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
2
+ import "./types-DMfBh16_.mjs";
3
+ import { t as ColumnDescriptor } from "./psl-column-resolution-BCkhNzOK-Bbrs_WzK.mjs";
4
4
  import { AuthoringContributions, DataTypeSupport } from "@prisma/orm-framework/components/authoring";
5
5
  import { CodecLookupWithDescriptors } from "@prisma/orm-framework/components/codec";
6
6
  import { Contract } from "@prisma/orm-framework/contract/types";
@@ -1,2 +1,2 @@
1
- import { i as interpretPslDocumentToSqlContract } from "./interpreter-y1GRudgs-DnP0uDGL.mjs";
1
+ import { i as interpretPslDocumentToSqlContract } from "./interpreter-CvmBTYyI-DNl-jr2E.mjs";
2
2
  export { interpretPslDocumentToSqlContract };
@@ -1,2 +1,2 @@
1
- import { a as ParsedNullLiteral, i as EnumMemberListDefault, n as DefaultFunctionCall, o as sqlAttributeSpecs, r as EnumMemberDefault, t as describeUnsupportedSqlAttribute } from "./attribute-specs-CKg3a2P_.mjs";
1
+ import { a as ParsedNullLiteral, i as EnumMemberListDefault, n as DefaultFunctionCall, o as sqlAttributeSpecs, r as EnumMemberDefault, t as describeUnsupportedSqlAttribute } from "./attribute-specs-D7EhHD08.mjs";
2
2
  export { type DefaultFunctionCall, type EnumMemberDefault, type EnumMemberListDefault, type ParsedNullLiteral, describeUnsupportedSqlAttribute, sqlAttributeSpecs };
@@ -1,2 +1,2 @@
1
- import { a as describeUnsupportedSqlAttribute, v as sqlAttributeSpecs } from "./psl-field-resolution-4U7Plpfb-CCfgoBAa.mjs";
1
+ import { a as describeUnsupportedSqlAttribute, v as sqlAttributeSpecs } from "./psl-field-resolution-SPNDr-jr-CH_gs3Oy.mjs";
2
2
  export { describeUnsupportedSqlAttribute, sqlAttributeSpecs };
@@ -1,5 +1,5 @@
1
- import { a as SqlNamespaceBase, c as SqlNamespaceInput } from "./sql-storage-BTlJLUID-CGy3wuH4.mjs";
2
- import "./types-HD5m-h8B.mjs";
1
+ import { a as SqlNamespaceBase, c as SqlNamespaceInput } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
2
+ import "./types-DMfBh16_.mjs";
3
3
  import { ControlPolicy } from "@prisma/orm-framework/contract/types";
4
4
  import { ExtensionPackRef, TargetPackRef } from "@prisma/orm-framework/components/components";
5
5
  import { ContractConfig } from "@prisma/orm-framework/config/config-types";
@@ -1,5 +1,5 @@
1
- import { t as applySqlSpecifierControlPolicy } from "./derived-checks-BVSHiu2A-CzEmkTMg.mjs";
2
- import { i as interpretPslDocumentToSqlContract } from "./interpreter-y1GRudgs-DnP0uDGL.mjs";
1
+ import { t as applySqlSpecifierControlPolicy } from "./derived-checks-Cgx_VgS3-CmFqNFgU.mjs";
2
+ import { i as interpretPslDocumentToSqlContract } from "./interpreter-CvmBTYyI-DNl-jr2E.mjs";
3
3
  import { ifDefined } from "@prisma/orm-framework/utils/defined";
4
4
  import { collectScalarTypeConstructors } from "@prisma/orm-framework/components/authoring";
5
5
  import { readFile } from "node:fs/promises";
@@ -1 +1 @@
1
- {"version":3,"file":"contract-psl__provider.mjs","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/provider.mjs"],"sourcesContent":["import { n as interpretPslDocumentToSqlContract } from \"./interpreter-y1GRudgs.mjs\";\nimport { buildSymbolTable, createBinder, isPrismaNextSchema, mapPslDiagnostics } from \"@internal/psl-parser\";\nimport { applySqlSpecifierControlPolicy } from \"@internal/sql-contract-ts/contract-builder\";\nimport { assertDefined } from \"@internal/utils/assertions\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { collectScalarTypeConstructors } from \"@internal/framework-components/authoring\";\nimport { withSeedDiagnostics } from \"@internal/psl-parser/interpret\";\nimport { parse } from \"@internal/psl-parser/syntax\";\nimport { notOk, ok } from \"@internal/utils/result\";\nimport { readFile } from \"node:fs/promises\";\nimport { basename, extname } from \"pathe\";\nimport { isDynamicPattern } from \"tinyglobby\";\n//#region src/provider.ts\n/**\n* The directory portion of `pattern` before its first glob-magic segment,\n* joined back with `/` (e.g. a `prisma` directory holding a recursive\n* `.prisma` glob derives `./prisma`). A rootless pattern with no static\n* segments yields `''`.\n*/\nfunction staticPrefixDirectory(pattern) {\n\tconst staticSegments = [];\n\tfor (const segment of pattern.replaceAll(\"\\\\\", \"/\").split(\"/\")) {\n\t\tif (isDynamicPattern(segment)) break;\n\t\tstaticSegments.push(segment);\n\t}\n\treturn staticSegments.join(\"/\");\n}\n/**\n* Derives the emit output path from the schema input path so artefacts land\n* colocated with the source (e.g. `src/contract/schema.prisma` →\n* `src/contract/contract.json`). A glob-shaped path derives from its static\n* prefix directory instead (a recursive glob under `prisma` derives\n* `./prisma/contract.json`). The provider owns this because it is the only\n* layer that knows the input path; the upstream `normalizeContractConfig`\n* default is a last-resort fallback for providers that don't carry one.\n*/\nfunction defaultOutputFromSchemaPath(schemaPath) {\n\tif (isDynamicPattern(schemaPath)) {\n\t\tconst prefix = staticPrefixDirectory(schemaPath);\n\t\treturn prefix.length === 0 ? \"contract.json\" : `${prefix}/contract.json`;\n\t}\n\tconst ext = extname(schemaPath);\n\tif (ext.length === 0) return `${schemaPath}.json`;\n\tconst base = schemaPath.slice(0, -ext.length);\n\tif (basename(base) === \"schema\") return `${base.slice(0, -6)}contract.json`;\n\treturn `${base}.json`;\n}\nfunction prismaContract(schemaPath, options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"psl\",\n\t\t\tinputs: [schemaPath],\n\t\t\tinterpret(input, context) {\n\t\t\t\tconst scalarColumnDescriptors = collectScalarTypeConstructors(context.authoringContributions.type);\n\t\t\t\treturn interpretPslDocumentToSqlContract({\n\t\t\t\t\tdocuments: input.documents,\n\t\t\t\t\tsymbolTable: input.symbolTable,\n\t\t\t\t\tsources: input.sources,\n\t\t\t\t\tbinder: input.binder,\n\t\t\t\t\tseedDiagnostics: [],\n\t\t\t\t\ttarget: options.target,\n\t\t\t\t\tauthoringContributions: context.authoringContributions,\n\t\t\t\t\tscalarColumnDescriptors,\n\t\t\t\t\t...ifDefined(\"composedExtensions\", context.composedExtensions.length > 0 ? [...context.composedExtensions] : void 0),\n\t\t\t\t\tcomposedExtensionContracts: context.composedExtensionContracts,\n\t\t\t\t\t...ifDefined(\"composedExtensionPackRefs\", options.composedExtensionPackRefs?.length ? options.composedExtensionPackRefs : void 0),\n\t\t\t\t\tcontrolMutationDefaults: context.controlMutationDefaults,\n\t\t\t\t\tcreateNamespace: options.createNamespace,\n\t\t\t\t\tcapabilities: context.capabilities,\n\t\t\t\t\tcodecLookup: context.codecLookup,\n\t\t\t\t\tdataTypes: context.dataTypes,\n\t\t\t\t\t...ifDefined(\"enumInferenceCodecs\", options.enumInferenceCodecs)\n\t\t\t\t});\n\t\t\t},\n\t\t\tasync load(context) {\n\t\t\t\tconst candidates = [...new Set(context.resolvedInputs)].sort();\n\t\t\t\tif (candidates.length === 0) return notOk({\n\t\t\t\t\tsummary: \"No schema files matched the configured contract source\",\n\t\t\t\t\tdiagnostics: [{\n\t\t\t\t\t\tcode: \"PSL_NO_SCHEMA_FILES_MATCHED\",\n\t\t\t\t\t\tmessage: `No files matched the configured pattern \"${schemaPath}\"`,\n\t\t\t\t\t\tsourceId: schemaPath\n\t\t\t\t\t}]\n\t\t\t\t});\n\t\t\t\tconst readDiagnostics = [];\n\t\t\t\tconst members = [];\n\t\t\t\tconst undirected = [];\n\t\t\t\tfor (const path of candidates) {\n\t\t\t\t\tlet text;\n\t\t\t\t\ttry {\n\t\t\t\t\t\ttext = await readFile(path, \"utf-8\");\n\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\tconst message = String(error);\n\t\t\t\t\t\treadDiagnostics.push({\n\t\t\t\t\t\t\tcode: \"PSL_SCHEMA_READ_FAILED\",\n\t\t\t\t\t\t\tmessage,\n\t\t\t\t\t\t\tsourceId: path\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif (isPrismaNextSchema(text)) members.push({\n\t\t\t\t\t\tpath,\n\t\t\t\t\t\ttext\n\t\t\t\t\t});\n\t\t\t\t\telse undirected.push(path);\n\t\t\t\t}\n\t\t\t\tif (members.length === 0) {\n\t\t\t\t\tif (undirected.length === 0) return notOk({\n\t\t\t\t\t\tsummary: \"Failed to read Prisma schema files\",\n\t\t\t\t\t\tdiagnostics: readDiagnostics\n\t\t\t\t\t});\n\t\t\t\t\treturn notOk({\n\t\t\t\t\t\tsummary: \"No schema file carries the \\\"// use prisma-8\\\" directive\",\n\t\t\t\t\t\tdiagnostics: [...readDiagnostics, {\n\t\t\t\t\t\t\tcode: \"PSL_NO_OPTED_IN_SCHEMA_FILES\",\n\t\t\t\t\t\t\tmessage: `None of the matched files carry the \"// use prisma-8\" directive: ${undirected.join(\", \")}`,\n\t\t\t\t\t\t\tsourceId: schemaPath\n\t\t\t\t\t\t}]\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tconst parsed = members.map(({ path, text }) => parse(text, path));\n\t\t\t\tconst documents = parsed.map(({ document }) => document);\n\t\t\t\tconst [firstSources, ...restSources] = parsed.map(({ sources }) => sources);\n\t\t\t\tassertDefined(firstSources, \"prismaContract requires at least one parsed schema file\");\n\t\t\t\tconst sources = firstSources.merge(...restSources);\n\t\t\t\tconst seedDiagnostics = [...readDiagnostics, ...mapPslDiagnostics(parsed.flatMap(({ diagnostics }) => diagnostics), sources)];\n\t\t\t\tconst { symbolTable, diagnostics: symbolTableDiagnostics } = buildSymbolTable({\n\t\t\t\t\tdocuments,\n\t\t\t\t\tsources,\n\t\t\t\t\tdefaultNamespaceId: context.defaultNamespaceId\n\t\t\t\t});\n\t\t\t\tconst { binder, diagnostics: binderDiagnostics } = createBinder({\n\t\t\t\t\tsymbolTable,\n\t\t\t\t\tsources,\n\t\t\t\t\tcontext\n\t\t\t\t});\n\t\t\t\tconst interpreted = withSeedDiagnostics(this.interpret({\n\t\t\t\t\tdocuments,\n\t\t\t\t\tsources,\n\t\t\t\t\tsymbolTable,\n\t\t\t\t\tbinder\n\t\t\t\t}, context), [...seedDiagnostics, ...mapPslDiagnostics([...symbolTableDiagnostics, ...binderDiagnostics], sources)]);\n\t\t\t\tif (!interpreted.ok) return interpreted;\n\t\t\t\treturn ok(applySqlSpecifierControlPolicy(interpreted.value, options.defaultControlPolicy, options.createNamespace));\n\t\t\t}\n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vD,MAAM,CAAC,cAAc,GAAG,eAAe,OAAO,KAAK,EAAE,cAAc,OAAO;IAC1E,cAAc,cAAc,yDAAyD;IACrF,MAAM,UAAU,aAAa,MAAM,GAAG,WAAW;IACjD,MAAM,kBAAkB,CAAC,GAAG,iBAAiB,GAAG,kBAAkB,OAAO,SAAS,EAAE,kBAAkB,WAAW,GAAG,OAAO,CAAC;IAC5H,MAAM,EAAE,aAAa,aAAa,2BAA2B,iBAAiB;KAC7E;KACA;KACA,oBAAoB,QAAQ;IAC7B,CAAC;IACD,MAAM,EAAE,QAAQ,aAAa,sBAAsB,aAAa;KAC/D;KACA;KACA;IACD,CAAC;IACD,MAAM,cAAc,oBAAoB,KAAK,UAAU;KACtD;KACA;KACA;KACA;IACD,GAAG,OAAO,GAAG,CAAC,GAAG,iBAAiB,GAAG,kBAAkB,CAAC,GAAG,wBAAwB,GAAG,iBAAiB,GAAG,OAAO,CAAC,CAAC;IACnH,IAAI,CAAC,YAAY,IAAI,OAAO;IAC5B,OAAO,GAAG,+BAA+B,YAAY,OAAO,QAAQ,sBAAsB,QAAQ,eAAe,CAAC;GACnH;EACD;EACA,QAAQ,QAAQ,UAAU,4BAA4B,UAAU;CACjE;AACD"}
1
+ {"version":3,"file":"contract-psl__provider.mjs","names":[],"sources":["../../../../2-sql/2-authoring/contract-psl/dist/provider.mjs"],"sourcesContent":["import { n as interpretPslDocumentToSqlContract } from \"./interpreter-CvmBTYyI.mjs\";\nimport { buildSymbolTable, createBinder, isPrismaNextSchema, mapPslDiagnostics } from \"@internal/psl-parser\";\nimport { applySqlSpecifierControlPolicy } from \"@internal/sql-contract-ts/contract-builder\";\nimport { assertDefined } from \"@internal/utils/assertions\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { collectScalarTypeConstructors } from \"@internal/framework-components/authoring\";\nimport { withSeedDiagnostics } from \"@internal/psl-parser/interpret\";\nimport { parse } from \"@internal/psl-parser/syntax\";\nimport { notOk, ok } from \"@internal/utils/result\";\nimport { readFile } from \"node:fs/promises\";\nimport { basename, extname } from \"pathe\";\nimport { isDynamicPattern } from \"tinyglobby\";\n//#region src/provider.ts\n/**\n* The directory portion of `pattern` before its first glob-magic segment,\n* joined back with `/` (e.g. a `prisma` directory holding a recursive\n* `.prisma` glob derives `./prisma`). A rootless pattern with no static\n* segments yields `''`.\n*/\nfunction staticPrefixDirectory(pattern) {\n\tconst staticSegments = [];\n\tfor (const segment of pattern.replaceAll(\"\\\\\", \"/\").split(\"/\")) {\n\t\tif (isDynamicPattern(segment)) break;\n\t\tstaticSegments.push(segment);\n\t}\n\treturn staticSegments.join(\"/\");\n}\n/**\n* Derives the emit output path from the schema input path so artefacts land\n* colocated with the source (e.g. `src/contract/schema.prisma` →\n* `src/contract/contract.json`). A glob-shaped path derives from its static\n* prefix directory instead (a recursive glob under `prisma` derives\n* `./prisma/contract.json`). The provider owns this because it is the only\n* layer that knows the input path; the upstream `normalizeContractConfig`\n* default is a last-resort fallback for providers that don't carry one.\n*/\nfunction defaultOutputFromSchemaPath(schemaPath) {\n\tif (isDynamicPattern(schemaPath)) {\n\t\tconst prefix = staticPrefixDirectory(schemaPath);\n\t\treturn prefix.length === 0 ? \"contract.json\" : `${prefix}/contract.json`;\n\t}\n\tconst ext = extname(schemaPath);\n\tif (ext.length === 0) return `${schemaPath}.json`;\n\tconst base = schemaPath.slice(0, -ext.length);\n\tif (basename(base) === \"schema\") return `${base.slice(0, -6)}contract.json`;\n\treturn `${base}.json`;\n}\nfunction prismaContract(schemaPath, options) {\n\treturn {\n\t\tsource: {\n\t\t\tformat: \"psl\",\n\t\t\tinputs: [schemaPath],\n\t\t\tinterpret(input, context) {\n\t\t\t\tconst scalarColumnDescriptors = collectScalarTypeConstructors(context.authoringContributions.type);\n\t\t\t\treturn interpretPslDocumentToSqlContract({\n\t\t\t\t\tdocuments: input.documents,\n\t\t\t\t\tsymbolTable: input.symbolTable,\n\t\t\t\t\tsources: input.sources,\n\t\t\t\t\tbinder: input.binder,\n\t\t\t\t\tseedDiagnostics: [],\n\t\t\t\t\ttarget: options.target,\n\t\t\t\t\tauthoringContributions: context.authoringContributions,\n\t\t\t\t\tscalarColumnDescriptors,\n\t\t\t\t\t...ifDefined(\"composedExtensions\", context.composedExtensions.length > 0 ? [...context.composedExtensions] : void 0),\n\t\t\t\t\tcomposedExtensionContracts: context.composedExtensionContracts,\n\t\t\t\t\t...ifDefined(\"composedExtensionPackRefs\", options.composedExtensionPackRefs?.length ? options.composedExtensionPackRefs : void 0),\n\t\t\t\t\tcontrolMutationDefaults: context.controlMutationDefaults,\n\t\t\t\t\tcreateNamespace: options.createNamespace,\n\t\t\t\t\tcapabilities: context.capabilities,\n\t\t\t\t\tcodecLookup: context.codecLookup,\n\t\t\t\t\tdataTypes: context.dataTypes,\n\t\t\t\t\t...ifDefined(\"enumInferenceCodecs\", options.enumInferenceCodecs)\n\t\t\t\t});\n\t\t\t},\n\t\t\tasync load(context) {\n\t\t\t\tconst candidates = [...new Set(context.resolvedInputs)].sort();\n\t\t\t\tif (candidates.length === 0) return notOk({\n\t\t\t\t\tsummary: \"No schema files matched the configured contract source\",\n\t\t\t\t\tdiagnostics: [{\n\t\t\t\t\t\tcode: \"PSL_NO_SCHEMA_FILES_MATCHED\",\n\t\t\t\t\t\tmessage: `No files matched the configured pattern \"${schemaPath}\"`,\n\t\t\t\t\t\tsourceId: schemaPath\n\t\t\t\t\t}]\n\t\t\t\t});\n\t\t\t\tconst readDiagnostics = [];\n\t\t\t\tconst members = [];\n\t\t\t\tconst undirected = [];\n\t\t\t\tfor (const path of candidates) {\n\t\t\t\t\tlet text;\n\t\t\t\t\ttry {\n\t\t\t\t\t\ttext = await readFile(path, \"utf-8\");\n\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\tconst message = String(error);\n\t\t\t\t\t\treadDiagnostics.push({\n\t\t\t\t\t\t\tcode: \"PSL_SCHEMA_READ_FAILED\",\n\t\t\t\t\t\t\tmessage,\n\t\t\t\t\t\t\tsourceId: path\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif (isPrismaNextSchema(text)) members.push({\n\t\t\t\t\t\tpath,\n\t\t\t\t\t\ttext\n\t\t\t\t\t});\n\t\t\t\t\telse undirected.push(path);\n\t\t\t\t}\n\t\t\t\tif (members.length === 0) {\n\t\t\t\t\tif (undirected.length === 0) return notOk({\n\t\t\t\t\t\tsummary: \"Failed to read Prisma schema files\",\n\t\t\t\t\t\tdiagnostics: readDiagnostics\n\t\t\t\t\t});\n\t\t\t\t\treturn notOk({\n\t\t\t\t\t\tsummary: \"No schema file carries the \\\"// use prisma-8\\\" directive\",\n\t\t\t\t\t\tdiagnostics: [...readDiagnostics, {\n\t\t\t\t\t\t\tcode: \"PSL_NO_OPTED_IN_SCHEMA_FILES\",\n\t\t\t\t\t\t\tmessage: `None of the matched files carry the \"// use prisma-8\" directive: ${undirected.join(\", \")}`,\n\t\t\t\t\t\t\tsourceId: schemaPath\n\t\t\t\t\t\t}]\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tconst parsed = members.map(({ path, text }) => parse(text, path));\n\t\t\t\tconst documents = parsed.map(({ document }) => document);\n\t\t\t\tconst [firstSources, ...restSources] = parsed.map(({ sources }) => sources);\n\t\t\t\tassertDefined(firstSources, \"prismaContract requires at least one parsed schema file\");\n\t\t\t\tconst sources = firstSources.merge(...restSources);\n\t\t\t\tconst seedDiagnostics = [...readDiagnostics, ...mapPslDiagnostics(parsed.flatMap(({ diagnostics }) => diagnostics), sources)];\n\t\t\t\tconst { symbolTable, diagnostics: symbolTableDiagnostics } = buildSymbolTable({\n\t\t\t\t\tdocuments,\n\t\t\t\t\tsources,\n\t\t\t\t\tdefaultNamespaceId: context.defaultNamespaceId\n\t\t\t\t});\n\t\t\t\tconst { binder, diagnostics: binderDiagnostics } = createBinder({\n\t\t\t\t\tsymbolTable,\n\t\t\t\t\tsources,\n\t\t\t\t\tcontext\n\t\t\t\t});\n\t\t\t\tconst interpreted = withSeedDiagnostics(this.interpret({\n\t\t\t\t\tdocuments,\n\t\t\t\t\tsources,\n\t\t\t\t\tsymbolTable,\n\t\t\t\t\tbinder\n\t\t\t\t}, context), [...seedDiagnostics, ...mapPslDiagnostics([...symbolTableDiagnostics, ...binderDiagnostics], sources)]);\n\t\t\t\tif (!interpreted.ok) return interpreted;\n\t\t\t\treturn ok(applySqlSpecifierControlPolicy(interpreted.value, options.defaultControlPolicy, options.createNamespace));\n\t\t\t}\n\t\t},\n\t\toutput: options.output ?? defaultOutputFromSchemaPath(schemaPath)\n\t};\n}\n//#endregion\nexport { prismaContract };\n\n//# sourceMappingURL=provider.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA,SAAS,sBAAsB,SAAS;CACvC,MAAM,iBAAiB,CAAC;CACxB,KAAK,MAAM,WAAW,QAAQ,WAAW,MAAM,GAAG,CAAC,CAAC,MAAM,GAAG,GAAG;EAC/D,IAAI,iBAAiB,OAAO,GAAG;EAC/B,eAAe,KAAK,OAAO;CAC5B;CACA,OAAO,eAAe,KAAK,GAAG;AAC/B;;;;;;;;;;AAUA,SAAS,4BAA4B,YAAY;CAChD,IAAI,iBAAiB,UAAU,GAAG;EACjC,MAAM,SAAS,sBAAsB,UAAU;EAC/C,OAAO,OAAO,WAAW,IAAI,kBAAkB,GAAG,OAAO;CAC1D;CACA,MAAM,MAAM,QAAQ,UAAU;CAC9B,IAAI,IAAI,WAAW,GAAG,OAAO,GAAG,WAAW;CAC3C,MAAM,OAAO,WAAW,MAAM,GAAG,CAAC,IAAI,MAAM;CAC5C,IAAI,SAAS,IAAI,MAAM,UAAU,OAAO,GAAG,KAAK,MAAM,GAAG,EAAE,EAAE;CAC7D,OAAO,GAAG,KAAK;AAChB;AACA,SAAS,eAAe,YAAY,SAAS;CAC5C,OAAO;EACN,QAAQ;GACP,QAAQ;GACR,QAAQ,CAAC,UAAU;GACnB,UAAU,OAAO,SAAS;IACzB,MAAM,0BAA0B,8BAA8B,QAAQ,uBA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S;MACT,aAAa;KACd,CAAC;KACD,OAAO,MAAM;MACZ,SAAS;MACT,aAAa,CAAC,GAAG,iBAAiB;OACjC,MAAM;OACN,SAAS,oEAAoE,WAAW,KAAK,IAAI;OACjG,UAAU;MACX,CAAC;KACF,CAAC;IACF;IACA,MAAM,SAAS,QAAQ,KAAK,EAAE,MAAM,WAAW,MAAM,MAAM,IAAI,CAAC;IAChE,MAAM,YAAY,OAAO,KAAK,EAAE,eAAe,QAAQ;IACvD,MAAM,CAAC,cAAc,GAAG,eAAe,OAAO,KAAK,EAAE,cAAc,OAAO;IAC1E,cAAc,cAAc,yDAAyD;IACrF,MAAM,UAAU,aAAa,MAAM,GAAG,WAAW;IACjD,MAAM,kBAAkB,CAAC,GAAG,iBAAiB,GAAG,kBAAkB,OAAO,SAAS,EAAE,kBAAkB,WAAW,GAAG,OAAO,CAAC;IAC5H,MAAM,EAAE,aAAa,aAAa,2BAA2B,iBAAiB;KAC7E;KACA;KACA,oBAAoB,QAAQ;IAC7B,CAAC;IACD,MAAM,EAAE,QAAQ,aAAa,sBAAsB,aAAa;KAC/D;KACA;KACA;IACD,CAAC;IACD,MAAM,cAAc,oBAAoB,KAAK,UAAU;KACtD;KACA;KACA;KACA;IACD,GAAG,OAAO,GAAG,CAAC,GAAG,iBAAiB,GAAG,kBAAkB,CAAC,GAAG,wBAAwB,GAAG,iBAAiB,GAAG,OAAO,CAAC,CAAC;IACnH,IAAI,CAAC,YAAY,IAAI,OAAO;IAC5B,OAAO,GAAG,+BAA+B,YAAY,OAAO,QAAQ,sBAAsB,QAAQ,eAAe,CAAC;GACnH;EACD;EACA,QAAQ,QAAQ,UAAU,4BAA4B,UAAU;CACjE;AACD"}
@@ -1,6 +1,5 @@
1
- import { t as CheckKind } from "./naming-BcD36g9T-DFyaudUa.mjs";
2
- import { n as applySqlSpecifierControlPolicy, t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt--oL-Zi3r.mjs";
1
+ import { n as applySqlSpecifierControlPolicy, t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt-BMXrIjZy.mjs";
3
2
  import { d as sql, r as SqlExpression } from "./sql-expression-BWrjmY6M.mjs";
4
- import { $ as extensionModel, A as MergeEnums, B as UniqueConstraintNode, C as ForeignKeyTableReference, D as IndexOptionsFunction, E as IndexNode, F as ScalarFieldBuilder, G as bindEnumType, H as ValueObjectMemberNode, I as ScalarMemberNode, J as buildSqlContractFromDefinition, K as buildBoundContract, L as TableNode, M as ModelNode, N as PrimaryKeyNode, O as IndexOptionsInput, P as RelationNode, Q as enumType, R as TableProperties, S as ForeignKeyNode, T as IndexExpressionInput, U as ValueObjectNode, V as ValueObjectFieldNode, W as autoincrement, X as createComposedAuthoringHelpers, Y as check, Z as defineContract, _ as EnumMember, a as CheckNode, at as rel, b as FieldNode, c as ColumnNode, d as ContractDefinition, et as field, f as ContractInput, g as DeferredIndexOptions, h as DeferredIndexExpression, i as BoundEnumType, it as now, j as ModelLike, k as ManyOptions, l as ColumnRef, m as DeferredIndexColumn, n as AuthoredColumnDefault, nt as member, o as CodecInput, ot as storedAsListColumn, p as ContractModelBuilder, q as buildContractDefinition, r as AuthoredColumnDefaultLiteralValue, rt as model, s as CodecTypeMap, t as AttachedEntities, tt as isValueObjectMember, u as ComposedAuthoringHelpers, v as EnumTypeHandle, w as IndexConstraint, x as ForeignKeyModelReference, y as ExtractCodecTypesFromPack, z as TargetFieldRef } from "./contract-builder-ClsLO9DI.mjs";
5
- import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-C2mASmPh.mjs";
6
- export { type AttachedEntities, type AuthoredColumnDefault, type AuthoredColumnDefaultLiteralValue, type BoundEnumType, type CheckKind, type CheckNode, type CodecInput, type CodecTypeMap, type ColumnNode, type ColumnRef, type ComposedAuthoringHelpers, type ContractConfig, type ContractDefinition, type ContractInput, type ContractModelBuilder, type DeferredIndexColumn, type DeferredIndexExpression, type DeferredIndexOptions, type EnumMember, type EnumTypeHandle, type ExtractCodecTypesFromPack, type FieldNode, type ForeignKeyModelReference, type ForeignKeyNode, type ForeignKeyTableReference, type IndexConstraint, type IndexExpressionInput, type IndexNode, type IndexOptionsFunction, type IndexOptionsInput, type ManyOptions, type MergeEnums, type ModelLike, type ModelNode, type PrimaryKeyNode, type RelationNode, type ScalarFieldBuilder, type ScalarMemberNode, type SqlExpression, type SqlNamespaceFactory, type TableNode, type TableProperties, type TargetFieldRef, type UniqueConstraintNode, type ValueObjectFieldNode, type ValueObjectMemberNode, type ValueObjectNode, applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, emptyContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn, typescriptContract, typescriptContractFromPath };
3
+ import { $ as extensionModel, A as MergeEnums, B as UniqueConstraintNode, C as ForeignKeyTableReference, D as IndexOptionsFunction, E as IndexNode, F as ScalarFieldBuilder, G as bindEnumType, H as ValueObjectMemberNode, I as ScalarMemberNode, J as buildSqlContractFromDefinition, K as buildBoundContract, L as TableNode, M as ModelNode, N as PrimaryKeyNode, O as IndexOptionsInput, P as RelationNode, Q as enumType, R as TableProperties, S as ForeignKeyNode, T as IndexExpressionInput, U as ValueObjectNode, V as ValueObjectFieldNode, W as autoincrement, X as createComposedAuthoringHelpers, Y as check, Z as defineContract, _ as EnumMember, a as CheckNode, at as rel, b as FieldNode, c as ColumnNode, d as ContractDefinition, et as field, f as ContractInput, g as DeferredIndexOptions, h as DeferredIndexExpression, i as BoundEnumType, it as now, j as ModelLike, k as ManyOptions, l as ColumnRef, m as DeferredIndexColumn, n as AuthoredColumnDefault, nt as member, o as CodecInput, ot as storedAsListColumn, p as ContractModelBuilder, q as buildContractDefinition, r as AuthoredColumnDefaultLiteralValue, rt as model, s as CodecTypeMap, t as AttachedEntities, tt as isValueObjectMember, u as ComposedAuthoringHelpers, v as EnumTypeHandle, w as IndexConstraint, x as ForeignKeyModelReference, y as ExtractCodecTypesFromPack, z as TargetFieldRef } from "./contract-builder-CH0AIjsv.mjs";
4
+ import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-B47kpY4J.mjs";
5
+ export { type AttachedEntities, type AuthoredColumnDefault, type AuthoredColumnDefaultLiteralValue, type BoundEnumType, type CheckNode, type CodecInput, type CodecTypeMap, type ColumnNode, type ColumnRef, type ComposedAuthoringHelpers, type ContractConfig, type ContractDefinition, type ContractInput, type ContractModelBuilder, type DeferredIndexColumn, type DeferredIndexExpression, type DeferredIndexOptions, type EnumMember, type EnumTypeHandle, type ExtractCodecTypesFromPack, type FieldNode, type ForeignKeyModelReference, type ForeignKeyNode, type ForeignKeyTableReference, type IndexConstraint, type IndexExpressionInput, type IndexNode, type IndexOptionsFunction, type IndexOptionsInput, type ManyOptions, type MergeEnums, type ModelLike, type ModelNode, type PrimaryKeyNode, type RelationNode, type ScalarFieldBuilder, type ScalarMemberNode, type SqlExpression, type SqlNamespaceFactory, type TableNode, type TableProperties, type TargetFieldRef, type UniqueConstraintNode, type ValueObjectFieldNode, type ValueObjectMemberNode, type ValueObjectNode, applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, emptyContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn, typescriptContract, typescriptContractFromPath };
@@ -1,5 +1,5 @@
1
1
  import { u as sql } from "./sql-expression-DSRILiU2.mjs";
2
- import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-BVSHiu2A-CzEmkTMg.mjs";
3
- import { a as check, c as enumType, d as member, f as model, i as buildContractDefinition, l as extensionModel, m as rel, n as bindEnumType, o as createComposedAuthoringHelpers, p as now, r as buildBoundContract, s as defineContract, t as autoincrement, u as field } from "./contract-builder-Du_YOA1B.mjs";
4
- import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-CrREu8Fa.mjs";
2
+ import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-Cgx_VgS3-CmFqNFgU.mjs";
3
+ import { a as check, c as enumType, d as member, f as model, i as buildContractDefinition, l as extensionModel, m as rel, n as bindEnumType, o as createComposedAuthoringHelpers, p as now, r as buildBoundContract, s as defineContract, t as autoincrement, u as field } from "./contract-builder-CiYVj56_.mjs";
4
+ import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-ni1nb_HA.mjs";
5
5
  export { applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, emptyContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn, typescriptContract, typescriptContractFromPath };
@@ -1,2 +1,2 @@
1
- import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-C2mASmPh.mjs";
1
+ import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-B47kpY4J.mjs";
2
2
  export { type ContractConfig, emptyContract, typescriptContract, typescriptContractFromPath };
@@ -1,2 +1,2 @@
1
- import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-CrREu8Fa.mjs";
1
+ import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-ni1nb_HA.mjs";
2
2
  export { emptyContract, typescriptContract, typescriptContractFromPath };
@@ -1,5 +1,4 @@
1
- import { t as CheckKind } from "./naming-BcD36g9T-DFyaudUa.mjs";
2
- import { n as applySqlSpecifierControlPolicy, t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt--oL-Zi3r.mjs";
1
+ import { n as applySqlSpecifierControlPolicy, t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt-BMXrIjZy.mjs";
3
2
  import { d as sql, r as SqlExpression } from "./sql-expression-BWrjmY6M.mjs";
4
- import { $ as extensionModel, A as MergeEnums, B as UniqueConstraintNode, C as ForeignKeyTableReference, D as IndexOptionsFunction, E as IndexNode, F as ScalarFieldBuilder, G as bindEnumType, H as ValueObjectMemberNode, I as ScalarMemberNode, J as buildSqlContractFromDefinition, K as buildBoundContract, L as TableNode, M as ModelNode, N as PrimaryKeyNode, O as IndexOptionsInput, P as RelationNode, Q as enumType, R as TableProperties, S as ForeignKeyNode, T as IndexExpressionInput, U as ValueObjectNode, V as ValueObjectFieldNode, W as autoincrement, X as createComposedAuthoringHelpers, Y as check, Z as defineContract, _ as EnumMember, a as CheckNode, at as rel, b as FieldNode, c as ColumnNode, d as ContractDefinition, et as field, f as ContractInput, g as DeferredIndexOptions, h as DeferredIndexExpression, i as BoundEnumType, it as now, j as ModelLike, k as ManyOptions, l as ColumnRef, m as DeferredIndexColumn, n as AuthoredColumnDefault, nt as member, o as CodecInput, ot as storedAsListColumn, p as ContractModelBuilder, q as buildContractDefinition, r as AuthoredColumnDefaultLiteralValue, rt as model, s as CodecTypeMap, t as AttachedEntities, tt as isValueObjectMember, u as ComposedAuthoringHelpers, v as EnumTypeHandle, w as IndexConstraint, x as ForeignKeyModelReference, y as ExtractCodecTypesFromPack, z as TargetFieldRef } from "./contract-builder-ClsLO9DI.mjs";
5
- export { type AttachedEntities, type AuthoredColumnDefault, type AuthoredColumnDefaultLiteralValue, type BoundEnumType, type CheckKind, type CheckNode, type CodecInput, type CodecTypeMap, type ColumnNode, type ColumnRef, type ComposedAuthoringHelpers, type ContractDefinition, type ContractInput, type ContractModelBuilder, type DeferredIndexColumn, type DeferredIndexExpression, type DeferredIndexOptions, type EnumMember, type EnumTypeHandle, type ExtractCodecTypesFromPack, type FieldNode, type ForeignKeyModelReference, type ForeignKeyNode, type ForeignKeyTableReference, type IndexConstraint, type IndexExpressionInput, type IndexNode, type IndexOptionsFunction, type IndexOptionsInput, type ManyOptions, type MergeEnums, type ModelLike, type ModelNode, type PrimaryKeyNode, type RelationNode, type ScalarFieldBuilder, type ScalarMemberNode, type SqlExpression, type SqlNamespaceFactory, type TableNode, type TableProperties, type TargetFieldRef, type UniqueConstraintNode, type ValueObjectFieldNode, type ValueObjectMemberNode, type ValueObjectNode, applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn };
3
+ import { $ as extensionModel, A as MergeEnums, B as UniqueConstraintNode, C as ForeignKeyTableReference, D as IndexOptionsFunction, E as IndexNode, F as ScalarFieldBuilder, G as bindEnumType, H as ValueObjectMemberNode, I as ScalarMemberNode, J as buildSqlContractFromDefinition, K as buildBoundContract, L as TableNode, M as ModelNode, N as PrimaryKeyNode, O as IndexOptionsInput, P as RelationNode, Q as enumType, R as TableProperties, S as ForeignKeyNode, T as IndexExpressionInput, U as ValueObjectNode, V as ValueObjectFieldNode, W as autoincrement, X as createComposedAuthoringHelpers, Y as check, Z as defineContract, _ as EnumMember, a as CheckNode, at as rel, b as FieldNode, c as ColumnNode, d as ContractDefinition, et as field, f as ContractInput, g as DeferredIndexOptions, h as DeferredIndexExpression, i as BoundEnumType, it as now, j as ModelLike, k as ManyOptions, l as ColumnRef, m as DeferredIndexColumn, n as AuthoredColumnDefault, nt as member, o as CodecInput, ot as storedAsListColumn, p as ContractModelBuilder, q as buildContractDefinition, r as AuthoredColumnDefaultLiteralValue, rt as model, s as CodecTypeMap, t as AttachedEntities, tt as isValueObjectMember, u as ComposedAuthoringHelpers, v as EnumTypeHandle, w as IndexConstraint, x as ForeignKeyModelReference, y as ExtractCodecTypesFromPack, z as TargetFieldRef } from "./contract-builder-CH0AIjsv.mjs";
4
+ export { type AttachedEntities, type AuthoredColumnDefault, type AuthoredColumnDefaultLiteralValue, type BoundEnumType, type CheckNode, type CodecInput, type CodecTypeMap, type ColumnNode, type ColumnRef, type ComposedAuthoringHelpers, type ContractDefinition, type ContractInput, type ContractModelBuilder, type DeferredIndexColumn, type DeferredIndexExpression, type DeferredIndexOptions, type EnumMember, type EnumTypeHandle, type ExtractCodecTypesFromPack, type FieldNode, type ForeignKeyModelReference, type ForeignKeyNode, type ForeignKeyTableReference, type IndexConstraint, type IndexExpressionInput, type IndexNode, type IndexOptionsFunction, type IndexOptionsInput, type ManyOptions, type MergeEnums, type ModelLike, type ModelNode, type PrimaryKeyNode, type RelationNode, type ScalarFieldBuilder, type ScalarMemberNode, type SqlExpression, type SqlNamespaceFactory, type TableNode, type TableProperties, type TargetFieldRef, type UniqueConstraintNode, type ValueObjectFieldNode, type ValueObjectMemberNode, type ValueObjectNode, applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn };
@@ -1,4 +1,4 @@
1
1
  import { u as sql } from "./sql-expression-DSRILiU2.mjs";
2
- import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-BVSHiu2A-CzEmkTMg.mjs";
3
- import { a as check, c as enumType, d as member, f as model, i as buildContractDefinition, l as extensionModel, m as rel, n as bindEnumType, o as createComposedAuthoringHelpers, p as now, r as buildBoundContract, s as defineContract, t as autoincrement, u as field } from "./contract-builder-Du_YOA1B.mjs";
2
+ import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-Cgx_VgS3-CmFqNFgU.mjs";
3
+ import { a as check, c as enumType, d as member, f as model, i as buildContractDefinition, l as extensionModel, m as rel, n as bindEnumType, o as createComposedAuthoringHelpers, p as now, r as buildBoundContract, s as defineContract, t as autoincrement, u as field } from "./contract-builder-CiYVj56_.mjs";
4
4
  export { applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn };
@@ -1,4 +1,4 @@
1
- import { l as SqlStorage } from "./sql-storage-BTlJLUID-CGy3wuH4.mjs";
1
+ import { l as SqlStorage } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
2
2
  import { DefaultNamespaceEntries, NamespacedEntities, SingleNamespaceView } from "@prisma/orm-framework/components/ir";
3
3
  import { Contract } from "@prisma/orm-framework/contract/types";
4
4
  //#region ../../../2-sql/1-core/contract/dist/contract-view.d.mts
@@ -58,4 +58,4 @@ type SqlSchemaQualifiedView<TContract extends Contract<SqlStorage>> = TContract
58
58
  declare function buildSqlSchemaQualifiedView<TContract extends Contract<SqlStorage>>(contract: TContract): SqlSchemaQualifiedView<TContract>;
59
59
  //#endregion
60
60
  export { SqlSingleNamespaceView as a, SqlSingleNamespaceAccessors as i, SqlBuiltinKind as n, buildSqlSchemaQualifiedView as o, SqlSchemaQualifiedView as r, buildSqlSingleNamespaceView as s, SQL_BUILTIN_KINDS as t };
61
- //# sourceMappingURL=contract-view-CijuTaer.d.mts.map
61
+ //# sourceMappingURL=contract-view-BAbRgQMW.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract-view-CijuTaer.d.mts","names":[],"sources":["../../../../2-sql/1-core/contract/dist/contract-view.d.mts"],"mappings":";;;;;;;;;;cASc;KACT,yBAAyB;KACzB,WAAW,kBAAkB,SAAS,eAAe,wBAAwB;;;;;;;KAO7E,4BAA4B,kBAAkB,SAAS,eAAe,oBAAoB,WAAW,YAAY;;;;;;;;;;KAUjH,uBAAuB,kBAAkB,SAAS,eAAe,YAAY,4BAA4B;WACnG,WAAW,mBAAmB,sBAAsB;;;;;;;;;iBAS9C,4BAA4B,kBAAkB,SAAS,aAAa,UAAU,YAAY,uBAAuB;;;;;;;;;;;KAW7H,uBAAuB,kBAAkB,SAAS,eAAe;WAC3D,WAAW,mBAAmB,sBAAsB;;;;;;iBAM9C,4BAA4B,kBAAkB,SAAS,aAAa,UAAU,YAAY,uBAAuB"}
1
+ {"version":3,"file":"contract-view-BAbRgQMW.d.mts","names":[],"sources":["../../../../2-sql/1-core/contract/dist/contract-view.d.mts"],"mappings":";;;;;;;;;;cASc;KACT,yBAAyB;KACzB,WAAW,kBAAkB,SAAS,eAAe,wBAAwB;;;;;;;KAO7E,4BAA4B,kBAAkB,SAAS,eAAe,oBAAoB,WAAW,YAAY;;;;;;;;;;KAUjH,uBAAuB,kBAAkB,SAAS,eAAe,YAAY,4BAA4B;WACnG,WAAW,mBAAmB,sBAAsB;;;;;;;;;iBAS9C,4BAA4B,kBAAkB,SAAS,aAAa,UAAU,YAAY,uBAAuB;;;;;;;;;;;KAW7H,uBAAuB,kBAAkB,SAAS,eAAe;WAC3D,WAAW,mBAAmB,sBAAsB;;;;;;iBAM9C,4BAA4B,kBAAkB,SAAS,aAAa,UAAU,YAAY,uBAAuB"}
@@ -3,12 +3,12 @@ import { n as CheckConstraintInput, t as CheckConstraint } from "./check-constra
3
3
  import { a as ForeignKeyReferenceInput, i as ForeignKeyReference, n as ForeignKeyIndex, o as ReferentialAction, r as ForeignKeyInput, t as ForeignKey } from "./foreign-key-qkDFfG8t-Fyrzd0VI.mjs";
4
4
  import { i as UniqueConstraintInput, n as PrimaryKeyInput, r as UniqueConstraint, t as PrimaryKey } from "./unique-constraint-M5TlQnJQ-BiIHJ85k.mjs";
5
5
  import { r as IndexInput, t as Index } from "./sql-index-ByAAE7K8-BpbPBWPD.mjs";
6
- import { i as StorageTableInput, n as StorageColumnInput, r as StorageTable, t as StorageColumn } from "./storage-table-WXeVNycx-BCwDhdq5.mjs";
6
+ import { i as StorageTableInput, n as StorageColumnInput, r as StorageTable, t as StorageColumn } from "./storage-table-DC9afJhr-CmRU56OS.mjs";
7
7
  import { n as StorageValueSetInput, r as isStorageValueSet, t as StorageValueSet } from "./storage-value-set-BGlj5Uus-CvZD--GG.mjs";
8
- import { _ as resolvedTypeParams, a as SqlNamespaceBase, c as SqlNamespaceInput, d as SqlStorageTypeEntry, f as StorageTypeInstance, g as isStorageTypeInstance, h as isSqlAuthoringContributions, i as SqlNamespace, l as SqlStorage, m as isMaterializedSqlNamespace, n as CODEC_INSTANCE_KIND, o as SqlNamespaceEntries, p as StorageTypeInstanceInput, r as SqlAuthoringContributions, s as SqlNamespaceFactory, t as AuthoredStorageTypeInstance, u as SqlStorageInput, v as toStorageTypeInstance } from "./sql-storage-BTlJLUID-CGy3wuH4.mjs";
8
+ import { _ as resolvedTypeParams, a as SqlNamespaceBase, c as SqlNamespaceInput, d as SqlStorageTypeEntry, f as StorageTypeInstance, g as isStorageTypeInstance, h as isSqlAuthoringContributions, i as SqlNamespace, l as SqlStorage, m as isMaterializedSqlNamespace, n as CODEC_INSTANCE_KIND, o as SqlNamespaceEntries, p as StorageTypeInstanceInput, r as SqlAuthoringContributions, s as SqlNamespaceFactory, t as AuthoredStorageTypeInstance, u as SqlStorageInput, v as toStorageTypeInstance } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
9
9
  import { i as indexInputFromSerialized, n as SerializedIndex, r as checkConstraintInputFromSerialized, t as SerializedCheckConstraint } from "./serialized-index-CrgG8ct1-DDfHKUEK.mjs";
10
- import { A as ResolveCodecTypes, C as NamespacedStorageColumnTypeMap, D as QueryOperationTypesBase, E as QueryOperationTypeEntry, F as StorageColumnInputTypesOf, I as StorageColumnTypesOf, L as TypeMaps, M as SqlModelFieldStorage, N as SqlModelStorage, O as QueryOperationTypesFunction, P as SqlQueryOperationTypes, R as TypeMapsPhantomKey, S as NamespacedFieldTypeMap, T as QueryOperationSelfSpec, _ as ExtractStorageColumnTypes, a as AggregateTypesOf, b as FieldOutputTypesOf, c as ContractWithTypeMaps, d as ExtractAggregateTypes, f as ExtractCodecTypes, g as ExtractStorageColumnInputTypes, h as ExtractQueryOperationTypes, i as AggregateTypesFromDescriptors, j as SqlControlDriverInstance, k as QueryOperationTypesOf, l as DEFAULT_FK_CONSTRAINT, m as ExtractFieldOutputTypes, n as AggregateResultType, o as ApplyQueryOperationTypes, p as ExtractFieldInputTypes, r as AggregateTypesBase, s as CodecTypesOf, t as AggregateOperationTypes, u as DEFAULT_FK_INDEX, v as ExtractTypeMapsFromContract, w as QueryOperationReturn, x as ForeignKeyOptions, y as FieldInputTypesOf, z as applyFkDefaults } from "./types-zwKzjyma-CxZkmkUI.mjs";
11
- import { a as Scalars, c as StorageColumnMapAt, i as RelationNamesOf, l as StorageColumnTypeAcrossNamespaces, n as FieldTypesFromDomain, o as Shape, r as RelationKeys, s as ShapeSpec, t as ColumnTypesFromStorage, u as ValueTypeSide } from "./types-HD5m-h8B.mjs";
10
+ import { A as ResolveCodecTypes, C as NamespacedStorageColumnTypeMap, D as QueryOperationTypesBase, E as QueryOperationTypeEntry, F as StorageColumnInputTypesOf, I as StorageColumnTypesOf, L as TypeMaps, M as SqlModelFieldStorage, N as SqlModelStorage, O as QueryOperationTypesFunction, P as SqlQueryOperationTypes, R as TypeMapsPhantomKey, S as NamespacedFieldTypeMap, T as QueryOperationSelfSpec, _ as ExtractStorageColumnTypes, a as AggregateTypesOf, b as FieldOutputTypesOf, c as ContractWithTypeMaps, d as ExtractAggregateTypes, f as ExtractCodecTypes, g as ExtractStorageColumnInputTypes, h as ExtractQueryOperationTypes, i as AggregateTypesFromDescriptors, j as SqlControlDriverInstance, k as QueryOperationTypesOf, l as DEFAULT_FK_CONSTRAINT, m as ExtractFieldOutputTypes, n as AggregateResultType, o as ApplyQueryOperationTypes, p as ExtractFieldInputTypes, r as AggregateTypesBase, s as CodecTypesOf, t as AggregateOperationTypes, u as DEFAULT_FK_INDEX, v as ExtractTypeMapsFromContract, w as QueryOperationReturn, x as ForeignKeyOptions, y as FieldInputTypesOf, z as applyFkDefaults } from "./types-Dqf87mfA-BOElvimQ.mjs";
11
+ import { a as Scalars, c as StorageColumnMapAt, i as RelationNamesOf, l as StorageColumnTypeAcrossNamespaces, n as FieldTypesFromDomain, o as Shape, r as RelationKeys, s as ShapeSpec, t as ColumnTypesFromStorage, u as ValueTypeSide } from "./types-DMfBh16_.mjs";
12
12
  import { a as ResolvedPackEntityHandle, c as SqlPslEntityPlacementOutput, i as ResolvedEntityHandleRef, l as providesEntityHandleLowering, n as LoweredPackEntity, o as ResolvedPslModelRefs, r as PackEntityHandle, s as SqlEntityHandleLoweringContribution, t as EntityHandleLoweringInput, u as providesPslEntityPlacement } from "./entity-handle-lowering-hook-93syhZ0p.mjs";
13
13
  import { a as assertNothingCastsFromSqlExpression, c as printSqlExpressionLiteral, d as sql, f as sqlExpressionAuthoringEntry, g as sqlTextsReadBack, h as sqlTextFromCanonical, i as SqlExpressionRegistration, l as readSqlExpression, m as sqlExpressionRegistration, n as SQL_EXPRESSION_TAG, o as canonicalSqlText, p as sqlExpressionDataType, r as SqlExpression, s as isSqlExpression, t as SQL_EXPRESSION_DATA_TYPE_ID, u as requireSqlExpression } from "./sql-expression-BWrjmY6M.mjs";
14
14
  import { a as IndexTypeRegistry, c as defineIndexTypes, i as IndexTypeRegistration, l as indexTypeRegistryOf, n as IndexTypeEntry, o as accessMethodOf, r as IndexTypeMap, s as createIndexTypeRegistry, t as IndexTypeBuilder, u as rendersIndexBody } from "./index-types-H1O43iYT-ONvDbszL.mjs";
@@ -16,15 +16,15 @@ import "./index-types-ByX8MLso.mjs";
16
16
  import { a as lowerAuthoredIndex, i as isAuthoredIndexInput, n as AuthoredIndexMethod, r as exactNameBodyWarning, t as AuthoredIndexInput } from "./index-naming-C7pme5Pj.mjs";
17
17
  import { n as lowerAuthoredCheck, t as AuthoredCheckInput } from "./authored-check-naming-CK6T_Dfh.mjs";
18
18
  import { t as sqlContractCanonicalizationHooks } from "./canonicalization-hooks-CYnW_sGn.mjs";
19
- import { a as SqlSingleNamespaceView, i as SqlSingleNamespaceAccessors, n as SqlBuiltinKind, o as buildSqlSchemaQualifiedView, r as SqlSchemaQualifiedView, s as buildSqlSingleNamespaceView, t as SQL_BUILTIN_KINDS } from "./contract-view-CijuTaer.mjs";
19
+ import { a as SqlSingleNamespaceView, i as SqlSingleNamespaceAccessors, n as SqlBuiltinKind, o as buildSqlSchemaQualifiedView, r as SqlSchemaQualifiedView, s as buildSqlSingleNamespaceView, t as SQL_BUILTIN_KINDS } from "./contract-view-BAbRgQMW.mjs";
20
20
  import { S as validateSqlTypeParams, _ as sqlBaseName, a as SqlDataTypeSpec, b as unquotedSqlBaseName, c as SqlTypeText, d as isSqlDataType, f as numeralText, g as resolveWrittenSqlTypes, h as resolveReportedSqlType, i as SqlDataTypeFacts, l as dataTypeParams, m as renderSqlTypeName, n as SqlDataType, o as SqlTypeLookups, p as renderSqlCatalogText, r as SqlDataTypeCollision, s as SqlTypeParams, t as ResolvedSqlType, u as findSqlDataTypeCollision, v as sqlDataType, x as unquotedSqlBaseNameOfCodec, y as sqlDataTypeOfCodec } from "./data-type-CYsho6Yd.mjs";
21
21
  import { a as NumberClassifierSpec, c as createNumberClassifier, d as isNumeralText, f as parseJsonText, i as NumberClassification, l as escapePslString, m as signedRange, n as DateTimeShape, o as canonicalDateTime, p as printJsonText, r as IntegerStep, s as canonicalNumeralText, t as CanonicalDateTimeOptions, u as integerTextCanonicalForm } from "./data-type-support-4TcZuD7d.mjs";
22
- import { n as tableEntityKind, r as valueSetEntityKind, t as composeSqlEntityKinds } from "./entity-kinds-DqUYen0Y.mjs";
23
- import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-2LNVsQ2j.mjs";
22
+ import { n as tableEntityKind, r as valueSetEntityKind, t as composeSqlEntityKinds } from "./entity-kinds-BCMNbwxO.mjs";
23
+ import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-B4AMRt6O.mjs";
24
24
  import { a as declaredBackingObjectName, c as derivedBackingIndexIsRedundant, i as MaterializedTableConstraints, l as leadingBackingObjectName, n as ForeignKeyAuthoringInput, o as declaredIndexesServeForeignKey, r as IndexCandidate, s as defaultForeignKeyIndex, t as FOREIGN_KEY_INDEX_UNRESOLVED, u as materializeForeignKeysAndIndexes } from "./foreign-key-materialization-DJ6uhBba.mjs";
25
- import { n as validateIndexTypes, t as CodecTraitsLookup } from "./index-type-validation-P4WLRyZA.mjs";
25
+ import { n as validateIndexTypes, t as CodecTraitsLookup } from "./index-type-validation-Cz2T3FJn.mjs";
26
26
  import { t as REFERENTIAL_ACTION_SQL } from "./referential-action-sql-Cw1Q0YSd.mjs";
27
- import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-wSUswl-4.mjs";
28
- import { C as validateModelStorageReferences, D as validateStorage, E as validateSqlStorageConsistency, O as validateStorageSemantics, S as validateModel, T as validateSqlContractFully, _ as createSqlContractSchema, a as ContractEnumSchema, b as resolveSqlToOneRelationStorage, c as ForeignKeySourceSchema, d as SqlToOneRelationStorage, f as StorageTableSchema, g as createNamespaceEntrySchema, h as checkSqlDefaultText, i as ColumnDefaultSchema, k as valueObjectStorageTypeMissingMessage, l as IndexSchema, m as ValidateSqlContractFullyOptions, n as ColumnDefaultFunctionSchema, o as ForeignKeyReferenceSchema, p as StorageValueSetSchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySchema, t as CheckConstraintSchema, u as ReferentialActionSchema, v as createSqlStorageSchema, w as validateRelationJoinFields, x as validateExecutionDefaultsTargetMappedColumns, y as reservedSqlDefaultText } from "./validators-BifwoR5e.mjs";
27
+ import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-8N2xelSh.mjs";
28
+ import { C as validateModelStorageReferences, D as validateStorage, E as validateSqlStorageConsistency, O as validateStorageSemantics, S as validateModel, T as validateSqlContractFully, _ as createSqlContractSchema, a as ContractEnumSchema, b as resolveSqlToOneRelationStorage, c as ForeignKeySourceSchema, d as SqlToOneRelationStorage, f as StorageTableSchema, g as createNamespaceEntrySchema, h as checkSqlDefaultText, i as ColumnDefaultSchema, k as valueObjectStorageTypeMissingMessage, l as IndexSchema, m as ValidateSqlContractFullyOptions, n as ColumnDefaultFunctionSchema, o as ForeignKeyReferenceSchema, p as StorageValueSetSchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySchema, t as CheckConstraintSchema, u as ReferentialActionSchema, v as createSqlStorageSchema, w as validateRelationJoinFields, x as validateExecutionDefaultsTargetMappedColumns, y as reservedSqlDefaultText } from "./validators-R-Wsy5Rr.mjs";
29
29
  import { n as deriveValueSetFromEntity, r as providesValueSetDerivation, t as SqlValueSetDerivingEntityTypeOutput } from "./value-set-derivation-hook-BhgGVtw0.mjs";
30
30
  export { type AggregateOperationTypes, type AggregateResultType, type AggregateTypesBase, type AggregateTypesFromDescriptors, type AggregateTypesOf, type ApplyQueryOperationTypes, type AuthoredCheckInput, type AuthoredIndexInput, type AuthoredIndexMethod, type AuthoredStorageTypeInstance, CODEC_INSTANCE_KIND, CanonicalDateTimeOptions, CheckConstraint, type CheckConstraintInput, CheckConstraintSchema, CodecTraitsLookup, type CodecTypesOf, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, type ColumnTypesFromStorage, ContractEnumSchema, type ContractWithTypeMaps, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, DateTimeShape, type EntityHandleLoweringInput, type ExtractAggregateTypes, type ExtractCodecTypes, type ExtractFieldInputTypes, type ExtractFieldOutputTypes, type ExtractQueryOperationTypes, type ExtractStorageColumnInputTypes, type ExtractStorageColumnTypes, type ExtractTypeMapsFromContract, FOREIGN_KEY_INDEX_UNRESOLVED, type FieldInputTypesOf, type FieldOutputTypesOf, type FieldTypesFromDomain, ForeignKey, type ForeignKeyAuthoringInput, type ForeignKeyIndex, type ForeignKeyInput, type ForeignKeyOptions, ForeignKeyReference, type ForeignKeyReferenceInput, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, Index, type IndexCandidate, type IndexInput, IndexSchema, type IndexTypeBuilder, type IndexTypeEntry, type IndexTypeMap, type IndexTypeRegistration, type IndexTypeRegistry, IntegerStep, type LoweredPackEntity, type MaterializedTableConstraints, type NamespacedFieldTypeMap, type NamespacedStorageColumnTypeMap, NumberClassification, NumberClassifierSpec, type PackEntityHandle, PrimaryKey, type PrimaryKeyInput, type QueryOperationReturn, type QueryOperationSelfSpec, type QueryOperationTypeEntry, type QueryOperationTypesBase, type QueryOperationTypesFunction, type QueryOperationTypesOf, REFERENTIAL_ACTION_SQL, type ReferentialAction, ReferentialActionSchema, RelationKeys, type RelationNamesOf, type ResolveCodecTypes, type ResolvedEntityHandleRef, type ResolvedPackEntityHandle, type ResolvedPslModelRefs, type ResolvedSqlType, type ResolvedStorageTable, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, type Scalars, type SerializedCheckConstraint, type SerializedIndex, type Shape, type ShapeSpec, type SqlAuthoringContributions, type SqlBuiltinKind, type SqlControlDriverInstance, type SqlDataType, type SqlDataTypeCollision, type SqlDataTypeFacts, type SqlDataTypeSpec, type SqlEntityHandleLoweringContribution, SqlExpression, SqlExpressionRegistration, type SqlModelFieldStorage, type SqlModelStorage, type SqlNamespace, SqlNamespaceBase, type SqlNamespaceEntries, type SqlNamespaceFactory, type SqlNamespaceInput, SqlNode, type SqlPslEntityPlacementOutput, type SqlQueryOperationTypes, type SqlSchemaQualifiedView, type SqlSingleNamespaceAccessors, type SqlSingleNamespaceView, SqlStorage, type SqlStorageInput, type SqlStorageTypeEntry, type SqlToOneRelationStorage, type SqlTypeLookups, type SqlTypeParams, type SqlTypeText, type SqlValueSetDerivingEntityTypeOutput, StorageColumn, type StorageColumnInput, type StorageColumnInputTypesOf, type StorageColumnMapAt, type StorageColumnTypeAcrossNamespaces, type StorageColumnTypesOf, StorageTable, type StorageTableInput, StorageTableSchema, type StorageTypeInstance, type StorageTypeInstanceInput, StorageValueSet, type StorageValueSetInput, StorageValueSetSchema, type TypeMaps, type TypeMapsPhantomKey, UniqueConstraint, type UniqueConstraintInput, ValidateSqlContractFullyOptions, type ValueTypeSide, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, canonicalDateTime, canonicalNumeralText, canonicalSqlText, checkConstraintInputFromSerialized, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createNumberClassifier, createSqlContractSchema, createSqlStorageSchema, dataTypeParams, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, index, indexInputFromSerialized, indexTypeRegistryOf, integerTextCanonicalForm, isAuthoredIndexInput, isMaterializedSqlNamespace, isNumeralText, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, numeralText, parseJsonText, pk, printJsonText, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, readSqlExpression, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, reservedSqlDefaultText, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolveWrittenSqlTypes, resolvedTypeParams, signedRange, sql, sqlBaseName, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlTextFromCanonical, sqlTextsReadBack, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
package/dist/contract.mjs CHANGED
@@ -7,17 +7,17 @@ import { t as numeralText } from "./numeral-text-Cqu87pVe-DJCqBaSC.mjs";
7
7
  import { a as renderSqlTypeName, c as sqlBaseName, d as unquotedSqlBaseName, f as unquotedSqlBaseNameOfCodec, i as renderSqlCatalogText, l as sqlDataType, n as findSqlDataTypeCollision, o as resolveReportedSqlType, p as validateSqlTypeParams, r as isSqlDataType, s as resolveWrittenSqlTypes, t as dataTypeParams, u as sqlDataTypeOfCodec } from "./data-type-DU0mtme5.mjs";
8
8
  import { a as integerTextCanonicalForm, c as printJsonText, i as escapePslString, l as signedRange, n as canonicalNumeralText, o as isNumeralText, r as createNumberClassifier, s as parseJsonText, t as canonicalDateTime } from "./data-type-support-CfhpAKLX.mjs";
9
9
  import { n as providesPslEntityPlacement, t as providesEntityHandleLowering } from "./entity-handle-lowering-hook-B3atrRKX.mjs";
10
- import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, o as SqlNode, r as ForeignKeyReference, s as StorageColumn, t as CheckConstraint } from "./storage-table-B7OSPl3G-p1j6AjMS.mjs";
11
- import { i as isStorageValueSet, n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueSet } from "./serialized-index-C26m_DWu-BjU519sW.mjs";
12
- import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, f as composeSqlEntityKinds, i as ColumnDefaultSchema, l as ReferentialActionSchema, m as valueSetEntityKind, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, p as tableEntityKind, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-DDTkNIr9-DJ2EIO94.mjs";
13
- import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-CScqMnFk.mjs";
10
+ import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, o as SqlNode, r as ForeignKeyReference, s as StorageColumn, t as CheckConstraint } from "./storage-table-DN36E2yE-Bm5eKeGw.mjs";
11
+ import { i as isStorageValueSet, n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueSet } from "./serialized-index-52COq1yV-D8zJP-Xl.mjs";
12
+ import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, f as composeSqlEntityKinds, i as ColumnDefaultSchema, l as ReferentialActionSchema, m as valueSetEntityKind, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, p as tableEntityKind, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-CQ_jwgYv-HA5t2SE0.mjs";
13
+ import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-vDQ3S5gW.mjs";
14
14
  import { i as leadingBackingObjectName, t as derivedBackingIndexIsRedundant } from "./index-equivalence-DswCiq5l-DlC2yTK1.mjs";
15
15
  import { a as materializeForeignKeysAndIndexes, i as defaultForeignKeyIndex, n as declaredBackingObjectName, r as declaredIndexesServeForeignKey, t as FOREIGN_KEY_INDEX_UNRESOLVED } from "./foreign-key-materialization-DibQ9Hjg.mjs";
16
16
  import { t as validateIndexTypes } from "./index-type-validation-Bcme_Ust.mjs";
17
17
  import { t as REFERENTIAL_ACTION_SQL } from "./referential-action-sql-DSqkrySN.mjs";
18
18
  import { t as resolveStorageTable } from "./resolve-storage-table-DZsfnzeW.mjs";
19
19
  import { a as canonicalSqlText, c as readSqlExpression, d as sqlExpressionAuthoringEntry, f as sqlExpressionDataType, h as sqlTextsReadBack, i as assertNothingCastsFromSqlExpression, l as requireSqlExpression, m as sqlTextFromCanonical, n as SQL_EXPRESSION_TAG, o as isSqlExpression, p as sqlExpressionRegistration, r as SqlExpression, s as printSqlExpressionLiteral, t as SQL_EXPRESSION_DATA_TYPE_ID, u as sql } from "./sql-expression-DSRILiU2.mjs";
20
- import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as resolvedTypeParams, f as toStorageTypeInstance, i as RelationKeys, l as isSqlAuthoringContributions, n as DEFAULT_FK_CONSTRAINT, o as SqlStorage, r as DEFAULT_FK_INDEX, s as applyFkDefaults, t as CODEC_INSTANCE_KIND, u as isStorageTypeInstance } from "./types-DXrO0fxT.mjs";
21
- import { a as createSqlStorageSchema, c as validateExecutionDefaultsTargetMappedColumns, d as validateRelationJoinFields, f as validateSqlContractFully, g as valueObjectStorageTypeMissingMessage, h as validateStorageSemantics, i as createSqlContractSchema, l as validateModel, m as validateStorage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateSqlStorageConsistency, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateModelStorageReferences } from "./validators-CfUrQdiv.mjs";
20
+ import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as resolvedTypeParams, f as toStorageTypeInstance, i as RelationKeys, l as isSqlAuthoringContributions, n as DEFAULT_FK_CONSTRAINT, o as SqlStorage, r as DEFAULT_FK_INDEX, s as applyFkDefaults, t as CODEC_INSTANCE_KIND, u as isStorageTypeInstance } from "./types-GS3fwvoX.mjs";
21
+ import { a as createSqlStorageSchema, c as validateExecutionDefaultsTargetMappedColumns, d as validateRelationJoinFields, f as validateSqlContractFully, g as valueObjectStorageTypeMissingMessage, h as validateStorageSemantics, i as createSqlContractSchema, l as validateModel, m as validateStorage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateSqlStorageConsistency, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateModelStorageReferences } from "./validators-DlpO67uZ.mjs";
22
22
  import { n as providesValueSetDerivation, t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
23
23
  export { CODEC_INSTANCE_KIND, CheckConstraint, CheckConstraintSchema, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, FOREIGN_KEY_INDEX_UNRESOLVED, ForeignKey, ForeignKeyReference, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, Index, IndexSchema, PrimaryKey, REFERENTIAL_ACTION_SQL, ReferentialActionSchema, RelationKeys, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, SqlExpression, SqlNamespaceBase, SqlNode, SqlStorage, StorageColumn, StorageTable, StorageTableSchema, StorageValueSet, StorageValueSetSchema, UniqueConstraint, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, canonicalDateTime, canonicalNumeralText, canonicalSqlText, checkConstraintInputFromSerialized, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createNumberClassifier, createSqlContractSchema, createSqlStorageSchema, dataTypeParams, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, index, indexInputFromSerialized, indexTypeRegistryOf, integerTextCanonicalForm, isAuthoredIndexInput, isMaterializedSqlNamespace, isNumeralText, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, numeralText, parseJsonText, pk, printJsonText, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, readSqlExpression, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, reservedSqlDefaultText, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolveWrittenSqlTypes, resolvedTypeParams, signedRange, sql, sqlBaseName, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlTextFromCanonical, sqlTextsReadBack, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
@@ -1,2 +1,2 @@
1
- import { a as SqlSingleNamespaceView, i as SqlSingleNamespaceAccessors, n as SqlBuiltinKind, o as buildSqlSchemaQualifiedView, r as SqlSchemaQualifiedView, s as buildSqlSingleNamespaceView, t as SQL_BUILTIN_KINDS } from "./contract-view-CijuTaer.mjs";
1
+ import { a as SqlSingleNamespaceView, i as SqlSingleNamespaceAccessors, n as SqlBuiltinKind, o as buildSqlSchemaQualifiedView, r as SqlSchemaQualifiedView, s as buildSqlSingleNamespaceView, t as SQL_BUILTIN_KINDS } from "./contract-view-BAbRgQMW.mjs";
2
2
  export { SQL_BUILTIN_KINDS, type SqlBuiltinKind, type SqlSchemaQualifiedView, type SqlSingleNamespaceAccessors, type SqlSingleNamespaceView, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView };
@@ -1,2 +1,2 @@
1
- import { n as tableEntityKind, r as valueSetEntityKind, t as composeSqlEntityKinds } from "./entity-kinds-DqUYen0Y.mjs";
1
+ import { n as tableEntityKind, r as valueSetEntityKind, t as composeSqlEntityKinds } from "./entity-kinds-BCMNbwxO.mjs";
2
2
  export { composeSqlEntityKinds, tableEntityKind, valueSetEntityKind };
@@ -1,2 +1,2 @@
1
- import { f as composeSqlEntityKinds, m as valueSetEntityKind, p as tableEntityKind } from "./entity-kinds-DDTkNIr9-DJ2EIO94.mjs";
1
+ import { f as composeSqlEntityKinds, m as valueSetEntityKind, p as tableEntityKind } from "./entity-kinds-CQ_jwgYv-HA5t2SE0.mjs";
2
2
  export { composeSqlEntityKinds, tableEntityKind, valueSetEntityKind };
@@ -1,2 +1,2 @@
1
- import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-2LNVsQ2j.mjs";
1
+ import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-B4AMRt6O.mjs";
2
2
  export { col, fk, index, model, pk, table, unique };
@@ -1,2 +1,2 @@
1
- import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-CScqMnFk.mjs";
1
+ import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-vDQ3S5gW.mjs";
2
2
  export { col, fk, index, model, pk, table, unique };
@@ -1,2 +1,2 @@
1
- import { n as validateIndexTypes, t as CodecTraitsLookup } from "./index-type-validation-P4WLRyZA.mjs";
1
+ import { n as validateIndexTypes, t as CodecTraitsLookup } from "./index-type-validation-Cz2T3FJn.mjs";
2
2
  export { CodecTraitsLookup, validateIndexTypes };
@@ -1,2 +1,2 @@
1
- import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-wSUswl-4.mjs";
1
+ import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-8N2xelSh.mjs";
2
2
  export { type ResolvedStorageTable, resolveStorageTable };
@@ -3,10 +3,10 @@ import { n as CheckConstraintInput, t as CheckConstraint } from "./check-constra
3
3
  import { a as ForeignKeyReferenceInput, i as ForeignKeyReference, n as ForeignKeyIndex, o as ReferentialAction, r as ForeignKeyInput, t as ForeignKey } from "./foreign-key-qkDFfG8t-Fyrzd0VI.mjs";
4
4
  import { i as UniqueConstraintInput, n as PrimaryKeyInput, r as UniqueConstraint, t as PrimaryKey } from "./unique-constraint-M5TlQnJQ-BiIHJ85k.mjs";
5
5
  import { r as IndexInput, t as Index } from "./sql-index-ByAAE7K8-BpbPBWPD.mjs";
6
- import { i as StorageTableInput, n as StorageColumnInput, r as StorageTable, t as StorageColumn } from "./storage-table-WXeVNycx-BCwDhdq5.mjs";
6
+ import { i as StorageTableInput, n as StorageColumnInput, r as StorageTable, t as StorageColumn } from "./storage-table-DC9afJhr-CmRU56OS.mjs";
7
7
  import { n as StorageValueSetInput, r as isStorageValueSet, t as StorageValueSet } from "./storage-value-set-BGlj5Uus-CvZD--GG.mjs";
8
- import { _ as resolvedTypeParams, a as SqlNamespaceBase, c as SqlNamespaceInput, d as SqlStorageTypeEntry, f as StorageTypeInstance, g as isStorageTypeInstance, h as isSqlAuthoringContributions, i as SqlNamespace, l as SqlStorage, m as isMaterializedSqlNamespace, n as CODEC_INSTANCE_KIND, o as SqlNamespaceEntries, p as StorageTypeInstanceInput, r as SqlAuthoringContributions, s as SqlNamespaceFactory, t as AuthoredStorageTypeInstance, u as SqlStorageInput, v as toStorageTypeInstance } from "./sql-storage-BTlJLUID-CGy3wuH4.mjs";
8
+ import { _ as resolvedTypeParams, a as SqlNamespaceBase, c as SqlNamespaceInput, d as SqlStorageTypeEntry, f as StorageTypeInstance, g as isStorageTypeInstance, h as isSqlAuthoringContributions, i as SqlNamespace, l as SqlStorage, m as isMaterializedSqlNamespace, n as CODEC_INSTANCE_KIND, o as SqlNamespaceEntries, p as StorageTypeInstanceInput, r as SqlAuthoringContributions, s as SqlNamespaceFactory, t as AuthoredStorageTypeInstance, u as SqlStorageInput, v as toStorageTypeInstance } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
9
9
  import { i as indexInputFromSerialized, n as SerializedIndex, r as checkConstraintInputFromSerialized, t as SerializedCheckConstraint } from "./serialized-index-CrgG8ct1-DDfHKUEK.mjs";
10
- import { A as ResolveCodecTypes, C as NamespacedStorageColumnTypeMap, D as QueryOperationTypesBase, E as QueryOperationTypeEntry, F as StorageColumnInputTypesOf, I as StorageColumnTypesOf, L as TypeMaps, M as SqlModelFieldStorage, N as SqlModelStorage, O as QueryOperationTypesFunction, P as SqlQueryOperationTypes, R as TypeMapsPhantomKey, S as NamespacedFieldTypeMap, T as QueryOperationSelfSpec, _ as ExtractStorageColumnTypes, a as AggregateTypesOf, b as FieldOutputTypesOf, c as ContractWithTypeMaps, d as ExtractAggregateTypes, f as ExtractCodecTypes, g as ExtractStorageColumnInputTypes, h as ExtractQueryOperationTypes, i as AggregateTypesFromDescriptors, j as SqlControlDriverInstance, k as QueryOperationTypesOf, l as DEFAULT_FK_CONSTRAINT, m as ExtractFieldOutputTypes, n as AggregateResultType, o as ApplyQueryOperationTypes, p as ExtractFieldInputTypes, r as AggregateTypesBase, s as CodecTypesOf, t as AggregateOperationTypes, u as DEFAULT_FK_INDEX, v as ExtractTypeMapsFromContract, w as QueryOperationReturn, x as ForeignKeyOptions, y as FieldInputTypesOf, z as applyFkDefaults } from "./types-zwKzjyma-CxZkmkUI.mjs";
11
- import { a as Scalars, c as StorageColumnMapAt, i as RelationNamesOf, l as StorageColumnTypeAcrossNamespaces, n as FieldTypesFromDomain, o as Shape, r as RelationKeys, s as ShapeSpec, t as ColumnTypesFromStorage, u as ValueTypeSide } from "./types-HD5m-h8B.mjs";
10
+ import { A as ResolveCodecTypes, C as NamespacedStorageColumnTypeMap, D as QueryOperationTypesBase, E as QueryOperationTypeEntry, F as StorageColumnInputTypesOf, I as StorageColumnTypesOf, L as TypeMaps, M as SqlModelFieldStorage, N as SqlModelStorage, O as QueryOperationTypesFunction, P as SqlQueryOperationTypes, R as TypeMapsPhantomKey, S as NamespacedFieldTypeMap, T as QueryOperationSelfSpec, _ as ExtractStorageColumnTypes, a as AggregateTypesOf, b as FieldOutputTypesOf, c as ContractWithTypeMaps, d as ExtractAggregateTypes, f as ExtractCodecTypes, g as ExtractStorageColumnInputTypes, h as ExtractQueryOperationTypes, i as AggregateTypesFromDescriptors, j as SqlControlDriverInstance, k as QueryOperationTypesOf, l as DEFAULT_FK_CONSTRAINT, m as ExtractFieldOutputTypes, n as AggregateResultType, o as ApplyQueryOperationTypes, p as ExtractFieldInputTypes, r as AggregateTypesBase, s as CodecTypesOf, t as AggregateOperationTypes, u as DEFAULT_FK_INDEX, v as ExtractTypeMapsFromContract, w as QueryOperationReturn, x as ForeignKeyOptions, y as FieldInputTypesOf, z as applyFkDefaults } from "./types-Dqf87mfA-BOElvimQ.mjs";
11
+ import { a as Scalars, c as StorageColumnMapAt, i as RelationNamesOf, l as StorageColumnTypeAcrossNamespaces, n as FieldTypesFromDomain, o as Shape, r as RelationKeys, s as ShapeSpec, t as ColumnTypesFromStorage, u as ValueTypeSide } from "./types-DMfBh16_.mjs";
12
12
  export { type AggregateOperationTypes, type AggregateResultType, type AggregateTypesBase, type AggregateTypesFromDescriptors, type AggregateTypesOf, type ApplyQueryOperationTypes, type AuthoredStorageTypeInstance, CODEC_INSTANCE_KIND, CheckConstraint, type CheckConstraintInput, type CodecTypesOf, type ColumnTypesFromStorage, type ContractWithTypeMaps, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, type ExtractAggregateTypes, type ExtractCodecTypes, type ExtractFieldInputTypes, type ExtractFieldOutputTypes, type ExtractQueryOperationTypes, type ExtractStorageColumnInputTypes, type ExtractStorageColumnTypes, type ExtractTypeMapsFromContract, type FieldInputTypesOf, type FieldOutputTypesOf, type FieldTypesFromDomain, ForeignKey, type ForeignKeyIndex, type ForeignKeyInput, type ForeignKeyOptions, ForeignKeyReference, type ForeignKeyReferenceInput, Index, type IndexInput, type NamespacedFieldTypeMap, type NamespacedStorageColumnTypeMap, PrimaryKey, type PrimaryKeyInput, type QueryOperationReturn, type QueryOperationSelfSpec, type QueryOperationTypeEntry, type QueryOperationTypesBase, type QueryOperationTypesFunction, type QueryOperationTypesOf, type ReferentialAction, RelationKeys, type RelationNamesOf, type ResolveCodecTypes, type Scalars, type SerializedCheckConstraint, type SerializedIndex, type Shape, type ShapeSpec, type SqlAuthoringContributions, type SqlControlDriverInstance, type SqlModelFieldStorage, type SqlModelStorage, type SqlNamespace, SqlNamespaceBase, type SqlNamespaceEntries, type SqlNamespaceFactory, type SqlNamespaceInput, SqlNode, type SqlQueryOperationTypes, SqlStorage, type SqlStorageInput, type SqlStorageTypeEntry, StorageColumn, type StorageColumnInput, type StorageColumnInputTypesOf, type StorageColumnMapAt, type StorageColumnTypeAcrossNamespaces, type StorageColumnTypesOf, StorageTable, type StorageTableInput, type StorageTypeInstance, type StorageTypeInstanceInput, StorageValueSet, type StorageValueSetInput, type TypeMaps, type TypeMapsPhantomKey, UniqueConstraint, type UniqueConstraintInput, type ValueTypeSide, applyFkDefaults, checkConstraintInputFromSerialized, indexInputFromSerialized, isMaterializedSqlNamespace, isSqlAuthoringContributions, isStorageTypeInstance, isStorageValueSet, resolvedTypeParams, toStorageTypeInstance };
@@ -1,4 +1,4 @@
1
- import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, o as SqlNode, r as ForeignKeyReference, s as StorageColumn, t as CheckConstraint } from "./storage-table-B7OSPl3G-p1j6AjMS.mjs";
2
- import { i as isStorageValueSet, n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueSet } from "./serialized-index-C26m_DWu-BjU519sW.mjs";
3
- import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as resolvedTypeParams, f as toStorageTypeInstance, i as RelationKeys, l as isSqlAuthoringContributions, n as DEFAULT_FK_CONSTRAINT, o as SqlStorage, r as DEFAULT_FK_INDEX, s as applyFkDefaults, t as CODEC_INSTANCE_KIND, u as isStorageTypeInstance } from "./types-DXrO0fxT.mjs";
1
+ import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, o as SqlNode, r as ForeignKeyReference, s as StorageColumn, t as CheckConstraint } from "./storage-table-DN36E2yE-Bm5eKeGw.mjs";
2
+ import { i as isStorageValueSet, n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueSet } from "./serialized-index-52COq1yV-D8zJP-Xl.mjs";
3
+ import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as resolvedTypeParams, f as toStorageTypeInstance, i as RelationKeys, l as isSqlAuthoringContributions, n as DEFAULT_FK_CONSTRAINT, o as SqlStorage, r as DEFAULT_FK_INDEX, s as applyFkDefaults, t as CODEC_INSTANCE_KIND, u as isStorageTypeInstance } from "./types-GS3fwvoX.mjs";
4
4
  export { CODEC_INSTANCE_KIND, CheckConstraint, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, ForeignKey, ForeignKeyReference, Index, PrimaryKey, RelationKeys, SqlNamespaceBase, SqlNode, SqlStorage, StorageColumn, StorageTable, StorageValueSet, UniqueConstraint, applyFkDefaults, checkConstraintInputFromSerialized, indexInputFromSerialized, isMaterializedSqlNamespace, isSqlAuthoringContributions, isStorageTypeInstance, isStorageValueSet, resolvedTypeParams, toStorageTypeInstance };
@@ -1,2 +1,2 @@
1
- import { C as validateModelStorageReferences, D as validateStorage, E as validateSqlStorageConsistency, O as validateStorageSemantics, S as validateModel, T as validateSqlContractFully, _ as createSqlContractSchema, a as ContractEnumSchema, b as resolveSqlToOneRelationStorage, c as ForeignKeySourceSchema, d as SqlToOneRelationStorage, f as StorageTableSchema, g as createNamespaceEntrySchema, h as checkSqlDefaultText, i as ColumnDefaultSchema, k as valueObjectStorageTypeMissingMessage, l as IndexSchema, m as ValidateSqlContractFullyOptions, n as ColumnDefaultFunctionSchema, o as ForeignKeyReferenceSchema, p as StorageValueSetSchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySchema, t as CheckConstraintSchema, u as ReferentialActionSchema, v as createSqlStorageSchema, w as validateRelationJoinFields, x as validateExecutionDefaultsTargetMappedColumns, y as reservedSqlDefaultText } from "./validators-BifwoR5e.mjs";
1
+ import { C as validateModelStorageReferences, D as validateStorage, E as validateSqlStorageConsistency, O as validateStorageSemantics, S as validateModel, T as validateSqlContractFully, _ as createSqlContractSchema, a as ContractEnumSchema, b as resolveSqlToOneRelationStorage, c as ForeignKeySourceSchema, d as SqlToOneRelationStorage, f as StorageTableSchema, g as createNamespaceEntrySchema, h as checkSqlDefaultText, i as ColumnDefaultSchema, k as valueObjectStorageTypeMissingMessage, l as IndexSchema, m as ValidateSqlContractFullyOptions, n as ColumnDefaultFunctionSchema, o as ForeignKeyReferenceSchema, p as StorageValueSetSchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySchema, t as CheckConstraintSchema, u as ReferentialActionSchema, v as createSqlStorageSchema, w as validateRelationJoinFields, x as validateExecutionDefaultsTargetMappedColumns, y as reservedSqlDefaultText } from "./validators-R-Wsy5Rr.mjs";
2
2
  export { CheckConstraintSchema, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, IndexSchema, ReferentialActionSchema, type SqlToOneRelationStorage, StorageTableSchema, StorageValueSetSchema, ValidateSqlContractFullyOptions, checkSqlDefaultText, createNamespaceEntrySchema, createSqlContractSchema, createSqlStorageSchema, reservedSqlDefaultText, resolveSqlToOneRelationStorage, validateExecutionDefaultsTargetMappedColumns, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage };
@@ -1,3 +1,3 @@
1
- import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, i as ColumnDefaultSchema, l as ReferentialActionSchema, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-DDTkNIr9-DJ2EIO94.mjs";
2
- import { a as createSqlStorageSchema, c as validateExecutionDefaultsTargetMappedColumns, d as validateRelationJoinFields, f as validateSqlContractFully, g as valueObjectStorageTypeMissingMessage, h as validateStorageSemantics, i as createSqlContractSchema, l as validateModel, m as validateStorage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateSqlStorageConsistency, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateModelStorageReferences } from "./validators-CfUrQdiv.mjs";
1
+ import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, i as ColumnDefaultSchema, l as ReferentialActionSchema, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-CQ_jwgYv-HA5t2SE0.mjs";
2
+ import { a as createSqlStorageSchema, c as validateExecutionDefaultsTargetMappedColumns, d as validateRelationJoinFields, f as validateSqlContractFully, g as valueObjectStorageTypeMissingMessage, h as validateStorageSemantics, i as createSqlContractSchema, l as validateModel, m as validateStorage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateSqlStorageConsistency, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateModelStorageReferences } from "./validators-DlpO67uZ.mjs";
3
3
  export { CheckConstraintSchema, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, IndexSchema, ReferentialActionSchema, StorageTableSchema, StorageValueSetSchema, checkSqlDefaultText, createNamespaceEntrySchema, createSqlContractSchema, createSqlStorageSchema, reservedSqlDefaultText, resolveSqlToOneRelationStorage, validateExecutionDefaultsTargetMappedColumns, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage };
@@ -1,21 +1,21 @@
1
- import { r as StorageTable, t as StorageColumn } from "./storage-table-WXeVNycx-BCwDhdq5.mjs";
2
- import { l as SqlStorage } from "./sql-storage-BTlJLUID-CGy3wuH4.mjs";
3
- import { j as SqlControlDriverInstance } from "./types-zwKzjyma-CxZkmkUI.mjs";
4
- import "./types-HD5m-h8B.mjs";
5
- import { r as SqlOperationDescriptors } from "./index-CJlr0Eja.mjs";
6
- import { h as AnyQueryAst } from "./types-Sh5HuaZE-Dq4AUzl7.mjs";
1
+ import { r as StorageTable, t as StorageColumn } from "./storage-table-DC9afJhr-CmRU56OS.mjs";
2
+ import { l as SqlStorage } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
3
+ import { j as SqlControlDriverInstance } from "./types-Dqf87mfA-BOElvimQ.mjs";
4
+ import "./types-DMfBh16_.mjs";
5
+ import { r as SqlOperationDescriptors } from "./index-BXFiad5j.mjs";
6
+ import { h as AnyQueryAst } from "./types-Sh5HuaZE-BwZNUDEi.mjs";
7
7
  import { o as SqlExecuteRequest } from "./driver-types-DRsYeq3j-X_D6hNMZ.mjs";
8
- import { a as DdlNode } from "./ddl-types-DtKZjNtN-BCpmdMQF.mjs";
9
- import { p as LowererContext } from "./ast-DbmdIKFd.mjs";
10
- import { a as ParsedNullLiteral, i as EnumMemberListDefault, n as DefaultFunctionCall, r as EnumMemberDefault } from "./attribute-specs-CKg3a2P_.mjs";
8
+ import { a as DdlNode } from "./ddl-types-DtKZjNtN-DWQeO79o.mjs";
9
+ import { p as LowererContext } from "./ast-BoM9T1b2.mjs";
10
+ import { a as ParsedNullLiteral, i as EnumMemberListDefault, n as DefaultFunctionCall, r as EnumMemberDefault } from "./attribute-specs-D7EhHD08.mjs";
11
11
  import { b as SqlSchemaIRNode, v as SqlSchemaIR } from "./types-C-z8HyiZ-1Nhw0pHj.mjs";
12
12
  import "./types-CJK7FBdw.mjs";
13
13
  import { o as SqlTypeLookups } from "./data-type-CYsho6Yd.mjs";
14
- import "./validators-BifwoR5e.mjs";
15
- import { r as SqlControlAdapter } from "./control-adapter-CkFfBVei-4WUzQP7G.mjs";
16
- import { t as sqlFamilyEnumSpec } from "./authoring-entity-types-CZ-vdwYS-Cc7JCJ0Q.mjs";
17
- import { D as SqlPlannerFailureResult, S as SqlMigrationRunnerSuccessValue, _ as SqlMigrationRunnerErrorCode, b as SqlMigrationRunnerFailure, f as SqlMigrationPlanOperationStep, g as SqlMigrationRunner, k as SqlPlannerSuccessResult, l as SqlMigrationPlan, m as SqlMigrationPlanner, n as CodecControlHooks, r as CreateSqlMigrationPlanOptions, t as AnyRecord, w as SqlPlannerConflict } from "./types-CzxOObSY-DTQ2rnLF.mjs";
18
- import { t as SqlSchemaDiffFn } from "./schema-differ-CqWOkoW9-DAcuiQPU.mjs";
14
+ import "./validators-R-Wsy5Rr.mjs";
15
+ import { r as SqlControlAdapter } from "./control-adapter-CkFfBVei-DGf1LihO.mjs";
16
+ import { t as sqlFamilyEnumSpec } from "./authoring-entity-types-CZ-vdwYS-Cl5erH9X.mjs";
17
+ import { D as SqlPlannerFailureResult, S as SqlMigrationRunnerSuccessValue, _ as SqlMigrationRunnerErrorCode, b as SqlMigrationRunnerFailure, f as SqlMigrationPlanOperationStep, g as SqlMigrationRunner, k as SqlPlannerSuccessResult, l as SqlMigrationPlan, m as SqlMigrationPlanner, n as CodecControlHooks, r as CreateSqlMigrationPlanOptions, t as AnyRecord, w as SqlPlannerConflict } from "./types-CzxOObSY-Cq3t_HCe.mjs";
18
+ import { t as SqlSchemaDiffFn } from "./schema-differ-CqWOkoW9-uVU2SdFf.mjs";
19
19
  import { StructuredError } from "@prisma/orm-framework/utils/structured-error";
20
20
  import { DataTypeSupport, PresetStorageTemplate, TIMESTAMP_NOW_GENERATOR_ID } from "@prisma/orm-framework/components/authoring";
21
21
  import { CodecLookupWithDescriptors, DataType } from "@prisma/orm-framework/components/codec";
@@ -423,10 +423,6 @@ declare class SqlFamilyDescriptor implements ControlFamilyDescriptor<'sql', SqlC
423
423
  readonly unique: (_ctx: import("@prisma/orm-framework/psl-parser").FieldAttributeSpecContext) => import("@prisma/orm-framework/psl-parser").AttributeSpec<{
424
424
  readonly map?: string;
425
425
  }, import("@prisma/orm-framework/psl-parser").FieldAttributeCtx>;
426
- readonly noCheck: (_ctx: import("@prisma/orm-framework/psl-parser").FieldAttributeSpecContext) => import("@prisma/orm-framework/psl-parser").AttributeSpec<{
427
- first?: "membership" | "elementNotNull";
428
- second?: "membership" | "elementNotNull";
429
- }, import("@prisma/orm-framework/psl-parser").FieldAttributeCtx>;
430
426
  readonly relation: (_ctx: import("@prisma/orm-framework/psl-parser").FieldAttributeSpecContext) => import("@prisma/orm-framework/psl-parser").AttributeSpec<{
431
427
  name?: string;
432
428
  readonly fields?: string[];
@@ -1384,4 +1380,4 @@ declare function temporalCodecPresetWithPrecision<const CodecId extends string,
1384
1380
  declare const _default: SqlFamilyDescriptor;
1385
1381
  //#endregion
1386
1382
  export { backfillOfDefaultedField as $, SchemaTables as A, rowsWithoutValueFailure as At, StatementColumn as B, temporalStringAuthoringPresets as Bt, ModelStorageEffect as C, plannerFailure as Ct, PlannedStatements as D, requiredColumnsOfMigration as Dt, PlanFieldEventOperationsOptions as E, requiredColumnOf as Et, SqlPslBuildContext as F, sqlOfSlot as Ft, TableNameCaseGuardTable as G, SubjectStorage as H, unknownCallNames as Ht, SqlQuote as I, sqlTypeLookupsOf as It, TableRenameRequest as J, TableRename as K, SqlQuotingRules as L, storageNameOfOperation as Lt, SqlControlFamilyInstance as M, runnerFailure as Mt, SqlControlTargetDescriptor as N, runnerSuccess as Nt, RequiredColumn as O, resolveColumnRenameAgainst as Ot, SqlDescribedContractSpace as P, slotSource as Pt, assembleAuthoringContributions as Q, SqlSlot as R, subjectsOfCalls as Rt, MigrationPlannerResult as S, planStatements as St, NoTable as T, requiredColumnMeta as Tt, SuppressionRecord as U, unmatchedColumnRename as Ut, StatementPlanningTarget as V, unconvertedFieldOf as Vt, TABLE_NAME_CASE_CHANGED_CODE as W, unmatchedTableRename as Wt, _default as X, TargetMigrationsCapability as Y, appliedStatementsInOrder as Z, MigrationOperationPolicy$1 as _, modelRenameStorageEffect as _t, ColumnRename as a, convertedColumnMeta as at, MigrationPlanner as b, planFieldEventCalls as bt, ControlPolicySubject as c, createSqlTextSources as ct, DefaultResolver as d, extractCodecControlHooks as dt, checkSqlExpressionText as et, FieldEventCall as f, fieldEventStorage as ft, MigrationOperationClass$1 as g, isUnfilledSlot as gt, INIT_ADDITIVE_POLICY as h, fieldStatementColumns as ht, ColumnOnOneSide as i, controlPolicyForCall as it, SingleOperationCall as j, rowsWithoutValueSummary as jt, RequiredColumnMark as k, resolveTableRenameAgainst as kt, ConvertedColumn as l, detectDestructiveChanges as lt, FieldStorageEffect as m, fieldRenameStorageEffect as mt, CallSubjects as n, contractNamespaceToSchemaIR as nt, ColumnRenameRequest as o, convertedColumnOf as ot, FieldStatementColumns as p, fieldOfColumn as pt, TableRenameByHand as q, CallWithCompanions as r, contractToSchemaIR as rt, ContractToSchemaIROptions as s, createMigrationPlan as st, COLUMN_RENAME_UNMATCHED_CODE as t, columnTakesTemporaryValue as tt, DefaultRenderer as u, detectTableNameCaseChanges as ut, MigrationPlan$1 as v, partitionCallsByControlPolicy as vt, ModelTable as w, plannerSuccess as wt, MigrationPlannerConflict$1 as x, planFieldEventOperations as xt, MigrationPlanOperation$1 as y, partitionIssuesByControlPolicy as yt, SqlTextSources as z, temporalCodecPresetWithPrecision as zt };
1387
- //# sourceMappingURL=control-Ced1D4yz.d.mts.map
1383
+ //# sourceMappingURL=control-DI79MS1a.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-DI79MS1a.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAoBU;WACC,kBAAkB,cAAc;WAChC,cAAc;;UAEf,iCAAiC,6BAA6B,kBAAkB,kBAAkB,kBAAkB,wBAAwB,kBAAkB,wBAAwB,SAAS,cAAc,yBAAyB;;;;;;;;;EAS9O,oBAAoB,wBAAwB;EAC5C,OAAO;aACI,QAAQ;aACR;aACA;aACA;aACA;MACP,QAAQ;;;;;;;;;;EAUZ,aAAa;aACF;aACA,QAAQ;aACR;aACA,qBAAqB,cAAc;MAC1C;;;;;;;;;;EAUJ,2BAA2B,OAAO,kBAAkB;;;;;;;;EAQpD,mBAAmB,OAAO;EAC1B,WAAW;aACA,QAAQ;aACR;MACP,QAAQ;EACZ,iBAAiB,UAAU,kBAAkB;EAC7C,SAAS,KAAK,cAAc,SAAS,SAAS,0BAA0B,QAAQ;;;;;;EAMhF,WAAW;aACA,QAAQ;aACR;aACA;eACE;eACA;eACA;;MAET;;;;;EAKJ,aAAa;aACF,QAAQ;aACR;aACA;aACA;eACE;eACA;eACA;;MAET;;;;;EAKJ,iBAAiB;aACN,QAAQ;aACR;aACA;eACE;eACA;eACA;eACA;eACA;eACA;eACA;;MAET;EACJ,yCAAyC;EACzC,mBAAmB,qBAAqB,2BAA6B;EACrE,cAAc,WAAW;;;;cAIb,+BAA+B,+BAA+B;WACjE;WACA;WACA;WACA;WACA,UAAU;WACV,oBAAoB;WACpB;aACE;eACE;iBACE;iBACA;mBACE;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;uBACA;;;;iBAIN;mBACE;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;;;;;eAKR;iBACE;iBACA;mBACE;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;qBACE;;;;eAIN;iBACE;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;yBACA;;;;mBAIN;qBACE;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;6BACA;;;;;qBAKR;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;;;aAKR;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;q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AA0B,OAAO,cAAc;;;;;;;UAOtD;WACC;WACA;WACA;;;;;;iBAMM,oBAAoB,eAAe,gBAAgB,IAAI;WAC7D,iBAAiB;;;iBAGX,kBAAkB,MAAM,gCAAgC;;;;;iBAKxD,mBAAmB,MAAM,+BAA+B,UAAU,qBAAqB;;;iBAGvF,qCAAqC,gBAAgB,6BAA6B,oCAAoC,4BAA4B,OAAO;WAC/J,cAAc;;WAEd;aACE;aACA,QAAQ,KAAK;eACX,cAAc;;eAEd;iBACE;mBACE;mBACA,IAAI;;;;;WAKZ;aACE;aACA,QAAQ,KAAK;eACX,cAAc;;eAEd;iBACE;mBACE;mBACA,IAAI;;iBAEN;mBACE;mBACA,IAAI;;;;;;;;;;;;;;;iBAeN,uCAAuC,8BAA8B,oCAAoC,4BAA4B;WAC3I,SAAS;WACT,cAAc;;WAEd;WACA;aACE;aACA;aACA;aACA;;aAEA;aACA;aACA;aACA;;aAEA;aACA;aACA;aACA;;WAEF;aACE,SAAS;aACT;eACE;iBACE;iBACA;;;aAGJ;eACE;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA,qBAAqB;;;;eAI3B;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA,qBAAqB;;;;;;;;;cAS5B,UAAU"}
@@ -1,18 +1,18 @@
1
1
  import { u as namingOf } from "./naming-CT8tRisJ-DLHKo0Hm.mjs";
2
2
  import { t as sqlContractCanonicalizationHooks } from "./canonicalization-hooks-dmXkOR4a.mjs";
3
3
  import { a as renderSqlTypeName, d as unquotedSqlBaseName, t as dataTypeParams, u as sqlDataTypeOfCodec } from "./data-type-DU0mtme5.mjs";
4
- import { c as StorageTable } from "./storage-table-B7OSPl3G-p1j6AjMS.mjs";
4
+ import { c as StorageTable } from "./storage-table-DN36E2yE-Bm5eKeGw.mjs";
5
5
  import { c as SqlSchemaIR, n as RelationalSchemaNodeKind, u as SqlTableIR } from "./types-DvhckjSz-Cm0Oodhr.mjs";
6
6
  import { p as sqlExpressionRegistration } from "./sql-expression-DSRILiU2.mjs";
7
- import { u as isStorageTypeInstance } from "./types-DXrO0fxT.mjs";
8
- import { g as valueObjectStorageTypeMissingMessage } from "./validators-CfUrQdiv.mjs";
9
- import { a as describeUnsupportedSqlAttribute, v as sqlAttributeSpecs } from "./psl-field-resolution-4U7Plpfb-CCfgoBAa.mjs";
7
+ import { u as isStorageTypeInstance } from "./types-GS3fwvoX.mjs";
8
+ import { g as valueObjectStorageTypeMissingMessage } from "./validators-DlpO67uZ.mjs";
9
+ import { a as describeUnsupportedSqlAttribute, v as sqlAttributeSpecs } from "./psl-field-resolution-SPNDr-jr-CH_gs3Oy.mjs";
10
10
  import { t as describeUnresolvedSqlType } from "./diagnostics-C8YevjSU.mjs";
11
- import { t as sqlEmission } from "./dist-D4FKWSKx.mjs";
12
- import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-0Iv2zdwS-BG0FZNDM.mjs";
13
- import { c as verifySqlSchemaByDiff, n as classifyDiffSubjectGranularity, o as enforceSqlDataTypeInvariants, t as classifyDiffEntityKind } from "./schema-verify-DIfHSB4I-CU6ViTDO.mjs";
11
+ import { t as sqlEmission } from "./dist-Cg2lL1hR.mjs";
12
+ import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-0Iv2zdwS-yMnSyGBK.mjs";
13
+ import { c as verifySqlSchemaByDiff, n as classifyDiffSubjectGranularity, o as enforceSqlDataTypeInvariants, t as classifyDiffEntityKind } from "./schema-verify-DIfHSB4I-wt28gB9e.mjs";
14
14
  import { t as sqlFamilyError } from "./errors-B5g0xWro-mWH2C07F.mjs";
15
- import { t as SqlContractSerializer } from "./sql-contract-serializer-DDaAVCQr-DFIIkxQr.mjs";
15
+ import { t as SqlContractSerializer } from "./sql-contract-serializer-DDaAVCQr-Ba3XOCG6.mjs";
16
16
  import { t as collectSupportedCodecTypeIds } from "./verify-BVk5bjdH-dq5M4iIh.mjs";
17
17
  import { isStructuredError, structuredError } from "@prisma/orm-framework/utils/structured-error";
18
18
  import { ifDefined } from "@prisma/orm-framework/utils/defined";
@@ -2426,4 +2426,4 @@ var control_default = new SqlFamilyDescriptor();
2426
2426
  //#endregion
2427
2427
  export { plannerFailure as A, runnerSuccess as B, isUnfilledSlot as C, planFieldEventCalls as D, partitionIssuesByControlPolicy as E, resolveColumnRenameAgainst as F, subjectsOfCalls as G, sqlOfSlot as H, resolveTableRenameAgainst as I, unconvertedFieldOf as J, temporalCodecPresetWithPrecision as K, rowsWithoutValueFailure as L, requiredColumnMeta as M, requiredColumnOf as N, planFieldEventOperations as O, requiredColumnsOfMigration as P, rowsWithoutValueSummary as R, fieldStatementColumns as S, partitionCallsByControlPolicy as T, sqlTypeLookupsOf as U, slotSource as V, storageNameOfOperation as W, unmatchedColumnRename as X, unknownCallNames as Y, unmatchedTableRename as Z, detectDestructiveChanges as _, assembleAuthoringContributions as a, fieldOfColumn as b, columnTakesTemporaryValue as c, controlPolicyForCall as d, control_default as f, createSqlTextSources as g, createMigrationPlan as h, appliedStatementsInOrder as i, plannerSuccess as j, planStatements as k, contractNamespaceToSchemaIR as l, convertedColumnOf as m, INIT_ADDITIVE_POLICY as n, backfillOfDefaultedField as o, convertedColumnMeta as p, temporalStringAuthoringPresets as q, TABLE_NAME_CASE_CHANGED_CODE as r, checkSqlExpressionText as s, COLUMN_RENAME_UNMATCHED_CODE as t, contractToSchemaIR as u, detectTableNameCaseChanges as v, modelRenameStorageEffect as w, fieldRenameStorageEffect as x, fieldEventStorage as y, runnerFailure as z };
2428
2428
 
2429
- //# sourceMappingURL=control-DiLXYDZc.mjs.map
2429
+ //# sourceMappingURL=control-Dw27oEaF.mjs.map