@prisma/orm-toolchain 8.0.0-rc.1-dev.5 → 8.0.0-rc.1-dev.7

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 (217) hide show
  1. package/dist/{aggregate-B4mhR4Sk.mjs → aggregate-D53gnb7v.mjs} +8 -8
  2. package/dist/{aggregate-B4mhR4Sk.mjs.map → aggregate-D53gnb7v.mjs.map} +1 -1
  3. package/dist/bin__prisma-next.mjs +22 -22
  4. package/dist/bin__prisma-next.mjs.map +1 -1
  5. package/dist/caught-errors-D7Qznyrm-BzYooF6H.mjs +14 -0
  6. package/dist/caught-errors-D7Qznyrm-BzYooF6H.mjs.map +1 -0
  7. package/dist/{types-DZWEs4si-D8UlyJI0.d.mts → cli-errors-CDr3WcJP-NFry5GHb.d.mts} +8 -2
  8. package/dist/cli-errors-CDr3WcJP-NFry5GHb.d.mts.map +1 -0
  9. package/dist/cli.mjs +2 -2
  10. package/dist/cli.mjs.map +1 -1
  11. package/dist/cli__commands__contract-emit.mjs +1 -1
  12. package/dist/cli__commands__contract-infer.mjs +1 -1
  13. package/dist/cli__commands__db-init.mjs +1 -1
  14. package/dist/cli__commands__db-schema.mjs +1 -1
  15. package/dist/cli__commands__db-sign.mjs +1 -1
  16. package/dist/cli__commands__db-update.mjs +1 -1
  17. package/dist/cli__commands__db-verify.mjs +1 -1
  18. package/dist/cli__commands__migrate.d.mts +3 -12
  19. package/dist/cli__commands__migrate.d.mts.map +1 -1
  20. package/dist/cli__commands__migrate.mjs +1 -1
  21. package/dist/cli__commands__migration-check.d.mts +1 -57
  22. package/dist/cli__commands__migration-check.d.mts.map +1 -1
  23. package/dist/cli__commands__migration-check.mjs +2 -2
  24. package/dist/cli__commands__migration-graph.d.mts +1 -1
  25. package/dist/cli__commands__migration-graph.mjs +1 -1
  26. package/dist/cli__commands__migration-list.d.mts +4 -44
  27. package/dist/cli__commands__migration-list.d.mts.map +1 -1
  28. package/dist/cli__commands__migration-list.mjs +2 -2
  29. package/dist/cli__commands__migration-log.d.mts +1 -1
  30. package/dist/cli__commands__migration-log.mjs +1 -1
  31. package/dist/cli__commands__migration-new.mjs +1 -1
  32. package/dist/cli__commands__migration-plan.d.mts +2 -47
  33. package/dist/cli__commands__migration-plan.d.mts.map +1 -1
  34. package/dist/cli__commands__migration-plan.mjs +1 -1
  35. package/dist/cli__commands__migration-show.mjs +1 -1
  36. package/dist/cli__commands__migration-status.d.mts +1 -1
  37. package/dist/cli__commands__migration-status.mjs +1 -1
  38. package/dist/cli__commands__ref.d.mts +1 -28
  39. package/dist/cli__commands__ref.d.mts.map +1 -1
  40. package/dist/cli__commands__ref.mjs +2 -2
  41. package/dist/cli__commands__telemetry.mjs +1 -1
  42. package/dist/cli__control-api.d.mts +502 -2
  43. package/dist/cli__control-api.d.mts.map +1 -1
  44. package/dist/cli__control-api.mjs +18 -3
  45. package/dist/cli__migration-cli.mjs +3 -6
  46. package/dist/cli__migration-cli.mjs.map +1 -1
  47. package/dist/{client-75qrAPqf-7l0C0H_b.mjs → client-Y6qbDk7X-BzKLmBZo.mjs} +16 -12
  48. package/dist/client-Y6qbDk7X-BzKLmBZo.mjs.map +1 -0
  49. package/dist/{command-helpers-CAoXqAY9-DWUBcTXM.mjs → command-helpers-C4WpR-QE-DE494TSG.mjs} +30 -74
  50. package/dist/command-helpers-C4WpR-QE-DE494TSG.mjs.map +1 -0
  51. package/dist/config-loader.d.mts +2 -18
  52. package/dist/contract-at-errors-Dv1mxKYO-C29YB4RC.mjs +44 -0
  53. package/dist/contract-at-errors-Dv1mxKYO-C29YB4RC.mjs.map +1 -0
  54. package/dist/{contract-emit-B6odMoem-C87PBvmo.mjs → contract-emit-CTm2zfuG-7PV9SBY6.mjs} +12 -11
  55. package/dist/contract-emit-CTm2zfuG-7PV9SBY6.mjs.map +1 -0
  56. package/dist/{contract-emit-0hSjbuxp-BJLC-VgC.mjs → contract-emit-D8IXP9Qp-Df6NwXn8.mjs} +4 -4
  57. package/dist/{contract-emit-0hSjbuxp-BJLC-VgC.mjs.map → contract-emit-D8IXP9Qp-Df6NwXn8.mjs.map} +1 -1
  58. package/dist/{contract-infer-BnkqpftN-DwBzasOu.mjs → contract-infer-BwT7ngoo-Dx6aAwIN.mjs} +5 -5
  59. package/dist/contract-infer-BwT7ngoo-Dx6aAwIN.mjs.map +1 -0
  60. package/dist/contract-snapshot-resolution-SATuw0JW-CsYq7g_n.mjs +82 -0
  61. package/dist/contract-snapshot-resolution-SATuw0JW-CsYq7g_n.mjs.map +1 -0
  62. package/dist/{contract-snapshot-store-sf5nP4mb-MLpG-ihh.mjs → contract-snapshot-store-C9-J6OBn-ByElY0EC.mjs} +3 -3
  63. package/dist/{contract-snapshot-store-sf5nP4mb-MLpG-ihh.mjs.map → contract-snapshot-store-C9-J6OBn-ByElY0EC.mjs.map} +1 -1
  64. package/dist/{contract-space-aggregate-loader-CFH-336b-BhAyRQEL.mjs → contract-space-aggregate-loader-C5r12INu-Db_pa3rX.mjs} +7 -7
  65. package/dist/contract-space-aggregate-loader-C5r12INu-Db_pa3rX.mjs.map +1 -0
  66. package/dist/{db-init-bd0_x2Q8.mjs → db-init-CBj_EWg3.mjs} +18 -32
  67. package/dist/db-init-CBj_EWg3.mjs.map +1 -0
  68. package/dist/{db-schema-CwgAWTqG.mjs → db-schema-BWpeh0Q_.mjs} +4 -4
  69. package/dist/{db-schema-CwgAWTqG.mjs.map → db-schema-BWpeh0Q_.mjs.map} +1 -1
  70. package/dist/{db-sign-vqiYfpjI.mjs → db-sign-DCb_DKtv.mjs} +13 -29
  71. package/dist/db-sign-DCb_DKtv.mjs.map +1 -0
  72. package/dist/{db-update-Br0diOCo.mjs → db-update-WX0KitcX.mjs} +29 -52
  73. package/dist/db-update-WX0KitcX.mjs.map +1 -0
  74. package/dist/{db-verify-CKPsRFrj-T7nSt7yT.mjs → db-verify-B8ax2Y_x-Bp4s5Ra6.mjs} +9 -6
  75. package/dist/db-verify-B8ax2Y_x-Bp4s5Ra6.mjs.map +1 -0
  76. package/dist/{errors-IpZm1Skp-BH495dRd.mjs → errors-Co-8oaiB-CB-6Uqki.mjs} +45 -53
  77. package/dist/errors-Co-8oaiB-CB-6Uqki.mjs.map +1 -0
  78. package/dist/{errors--qsXZUtL.d.mts → errors-NRmFpwR1.d.mts} +13 -9
  79. package/dist/errors-NRmFpwR1.d.mts.map +1 -0
  80. package/dist/{format-ByDm2goZ-BIRlFoo6.mjs → format-Bw3LVJ1v-BJ6lVFMA.mjs} +12 -9
  81. package/dist/format-Bw3LVJ1v-BJ6lVFMA.mjs.map +1 -0
  82. package/dist/{framework-components-CjshQKHA-Dlp6Leo5.mjs → framework-components-3DdB31mk-BHyX-OlJ.mjs} +3 -3
  83. package/dist/{framework-components-CjshQKHA-Dlp6Leo5.mjs.map → framework-components-3DdB31mk-BHyX-OlJ.mjs.map} +1 -1
  84. package/dist/{graph-membership-DW6nnbyQ-Bp2KcVwR.mjs → graph-membership-BEmNEMtP-rz61CLM5.mjs} +3 -3
  85. package/dist/{graph-membership-DW6nnbyQ-Bp2KcVwR.mjs.map → graph-membership-BEmNEMtP-rz61CLM5.mjs.map} +1 -1
  86. package/dist/index-Df9igRvP.d.mts +18 -0
  87. package/dist/index-Df9igRvP.d.mts.map +1 -0
  88. package/dist/{init-BGm77aWc-jHVUn63W.mjs → init-CPB89WK2-DPZRZ9Ee.mjs} +4 -4
  89. package/dist/{init-BGm77aWc-jHVUn63W.mjs.map → init-CPB89WK2-DPZRZ9Ee.mjs.map} +1 -1
  90. package/dist/{inspect-live-schema-CnwYTRZ0-P-6asJFl.mjs → inspect-live-schema-Da76TWOs-CAFqkhGb.mjs} +4 -4
  91. package/dist/{inspect-live-schema-CnwYTRZ0-P-6asJFl.mjs.map → inspect-live-schema-Da76TWOs-CAFqkhGb.mjs.map} +1 -1
  92. package/dist/invariants-BzYfO9IL-BXTvx0z9.mjs +52 -0
  93. package/dist/invariants-BzYfO9IL-BXTvx0z9.mjs.map +1 -0
  94. package/dist/{invariants-lXzy6txi-DAoP4nTE.mjs → invariants-C1WVUAH7-DlOBTTkM.mjs} +3 -3
  95. package/dist/{invariants-lXzy6txi-DAoP4nTE.mjs.map → invariants-C1WVUAH7-DlOBTTkM.mjs.map} +1 -1
  96. package/dist/{io-C8TdyBKt-DloEBi70.mjs → io-CHUUeHh0-CoCBe9eN.mjs} +8 -8
  97. package/dist/{io-C8TdyBKt-DloEBi70.mjs.map → io-CHUUeHh0-CoCBe9eN.mjs.map} +1 -1
  98. package/dist/legend-5iwwlLU2-CB8bdQKJ.mjs +22 -0
  99. package/dist/legend-5iwwlLU2-CB8bdQKJ.mjs.map +1 -0
  100. package/dist/{migrate-BdVFDKF2.mjs → migrate-B-NAuO90.mjs} +90 -227
  101. package/dist/migrate-B-NAuO90.mjs.map +1 -0
  102. package/dist/migrate-show-60NNqVia-oGqMaVA9.d.mts +56 -0
  103. package/dist/migrate-show-60NNqVia-oGqMaVA9.d.mts.map +1 -0
  104. package/dist/migrate-show-B2LkXkoB-D1ZNl84C.mjs +202 -0
  105. package/dist/migrate-show-B2LkXkoB-D1ZNl84C.mjs.map +1 -0
  106. package/dist/{migration-BuUmO7It.mjs → migration-DAJY-NmR.mjs} +3 -3
  107. package/dist/{migration-BuUmO7It.mjs.map → migration-DAJY-NmR.mjs.map} +1 -1
  108. package/dist/migration-check-BDjtAn7x-B0nEBR0k.mjs +254 -0
  109. package/dist/migration-check-BDjtAn7x-B0nEBR0k.mjs.map +1 -0
  110. package/dist/{migration-check-DcwUnadt-jamDqOmM.mjs → migration-check-DONPyXff-CGTUpLv-.mjs} +12 -254
  111. package/dist/migration-check-DONPyXff-CGTUpLv-.mjs.map +1 -0
  112. package/dist/{migration-command-scaffold-BCuoeAki-DMy_5ztW.mjs → migration-command-scaffold-BPqXPCFV-Bls2Wwg7.mjs} +4 -4
  113. package/dist/{migration-command-scaffold-BCuoeAki-DMy_5ztW.mjs.map → migration-command-scaffold-BPqXPCFV-Bls2Wwg7.mjs.map} +1 -1
  114. package/dist/{migration-graph-CBf9ORe7-B4xAF8GN.mjs → migration-graph-DDaOHo10-yJFAbKCu.mjs} +3 -3
  115. package/dist/{migration-graph-CBf9ORe7-B4xAF8GN.mjs.map → migration-graph-DDaOHo10-yJFAbKCu.mjs.map} +1 -1
  116. package/dist/{migration-graph-vmgkL3k4.mjs → migration-graph-Dn469b0l.mjs} +10 -19
  117. package/dist/migration-graph-Dn469b0l.mjs.map +1 -0
  118. package/dist/migration-graph-HKch1Xk4-DyWhXtjZ.mjs +35 -0
  119. package/dist/migration-graph-HKch1Xk4-DyWhXtjZ.mjs.map +1 -0
  120. package/dist/migration-list-C9OPCMt--C28yBgVr.mjs +102 -0
  121. package/dist/migration-list-C9OPCMt--C28yBgVr.mjs.map +1 -0
  122. package/dist/migration-list-jk4iCtmO.mjs +120 -0
  123. package/dist/migration-list-jk4iCtmO.mjs.map +1 -0
  124. package/dist/{migration-log-CS5IWcNq-DI7FTHCA.mjs → migration-log-DQzUBrm8-D3m9wcuf.mjs} +7 -7
  125. package/dist/migration-log-DQzUBrm8-D3m9wcuf.mjs.map +1 -0
  126. package/dist/migration-new-BkSY6m0t.mjs +50 -0
  127. package/dist/migration-new-BkSY6m0t.mjs.map +1 -0
  128. package/dist/{migration-new-GmW2anVb.mjs → migration-new-g98oB3nC-BcrkxAAt.mjs} +19 -58
  129. package/dist/migration-new-g98oB3nC-BcrkxAAt.mjs.map +1 -0
  130. package/dist/{migration-path-target-D3Sj55PI-BICblCuk.mjs → migration-path-target-BPYp3LNc-DsDdLU0J.mjs} +4 -4
  131. package/dist/migration-path-target-BPYp3LNc-DsDdLU0J.mjs.map +1 -0
  132. package/dist/migration-plan-BsOYRogP-CC1UFAbu.d.mts +159 -0
  133. package/dist/migration-plan-BsOYRogP-CC1UFAbu.d.mts.map +1 -0
  134. package/dist/migration-plan-CjIYMJZy.mjs +172 -0
  135. package/dist/migration-plan-CjIYMJZy.mjs.map +1 -0
  136. package/dist/{migration-plan-q_L84PN1-ClkGgtVz.mjs → migration-plan-CwuZLXVE-DAJ-JUQT.mjs} +46 -185
  137. package/dist/migration-plan-CwuZLXVE-DAJ-JUQT.mjs.map +1 -0
  138. package/dist/{migration-show--pW4XhKs.mjs → migration-show-CW6EKtfw.mjs} +16 -12
  139. package/dist/migration-show-CW6EKtfw.mjs.map +1 -0
  140. package/dist/{migration-status-CE7cQLDq-P1x1-BsZ.mjs → migration-status-DSQcBhiN.mjs} +37 -68
  141. package/dist/migration-status-DSQcBhiN.mjs.map +1 -0
  142. package/dist/migration-tools.d.mts +5 -5
  143. package/dist/migration-tools.mjs +13 -13
  144. package/dist/migration-tools__aggregate.mjs +1 -1
  145. package/dist/migration-tools__contract-snapshot-store.mjs +1 -1
  146. package/dist/migration-tools__errors.d.mts +2 -2
  147. package/dist/migration-tools__errors.mjs +2 -2
  148. package/dist/migration-tools__invariants.mjs +1 -1
  149. package/dist/migration-tools__io.mjs +1 -1
  150. package/dist/migration-tools__migration-graph.mjs +2 -2
  151. package/dist/migration-tools__migration.mjs +1 -1
  152. package/dist/migration-tools__ref-resolution.mjs +1 -1
  153. package/dist/migration-tools__refs.mjs +1 -1
  154. package/dist/migration-tools__spaces.d.mts +1 -1
  155. package/dist/migration-tools__spaces.mjs +2 -2
  156. package/dist/{project-import-root-CpwLCDLY-DkVwAnWj.mjs → project-import-root-C_bd0ooL-WkbJLnAA.mjs} +10 -8
  157. package/dist/project-import-root-C_bd0ooL-WkbJLnAA.mjs.map +1 -0
  158. package/dist/ref-DSAZime8.mjs +72 -0
  159. package/dist/ref-DSAZime8.mjs.map +1 -0
  160. package/dist/ref-advancement-DaZBzm7m-BZQtedYC.mjs +96 -0
  161. package/dist/ref-advancement-DaZBzm7m-BZQtedYC.mjs.map +1 -0
  162. package/dist/ref-eJjxzYTh-CNiyDL4p.mjs +109 -0
  163. package/dist/ref-eJjxzYTh-CNiyDL4p.mjs.map +1 -0
  164. package/dist/{ref-resolution-BjJBWPjX.mjs → ref-resolution-Ct2GMcNB.mjs} +2 -2
  165. package/dist/{ref-resolution-BjJBWPjX.mjs.map → ref-resolution-Ct2GMcNB.mjs.map} +1 -1
  166. package/dist/ref-resolution-_S4xTT2L-BE5zgO2W.mjs +16 -0
  167. package/dist/ref-resolution-_S4xTT2L-BE5zgO2W.mjs.map +1 -0
  168. package/dist/{refs-BDbB9BRB-D6Za3Q49.mjs → refs-B2BL8z3i-DGGFB7Mj.mjs} +6 -6
  169. package/dist/refs-B2BL8z3i-DGGFB7Mj.mjs.map +1 -0
  170. package/dist/refs-fQLFcMoq-UTlvnijY.mjs +47 -0
  171. package/dist/refs-fQLFcMoq-UTlvnijY.mjs.map +1 -0
  172. package/dist/{spaces-DxFj5y8l.d.mts → spaces-D5qtTlhj.d.mts} +2 -2
  173. package/dist/{spaces-DxFj5y8l.d.mts.map → spaces-D5qtTlhj.d.mts.map} +1 -1
  174. package/dist/{spaces-C27bA-xc.mjs → spaces-DxuvClN9.mjs} +7 -7
  175. package/dist/spaces-DxuvClN9.mjs.map +1 -0
  176. package/dist/{telemetry-CmbCa3Ld-CmE5zcIG.mjs → telemetry-DVBHDQd6-Ckn5oClN.mjs} +3 -3
  177. package/dist/{telemetry-CmbCa3Ld-CmE5zcIG.mjs.map → telemetry-DVBHDQd6-Ckn5oClN.mjs.map} +1 -1
  178. package/dist/{verify-DnVNjc5C-BGdsblBK.mjs → verify-C6L_hiJU-B4V3bqvG.mjs} +3 -3
  179. package/dist/{verify-DnVNjc5C-BGdsblBK.mjs.map → verify-C6L_hiJU-B4V3bqvG.mjs.map} +1 -1
  180. package/dist/{verify-contract-spaces-BZDcJsuA-De8v4Z4T.mjs → verify-contract-spaces-WvjSiWcB-zGhaCnfs.mjs} +4 -4
  181. package/dist/{verify-contract-spaces-BZDcJsuA-De8v4Z4T.mjs.map → verify-contract-spaces-WvjSiWcB-zGhaCnfs.mjs.map} +1 -1
  182. package/dist/vite-plugin-contract-emit.mjs +1 -1
  183. package/package.json +12 -12
  184. package/dist/client-75qrAPqf-7l0C0H_b.mjs.map +0 -1
  185. package/dist/command-helpers-CAoXqAY9-DWUBcTXM.mjs.map +0 -1
  186. package/dist/config-loader.d.mts.map +0 -1
  187. package/dist/contract-at-errors-BX7w-p19-SxA8eaV2.mjs +0 -36
  188. package/dist/contract-at-errors-BX7w-p19-SxA8eaV2.mjs.map +0 -1
  189. package/dist/contract-emit-B6odMoem-C87PBvmo.mjs.map +0 -1
  190. package/dist/contract-infer-BnkqpftN-DwBzasOu.mjs.map +0 -1
  191. package/dist/contract-space-aggregate-loader-CFH-336b-BhAyRQEL.mjs.map +0 -1
  192. package/dist/db-init-bd0_x2Q8.mjs.map +0 -1
  193. package/dist/db-sign-vqiYfpjI.mjs.map +0 -1
  194. package/dist/db-update-Br0diOCo.mjs.map +0 -1
  195. package/dist/db-verify-CKPsRFrj-T7nSt7yT.mjs.map +0 -1
  196. package/dist/errors--qsXZUtL.d.mts.map +0 -1
  197. package/dist/errors-IpZm1Skp-BH495dRd.mjs.map +0 -1
  198. package/dist/format-ByDm2goZ-BIRlFoo6.mjs.map +0 -1
  199. package/dist/migrate-BdVFDKF2.mjs.map +0 -1
  200. package/dist/migration-check-DcwUnadt-jamDqOmM.mjs.map +0 -1
  201. package/dist/migration-graph-vmgkL3k4.mjs.map +0 -1
  202. package/dist/migration-list-BFBeo1_X-ckYMhETH.mjs +0 -228
  203. package/dist/migration-list-BFBeo1_X-ckYMhETH.mjs.map +0 -1
  204. package/dist/migration-log-CS5IWcNq-DI7FTHCA.mjs.map +0 -1
  205. package/dist/migration-new-GmW2anVb.mjs.map +0 -1
  206. package/dist/migration-path-target-D3Sj55PI-BICblCuk.mjs.map +0 -1
  207. package/dist/migration-plan-q_L84PN1-ClkGgtVz.mjs.map +0 -1
  208. package/dist/migration-show--pW4XhKs.mjs.map +0 -1
  209. package/dist/migration-status-CE7cQLDq-P1x1-BsZ.mjs.map +0 -1
  210. package/dist/project-import-root-CpwLCDLY-DkVwAnWj.mjs.map +0 -1
  211. package/dist/ref-advancement-CSPMoQs3-fEipZrdu.mjs +0 -57
  212. package/dist/ref-advancement-CSPMoQs3-fEipZrdu.mjs.map +0 -1
  213. package/dist/ref-sHE8zOcm.mjs +0 -171
  214. package/dist/ref-sHE8zOcm.mjs.map +0 -1
  215. package/dist/refs-BDbB9BRB-D6Za3Q49.mjs.map +0 -1
  216. package/dist/spaces-C27bA-xc.mjs.map +0 -1
  217. package/dist/types-DZWEs4si-D8UlyJI0.d.mts.map +0 -1
@@ -1,31 +1,13 @@
1
1
  import { n as MigrationGraph } from "./graph-bDjJ4GL9-BhFevsJS.mjs";
2
- import { t as CliStructuredError$1 } from "./types-DZWEs4si-D8UlyJI0.mjs";
3
- import { r as MigrationListResult, s as MigrationSpaceListEntry } from "./schemas-CeGMYFYX-h3OcU__O.mjs";
4
- import { c as ContractSpaceAggregate, t as AggregateContractSpace } from "./aggregate-BflrjWPO.mjs";
2
+ import { t as CliStructuredError$1 } from "./cli-errors-CDr3WcJP-NFry5GHb.mjs";
3
+ import { c as ContractSpaceAggregate } from "./aggregate-BflrjWPO.mjs";
4
+ import { r as MigrationListResult } from "./schemas-CeGMYFYX-h3OcU__O.mjs";
5
5
  import { n as GlobalFlags, t as CommonCommandOptions } from "./global-flags-BpoOYtNZ-CHZD3fud.mjs";
6
6
  import { n as TerminalUI, t as GlyphMode } from "./terminal-ui-BN4QOsm5-Bf3pim46.mjs";
7
7
  import { Result } from "@prisma/orm-framework/utils/result";
8
8
  import { Command } from "commander";
9
9
  //#region ../../../1-framework/3-tooling/cli/dist/commands/migration-list.d.mts
10
10
  //#region src/commands/migration-list.d.ts
11
- /**
12
- * Ref names decorating a space's destination contract hashes. The
13
- * tolerant `space.refs` deliberately omits the structural `head.json`;
14
- * for extension spaces the old enumerator surfaced it as a `head`
15
- * decoration on the tip migration, so fold `space.headRef` back in to
16
- * keep that output. The app space synthesises its head, so it carries
17
- * no on-disk `head` ref to restore.
18
- */
19
- declare function listRefsByContractHash(space: AggregateContractSpace): ReadonlyMap<string, readonly string[]>;
20
- /**
21
- * Project the loaded {@link ContractSpaceAggregate} into the render-ready
22
- * {@link MigrationSpaceListEntry} rows `migration list` displays.
23
- *
24
- * Space membership matches the on-disk contract-space directories (not the
25
- * aggregate's always-present synthesized app space when `migrations/app/`
26
- * is absent); package and ref data come from `aggregate.space(id)`.
27
- */
28
- declare function migrationSpaceListEntriesFromAggregate(aggregate: ContractSpaceAggregate, projectMigrationsDir: string): Promise<readonly MigrationSpaceListEntry[]>;
29
11
  interface MigrationListOptions extends CommonCommandOptions {
30
12
  readonly config?: string;
31
13
  readonly space?: string;
@@ -45,28 +27,6 @@ interface MigrationListHumanRenderOptions {
45
27
  readonly appSpaceId?: string;
46
28
  }
47
29
  declare function renderMigrationListHumanOutput(result: MigrationListResult, options: MigrationListHumanRenderOptions): string;
48
- /**
49
- * Inputs for {@link runMigrationList} — the policy core of `migration list`
50
- * that tests exercise directly.
51
- *
52
- * The core does not call `loadConfig`, parse CLI flags, render a styled
53
- * header, or write to any stream. Enumeration is supplied by the caller
54
- * (the CLI shell builds it from {@link migrationSpaceListEntriesFromAggregate}).
55
- */
56
- interface RunMigrationListInputs {
57
- readonly spaces: readonly MigrationSpaceListEntry[];
58
- readonly spaceFilter?: string;
59
- }
60
- /**
61
- * Policy core of `migration list`: validates `--space`, narrows the
62
- * pre-enumerated spaces, and assembles a {@link MigrationListResult}.
63
- *
64
- * - `migrations/` missing or contains no valid space directories →
65
- * caller passes `spaces: []`; this synthesizes `[{ spaceId: APP_SPACE_ID, migrations: [] }]`.
66
- * - `--space <id>` on an existing-but-empty space → `{ spaceId, migrations: [] }` in the input.
67
- * - `--space <id>` on a non-existent (or reserved) space → `SPACE_NOT_FOUND`.
68
- */
69
- declare function runMigrationList(inputs: RunMigrationListInputs): Result<MigrationListResult, CliStructuredError$1>;
70
30
  /**
71
31
  * CLI shell: loads config, resolves paths, prints the styled header on
72
32
  * stderr (interactive mode only), and delegates to {@link runMigrationList}.
@@ -75,5 +35,5 @@ declare function runMigrationList(inputs: RunMigrationListInputs): Result<Migrat
75
35
  declare function executeMigrationListCommand(options: MigrationListOptions, flags: GlobalFlags, ui: TerminalUI): Promise<Result<MigrationListExecuteResult, CliStructuredError$1>>;
76
36
  declare function createMigrationListCommand(): Command;
77
37
  //#endregion
78
- export { MigrationListExecuteResult, MigrationListHumanRenderOptions, RunMigrationListInputs, createMigrationListCommand, executeMigrationListCommand, listRefsByContractHash, migrationSpaceListEntriesFromAggregate, renderMigrationListHumanOutput, runMigrationList };
38
+ export { MigrationListExecuteResult, MigrationListHumanRenderOptions, createMigrationListCommand, executeMigrationListCommand, renderMigrationListHumanOutput };
79
39
  //# sourceMappingURL=cli__commands__migration-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli__commands__migration-list.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/commands/migration-list.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;iBAiBiB,uBAAuB,OAAO,yBAAyB;;;;;;;;;iBASvD,uCAAuC,WAAW,wBAAwB,+BAA+B,iBAAiB;UACjI,6BAA6B;WAC5B;WACA;WACA;WACA;;UAED;WACC,MAAM;WACN;WACA,WAAW;;UAEZ;WACC,WAAW;WACX;WACA;WACA,gBAAgB,oBAAoB;WACpC;;iBAEM,+BAA+B,QAAQ,qBAAqB,SAAS;;;;;;;;;UAS5E;WACC,iBAAiB;WACjB;;;;;;;;;;;iBAWM,iBAAiB,QAAQ,yBAAyB,OAAO,qBAAqB;;;;;;iBAM9E,4BAA4B,SAAS,sBAAsB,OAAO,aAAa,IAAI,aAAa,QAAQ,OAAO,4BAA4B;iBAC3I,8BAA8B"}
1
+ {"version":3,"file":"cli__commands__migration-list.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/commands/migration-list.d.mts"],"mappings":";;;;;;;;;;UASU,6BAA6B;WAC5B;WACA;WACA;WACA;;UAED;WACC,MAAM;WACN;WACA,WAAW;;UAEZ;WACC,WAAW;WACX;WACA;WACA,gBAAgB,oBAAoB;WACpC;;iBAEM,+BAA+B,QAAQ,qBAAqB,SAAS;;;;;;iBAMrE,4BAA4B,SAAS,sBAAsB,OAAO,aAAa,IAAI,aAAa,QAAQ,OAAO,4BAA4B;iBAC3I,8BAA8B"}
@@ -1,2 +1,2 @@
1
- import { a as renderMigrationListHumanOutput, i as migrationSpaceListEntriesFromAggregate, n as executeMigrationListCommand, o as runMigrationList, r as listRefsByContractHash, t as createMigrationListCommand } from "./migration-list-BFBeo1_X-ckYMhETH.mjs";
2
- export { createMigrationListCommand, executeMigrationListCommand, listRefsByContractHash, migrationSpaceListEntriesFromAggregate, renderMigrationListHumanOutput, runMigrationList };
1
+ import { n as executeMigrationListCommand, r as renderMigrationListHumanOutput, t as createMigrationListCommand } from "./migration-list-jk4iCtmO.mjs";
2
+ export { createMigrationListCommand, executeMigrationListCommand, renderMigrationListHumanOutput };
@@ -1,4 +1,4 @@
1
- import { t as CliStructuredError$1 } from "./types-DZWEs4si-D8UlyJI0.mjs";
1
+ import { t as CliStructuredError$1 } from "./cli-errors-CDr3WcJP-NFry5GHb.mjs";
2
2
  import { i as MigrationLogResult } from "./schemas-CeGMYFYX-h3OcU__O.mjs";
3
3
  import { n as GlobalFlags, t as CommonCommandOptions } from "./global-flags-BpoOYtNZ-CHZD3fud.mjs";
4
4
  import { n as TerminalUI } from "./terminal-ui-BN4QOsm5-Bf3pim46.mjs";
@@ -1,2 +1,2 @@
1
- import { n as executeMigrationLogCommand, t as createMigrationLogCommand } from "./migration-log-CS5IWcNq-DI7FTHCA.mjs";
1
+ import { n as executeMigrationLogCommand, t as createMigrationLogCommand } from "./migration-log-DQzUBrm8-D3m9wcuf.mjs";
2
2
  export { createMigrationLogCommand, executeMigrationLogCommand };
@@ -1,2 +1,2 @@
1
- import { t as createMigrationNewCommand } from "./migration-new-GmW2anVb.mjs";
1
+ import { t as createMigrationNewCommand } from "./migration-new-BkSY6m0t.mjs";
2
2
  export { createMigrationNewCommand };
@@ -1,54 +1,9 @@
1
1
  import { n as GlobalFlags } from "./global-flags-BpoOYtNZ-CHZD3fud.mjs";
2
+ import { i as MigrationPlanResult } from "./migration-plan-BsOYRogP-CC1UFAbu.mjs";
2
3
  import { Result } from "@prisma/orm-framework/utils/result";
3
- import { OperationPreview } from "@prisma/orm-framework/components/control";
4
4
  import { Command } from "commander";
5
5
  //#region ../../../1-framework/3-tooling/cli/dist/commands/migration-plan.d.mts
6
6
  //#region src/commands/migration-plan.d.ts
7
- interface MigrationPlanResult {
8
- readonly ok: boolean;
9
- readonly noOp: boolean;
10
- readonly from: string | null;
11
- readonly to: string;
12
- readonly dir?: string;
13
- readonly baselineDir?: string;
14
- /**
15
- * Extension-space migration packages materialised onto disk during this
16
- * `plan` run. Each entry names a `migrations/<spaceId>/<dirName>/`
17
- * tree the framework wrote alongside the app-space migration directory.
18
- * Empty when the project has no extension packs declaring a contract
19
- * space, or when every extension-space package is already on disk.
20
- *
21
- * Surfacing these in the result (rather than only via `ui.step` log
22
- * lines) makes the cross-space side effect explicit to JSON consumers
23
- * and the success-summary renderer — the same cross-space side effect
24
- * that `migrate` will replay.
25
- */
26
- readonly emittedExtensionDirs: readonly {
27
- readonly spaceId: string;
28
- readonly dirName: string;
29
- }[];
30
- readonly operations: readonly {
31
- readonly id: string;
32
- readonly label: string;
33
- readonly operationClass: string;
34
- }[];
35
- /**
36
- * Family-agnostic textual preview of the migration plan operations.
37
- * Replaces the previous `sql?: readonly string[]` field; consumers should
38
- * read `result.preview?.statements`.
39
- */
40
- readonly preview?: OperationPreview;
41
- readonly summary: string;
42
- /**
43
- * When true, `migration.ts` was written but contains unfilled
44
- * `placeholder(...)` calls. The user must edit the file and then run
45
- * `node migration.ts` to self-emit `ops.json` / `migration.json`.
46
- */
47
- readonly pendingPlaceholders?: boolean;
48
- readonly timings: {
49
- readonly total: number;
50
- };
51
- }
52
7
  declare function createMigrationPlanCommand(): Command;
53
8
  declare function formatMigrationPlanOutput(result: MigrationPlanResult, flags: GlobalFlags): string;
54
9
  type PrefixResolutionFailure = {
@@ -75,5 +30,5 @@ declare function resolveBundleByPrefix<T extends {
75
30
  };
76
31
  }>(bundles: readonly T[], needle: string): Result<T, PrefixResolutionFailure>;
77
32
  //#endregion
78
- export { MigrationPlanResult, PrefixResolutionFailure, createMigrationPlanCommand, formatMigrationPlanOutput, resolveBundleByPrefix };
33
+ export { PrefixResolutionFailure, createMigrationPlanCommand, formatMigrationPlanOutput, resolveBundleByPrefix };
79
34
  //# sourceMappingURL=cli__commands__migration-plan.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli__commands__migration-plan.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/commands/migration-plan.d.mts"],"mappings":";;;;;;UAKU;WACC;WACA;WACA;WACA;WACA;WACA;;;;;;;;;;;;;WAaA;aACE;aACA;;WAEF;aACE;aACA;aACA;;;;;;;WAOF,UAAU;WACV;;;;;;WAMA;WACA;aACE;;;iBAGI,8BAA8B;iBAC9B,0BAA0B,QAAQ,qBAAqB,OAAO;KAC1E;EACH;EACA;;EAEA;;;;;;;;;;;;;;iBAce,sBAAsB;EACrC;IACE;;GAED,kBAAkB,KAAK,iBAAiB,OAAO,GAAG"}
1
+ {"version":3,"file":"cli__commands__migration-plan.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/commands/migration-plan.d.mts"],"mappings":";;;;;;iBAKiB,8BAA8B;iBAC9B,0BAA0B,QAAQ,qBAAqB,OAAO;KAC1E;EACH;EACA;;EAEA;;;;;;;;;;;;;;iBAce,sBAAsB;EACrC;IACE;;GAED,kBAAkB,KAAK,iBAAiB,OAAO,GAAG"}
@@ -1,2 +1,2 @@
1
- import { n as formatMigrationPlanOutput, r as resolveBundleByPrefix, t as createMigrationPlanCommand } from "./migration-plan-q_L84PN1-ClkGgtVz.mjs";
1
+ import { n as formatMigrationPlanOutput, r as resolveBundleByPrefix, t as createMigrationPlanCommand } from "./migration-plan-CjIYMJZy.mjs";
2
2
  export { createMigrationPlanCommand, formatMigrationPlanOutput, resolveBundleByPrefix };
@@ -1,2 +1,2 @@
1
- import { t as createMigrationShowCommand } from "./migration-show--pW4XhKs.mjs";
1
+ import { t as createMigrationShowCommand } from "./migration-show-CW6EKtfw.mjs";
2
2
  export { createMigrationShowCommand };
@@ -1,4 +1,4 @@
1
- import { t as CliStructuredError$1 } from "./types-DZWEs4si-D8UlyJI0.mjs";
1
+ import { t as CliStructuredError$1 } from "./cli-errors-CDr3WcJP-NFry5GHb.mjs";
2
2
  import { c as MigrationStatusEntry, d as StatusDiagnosticJson, l as MigrationStatusResult, p as migrationStatusJsonResultSchema, u as MigrationStatusSpace } from "./schemas-CeGMYFYX-h3OcU__O.mjs";
3
3
  import { n as GlobalFlags, t as CommonCommandOptions } from "./global-flags-BpoOYtNZ-CHZD3fud.mjs";
4
4
  import { n as TerminalUI } from "./terminal-ui-BN4QOsm5-Bf3pim46.mjs";
@@ -1,3 +1,3 @@
1
1
  import { n as migrationStatusJsonResultSchema } from "./schemas-KhXMzNA_-CzZ7GFX_.mjs";
2
- import { a as formatStatusHumanOutput, i as executeMigrationStatusCommand, n as buildStatusHeadline, o as formatStatusSummary, r as createMigrationStatusCommand, t as buildNoPathSummary } from "./migration-status-CE7cQLDq-P1x1-BsZ.mjs";
2
+ import { a as formatStatusHumanOutput, i as executeMigrationStatusCommand, n as buildStatusHeadline, o as formatStatusSummary, r as createMigrationStatusCommand, t as buildNoPathSummary } from "./migration-status-DSQcBhiN.mjs";
3
3
  export { buildNoPathSummary, buildStatusHeadline, createMigrationStatusCommand, executeMigrationStatusCommand, formatStatusHumanOutput, formatStatusSummary, migrationStatusJsonResultSchema };
@@ -1,34 +1,7 @@
1
- import { n as RefEntry } from "./refs-BNCUu58Y-BIso5Jfg.mjs";
2
- import { t as CliStructuredError$1 } from "./types-DZWEs4si-D8UlyJI0.mjs";
3
- import { Result } from "@prisma/orm-framework/utils/result";
4
1
  import { Command } from "commander";
5
2
  //#region ../../../1-framework/3-tooling/cli/dist/commands/ref.d.mts
6
3
  //#region src/commands/ref.d.ts
7
- interface RefSetResult {
8
- readonly ok: true;
9
- readonly ref: string;
10
- readonly hash: string;
11
- readonly invariants: readonly string[];
12
- }
13
- interface RefDeleteResult {
14
- readonly ok: true;
15
- readonly ref: string;
16
- readonly deleted: true;
17
- }
18
- interface RefListResult {
19
- readonly ok: true;
20
- readonly refs: Record<string, RefEntry>;
21
- }
22
- declare function executeRefSetCommand(name: string, contractInput: string, options: {
23
- config?: string;
24
- }): Promise<Result<RefSetResult, CliStructuredError$1>>;
25
- declare function executeRefDeleteCommand(name: string, options: {
26
- config?: string;
27
- }): Promise<Result<RefDeleteResult, CliStructuredError$1>>;
28
- declare function executeRefListCommand(options: {
29
- config?: string;
30
- }): Promise<Result<RefListResult, CliStructuredError$1>>;
31
4
  declare function createRefCommand(): Command;
32
5
  //#endregion
33
- export { createRefCommand, executeRefDeleteCommand, executeRefListCommand, executeRefSetCommand };
6
+ export { createRefCommand };
34
7
  //# sourceMappingURL=cli__commands__ref.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli__commands__ref.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/commands/ref.d.mts"],"mappings":";;;;;;UAKU;WACC;WACA;WACA;WACA;;UAED;WACC;WACA;WACA;;UAED;WACC;WACA,MAAM,eAAe;;iBAEf,qBAAqB,cAAc,uBAAuB;EACzE;IACE,QAAQ,OAAO,cAAc;iBAChB,wBAAwB,cAAc;EACrD;IACE,QAAQ,OAAO,iBAAiB;iBACnB,sBAAsB;EACrC;IACE,QAAQ,OAAO,eAAe;iBACjB,oBAAoB"}
1
+ {"version":3,"file":"cli__commands__ref.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/commands/ref.d.mts"],"mappings":";;;iBAEiB,oBAAoB"}
@@ -1,2 +1,2 @@
1
- import { i as executeRefSetCommand, n as executeRefDeleteCommand, r as executeRefListCommand, t as createRefCommand } from "./ref-sHE8zOcm.mjs";
2
- export { createRefCommand, executeRefDeleteCommand, executeRefListCommand, executeRefSetCommand };
1
+ import { t as createRefCommand } from "./ref-DSAZime8.mjs";
2
+ export { createRefCommand };
@@ -1,2 +1,2 @@
1
- import { t as createTelemetryCommand } from "./telemetry-CmbCa3Ld-CmE5zcIG.mjs";
1
+ import { t as createTelemetryCommand } from "./telemetry-DVBHDQd6-Ckn5oClN.mjs";
2
2
  export { createTelemetryCommand };