@prisma/orm-toolchain 8.0.0-rc.1-dev.25 → 8.0.0-rc.1-dev.26
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.
- package/dist/bin__prisma-next.mjs +24 -24
- package/dist/bin__prisma-next.mjs.map +1 -1
- package/dist/{caught-errors-nYuTn3NK-DkD-ZrDr.mjs → caught-errors-B_oGFiYw-BqX49eW0.mjs} +3 -3
- package/dist/{caught-errors-nYuTn3NK-DkD-ZrDr.mjs.map → caught-errors-B_oGFiYw-BqX49eW0.mjs.map} +1 -1
- package/dist/{cli-errors-C7vbvQuK-DLpSxz4U.d.mts → cli-errors-C8DGzS94-CPP3UmRT.d.mts} +6 -5
- package/dist/cli-errors-C8DGzS94-CPP3UmRT.d.mts.map +1 -0
- package/dist/{cli-errors-kU09RUaz-CUkQ9XuM.mjs → cli-errors-CihMAEVj-C1uUYBop.mjs} +122 -28
- package/dist/cli-errors-CihMAEVj-C1uUYBop.mjs.map +1 -0
- package/dist/cli.mjs +383 -14
- package/dist/cli.mjs.map +1 -1
- package/dist/cli__commands__contract-emit.mjs +1 -1
- package/dist/cli__commands__contract-infer.mjs +1 -1
- package/dist/cli__commands__db-init.mjs +1 -1
- package/dist/cli__commands__db-schema.mjs +1 -1
- package/dist/cli__commands__db-sign.mjs +1 -1
- package/dist/cli__commands__db-update.mjs +1 -1
- package/dist/cli__commands__db-verify.mjs +1 -1
- package/dist/cli__commands__migrate.d.mts +2 -2
- package/dist/cli__commands__migrate.mjs +1 -1
- package/dist/cli__commands__migration-check.d.mts +1 -1
- package/dist/cli__commands__migration-check.mjs +2 -2
- package/dist/cli__commands__migration-graph.d.mts +12 -10
- package/dist/cli__commands__migration-graph.d.mts.map +1 -1
- package/dist/cli__commands__migration-graph.mjs +1 -1
- package/dist/cli__commands__migration-list.d.mts +4 -4
- package/dist/cli__commands__migration-list.mjs +1 -1
- package/dist/cli__commands__migration-log.d.mts +4 -4
- package/dist/cli__commands__migration-log.mjs +1 -1
- package/dist/cli__commands__migration-new.mjs +1 -1
- package/dist/cli__commands__migration-plan.d.mts +1 -1
- package/dist/cli__commands__migration-plan.mjs +1 -1
- package/dist/cli__commands__migration-show.d.mts +1 -1
- package/dist/cli__commands__migration-show.mjs +1 -1
- package/dist/cli__commands__migration-status.d.mts +4 -4
- package/dist/cli__commands__migration-status.mjs +2 -2
- package/dist/cli__commands__ref.mjs +1 -1
- package/dist/cli__commands__telemetry.mjs +1 -1
- package/dist/cli__control-api.d.mts +33 -31
- package/dist/cli__control-api.d.mts.map +1 -1
- package/dist/cli__control-api.mjs +15 -15
- package/dist/cli__control-api__testing.d.mts +1 -1
- package/dist/{client-milNsAnF-B92uF3yv.mjs → client-CaIWFVnh-PVaTEvdx.mjs} +5 -5
- package/dist/{client-milNsAnF-B92uF3yv.mjs.map → client-CaIWFVnh-PVaTEvdx.mjs.map} +1 -1
- package/dist/{command-helpers-bGYd7Aab-BNSzfbHK.mjs → command-helpers-DutQjYgy-CDfFwtAa.mjs} +16 -5
- package/dist/{command-helpers-bGYd7Aab-BNSzfbHK.mjs.map → command-helpers-DutQjYgy-CDfFwtAa.mjs.map} +1 -1
- package/dist/{contract-at-errors-BTeDEXm4-BAIDia2-.mjs → contract-at-errors-BsQiGdZC-BY8u2is4.mjs} +3 -3
- package/dist/{contract-at-errors-BTeDEXm4-BAIDia2-.mjs.map → contract-at-errors-BsQiGdZC-BY8u2is4.mjs.map} +1 -1
- package/dist/contract-emit-BAfPwP3y-DfV1Stry.mjs +2 -0
- package/dist/{contract-emit-Ci-8sP-b-QzQXK2xQ.mjs → contract-emit-BJDLPMxp-qaGmQUQr.mjs} +6 -6
- package/dist/{contract-emit-Ci-8sP-b-QzQXK2xQ.mjs.map → contract-emit-BJDLPMxp-qaGmQUQr.mjs.map} +1 -1
- package/dist/{contract-emit-Bdf4DAR4-lKqkbfZT.mjs → contract-emit-WIAaN0lC-DKOdtrUQ.mjs} +5 -5
- package/dist/{contract-emit-Bdf4DAR4-lKqkbfZT.mjs.map → contract-emit-WIAaN0lC-DKOdtrUQ.mjs.map} +1 -1
- package/dist/{contract-infer-hhyMJiwS-BJ5cYC9P.mjs → contract-infer-B929dnCJ-KkT9frLY.mjs} +5 -5
- package/dist/{contract-infer-hhyMJiwS-BJ5cYC9P.mjs.map → contract-infer-B929dnCJ-KkT9frLY.mjs.map} +1 -1
- package/dist/{contract-snapshot-resolution-CyvX0DPz-BBQI_70j.mjs → contract-snapshot-resolution-D2f9kGs0-BenF4tbi.mjs} +4 -4
- package/dist/{contract-snapshot-resolution-CyvX0DPz-BBQI_70j.mjs.map → contract-snapshot-resolution-D2f9kGs0-BenF4tbi.mjs.map} +1 -1
- package/dist/{contract-space-aggregate-loader-DOzo1sk9-CCPCubsg.mjs → contract-space-aggregate-loader-sF0OJ6oz-jRjdZoyZ.mjs} +4 -4
- package/dist/{contract-space-aggregate-loader-DOzo1sk9-CCPCubsg.mjs.map → contract-space-aggregate-loader-sF0OJ6oz-jRjdZoyZ.mjs.map} +1 -1
- package/dist/{db-init-3CbSYxRI-BlTkWh8n.mjs → db-init-CU_x-p2M-_6oEFLiG.mjs} +7 -7
- package/dist/db-init-CU_x-p2M-_6oEFLiG.mjs.map +1 -0
- package/dist/{db-schema-BVLbe3EL-WLnbuo77.mjs → db-schema-BKAn8UrM-DP4k7BAB.mjs} +6 -6
- package/dist/{db-schema-BVLbe3EL-WLnbuo77.mjs.map → db-schema-BKAn8UrM-DP4k7BAB.mjs.map} +1 -1
- package/dist/{db-sign-Cdw2RmoG-C-X5UheR.mjs → db-sign-BQF-jVXg-D467Bhpj.mjs} +9 -9
- package/dist/db-sign-BQF-jVXg-D467Bhpj.mjs.map +1 -0
- package/dist/{db-update-BHOdo8PV-BVBNKrJc.mjs → db-update-B0_Q4ykE-CT9vcaMu.mjs} +8 -8
- package/dist/db-update-B0_Q4ykE-CT9vcaMu.mjs.map +1 -0
- package/dist/{db-verify-C9P9oNCs-gieY7hV2.mjs → db-verify-C0DJc8z6-f3gZeEMD.mjs} +9 -9
- package/dist/db-verify-C0DJc8z6-f3gZeEMD.mjs.map +1 -0
- package/dist/{format-Ddhz7xFW-Bo1nhay8.mjs → format-SYdHyutg-IqXk-tDV.mjs} +5 -5
- package/dist/{format-Ddhz7xFW-Bo1nhay8.mjs.map → format-SYdHyutg-IqXk-tDV.mjs.map} +1 -1
- package/dist/{framework-components-Cruf6BPK-CaQvMI3T.mjs → framework-components-CXxMNF8E-C-g2cchI.mjs} +3 -3
- package/dist/{framework-components-Cruf6BPK-CaQvMI3T.mjs.map → framework-components-CXxMNF8E-C-g2cchI.mjs.map} +1 -1
- package/dist/{init-DjdnLDyf-2nVOeVG9.mjs → init-BvE3r7P6-CjJraEPP.mjs} +5 -5
- package/dist/{init-DjdnLDyf-2nVOeVG9.mjs.map → init-BvE3r7P6-CjJraEPP.mjs.map} +1 -1
- package/dist/{inspect-live-schema-BEQun_1x-CZpCgg8A.mjs → inspect-live-schema-D8d7aI6a-_Q_4S5wm.mjs} +6 -6
- package/dist/inspect-live-schema-D8d7aI6a-_Q_4S5wm.mjs.map +1 -0
- package/dist/{invariants-D5TNnX5E-rjPoJGFq.mjs → invariants-TW5CizTS-BsIpi4h4.mjs} +4 -4
- package/dist/{invariants-D5TNnX5E-rjPoJGFq.mjs.map → invariants-TW5CizTS-BsIpi4h4.mjs.map} +1 -1
- package/dist/{legend-BBtAETiW-BHqTbUjx.mjs → legend-QYDKKevn-DCIlAPn4.mjs} +3 -3
- package/dist/{legend-BBtAETiW-BHqTbUjx.mjs.map → legend-QYDKKevn-DCIlAPn4.mjs.map} +1 -1
- package/dist/{migrate-show-CUymfnbM-BbpcO2FY.mjs → migrate-show-C-fdCznr-BH88FGVn.mjs} +7 -7
- package/dist/migrate-show-C-fdCznr-BH88FGVn.mjs.map +1 -0
- package/dist/{migrate-show-g71Z4vJw-ocdTvf70.d.mts → migrate-show-DWIvU6Y_-BQyWhZD1.d.mts} +4 -4
- package/dist/{migrate-show-g71Z4vJw-ocdTvf70.d.mts.map → migrate-show-DWIvU6Y_-BQyWhZD1.d.mts.map} +1 -1
- package/dist/{migrate-B-hpVTxi-DJzFYT2w.mjs → migrate-vNMZJk7M-DKogRyOh.mjs} +14 -14
- package/dist/migrate-vNMZJk7M-DKogRyOh.mjs.map +1 -0
- package/dist/{migration-check-DHYPMUFe-Cni_ZUzB.mjs → migration-check-C-2GTAGq-Duc0P6Uo.mjs} +16 -16
- package/dist/migration-check-C-2GTAGq-Duc0P6Uo.mjs.map +1 -0
- package/dist/{migration-check-zgqYe3SB-B6LI6wY7.mjs → migration-check-DATj3HSn-Del6ZSln.mjs} +26 -21
- package/dist/migration-check-DATj3HSn-Del6ZSln.mjs.map +1 -0
- package/dist/{migration-command-scaffold-DsT7ke7B-D3u913Po.mjs → migration-command-scaffold-BezR8GWB-BZFB2PC-.mjs} +5 -5
- package/dist/{migration-command-scaffold-DsT7ke7B-D3u913Po.mjs.map → migration-command-scaffold-BezR8GWB-BZFB2PC-.mjs.map} +1 -1
- package/dist/{migration-graph-Dm9gU0oE-DxPD_SNA.mjs → migration-graph-B1mg_jel-HVG6FLD0.mjs} +20 -62
- package/dist/migration-graph-B1mg_jel-HVG6FLD0.mjs.map +1 -0
- package/dist/{migration-graph-CChCjts3-ERrIm5aT.mjs → migration-graph-BtP1Va3T-CMOZgqVW.mjs} +3 -3
- package/dist/{migration-graph-CChCjts3-ERrIm5aT.mjs.map → migration-graph-BtP1Va3T-CMOZgqVW.mjs.map} +1 -1
- package/dist/migration-graph-sections-BVqyqBHg-DAwWjIIf.mjs +67 -0
- package/dist/migration-graph-sections-BVqyqBHg-DAwWjIIf.mjs.map +1 -0
- package/dist/{migration-list-Bkase_ZM-D-bErpSr.mjs → migration-list-AKRIIovW-Cr39jOaI.mjs} +3 -3
- package/dist/{migration-list-Bkase_ZM-D-bErpSr.mjs.map → migration-list-AKRIIovW-Cr39jOaI.mjs.map} +1 -1
- package/dist/{migration-list-DDGUTC8Y-B_X7rkez.mjs → migration-list-RSlyGyvD-KKmZtdY1.mjs} +7 -7
- package/dist/{migration-list-DDGUTC8Y-B_X7rkez.mjs.map → migration-list-RSlyGyvD-KKmZtdY1.mjs.map} +1 -1
- package/dist/migration-log-CBfOcyPC-DTqCL1cs.mjs +123 -0
- package/dist/migration-log-CBfOcyPC-DTqCL1cs.mjs.map +1 -0
- package/dist/{migration-log-Cft50PRu-DcnHdxT4.mjs → migration-log-table-C0dSMG9T-BhBYrdka.mjs} +4 -120
- package/dist/migration-log-table-C0dSMG9T-BhBYrdka.mjs.map +1 -0
- package/dist/{migration-new-D9GHbYwF-C8D22HXG.mjs → migration-new-1LYliIXy-BK_Xz0Z6.mjs} +5 -5
- package/dist/{migration-new-D9GHbYwF-C8D22HXG.mjs.map → migration-new-1LYliIXy-BK_Xz0Z6.mjs.map} +1 -1
- package/dist/{migration-new-RorO1I8r-Ch8NQ4GQ.mjs → migration-new-DcPO4tiw-Bew7S-bj.mjs} +7 -7
- package/dist/{migration-new-RorO1I8r-Ch8NQ4GQ.mjs.map → migration-new-DcPO4tiw-Bew7S-bj.mjs.map} +1 -1
- package/dist/{migration-path-target-DhGt62Mi-dm4TU1hJ.mjs → migration-path-target-yA4h5Zc6-DlzBblBG.mjs} +7 -7
- package/dist/migration-path-target-yA4h5Zc6-DlzBblBG.mjs.map +1 -0
- package/dist/{migration-plan-BOhasCLr-GJWYoOA8.mjs → migration-plan-B0z2Qpa5-6b1SJSsb.mjs} +5 -5
- package/dist/{migration-plan-BOhasCLr-GJWYoOA8.mjs.map → migration-plan-B0z2Qpa5-6b1SJSsb.mjs.map} +1 -1
- package/dist/{migration-plan-DrCTzrXH-CDJbdiC6.mjs → migration-plan-Cb7s5Ifx-Bwa2O0Ov.mjs} +8 -8
- package/dist/{migration-plan-DrCTzrXH-CDJbdiC6.mjs.map → migration-plan-Cb7s5Ifx-Bwa2O0Ov.mjs.map} +1 -1
- package/dist/{migration-plan-t2e_8yD2-w5Ffa0V_.d.mts → migration-plan-s94qwFHi-86F_Aklp.d.mts} +4 -4
- package/dist/{migration-plan-t2e_8yD2-w5Ffa0V_.d.mts.map → migration-plan-s94qwFHi-86F_Aklp.d.mts.map} +1 -1
- package/dist/{migration-show-DRARjIbv-1p6EE_Uw.mjs → migration-show-BRy1GVBE-NuwoczhZ.mjs} +13 -22
- package/dist/migration-show-BRy1GVBE-NuwoczhZ.mjs.map +1 -0
- package/dist/{migration-status-Yh0eOQJN-YpcPDpNh.mjs → migration-status-Dob4onB1-0YkQF25g.mjs} +12 -12
- package/dist/migration-status-Dob4onB1-0YkQF25g.mjs.map +1 -0
- package/dist/{project-import-root--e8xli8Z-Bfrvrv67.mjs → project-import-root-Bkz1gPB2-jhrMFebo.mjs} +3 -3
- package/dist/{project-import-root--e8xli8Z-Bfrvrv67.mjs.map → project-import-root-Bkz1gPB2-jhrMFebo.mjs.map} +1 -1
- package/dist/{ref-Cu7Zc1Hv-_R4MnDfr.mjs → ref-B643Z0CS-CoJgdv7h.mjs} +5 -5
- package/dist/{ref-Cu7Zc1Hv-_R4MnDfr.mjs.map → ref-B643Z0CS-CoJgdv7h.mjs.map} +1 -1
- package/dist/{ref-BQcl8Ksv-BYZY0Ktb.mjs → ref-D9J4TNYz-Dk7HCAoq.mjs} +5 -5
- package/dist/{ref-BQcl8Ksv-BYZY0Ktb.mjs.map → ref-D9J4TNYz-Dk7HCAoq.mjs.map} +1 -1
- package/dist/{ref-resolution-BYCRg72z-DFhwf-XR.mjs → ref-resolution-Bi4lpxM8-BX-7sl0f.mjs} +3 -3
- package/dist/{ref-resolution-BYCRg72z-DFhwf-XR.mjs.map → ref-resolution-Bi4lpxM8-BX-7sl0f.mjs.map} +1 -1
- package/dist/{schemas-KhXMzNA_-CzZ7GFX_.mjs → schemas-BMkqaqvM-CLaqlat4.mjs} +9 -3
- package/dist/{schemas-KhXMzNA_-CzZ7GFX_.mjs.map → schemas-BMkqaqvM-CLaqlat4.mjs.map} +1 -1
- package/dist/{schemas-CeGMYFYX-h3OcU__O.d.mts → schemas-Bm2e3Hk1-qLKF0B36.d.mts} +16 -4
- package/dist/{schemas-CeGMYFYX-h3OcU__O.d.mts.map → schemas-Bm2e3Hk1-qLKF0B36.d.mts.map} +1 -1
- package/dist/{telemetry-Dh6e0ams-BsjGN3tQ.mjs → telemetry-DFEbk6sD-BYEW2bCJ.mjs} +4 -4
- package/dist/{telemetry-Dh6e0ams-BsjGN3tQ.mjs.map → telemetry-DFEbk6sD-BYEW2bCJ.mjs.map} +1 -1
- package/dist/{terminal-ui-ypPE9cN6-ilMBkmwT.mjs → terminal-ui-DQNCDg2u-B3PFqjB8.mjs} +10 -3
- package/dist/terminal-ui-DQNCDg2u-B3PFqjB8.mjs.map +1 -0
- package/dist/{verify-DBsKxZrK-eDPxNiSS.mjs → verify-TphNCyMu-h8vrnbud.mjs} +3 -3
- package/dist/{verify-DBsKxZrK-eDPxNiSS.mjs.map → verify-TphNCyMu-h8vrnbud.mjs.map} +1 -1
- package/dist/vite-plugin-contract-emit.mjs +1 -1
- package/package.json +12 -12
- package/dist/cli-errors-C7vbvQuK-DLpSxz4U.d.mts.map +0 -1
- package/dist/cli-errors-kU09RUaz-CUkQ9XuM.mjs.map +0 -1
- package/dist/contract-emit-E6m8HE42-Bfiodzf_.mjs +0 -2
- package/dist/db-init-3CbSYxRI-BlTkWh8n.mjs.map +0 -1
- package/dist/db-sign-Cdw2RmoG-C-X5UheR.mjs.map +0 -1
- package/dist/db-update-BHOdo8PV-BVBNKrJc.mjs.map +0 -1
- package/dist/db-verify-C9P9oNCs-gieY7hV2.mjs.map +0 -1
- package/dist/inspect-live-schema-BEQun_1x-CZpCgg8A.mjs.map +0 -1
- package/dist/migrate-B-hpVTxi-DJzFYT2w.mjs.map +0 -1
- package/dist/migrate-show-CUymfnbM-BbpcO2FY.mjs.map +0 -1
- package/dist/migration-check-DHYPMUFe-Cni_ZUzB.mjs.map +0 -1
- package/dist/migration-check-zgqYe3SB-B6LI6wY7.mjs.map +0 -1
- package/dist/migration-graph-Dm9gU0oE-DxPD_SNA.mjs.map +0 -1
- package/dist/migration-log-Cft50PRu-DcnHdxT4.mjs.map +0 -1
- package/dist/migration-path-target-DhGt62Mi-dm4TU1hJ.mjs.map +0 -1
- package/dist/migration-show-DRARjIbv-1p6EE_Uw.mjs.map +0 -1
- package/dist/migration-status-Yh0eOQJN-YpcPDpNh.mjs.map +0 -1
- package/dist/terminal-ui-ypPE9cN6-ilMBkmwT.mjs.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as Refs, n as RefEntry } from "./refs-BNCUu58Y-BIso5Jfg.mjs";
|
|
2
2
|
import { n as MigrationGraph } from "./graph-bDjJ4GL9-BhFevsJS.mjs";
|
|
3
3
|
import { r as MigrationRef, t as ContractRef } from "./ref-resolution-COGOSL57.mjs";
|
|
4
|
-
import { C as EmitSuccess, E as IntrospectOptions, M as SignOptions, N as VerifyOptions, P as executeDbVerify, S as EmitResult, T as ExecuteDbVerifyResult, _ as DbUpdateSuccess, a as ControlClient, b as EmitFailureCode, c as DbInitFailure, d as DbInitResult, f as DbInitSuccess, g as DbUpdateResult, h as DbUpdateOptions, i as ControlActionName, j as SchemaVerifyOptions, k as OnControlProgress, l as DbInitFailureCode, m as DbUpdateFailureCode, n as ContractEmitOptions, o as ControlClientOptions, p as DbUpdateFailure, r as ContractEmitResult, s as ControlProgressEvent, t as CliStructuredError$
|
|
4
|
+
import { C as EmitSuccess, E as IntrospectOptions, M as SignOptions, N as VerifyOptions, P as executeDbVerify, S as EmitResult, T as ExecuteDbVerifyResult, _ as DbUpdateSuccess, a as ControlClient, b as EmitFailureCode, c as DbInitFailure, d as DbInitResult, f as DbInitSuccess, g as DbUpdateResult, h as DbUpdateOptions, i as ControlActionName, j as SchemaVerifyOptions, k as OnControlProgress, l as DbInitFailureCode, m as DbUpdateFailureCode, n as ContractEmitOptions, o as ControlClientOptions, p as DbUpdateFailure, r as ContractEmitResult, s as ControlProgressEvent, t as CliStructuredError$2, u as DbInitOptions, v as EmitContractConfig, w as ExecuteDbVerifyOptions, x as EmitOptions, y as EmitFailure } from "./cli-errors-C8DGzS94-CPP3UmRT.mjs";
|
|
5
5
|
import { n as OnDiskMigrationPackage } from "./package-CfWiDNrr-ZR4HM_Iz.mjs";
|
|
6
6
|
import { c as ContractSpaceAggregate, d as IntegrityQueryOptions, p as IntegrityViolation, t as AggregateContractSpace } from "./aggregate-CA6bJ8UO.mjs";
|
|
7
|
-
import { i as executeMigrateShowPlan, n as MigrateShowMigration, r as MigrateShowPlanSuccess, t as ExecuteMigrateShowPlanOptions } from "./migrate-show-
|
|
8
|
-
import { n as MigrationCheckResult, o as MigrationSpaceGraphEntry, r as MigrationListResult, s as MigrationSpaceListEntry } from "./schemas-
|
|
7
|
+
import { i as executeMigrateShowPlan, n as MigrateShowMigration, r as MigrateShowPlanSuccess, t as ExecuteMigrateShowPlanOptions } from "./migrate-show-DWIvU6Y_-BQyWhZD1.mjs";
|
|
8
|
+
import { n as MigrationCheckResult, o as MigrationSpaceGraphEntry, r as MigrationListResult, s as MigrationSpaceListEntry } from "./schemas-Bm2e3Hk1-qLKF0B36.mjs";
|
|
9
9
|
import { t as CommonCommandOptions } from "./global-flags-BpoOYtNZ-CHZD3fud.mjs";
|
|
10
10
|
import "./package-N9PPdFV_.mjs";
|
|
11
|
-
import { a as executeMigrationPlanCommand, i as MigrationPlanResult, n as ContractSpaceSeedPhaseRecord, o as runContractSpaceSeedPhase, r as ContractSpaceSeedPhaseResult, t as ContractSpaceSeedPhaseInputs } from "./migration-plan-
|
|
11
|
+
import { a as executeMigrationPlanCommand, i as MigrationPlanResult, n as ContractSpaceSeedPhaseRecord, o as runContractSpaceSeedPhase, r as ContractSpaceSeedPhaseResult, t as ContractSpaceSeedPhaseInputs } from "./migration-plan-s94qwFHi-86F_Aklp.mjs";
|
|
12
12
|
import { r as PrismaNextConfig$1 } from "./index-mCsi_ND5.mjs";
|
|
13
13
|
import { TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
|
|
14
14
|
import { ControlAdapterInstance, ControlDriverInstance, ControlExtensionDescriptor, ControlFamilyInstance, ControlStack, SignDatabaseResult, TargetMigrationsCapability, VerifyDatabaseResult, VerifyDatabaseSchemaResult } from "@prisma/orm-framework/components/control";
|
|
@@ -37,12 +37,12 @@ declare function enrichContract(ir: Contract, components: ReadonlyArray<TargetBo
|
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/control-api/operations/caught-errors.d.ts
|
|
39
39
|
/** CliStructuredError (including MigrationToolsError) → identity; anything else → null (caller rethrows/wraps). */
|
|
40
|
-
declare function mapCaughtMigrationError(error: unknown): CliStructuredError$
|
|
40
|
+
declare function mapCaughtMigrationError(error: unknown): CliStructuredError$2 | null;
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/control-api/operations/contract-at-errors.d.ts
|
|
43
43
|
declare function mapContractAtError(error: unknown, options?: {
|
|
44
44
|
readonly artifactRole?: 'from' | 'to';
|
|
45
|
-
}): Result<never, CliStructuredError$
|
|
45
|
+
}): Result<never, CliStructuredError$2>;
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/control-api/operations/contract-emit.d.ts
|
|
48
48
|
/**
|
|
@@ -98,7 +98,7 @@ interface ResolveContractRefToSnapshotSuccess {
|
|
|
98
98
|
readonly contractJsonPath: string;
|
|
99
99
|
readonly source: 'snapshot' | 'emitted';
|
|
100
100
|
}
|
|
101
|
-
declare function resolveContractRefToSnapshot(options: ResolveContractRefToSnapshotOptions): Promise<Result<ResolveContractRefToSnapshotSuccess, CliStructuredError$
|
|
101
|
+
declare function resolveContractRefToSnapshot(options: ResolveContractRefToSnapshotOptions): Promise<Result<ResolveContractRefToSnapshotSuccess, CliStructuredError$2>>;
|
|
102
102
|
//#endregion
|
|
103
103
|
//#region src/control-api/operations/contract-space-aggregate-loader.d.ts
|
|
104
104
|
/**
|
|
@@ -114,7 +114,7 @@ declare function resolveContractRefToSnapshot(options: ResolveContractRefToSnaps
|
|
|
114
114
|
* target mismatch, then disjointness, then a contract-validation
|
|
115
115
|
* failure, then any remaining structural integrity violation.
|
|
116
116
|
*/
|
|
117
|
-
declare function mapIntegrityViolations(violations: readonly IntegrityViolation[]): CliStructuredError$
|
|
117
|
+
declare function mapIntegrityViolations(violations: readonly IntegrityViolation[]): CliStructuredError$2 | null;
|
|
118
118
|
/**
|
|
119
119
|
* Inputs needed to compose the aggregate loader at the CLI surface.
|
|
120
120
|
*
|
|
@@ -133,26 +133,26 @@ interface BuildAggregateInputs<TFamilyId extends string, TTargetId extends strin
|
|
|
133
133
|
* Reject extension descriptors whose configured target disagrees with
|
|
134
134
|
* the project target before any on-disk read.
|
|
135
135
|
*/
|
|
136
|
-
declare function refuseDeclaredExtensionTargetMismatch<TFamilyId extends string, TTargetId extends string>(inputs: BuildAggregateInputs<TFamilyId, TTargetId>): CliStructuredError$
|
|
136
|
+
declare function refuseDeclaredExtensionTargetMismatch<TFamilyId extends string, TTargetId extends string>(inputs: BuildAggregateInputs<TFamilyId, TTargetId>): CliStructuredError$2 | null;
|
|
137
137
|
/**
|
|
138
138
|
* Load the tolerant {@link ContractSpaceAggregate} once at the CLI
|
|
139
139
|
* surface. Construction never throws on disk content; callers query
|
|
140
140
|
* {@link ContractSpaceAggregate.app} / extension facets instead of
|
|
141
141
|
* re-reading `migrations/`.
|
|
142
142
|
*/
|
|
143
|
-
declare function loadContractSpaceAggregateForCli<TFamilyId extends string, TTargetId extends string>(inputs: BuildAggregateInputs<TFamilyId, TTargetId>): Promise<Result<ContractSpaceAggregate, CliStructuredError$
|
|
143
|
+
declare function loadContractSpaceAggregateForCli<TFamilyId extends string, TTargetId extends string>(inputs: BuildAggregateInputs<TFamilyId, TTargetId>): Promise<Result<ContractSpaceAggregate, CliStructuredError$2>>;
|
|
144
144
|
/**
|
|
145
145
|
* Run `checkIntegrity` on a loaded aggregate and map violations into
|
|
146
146
|
* the contract-space refusal envelope, or return `null` when the model
|
|
147
147
|
* is acceptable for the requested check scope.
|
|
148
148
|
*/
|
|
149
|
-
declare function refuseContractSpaceIntegrity(aggregate: ContractSpaceAggregate, options: IntegrityQueryOptions): CliStructuredError$
|
|
149
|
+
declare function refuseContractSpaceIntegrity(aggregate: ContractSpaceAggregate, options: IntegrityQueryOptions): CliStructuredError$2 | null;
|
|
150
150
|
/**
|
|
151
151
|
* Reader-subset integrity refusal for `migration status`: package
|
|
152
152
|
* corruptions only (`hashMismatch`, `providedInvariantsMismatch`,
|
|
153
153
|
* `packageUnloadable`).
|
|
154
154
|
*/
|
|
155
|
-
declare function refusePackageCorruptionOnAggregate(aggregate: ContractSpaceAggregate): CliStructuredError$
|
|
155
|
+
declare function refusePackageCorruptionOnAggregate(aggregate: ContractSpaceAggregate): CliStructuredError$2 | null;
|
|
156
156
|
/**
|
|
157
157
|
* Construct the tolerant {@link ContractSpaceAggregate} at the CLI
|
|
158
158
|
* surface and apply the explicit integrity refusal.
|
|
@@ -160,7 +160,7 @@ declare function refusePackageCorruptionOnAggregate(aggregate: ContractSpaceAggr
|
|
|
160
160
|
* App-space migration packages are read from `migrations/<app>/` by the
|
|
161
161
|
* loader itself; callers no longer thread them through.
|
|
162
162
|
*/
|
|
163
|
-
declare function buildContractSpaceAggregate<TFamilyId extends string, TTargetId extends string>(inputs: BuildAggregateInputs<TFamilyId, TTargetId>): Promise<Result<ContractSpaceAggregate, CliStructuredError$
|
|
163
|
+
declare function buildContractSpaceAggregate<TFamilyId extends string, TTargetId extends string>(inputs: BuildAggregateInputs<TFamilyId, TTargetId>): Promise<Result<ContractSpaceAggregate, CliStructuredError$2>>;
|
|
164
164
|
/**
|
|
165
165
|
* Build a minimal app {@link Contract} carrying only the project's
|
|
166
166
|
* contract-identity (`storage.storageHash` + `target` / `targetFamily`)
|
|
@@ -195,7 +195,7 @@ declare function buildReadAggregate(config: PrismaNextConfig, options: {
|
|
|
195
195
|
}): Promise<Result<{
|
|
196
196
|
readonly aggregate: ContractSpaceAggregate;
|
|
197
197
|
readonly contractHash: string;
|
|
198
|
-
}, CliStructuredError$
|
|
198
|
+
}, CliStructuredError$2>>;
|
|
199
199
|
//#endregion
|
|
200
200
|
//#region src/control-api/operations/db-init.d.ts
|
|
201
201
|
/**
|
|
@@ -296,7 +296,7 @@ declare function hasMigrationPath(graph: MigrationGraph, fromHash: string, toHas
|
|
|
296
296
|
declare function refuseMarkerOutsideGraph(args: {
|
|
297
297
|
readonly markerHash: string;
|
|
298
298
|
readonly graph: MigrationGraph;
|
|
299
|
-
}): CliStructuredError$
|
|
299
|
+
}): CliStructuredError$2 | null;
|
|
300
300
|
//#endregion
|
|
301
301
|
//#region src/control-api/operations/invariants.d.ts
|
|
302
302
|
/** Refuses ref invariants neither declared on any graph edge nor present on the live marker. */
|
|
@@ -305,7 +305,7 @@ declare function refuseUnknownInvariants(args: {
|
|
|
305
305
|
readonly markerInvariants: readonly string[];
|
|
306
306
|
readonly refInvariants: readonly string[];
|
|
307
307
|
readonly refName?: string;
|
|
308
|
-
}): CliStructuredError$
|
|
308
|
+
}): CliStructuredError$2 | null;
|
|
309
309
|
/** Refuses a --to target whose missing invariants no path from originHash satisfies. */
|
|
310
310
|
declare function refuseMissingInvariantPath(args: {
|
|
311
311
|
readonly graph: MigrationGraph;
|
|
@@ -313,7 +313,7 @@ declare function refuseMissingInvariantPath(args: {
|
|
|
313
313
|
readonly targetHash: string;
|
|
314
314
|
readonly missing: readonly string[];
|
|
315
315
|
readonly refName?: string;
|
|
316
|
-
}): CliStructuredError$
|
|
316
|
+
}): CliStructuredError$2 | null;
|
|
317
317
|
//#endregion
|
|
318
318
|
//#region src/control-api/operations/migration-check.d.ts
|
|
319
319
|
/**
|
|
@@ -366,11 +366,11 @@ interface RunMigrationCheckInputs {
|
|
|
366
366
|
* Aggregate-integrity violations (which already span every space) are folded
|
|
367
367
|
* in by the caller, not here.
|
|
368
368
|
*/
|
|
369
|
-
declare function runMigrationCheck(inputs: RunMigrationCheckInputs): Promise<Result<MigrationCheckResult, CliStructuredError$
|
|
369
|
+
declare function runMigrationCheck(inputs: RunMigrationCheckInputs): Promise<Result<MigrationCheckResult, CliStructuredError$2>>;
|
|
370
370
|
declare function loadAggregateIntegrityViolations(config: PrismaNextConfig$1, migrationsDir: string): Promise<readonly IntegrityViolation[]>;
|
|
371
371
|
interface MigrationCheckOutcome {
|
|
372
372
|
readonly result?: MigrationCheckResult;
|
|
373
|
-
readonly error?: CliStructuredError$
|
|
373
|
+
readonly error?: CliStructuredError$2;
|
|
374
374
|
readonly exitCode: number;
|
|
375
375
|
readonly resolvedSpaceId?: string;
|
|
376
376
|
}
|
|
@@ -379,6 +379,8 @@ interface SingleTargetInputs {
|
|
|
379
379
|
readonly spaceFilter?: string;
|
|
380
380
|
readonly appMigrationsDir: string;
|
|
381
381
|
readonly appMigrationsRelative: string;
|
|
382
|
+
/** Directory the command was invoked from; a path target resolves against it. */
|
|
383
|
+
readonly cwd: string;
|
|
382
384
|
}
|
|
383
385
|
/**
|
|
384
386
|
* Single-target (`check <ref/path>`) mode — resolves a migration reference
|
|
@@ -448,7 +450,7 @@ interface RunMigrationListInputs {
|
|
|
448
450
|
* - `--space <id>` on an existing-but-empty space → `{ spaceId, migrations: [] }` in the input.
|
|
449
451
|
* - `--space <id>` on a non-existent (or reserved) space → `SPACE_NOT_FOUND`.
|
|
450
452
|
*/
|
|
451
|
-
declare function runMigrationList(inputs: RunMigrationListInputs): Result<MigrationListResult, CliStructuredError$
|
|
453
|
+
declare function runMigrationList(inputs: RunMigrationListInputs): Result<MigrationListResult, CliStructuredError$2>;
|
|
452
454
|
//#endregion
|
|
453
455
|
//#region src/control-api/operations/migration-new.d.ts
|
|
454
456
|
interface MigrationNewOptions extends CommonCommandOptions {
|
|
@@ -467,7 +469,7 @@ interface MigrationNewResult {
|
|
|
467
469
|
readonly to: string;
|
|
468
470
|
readonly summary: string;
|
|
469
471
|
}
|
|
470
|
-
declare function executeMigrationNewCommand(options: MigrationNewOptions): Promise<Result<MigrationNewResult, CliStructuredError$
|
|
472
|
+
declare function executeMigrationNewCommand(options: MigrationNewOptions): Promise<Result<MigrationNewResult, CliStructuredError$2>>;
|
|
471
473
|
//#endregion
|
|
472
474
|
//#region src/utils/formatters/migration-graph-labels.d.ts
|
|
473
475
|
interface MigrationEdgeAnnotation {
|
|
@@ -524,7 +526,7 @@ interface ResolveFromForPlanInput {
|
|
|
524
526
|
readonly optionsFrom?: string | undefined;
|
|
525
527
|
readonly space: AggregateContractSpace;
|
|
526
528
|
}
|
|
527
|
-
declare function resolveFromForPlan(input: ResolveFromForPlanInput): Promise<Result<FromResolution, CliStructuredError$
|
|
529
|
+
declare function resolveFromForPlan(input: ResolveFromForPlanInput): Promise<Result<FromResolution, CliStructuredError$2>>;
|
|
528
530
|
interface ResolveToForPlanInput {
|
|
529
531
|
readonly space: AggregateContractSpace;
|
|
530
532
|
}
|
|
@@ -534,7 +536,7 @@ interface ResolvedContractRef {
|
|
|
534
536
|
readonly contractJson: unknown;
|
|
535
537
|
readonly contractDts: string;
|
|
536
538
|
}
|
|
537
|
-
declare function resolveToForPlan(optionsTo: string, input: ResolveToForPlanInput): Promise<Result<ResolvedContractRef, CliStructuredError$
|
|
539
|
+
declare function resolveToForPlan(optionsTo: string, input: ResolveToForPlanInput): Promise<Result<ResolvedContractRef, CliStructuredError$2>>;
|
|
538
540
|
//#endregion
|
|
539
541
|
//#region src/control-api/operations/ref.d.ts
|
|
540
542
|
interface RefSetResult {
|
|
@@ -559,9 +561,9 @@ interface RefOperationOptions {
|
|
|
559
561
|
/** `--config` as the user wrote it, used only to locate the migrations directory and for display. */
|
|
560
562
|
readonly configPath?: string;
|
|
561
563
|
}
|
|
562
|
-
declare function executeRefSetCommand(name: string, contractInput: string, options: RefOperationOptions): Promise<Result<RefSetResult, CliStructuredError$
|
|
563
|
-
declare function executeRefDeleteCommand(name: string, options: RefOperationOptions): Promise<Result<RefDeleteResult, CliStructuredError$
|
|
564
|
-
declare function executeRefListCommand(options: RefOperationOptions): Promise<Result<RefListResult, CliStructuredError$
|
|
564
|
+
declare function executeRefSetCommand(name: string, contractInput: string, options: RefOperationOptions): Promise<Result<RefSetResult, CliStructuredError$2>>;
|
|
565
|
+
declare function executeRefDeleteCommand(name: string, options: RefOperationOptions): Promise<Result<RefDeleteResult, CliStructuredError$2>>;
|
|
566
|
+
declare function executeRefListCommand(options: RefOperationOptions): Promise<Result<RefListResult, CliStructuredError$2>>;
|
|
565
567
|
//#endregion
|
|
566
568
|
//#region src/control-api/operations/ref-advancement.d.ts
|
|
567
569
|
interface ContractIR {
|
|
@@ -612,7 +614,7 @@ interface ResolveRefAdvancementFieldsOptions {
|
|
|
612
614
|
* when computeRefAdvancementName is null; else readContractIR + buildRefAdvancementFields with
|
|
613
615
|
* MigrationToolsError mapped, other errors rethrown.
|
|
614
616
|
*/
|
|
615
|
-
declare function resolveRefAdvancementFields(options: ResolveRefAdvancementFieldsOptions): Promise<Result<RefAdvancementFields, CliStructuredError$
|
|
617
|
+
declare function resolveRefAdvancementFields(options: ResolveRefAdvancementFieldsOptions): Promise<Result<RefAdvancementFields, CliStructuredError$2>>;
|
|
616
618
|
/** migrate's --advance-ref tail: executeRefAdvancement with MigrationToolsError passed through, others rethrown. */
|
|
617
619
|
declare function advanceRefSafely(args: {
|
|
618
620
|
readonly refsDir: string;
|
|
@@ -623,7 +625,7 @@ declare function advanceRefSafely(args: {
|
|
|
623
625
|
}): Promise<Result<{
|
|
624
626
|
readonly name: string;
|
|
625
627
|
readonly hash: string;
|
|
626
|
-
}, CliStructuredError$
|
|
628
|
+
}, CliStructuredError$2>>;
|
|
627
629
|
//#endregion
|
|
628
630
|
//#region src/control-api/operations/ref-resolution.d.ts
|
|
629
631
|
interface RefResolutionContext {
|
|
@@ -631,15 +633,15 @@ interface RefResolutionContext {
|
|
|
631
633
|
readonly refs: Refs;
|
|
632
634
|
readonly contractHash?: string;
|
|
633
635
|
}
|
|
634
|
-
declare function resolveContractRef(input: string, context: RefResolutionContext): Result<ContractRef, CliStructuredError$
|
|
636
|
+
declare function resolveContractRef(input: string, context: RefResolutionContext): Result<ContractRef, CliStructuredError$2>;
|
|
635
637
|
declare function resolveMigrationRef(input: string, context: {
|
|
636
638
|
readonly graph: MigrationGraph;
|
|
637
639
|
readonly refs: Refs;
|
|
638
|
-
}): Result<MigrationRef, CliStructuredError$
|
|
640
|
+
}): Result<MigrationRef, CliStructuredError$2>;
|
|
639
641
|
//#endregion
|
|
640
642
|
//#region src/control-api/operations/refs.d.ts
|
|
641
643
|
/** Reads migrations/<app>/refs, passing MigrationToolsError through; other errors rethrow. */
|
|
642
|
-
declare function readMigrationRefs(refsDir: string): Promise<Result<Refs, CliStructuredError$
|
|
644
|
+
declare function readMigrationRefs(refsDir: string): Promise<Result<Refs, CliStructuredError$2>>;
|
|
643
645
|
//#endregion
|
|
644
646
|
//#region src/utils/emit-queue.d.ts
|
|
645
647
|
declare function disposeEmitQueue(outputJsonPath: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli__control-api.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/exports/control-api.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BiB,oBAAoB,SAAS,uBAAuB;;;;;;iBAMpD,eAAe,IAAI,UAAU,YAAY,cAAc,kDAAkD;;;;iBAIzG,wBAAwB,iBAAiB;;;iBAGzC,mBAAmB,gBAAgB;WACzC;IACP,cAAc;;;;;;;;;;;;;;;;;;;;;;;iBAuBD,oBAAoB,SAAS,sBAAsB,QAAQ;;;UAGlE;WACC,QAAQ;WACR;;WAEA;;WAEA;;;;;;;;;;KAUN,sCAAsC;WAChC;WACA;;WAEA;WACA;;UAED;WACC;WACA,cAAc;;WAEd;WACA;;iBAEM,6BAA6B,SAAS,sCAAsC,QAAQ,OAAO,qCAAqC;;;;;;;;;;;;;;;;iBAgBhI,uBAAuB,qBAAqB,uBAAuB;;;;;;;;UAQ1E,qBAAqB,0BAA0B;WAC9C,UAAU;WACV;WACA,aAAa;WACb,YAAY,cAAc,2BAA2B,WA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AS,sBAAsB,QAAQ,OAAO,iBAAiB;iBACrG,sBAAsB,SAAS,sBAAsB,QAAQ,OAAO,eAAe;;;UAG1F;WACC;WACA;;UAED;WACC;aACE;aACA;;WAEF;aACE;aACA;;;iBAGI,0BAA0B;WAChC;WACA;;iBAEM,eAAe,cAAc,yBAAyB,2BAA2B,QAAQ;iBACzF,sBAAsB,iBAAiB,uBAAuB,cAAc,cAAc,YAAY,aAAa;EAClI;EACA;;iBAEe,0BAA0B;WAChC;WACA;WACA;WACA;WACA,YAAY;WACZ;WACA;IACP,QAAQ;UACF;WACC;WACA;WACA;WACA;WACA,cAAc;;WAEd;WACA;WACA;;;;;;;iBAOM,4BAA4B,SAAS,qCAAqC,QAAQ,OAAO,sBAAsB;;iBAE/G,iBAAiB;WACvB;WACA;WACA;WACA;WACA,YAAY;IACnB,QAAQ;WACD;WACA;GACR;;;UAGO;WACC,OAAO;WACP,MAAM;WACN;;iBAEM,mBAAmB,eAAe,SAAS,uBAAuB,OAAO,aAAa;iBACtF,oBAAoB,eAAe;WACzC,OAAO;WACP,MAAM;IACb,OAAO,cAAc;;;;iBAIR,kBAAkB,kBAAkB,QAAQ,OAAO,MAAM;;;iBAGzD,iBAAiB"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as enrichContract } from "./contract-enrichment-DrMvvY2A-DxNGeF4d.mjs";
|
|
2
|
-
import { n as executeContractEmit, t as disposeEmitQueue } from "./contract-emit-
|
|
3
|
-
import { a as loadContractSpaceAggregateForCli, c as refuseDeclaredExtensionTargetMismatch, i as loadContractRawSafely, l as refusePackageCorruptionOnAggregate, n as buildContractSpaceAggregate, o as mapIntegrityViolations, r as buildReadAggregate, s as refuseContractSpaceIntegrity, t as appContractStandInFromIdentity } from "./contract-space-aggregate-loader-
|
|
4
|
-
import { n as
|
|
2
|
+
import { n as executeContractEmit, t as disposeEmitQueue } from "./contract-emit-WIAaN0lC-DKOdtrUQ.mjs";
|
|
3
|
+
import { a as loadContractSpaceAggregateForCli, c as refuseDeclaredExtensionTargetMismatch, i as loadContractRawSafely, l as refusePackageCorruptionOnAggregate, n as buildContractSpaceAggregate, o as mapIntegrityViolations, r as buildReadAggregate, s as refuseContractSpaceIntegrity, t as appContractStandInFromIdentity } from "./contract-space-aggregate-loader-sF0OJ6oz-jRjdZoyZ.mjs";
|
|
4
|
+
import { i as executeDbVerify, n as executeDbInit, r as executeDbUpdate, t as createControlClient } from "./client-CaIWFVnh-PVaTEvdx.mjs";
|
|
5
|
+
import { t as mapCaughtMigrationError } from "./caught-errors-B_oGFiYw-BqX49eW0.mjs";
|
|
6
|
+
import { n as migrationSpaceListEntriesFromAggregate, r as runMigrationList, t as listRefsByContractHash } from "./migration-list-AKRIIovW-Cr39jOaI.mjs";
|
|
7
|
+
import { n as resolveMigrationRef, t as resolveContractRef } from "./ref-resolution-Bi4lpxM8-BX-7sl0f.mjs";
|
|
8
|
+
import { t as buildMigrationSpaceGraphEntries } from "./migration-graph-BtP1Va3T-CMOZgqVW.mjs";
|
|
5
9
|
import { a as readContractIR, i as executeRefAdvancement, n as buildRefAdvancementFields, o as resolveRefAdvancementFields, r as computeRefAdvancementName, t as advanceRefSafely } from "./ref-advancement-DaZBzm7m-Deq5Cs7O.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { i as
|
|
11
|
-
import { n as resolveMigrationRef, t as resolveContractRef } from "./ref-resolution-BYCRg72z-DFhwf-XR.mjs";
|
|
12
|
-
import { i as refuseUnknownInvariants, n as refuseMarkerOutsideGraph, r as refuseMissingInvariantPath, t as hasMigrationPath } from "./invariants-D5TNnX5E-rjPoJGFq.mjs";
|
|
10
|
+
import { t as resolveContractRefToSnapshot } from "./contract-snapshot-resolution-D2f9kGs0-BenF4tbi.mjs";
|
|
11
|
+
import { t as executeMigrationNewCommand } from "./migration-new-DcPO4tiw-Bew7S-bj.mjs";
|
|
12
|
+
import { t as mapContractAtError } from "./contract-at-errors-BsQiGdZC-BY8u2is4.mjs";
|
|
13
|
+
import { i as runContractSpaceSeedPhase, n as resolveFromForPlan, r as resolveToForPlan, t as executeMigrationPlanCommand } from "./migration-plan-Cb7s5Ifx-Bwa2O0Ov.mjs";
|
|
14
|
+
import { i as refuseUnknownInvariants, n as refuseMarkerOutsideGraph, r as refuseMissingInvariantPath, t as hasMigrationPath } from "./invariants-TW5CizTS-BsIpi4h4.mjs";
|
|
13
15
|
import { a as statusForMigrationHash, i as readMigrationRefs, n as deriveStatusEdgeAnnotations, r as originHashForStatus, t as appliedHashesFromLedger } from "./refs-fQLFcMoq-UTlvnijY.mjs";
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import {
|
|
17
|
-
import { t as executeMigrateShowPlan } from "./migrate-show-CUymfnbM-BbpcO2FY.mjs";
|
|
18
|
-
import { n as executeRefListCommand, r as executeRefSetCommand, t as executeRefDeleteCommand } from "./ref-BQcl8Ksv-BYZY0Ktb.mjs";
|
|
16
|
+
import { i as runMigrationCheck, n as enumerateCheckSpaces, r as loadAggregateIntegrityViolations, t as checkSingleTarget } from "./migration-check-C-2GTAGq-Duc0P6Uo.mjs";
|
|
17
|
+
import { t as executeMigrateShowPlan } from "./migrate-show-C-fdCznr-BH88FGVn.mjs";
|
|
18
|
+
import { n as executeRefListCommand, r as executeRefSetCommand, t as executeRefDeleteCommand } from "./ref-D9J4TNYz-Dk7HCAoq.mjs";
|
|
19
19
|
export { advanceRefSafely, appContractStandInFromIdentity, appliedHashesFromLedger, buildContractSpaceAggregate, buildMigrationSpaceGraphEntries, buildReadAggregate, buildRefAdvancementFields, checkSingleTarget, computeRefAdvancementName, createControlClient, deriveStatusEdgeAnnotations, disposeEmitQueue, enrichContract, enumerateCheckSpaces, executeContractEmit, executeDbInit, executeDbUpdate, executeDbVerify, executeMigrateShowPlan, executeMigrationNewCommand, executeMigrationPlanCommand, executeRefAdvancement, executeRefDeleteCommand, executeRefListCommand, executeRefSetCommand, hasMigrationPath, listRefsByContractHash, loadAggregateIntegrityViolations, loadContractRawSafely, loadContractSpaceAggregateForCli, mapCaughtMigrationError, mapContractAtError, mapIntegrityViolations, migrationSpaceListEntriesFromAggregate, originHashForStatus, readContractIR, readMigrationRefs, refuseContractSpaceIntegrity, refuseDeclaredExtensionTargetMismatch, refuseMarkerOutsideGraph, refuseMissingInvariantPath, refusePackageCorruptionOnAggregate, refuseUnknownInvariants, resolveContractRef, resolveContractRefToSnapshot, resolveFromForPlan, resolveMigrationRef, resolveRefAdvancementFields, resolveToForPlan, runContractSpaceSeedPhase, runMigrationCheck, runMigrationList, statusForMigrationHash };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as MigrateResult, S as EmitResult, T as ExecuteDbVerifyResult, a as ControlClient, d as DbInitResult, g as DbUpdateResult } from "./cli-errors-
|
|
1
|
+
import { O as MigrateResult, S as EmitResult, T as ExecuteDbVerifyResult, a as ControlClient, d as DbInitResult, g as DbUpdateResult } from "./cli-errors-C8DGzS94-CPP3UmRT.mjs";
|
|
2
2
|
import { CoreSchemaView, OperationPreview, SignDatabaseResult, VerifyDatabaseResult, VerifyDatabaseSchemaResult } from "@prisma/orm-framework/components/control";
|
|
3
3
|
import { ContractMarkerRecord, LedgerEntryRecord } from "@prisma/orm-framework/contract/types";
|
|
4
4
|
import { AuthoringPslBlockDescriptorNamespace } from "@prisma/orm-framework/components/authoring";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as CliStructuredError$1 } from "./cli-errors-
|
|
2
|
-
import { t as assertFrameworkComponentsCompatible } from "./framework-components-
|
|
1
|
+
import { t as CliStructuredError$1 } from "./cli-errors-CihMAEVj-C1uUYBop.mjs";
|
|
2
|
+
import { t as assertFrameworkComponentsCompatible } from "./framework-components-CXxMNF8E-C-g2cchI.mjs";
|
|
3
3
|
import { t as enrichContract } from "./contract-enrichment-DrMvvY2A-DxNGeF4d.mjs";
|
|
4
4
|
import { t as emit } from "./exports-BCLg4CiV-05kuwcb0.mjs";
|
|
5
5
|
import { O as errorNoInvariantPath } from "./errors-Co-8oaiB-CB-6Uqki.mjs";
|
|
6
6
|
import "./constants-CM-w38DQ-Cz_EXbOc.mjs";
|
|
7
7
|
import { o as findPathWithDecision } from "./migration-graph-DDaOHo10-yJFAbKCu.mjs";
|
|
8
8
|
import { d as resolveRecordedPath, f as verifyMigration, l as planMigration, n as buildFabricatedMigrationEdge, r as collectAggregateNamespaces, t as allStorageElementsExternal, u as requireHeadRef } from "./aggregate-BKbHUHLA.mjs";
|
|
9
|
-
import { n as buildContractSpaceAggregate } from "./contract-space-aggregate-loader-
|
|
9
|
+
import { n as buildContractSpaceAggregate } from "./contract-space-aggregate-loader-sF0OJ6oz-jRjdZoyZ.mjs";
|
|
10
10
|
import { CliStructuredError } from "@prisma/orm-framework/errors/control";
|
|
11
11
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
12
12
|
import { structuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
@@ -14,7 +14,7 @@ import { blindCast, castAs } from "@prisma/orm-framework/utils/casts";
|
|
|
14
14
|
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
15
15
|
import { APP_SPACE_ID, createControlStack, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView } from "@prisma/orm-framework/components/control";
|
|
16
16
|
import { notOk, ok } from "@prisma/orm-framework/utils/result";
|
|
17
|
-
//#region ../../../1-framework/3-tooling/cli/dist/client-
|
|
17
|
+
//#region ../../../1-framework/3-tooling/cli/dist/client-CaIWFVnh.mjs
|
|
18
18
|
/**
|
|
19
19
|
* Strips operation objects to their public shape (id, label, operationClass).
|
|
20
20
|
* Used at the API boundary to avoid leaking internal fields (precheck, execute, postcheck, etc.).
|
|
@@ -1607,4 +1607,4 @@ var ControlClientImpl = class {
|
|
|
1607
1607
|
//#endregion
|
|
1608
1608
|
export { planSpacePath as a, executeDbVerify as i, executeDbInit as n, executeDbUpdate as r, createControlClient as t };
|
|
1609
1609
|
|
|
1610
|
-
//# sourceMappingURL=client-
|
|
1610
|
+
//# sourceMappingURL=client-CaIWFVnh-PVaTEvdx.mjs.map
|