@prisma/orm-toolchain 8.0.0-rc.1-dev.45 → 8.0.0-rc.1-dev.46
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/README.md +3 -3
- package/dist/{aggregate-BBsCbXgJ.mjs → aggregate-CPZB020V.mjs} +9 -9
- package/dist/{aggregate-BBsCbXgJ.mjs.map → aggregate-CPZB020V.mjs.map} +1 -1
- package/dist/{aggregate-CA6bJ8UO.d.mts → aggregate-DLUJLq5Y.d.mts} +3 -3
- package/dist/{aggregate-CA6bJ8UO.d.mts.map → aggregate-DLUJLq5Y.d.mts.map} +1 -1
- package/dist/cli-telemetry.d.mts +19 -5
- package/dist/cli-telemetry.d.mts.map +1 -1
- package/dist/cli-telemetry.mjs +287 -8
- package/dist/cli-telemetry.mjs.map +1 -1
- package/dist/cli.d.mts +11 -13
- package/dist/cli.d.mts.map +1 -1
- package/dist/cli.mjs +5382 -1095
- package/dist/cli.mjs.map +1 -1
- package/dist/cli__control-api.d.mts +298 -27
- package/dist/cli__control-api.d.mts.map +1 -1
- package/dist/cli__control-api.mjs +2 -19
- package/dist/cli__control-api__testing.d.mts +1 -1
- package/dist/cli__control-api__testing.mjs.map +1 -1
- package/dist/cli__init-output.d.mts +0 -1
- package/dist/cli__init-output.d.mts.map +1 -1
- package/dist/cli__init-output.mjs +1 -1
- package/dist/cli__migration-cli.mjs +9 -9
- package/dist/cli__migration-cli.mjs.map +1 -1
- package/dist/config-loader.d.mts +1 -1
- package/dist/config-loader.mjs +1 -1
- package/dist/{contract-snapshot-store-B0G1Fw_F-C4JjmWEA.mjs → contract-snapshot-store-B0G1Fw_F-CHc4QfKb.mjs} +4 -4
- package/dist/{contract-snapshot-store-B0G1Fw_F-C4JjmWEA.mjs.map → contract-snapshot-store-B0G1Fw_F-CHc4QfKb.mjs.map} +1 -1
- package/dist/{cli-errors-iquUoY6O-BFboxglv.d.mts → db-verify-BwgNK50T-DGvKgFCK.d.mts} +81 -81
- package/dist/db-verify-BwgNK50T-DGvKgFCK.d.mts.map +1 -0
- package/dist/emitter.d.mts +1 -1
- package/dist/{errors-CXbGUWGu-BQi6YS-H.mjs → errors-CXbGUWGu-CstQHPh6.mjs} +2 -2
- package/dist/{errors-CXbGUWGu-BQi6YS-H.mjs.map → errors-CXbGUWGu-CstQHPh6.mjs.map} +1 -1
- package/dist/{errors-KWM8yBAL.d.mts → errors-D59OCpoI.d.mts} +2 -2
- package/dist/{errors-KWM8yBAL.d.mts.map → errors-D59OCpoI.d.mts.map} +1 -1
- package/dist/{exports-B3xY_FHp.mjs → exports-8ZUN43ve.mjs} +6 -6
- package/dist/exports-8ZUN43ve.mjs.map +1 -0
- package/dist/{exports-BZLNbtkY.mjs → exports-BZaG8_w_.mjs} +64 -36
- package/dist/exports-BZaG8_w_.mjs.map +1 -0
- package/dist/{graph-membership-BViWUMpP-Cgu4Z2ox.mjs → graph-membership-BViWUMpP-C4lYYJdU.mjs} +2 -2
- package/dist/{graph-membership-BViWUMpP-Cgu4Z2ox.mjs.map → graph-membership-BViWUMpP-C4lYYJdU.mjs.map} +1 -1
- package/dist/{import-roots-NDOIEDVj.mjs → import-roots-CNFBPAT1.mjs} +10 -3
- package/dist/{import-roots-NDOIEDVj.mjs.map → import-roots-CNFBPAT1.mjs.map} +1 -1
- package/dist/{import-roots-B6CtsWXb.d.mts → import-roots-CfoYgejL.d.mts} +2 -2
- package/dist/{import-roots-B6CtsWXb.d.mts.map → import-roots-CfoYgejL.d.mts.map} +1 -1
- package/dist/{index-mCsi_ND5.d.mts → index-DRs7L6N0.d.mts} +11 -3
- package/dist/index-DRs7L6N0.d.mts.map +1 -0
- package/dist/{index-CnOyYxmv.d.mts → index-Dgwl8Tzs.d.mts} +2 -2
- package/dist/{index-CnOyYxmv.d.mts.map → index-Dgwl8Tzs.d.mts.map} +1 -1
- package/dist/{invariants-CTHy88OP-DJ-i5yTz.mjs → invariants-CTHy88OP-CYI2a8IO.mjs} +2 -2
- package/dist/{invariants-CTHy88OP-DJ-i5yTz.mjs.map → invariants-CTHy88OP-CYI2a8IO.mjs.map} +1 -1
- package/dist/{io-635GlNx1-D94PxRc-.mjs → io-635GlNx1-D3zrw2qu.mjs} +4 -4
- package/dist/{io-635GlNx1-D94PxRc-.mjs.map → io-635GlNx1-D3zrw2qu.mjs.map} +1 -1
- package/dist/{migration-graph-_SJImD5V-D5RCc651.mjs → migration-graph-_SJImD5V-BURyY1KM.mjs} +2 -2
- package/dist/{migration-graph-_SJImD5V-D5RCc651.mjs.map → migration-graph-_SJImD5V-BURyY1KM.mjs.map} +1 -1
- package/dist/{migration-gubSSeMk.mjs → migration-hspPIEeV.mjs} +4 -4
- package/dist/{migration-gubSSeMk.mjs.map → migration-hspPIEeV.mjs.map} +1 -1
- package/dist/migration-tools.d.mts +4 -4
- package/dist/migration-tools.mjs +13 -13
- package/dist/migration-tools__aggregate.d.mts +1 -1
- package/dist/migration-tools__aggregate.mjs +1 -1
- package/dist/migration-tools__contract-snapshot-store.mjs +1 -1
- package/dist/migration-tools__errors.d.mts +1 -1
- package/dist/migration-tools__errors.mjs +1 -1
- package/dist/migration-tools__invariants.mjs +1 -1
- package/dist/migration-tools__io.mjs +1 -1
- package/dist/migration-tools__migration-graph.mjs +2 -2
- package/dist/migration-tools__migration-ts.mjs +1 -1
- package/dist/migration-tools__migration.mjs +1 -1
- package/dist/migration-tools__ref-resolution.mjs +1 -1
- package/dist/migration-tools__refs.mjs +1 -1
- package/dist/migration-tools__spaces.d.mts +2 -2
- package/dist/migration-tools__spaces.mjs +2 -2
- package/dist/{migration-ts-BoHxxGvi.mjs → migration-ts-DdVm0rws.mjs} +2 -2
- package/dist/{migration-ts-BoHxxGvi.mjs.map → migration-ts-DdVm0rws.mjs.map} +1 -1
- package/dist/{output-DP3woAjV-BxCr9nHA.mjs → output-CovTDY14-CUoAqLML.mjs} +3 -45
- package/dist/output-CovTDY14-CUoAqLML.mjs.map +1 -0
- package/dist/publish-surface.d.mts +2 -2
- package/dist/publish-surface.mjs +2 -2
- package/dist/publish-surface__import-roots.d.mts +1 -1
- package/dist/publish-surface__import-roots.mjs +1 -1
- package/dist/publish-surface__shells.d.mts +1 -1
- package/dist/publish-surface__shells.mjs +1 -1
- package/dist/quick-reference-mongo.md +12 -9
- package/dist/quick-reference-postgres.md +12 -9
- package/dist/readme-mongo.md +2 -2
- package/dist/readme-postgres.md +2 -2
- package/dist/ref-h6InR6dO-rGfl18Jv.mjs +4686 -0
- package/dist/ref-h6InR6dO-rGfl18Jv.mjs.map +1 -0
- package/dist/{ref-resolution-sGcINe7o.mjs → ref-resolution-HeNBXW53.mjs} +2 -2
- package/dist/{ref-resolution-sGcINe7o.mjs.map → ref-resolution-HeNBXW53.mjs.map} +1 -1
- package/dist/{refs-WK86uYYp-B6EZkmmT.mjs → refs-WK86uYYp-gM8tvWQP.mjs} +2 -2
- package/dist/{refs-WK86uYYp-B6EZkmmT.mjs.map → refs-WK86uYYp-gM8tvWQP.mjs.map} +1 -1
- package/dist/{shells-BenrJHp2.mjs → shells-C4HbRAr5.mjs} +13 -14
- package/dist/shells-C4HbRAr5.mjs.map +1 -0
- package/dist/{shells-COHV_Ozf.d.mts → shells-CIUmT4u4.d.mts} +14 -20
- package/dist/shells-CIUmT4u4.d.mts.map +1 -0
- package/dist/{spaces-BG2w0P8d.mjs → spaces-4qMOAYE9.mjs} +7 -7
- package/dist/{spaces-BG2w0P8d.mjs.map → spaces-4qMOAYE9.mjs.map} +1 -1
- package/dist/{spaces-tWQi7CUv.d.mts → spaces-Dj65JrwZ.d.mts} +2 -2
- package/dist/{spaces-tWQi7CUv.d.mts.map → spaces-Dj65JrwZ.d.mts.map} +1 -1
- package/dist/{verify-contract-spaces-Cc1u_wJo-BilPJS2S.d.mts → verify-contract-spaces-C3PiFBk3-DfomYyOE.d.mts} +3 -3
- package/dist/{verify-contract-spaces-Cc1u_wJo-BilPJS2S.d.mts.map → verify-contract-spaces-C3PiFBk3-DfomYyOE.d.mts.map} +1 -1
- package/dist/{verify-contract-spaces-DhJTb0zM-_oh6W6lp.mjs → verify-contract-spaces-DhJTb0zM-B62maCfE.mjs} +4 -4
- package/dist/{verify-contract-spaces-DhJTb0zM-_oh6W6lp.mjs.map → verify-contract-spaces-DhJTb0zM-B62maCfE.mjs.map} +1 -1
- package/dist/vite-plugin-contract-emit.d.mts +2 -2
- package/dist/vite-plugin-contract-emit.mjs +5 -5
- package/dist/vite-plugin-contract-emit.mjs.map +1 -1
- package/package.json +14 -38
- package/dist/bin__prisma-next.mjs +0 -512
- package/dist/bin__prisma-next.mjs.map +0 -1
- package/dist/caught-errors-BZo7zcRc-C-pIEasG.mjs +0 -14
- package/dist/caught-errors-BZo7zcRc-C-pIEasG.mjs.map +0 -1
- package/dist/cli-errors-B4zTLaqQ-CXgjO9t4.mjs +0 -347
- package/dist/cli-errors-B4zTLaqQ-CXgjO9t4.mjs.map +0 -1
- package/dist/cli-errors-iquUoY6O-BFboxglv.d.mts.map +0 -1
- package/dist/cli__commands__contract-emit.d.mts +0 -2
- package/dist/cli__commands__contract-emit.mjs +0 -2
- package/dist/cli__commands__contract-infer.d.mts +0 -7
- package/dist/cli__commands__contract-infer.d.mts.map +0 -1
- package/dist/cli__commands__contract-infer.mjs +0 -2
- package/dist/cli__commands__db-init.d.mts +0 -7
- package/dist/cli__commands__db-init.d.mts.map +0 -1
- package/dist/cli__commands__db-init.mjs +0 -2
- package/dist/cli__commands__db-schema.d.mts +0 -7
- package/dist/cli__commands__db-schema.d.mts.map +0 -1
- package/dist/cli__commands__db-schema.mjs +0 -2
- package/dist/cli__commands__db-sign.d.mts +0 -7
- package/dist/cli__commands__db-sign.d.mts.map +0 -1
- package/dist/cli__commands__db-sign.mjs +0 -2
- package/dist/cli__commands__db-update.d.mts +0 -7
- package/dist/cli__commands__db-update.d.mts.map +0 -1
- package/dist/cli__commands__db-update.mjs +0 -2
- package/dist/cli__commands__db-verify.d.mts +0 -7
- package/dist/cli__commands__db-verify.d.mts.map +0 -1
- package/dist/cli__commands__db-verify.mjs +0 -2
- package/dist/cli__commands__migrate.d.mts +0 -57
- package/dist/cli__commands__migrate.d.mts.map +0 -1
- package/dist/cli__commands__migrate.mjs +0 -2
- package/dist/cli__commands__migration-check.d.mts +0 -8
- package/dist/cli__commands__migration-check.d.mts.map +0 -1
- package/dist/cli__commands__migration-check.mjs +0 -3
- package/dist/cli__commands__migration-graph.d.mts +0 -38
- package/dist/cli__commands__migration-graph.d.mts.map +0 -1
- package/dist/cli__commands__migration-graph.mjs +0 -2
- package/dist/cli__commands__migration-list.d.mts +0 -39
- package/dist/cli__commands__migration-list.d.mts.map +0 -1
- package/dist/cli__commands__migration-list.mjs +0 -2
- package/dist/cli__commands__migration-log.d.mts +0 -20
- package/dist/cli__commands__migration-log.d.mts.map +0 -1
- package/dist/cli__commands__migration-log.mjs +0 -2
- package/dist/cli__commands__migration-new.d.mts +0 -7
- package/dist/cli__commands__migration-new.d.mts.map +0 -1
- package/dist/cli__commands__migration-new.mjs +0 -2
- package/dist/cli__commands__migration-plan.d.mts +0 -34
- package/dist/cli__commands__migration-plan.d.mts.map +0 -1
- package/dist/cli__commands__migration-plan.mjs +0 -2
- package/dist/cli__commands__migration-show.d.mts +0 -27
- package/dist/cli__commands__migration-show.d.mts.map +0 -1
- package/dist/cli__commands__migration-show.mjs +0 -2
- package/dist/cli__commands__migration-status.d.mts +0 -55
- package/dist/cli__commands__migration-status.d.mts.map +0 -1
- package/dist/cli__commands__migration-status.mjs +0 -3
- package/dist/cli__commands__ref.d.mts +0 -7
- package/dist/cli__commands__ref.d.mts.map +0 -1
- package/dist/cli__commands__ref.mjs +0 -2
- package/dist/cli__commands__telemetry.d.mts +0 -7
- package/dist/cli__commands__telemetry.d.mts.map +0 -1
- package/dist/cli__commands__telemetry.mjs +0 -2
- package/dist/client-C6Qp5ujC-Dxb7r79B.mjs +0 -1653
- package/dist/client-C6Qp5ujC-Dxb7r79B.mjs.map +0 -1
- package/dist/code-templates-C-jirr19-DDQB0WGo.mjs +0 -295
- package/dist/code-templates-C-jirr19-DDQB0WGo.mjs.map +0 -1
- package/dist/combine-verify-results-B87B_pMc-D4l22OqY.mjs +0 -65
- package/dist/combine-verify-results-B87B_pMc-D4l22OqY.mjs.map +0 -1
- package/dist/command-helpers-BCgwcqTe-lNCtppzM.mjs +0 -776
- package/dist/command-helpers-BCgwcqTe-lNCtppzM.mjs.map +0 -1
- package/dist/contract-at-errors-BSoDI0Hw-BXeUNE3s.mjs +0 -44
- package/dist/contract-at-errors-BSoDI0Hw-BXeUNE3s.mjs.map +0 -1
- package/dist/contract-emit-BG7KL4zk-_a0J310Z.mjs +0 -331
- package/dist/contract-emit-BG7KL4zk-_a0J310Z.mjs.map +0 -1
- package/dist/contract-emit-BkEj3siG-C8M-IyvS.mjs +0 -2
- package/dist/contract-emit-CvwNE4R1-DEn1V1Zo.d.mts +0 -7
- package/dist/contract-emit-CvwNE4R1-DEn1V1Zo.d.mts.map +0 -1
- package/dist/contract-emit-GknCmgn_-BSWdFprC.mjs +0 -154
- package/dist/contract-emit-GknCmgn_-BSWdFprC.mjs.map +0 -1
- package/dist/contract-enrichment-DrMvvY2A-DxNGeF4d.mjs +0 -56
- package/dist/contract-enrichment-DrMvvY2A-DxNGeF4d.mjs.map +0 -1
- package/dist/contract-infer-BwIDGl7v-CZrdWXAr.mjs +0 -74
- package/dist/contract-infer-BwIDGl7v-CZrdWXAr.mjs.map +0 -1
- package/dist/contract-snapshot-resolution-De2VvOJn-DqIAV9cr.mjs +0 -82
- package/dist/contract-snapshot-resolution-De2VvOJn-DqIAV9cr.mjs.map +0 -1
- package/dist/contract-space-aggregate-loader-fa04OIaL-B7LXHle3.mjs +0 -303
- package/dist/contract-space-aggregate-loader-fa04OIaL-B7LXHle3.mjs.map +0 -1
- package/dist/db-init-BolXrKAI-CwG-zEDW.mjs +0 -109
- package/dist/db-init-BolXrKAI-CwG-zEDW.mjs.map +0 -1
- package/dist/db-init-failure-B5cQML4A-5zr-99Ek.mjs +0 -44
- package/dist/db-init-failure-B5cQML4A-5zr-99Ek.mjs.map +0 -1
- package/dist/db-schema-DvdLBdEY-Dl6e1d_Y.mjs +0 -48
- package/dist/db-schema-DvdLBdEY-Dl6e1d_Y.mjs.map +0 -1
- package/dist/db-sign-DCp4c8CA-B3tun-kh.mjs +0 -172
- package/dist/db-sign-DCp4c8CA-B3tun-kh.mjs.map +0 -1
- package/dist/db-update-CfayE8WE-CPhQyDaZ.mjs +0 -171
- package/dist/db-update-CfayE8WE-CPhQyDaZ.mjs.map +0 -1
- package/dist/db-verify-BN7IrOAL-kEzRNJUl.mjs +0 -358
- package/dist/db-verify-BN7IrOAL-kEzRNJUl.mjs.map +0 -1
- package/dist/exports-B3xY_FHp.mjs.map +0 -1
- package/dist/exports-BZLNbtkY.mjs.map +0 -1
- package/dist/exports-CqNUihkI.mjs +0 -276
- package/dist/exports-CqNUihkI.mjs.map +0 -1
- package/dist/format-Ca7dUE6B-BMFqrc6D.mjs +0 -110
- package/dist/format-Ca7dUE6B-BMFqrc6D.mjs.map +0 -1
- package/dist/framework-components-Bau7o1-J-DTp6AUoq.mjs +0 -60
- package/dist/framework-components-Bau7o1-J-DTp6AUoq.mjs.map +0 -1
- package/dist/global-flags-BpoOYtNZ-CHZD3fud.d.mts +0 -35
- package/dist/global-flags-BpoOYtNZ-CHZD3fud.d.mts.map +0 -1
- package/dist/index-mCsi_ND5.d.mts.map +0 -1
- package/dist/init-DC7zPKka-BSiUrPw3.mjs +0 -800
- package/dist/init-DC7zPKka-BSiUrPw3.mjs.map +0 -1
- package/dist/inspect-live-schema-BPHXdvqW-DrzL2ZkQ.mjs +0 -95
- package/dist/inspect-live-schema-BPHXdvqW-DrzL2ZkQ.mjs.map +0 -1
- package/dist/integrity-violation-to-check-failure-BmWMLAae-DqiC4_3p.mjs +0 -115
- package/dist/integrity-violation-to-check-failure-BmWMLAae-DqiC4_3p.mjs.map +0 -1
- package/dist/invariants-Bltd8DyA-Cg_1Lu0q.mjs +0 -53
- package/dist/invariants-Bltd8DyA-Cg_1Lu0q.mjs.map +0 -1
- package/dist/legend-DGv9e2_0-BtetgRz4.mjs +0 -22
- package/dist/legend-DGv9e2_0-BtetgRz4.mjs.map +0 -1
- package/dist/migrate-BXATUjYE-Do79Imf-.mjs +0 -343
- package/dist/migrate-BXATUjYE-Do79Imf-.mjs.map +0 -1
- package/dist/migrate-failure-D4NvkoCk-0bttmQs2.mjs +0 -96
- package/dist/migrate-failure-D4NvkoCk-0bttmQs2.mjs.map +0 -1
- package/dist/migrate-show-B8UJ9dmb-C4RTPbDk.d.mts +0 -63
- package/dist/migrate-show-B8UJ9dmb-C4RTPbDk.d.mts.map +0 -1
- package/dist/migrate-show-C_9xR4Qt-B-Y0PGKw.mjs +0 -199
- package/dist/migrate-show-C_9xR4Qt-B-Y0PGKw.mjs.map +0 -1
- package/dist/migration-check-Bbdw7t-r-C2VTMK61.mjs +0 -358
- package/dist/migration-check-Bbdw7t-r-C2VTMK61.mjs.map +0 -1
- package/dist/migration-check-DbHgYK7F-7mtYNVFu.mjs +0 -163
- package/dist/migration-check-DbHgYK7F-7mtYNVFu.mjs.map +0 -1
- package/dist/migration-command-scaffold-SzjR2naH-Yi3-rNfX.mjs +0 -121
- package/dist/migration-command-scaffold-SzjR2naH-Yi3-rNfX.mjs.map +0 -1
- package/dist/migration-graph-B8WxW_tm-qGNf7jQh.mjs +0 -35
- package/dist/migration-graph-B8WxW_tm-qGNf7jQh.mjs.map +0 -1
- package/dist/migration-graph-BOwu76mF-kOTWFvfV.mjs +0 -144
- package/dist/migration-graph-BOwu76mF-kOTWFvfV.mjs.map +0 -1
- package/dist/migration-graph-command-render-h0VdTkSM-C3rPZEw1.mjs +0 -2127
- package/dist/migration-graph-command-render-h0VdTkSM-C3rPZEw1.mjs.map +0 -1
- package/dist/migration-graph-sections-BBHPOFN--COKyUKQ4.mjs +0 -69
- package/dist/migration-graph-sections-BBHPOFN--COKyUKQ4.mjs.map +0 -1
- package/dist/migration-list-CKuYcMQq-CubZzE9i.mjs +0 -130
- package/dist/migration-list-CKuYcMQq-CubZzE9i.mjs.map +0 -1
- package/dist/migration-list-CY08bD8I-PoXuv94c.mjs +0 -102
- package/dist/migration-list-CY08bD8I-PoXuv94c.mjs.map +0 -1
- package/dist/migration-log-CUbGla-9-BLIrWjwN.mjs +0 -123
- package/dist/migration-log-CUbGla-9-BLIrWjwN.mjs.map +0 -1
- package/dist/migration-log-table-eES9lPjv-BCFm8qJr.mjs +0 -116
- package/dist/migration-log-table-eES9lPjv-BCFm8qJr.mjs.map +0 -1
- package/dist/migration-new-ChvZjf5X-BFhEM0BF.mjs +0 -70
- package/dist/migration-new-ChvZjf5X-BFhEM0BF.mjs.map +0 -1
- package/dist/migration-new-DXMvJdbB-BkrpDfcr.mjs +0 -130
- package/dist/migration-new-DXMvJdbB-BkrpDfcr.mjs.map +0 -1
- package/dist/migration-path-target-JDWqF9kj-B7zoMq6X.mjs +0 -38
- package/dist/migration-path-target-JDWqF9kj-B7zoMq6X.mjs.map +0 -1
- package/dist/migration-plan-BV9f5Xjq-DiyscOMc.d.mts +0 -164
- package/dist/migration-plan-BV9f5Xjq-DiyscOMc.d.mts.map +0 -1
- package/dist/migration-plan-Bz1hOTHF-CFCtPuOv.mjs +0 -192
- package/dist/migration-plan-Bz1hOTHF-CFCtPuOv.mjs.map +0 -1
- package/dist/migration-plan-Cfz0efEL-DMNFq5b2.mjs +0 -621
- package/dist/migration-plan-Cfz0efEL-DMNFq5b2.mjs.map +0 -1
- package/dist/migration-show-BGdR1xnT-Cg3M0FPh.mjs +0 -178
- package/dist/migration-show-BGdR1xnT-Cg3M0FPh.mjs.map +0 -1
- package/dist/migration-status-BIrAJ5af-D-_mMBUA.mjs +0 -427
- package/dist/migration-status-BIrAJ5af-D-_mMBUA.mjs.map +0 -1
- package/dist/output-DP3woAjV-BxCr9nHA.mjs.map +0 -1
- package/dist/progress-adapter-CjAeTxY_-BXYSd1eY.mjs +0 -43
- package/dist/progress-adapter-CjAeTxY_-BXYSd1eY.mjs.map +0 -1
- package/dist/project-import-root-B4nM-VWX-D__g0hTb.mjs +0 -101
- package/dist/project-import-root-B4nM-VWX-D__g0hTb.mjs.map +0 -1
- package/dist/redact-secrets-DuKoiMax-Cfe2XVhc.mjs +0 -1476
- package/dist/redact-secrets-DuKoiMax-Cfe2XVhc.mjs.map +0 -1
- package/dist/ref-4x6BGSsd-ClaoZIQh.mjs +0 -95
- package/dist/ref-4x6BGSsd-ClaoZIQh.mjs.map +0 -1
- package/dist/ref-WXLIR9Xm-12IUtoBU.mjs +0 -104
- package/dist/ref-WXLIR9Xm-12IUtoBU.mjs.map +0 -1
- package/dist/ref-advancement-DaZBzm7m-WoqnFAyr.mjs +0 -96
- package/dist/ref-advancement-DaZBzm7m-WoqnFAyr.mjs.map +0 -1
- package/dist/ref-resolution-BSN1amKm-C6-TTM2N.mjs +0 -16
- package/dist/ref-resolution-BSN1amKm-C6-TTM2N.mjs.map +0 -1
- package/dist/refs-fQLFcMoq-aTBeUU9H.mjs +0 -47
- package/dist/refs-fQLFcMoq-aTBeUU9H.mjs.map +0 -1
- package/dist/schemas-BGgjiKV0-Rh8RlMCl.d.mts +0 -206
- package/dist/schemas-BGgjiKV0-Rh8RlMCl.d.mts.map +0 -1
- package/dist/schemas-CYSD83Cu-Bff4PPoi.mjs +0 -119
- package/dist/schemas-CYSD83Cu-Bff4PPoi.mjs.map +0 -1
- package/dist/shells-BenrJHp2.mjs.map +0 -1
- package/dist/shells-COHV_Ozf.d.mts.map +0 -1
- package/dist/telemetry-BD52LETE-Cqeb7ebh.mjs +0 -121
- package/dist/telemetry-BD52LETE-Cqeb7ebh.mjs.map +0 -1
- package/dist/terminal-ui-BN4QOsm5-Bf3pim46.d.mts +0 -133
- package/dist/terminal-ui-BN4QOsm5-Bf3pim46.d.mts.map +0 -1
- package/dist/terminal-ui-Cqz4LVL7-B0mcVdLy.mjs +0 -676
- package/dist/terminal-ui-Cqz4LVL7-B0mcVdLy.mjs.map +0 -1
- package/dist/verify-Cogr_Fj9-D3lCWA6t.mjs +0 -283
- package/dist/verify-Cogr_Fj9-D3lCWA6t.mjs.map +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { t as MigrationToolsError } from "./errors-CXbGUWGu-BQi6YS-H.mjs";
|
|
2
|
-
import "./constants-CM-w38DQ-Cz_EXbOc.mjs";
|
|
3
|
-
import { a as findPath } from "./migration-graph-_SJImD5V-D5RCc651.mjs";
|
|
4
|
-
import { i as readRefs } from "./refs-WK86uYYp-B6EZkmmT.mjs";
|
|
5
|
-
import { notOk, ok } from "@prisma/orm-framework/utils/result";
|
|
6
|
-
//#region ../../../1-framework/3-tooling/cli/dist/refs-fQLFcMoq.mjs
|
|
7
|
-
/** Origin hash for status path computation: the live/override marker, or the empty-contract sentinel. */
|
|
8
|
-
function originHashForStatus(markerHash) {
|
|
9
|
-
return markerHash ?? "empty";
|
|
10
|
-
}
|
|
11
|
-
function deriveStatusEdgeAnnotations(input) {
|
|
12
|
-
const annotations = /* @__PURE__ */ new Map();
|
|
13
|
-
if (input.showAppliedOverlay) {
|
|
14
|
-
for (const edge of input.graph.migrationByHash.values()) if (input.appliedMigrationHashes.has(edge.migrationHash)) annotations.set(edge.migrationHash, { status: "applied" });
|
|
15
|
-
}
|
|
16
|
-
if (!input.graph.nodes.has(input.originHash)) return annotations;
|
|
17
|
-
const pendingPath = findPath(input.graph, input.originHash, input.targetHash);
|
|
18
|
-
if (!pendingPath) return annotations;
|
|
19
|
-
for (const edge of pendingPath) {
|
|
20
|
-
if (input.appliedMigrationHashes.has(edge.migrationHash)) continue;
|
|
21
|
-
if (annotations.get(edge.migrationHash)?.status === "applied") continue;
|
|
22
|
-
annotations.set(edge.migrationHash, { status: "pending" });
|
|
23
|
-
}
|
|
24
|
-
return annotations;
|
|
25
|
-
}
|
|
26
|
-
function appliedHashesFromLedger(ledgerEntries) {
|
|
27
|
-
return new Set(ledgerEntries.map((entry) => entry.migrationHash));
|
|
28
|
-
}
|
|
29
|
-
function statusForMigrationHash(migrationHash, annotations) {
|
|
30
|
-
return annotations.get(migrationHash)?.status ?? null;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Reads the migrations refs index for commands, mapping MigrationToolsError into the CLI envelope.
|
|
34
|
-
*/
|
|
35
|
-
/** Reads migrations/<app>/refs, passing MigrationToolsError through; other errors rethrow. */
|
|
36
|
-
async function readMigrationRefs(refsDir) {
|
|
37
|
-
try {
|
|
38
|
-
return ok(await readRefs(refsDir));
|
|
39
|
-
} catch (error) {
|
|
40
|
-
if (MigrationToolsError.is(error)) return notOk(error);
|
|
41
|
-
throw error;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
export { statusForMigrationHash as a, readMigrationRefs as i, deriveStatusEdgeAnnotations as n, originHashForStatus as r, appliedHashesFromLedger as t };
|
|
46
|
-
|
|
47
|
-
//# sourceMappingURL=refs-fQLFcMoq-aTBeUU9H.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refs-fQLFcMoq-aTBeUU9H.mjs","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/refs-fQLFcMoq.mjs"],"sourcesContent":["import { notOk, ok } from \"@internal/utils/result\";\nimport { EMPTY_CONTRACT_HASH } from \"@internal/migration-tools/constants\";\nimport { MigrationToolsError } from \"@internal/migration-tools/errors\";\nimport { findPath } from \"@internal/migration-tools/migration-graph\";\nimport { readRefs } from \"@internal/migration-tools/refs\";\n//#region src/control-api/operations/migration-status-overlay.ts\n/** Origin hash for status path computation: the live/override marker, or the empty-contract sentinel. */\nfunction originHashForStatus(markerHash) {\n\treturn markerHash ?? EMPTY_CONTRACT_HASH;\n}\nfunction deriveStatusEdgeAnnotations(input) {\n\tconst annotations = /* @__PURE__ */ new Map();\n\tif (input.showAppliedOverlay) {\n\t\tfor (const edge of input.graph.migrationByHash.values()) if (input.appliedMigrationHashes.has(edge.migrationHash)) annotations.set(edge.migrationHash, { status: \"applied\" });\n\t}\n\tif (!input.graph.nodes.has(input.originHash)) return annotations;\n\tconst pendingPath = findPath(input.graph, input.originHash, input.targetHash);\n\tif (!pendingPath) return annotations;\n\tfor (const edge of pendingPath) {\n\t\tif (input.appliedMigrationHashes.has(edge.migrationHash)) continue;\n\t\tif (annotations.get(edge.migrationHash)?.status === \"applied\") continue;\n\t\tannotations.set(edge.migrationHash, { status: \"pending\" });\n\t}\n\treturn annotations;\n}\nfunction appliedHashesFromLedger(ledgerEntries) {\n\treturn new Set(ledgerEntries.map((entry) => entry.migrationHash));\n}\nfunction statusForMigrationHash(migrationHash, annotations) {\n\treturn annotations.get(migrationHash)?.status ?? null;\n}\n//#endregion\n//#region src/control-api/operations/refs.ts\n/**\n* Reads the migrations refs index for commands, mapping MigrationToolsError into the CLI envelope.\n*/\n/** Reads migrations/<app>/refs, passing MigrationToolsError through; other errors rethrow. */\nasync function readMigrationRefs(refsDir) {\n\ttry {\n\t\treturn ok(await readRefs(refsDir));\n\t} catch (error) {\n\t\tif (MigrationToolsError.is(error)) return notOk(error);\n\t\tthrow error;\n\t}\n}\n//#endregion\nexport { statusForMigrationHash as a, originHashForStatus as i, appliedHashesFromLedger as n, deriveStatusEdgeAnnotations as r, readMigrationRefs as t };\n\n//# sourceMappingURL=refs-fQLFcMoq.mjs.map"],"mappings":";;;;;;;AAOA,SAAS,oBAAoB,YAAY;CACxC,OAAO,cAAA;AACR;AACA,SAAS,4BAA4B,OAAO;CAC3C,MAAM,8BAA8B,IAAI,IAAI;CAC5C,IAAI,MAAM,oBACJ;OAAA,MAAM,QAAQ,MAAM,MAAM,gBAAgB,OAAO,GAAG,IAAI,MAAM,uBAAuB,IAAI,KAAK,aAAa,GAAG,YAAY,IAAI,KAAK,eAAe,EAAE,QAAQ,UAAU,CAAC;CAAA;CAE7K,IAAI,CAAC,MAAM,MAAM,MAAM,IAAI,MAAM,UAAU,GAAG,OAAO;CACrD,MAAM,cAAc,SAAS,MAAM,OAAO,MAAM,YAAY,MAAM,UAAU;CAC5E,IAAI,CAAC,aAAa,OAAO;CACzB,KAAK,MAAM,QAAQ,aAAa;EAC/B,IAAI,MAAM,uBAAuB,IAAI,KAAK,aAAa,GAAG;EAC1D,IAAI,YAAY,IAAI,KAAK,aAAa,CAAC,EAAE,WAAW,WAAW;EAC/D,YAAY,IAAI,KAAK,eAAe,EAAE,QAAQ,UAAU,CAAC;CAC1D;CACA,OAAO;AACR;AACA,SAAS,wBAAwB,eAAe;CAC/C,OAAO,IAAI,IAAI,cAAc,KAAK,UAAU,MAAM,aAAa,CAAC;AACjE;AACA,SAAS,uBAAuB,eAAe,aAAa;CAC3D,OAAO,YAAY,IAAI,aAAa,CAAC,EAAE,UAAU;AAClD;;;;;AAOA,eAAe,kBAAkB,SAAS;CACzC,IAAI;EACH,OAAO,GAAG,MAAM,SAAS,OAAO,CAAC;CAClC,SAAS,OAAO;EACf,IAAI,oBAAoB,GAAG,KAAK,GAAG,OAAO,MAAM,KAAK;EACrD,MAAM;CACP;AACD"}
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
//#region ../../../1-framework/3-tooling/cli/dist/schemas-BGgjiKV0.d.mts
|
|
2
|
-
//#region src/commands/json/schemas.d.ts
|
|
3
|
-
declare const migrationSpaceListEntrySchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
4
|
-
space: string;
|
|
5
|
-
migrations: {
|
|
6
|
-
name: string;
|
|
7
|
-
hash: string;
|
|
8
|
-
fromContract: string | null;
|
|
9
|
-
toContract: string;
|
|
10
|
-
operationCount: number;
|
|
11
|
-
createdAt: string;
|
|
12
|
-
refs: string[];
|
|
13
|
-
providedInvariants: string[];
|
|
14
|
-
}[];
|
|
15
|
-
}, {}>;
|
|
16
|
-
type MigrationSpaceListEntry = typeof migrationSpaceListEntrySchema.infer;
|
|
17
|
-
declare const migrationListResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
18
|
-
ok: true;
|
|
19
|
-
summary: string;
|
|
20
|
-
spaces: {
|
|
21
|
-
space: string;
|
|
22
|
-
migrations: {
|
|
23
|
-
name: string;
|
|
24
|
-
hash: string;
|
|
25
|
-
fromContract: string | null;
|
|
26
|
-
toContract: string;
|
|
27
|
-
operationCount: number;
|
|
28
|
-
createdAt: string;
|
|
29
|
-
refs: string[];
|
|
30
|
-
providedInvariants: string[];
|
|
31
|
-
}[];
|
|
32
|
-
}[];
|
|
33
|
-
}, {}>;
|
|
34
|
-
type MigrationListResult = typeof migrationListResultSchema.infer;
|
|
35
|
-
declare const migrationSpaceGraphEntrySchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
36
|
-
space: string;
|
|
37
|
-
contracts: {
|
|
38
|
-
hash: string;
|
|
39
|
-
refs: string[];
|
|
40
|
-
}[];
|
|
41
|
-
migrations: {
|
|
42
|
-
name: string;
|
|
43
|
-
hash: string;
|
|
44
|
-
fromContract: string | null;
|
|
45
|
-
toContract: string;
|
|
46
|
-
}[];
|
|
47
|
-
}, {}>;
|
|
48
|
-
type MigrationSpaceGraphEntry = typeof migrationSpaceGraphEntrySchema.infer;
|
|
49
|
-
declare const migrationStatusEntrySchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
50
|
-
name: string;
|
|
51
|
-
hash: string;
|
|
52
|
-
fromContract: string | null;
|
|
53
|
-
toContract: string;
|
|
54
|
-
operationCount: number;
|
|
55
|
-
createdAt: string;
|
|
56
|
-
refs: string[];
|
|
57
|
-
providedInvariants: string[];
|
|
58
|
-
status: "applied" | "pending" | null;
|
|
59
|
-
}, {}>;
|
|
60
|
-
type MigrationStatusEntry = typeof migrationStatusEntrySchema.infer;
|
|
61
|
-
declare const statusDiagnosticSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
62
|
-
code: "CONTRACT.UNREADABLE";
|
|
63
|
-
severity: "warn" | "info";
|
|
64
|
-
message: string;
|
|
65
|
-
hints: string[];
|
|
66
|
-
} | {
|
|
67
|
-
code: "MIGRATION.MARKER_NOT_IN_HISTORY";
|
|
68
|
-
severity: "warn" | "info";
|
|
69
|
-
message: string;
|
|
70
|
-
hints: string[];
|
|
71
|
-
} | {
|
|
72
|
-
code: "MIGRATION.MISSING_INVARIANTS";
|
|
73
|
-
severity: "warn" | "info";
|
|
74
|
-
invariants: string[];
|
|
75
|
-
message: string;
|
|
76
|
-
ref?: string;
|
|
77
|
-
}, {}>;
|
|
78
|
-
type StatusDiagnosticJson = typeof statusDiagnosticSchema.infer;
|
|
79
|
-
declare const migrationStatusSpaceSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
80
|
-
space: string;
|
|
81
|
-
currentContract: string | null;
|
|
82
|
-
targetContract: string;
|
|
83
|
-
migrations: {
|
|
84
|
-
name: string;
|
|
85
|
-
hash: string;
|
|
86
|
-
fromContract: string | null;
|
|
87
|
-
toContract: string;
|
|
88
|
-
operationCount: number;
|
|
89
|
-
createdAt: string;
|
|
90
|
-
refs: string[];
|
|
91
|
-
providedInvariants: string[];
|
|
92
|
-
status: "applied" | "pending" | null;
|
|
93
|
-
}[];
|
|
94
|
-
}, {}>;
|
|
95
|
-
type MigrationStatusSpace = typeof migrationStatusSpaceSchema.infer;
|
|
96
|
-
declare const migrationStatusJsonResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
97
|
-
ok: true;
|
|
98
|
-
summary: string;
|
|
99
|
-
spaces: {
|
|
100
|
-
space: string;
|
|
101
|
-
currentContract: string | null;
|
|
102
|
-
targetContract: string;
|
|
103
|
-
migrations: {
|
|
104
|
-
name: string;
|
|
105
|
-
hash: string;
|
|
106
|
-
fromContract: string | null;
|
|
107
|
-
toContract: string;
|
|
108
|
-
operationCount: number;
|
|
109
|
-
createdAt: string;
|
|
110
|
-
refs: string[];
|
|
111
|
-
providedInvariants: string[];
|
|
112
|
-
status: "applied" | "pending" | null;
|
|
113
|
-
}[];
|
|
114
|
-
}[];
|
|
115
|
-
diagnostics: ({
|
|
116
|
-
code: "CONTRACT.UNREADABLE";
|
|
117
|
-
severity: "warn" | "info";
|
|
118
|
-
message: string;
|
|
119
|
-
hints: string[];
|
|
120
|
-
} | {
|
|
121
|
-
code: "MIGRATION.MARKER_NOT_IN_HISTORY";
|
|
122
|
-
severity: "warn" | "info";
|
|
123
|
-
message: string;
|
|
124
|
-
hints: string[];
|
|
125
|
-
} | {
|
|
126
|
-
code: "MIGRATION.MISSING_INVARIANTS";
|
|
127
|
-
severity: "warn" | "info";
|
|
128
|
-
invariants: string[];
|
|
129
|
-
message: string;
|
|
130
|
-
ref?: string;
|
|
131
|
-
})[];
|
|
132
|
-
}, {}>;
|
|
133
|
-
type MigrationStatusResult = typeof migrationStatusJsonResultSchema.infer;
|
|
134
|
-
declare const migrationLogResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
135
|
-
ok: true;
|
|
136
|
-
summary: string;
|
|
137
|
-
records: {
|
|
138
|
-
space: string;
|
|
139
|
-
name: string;
|
|
140
|
-
hash: string;
|
|
141
|
-
fromContract: string | null;
|
|
142
|
-
toContract: string;
|
|
143
|
-
appliedAt: string;
|
|
144
|
-
operationCount: number;
|
|
145
|
-
}[];
|
|
146
|
-
}, {}>;
|
|
147
|
-
type MigrationLogResult = typeof migrationLogResultSchema.infer;
|
|
148
|
-
declare const migrationShowResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
149
|
-
ok: true;
|
|
150
|
-
summary: string;
|
|
151
|
-
migration: {
|
|
152
|
-
space: string;
|
|
153
|
-
name: string;
|
|
154
|
-
hash: string;
|
|
155
|
-
fromContract: string | null;
|
|
156
|
-
toContract: string;
|
|
157
|
-
createdAt: string;
|
|
158
|
-
operations: {
|
|
159
|
-
id: string;
|
|
160
|
-
label: string;
|
|
161
|
-
operationClass: string;
|
|
162
|
-
}[];
|
|
163
|
-
preview: {
|
|
164
|
-
statements: {
|
|
165
|
-
text: string;
|
|
166
|
-
language: string;
|
|
167
|
-
}[];
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
}, {}>;
|
|
171
|
-
type MigrationShowResult = typeof migrationShowResultSchema.infer;
|
|
172
|
-
declare const checkFailureSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
173
|
-
space: string;
|
|
174
|
-
code: string;
|
|
175
|
-
where: string;
|
|
176
|
-
why: string;
|
|
177
|
-
nextActions: {
|
|
178
|
-
kind: "run-command" | "open-url" | "user-choice" | "edit-file" | "done";
|
|
179
|
-
label: string;
|
|
180
|
-
command?: string;
|
|
181
|
-
url?: string;
|
|
182
|
-
reason?: string;
|
|
183
|
-
}[];
|
|
184
|
-
}, {}>;
|
|
185
|
-
type CheckFailure = typeof checkFailureSchema.infer;
|
|
186
|
-
declare const migrationCheckResultSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
187
|
-
ok: boolean;
|
|
188
|
-
failures: {
|
|
189
|
-
space: string;
|
|
190
|
-
code: string;
|
|
191
|
-
where: string;
|
|
192
|
-
why: string;
|
|
193
|
-
nextActions: {
|
|
194
|
-
kind: "run-command" | "open-url" | "user-choice" | "edit-file" | "done";
|
|
195
|
-
label: string;
|
|
196
|
-
command?: string;
|
|
197
|
-
url?: string;
|
|
198
|
-
reason?: string;
|
|
199
|
-
}[];
|
|
200
|
-
}[];
|
|
201
|
-
summary: string;
|
|
202
|
-
}, {}>;
|
|
203
|
-
type MigrationCheckResult = typeof migrationCheckResultSchema.infer;
|
|
204
|
-
//#endregion
|
|
205
|
-
export { MigrationShowResult as a, MigrationStatusEntry as c, StatusDiagnosticJson as d, migrationCheckResultSchema as f, MigrationLogResult as i, MigrationStatusResult as l, MigrationCheckResult as n, MigrationSpaceGraphEntry as o, migrationStatusJsonResultSchema as p, MigrationListResult as r, MigrationSpaceListEntry as s, CheckFailure as t, MigrationStatusSpace as u };
|
|
206
|
-
//# sourceMappingURL=schemas-BGgjiKV0-Rh8RlMCl.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas-BGgjiKV0-Rh8RlMCl.d.mts","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/schemas-BGgjiKV0.d.mts"],"mappings":";;cACc,6EAA6E;EACzF;EACA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;KAGC,iCAAiC,8BAA8B;cACtD,yEAAyE;EACrF;EACA;EACA;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;MACA;MACA;;;;KAID,6BAA6B,0BAA0B;cAC9C,8EAA8E;EAC1F;EACA;IACE;IACA;;EAEF;IACE;IACA;IACA;IACA;;;KAGC,kCAAkC,+BAA+B;cACxD,0EAA0E;EACtF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KAEG,8BAA8B,2BAA2B;cAChD,sEAAsE;EAClF;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;;EAEA;EACA;EACA;EACA;EACA;;KAEG,8BAA8B,uBAAuB;cAC5C,0EAA0E;EACtF;EACA;EACA;EACA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;KAGC,8BAA8B,2BAA2B;cAChD,+EAA+E;EAC3F;EACA;EACA;IACE;IACA;IACA;IACA;MACE;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;;;EAGJ;IACE;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;IACA;;;KAGC,+BAA+B,gCAAgC;cACtD,wEAAwE;EACpF;EACA;EACA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;;;KAGC,4BAA4B,yBAAyB;cAC5C,yEAAyE;EACrF;EACA;EACA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;MACE;MACA;MACA;;IAEF;MACE;QACE;QACA;;;;;KAKH,6BAA6B,0BAA0B;cAC9C,kEAAkE;EAC9E;EACA;EACA;EACA;EACA;IACE;IACA;IACA;IACA;IACA;;;KAGC,sBAAsB,mBAAmB;cAChC,0EAA0E;EACtF;EACA;IACE;IACA;IACA;IACA;IACA;MACE;MACA;MACA;MACA;MACA;;;EAGJ;;KAEG,8BAA8B,2BAA2B"}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { type } from "arktype";
|
|
2
|
-
//#region ../../../1-framework/3-tooling/cli/dist/schemas-CYSD83Cu.mjs
|
|
3
|
-
const migrationEntrySchema = type({
|
|
4
|
-
name: "string",
|
|
5
|
-
hash: "string",
|
|
6
|
-
fromContract: "string | null",
|
|
7
|
-
toContract: "string",
|
|
8
|
-
operationCount: "number",
|
|
9
|
-
createdAt: "string",
|
|
10
|
-
refs: "string[]",
|
|
11
|
-
providedInvariants: "string[]"
|
|
12
|
-
});
|
|
13
|
-
const contractRefSchema = type({
|
|
14
|
-
hash: "string",
|
|
15
|
-
refs: "string[]"
|
|
16
|
-
});
|
|
17
|
-
const successEnvelopeBaseSchema = type({
|
|
18
|
-
ok: "true",
|
|
19
|
-
summary: "string"
|
|
20
|
-
});
|
|
21
|
-
const migrationSpaceListEntrySchema = type({
|
|
22
|
-
space: "string",
|
|
23
|
-
migrations: migrationEntrySchema.array()
|
|
24
|
-
});
|
|
25
|
-
successEnvelopeBaseSchema.and(type({ spaces: migrationSpaceListEntrySchema.array() }));
|
|
26
|
-
const graphMigrationSchema = type({
|
|
27
|
-
name: "string",
|
|
28
|
-
hash: "string",
|
|
29
|
-
fromContract: "string | null",
|
|
30
|
-
toContract: "string"
|
|
31
|
-
});
|
|
32
|
-
const migrationSpaceGraphEntrySchema = type({
|
|
33
|
-
space: "string",
|
|
34
|
-
contracts: contractRefSchema.array(),
|
|
35
|
-
migrations: graphMigrationSchema.array()
|
|
36
|
-
});
|
|
37
|
-
successEnvelopeBaseSchema.and(type({ spaces: migrationSpaceGraphEntrySchema.array() }));
|
|
38
|
-
const migrationStatusEntrySchema = migrationEntrySchema.and(type({ status: "\"applied\" | \"pending\" | null" }));
|
|
39
|
-
const contractUnreadableDiagnosticSchema = type({
|
|
40
|
-
code: "\"CONTRACT.UNREADABLE\"",
|
|
41
|
-
severity: "\"warn\" | \"info\"",
|
|
42
|
-
message: "string",
|
|
43
|
-
hints: "string[]"
|
|
44
|
-
});
|
|
45
|
-
const markerNotInHistoryDiagnosticSchema = type({
|
|
46
|
-
code: "\"MIGRATION.MARKER_NOT_IN_HISTORY\"",
|
|
47
|
-
severity: "\"warn\" | \"info\"",
|
|
48
|
-
message: "string",
|
|
49
|
-
hints: "string[]"
|
|
50
|
-
});
|
|
51
|
-
const missingInvariantsDiagnosticSchema = type({
|
|
52
|
-
code: "\"MIGRATION.MISSING_INVARIANTS\"",
|
|
53
|
-
severity: "\"warn\" | \"info\"",
|
|
54
|
-
"ref?": "string",
|
|
55
|
-
invariants: "string[]",
|
|
56
|
-
message: "string"
|
|
57
|
-
});
|
|
58
|
-
const statusDiagnosticSchema = contractUnreadableDiagnosticSchema.or(markerNotInHistoryDiagnosticSchema).or(missingInvariantsDiagnosticSchema);
|
|
59
|
-
const migrationStatusSpaceSchema = type({
|
|
60
|
-
space: "string",
|
|
61
|
-
currentContract: "string | null",
|
|
62
|
-
targetContract: "string",
|
|
63
|
-
migrations: migrationStatusEntrySchema.array()
|
|
64
|
-
});
|
|
65
|
-
const migrationStatusJsonResultSchema = successEnvelopeBaseSchema.and(type({
|
|
66
|
-
spaces: migrationStatusSpaceSchema.array(),
|
|
67
|
-
diagnostics: statusDiagnosticSchema.array()
|
|
68
|
-
}));
|
|
69
|
-
const ledgerRecordSchema = type({
|
|
70
|
-
space: "string",
|
|
71
|
-
name: "string",
|
|
72
|
-
hash: "string",
|
|
73
|
-
fromContract: "string | null",
|
|
74
|
-
toContract: "string",
|
|
75
|
-
appliedAt: "string",
|
|
76
|
-
operationCount: "number"
|
|
77
|
-
});
|
|
78
|
-
successEnvelopeBaseSchema.and(type({ records: ledgerRecordSchema.array() }));
|
|
79
|
-
const showOperationSchema = type({
|
|
80
|
-
id: "string",
|
|
81
|
-
label: "string",
|
|
82
|
-
operationClass: "string"
|
|
83
|
-
});
|
|
84
|
-
const showPreviewStatementSchema = type({
|
|
85
|
-
text: "string",
|
|
86
|
-
language: "string"
|
|
87
|
-
});
|
|
88
|
-
const showMigrationSchema = type({
|
|
89
|
-
space: "string",
|
|
90
|
-
name: "string",
|
|
91
|
-
hash: "string",
|
|
92
|
-
fromContract: "string | null",
|
|
93
|
-
toContract: "string",
|
|
94
|
-
createdAt: "string",
|
|
95
|
-
operations: showOperationSchema.array(),
|
|
96
|
-
preview: type({ statements: showPreviewStatementSchema.array() })
|
|
97
|
-
});
|
|
98
|
-
successEnvelopeBaseSchema.and(type({ migration: showMigrationSchema }));
|
|
99
|
-
const migrationCheckResultSchema = type({
|
|
100
|
-
ok: "boolean",
|
|
101
|
-
failures: type({
|
|
102
|
-
space: "string",
|
|
103
|
-
code: "string",
|
|
104
|
-
where: "string",
|
|
105
|
-
why: "string",
|
|
106
|
-
nextActions: type({
|
|
107
|
-
kind: "\"run-command\" | \"open-url\" | \"user-choice\" | \"edit-file\" | \"done\"",
|
|
108
|
-
label: "string",
|
|
109
|
-
"command?": "string",
|
|
110
|
-
"url?": "string",
|
|
111
|
-
"reason?": "string"
|
|
112
|
-
}).array()
|
|
113
|
-
}).array(),
|
|
114
|
-
summary: "string"
|
|
115
|
-
});
|
|
116
|
-
//#endregion
|
|
117
|
-
export { migrationStatusJsonResultSchema as n, migrationCheckResultSchema as t };
|
|
118
|
-
|
|
119
|
-
//# sourceMappingURL=schemas-CYSD83Cu-Bff4PPoi.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas-CYSD83Cu-Bff4PPoi.mjs","names":[],"sources":["../../../../1-framework/3-tooling/cli/dist/schemas-CYSD83Cu.mjs"],"sourcesContent":["import { type } from \"arktype\";\n//#region src/commands/json/schemas.ts\nconst migrationEntrySchema = type({\n\tname: \"string\",\n\thash: \"string\",\n\tfromContract: \"string | null\",\n\ttoContract: \"string\",\n\toperationCount: \"number\",\n\tcreatedAt: \"string\",\n\trefs: \"string[]\",\n\tprovidedInvariants: \"string[]\"\n});\nconst contractRefSchema = type({\n\thash: \"string\",\n\trefs: \"string[]\"\n});\nconst successEnvelopeBaseSchema = type({\n\tok: \"true\",\n\tsummary: \"string\"\n});\nconst migrationSpaceListEntrySchema = type({\n\tspace: \"string\",\n\tmigrations: migrationEntrySchema.array()\n});\nsuccessEnvelopeBaseSchema.and(type({ spaces: migrationSpaceListEntrySchema.array() }));\nconst graphMigrationSchema = type({\n\tname: \"string\",\n\thash: \"string\",\n\tfromContract: \"string | null\",\n\ttoContract: \"string\"\n});\nconst migrationSpaceGraphEntrySchema = type({\n\tspace: \"string\",\n\tcontracts: contractRefSchema.array(),\n\tmigrations: graphMigrationSchema.array()\n});\nsuccessEnvelopeBaseSchema.and(type({ spaces: migrationSpaceGraphEntrySchema.array() }));\nconst migrationStatusEntrySchema = migrationEntrySchema.and(type({ status: \"\\\"applied\\\" | \\\"pending\\\" | null\" }));\nconst contractUnreadableDiagnosticSchema = type({\n\tcode: \"\\\"CONTRACT.UNREADABLE\\\"\",\n\tseverity: \"\\\"warn\\\" | \\\"info\\\"\",\n\tmessage: \"string\",\n\thints: \"string[]\"\n});\nconst markerNotInHistoryDiagnosticSchema = type({\n\tcode: \"\\\"MIGRATION.MARKER_NOT_IN_HISTORY\\\"\",\n\tseverity: \"\\\"warn\\\" | \\\"info\\\"\",\n\tmessage: \"string\",\n\thints: \"string[]\"\n});\nconst missingInvariantsDiagnosticSchema = type({\n\tcode: \"\\\"MIGRATION.MISSING_INVARIANTS\\\"\",\n\tseverity: \"\\\"warn\\\" | \\\"info\\\"\",\n\t\"ref?\": \"string\",\n\tinvariants: \"string[]\",\n\tmessage: \"string\"\n});\nconst statusDiagnosticSchema = contractUnreadableDiagnosticSchema.or(markerNotInHistoryDiagnosticSchema).or(missingInvariantsDiagnosticSchema);\nconst migrationStatusSpaceSchema = type({\n\tspace: \"string\",\n\tcurrentContract: \"string | null\",\n\ttargetContract: \"string\",\n\tmigrations: migrationStatusEntrySchema.array()\n});\nconst migrationStatusJsonResultSchema = successEnvelopeBaseSchema.and(type({\n\tspaces: migrationStatusSpaceSchema.array(),\n\tdiagnostics: statusDiagnosticSchema.array()\n}));\nconst ledgerRecordSchema = type({\n\tspace: \"string\",\n\tname: \"string\",\n\thash: \"string\",\n\tfromContract: \"string | null\",\n\ttoContract: \"string\",\n\tappliedAt: \"string\",\n\toperationCount: \"number\"\n});\nsuccessEnvelopeBaseSchema.and(type({ records: ledgerRecordSchema.array() }));\nconst showOperationSchema = type({\n\tid: \"string\",\n\tlabel: \"string\",\n\toperationClass: \"string\"\n});\nconst showPreviewStatementSchema = type({\n\ttext: \"string\",\n\tlanguage: \"string\"\n});\nconst showMigrationSchema = type({\n\tspace: \"string\",\n\tname: \"string\",\n\thash: \"string\",\n\tfromContract: \"string | null\",\n\ttoContract: \"string\",\n\tcreatedAt: \"string\",\n\toperations: showOperationSchema.array(),\n\tpreview: type({ statements: showPreviewStatementSchema.array() })\n});\nsuccessEnvelopeBaseSchema.and(type({ migration: showMigrationSchema }));\nconst migrationCheckResultSchema = type({\n\tok: \"boolean\",\n\tfailures: type({\n\t\tspace: \"string\",\n\t\tcode: \"string\",\n\t\twhere: \"string\",\n\t\twhy: \"string\",\n\t\tnextActions: type({\n\t\t\tkind: \"\\\"run-command\\\" | \\\"open-url\\\" | \\\"user-choice\\\" | \\\"edit-file\\\" | \\\"done\\\"\",\n\t\t\tlabel: \"string\",\n\t\t\t\"command?\": \"string\",\n\t\t\t\"url?\": \"string\",\n\t\t\t\"reason?\": \"string\"\n\t\t}).array()\n\t}).array(),\n\tsummary: \"string\"\n});\n//#endregion\nexport { migrationStatusJsonResultSchema as n, migrationCheckResultSchema as t };\n\n//# sourceMappingURL=schemas-CYSD83Cu.mjs.map"],"mappings":";;AAEA,MAAM,uBAAuB,KAAK;CACjC,MAAM;CACN,MAAM;CACN,cAAc;CACd,YAAY;CACZ,gBAAgB;CAChB,WAAW;CACX,MAAM;CACN,oBAAoB;AACrB,CAAC;AACD,MAAM,oBAAoB,KAAK;CAC9B,MAAM;CACN,MAAM;AACP,CAAC;AACD,MAAM,4BAA4B,KAAK;CACtC,IAAI;CACJ,SAAS;AACV,CAAC;AACD,MAAM,gCAAgC,KAAK;CAC1C,OAAO;CACP,YAAY,qBAAqB,MAAM;AACxC,CAAC;AACD,0BAA0B,IAAI,KAAK,EAAE,QAAQ,8BAA8B,MAAM,EAAE,CAAC,CAAC;AACrF,MAAM,uBAAuB,KAAK;CACjC,MAAM;CACN,MAAM;CACN,cAAc;CACd,YAAY;AACb,CAAC;AACD,MAAM,iCAAiC,KAAK;CAC3C,OAAO;CACP,WAAW,kBAAkB,MAAM;CACnC,YAAY,qBAAqB,MAAM;AACxC,CAAC;AACD,0BAA0B,IAAI,KAAK,EAAE,QAAQ,+BAA+B,MAAM,EAAE,CAAC,CAAC;AACtF,MAAM,6BAA6B,qBAAqB,IAAI,KAAK,EAAE,QAAQ,mCAAmC,CAAC,CAAC;AAChH,MAAM,qCAAqC,KAAK;CAC/C,MAAM;CACN,UAAU;CACV,SAAS;CACT,OAAO;AACR,CAAC;AACD,MAAM,qCAAqC,KAAK;CAC/C,MAAM;CACN,UAAU;CACV,SAAS;CACT,OAAO;AACR,CAAC;AACD,MAAM,oCAAoC,KAAK;CAC9C,MAAM;CACN,UAAU;CACV,QAAQ;CACR,YAAY;CACZ,SAAS;AACV,CAAC;AACD,MAAM,yBAAyB,mCAAmC,GAAG,kCAAkC,CAAC,CAAC,GAAG,iCAAiC;AAC7I,MAAM,6BAA6B,KAAK;CACvC,OAAO;CACP,iBAAiB;CACjB,gBAAgB;CAChB,YAAY,2BAA2B,MAAM;AAC9C,CAAC;AACD,MAAM,kCAAkC,0BAA0B,IAAI,KAAK;CAC1E,QAAQ,2BAA2B,MAAM;CACzC,aAAa,uBAAuB,MAAM;AAC3C,CAAC,CAAC;AACF,MAAM,qBAAqB,KAAK;CAC/B,OAAO;CACP,MAAM;CACN,MAAM;CACN,cAAc;CACd,YAAY;CACZ,WAAW;CACX,gBAAgB;AACjB,CAAC;AACD,0BAA0B,IAAI,KAAK,EAAE,SAAS,mBAAmB,MAAM,EAAE,CAAC,CAAC;AAC3E,MAAM,sBAAsB,KAAK;CAChC,IAAI;CACJ,OAAO;CACP,gBAAgB;AACjB,CAAC;AACD,MAAM,6BAA6B,KAAK;CACvC,MAAM;CACN,UAAU;AACX,CAAC;AACD,MAAM,sBAAsB,KAAK;CAChC,OAAO;CACP,MAAM;CACN,MAAM;CACN,cAAc;CACd,YAAY;CACZ,WAAW;CACX,YAAY,oBAAoB,MAAM;CACtC,SAAS,KAAK,EAAE,YAAY,2BAA2B,MAAM,EAAE,CAAC;AACjE,CAAC;AACD,0BAA0B,IAAI,KAAK,EAAE,WAAW,oBAAoB,CAAC,CAAC;AACtE,MAAM,6BAA6B,KAAK;CACvC,IAAI;CACJ,UAAU,KAAK;EACd,OAAO;EACP,MAAM;EACN,OAAO;EACP,KAAK;EACL,aAAa,KAAK;GACjB,MAAM;GACN,OAAO;GACP,YAAY;GACZ,QAAQ;GACR,WAAW;EACZ,CAAC,CAAC,CAAC,MAAM;CACV,CAAC,CAAC,CAAC,MAAM;CACT,SAAS;AACV,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shells-BenrJHp2.mjs","names":[],"sources":["../../../../0-shared/publish-surface/dist/shells.mjs"],"sourcesContent":["//#region src/shells.ts\n/**\n* The CLI command every facade puts on an application's `PATH`. It runs the\n* toolchain's single published copy; the facade only carries the launcher.\n*/\nconst FACADE_BINS = { \"prisma-next\": \"@prisma/orm-toolchain/bin/prisma-next\" };\n/**\n* Surfaces every facade republishes regardless of family.\n*\n* An application depends on one facade and nothing else (ADR 242), so\n* everything it reaches — hand-written and generated alike — has to have a\n* name under the facade. These are the target-agnostic ones: the contract and\n* component surfaces emitted files import, the shared helpers, and the Vite\n* plugin.\n*\n* Entry names follow the name the platform shell gives the same package, so\n* one internal package reads the same way wherever it is reached from.\n*\n* A republished package brings its whole subpath surface with it unless the\n* entry lists `subpaths`, so the cost of an entry is its export count, not\n* one. Nothing goes in here that no application reaches.\n*\n* `migration-tools` is listed by subpath rather than whole. An application\n* does reach it — a project that checks its own migrations are intact, or\n* that stages an extension's pinned contract-space artifacts before `db\n* init`, reads and writes the on-disk migration format, and under a\n* facade-only install there is no other published name for it. But it is a\n* 17-subpath tooling package whose remaining surface (the graph, the\n* pathfinder, ref resolution, the ledger) is the CLI's own working material,\n* and publishing that would freeze it. The five listed here are what the\n* repository's own consumers reach.\n*/\nconst COMMON_FACADE_REEXPORTS = [\n\t{\n\t\tpackage: \"@internal/contract\",\n\t\tentry: \"contract\"\n\t},\n\t{\n\t\tpackage: \"@internal/framework-components\",\n\t\tentry: \"components\"\n\t},\n\t{\n\t\tpackage: \"@internal/utils\",\n\t\tentry: \"utils\"\n\t},\n\t{\n\t\tpackage: \"@internal/vite-plugin-contract-emit\",\n\t\tentry: \"vite-plugin-contract-emit\"\n\t},\n\t{\n\t\tpackage: \"@internal/migration-tools\",\n\t\tentry: \"migration-tools\",\n\t\tsubpaths: [\n\t\t\t\"aggregate\",\n\t\t\t\"contract-snapshot-store\",\n\t\t\t\"hash\",\n\t\t\t\"io\",\n\t\t\t\"spaces\"\n\t\t]\n\t}\n];\n/**\n* The per-database part of a facade's republished surface.\n*\n* `family` is the family's contract package (`@internal/sql-contract` or\n* `@internal/mongo-contract`) and `familyPack` its control-plane and IR\n* pack; `target` and `adapter` carry the codec and operation types emitted\n* contracts reference; `runtime` is the family runtime an application drives\n* queries through.\n*\n* `family-contract` and `family-runtime` take a qualified name because the\n* facade's own `contract` and `runtime` are different modules. `target` and\n* `familyPack` forward subpaths only, so that a facade which publishes its own\n* `./target` or `./family` pack keeps that name for its own module; where a\n* facade publishes neither, the plain name simply stays free.\n*\n* `driver` is carried by every facade. A facade wires its own driver, so the\n* only code that names one is code driving the migration planner or runner\n* itself — which the SQL facades were assumed not to have, until the SQL\n* migration-planner harnesses turned out to need the driver's control\n* descriptor to build a control stack by hand. Two subpaths per facade.\n*/\nfunction facadeReexports(options) {\n\treturn [\n\t\t...COMMON_FACADE_REEXPORTS,\n\t\t{\n\t\t\tpackage: options.family,\n\t\t\tentry: \"family-contract\"\n\t\t},\n\t\t{\n\t\t\tpackage: options.familyPack,\n\t\t\tentry: \"family\",\n\t\t\troot: false\n\t\t},\n\t\t{\n\t\t\tpackage: options.runtime,\n\t\t\tentry: \"family-runtime\"\n\t\t},\n\t\t{\n\t\t\tpackage: options.target,\n\t\t\tentry: \"target\",\n\t\t\troot: false\n\t\t},\n\t\t{\n\t\t\tpackage: options.adapter,\n\t\t\tentry: \"adapter\"\n\t\t},\n\t\t{\n\t\t\tpackage: options.driver,\n\t\t\tentry: \"driver\"\n\t\t},\n\t\t...options.queryBuilders\n\t];\n}\n/**\n* The SQL family's query surfaces, republished by both SQL facades.\n*\n* `schema-ir` carries one subpath. Code that authors a migration by hand, or\n* drives the planner itself, names `SqlSchemaIR` — it is the schema shape the\n* planner takes and returns. The package's other two subpaths are the IR's\n* construction and naming internals, which publishing would freeze.\n*/\nconst SQL_QUERY_REEXPORTS = [\n\t{\n\t\tpackage: \"@internal/sql-orm-client\",\n\t\tentry: \"orm-client\"\n\t},\n\t{\n\t\tpackage: \"@internal/sql-builder\",\n\t\tentry: \"builder\"\n\t},\n\t{\n\t\tpackage: \"@internal/sql-relational-core\",\n\t\tentry: \"relational-core\"\n\t},\n\t{\n\t\tpackage: \"@internal/sql-schema-ir\",\n\t\tentry: \"schema-ir\",\n\t\tsubpaths: [\"types\"]\n\t}\n];\nconst publicShells = /* @__PURE__ */ new Map([\n\t[\"@prisma/orm-framework\", {\n\t\tdir: \"packages/9-public/@prisma/orm-framework\",\n\t\tkind: \"platform\",\n\t\tpackages: [\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/0-foundation/contract\",\n\t\t\t\tname: \"@internal/contract\",\n\t\t\t\tentry: \"contract\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/0-foundation/utils\",\n\t\t\t\tname: \"@internal/utils\",\n\t\t\t\tentry: \"utils\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/1-core/config\",\n\t\t\t\tname: \"@internal/config\",\n\t\t\t\tentry: \"config\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/1-core/errors\",\n\t\t\t\tname: \"@internal/errors\",\n\t\t\t\tentry: \"errors\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/1-core/framework-components\",\n\t\t\t\tname: \"@internal/framework-components\",\n\t\t\t\tentry: \"components\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/1-core/operations\",\n\t\t\t\tname: \"@internal/operations\",\n\t\t\t\tentry: \"operations\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/1-core/ts-render\",\n\t\t\t\tname: \"@internal/ts-render\",\n\t\t\t\tentry: \"ts-render\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/2-authoring/contract\",\n\t\t\t\tname: \"@internal/contract-authoring\",\n\t\t\t\tentry: \"contract-authoring\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/2-authoring/ids\",\n\t\t\t\tname: \"@internal/ids\",\n\t\t\t\tentry: \"ids\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/2-authoring/psl-parser\",\n\t\t\t\tname: \"@internal/psl-parser\",\n\t\t\t\tentry: \"psl-parser\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/2-authoring/psl-printer\",\n\t\t\t\tname: \"@internal/psl-printer\",\n\t\t\t\tentry: \"psl-printer\"\n\t\t\t}\n\t\t]\n\t}],\n\t[\"@prisma/orm-toolchain\", {\n\t\tdir: \"packages/9-public/@prisma/orm-toolchain\",\n\t\tkind: \"platform\",\n\t\tpackages: [\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/3-tooling/cli\",\n\t\t\t\tname: \"@internal/cli\",\n\t\t\t\tentry: \"cli\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/3-tooling/cli-telemetry\",\n\t\t\t\tname: \"@internal/cli-telemetry\",\n\t\t\t\tentry: \"cli-telemetry\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/3-tooling/config-loader\",\n\t\t\t\tname: \"@internal/config-loader\",\n\t\t\t\tentry: \"config-loader\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/3-tooling/emitter\",\n\t\t\t\tname: \"@internal/emitter\",\n\t\t\t\tentry: \"emitter\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/3-tooling/language-server\",\n\t\t\t\tname: \"@internal/language-server\",\n\t\t\t\tentry: \"language-server\",\n\t\t\t\tpublished: false\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/3-tooling/migration\",\n\t\t\t\tname: \"@internal/migration-tools\",\n\t\t\t\tentry: \"migration-tools\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/1-framework/3-tooling/vite-plugin-contract-emit\",\n\t\t\t\tname: \"@internal/vite-plugin-contract-emit\",\n\t\t\t\tentry: \"vite-plugin-contract-emit\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/0-shared/publish-surface\",\n\t\t\t\tname: \"@internal/publish-surface\",\n\t\t\t\tentry: \"publish-surface\"\n\t\t\t}\n\t\t],\n\t\tbins: { \"prisma-next\": \"packages/1-framework/3-tooling/cli/dist/cli.mjs\" },\n\t\tcopy: [\"packages/1-framework/3-tooling/cli/dist/*.md\"]\n\t}],\n\t[\"@prisma/orm-family-sql\", {\n\t\tdir: \"packages/9-public/@prisma/orm-family-sql\",\n\t\tkind: \"platform\",\n\t\tpackages: [\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/1-core/contract\",\n\t\t\t\tname: \"@internal/sql-contract\",\n\t\t\t\tentry: \"contract\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/1-core/errors\",\n\t\t\t\tname: \"@internal/sql-errors\",\n\t\t\t\tentry: \"errors\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/1-core/operations\",\n\t\t\t\tname: \"@internal/sql-operations\",\n\t\t\t\tentry: \"operations\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/1-core/schema-ir\",\n\t\t\t\tname: \"@internal/sql-schema-ir\",\n\t\t\t\tentry: \"schema-ir\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/2-authoring/contract-psl\",\n\t\t\t\tname: \"@internal/sql-contract-psl\",\n\t\t\t\tentry: \"contract-psl\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/2-authoring/contract-ts\",\n\t\t\t\tname: \"@internal/sql-contract-ts\",\n\t\t\t\tentry: \"contract-ts\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/3-tooling/emitter\",\n\t\t\t\tname: \"@internal/sql-contract-emitter\",\n\t\t\t\tentry: \"contract-emitter\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/4-lanes/query-builder\",\n\t\t\t\tname: \"@internal/sql-lane-query-builder\",\n\t\t\t\tentry: \"lane-query-builder\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/4-lanes/relational-core\",\n\t\t\t\tname: \"@internal/sql-relational-core\",\n\t\t\t\tentry: \"relational-core\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/4-lanes/sql-builder\",\n\t\t\t\tname: \"@internal/sql-builder\",\n\t\t\t\tentry: \"builder\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/5-runtime\",\n\t\t\t\tname: \"@internal/sql-runtime\",\n\t\t\t\tentry: \"runtime\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-sql/9-family\",\n\t\t\t\tname: \"@internal/family-sql\",\n\t\t\t\tentry: \"family\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/3-extensions/sql-orm-client\",\n\t\t\t\tname: \"@internal/sql-orm-client\",\n\t\t\t\tentry: \"orm-client\"\n\t\t\t}\n\t\t]\n\t}],\n\t[\"@prisma/orm-family-mongo\", {\n\t\tdir: \"packages/9-public/@prisma/orm-family-mongo\",\n\t\tkind: \"platform\",\n\t\tpackages: [\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/1-foundation/mongo-codec\",\n\t\t\t\tname: \"@internal/mongo-codec\",\n\t\t\t\tentry: \"codec\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/1-foundation/mongo-contract\",\n\t\t\t\tname: \"@internal/mongo-contract\",\n\t\t\t\tentry: \"contract\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/1-foundation/mongo-value\",\n\t\t\t\tname: \"@internal/mongo-value\",\n\t\t\t\tentry: \"value\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/2-authoring/contract-psl\",\n\t\t\t\tname: \"@internal/mongo-contract-psl\",\n\t\t\t\tentry: \"contract-psl\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/2-authoring/contract-ts\",\n\t\t\t\tname: \"@internal/mongo-contract-ts\",\n\t\t\t\tentry: \"contract-ts\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/3-tooling/emitter\",\n\t\t\t\tname: \"@internal/mongo-emitter\",\n\t\t\t\tentry: \"emitter\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/3-tooling/mongo-schema-ir\",\n\t\t\t\tname: \"@internal/mongo-schema-ir\",\n\t\t\t\tentry: \"schema-ir\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/4-query/query-ast\",\n\t\t\t\tname: \"@internal/mongo-query-ast\",\n\t\t\t\tentry: \"query-ast\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/5-query-builders/orm\",\n\t\t\t\tname: \"@internal/mongo-orm\",\n\t\t\t\tentry: \"orm\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/5-query-builders/query-builder\",\n\t\t\t\tname: \"@internal/mongo-query-builder\",\n\t\t\t\tentry: \"query-builder\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/6-transport/mongo-lowering\",\n\t\t\t\tname: \"@internal/mongo-lowering\",\n\t\t\t\tentry: \"lowering\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/6-transport/mongo-wire\",\n\t\t\t\tname: \"@internal/mongo-wire\",\n\t\t\t\tentry: \"wire\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/7-runtime\",\n\t\t\t\tname: \"@internal/mongo-runtime\",\n\t\t\t\tentry: \"runtime\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/2-mongo-family/9-family\",\n\t\t\t\tname: \"@internal/family-mongo\",\n\t\t\t\tentry: \"family\"\n\t\t\t}\n\t\t]\n\t}],\n\t[\"@prisma/orm-target-postgres\", {\n\t\tdir: \"packages/9-public/@prisma/orm-target-postgres\",\n\t\tkind: \"platform\",\n\t\tpackages: [\n\t\t\t{\n\t\t\t\tdir: \"packages/3-targets/3-targets/postgres\",\n\t\t\t\tname: \"@internal/target-postgres\",\n\t\t\t\tentry: \"target\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/3-targets/6-adapters/postgres\",\n\t\t\t\tname: \"@internal/adapter-postgres\",\n\t\t\t\tentry: \"adapter\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/3-targets/7-drivers/postgres\",\n\t\t\t\tname: \"@internal/driver-postgres\",\n\t\t\t\tentry: \"driver\"\n\t\t\t}\n\t\t]\n\t}],\n\t[\"@prisma/orm-target-sqlite\", {\n\t\tdir: \"packages/9-public/@prisma/orm-target-sqlite\",\n\t\tkind: \"platform\",\n\t\tpackages: [\n\t\t\t{\n\t\t\t\tdir: \"packages/3-targets/3-targets/sqlite\",\n\t\t\t\tname: \"@internal/target-sqlite\",\n\t\t\t\tentry: \"target\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/3-targets/6-adapters/sqlite\",\n\t\t\t\tname: \"@internal/adapter-sqlite\",\n\t\t\t\tentry: \"adapter\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/3-targets/7-drivers/sqlite\",\n\t\t\t\tname: \"@internal/driver-sqlite\",\n\t\t\t\tentry: \"driver\"\n\t\t\t}\n\t\t]\n\t}],\n\t[\"@prisma/orm-target-mongo\", {\n\t\tdir: \"packages/9-public/@prisma/orm-target-mongo\",\n\t\tkind: \"platform\",\n\t\tpackages: [\n\t\t\t{\n\t\t\t\tdir: \"packages/3-mongo-target/1-mongo-target\",\n\t\t\t\tname: \"@internal/target-mongo\",\n\t\t\t\tentry: \"target\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/3-mongo-target/2-mongo-adapter\",\n\t\t\t\tname: \"@internal/adapter-mongo\",\n\t\t\t\tentry: \"adapter\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tdir: \"packages/3-mongo-target/3-mongo-driver\",\n\t\t\t\tname: \"@internal/driver-mongo\",\n\t\t\t\tentry: \"driver\"\n\t\t\t}\n\t\t]\n\t}],\n\t[\"@prisma/orm-postgres\", {\n\t\tdir: \"packages/9-public/@prisma/orm-postgres\",\n\t\tkind: \"facade\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/postgres\",\n\t\t\tname: \"@internal/postgres\",\n\t\t\tentry: \"\"\n\t\t}],\n\t\treexports: facadeReexports({\n\t\t\tfamily: \"@internal/sql-contract\",\n\t\t\tfamilyPack: \"@internal/family-sql\",\n\t\t\truntime: \"@internal/sql-runtime\",\n\t\t\ttarget: \"@internal/target-postgres\",\n\t\t\tadapter: \"@internal/adapter-postgres\",\n\t\t\tdriver: \"@internal/driver-postgres\",\n\t\t\tqueryBuilders: SQL_QUERY_REEXPORTS\n\t\t}),\n\t\tforwardedBins: FACADE_BINS\n\t}],\n\t[\"@prisma/orm-sqlite\", {\n\t\tdir: \"packages/9-public/@prisma/orm-sqlite\",\n\t\tkind: \"facade\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/sqlite\",\n\t\t\tname: \"@internal/sqlite\",\n\t\t\tentry: \"\"\n\t\t}],\n\t\treexports: facadeReexports({\n\t\t\tfamily: \"@internal/sql-contract\",\n\t\t\tfamilyPack: \"@internal/family-sql\",\n\t\t\truntime: \"@internal/sql-runtime\",\n\t\t\ttarget: \"@internal/target-sqlite\",\n\t\t\tadapter: \"@internal/adapter-sqlite\",\n\t\t\tdriver: \"@internal/driver-sqlite\",\n\t\t\tqueryBuilders: SQL_QUERY_REEXPORTS\n\t\t}),\n\t\tforwardedBins: FACADE_BINS\n\t}],\n\t[\"@prisma/orm-mongo\", {\n\t\tdir: \"packages/9-public/@prisma/orm-mongo\",\n\t\tkind: \"facade\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/mongo\",\n\t\t\tname: \"@internal/mongo\",\n\t\t\tentry: \"\"\n\t\t}],\n\t\treexports: facadeReexports({\n\t\t\tfamily: \"@internal/mongo-contract\",\n\t\t\tfamilyPack: \"@internal/family-mongo\",\n\t\t\truntime: \"@internal/mongo-runtime\",\n\t\t\ttarget: \"@internal/target-mongo\",\n\t\t\tadapter: \"@internal/adapter-mongo\",\n\t\t\tdriver: \"@internal/driver-mongo\",\n\t\t\tqueryBuilders: [\n\t\t\t\t{\n\t\t\t\t\tpackage: \"@internal/mongo-orm\",\n\t\t\t\t\tentry: \"orm\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpackage: \"@internal/mongo-query-builder\",\n\t\t\t\t\tentry: \"query-builder\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpackage: \"@internal/mongo-query-ast\",\n\t\t\t\t\tentry: \"query-ast\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpackage: \"@internal/mongo-value\",\n\t\t\t\t\tentry: \"value\"\n\t\t\t\t}\n\t\t\t]\n\t\t}),\n\t\tforwardedBins: FACADE_BINS\n\t}],\n\t[\"@prisma/orm-extension-postgis\", {\n\t\tdir: \"packages/9-public/@prisma/orm-extension-postgis\",\n\t\tkind: \"extension\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/postgis\",\n\t\t\tname: \"@internal/extension-postgis\",\n\t\t\tentry: \"\"\n\t\t}],\n\t\tpeerShells: [\"@prisma/orm-target-postgres\"]\n\t}],\n\t[\"@prisma/orm-extension-pgvector\", {\n\t\tdir: \"packages/9-public/@prisma/orm-extension-pgvector\",\n\t\tkind: \"extension\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/pgvector\",\n\t\t\tname: \"@internal/extension-pgvector\",\n\t\t\tentry: \"\"\n\t\t}],\n\t\tpeerShells: [\"@prisma/orm-target-postgres\"]\n\t}],\n\t[\"@prisma/orm-extension-paradedb\", {\n\t\tdir: \"packages/9-public/@prisma/orm-extension-paradedb\",\n\t\tkind: \"extension\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/paradedb\",\n\t\t\tname: \"@internal/extension-paradedb\",\n\t\t\tentry: \"\"\n\t\t}],\n\t\tpeerShells: [\"@prisma/orm-target-postgres\"]\n\t}],\n\t[\"@prisma/orm-extension-supabase\", {\n\t\tdir: \"packages/9-public/@prisma/orm-extension-supabase\",\n\t\tkind: \"extension\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/supabase\",\n\t\t\tname: \"@internal/extension-supabase\",\n\t\t\tentry: \"\"\n\t\t}],\n\t\tpeerShells: [\"@prisma/orm-target-postgres\"]\n\t}],\n\t[\"@prisma/orm-extension-arktype-json\", {\n\t\tdir: \"packages/9-public/@prisma/orm-extension-arktype-json\",\n\t\tkind: \"extension\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/arktype-json\",\n\t\t\tname: \"@internal/extension-arktype-json\",\n\t\t\tentry: \"\"\n\t\t}],\n\t\tpeerShells: [\"@prisma/orm-target-postgres\"]\n\t}],\n\t[\"@prisma/orm-extension-middleware-cache\", {\n\t\tdir: \"packages/9-public/@prisma/orm-extension-middleware-cache\",\n\t\tkind: \"extension\",\n\t\tpackages: [{\n\t\t\tdir: \"packages/3-extensions/middleware-cache\",\n\t\t\tname: \"@internal/middleware-cache\",\n\t\t\tentry: \"\"\n\t\t}]\n\t}]\n]);\n/** Export subpaths that never ship in a shell (test-only surfaces). */\nconst excludedSubpaths = [/^\\.\\/test(\\/|$)/];\n//#endregion\nexport { excludedSubpaths, publicShells };\n\n//# sourceMappingURL=shells.mjs.map"],"mappings":";;;;;AAKA,MAAM,cAAc,EAAE,eAAe,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2B7E,MAAM,0BAA0B;CAC/B;EACC,SAAS;EACT,OAAO;CACR;CACA;EACC,SAAS;EACT,OAAO;CACR;CACA;EACC,SAAS;EACT,OAAO;CACR;CACA;EACC,SAAS;EACT,OAAO;CACR;CACA;EACC,SAAS;EACT,OAAO;EACP,UAAU;GACT;GACA;GACA;GACA;GACA;EACD;CACD;AACD;;;;;;;;;;;;;;;;;;;;;;AAsBA,SAAS,gBAAgB,SAAS;CACjC,OAAO;EACN,GAAG;EACH;GACC,SAAS,QAAQ;GACjB,OAAO;EACR;EACA;GACC,SAAS,QAAQ;GACjB,OAAO;GACP,MAAM;EACP;EACA;GACC,SAAS,QAAQ;GACjB,OAAO;EACR;EACA;GACC,SAAS,QAAQ;GACjB,OAAO;GACP,MAAM;EACP;EACA;GACC,SAAS,QAAQ;GACjB,OAAO;EACR;EACA;GACC,SAAS,QAAQ;GACjB,OAAO;EACR;EACA,GAAG,QAAQ;CACZ;AACD;;;;;;;;;AASA,MAAM,sBAAsB;CAC3B;EACC,SAAS;EACT,OAAO;CACR;CACA;EACC,SAAS;EACT,OAAO;CACR;CACA;EACC,SAAS;EACT,OAAO;CACR;CACA;EACC,SAAS;EACT,OAAO;EACP,UAAU,CAAC,OAAO;CACnB;AACD;AACA,MAAM,+BAA+B,IAAI,IAAI;CAC5C,CAAC,yBAAyB;EACzB,KAAK;EACL,MAAM;EACN,UAAU;GACT;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;EACD;CACD,CAAC;CACD,CAAC,yBAAyB;EACzB,KAAK;EACL,MAAM;EACN,UAAU;GACT;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;IACP,WAAW;GACZ;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;EACD;EACA,MAAM,EAAE,eAAe,kDAAkD;EACzE,MAAM,CAAC,8CAA8C;CACtD,CAAC;CACD,CAAC,0BAA0B;EAC1B,KAAK;EACL,MAAM;EACN,UAAU;GACT;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;EACD;CACD,CAAC;CACD,CAAC,4BAA4B;EAC5B,KAAK;EACL,MAAM;EACN,UAAU;GACT;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;EACD;CACD,CAAC;CACD,CAAC,+BAA+B;EAC/B,KAAK;EACL,MAAM;EACN,UAAU;GACT;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;EACD;CACD,CAAC;CACD,CAAC,6BAA6B;EAC7B,KAAK;EACL,MAAM;EACN,UAAU;GACT;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;EACD;CACD,CAAC;CACD,CAAC,4BAA4B;EAC5B,KAAK;EACL,MAAM;EACN,UAAU;GACT;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;GACA;IACC,KAAK;IACL,MAAM;IACN,OAAO;GACR;EACD;CACD,CAAC;CACD,CAAC,wBAAwB;EACxB,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;EACD,WAAW,gBAAgB;GAC1B,QAAQ;GACR,YAAY;GACZ,SAAS;GACT,QAAQ;GACR,SAAS;GACT,QAAQ;GACR,eAAe;EAChB,CAAC;EACD,eAAe;CAChB,CAAC;CACD,CAAC,sBAAsB;EACtB,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;EACD,WAAW,gBAAgB;GAC1B,QAAQ;GACR,YAAY;GACZ,SAAS;GACT,QAAQ;GACR,SAAS;GACT,QAAQ;GACR,eAAe;EAChB,CAAC;EACD,eAAe;CAChB,CAAC;CACD,CAAC,qBAAqB;EACrB,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;EACD,WAAW,gBAAgB;GAC1B,QAAQ;GACR,YAAY;GACZ,SAAS;GACT,QAAQ;GACR,SAAS;GACT,QAAQ;GACR,eAAe;IACd;KACC,SAAS;KACT,OAAO;IACR;IACA;KACC,SAAS;KACT,OAAO;IACR;IACA;KACC,SAAS;KACT,OAAO;IACR;IACA;KACC,SAAS;KACT,OAAO;IACR;GACD;EACD,CAAC;EACD,eAAe;CAChB,CAAC;CACD,CAAC,iCAAiC;EACjC,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;EACD,YAAY,CAAC,6BAA6B;CAC3C,CAAC;CACD,CAAC,kCAAkC;EAClC,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;EACD,YAAY,CAAC,6BAA6B;CAC3C,CAAC;CACD,CAAC,kCAAkC;EAClC,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;EACD,YAAY,CAAC,6BAA6B;CAC3C,CAAC;CACD,CAAC,kCAAkC;EAClC,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;EACD,YAAY,CAAC,6BAA6B;CAC3C,CAAC;CACD,CAAC,sCAAsC;EACtC,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;EACD,YAAY,CAAC,6BAA6B;CAC3C,CAAC;CACD,CAAC,0CAA0C;EAC1C,KAAK;EACL,MAAM;EACN,UAAU,CAAC;GACV,KAAK;GACL,MAAM;GACN,OAAO;EACR,CAAC;CACF,CAAC;AACF,CAAC;;AAED,MAAM,mBAAmB,CAAC,iBAAiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shells-COHV_Ozf.d.mts","names":[],"sources":["../../../../0-shared/publish-surface/dist/shells.d.mts"],"mappings":";;;;;;;;;;;;;;;;;KAgBK;;;;;;;UAOK;;WAEC;;;;;;;WAOA;;;;;;;;WAQA;;;;;;;;;;WAUA;;UAED;;WAEC;;WAEA;;;;;;WAMA;;;;;;;;;;;WAWA;;UAED;;WAEC;WACA,MAAM;WACN,mBAAmB;;;;;;;;;WASnB,qBAAqB;;;;;;;;WAQrB,OAAO,SAAS;;;;;;;;;;;WAWhB,gBAAgB,SAAS;;;;;;;;;;;;WAYzB,sBAAsB;;;;;;WAMtB;;KAEN;cACS,cAAc,YAAY,WAAW;;cAErC,2BAA2B"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { r as createTerminalUI } from "./terminal-ui-Cqz4LVL7-B0mcVdLy.mjs";
|
|
2
|
-
import { a as formatCommandHelp, b as setCommandExamples, d as isCI$1, m as parseGlobalFlagsOrExit, p as parseGlobalFlags, t as addGlobalOptions, y as setCommandDescriptions } from "./command-helpers-BCgwcqTe-lNCtppzM.mjs";
|
|
3
|
-
import { a as resolveGating, d as writeUserConfig, i as readUserConfig, u as userConfigPath } from "./exports-CqNUihkI.mjs";
|
|
4
|
-
import { Command } from "commander";
|
|
5
|
-
//#region ../../../1-framework/3-tooling/cli/dist/telemetry-BD52LETE.mjs
|
|
6
|
-
/**
|
|
7
|
-
* Resolves the same gate the runtime uses (CI check + `resolveGating`) and
|
|
8
|
-
* projects it into a user-facing status. Pure read: never mints, never
|
|
9
|
-
* writes. The `installationId` value itself is never surfaced — only its
|
|
10
|
-
* presence — so `status` discloses nothing identifying.
|
|
11
|
-
*/
|
|
12
|
-
function resolveTelemetryStatus(inputs) {
|
|
13
|
-
const config = readUserConfig();
|
|
14
|
-
const configPath = userConfigPath();
|
|
15
|
-
const installationIdStored = typeof config.installationId === "string" && config.installationId.length > 0;
|
|
16
|
-
if (inputs.inCI) return {
|
|
17
|
-
enabled: false,
|
|
18
|
-
reason: "ci",
|
|
19
|
-
configPath,
|
|
20
|
-
installationIdStored
|
|
21
|
-
};
|
|
22
|
-
const gating = resolveGating({
|
|
23
|
-
env: inputs.env,
|
|
24
|
-
config
|
|
25
|
-
});
|
|
26
|
-
if (!gating.enabled) return {
|
|
27
|
-
enabled: false,
|
|
28
|
-
reason: gating.reason === "env-override" ? "env-opt-out" : "stored-opt-out",
|
|
29
|
-
configPath,
|
|
30
|
-
installationIdStored
|
|
31
|
-
};
|
|
32
|
-
return {
|
|
33
|
-
enabled: true,
|
|
34
|
-
reason: config.enableTelemetry === true ? "stored-opt-in" : "default-on",
|
|
35
|
-
configPath,
|
|
36
|
-
installationIdStored
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
const REASON_EXPLANATION = {
|
|
40
|
-
ci: "CI environment detected — telemetry is hard-disabled.",
|
|
41
|
-
"env-opt-out": "an environment opt-out is set (DO_NOT_TRACK / PRISMA_NEXT_DISABLE_TELEMETRY).",
|
|
42
|
-
"stored-opt-out": "\"enableTelemetry\": false is stored in your config.",
|
|
43
|
-
"stored-opt-in": "\"enableTelemetry\": true is stored in your config.",
|
|
44
|
-
"default-on": "no explicit choice is stored, so the opt-out default applies."
|
|
45
|
-
};
|
|
46
|
-
function formatTelemetryStatusLines(status) {
|
|
47
|
-
return [
|
|
48
|
-
`Telemetry is ${status.enabled ? "enabled" : "disabled"}: ${REASON_EXPLANATION[status.reason]}`,
|
|
49
|
-
`Config file: ${status.configPath}`,
|
|
50
|
-
`Installation ID: ${status.installationIdStored ? "stored" : "not stored"}`
|
|
51
|
-
];
|
|
52
|
-
}
|
|
53
|
-
function createTelemetryStatusCommand() {
|
|
54
|
-
const command = new Command("status");
|
|
55
|
-
setCommandDescriptions(command, "Show whether anonymous CLI telemetry is enabled and why", "Reports whether telemetry is currently enabled or disabled and the reason\n(default-on, stored opt-out, environment opt-out, or CI), the path to your\nuser-level config file, and whether an installation ID has been stored.\nRead-only: never sends an event, never mints an ID, never writes anything.");
|
|
56
|
-
return addGlobalOptions(command).action((options) => {
|
|
57
|
-
const flags = parseGlobalFlagsOrExit(options);
|
|
58
|
-
const ui = createTerminalUI(flags);
|
|
59
|
-
const status = resolveTelemetryStatus({
|
|
60
|
-
env: process.env,
|
|
61
|
-
inCI: isCI$1()
|
|
62
|
-
});
|
|
63
|
-
if (flags.json) ui.output(JSON.stringify(status));
|
|
64
|
-
else for (const line of formatTelemetryStatusLines(status)) ui.output(line);
|
|
65
|
-
process.exit(0);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
function createTelemetryEnableCommand() {
|
|
69
|
-
const command = new Command("enable");
|
|
70
|
-
setCommandDescriptions(command, "Enable anonymous CLI telemetry", "Stores \"enableTelemetry\": true in your user-level config and mints an\ninstallation ID if one is not already stored.");
|
|
71
|
-
return addGlobalOptions(command).action((options) => {
|
|
72
|
-
const flags = parseGlobalFlagsOrExit(options);
|
|
73
|
-
writeUserConfig({ enableTelemetry: true });
|
|
74
|
-
const ui = createTerminalUI(flags);
|
|
75
|
-
if (flags.json) ui.output(JSON.stringify({
|
|
76
|
-
enableTelemetry: true,
|
|
77
|
-
configPath: userConfigPath()
|
|
78
|
-
}));
|
|
79
|
-
else ui.output(`Telemetry enabled. Preference stored in ${userConfigPath()}.`);
|
|
80
|
-
process.exit(0);
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
function createTelemetryDisableCommand() {
|
|
84
|
-
const command = new Command("disable");
|
|
85
|
-
setCommandDescriptions(command, "Disable anonymous CLI telemetry", "Stores \"enableTelemetry\": false in your user-level config. No installation\nID is minted and no event is sent.");
|
|
86
|
-
return addGlobalOptions(command).action((options) => {
|
|
87
|
-
const flags = parseGlobalFlagsOrExit(options);
|
|
88
|
-
writeUserConfig({ enableTelemetry: false });
|
|
89
|
-
const ui = createTerminalUI(flags);
|
|
90
|
-
if (flags.json) ui.output(JSON.stringify({
|
|
91
|
-
enableTelemetry: false,
|
|
92
|
-
configPath: userConfigPath()
|
|
93
|
-
}));
|
|
94
|
-
else ui.output(`Telemetry disabled. Preference stored in ${userConfigPath()}.`);
|
|
95
|
-
process.exit(0);
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
function createTelemetryCommand() {
|
|
99
|
-
const command = new Command("telemetry");
|
|
100
|
-
setCommandDescriptions(command, "Inspect and change anonymous CLI telemetry", "Show telemetry status, or enable / disable anonymous CLI usage data.\nTelemetry is on by default (opt-out); see https://prisma-next.dev/docs/cli/telemetry\nfor what is collected and why.");
|
|
101
|
-
setCommandExamples(command, [
|
|
102
|
-
"prisma-next telemetry status",
|
|
103
|
-
"prisma-next telemetry disable",
|
|
104
|
-
"prisma-next telemetry enable"
|
|
105
|
-
]);
|
|
106
|
-
command.configureHelp({
|
|
107
|
-
formatHelp: (cmd) => formatCommandHelp({
|
|
108
|
-
command: cmd,
|
|
109
|
-
flags: parseGlobalFlags({})
|
|
110
|
-
}),
|
|
111
|
-
subcommandDescription: () => ""
|
|
112
|
-
});
|
|
113
|
-
command.addCommand(createTelemetryStatusCommand());
|
|
114
|
-
command.addCommand(createTelemetryEnableCommand());
|
|
115
|
-
command.addCommand(createTelemetryDisableCommand());
|
|
116
|
-
return command;
|
|
117
|
-
}
|
|
118
|
-
//#endregion
|
|
119
|
-
export { createTelemetryCommand as t };
|
|
120
|
-
|
|
121
|
-
//# sourceMappingURL=telemetry-BD52LETE-Cqeb7ebh.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry-BD52LETE-Cqeb7ebh.mjs","names":["isCI"],"sources":["../../../../1-framework/3-tooling/cli/dist/telemetry-BD52LETE.mjs"],"sourcesContent":["import { t as createTerminalUI } from \"./terminal-ui-Cqz4LVL7.mjs\";\nimport { _ as parseGlobalFlagsOrExit, b as formatCommandHelp, d as setCommandExamples, g as parseGlobalFlags, t as addGlobalOptions, u as setCommandDescriptions, y as isCI } from \"./command-helpers-BCgwcqTe.mjs\";\nimport { Command } from \"commander\";\nimport { readUserConfig, resolveGating, userConfigPath, writeUserConfig } from \"@internal/cli-telemetry\";\n//#region src/commands/telemetry/status.ts\n/**\n* Resolves the same gate the runtime uses (CI check + `resolveGating`) and\n* projects it into a user-facing status. Pure read: never mints, never\n* writes. The `installationId` value itself is never surfaced — only its\n* presence — so `status` discloses nothing identifying.\n*/\nfunction resolveTelemetryStatus(inputs) {\n\tconst config = readUserConfig();\n\tconst configPath = userConfigPath();\n\tconst installationIdStored = typeof config.installationId === \"string\" && config.installationId.length > 0;\n\tif (inputs.inCI) return {\n\t\tenabled: false,\n\t\treason: \"ci\",\n\t\tconfigPath,\n\t\tinstallationIdStored\n\t};\n\tconst gating = resolveGating({\n\t\tenv: inputs.env,\n\t\tconfig\n\t});\n\tif (!gating.enabled) return {\n\t\tenabled: false,\n\t\treason: gating.reason === \"env-override\" ? \"env-opt-out\" : \"stored-opt-out\",\n\t\tconfigPath,\n\t\tinstallationIdStored\n\t};\n\treturn {\n\t\tenabled: true,\n\t\treason: config.enableTelemetry === true ? \"stored-opt-in\" : \"default-on\",\n\t\tconfigPath,\n\t\tinstallationIdStored\n\t};\n}\nconst REASON_EXPLANATION = {\n\tci: \"CI environment detected — telemetry is hard-disabled.\",\n\t\"env-opt-out\": \"an environment opt-out is set (DO_NOT_TRACK / PRISMA_NEXT_DISABLE_TELEMETRY).\",\n\t\"stored-opt-out\": \"\\\"enableTelemetry\\\": false is stored in your config.\",\n\t\"stored-opt-in\": \"\\\"enableTelemetry\\\": true is stored in your config.\",\n\t\"default-on\": \"no explicit choice is stored, so the opt-out default applies.\"\n};\nfunction formatTelemetryStatusLines(status) {\n\treturn [\n\t\t`Telemetry is ${status.enabled ? \"enabled\" : \"disabled\"}: ${REASON_EXPLANATION[status.reason]}`,\n\t\t`Config file: ${status.configPath}`,\n\t\t`Installation ID: ${status.installationIdStored ? \"stored\" : \"not stored\"}`\n\t];\n}\n//#endregion\n//#region src/commands/telemetry/index.ts\nfunction createTelemetryStatusCommand() {\n\tconst command = new Command(\"status\");\n\tsetCommandDescriptions(command, \"Show whether anonymous CLI telemetry is enabled and why\", \"Reports whether telemetry is currently enabled or disabled and the reason\\n(default-on, stored opt-out, environment opt-out, or CI), the path to your\\nuser-level config file, and whether an installation ID has been stored.\\nRead-only: never sends an event, never mints an ID, never writes anything.\");\n\treturn addGlobalOptions(command).action((options) => {\n\t\tconst flags = parseGlobalFlagsOrExit(options);\n\t\tconst ui = createTerminalUI(flags);\n\t\tconst status = resolveTelemetryStatus({\n\t\t\tenv: process.env,\n\t\t\tinCI: isCI()\n\t\t});\n\t\tif (flags.json) ui.output(JSON.stringify(status));\n\t\telse for (const line of formatTelemetryStatusLines(status)) ui.output(line);\n\t\tprocess.exit(0);\n\t});\n}\nfunction createTelemetryEnableCommand() {\n\tconst command = new Command(\"enable\");\n\tsetCommandDescriptions(command, \"Enable anonymous CLI telemetry\", \"Stores \\\"enableTelemetry\\\": true in your user-level config and mints an\\ninstallation ID if one is not already stored.\");\n\treturn addGlobalOptions(command).action((options) => {\n\t\tconst flags = parseGlobalFlagsOrExit(options);\n\t\twriteUserConfig({ enableTelemetry: true });\n\t\tconst ui = createTerminalUI(flags);\n\t\tif (flags.json) ui.output(JSON.stringify({\n\t\t\tenableTelemetry: true,\n\t\t\tconfigPath: userConfigPath()\n\t\t}));\n\t\telse ui.output(`Telemetry enabled. Preference stored in ${userConfigPath()}.`);\n\t\tprocess.exit(0);\n\t});\n}\nfunction createTelemetryDisableCommand() {\n\tconst command = new Command(\"disable\");\n\tsetCommandDescriptions(command, \"Disable anonymous CLI telemetry\", \"Stores \\\"enableTelemetry\\\": false in your user-level config. No installation\\nID is minted and no event is sent.\");\n\treturn addGlobalOptions(command).action((options) => {\n\t\tconst flags = parseGlobalFlagsOrExit(options);\n\t\twriteUserConfig({ enableTelemetry: false });\n\t\tconst ui = createTerminalUI(flags);\n\t\tif (flags.json) ui.output(JSON.stringify({\n\t\t\tenableTelemetry: false,\n\t\t\tconfigPath: userConfigPath()\n\t\t}));\n\t\telse ui.output(`Telemetry disabled. Preference stored in ${userConfigPath()}.`);\n\t\tprocess.exit(0);\n\t});\n}\nfunction createTelemetryCommand() {\n\tconst command = new Command(\"telemetry\");\n\tsetCommandDescriptions(command, \"Inspect and change anonymous CLI telemetry\", \"Show telemetry status, or enable / disable anonymous CLI usage data.\\nTelemetry is on by default (opt-out); see https://prisma-next.dev/docs/cli/telemetry\\nfor what is collected and why.\");\n\tsetCommandExamples(command, [\n\t\t\"prisma-next telemetry status\",\n\t\t\"prisma-next telemetry disable\",\n\t\t\"prisma-next telemetry enable\"\n\t]);\n\tcommand.configureHelp({\n\t\tformatHelp: (cmd) => formatCommandHelp({\n\t\t\tcommand: cmd,\n\t\t\tflags: parseGlobalFlags({})\n\t\t}),\n\t\tsubcommandDescription: () => \"\"\n\t});\n\tcommand.addCommand(createTelemetryStatusCommand());\n\tcommand.addCommand(createTelemetryEnableCommand());\n\tcommand.addCommand(createTelemetryDisableCommand());\n\treturn command;\n}\n//#endregion\nexport { createTelemetryCommand as t };\n\n//# sourceMappingURL=telemetry-BD52LETE.mjs.map"],"mappings":";;;;;;;;;;;AAWA,SAAS,uBAAuB,QAAQ;CACvC,MAAM,SAAS,eAAe;CAC9B,MAAM,aAAa,eAAe;CAClC,MAAM,uBAAuB,OAAO,OAAO,mBAAmB,YAAY,OAAO,eAAe,SAAS;CACzG,IAAI,OAAO,MAAM,OAAO;EACvB,SAAS;EACT,QAAQ;EACR;EACA;CACD;CACA,MAAM,SAAS,cAAc;EAC5B,KAAK,OAAO;EACZ;CACD,CAAC;CACD,IAAI,CAAC,OAAO,SAAS,OAAO;EAC3B,SAAS;EACT,QAAQ,OAAO,WAAW,iBAAiB,gBAAgB;EAC3D;EACA;CACD;CACA,OAAO;EACN,SAAS;EACT,QAAQ,OAAO,oBAAoB,OAAO,kBAAkB;EAC5D;EACA;CACD;AACD;AACA,MAAM,qBAAqB;CAC1B,IAAI;CACJ,eAAe;CACf,kBAAkB;CAClB,iBAAiB;CACjB,cAAc;AACf;AACA,SAAS,2BAA2B,QAAQ;CAC3C,OAAO;EACN,gBAAgB,OAAO,UAAU,YAAY,WAAW,IAAI,mBAAmB,OAAO;EACtF,gBAAgB,OAAO;EACvB,oBAAoB,OAAO,uBAAuB,WAAW;CAC9D;AACD;AAGA,SAAS,+BAA+B;CACvC,MAAM,UAAU,IAAI,QAAQ,QAAQ;CACpC,uBAAuB,SAAS,2DAA2D,4SAA4S;CACvY,OAAO,iBAAiB,OAAO,CAAC,CAAC,QAAQ,YAAY;EACpD,MAAM,QAAQ,uBAAuB,OAAO;EAC5C,MAAM,KAAK,iBAAiB,KAAK;EACjC,MAAM,SAAS,uBAAuB;GACrC,KAAK,QAAQ;GACb,MAAMA,OAAK;EACZ,CAAC;EACD,IAAI,MAAM,MAAM,GAAG,OAAO,KAAK,UAAU,MAAM,CAAC;OAC3C,KAAK,MAAM,QAAQ,2BAA2B,MAAM,GAAG,GAAG,OAAO,IAAI;EAC1E,QAAQ,KAAK,CAAC;CACf,CAAC;AACF;AACA,SAAS,+BAA+B;CACvC,MAAM,UAAU,IAAI,QAAQ,QAAQ;CACpC,uBAAuB,SAAS,kCAAkC,wHAAwH;CAC1L,OAAO,iBAAiB,OAAO,CAAC,CAAC,QAAQ,YAAY;EACpD,MAAM,QAAQ,uBAAuB,OAAO;EAC5C,gBAAgB,EAAE,iBAAiB,KAAK,CAAC;EACzC,MAAM,KAAK,iBAAiB,KAAK;EACjC,IAAI,MAAM,MAAM,GAAG,OAAO,KAAK,UAAU;GACxC,iBAAiB;GACjB,YAAY,eAAe;EAC5B,CAAC,CAAC;OACG,GAAG,OAAO,2CAA2C,eAAe,EAAE,EAAE;EAC7E,QAAQ,KAAK,CAAC;CACf,CAAC;AACF;AACA,SAAS,gCAAgC;CACxC,MAAM,UAAU,IAAI,QAAQ,SAAS;CACrC,uBAAuB,SAAS,mCAAmC,kHAAkH;CACrL,OAAO,iBAAiB,OAAO,CAAC,CAAC,QAAQ,YAAY;EACpD,MAAM,QAAQ,uBAAuB,OAAO;EAC5C,gBAAgB,EAAE,iBAAiB,MAAM,CAAC;EAC1C,MAAM,KAAK,iBAAiB,KAAK;EACjC,IAAI,MAAM,MAAM,GAAG,OAAO,KAAK,UAAU;GACxC,iBAAiB;GACjB,YAAY,eAAe;EAC5B,CAAC,CAAC;OACG,GAAG,OAAO,4CAA4C,eAAe,EAAE,EAAE;EAC9E,QAAQ,KAAK,CAAC;CACf,CAAC;AACF;AACA,SAAS,yBAAyB;CACjC,MAAM,UAAU,IAAI,QAAQ,WAAW;CACvC,uBAAuB,SAAS,8CAA8C,4LAA4L;CAC1Q,mBAAmB,SAAS;EAC3B;EACA;EACA;CACD,CAAC;CACD,QAAQ,cAAc;EACrB,aAAa,QAAQ,kBAAkB;GACtC,SAAS;GACT,OAAO,iBAAiB,CAAC,CAAC;EAC3B,CAAC;EACD,6BAA6B;CAC9B,CAAC;CACD,QAAQ,WAAW,6BAA6B,CAAC;CACjD,QAAQ,WAAW,6BAA6B,CAAC;CACjD,QAAQ,WAAW,8BAA8B,CAAC;CAClD,OAAO;AACR"}
|