@prisma/orm-family-sql 8.0.0-rc.24-dev.28 → 8.0.0-rc.24-dev.29

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 (195) hide show
  1. package/dist/{aggregate-descriptor-registry-DM1hmlq-.mjs → aggregate-descriptor-registry-oSsBuRHQ.mjs} +2 -2
  2. package/dist/{aggregate-descriptor-registry-DM1hmlq-.mjs.map → aggregate-descriptor-registry-oSsBuRHQ.mjs.map} +1 -1
  3. package/dist/{ast-BO3Wgbrl.mjs → ast-BpFfUmb_.mjs} +2 -2
  4. package/dist/{ast-BO3Wgbrl.mjs.map → ast-BpFfUmb_.mjs.map} +1 -1
  5. package/dist/{ast-D0yJ7Yf0.d.mts → ast-DvD53wSW.d.mts} +3 -3
  6. package/dist/{ast-D0yJ7Yf0.d.mts.map → ast-DvD53wSW.d.mts.map} +1 -1
  7. package/dist/{attribute-specs-DL1btx0j.d.mts → attribute-specs-DgYb4op9.d.mts} +3 -3
  8. package/dist/{attribute-specs-DL1btx0j.d.mts.map → attribute-specs-DgYb4op9.d.mts.map} +1 -1
  9. package/dist/{authoring-entity-types-CgKIgWq5-BqNs-56x.d.mts → authoring-entity-types-CgKIgWq5-C3GyB8Hj.d.mts} +2 -2
  10. package/dist/{authoring-entity-types-CgKIgWq5-BqNs-56x.d.mts.map → authoring-entity-types-CgKIgWq5-C3GyB8Hj.d.mts.map} +1 -1
  11. package/dist/builder.d.mts +3 -3
  12. package/dist/builder__runtime.d.mts +7 -7
  13. package/dist/builder__runtime.mjs +26 -12
  14. package/dist/builder__runtime.mjs.map +1 -1
  15. package/dist/builder__types.d.mts +5 -5
  16. package/dist/{collection-methods-CN0GIWWR-BSJvP4Kc.d.mts → collection-methods-As4pXm7B-3xgTSoyU.d.mts} +3 -3
  17. package/dist/{collection-methods-CN0GIWWR-BSJvP4Kc.d.mts.map → collection-methods-As4pXm7B-3xgTSoyU.d.mts.map} +1 -1
  18. package/dist/collection-methods-CS1e16Ij.d.mts +1 -0
  19. package/dist/config-types-BVrGV95W.mjs +147 -0
  20. package/dist/config-types-BVrGV95W.mjs.map +1 -0
  21. package/dist/{config-types-Ce1tAJ0B.d.mts → config-types-DVRid5jV.d.mts} +15 -3
  22. package/dist/config-types-DVRid5jV.d.mts.map +1 -0
  23. package/dist/{contract-builder-BfPC4mQK.d.mts → contract-builder-fyzIdWqX.d.mts} +77 -2
  24. package/dist/{contract-builder-BfPC4mQK.d.mts.map → contract-builder-fyzIdWqX.d.mts.map} +1 -1
  25. package/dist/{contract-builder-Dbo5LeXs.mjs → contract-builder-q2-4IVcW.mjs} +3 -3
  26. package/dist/contract-builder-q2-4IVcW.mjs.map +1 -0
  27. package/dist/contract-emitter.d.mts +3 -2
  28. package/dist/contract-emitter.d.mts.map +1 -1
  29. package/dist/contract-emitter.mjs +1 -1
  30. package/dist/contract-prisma7__provider.mjs +6 -6
  31. package/dist/contract-psl.d.mts +1 -1
  32. package/dist/contract-psl.mjs +1 -1
  33. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  34. package/dist/contract-psl__attribute-specs.mjs +1 -1
  35. package/dist/contract-psl__provider.mjs +22 -19
  36. package/dist/contract-psl__provider.mjs.map +1 -1
  37. package/dist/contract-ts.d.mts +3 -3
  38. package/dist/contract-ts.mjs +4 -4
  39. package/dist/contract-ts__config-types.d.mts +2 -2
  40. package/dist/contract-ts__config-types.mjs +2 -2
  41. package/dist/contract-ts__contract-builder.d.mts +2 -2
  42. package/dist/contract-ts__contract-builder.mjs +3 -3
  43. package/dist/contract.d.mts +2 -2
  44. package/dist/contract.mjs +4 -4
  45. package/dist/contract__foreign-key-materialization.d.mts +2 -2
  46. package/dist/contract__foreign-key-materialization.mjs +3 -3
  47. package/dist/contract__validators.mjs +1 -1
  48. package/dist/{control-Cb6YoQ8j.d.mts → control-L4h4N5uy.d.mts} +158 -42
  49. package/dist/control-L4h4N5uy.d.mts.map +1 -0
  50. package/dist/{control-kHFMtE8A.mjs → control-Mh99W3HI.mjs} +2117 -1315
  51. package/dist/control-Mh99W3HI.mjs.map +1 -0
  52. package/dist/{control-adapter-0z3ce44U-CLj4kqLI.d.mts → control-adapter-0z3ce44U-BQ26ercw.d.mts} +4 -4
  53. package/dist/{control-adapter-0z3ce44U-CLj4kqLI.d.mts.map → control-adapter-0z3ce44U-BQ26ercw.d.mts.map} +1 -1
  54. package/dist/{control-adapter-DIwBUSs6.d.mts → control-adapter-DRLco_j0.d.mts} +2 -2
  55. package/dist/{control-adapter-DIwBUSs6.d.mts.map → control-adapter-DRLco_j0.d.mts.map} +1 -1
  56. package/dist/{db-DfYeGVcu-B99ycjaC.d.mts → db-by-MuHF2-B7uz_0VW.d.mts} +27 -18
  57. package/dist/db-by-MuHF2-B7uz_0VW.d.mts.map +1 -0
  58. package/dist/{ddl-types-D22OYeFy-Be5-W-5z.d.mts → ddl-types-D93zTpm9-DhSkpX0K.d.mts} +3 -3
  59. package/dist/{ddl-types-D22OYeFy-Be5-W-5z.d.mts.map → ddl-types-D93zTpm9-DhSkpX0K.d.mts.map} +1 -1
  60. package/dist/{derived-checks-BWg0DOyz-7O0x1Tgn.mjs → derived-checks-BoHNzt-a-CK4ceMbs.mjs} +228 -10
  61. package/dist/derived-checks-BoHNzt-a-CK4ceMbs.mjs.map +1 -0
  62. package/dist/{diff-DbkXUf4C.d.mts → diff-DZHlisyY.d.mts} +2 -2
  63. package/dist/{diff-DbkXUf4C.d.mts.map → diff-DZHlisyY.d.mts.map} +1 -1
  64. package/dist/{dist-BJjqJT_M.mjs → dist-C-Gi4VUC.mjs} +20 -14
  65. package/dist/dist-C-Gi4VUC.mjs.map +1 -0
  66. package/dist/{exports-BR5ctYYI-C_-aedbr.mjs → exports-kqOXg2OT-D3lo7jnX.mjs} +168 -162
  67. package/dist/exports-kqOXg2OT-D3lo7jnX.mjs.map +1 -0
  68. package/dist/expression-Bz8uEh8W.d.mts +2 -0
  69. package/dist/{expression-D8c3t2Dx-CCHt1OdT.d.mts → expression-DYRYmkMl-BMKxN8Wf.d.mts} +64 -43
  70. package/dist/expression-DYRYmkMl-BMKxN8Wf.d.mts.map +1 -0
  71. package/dist/{expression-DL7L8You-C9BAeM2d.d.mts → expression-VJWwxbUB-BtNDaTCt.d.mts} +5 -5
  72. package/dist/expression-VJWwxbUB-BtNDaTCt.d.mts.map +1 -0
  73. package/dist/{expression-impl-DHdjzqE3-Cd9gP7oC.mjs → expression-impl-C5Ha-fXs-CxXn8gDo.mjs} +7 -5
  74. package/dist/expression-impl-C5Ha-fXs-CxXn8gDo.mjs.map +1 -0
  75. package/dist/family.d.mts +8 -8
  76. package/dist/family.mjs +6 -6
  77. package/dist/family__control-adapter.d.mts +2 -2
  78. package/dist/family__control.d.mts +3 -3
  79. package/dist/family__control.mjs +3 -3
  80. package/dist/family__diff.d.mts +1 -1
  81. package/dist/family__ir.mjs +1 -1
  82. package/dist/family__migration.d.mts +1 -1
  83. package/dist/family__pack.d.mts +1 -1
  84. package/dist/family__pack.mjs +2 -2
  85. package/dist/family__psl-infer.mjs +1 -1
  86. package/dist/{foreign-key-materialization-C53nVQuD.d.mts → foreign-key-materialization-Dntzsl64.d.mts} +8 -2
  87. package/dist/foreign-key-materialization-Dntzsl64.d.mts.map +1 -0
  88. package/dist/{foreign-key-materialization-CCHAR789.mjs → foreign-key-materialization-pYirysH0.mjs} +2 -2
  89. package/dist/foreign-key-materialization-pYirysH0.mjs.map +1 -0
  90. package/dist/{functions-Cl_egJ2w.mjs → functions-DGketpiK.mjs} +3 -3
  91. package/dist/{functions-Cl_egJ2w.mjs.map → functions-DGketpiK.mjs.map} +1 -1
  92. package/dist/functions-gl3PL1so.d.mts +1 -0
  93. package/dist/{generator-functions-Bze9nVHL-Cetbgui3.mjs → generator-functions-Bze9nVHL-q4YmMS5B.mjs} +3 -3
  94. package/dist/{generator-functions-Bze9nVHL-Cetbgui3.mjs.map → generator-functions-Bze9nVHL-q4YmMS5B.mjs.map} +1 -1
  95. package/dist/{index-equivalence-DswCiq5l-9GNm8oG9.mjs → index-equivalence-eC2jGpOp-SkExsiy1.mjs} +3 -3
  96. package/dist/{index-equivalence-DswCiq5l-9GNm8oG9.mjs.map → index-equivalence-eC2jGpOp-SkExsiy1.mjs.map} +1 -1
  97. package/dist/{index-DA1EEz4y.d.mts → index-nW0rAUTr.d.mts} +28 -30
  98. package/dist/index-nW0rAUTr.d.mts.map +1 -0
  99. package/dist/{index-reference-CSrhOgZL-PIYy9LTA.d.mts → index-reference-CjvRzUh1-CG0Ouv6i.d.mts} +3 -3
  100. package/dist/{index-reference-CSrhOgZL-PIYy9LTA.d.mts.map → index-reference-CjvRzUh1-CG0Ouv6i.d.mts.map} +1 -1
  101. package/dist/index-reference-X_kA2mV8.d.mts +1 -0
  102. package/dist/{interpreter-CVd521dx-wWck8W93.mjs → interpreter-DoQwVOyS-DXYLj31g.mjs} +209 -29
  103. package/dist/interpreter-DoQwVOyS-DXYLj31g.mjs.map +1 -0
  104. package/dist/middleware-CcDThETr.d.mts +1 -0
  105. package/dist/{middleware-4P5tDL8a-C1UaoUUN.d.mts → middleware-DzFPUERE-C6RrGmcp.d.mts} +3 -3
  106. package/dist/{middleware-4P5tDL8a-C1UaoUUN.d.mts.map → middleware-DzFPUERE-C6RrGmcp.d.mts.map} +1 -1
  107. package/dist/{migration-DctFInNJ.d.mts → migration-BUWF9_Tx.d.mts} +2 -2
  108. package/dist/{migration-DctFInNJ.d.mts.map → migration-BUWF9_Tx.d.mts.map} +1 -1
  109. package/dist/orm-client.d.mts +113 -69
  110. package/dist/orm-client.d.mts.map +1 -1
  111. package/dist/orm-client.mjs +391 -121
  112. package/dist/orm-client.mjs.map +1 -1
  113. package/dist/{pack-BBsFyTEv.d.mts → pack-CbYm5Bfz.d.mts} +3 -3
  114. package/dist/{pack-BBsFyTEv.d.mts.map → pack-CbYm5Bfz.d.mts.map} +1 -1
  115. package/dist/plan-BjX90QC6.d.mts +2 -0
  116. package/dist/{plan-49sl7WSN-C22ZPSE9.d.mts → plan-Dv6v5_y4-CGWEjfCv.d.mts} +3 -3
  117. package/dist/{plan-49sl7WSN-C22ZPSE9.d.mts.map → plan-Dv6v5_y4-CGWEjfCv.d.mts.map} +1 -1
  118. package/dist/{psl-column-resolution-Bv_-TDHZ-Cuu5X_9o.d.mts → psl-column-resolution-Bv_-TDHZ-C9foRNXV.d.mts} +2 -2
  119. package/dist/{psl-column-resolution-Bv_-TDHZ-Cuu5X_9o.d.mts.map → psl-column-resolution-Bv_-TDHZ-C9foRNXV.d.mts.map} +1 -1
  120. package/dist/{psl-field-resolution-GN4iup8d-DjlZymdL.mjs → psl-field-resolution-CpxUePg1-COJnJkDs.mjs} +9 -5
  121. package/dist/psl-field-resolution-CpxUePg1-COJnJkDs.mjs.map +1 -0
  122. package/dist/{psl-infer-C9kVS9ma.mjs → psl-infer-Ckg3t4Kr.mjs} +2 -2
  123. package/dist/{psl-infer-C9kVS9ma.mjs.map → psl-infer-Ckg3t4Kr.mjs.map} +1 -1
  124. package/dist/{query-lane-context-DIJU7Owj-CAZQq4AD.d.mts → query-lane-context-BetHj4j--D3S5nucp.d.mts} +5 -5
  125. package/dist/{query-lane-context-DIJU7Owj-CAZQq4AD.d.mts.map → query-lane-context-BetHj4j--D3S5nucp.d.mts.map} +1 -1
  126. package/dist/query-lane-context-DgxWaKr-.d.mts +1 -0
  127. package/dist/relational-core.d.mts +13 -13
  128. package/dist/relational-core.mjs +3 -3
  129. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  130. package/dist/relational-core__aggregate-descriptor-registry.mjs +1 -1
  131. package/dist/relational-core__ast.d.mts +3 -3
  132. package/dist/relational-core__ast.mjs +2 -2
  133. package/dist/relational-core__codec-descriptor-registry.d.mts +2 -2
  134. package/dist/relational-core__collection-methods.d.mts +2 -2
  135. package/dist/relational-core__contract-free.d.mts +2 -2
  136. package/dist/relational-core__contract-free.mjs +1 -1
  137. package/dist/relational-core__contract-free.mjs.map +1 -1
  138. package/dist/relational-core__expression.d.mts +4 -4
  139. package/dist/relational-core__expression.mjs +1 -1
  140. package/dist/relational-core__functions.d.mts +2 -2
  141. package/dist/relational-core__functions.mjs +1 -1
  142. package/dist/relational-core__index-reference.d.mts +2 -2
  143. package/dist/relational-core__middleware.d.mts +2 -2
  144. package/dist/relational-core__plan.d.mts +3 -3
  145. package/dist/relational-core__query-lane-context.d.mts +2 -2
  146. package/dist/relational-core__types.d.mts +2 -2
  147. package/dist/runtime.d.mts +4 -4
  148. package/dist/runtime.mjs +1 -1
  149. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  150. package/dist/{sql-contract-serializer-sMY3prTx-D_K7uFJk.mjs → sql-contract-serializer-sMY3prTx-CIDal1t1.mjs} +2 -2
  151. package/dist/{sql-contract-serializer-sMY3prTx-D_K7uFJk.mjs.map → sql-contract-serializer-sMY3prTx-CIDal1t1.mjs.map} +1 -1
  152. package/dist/{sql-execution-plan-BeuM3CeD-DIzyMDsA.d.mts → sql-execution-plan-4OFBeONp-CLkDqMdz.d.mts} +3 -3
  153. package/dist/sql-execution-plan-4OFBeONp-CLkDqMdz.d.mts.map +1 -0
  154. package/dist/{transaction-state-CEe4TlC1-C8vX6Ror.d.mts → transaction-state-B4FVsvO7-DpvKYHSB.d.mts} +12 -10
  155. package/dist/{transaction-state-CEe4TlC1-C8vX6Ror.d.mts.map → transaction-state-B4FVsvO7-DpvKYHSB.d.mts.map} +1 -1
  156. package/dist/types-BFCrGkhG.d.mts +1 -0
  157. package/dist/{types-C6r7Myrr-3WL0WDKF.d.mts → types-CGr02DOy-CQsUdKCe.d.mts} +6 -6
  158. package/dist/{types-C6r7Myrr-3WL0WDKF.d.mts.map → types-CGr02DOy-CQsUdKCe.d.mts.map} +1 -1
  159. package/dist/{types-CWvmfrfd-DLQYhSUx.d.mts → types-CWvmfrfd-HPIh55bi.d.mts} +2 -2
  160. package/dist/{types-CWvmfrfd-DLQYhSUx.d.mts.map → types-CWvmfrfd-HPIh55bi.d.mts.map} +1 -1
  161. package/dist/{types-DeimCJiI-CVQS7KCu.d.mts → types-DEbNJhyS-CY7Ye2vN.d.mts} +5 -5
  162. package/dist/{types-DeimCJiI-CVQS7KCu.d.mts.map → types-DEbNJhyS-CY7Ye2vN.d.mts.map} +1 -1
  163. package/dist/{types-wn1bXh0b-CJPAJi22.mjs → types-DzQmUrUm-ColHE4Av.mjs} +18 -5
  164. package/dist/types-DzQmUrUm-ColHE4Av.mjs.map +1 -0
  165. package/dist/{validators-CWcdf_jZ.mjs → validators-DbCIebZb.mjs} +2 -2
  166. package/dist/{validators-CWcdf_jZ.mjs.map → validators-DbCIebZb.mjs.map} +1 -1
  167. package/package.json +18 -18
  168. package/dist/collection-methods-B-md3Mu9.d.mts +0 -1
  169. package/dist/config-types-BVAADwjp.mjs +0 -68
  170. package/dist/config-types-BVAADwjp.mjs.map +0 -1
  171. package/dist/config-types-Ce1tAJ0B.d.mts.map +0 -1
  172. package/dist/contract-builder-Dbo5LeXs.mjs.map +0 -1
  173. package/dist/control-Cb6YoQ8j.d.mts.map +0 -1
  174. package/dist/control-kHFMtE8A.mjs.map +0 -1
  175. package/dist/db-DfYeGVcu-B99ycjaC.d.mts.map +0 -1
  176. package/dist/derived-checks-BWg0DOyz-7O0x1Tgn.mjs.map +0 -1
  177. package/dist/dist-BJjqJT_M.mjs.map +0 -1
  178. package/dist/exports-BR5ctYYI-C_-aedbr.mjs.map +0 -1
  179. package/dist/expression-D8c3t2Dx-CCHt1OdT.d.mts.map +0 -1
  180. package/dist/expression-DL7L8You-C9BAeM2d.d.mts.map +0 -1
  181. package/dist/expression-Voyb-zN0.d.mts +0 -2
  182. package/dist/expression-impl-DHdjzqE3-Cd9gP7oC.mjs.map +0 -1
  183. package/dist/foreign-key-materialization-C53nVQuD.d.mts.map +0 -1
  184. package/dist/foreign-key-materialization-CCHAR789.mjs.map +0 -1
  185. package/dist/functions-zPzQYOjW.d.mts +0 -1
  186. package/dist/index-DA1EEz4y.d.mts.map +0 -1
  187. package/dist/index-reference-DuQ-0Da9.d.mts +0 -1
  188. package/dist/interpreter-CVd521dx-wWck8W93.mjs.map +0 -1
  189. package/dist/middleware-DDOdMwm4.d.mts +0 -1
  190. package/dist/plan-BEnXVtn1.d.mts +0 -2
  191. package/dist/psl-field-resolution-GN4iup8d-DjlZymdL.mjs.map +0 -1
  192. package/dist/query-lane-context-Dm5f9VAQ.d.mts +0 -1
  193. package/dist/sql-execution-plan-BeuM3CeD-DIzyMDsA.d.mts.map +0 -1
  194. package/dist/types-ChjF67Fc.d.mts +0 -1
  195. package/dist/types-wn1bXh0b-CJPAJi22.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-Ce1tAJ0B.mjs";
2
- export { type ContractConfig, emptyContract, typescriptContract, typescriptContractFromPath };
1
+ import { a as emptyContract, c as typescriptContractFromPath, i as TypeScriptContractSpecifierOptions, n as ContractConfig, o as refuseOtherTargetOnLoad, r as TypeScriptContractFromPathOptions, s as typescriptContract, t as ConfigTarget } from "./config-types-DVRid5jV.mjs";
2
+ export { type ConfigTarget, type ContractConfig, type TypeScriptContractFromPathOptions, type TypeScriptContractSpecifierOptions, emptyContract, refuseOtherTargetOnLoad, typescriptContract, typescriptContractFromPath };
@@ -1,2 +1,2 @@
1
- import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-BVAADwjp.mjs";
2
- export { emptyContract, typescriptContract, typescriptContractFromPath };
1
+ import { i as typescriptContractFromPath, n as refuseOtherTargetOnLoad, r as typescriptContract, t as emptyContract } from "./config-types-BVrGV95W.mjs";
2
+ export { emptyContract, refuseOtherTargetOnLoad, typescriptContract, typescriptContractFromPath };
@@ -1,4 +1,4 @@
1
1
  import { n as applySqlSpecifierControlPolicy, t as SqlNamespaceFactory } from "./derived-checks-DpPkO6Dt-CQIM17j5.mjs";
2
2
  import { r as SqlExpression, u as sql } from "./sql-expression-1yO8GiBc.mjs";
3
- import { $ as enumType, 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 defineContract, R as TableProperties, S as ForeignKeyNode, T as IndexExpressionInput, U as ValueObjectNode, V as ValueObjectFieldNode, W as autoincrement, X as composedExtensionPackRefs, Y as check, Z as createComposedAuthoringHelpers, _ as EnumMember, a as CheckNode, at as now, b as FieldNode, c as ColumnNode, ct as unbound, d as ContractDefinition, et as extensionModel, f as ContractInput, g as DeferredIndexOptions, h as DeferredIndexExpression, i as BoundEnumType, it as model, j as ModelLike, k as ManyOptions, l as ColumnRef, m as DeferredIndexColumn, n as AuthoredColumnDefault, nt as isValueObjectMember, o as CodecInput, ot as rel, p as ContractModelBuilder, q as buildContractDefinition, r as AuthoredColumnDefaultLiteralValue, rt as member, s as CodecTypeMap, st as storedAsListColumn, t as AttachedEntities, tt as field, u as ComposedAuthoringHelpers, v as EnumTypeHandle, w as IndexConstraint, x as ForeignKeyModelReference, y as ExtractCodecTypesFromPack, z as TargetFieldRef } from "./contract-builder-BfPC4mQK.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, composedExtensionPackRefs, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn, unbound };
3
+ import { $ as buildContractDefinition, A as ManyOptions, B as SharedTableRefusal, C as ForeignKeyNode, D as IndexNode, E as IndexExpressionInput, F as RelationNode, G as UniqueConstraintNode, H as TableProperties, I as ScalarFieldBuilder, J as ValueObjectNode, K as ValueObjectFieldNode, L as ScalarMemberNode, M as ModelLike, N as ModelNode, O as IndexOptionsFunction, P as PrimaryKeyNode, Q as buildBoundContract, R as SharedForeignKeyView, S as ForeignKeyModelReference, T as IndexConstraint, U as TableSharer, V as TableNode, W as TargetFieldRef, X as autoincrement, Y as VariantTableSharer, Z as bindEnumType, _ as DeferredIndexOptions, a as CapabilityContributor, at as defineContract, b as ExtractCodecTypesFromPack, c as CodecTypeMap, ct as field, d as ComposedAuthoringHelpers, dt as mergeSharedTable, et as buildSqlContractFromDefinition, f as ContractDefinition, ft as model, g as DeferredIndexExpression, gt as unbound, h as DeferredIndexColumn, ht as storedAsListColumn, i as BoundEnumType, it as createComposedAuthoringHelpers, j as MergeEnums, k as IndexOptionsInput, l as ColumnNode, lt as isValueObjectMember, m as ContractModelBuilder, mt as rel, n as AuthoredColumnDefault, nt as columnsPhrase, o as CheckNode, ot as enumType, p as ContractInput, pt as now, q as ValueObjectMemberNode, r as AuthoredColumnDefaultLiteralValue, rt as composedExtensionPackRefs, s as CodecInput, st as extensionModel, t as AttachedEntities, tt as check, u as ColumnRef, ut as member, v as EnumMember, w as ForeignKeyTableReference, x as FieldNode, y as EnumTypeHandle, z as SharedTableMerge } from "./contract-builder-fyzIdWqX.mjs";
4
+ export { type AttachedEntities, type AuthoredColumnDefault, type AuthoredColumnDefaultLiteralValue, type BoundEnumType, type CapabilityContributor, 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 SharedForeignKeyView, type SharedTableMerge, type SharedTableRefusal, type SqlExpression, type SqlNamespaceFactory, type TableNode, type TableProperties, type TableSharer, type TargetFieldRef, type UniqueConstraintNode, type ValueObjectFieldNode, type ValueObjectMemberNode, type ValueObjectNode, type VariantTableSharer, applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, columnsPhrase, composedExtensionPackRefs, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, mergeSharedTable, model, now, rel, sql, storedAsListColumn, unbound };
@@ -1,4 +1,4 @@
1
1
  import { l as sql } from "./sql-expression-CKgKznXS.mjs";
2
- import { i as isValueObjectMember, n as buildSqlContractFromDefinition, o as storedAsListColumn, t as applySqlSpecifierControlPolicy } from "./derived-checks-BWg0DOyz-7O0x1Tgn.mjs";
3
- import { a as check, c as defineContract, d as field, f as member, g as unbound, h as rel, i as buildContractDefinition, l as enumType, m as now, n as bindEnumType, o as composedExtensionPackRefs, p as model, r as buildBoundContract, s as createComposedAuthoringHelpers, t as autoincrement, u as extensionModel } from "./contract-builder-Dbo5LeXs.mjs";
4
- export { applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, composedExtensionPackRefs, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn, unbound };
2
+ import { a as isValueObjectMember, c as storedAsListColumn, n as buildSqlContractFromDefinition, o as mergeSharedTable, r as columnsPhrase, t as applySqlSpecifierControlPolicy } from "./derived-checks-BoHNzt-a-CK4ceMbs.mjs";
3
+ import { a as check, c as defineContract, d as field, f as member, g as unbound, h as rel, i as buildContractDefinition, l as enumType, m as now, n as bindEnumType, o as composedExtensionPackRefs, p as model, r as buildBoundContract, s as createComposedAuthoringHelpers, t as autoincrement, u as extensionModel } from "./contract-builder-q2-4IVcW.mjs";
4
+ export { applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, columnsPhrase, composedExtensionPackRefs, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, mergeSharedTable, model, now, rel, sql, storedAsListColumn, unbound };
@@ -23,11 +23,11 @@ import { A as unquotedSqlBaseName, C as sqlColumnLength, D as sqlStorageType, E
23
23
  import { t as escapePslString } from "./data-type-support-CXpA0ex-.mjs";
24
24
  import { i as valueSetEntityKind, n as tableEntityKind, r as valueObjectEntityKind, t as composeSqlEntityKinds } from "./entity-kinds-oN1yn4vw.mjs";
25
25
  import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-DVgCG7DR.mjs";
26
- 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-C53nVQuD.mjs";
26
+ import { a as declaredBackingObjectName, c as derivedBackingIndexIsRedundant, d as indexNodeOf, f as leadingBackingObjectName, i as MaterializedTableConstraints, l as derivedBackingIndexNode, n as ForeignKeyAuthoringInput, o as declaredIndexesServeForeignKey, p as materializeForeignKeysAndIndexes, r as IndexCandidate, s as defaultForeignKeyIndex, t as FOREIGN_KEY_INDEX_UNRESOLVED, u as identicalIndexes } from "./foreign-key-materialization-Dntzsl64.mjs";
27
27
  import { n as GeneratedIdColumnAlias, r as generatedIdColumnAliases, t as GENERATED_ID_COLUMN_ALIAS_NAMESPACES } from "./generated-id-column-aliases-DCuTuZrU.mjs";
28
28
  import { n as validateIndexTypes, t as CodecTraitsLookup } from "./index-type-validation-BFJlwjWi.mjs";
29
29
  import { t as REFERENTIAL_ACTION_SQL } from "./referential-action-sql-B2vKoUK6.mjs";
30
30
  import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-D1rXCcCk.mjs";
31
31
  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-Dt-19ywK.mjs";
32
32
  import { n as deriveValueSetFromEntity, r as providesValueSetDerivation, t as SqlValueSetDerivingEntityTypeOutput } from "./value-set-derivation-hook-3E437jPU.mjs";
33
- export { type AggregateOperationTypes, type AggregateResultType, type AggregateTypesBase, type AggregateTypesFromDescriptors, type AggregateTypesOf, type ApplyQueryOperationTypes, type AuthoredCheckInput, type AuthoredIndexInput, type AuthoredIndexMethod, type AuthoredStorageTypeInstance, CODEC_INSTANCE_KIND, CheckConstraint, type CheckConstraintInput, CheckConstraintSchema, type CheckExpressionCandidate, type CheckExpressionInput, type CheckExpressionRenderer, CodecTraitsLookup, type CodecTypesOf, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, type ColumnTypesFromStorage, ContractEnumSchema, type ContractWithTypeMaps, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, 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, ForeignKey, type ForeignKeyAuthoringInput, type ForeignKeyIndex, type ForeignKeyInput, type ForeignKeyOptions, ForeignKeyReference, type ForeignKeyReferenceInput, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, GENERATED_ID_COLUMN_ALIAS_NAMESPACES, GeneratedIdColumnAlias, type HasExecutionCreateDefault, Index, type IndexCandidate, type IndexInput, IndexSchema, type IndexTypeBuilder, type IndexTypeEntry, type IndexTypeMap, type IndexTypeRegistration, type IndexTypeRegistry, type IsOptionalCreateColumn, JSON_TYPES, type JsonType, type LoweredPackEntity, type MaterializedTableConstraints, type NamespacedFieldTypeMap, type NamespacedStorageColumnTypeMap, 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 ResolvedColumnValueObject, type ResolvedEntityHandleRef, type ResolvedPackEntityHandle, type ResolvedPslModelRefs, type ResolvedSqlType, type ResolvedStorageTable, type ResolvedValueObject, type ResolvedValueObjectField, type ResolvedValueObjectFieldType, type ResolvedWrittenSqlType, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, SQL_RAW_DATA_TYPE_ID, type Scalars, type SerializedCheckConstraint, type SerializedIndex, type Shape, type ShapeSpec, type SqlAuthoringContributions, type SqlBuiltinKind, type SqlColumnTypeFields, type SqlControlDriverInstance, type SqlDataType, type SqlDataTypeCollision, type SqlDataTypeFacts, type SqlDataTypeSpec, type SqlEntityHandleLoweringContribution, SqlExpression, SqlExpressionRegistration, type SqlModelFieldStorage, type SqlModelStorage, type SqlNameUniqueAcrossNamespacesOutput, type SqlNamespace, SqlNamespaceBase, type SqlNamespaceEntries, type SqlNamespaceFactory, type SqlNamespaceInput, SqlNode, type SqlPslEntityPlacementOutput, type SqlQueryOperationTypes, type SqlRawTypeParams, type SqlSchemaQualifiedView, type SqlSingleNamespaceAccessors, type SqlSingleNamespaceView, SqlStorage, type SqlStorageInput, type SqlStorageTypeEntry, type SqlToOneRelationStorage, 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, StorageValueObject, type StorageValueObjectInput, StorageValueSet, type StorageValueSetInput, StorageValueSetSchema, type TypeMaps, type TypeMapsPhantomKey, UniqueConstraint, type UniqueConstraintInput, ValidateSqlContractFullyOptions, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, checkConstraintInputFromSerialized, checkRawTypeText, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createSqlContractSchema, createSqlStorageSchema, declaredBackingObjectName, declaredIndexesServeForeignKey, declaredJsonType, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, discriminatorValueSet, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, generatedIdColumnAliases, index, indexInputFromSerialized, indexTypeRegistryOf, isAuthoredIndexInput, isJsonType, isMaterializedSqlNamespace, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, nameIsCatalogText, nonEmptyTypeParams, pk, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, reachesAny, readSqlExpression, referenceKey, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, requiresNameUniqueAcrossNamespaces, reservedSqlDefaultText, resolveColumnValueObject, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolveValueObject, resolveWrittenSqlTypes, sameSqlColumnType, sql, sqlBaseName, sqlCodecColumnLength, sqlColumnLength, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlRawDataType, sqlStorageType, sqlStorageTypeId, sqlStorageTypeOfCodec, sqlTextFromStored, sqlTextsReadBack, storedSqlText, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectEntityKind, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
33
+ export { type AggregateOperationTypes, type AggregateResultType, type AggregateTypesBase, type AggregateTypesFromDescriptors, type AggregateTypesOf, type ApplyQueryOperationTypes, type AuthoredCheckInput, type AuthoredIndexInput, type AuthoredIndexMethod, type AuthoredStorageTypeInstance, CODEC_INSTANCE_KIND, CheckConstraint, type CheckConstraintInput, CheckConstraintSchema, type CheckExpressionCandidate, type CheckExpressionInput, type CheckExpressionRenderer, CodecTraitsLookup, type CodecTypesOf, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, type ColumnTypesFromStorage, ContractEnumSchema, type ContractWithTypeMaps, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, 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, ForeignKey, type ForeignKeyAuthoringInput, type ForeignKeyIndex, type ForeignKeyInput, type ForeignKeyOptions, ForeignKeyReference, type ForeignKeyReferenceInput, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, GENERATED_ID_COLUMN_ALIAS_NAMESPACES, GeneratedIdColumnAlias, type HasExecutionCreateDefault, Index, type IndexCandidate, type IndexInput, IndexSchema, type IndexTypeBuilder, type IndexTypeEntry, type IndexTypeMap, type IndexTypeRegistration, type IndexTypeRegistry, type IsOptionalCreateColumn, JSON_TYPES, type JsonType, type LoweredPackEntity, type MaterializedTableConstraints, type NamespacedFieldTypeMap, type NamespacedStorageColumnTypeMap, 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 ResolvedColumnValueObject, type ResolvedEntityHandleRef, type ResolvedPackEntityHandle, type ResolvedPslModelRefs, type ResolvedSqlType, type ResolvedStorageTable, type ResolvedValueObject, type ResolvedValueObjectField, type ResolvedValueObjectFieldType, type ResolvedWrittenSqlType, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, SQL_RAW_DATA_TYPE_ID, type Scalars, type SerializedCheckConstraint, type SerializedIndex, type Shape, type ShapeSpec, type SqlAuthoringContributions, type SqlBuiltinKind, type SqlColumnTypeFields, type SqlControlDriverInstance, type SqlDataType, type SqlDataTypeCollision, type SqlDataTypeFacts, type SqlDataTypeSpec, type SqlEntityHandleLoweringContribution, SqlExpression, SqlExpressionRegistration, type SqlModelFieldStorage, type SqlModelStorage, type SqlNameUniqueAcrossNamespacesOutput, type SqlNamespace, SqlNamespaceBase, type SqlNamespaceEntries, type SqlNamespaceFactory, type SqlNamespaceInput, SqlNode, type SqlPslEntityPlacementOutput, type SqlQueryOperationTypes, type SqlRawTypeParams, type SqlSchemaQualifiedView, type SqlSingleNamespaceAccessors, type SqlSingleNamespaceView, SqlStorage, type SqlStorageInput, type SqlStorageTypeEntry, type SqlToOneRelationStorage, 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, StorageValueObject, type StorageValueObjectInput, StorageValueSet, type StorageValueSetInput, StorageValueSetSchema, type TypeMaps, type TypeMapsPhantomKey, UniqueConstraint, type UniqueConstraintInput, ValidateSqlContractFullyOptions, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, checkConstraintInputFromSerialized, checkRawTypeText, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createSqlContractSchema, createSqlStorageSchema, declaredBackingObjectName, declaredIndexesServeForeignKey, declaredJsonType, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, derivedBackingIndexNode, discriminatorValueSet, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, generatedIdColumnAliases, identicalIndexes, index, indexInputFromSerialized, indexNodeOf, indexTypeRegistryOf, isAuthoredIndexInput, isJsonType, isMaterializedSqlNamespace, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, nameIsCatalogText, nonEmptyTypeParams, pk, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, reachesAny, readSqlExpression, referenceKey, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, requiresNameUniqueAcrossNamespaces, reservedSqlDefaultText, resolveColumnValueObject, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolveValueObject, resolveWrittenSqlTypes, sameSqlColumnType, sql, sqlBaseName, sqlCodecColumnLength, sqlColumnLength, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlRawDataType, sqlStorageType, sqlStorageTypeId, sqlStorageTypeOfCodec, sqlTextFromStored, sqlTextsReadBack, storedSqlText, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectEntityKind, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
package/dist/contract.mjs CHANGED
@@ -15,14 +15,14 @@ import { a as PrimaryKey, c as UniqueConstraint, i as Index, n as ForeignKey, o
15
15
  import { n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueObject } from "./serialized-index-BefvjuZ0-Bbsja7If.mjs";
16
16
  import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, f as composeSqlEntityKinds, h as valueSetEntityKind, i as ColumnDefaultSchema, l as ReferentialActionSchema, m as valueObjectEntityKind, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, p as tableEntityKind, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-CgEwK0hH-D1NKoKE5.mjs";
17
17
  import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-B2hKDIzy.mjs";
18
- import { i as leadingBackingObjectName, t as derivedBackingIndexIsRedundant } from "./index-equivalence-DswCiq5l-9GNm8oG9.mjs";
19
- import { a as materializeForeignKeysAndIndexes, i as defaultForeignKeyIndex, n as declaredBackingObjectName, r as declaredIndexesServeForeignKey, t as FOREIGN_KEY_INDEX_UNRESOLVED } from "./foreign-key-materialization-CCHAR789.mjs";
18
+ import { a as leadingBackingObjectName, i as indexNodeOf, n as derivedBackingIndexNode, r as identicalIndexes, t as derivedBackingIndexIsRedundant } from "./index-equivalence-eC2jGpOp-SkExsiy1.mjs";
19
+ import { a as materializeForeignKeysAndIndexes, i as defaultForeignKeyIndex, n as declaredBackingObjectName, r as declaredIndexesServeForeignKey, t as FOREIGN_KEY_INDEX_UNRESOLVED } from "./foreign-key-materialization-pYirysH0.mjs";
20
20
  import { n as generatedIdColumnAliases, t as GENERATED_ID_COLUMN_ALIAS_NAMESPACES } from "./generated-id-column-aliases-DPUii1fN.mjs";
21
21
  import { t as validateIndexTypes } from "./index-type-validation-DJEMmmw0.mjs";
22
22
  import { t as REFERENTIAL_ACTION_SQL } from "./referential-action-sql-BLzCtTi8.mjs";
23
23
  import { t as resolveStorageTable } from "./resolve-storage-table-BHLQsOza.mjs";
24
24
  import { a as isSqlExpression, c as requireSqlExpression, d as sqlExpressionDataType, f as sqlExpressionRegistration, h as storedSqlText, i as assertNothingCastsFromSqlExpression, l as sql, m as sqlTextsReadBack, n as SQL_EXPRESSION_TAG, o as printSqlExpressionLiteral, p as sqlTextFromStored, r as SqlExpression, s as readSqlExpression, t as SQL_EXPRESSION_DATA_TYPE_ID, u as sqlExpressionAuthoringEntry } from "./sql-expression-CKgKznXS.mjs";
25
25
  import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as nonEmptyTypeParams, 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-CISwoRED.mjs";
26
- 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-CWcdf_jZ.mjs";
26
+ 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-DbCIebZb.mjs";
27
27
  import { n as providesValueSetDerivation, t as deriveValueSetFromEntity } from "./value-set-derivation-hook-HVaxhALD.mjs";
28
- 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, GENERATED_ID_COLUMN_ALIAS_NAMESPACES, Index, IndexSchema, JSON_TYPES, PrimaryKey, REFERENTIAL_ACTION_SQL, ReferentialActionSchema, RelationKeys, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, SQL_RAW_DATA_TYPE_ID, SqlExpression, SqlNamespaceBase, SqlNode, SqlStorage, StorageColumn, StorageTable, StorageTableSchema, StorageValueObject, StorageValueSet, StorageValueSetSchema, UniqueConstraint, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, checkConstraintInputFromSerialized, checkRawTypeText, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createSqlContractSchema, createSqlStorageSchema, declaredBackingObjectName, declaredIndexesServeForeignKey, declaredJsonType, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, discriminatorValueSet, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, generatedIdColumnAliases, index, indexInputFromSerialized, indexTypeRegistryOf, isAuthoredIndexInput, isJsonType, isMaterializedSqlNamespace, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, nameIsCatalogText, nonEmptyTypeParams, pk, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, reachesAny, readSqlExpression, referenceKey, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, requiresNameUniqueAcrossNamespaces, reservedSqlDefaultText, resolveColumnValueObject, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolveValueObject, resolveWrittenSqlTypes, sameSqlColumnType, sql, sqlBaseName, sqlCodecColumnLength, sqlColumnLength, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlRawDataType, sqlStorageType, sqlStorageTypeId, sqlStorageTypeOfCodec, sqlTextFromStored, sqlTextsReadBack, storedSqlText, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectEntityKind, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
28
+ 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, GENERATED_ID_COLUMN_ALIAS_NAMESPACES, Index, IndexSchema, JSON_TYPES, PrimaryKey, REFERENTIAL_ACTION_SQL, ReferentialActionSchema, RelationKeys, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, SQL_RAW_DATA_TYPE_ID, SqlExpression, SqlNamespaceBase, SqlNode, SqlStorage, StorageColumn, StorageTable, StorageTableSchema, StorageValueObject, StorageValueSet, StorageValueSetSchema, UniqueConstraint, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, checkConstraintInputFromSerialized, checkRawTypeText, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createSqlContractSchema, createSqlStorageSchema, declaredBackingObjectName, declaredIndexesServeForeignKey, declaredJsonType, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, derivedBackingIndexNode, discriminatorValueSet, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, generatedIdColumnAliases, identicalIndexes, index, indexInputFromSerialized, indexNodeOf, indexTypeRegistryOf, isAuthoredIndexInput, isJsonType, isMaterializedSqlNamespace, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, nameIsCatalogText, nonEmptyTypeParams, pk, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, reachesAny, readSqlExpression, referenceKey, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, requiresNameUniqueAcrossNamespaces, reservedSqlDefaultText, resolveColumnValueObject, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolveValueObject, resolveWrittenSqlTypes, sameSqlColumnType, sql, sqlBaseName, sqlCodecColumnLength, sqlColumnLength, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlRawDataType, sqlStorageType, sqlStorageTypeId, sqlStorageTypeOfCodec, sqlTextFromStored, sqlTextsReadBack, storedSqlText, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectEntityKind, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
@@ -1,2 +1,2 @@
1
- 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-C53nVQuD.mjs";
2
- export { FOREIGN_KEY_INDEX_UNRESOLVED, type ForeignKeyAuthoringInput, type IndexCandidate, type MaterializedTableConstraints, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, derivedBackingIndexIsRedundant, leadingBackingObjectName, materializeForeignKeysAndIndexes };
1
+ import { a as declaredBackingObjectName, c as derivedBackingIndexIsRedundant, d as indexNodeOf, f as leadingBackingObjectName, i as MaterializedTableConstraints, l as derivedBackingIndexNode, n as ForeignKeyAuthoringInput, o as declaredIndexesServeForeignKey, p as materializeForeignKeysAndIndexes, r as IndexCandidate, s as defaultForeignKeyIndex, t as FOREIGN_KEY_INDEX_UNRESOLVED, u as identicalIndexes } from "./foreign-key-materialization-Dntzsl64.mjs";
2
+ export { FOREIGN_KEY_INDEX_UNRESOLVED, type ForeignKeyAuthoringInput, type IndexCandidate, type MaterializedTableConstraints, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, derivedBackingIndexIsRedundant, derivedBackingIndexNode, identicalIndexes, indexNodeOf, leadingBackingObjectName, materializeForeignKeysAndIndexes };
@@ -1,3 +1,3 @@
1
- import { i as leadingBackingObjectName, t as derivedBackingIndexIsRedundant } from "./index-equivalence-DswCiq5l-9GNm8oG9.mjs";
2
- import { a as materializeForeignKeysAndIndexes, i as defaultForeignKeyIndex, n as declaredBackingObjectName, r as declaredIndexesServeForeignKey, t as FOREIGN_KEY_INDEX_UNRESOLVED } from "./foreign-key-materialization-CCHAR789.mjs";
3
- export { FOREIGN_KEY_INDEX_UNRESOLVED, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, derivedBackingIndexIsRedundant, leadingBackingObjectName, materializeForeignKeysAndIndexes };
1
+ import { a as leadingBackingObjectName, i as indexNodeOf, n as derivedBackingIndexNode, r as identicalIndexes, t as derivedBackingIndexIsRedundant } from "./index-equivalence-eC2jGpOp-SkExsiy1.mjs";
2
+ import { a as materializeForeignKeysAndIndexes, i as defaultForeignKeyIndex, n as declaredBackingObjectName, r as declaredIndexesServeForeignKey, t as FOREIGN_KEY_INDEX_UNRESOLVED } from "./foreign-key-materialization-pYirysH0.mjs";
3
+ export { FOREIGN_KEY_INDEX_UNRESOLVED, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, derivedBackingIndexIsRedundant, derivedBackingIndexNode, identicalIndexes, indexNodeOf, leadingBackingObjectName, materializeForeignKeysAndIndexes };
@@ -1,3 +1,3 @@
1
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-CgEwK0hH-D1NKoKE5.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-CWcdf_jZ.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-DbCIebZb.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 };
@@ -3,17 +3,17 @@ import { l as SqlStorage } from "./sql-storage-B_AM6tU1-BOPQxXo7.mjs";
3
3
  import { j as SqlControlDriverInstance } from "./types-DNTLudNR-DiVulPhL.mjs";
4
4
  import "./types-CXRxo_TK.mjs";
5
5
  import { r as SqlOperationDescriptors } from "./index-BWWwt5hB.mjs";
6
- import { h as AnyQueryAst } from "./types-DeimCJiI-CVQS7KCu.mjs";
6
+ import { h as AnyQueryAst } from "./types-DEbNJhyS-CY7Ye2vN.mjs";
7
7
  import { o as SqlExecuteRequest } from "./driver-types-DFz7U-LT-DaVdVhU9.mjs";
8
- import { a as DdlNode } from "./ddl-types-D22OYeFy-Be5-W-5z.mjs";
9
- import { p as LowererContext } from "./ast-D0yJ7Yf0.mjs";
10
- import { a as EnumMemberListDefault, i as EnumMemberDefault, n as DefaultFunctionCall, o as ParsedNullLiteral } from "./attribute-specs-DL1btx0j.mjs";
8
+ import { a as DdlNode } from "./ddl-types-D93zTpm9-DhSkpX0K.mjs";
9
+ import { p as LowererContext } from "./ast-DvD53wSW.mjs";
10
+ import { a as EnumMemberListDefault, i as EnumMemberDefault, n as DefaultFunctionCall, o as ParsedNullLiteral } from "./attribute-specs-DgYb4op9.mjs";
11
11
  import { S as SqlSchemaIRNode, b as SqlSchemaIR, p as SqlDefaultValue } from "./types-fmtEmvj3-B0fQaVes.mjs";
12
12
  import "./types-B-dwfOwQ.mjs";
13
13
  import "./validators-Dt-19ywK.mjs";
14
- import { r as SqlControlAdapter } from "./control-adapter-0z3ce44U-CLj4kqLI.mjs";
15
- import { t as sqlFamilyEnumSpec } from "./authoring-entity-types-CgKIgWq5-BqNs-56x.mjs";
16
- import { C as SqlPlannerConflict, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, n as CreateSqlMigrationPlanOptions, p as SqlMigrationPlanner, t as CodecControlHooks, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-CWvmfrfd-DLQYhSUx.mjs";
14
+ import { r as SqlControlAdapter } from "./control-adapter-0z3ce44U-BQ26ercw.mjs";
15
+ import { t as sqlFamilyEnumSpec } from "./authoring-entity-types-CgKIgWq5-C3GyB8Hj.mjs";
16
+ import { C as SqlPlannerConflict, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, n as CreateSqlMigrationPlanOptions, p as SqlMigrationPlanner, t as CodecControlHooks, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-CWvmfrfd-HPIh55bi.mjs";
17
17
  import { t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-BXkhxcPs.mjs";
18
18
  import { StructuredError } from "@prisma/orm-framework/utils/structured-error";
19
19
  import { AuthoringTypeNamespace, DataTypeSupport } from "@prisma/orm-framework/components/authoring";
@@ -22,7 +22,7 @@ import { Codec, CodecLookupWithDescriptors, CodecRef, DataType, DataTypeLookup,
22
22
  import { GeneratorFunctionRegistry, TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
23
23
  import { PslDocumentAst } from "@prisma/orm-framework/components/psl-ast";
24
24
  import { NotOk, Ok, Result } from "@prisma/orm-framework/utils/result";
25
- import { AppliedMigrationStatement, AssembledAuthoringContributions, ContractSerializer, ControlFamilyDescriptor, ControlFamilyInstance, ControlMutationDefaultEntry, ControlStack, DatabasePolicies, DiffSubjectGranularity, EnumValueCoordinate, EnumValueCoordinateJson, FieldCoordinate, ImportRequirement, KeepDataEdit, MarkerDestination, MigratableTargetDescriptor, MigrationDataLossKind, MigrationOperationClass, MigrationOperationClass as MigrationOperationClass$1, MigrationOperationPolicy, MigrationOperationPolicy as MigrationOperationPolicy$1, MigrationPlan as MigrationPlan$1, MigrationPlanOperation, MigrationPlanOperation as MigrationPlanOperation$1, MigrationPlanSubjects, MigrationPlanner, MigrationPlannerConflict, MigrationPlannerConflict as MigrationPlannerConflict$1, MigrationPlannerResult, MigrationRunnerFailure, MigrationRunnerFailureMeta, MigrationSubject, ModelCoordinate, OpFactoryCall, OperationPreview, OperationPreviewCapable, PslContractBuildCapable, PslContractInferCapable, ResolvedEnumValueRenameStatement, ResolvedFieldRenameStatement, ResolvedMigrationStatement, ResolvedModelRenameStatement, ResolvedRenameStatement, ResolvedValueObjectFieldBackfillStatement, ResolvedValueObjectFieldRenameStatement, ResolvedVariantConvertStatement, RowsHoldingValue, RowsWithoutValue, SchemaDiffIssue, SchemaOwnership, SchemaVerifier, SchemaViewCapable, TargetMigrationsCapability, ValueObjectFieldCoordinate, VerifyDatabaseResult, VerifyDatabaseSchemaResult, assembleAuthoringContributions as assembleAuthoringContributions$1 } from "@prisma/orm-framework/components/control";
25
+ import { AppliedMigrationStatement, AssembledAuthoringContributions, ContractSerializer, ControlFamilyDescriptor, ControlFamilyInstance, ControlMutationDefaultEntry, ControlStack, DatabasePolicies, DiffSubjectGranularity, EnumValueCoordinate, EnumValueCoordinateJson, FieldCoordinate, ImportRequirement, KeepDataEdit, MarkerDestination, MigratableTargetDescriptor, MigrationAccessChange, MigrationDataLossKind, MigrationOperationClass, MigrationOperationClass as MigrationOperationClass$1, MigrationOperationPolicy, MigrationOperationPolicy as MigrationOperationPolicy$1, MigrationPlan as MigrationPlan$1, MigrationPlanOperation, MigrationPlanOperation as MigrationPlanOperation$1, MigrationPlanSubjects, MigrationPlanner, MigrationPlannerConflict, MigrationPlannerConflict as MigrationPlannerConflict$1, MigrationPlannerResult, MigrationRunnerFailure, MigrationRunnerFailureMeta, MigrationSubject, ModelCoordinate, OpFactoryCall, OperationPreview, OperationPreviewCapable, PslContractBuildCapable, PslContractInferCapable, ResolvedEnumValueRenameStatement, ResolvedFieldRenameStatement, ResolvedMigrationStatement, ResolvedModelRenameStatement, ResolvedRenameStatement, ResolvedValueObjectFieldBackfillStatement, ResolvedValueObjectFieldRenameStatement, ResolvedVariantConvertStatement, RowsHoldingValue, RowsWithoutValue, SchemaDiffIssue, SchemaOwnership, SchemaVerifier, SchemaViewCapable, TargetMigrationsCapability, ValueObjectFieldCoordinate, VerifyDatabaseResult, VerifyDatabaseSchemaResult, assembleAuthoringContributions as assembleAuthoringContributions$1 } from "@prisma/orm-framework/components/control";
26
26
  import { EmissionSpi, TypesImportSpec } from "@prisma/orm-framework/components/emission";
27
27
  //#region ../../../2-sql-family/9-family/dist/control.d.mts
28
28
  //#region src/core/control-instance.d.ts
@@ -441,6 +441,8 @@ interface SqlControlTargetDescriptor<TTargetId extends string, TTargetDetails, T
441
441
  * family entity kind.
442
442
  */
443
443
  readonly classifyEntityKind: (nodeKind: string) => string | undefined;
444
+ /** The operations of one recorded migration that change who can read or write rows; the family instance's `accessChangesOf` delegates here. */
445
+ readonly accessChangesOf: (operations: readonly MigrationPlanOperation[]) => readonly MigrationAccessChange[];
444
446
  createPlanner(adapter: SqlControlAdapter<TTargetId>): SqlMigrationPlanner<TTargetDetails>;
445
447
  createRunner(family: SqlControlFamilyInstance): SqlMigrationRunner<TTargetDetails>;
446
448
  }
@@ -649,6 +651,8 @@ declare function checkDatabasePoliciesHeld(family: SqlControlFamilyInstance, dri
649
651
  * from, or the schema a migration's earlier renames leave behind.
650
652
  */
651
653
  interface SchemaTables {
654
+ /** Whether the database takes two table or column names for one, as `tablesNamed` and `columnsNamed` do. */
655
+ sameName(left: string, right: string): boolean;
652
656
  hasTable(namespaceId: string, table: string): boolean;
653
657
  hasColumn(namespaceId: string, table: string, column: string): boolean;
654
658
  /**
@@ -688,13 +692,6 @@ interface StoredValueRewrite {
688
692
  readonly to: StoredEnumValue | undefined;
689
693
  /** The rename statement the rewrite carries out, if any. */
690
694
  readonly statement: ResolvedEnumValueRenameStatement | undefined;
691
- /**
692
- * For a removal the plan asks about, the replacements that would keep its data instead, in the
693
- * order they run; none when keeping it would merge it with another member's data.
694
- */
695
- readonly keepData: readonly StoredValueReplacement[] | undefined;
696
- /** Whether the value moves in a cycle with other values of the enum, so keeping its data swaps values. */
697
- readonly swapsValues: boolean;
698
695
  }
699
696
  /** One replacement of a stored value by another. */
700
697
  interface StoredValueReplacement {
@@ -712,11 +709,11 @@ type CodecSource = Pick<CodecLookupWithDescriptors, 'descriptorFor'>;
712
709
  /**
713
710
  * The rewrites of stored enum values a plan makes. Enums are compared by the stored value of each
714
711
  * member (see `valueChanges`). A changed value is rewritten in every column, in the working schema,
715
- * whose field the destination enum types: a rename statement replaces it, and any other change
716
- * removes it, which the plan asks about, with the replacements that would keep its data. Changes
717
- * that shift values along are ordered so none overwrites a value another still has to read; rename
718
- * statements that move values in a cycle are refused, and other changes in a cycle keep their data
719
- * through a temporary value. With no origin contract, nothing is known to have changed.
712
+ * whose field the destination enum types: a rename statement, or a member that keeps its name,
713
+ * replaces it, and a removed member's value is removed, which the plan asks about. Changes that
714
+ * shift values along are ordered so none overwrites a value another still has to read. Changes that
715
+ * move values in a cycle, or into a value another member of the origin enum keeps, are refused.
716
+ * With no origin contract, nothing is known to have changed.
720
717
  */
721
718
  declare function planEnumValueRewrites(input: {
722
719
  readonly statements: readonly ResolvedMigrationStatement[];
@@ -750,7 +747,7 @@ interface ColumnRenameRequest {
750
747
  readonly from: string;
751
748
  readonly to: string;
752
749
  }
753
- /** A column rename on a table in a known namespace. */
750
+ /** A column rename against the working schema, computed from a `ColumnChange` or a statement. */
754
751
  interface ColumnRename {
755
752
  readonly namespaceId: string;
756
753
  readonly table: string;
@@ -778,7 +775,7 @@ interface TableRenameRequest {
778
775
  readonly from: string;
779
776
  readonly to: string;
780
777
  }
781
- /** A table rename in a known namespace. */
778
+ /** A table rename against the working schema, computed from a `TableChange` or a statement. */
782
779
  interface TableRename {
783
780
  readonly namespaceId: string;
784
781
  readonly from: string;
@@ -915,6 +912,16 @@ declare function keyPathOf(path: JsonPath): JsonKeyPath | undefined;
915
912
  /** The steps as a JSONPath: a member name in shorthand when it is an identifier, else in brackets. */
916
913
  declare function jsonPathText(steps: readonly JsonPathStep[]): string;
917
914
  //#endregion
915
+ //#region src/core/migrations/model-storage.d.ts
916
+ /** Where a model's rows live: a table in a storage namespace. */
917
+ interface ModelTable {
918
+ readonly namespaceId: string;
919
+ readonly table: string;
920
+ }
921
+ /** Whether a database takes two table or column names for one. */
922
+ type SameName = (left: string, right: string) => boolean;
923
+ declare const exactName: SameName;
924
+ //#endregion
918
925
  //#region src/core/migrations/operation-storage-name.d.ts
919
926
  /**
920
927
  * The name the database knows an operation's object by, read from the operation's target
@@ -923,12 +930,114 @@ declare function jsonPathText(steps: readonly JsonPathStep[]): string;
923
930
  */
924
931
  declare function storageNameOfOperation(operation: MigrationPlanOperation): string;
925
932
  //#endregion
926
- //#region src/core/migrations/statement-planning.d.ts
927
- /** Where a model's rows live: a table in a storage namespace. */
928
- interface ModelTable {
929
- readonly namespaceId: string;
930
- readonly table: string;
933
+ //#region src/core/migrations/storage-renames.d.ts
934
+ /**
935
+ * An origin model planned as a destination model: by a statement, or, when `statement` is
936
+ * `undefined`, because both contracts have a model with its namespace and name. It includes models
937
+ * whose table does not change, which no `TableChange` holds.
938
+ */
939
+ interface ModelRename {
940
+ readonly from: ModelCoordinate;
941
+ readonly to: ModelCoordinate;
942
+ readonly statement: ResolvedModelRenameStatement | undefined;
943
+ }
944
+ /**
945
+ * An origin field planned as a destination field: by a statement, or, when `statement` is
946
+ * `undefined`, because the two models it belongs to are planned as one and both have a field of
947
+ * its name. It includes fields whose column does not change, which no `ColumnChange` holds.
948
+ */
949
+ interface FieldRename {
950
+ readonly from: FieldCoordinate;
951
+ readonly to: FieldCoordinate;
952
+ readonly statement: ResolvedFieldRenameStatement | undefined;
931
953
  }
954
+ /** A table that moves from the origin contract to the destination contract, with the model renames that move it; planned against the working schema as a `TableRename`. */
955
+ interface TableChange {
956
+ readonly origin: ModelTable;
957
+ readonly destination: ModelTable;
958
+ readonly renames: readonly ModelRename[];
959
+ }
960
+ /** A column that moves from the origin contract to the destination contract, with the field renames that move it; planned against the working schema as a `ColumnRename`. */
961
+ interface ColumnChange {
962
+ readonly origin: ModelTable;
963
+ readonly destination: ModelTable;
964
+ readonly from: string;
965
+ readonly to: string;
966
+ readonly renames: readonly FieldRename[];
967
+ }
968
+ /**
969
+ * Why a table or column cannot be renamed whole: the objects stored in it that move elsewhere, or
970
+ * the objects stored in the name it would move to that come from elsewhere.
971
+ */
972
+ interface SharedStorage<TObject> {
973
+ readonly kind: 'split' | 'merged';
974
+ readonly objects: readonly TObject[];
975
+ }
976
+ /**
977
+ * The renames a plan makes, from its statements and from the names both contracts keep, and the
978
+ * tables and columns they move.
979
+ */
980
+ declare class StorageRenames {
981
+ #private;
982
+ readonly models: readonly ModelRename[];
983
+ readonly fields: readonly FieldRename[];
984
+ readonly tableChanges: readonly TableChange[];
985
+ readonly columnChanges: readonly ColumnChange[];
986
+ /** Whether the target takes two table or column names for one. */
987
+ readonly sameName: SameName;
988
+ constructor(statements: readonly ResolvedRenameStatement[], fromContract: Contract<SqlStorage>, contract: Contract<SqlStorage>, sameName: SameName);
989
+ /** The namespace an origin namespace has after the namespace rename statements. */
990
+ namespaceAfterRenames(namespaceId: string): string;
991
+ /** Whether the origin table is the destination table once the namespace renames are made. */
992
+ inPlace(origin: ModelTable, destination: ModelTable): boolean;
993
+ /** The table change that moves the table of `rename`'s origin model, if its table changes. */
994
+ tableChangeOf(rename: ModelRename): TableChange | undefined;
995
+ /** The column change that moves the column of `rename`'s origin field, if its column changes. */
996
+ columnChangeOf(rename: FieldRename): ColumnChange | undefined;
997
+ /** Whether the control policy is `managed` for the origin table and the destination table. */
998
+ managedOnBothSides(change: TableChange | ColumnChange): boolean;
999
+ /** The destination table of an origin model, through the renames: `undefined` when the destination removes the model. */
1000
+ destinationTableOf(model: ModelCoordinate): ModelTable | undefined;
1001
+ /** The origin table of a destination model, through the renames: `undefined` for a new model. */
1002
+ originTableOf(model: ModelCoordinate): ModelTable | undefined;
1003
+ /**
1004
+ * Why the rows of table `origin` cannot move whole to table `destination`: an origin model stored
1005
+ * in it that the destination keeps in another table, or a destination model stored in the new
1006
+ * table, as the target compares names, whose origin model is stored elsewhere. Models pair through
1007
+ * the renames. `undefined` when the whole table moves, and nothing else moves there. A model the
1008
+ * destination removes, or a new model, blocks nothing.
1009
+ */
1010
+ sharedTable(change: Pick<TableChange, 'origin' | 'destination'>): SharedStorage<ModelCoordinate> | undefined;
1011
+ /**
1012
+ * Why the change cannot rename its column: an origin field stored in it that the destination
1013
+ * keeps in another column, or a destination field stored in the new column, as the target
1014
+ * compares names, whose origin field is stored elsewhere. `undefined` when the whole column
1015
+ * moves, and nothing else moves there.
1016
+ */
1017
+ sharedColumn(change: ColumnChange): SharedStorage<FieldCoordinate> | undefined;
1018
+ /**
1019
+ * A name for `name` to move through that no table of the namespace has in either contract, and
1020
+ * that is not one of `reserved`, as the target compares names.
1021
+ */
1022
+ unusedTableName(namespaceId: string, name: string, reserved?: readonly string[]): string;
1023
+ /**
1024
+ * A name for `name` to move through that no column of the change's table has in either
1025
+ * contract, and that is not one of `reserved`, as the target compares names.
1026
+ */
1027
+ unusedColumnName(change: ColumnChange, name: string, reserved?: readonly string[]): string;
1028
+ /** Whether the origin contract has `table`, as the target compares names. */
1029
+ originHasTable(table: ModelTable): boolean;
1030
+ /** Whether the origin contract has `column` on `table`, as the target compares names. */
1031
+ originHasColumn(table: ModelTable, column: string): boolean;
1032
+ /** The models of the origin contract stored in `table`, as the target compares names. */
1033
+ originModelsIn(table: ModelTable): readonly ModelCoordinate[];
1034
+ /** The models of the destination contract stored in `table`, as the target compares names. */
1035
+ destinationModelsIn(table: ModelTable): readonly ModelCoordinate[];
1036
+ /** The fields of the origin contract stored in `column` of `table`, as the target compares names. */
1037
+ originFieldsIn(table: ModelTable, column: string): readonly FieldCoordinate[];
1038
+ }
1039
+ //#endregion
1040
+ //#region src/core/migrations/statement-planning.d.ts
932
1041
  /** What a model rename does to storage. */
933
1042
  type ModelStorageEffect = {
934
1043
  readonly kind: 'unchanged';
@@ -1018,7 +1127,7 @@ interface NamespaceStatementTarget<TCall extends CallWithCompanions> {
1018
1127
  renameNamespaceCall(rename: NamespaceRename): TCall;
1019
1128
  }
1020
1129
  /** What a target supplies for planning statements against its working schema. */
1021
- interface StatementPlanningTarget<TCall extends CallWithCompanions> extends TableRenameByHand {
1130
+ interface StatementPlanningTarget<TCall extends CallWithCompanions> {
1022
1131
  /** The tables of the working schema as earlier statements have left it. */
1023
1132
  tables(): SchemaTables;
1024
1133
  /** The call that renames a table, with its companions, computed against the working schema. */
@@ -1065,8 +1174,16 @@ interface PlannedStatements<TCall extends CallWithCompanions> {
1065
1174
  readonly calls: readonly TCall[];
1066
1175
  readonly tableRenames: readonly TableRename[];
1067
1176
  readonly columnRenames: readonly ColumnRename[];
1177
+ /**
1178
+ * The tables whose model keeps its name and whose new table the working schema already has, so
1179
+ * the rename is already done and none is planned: the diff renames their constraints, which a
1180
+ * target puts before creates and after the drops that free their new names.
1181
+ */
1182
+ readonly alreadyRenamedTables: readonly ModelTable[];
1068
1183
  readonly plannedStatements: readonly PlannedStatement[];
1069
1184
  readonly origins: WorkingSchemaOrigins;
1185
+ /** The renames of the plan, which the questions read too; `undefined` with no origin contract. */
1186
+ readonly storageRenames: StorageRenames | undefined;
1070
1187
  }
1071
1188
  /** The contract space planned, and the oracle that says which spaces declare a namespace. */
1072
1189
  interface StatementOwnership {
@@ -1076,12 +1193,14 @@ interface StatementOwnership {
1076
1193
  /** A contract space other than the one planned that declares the namespace, if any. */
1077
1194
  declare function otherSpaceDeclaring(ownership: StatementOwnership, namespaceId: string): string | undefined;
1078
1195
  /**
1079
- * Plans the statements against a target's working schema, namespace renames first and the rest in
1080
- * the order given: model and field statements name the origin and destination contracts, so the
1081
- * namespace renames' place among them does not matter. Each model rename becomes a table rename
1082
- * and each field rename a column rename, computed against the schema earlier statements left, then
1083
- * applied to it. The first statement that cannot be planned fails the whole
1084
- * plan with a `statementRefused` conflict that carries the statement.
1196
+ * Plans the renames of a plan against a target's working schema: those its statements ask for, and
1197
+ * those of the tables and columns whose models and fields both contracts name alike. Every rename
1198
+ * no statement asks for is checked against all the others first. Then, in order: namespace
1199
+ * renames, the table renames no statement asks for, the other statements in the order given, and
1200
+ * the column renames no statement asks for. Each model rename becomes a table rename and each field
1201
+ * rename a column rename, computed against the schema earlier renames left, then applied to it.
1202
+ * The first rename that cannot be planned fails the whole plan; its conflict carries the statement
1203
+ * that asks for it, if one does.
1085
1204
  */
1086
1205
  declare function planStatements<TCall extends CallWithCompanions>(input: {
1087
1206
  readonly statements: readonly ResolvedRenameStatement[];
@@ -1170,7 +1289,6 @@ interface CallSubjects {
1170
1289
  /** What the call's operation loses, one entry per model, field or storage name, how, and how to keep it. */
1171
1290
  readonly dataLoss: readonly (SubjectStorage & {
1172
1291
  readonly loss: MigrationDataLossKind;
1173
- readonly keepDataEdit?: KeepDataEdit;
1174
1292
  /** What the user should know to keep the data, which the question repeats. */
1175
1293
  readonly keepDataAdvice?: string;
1176
1294
  })[];
@@ -1196,6 +1314,8 @@ interface SubjectContext {
1196
1314
  readonly contract: ContractWithDomain;
1197
1315
  /** Where the plan's statements put the origin's tables and columns. */
1198
1316
  readonly origins: WorkingSchemaOrigins;
1317
+ /** The renames of the plan, `undefined` with no origin contract. */
1318
+ readonly storageRenames: StorageRenames | undefined;
1199
1319
  readonly byHand: TableRenameByHand;
1200
1320
  /** The variants of the origin the destination no longer has and no rename names: their columns are asked about as the variant. */
1201
1321
  readonly removedVariants: readonly ModelCoordinate[];
@@ -1406,7 +1526,6 @@ declare function sqlTypeLookupsOf(frameworkComponents: ReadonlyArray<TargetBound
1406
1526
  /** What a planned stored value call is about, for its data-loss question. */
1407
1527
  interface StoredValueSubject {
1408
1528
  readonly enumValue: EnumValueCoordinate;
1409
- readonly keepDataEdit?: KeepDataEdit;
1410
1529
  }
1411
1530
  /** How the stored value code tells a target's removal calls apart and builds its replacement calls. */
1412
1531
  interface StoredValueCallClasses<TRemoval extends OpFactoryCall> {
@@ -1414,10 +1533,7 @@ interface StoredValueCallClasses<TRemoval extends OpFactoryCall> {
1414
1533
  /** The call that replaces one stored value with another in the column `removal` removes from. */
1415
1534
  replacementOf(removal: TRemoval, replacement: StoredValueReplacement): OpFactoryCall;
1416
1535
  }
1417
- /**
1418
- * The enum value each removal is about, with the edit that keeps its data when the member keeps
1419
- * its name and only its stored value changes.
1420
- */
1536
+ /** The enum value each removal is about. */
1421
1537
  declare function storedValueSubjects<TRemoval extends OpFactoryCall>(calls: ReadonlyMap<OpFactoryCall, StoredValueRewrite>, classes: StoredValueCallClasses<TRemoval>): ReadonlyMap<OpFactoryCall, StoredValueSubject>;
1422
1538
  /**
1423
1539
  * The edit that keeps the data a failed removal check found: `removal`, the call the check's mark
@@ -1727,5 +1843,5 @@ declare function contractColumns(contract: unknown): ContractColumns;
1727
1843
  //#region src/exports/control.d.ts
1728
1844
  declare const _default: SqlFamilyDescriptor;
1729
1845
  //#endregion
1730
- export { SqlDescribedContractSpace as $, fieldEventStorage as $t, MigrationPlannerResult as A, resolveColumnRenameAgainst as An, UnfilledValue as At, PlannedStoredRewrites as B, slotSource as Bn, checkSqlExpressionText as Bt, MarkedRemoval as C, plannerSuccess as Cn, TableMove as Ct, MigrationPlanOperation$1 as D, requiredColumnMeta as Dn, TableRenameRequest as Dt, MigrationPlan$1 as E, removalsOfMigration as En, TableRenameByHand as Et, NamespaceStatementTarget as F, rowsWithoutValueFailure as Fn, acceptedByDataType as Ft, RequiredColumn as G, storedValueOperationIndexes as Gn, convertedColumnMeta as Gt, ReadReportedDefault as H, sqlOfSlot as Hn, contractColumns as Ht, NoTable as I, rowsWithoutValueSummary as In, appliedStatementsInOrder as It, SchemaTables as J, unconvertedFieldOf as Jn, createSqlTextSources as Jt, RequiredColumnMark as K, storedValueSubjects as Kn, convertedColumnOf as Kt, PlanFieldEventOperationsOptions as L, runnerFailure as Ln, assembleAuthoringContributions$1 as Lt, ModelTable as M, rowsHoldingValueFailure as Mn, VariantRowRewrite as Mt, NO_RENAMED_ORIGINS as N, rowsHoldingValueMeta as Nn, WorkingSchemaOrigins as Nt, MigrationPlanner as O, requiredColumnOf as On, TargetMigrationsCapability as Ot, NamespaceRename as P, rowsHoldingValueOf as Pn, _default as Pt, SqlDefaultFunctionName as Q, unnamedFieldFillOf as Qn, extractCodecControlHooks as Qt, PlannedStatement as R, runnerSuccess as Rn, backfillOfDefaultedField as Rt, JsonPathStep as S, plannerFailure as Sn, TABLE_NAME_CASE_CHANGED_CODE as St, MigrationOperationPolicy$1 as T, readReportedDefault as Tn, TableRename as Tt, ReportedBody as U, sqlTypeLookupsOf as Un, contractNamespaceToSchemaIR as Ut, ReadColumnDefault as V, sqlDefaultFunctions as Vn, columnTakesTemporaryValue as Vt, ReportedLiteralDefault as W, storageNameOfOperation as Wn, contractToSchemaIR as Wt, SqlControlFamilyInstance as X, unmatchedColumnRename as Xn, detectTableNameCaseChanges as Xt, SingleOperationCall as Y, unknownCallNames as Yn, detectDestructiveChanges as Yt, SqlControlTargetDescriptor as Z, unmatchedTableRename as Zn, encodeStoredValue as Zt, FillValueCheck as _, planStatements as _n, StoredValueReplacement as _t, ColumnRename as a, isUnfilledSlot as an, StatementColumn as at, JsonKeyPath as b, planValueObjectFieldRewrites as bn, SubjectStorage as bt, ContractColumns as c, keyPathOf as cn, StatementPlanningTarget as ct, ConvertedColumn as d, parseJsonPath as dn, StoredKeyFillField as dt, fieldOfColumn as en, SqlPslBuildContext as et, DefaultResolver as f, partitionCallsByControlPolicy as fn, StoredKeyRewrite as ft, FieldStorageEffect as g, planFieldEventOperations as gn, StoredValueCodec as gt, FieldStatementColumns as h, planFieldEventCalls as hn, StoredValueCallClasses as ht, ColumnOnOneSide as i, fillValueProblem as in, SqlTextSources as it, ModelStorageEffect as j, resolveTableRenameAgainst as jn, UnnamedFieldFill as jt, MigrationPlannerConflict$1 as k, requiredColumnsOfMigration as kn, TargetRefusal as kt, ContractToSchemaIROptions as l, modelRenameStorageEffect as ln, StoredEnumValue as lt, FieldEventCall as m, planEnumValueRewrites as mn, StoredRewriteCalls as mt, CallSubjects as n, fieldStatementColumns as nn, SqlQuotingRules as nt, ColumnRenameRequest as o, jsonPathText as on, StatementOperations as ot, DefaultResolverColumn as p, partitionIssuesByControlPolicy as pn, StoredRewrite as pt, RowsHoldingValueMark as q, subjectsOfCalls as qn, createMigrationPlan as qt, CallWithCompanions as r, fillKeyProblem as rn, SqlSlot as rt, ContractColumn as s, keepRowsEdit as sn, StatementOwnership as st, COLUMN_RENAME_UNMATCHED_CODE as t, fieldRenameStorageEffect as tn, SqlQuote as tt, ControlPolicySubject as u, otherSpaceDeclaring as un, StoredKeyFill as ut, FillValueTypes as v, planStoredRewrites as vn, StoredValueRewrite as vt, MigrationOperationClass$1 as w, readColumnDefault as wn, TableNameCaseGuardTable as wt, JsonPath as x, planVariantRowRewrites as xn, SuppressionRecord as xt, INIT_ADDITIVE_POLICY as y, planValueObjectFieldFills as yn, StoredValueSubject as yt, PlannedStatements as z, scalarTypeNamesOf as zn, checkDatabasePoliciesHeld as zt };
1731
- //# sourceMappingURL=control-Cb6YoQ8j.d.mts.map
1846
+ export { SqlDefaultFunctionName as $, unmatchedColumnRename as $n, encodeStoredValue as $t, MigrationPlannerResult as A, requiredColumnMeta as An, TargetMigrationsCapability as At, PlannedStoredRewrites as B, runnerFailure as Bn, backfillOfDefaultedField as Bt, MarkedRemoval as C, planValueObjectFieldRewrites as Cn, SuppressionRecord as Ct, MigrationPlanOperation$1 as D, readColumnDefault as Dn, TableRename as Dt, MigrationPlan$1 as E, plannerSuccess as En, TableNameCaseGuardTable as Et, NamespaceStatementTarget as F, rowsHoldingValueFailure as Fn, WorkingSchemaOrigins as Ft, RequiredColumn as G, sqlOfSlot as Gn, contractNamespaceToSchemaIR as Gt, ReadReportedDefault as H, scalarTypeNamesOf as Hn, checkSqlExpressionText as Ht, NoTable as I, rowsHoldingValueMeta as In, _default as It, SameName as J, storedValueOperationIndexes as Jn, convertedColumnOf as Jt, RequiredColumnMark as K, sqlTypeLookupsOf as Kn, contractToSchemaIR as Kt, PlanFieldEventOperationsOptions as L, rowsHoldingValueOf as Ln, acceptedByDataType as Lt, ModelTable as M, requiredColumnsOfMigration as Mn, UnfilledValue as Mt, NO_RENAMED_ORIGINS as N, resolveColumnRenameAgainst as Nn, UnnamedFieldFill as Nt, MigrationPlanner as O, readReportedDefault as On, TableRenameByHand as Ot, NamespaceRename as P, resolveTableRenameAgainst as Pn, VariantRowRewrite as Pt, SqlControlTargetDescriptor as Q, unknownCallNames as Qn, detectTableNameCaseChanges as Qt, PlannedStatement as R, rowsWithoutValueFailure as Rn, appliedStatementsInOrder as Rt, JsonPathStep as S, planValueObjectFieldFills as Sn, SubjectStorage as St, MigrationOperationPolicy$1 as T, plannerFailure as Tn, TableMove as Tt, ReportedBody as U, slotSource as Un, columnTakesTemporaryValue as Ut, ReadColumnDefault as V, runnerSuccess as Vn, checkDatabasePoliciesHeld as Vt, ReportedLiteralDefault as W, sqlDefaultFunctions as Wn, contractColumns as Wt, SingleOperationCall as X, subjectsOfCalls as Xn, createSqlTextSources as Xt, SchemaTables as Y, storedValueSubjects as Yn, createMigrationPlan as Yt, SqlControlFamilyInstance as Z, unconvertedFieldOf as Zn, detectDestructiveChanges as Zt, FillValueCheck as _, planEnumValueRewrites as _n, StoredValueCallClasses as _t, ColumnRename as a, fieldStatementColumns as an, SqlTextSources as at, JsonKeyPath as b, planStatements as bn, StoredValueRewrite as bt, ContractColumns as c, isUnfilledSlot as cn, StatementOwnership as ct, ConvertedColumn as d, keyPathOf as dn, StoredEnumValue as dt, exactName as en, unmatchedTableRename as er, SqlDescribedContractSpace as et, DefaultResolver as f, modelRenameStorageEffect as fn, StoredKeyFill as ft, FieldStorageEffect as g, partitionIssuesByControlPolicy as gn, StoredRewriteCalls as gt, FieldStatementColumns as h, partitionCallsByControlPolicy as hn, StoredRewrite as ht, ColumnOnOneSide as i, fieldRenameStorageEffect as in, SqlSlot as it, ModelStorageEffect as j, requiredColumnOf as jn, TargetRefusal as jt, MigrationPlannerConflict$1 as k, removalsOfMigration as kn, TableRenameRequest as kt, ContractToSchemaIROptions as l, jsonPathText as ln, StatementPlanningTarget as lt, FieldEventCall as m, parseJsonPath as mn, StoredKeyRewrite as mt, CallSubjects as n, fieldEventStorage as nn, SqlQuote as nt, ColumnRenameRequest as o, fillKeyProblem as on, StatementColumn as ot, DefaultResolverColumn as p, otherSpaceDeclaring as pn, StoredKeyFillField as pt, RowsHoldingValueMark as q, storageNameOfOperation as qn, convertedColumnMeta as qt, CallWithCompanions as r, fieldOfColumn as rn, SqlQuotingRules as rt, ContractColumn as s, fillValueProblem as sn, StatementOperations as st, COLUMN_RENAME_UNMATCHED_CODE as t, extractCodecControlHooks as tn, unnamedFieldFillOf as tr, SqlPslBuildContext as tt, ControlPolicySubject as u, keepRowsEdit as un, StorageRenames as ut, FillValueTypes as v, planFieldEventCalls as vn, StoredValueCodec as vt, MigrationOperationClass$1 as w, planVariantRowRewrites as wn, TABLE_NAME_CASE_CHANGED_CODE as wt, JsonPath as x, planStoredRewrites as xn, StoredValueSubject as xt, INIT_ADDITIVE_POLICY as y, planFieldEventOperations as yn, StoredValueReplacement as yt, PlannedStatements as z, rowsWithoutValueSummary as zn, assembleAuthoringContributions$1 as zt };
1847
+ //# sourceMappingURL=control-L4h4N5uy.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-L4h4N5uy.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmBU;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,QAAQ;EACrD,SAAS,KAAK,cAAc,SAAS,SAAS,0BAA0B,QAAQ;;;;;;EAMhF,WAAW;aACA,QAAQ;aACR;aACA,aAAa;MACpB;;;;;EAKJ,aAAa;aACF,QAAQ;aACR;aACA;aACA,aAAa;MACpB;;;;;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;iBACA;mBACE;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;yBACE;;;;;iBAKR;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;yBACE;;;;;iBAKR;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;yBACE;;;;;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