@prisma/orm-family-sql 8.0.0-rc.14-dev.19 → 8.0.0-rc.14-dev.21
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/ast-5hifzBHC.mjs.map +1 -1
- package/dist/{ast-S4eEzFmO.d.mts → ast-dPjHeaNs.d.mts} +3 -3
- package/dist/{ast-S4eEzFmO.d.mts.map → ast-dPjHeaNs.d.mts.map} +1 -1
- package/dist/{authored-check-naming-CJRDf9-V.mjs → authored-check-naming-BjIs43HD.mjs} +3 -3
- package/dist/{authored-check-naming-CJRDf9-V.mjs.map → authored-check-naming-BjIs43HD.mjs.map} +1 -1
- package/dist/{authored-check-naming-BWBe-PVE.d.mts → authored-check-naming-C8_TvzU6.d.mts} +2 -2
- package/dist/{authored-check-naming-BWBe-PVE.d.mts.map → authored-check-naming-C8_TvzU6.d.mts.map} +1 -1
- package/dist/{authoring-entity-types-CZ-vdwYS-CvNNLogv.d.mts → authoring-entity-types-CZ-vdwYS-BfyaoH53.d.mts} +2 -2
- package/dist/{authoring-entity-types-CZ-vdwYS-CvNNLogv.d.mts.map → authoring-entity-types-CZ-vdwYS-BfyaoH53.d.mts.map} +1 -1
- package/dist/{authoring-type-constructors-DIyheCzv-BuirUCc_.mjs → authoring-type-constructors-DIyheCzv-BSrAEZsD.mjs} +2 -2
- package/dist/{authoring-type-constructors-DIyheCzv-BuirUCc_.mjs.map → authoring-type-constructors-DIyheCzv-BSrAEZsD.mjs.map} +1 -1
- package/dist/builder.d.mts +2 -2
- package/dist/builder__runtime.d.mts +9 -9
- package/dist/builder__runtime.mjs +1 -1
- package/dist/builder__types.d.mts +2 -2
- package/dist/{check-constraint-B7qGu6rc-HvQjjX82.d.mts → check-constraint-B7qGu6rc-agxAjKLG.d.mts} +2 -2
- package/dist/{check-constraint-B7qGu6rc-HvQjjX82.d.mts.map → check-constraint-B7qGu6rc-agxAjKLG.d.mts.map} +1 -1
- package/dist/{codec-descriptor-registry-BSoMKDUv.mjs → codec-descriptor-registry-u6_e6WfA.mjs} +2 -2
- package/dist/{codec-descriptor-registry-BSoMKDUv.mjs.map → codec-descriptor-registry-u6_e6WfA.mjs.map} +1 -1
- package/dist/{config-types-CYRUgWbg.mjs → config-types-DNRmpGNL.mjs} +2 -2
- package/dist/{config-types-CYRUgWbg.mjs.map → config-types-DNRmpGNL.mjs.map} +1 -1
- package/dist/{config-types-Dpg3tzCJ.d.mts → config-types-Dxhmk983.d.mts} +4 -4
- package/dist/{config-types-Dpg3tzCJ.d.mts.map → config-types-Dxhmk983.d.mts.map} +1 -1
- package/dist/{contract-builder-_39f3LuO.d.mts → contract-builder-Br5TlHMh.d.mts} +8 -8
- package/dist/{contract-builder-_39f3LuO.d.mts.map → contract-builder-Br5TlHMh.d.mts.map} +1 -1
- package/dist/{contract-builder-CUfUvDc1.mjs → contract-builder-C3MYW38z.mjs} +4 -4
- package/dist/{contract-builder-CUfUvDc1.mjs.map → contract-builder-C3MYW38z.mjs.map} +1 -1
- package/dist/contract-emitter.mjs +1 -1
- package/dist/contract-prisma7__provider.d.mts +2 -2
- package/dist/contract-prisma7__provider.mjs +4 -4
- package/dist/contract-psl.d.mts +3 -3
- package/dist/contract-psl.mjs +1 -1
- package/dist/contract-psl__attribute-specs.d.mts +2 -2
- package/dist/contract-psl__attribute-specs.mjs +1 -1
- package/dist/contract-psl__provider.d.mts +2 -2
- package/dist/contract-psl__provider.mjs +2 -2
- package/dist/contract-ts.d.mts +4 -4
- package/dist/contract-ts.mjs +3 -3
- package/dist/contract-ts__config-types.d.mts +1 -1
- package/dist/contract-ts__config-types.mjs +1 -1
- package/dist/contract-ts__contract-builder.d.mts +3 -3
- package/dist/contract-ts__contract-builder.mjs +2 -2
- package/dist/{contract-view-D8enRe9A.d.mts → contract-view-CH3F_tqg.d.mts} +2 -2
- package/dist/{contract-view-D8enRe9A.d.mts.map → contract-view-CH3F_tqg.d.mts.map} +1 -1
- package/dist/contract.d.mts +16 -16
- package/dist/contract.mjs +9 -9
- package/dist/contract__authored-check-naming.d.mts +1 -1
- package/dist/contract__authored-check-naming.mjs +1 -1
- package/dist/contract__contract-view.d.mts +1 -1
- package/dist/contract__entity-kinds.d.mts +1 -1
- package/dist/contract__entity-kinds.mjs +1 -1
- package/dist/contract__factories.d.mts +1 -1
- package/dist/contract__factories.mjs +1 -1
- package/dist/contract__foreign-key-materialization.d.mts +1 -1
- package/dist/contract__foreign-key-materialization.mjs +1 -1
- package/dist/contract__index-naming.d.mts +1 -1
- package/dist/contract__index-naming.mjs +1 -1
- package/dist/contract__index-type-validation.d.mts +1 -1
- package/dist/contract__resolve-storage-table.d.mts +1 -1
- package/dist/contract__types.d.mts +7 -7
- package/dist/contract__types.mjs +3 -3
- package/dist/contract__validators.d.mts +1 -1
- package/dist/contract__validators.mjs +2 -2
- package/dist/{control-5FEFhtCN.d.mts → control-BkHE8MvS.d.mts} +16 -16
- package/dist/{control-5FEFhtCN.d.mts.map → control-BkHE8MvS.d.mts.map} +1 -1
- package/dist/{control-DIVsNXHK.mjs → control-D0iVJugI.mjs} +10 -10
- package/dist/{control-DIVsNXHK.mjs.map → control-D0iVJugI.mjs.map} +1 -1
- package/dist/{control-adapter-C4_cgvzB-C9dQipiW.d.mts → control-adapter-C4_cgvzB-BeJbfHsB.d.mts} +8 -8
- package/dist/{control-adapter-C4_cgvzB-C9dQipiW.d.mts.map → control-adapter-C4_cgvzB-BeJbfHsB.d.mts.map} +1 -1
- package/dist/control-adapter-Dwp_II8l.d.mts +1 -0
- package/dist/{db-DLjWu9-f-NJprwMBN.d.mts → db-DLjWu9-f-BjAFEKe9.d.mts} +9 -9
- package/dist/{db-DLjWu9-f-NJprwMBN.d.mts.map → db-DLjWu9-f-BjAFEKe9.d.mts.map} +1 -1
- package/dist/{ddl-types-B23QEzDx-DnMvLEgB.d.mts → ddl-types-B48YmQSt-DLCUHORB.d.mts} +24 -10
- package/dist/ddl-types-B48YmQSt-DLCUHORB.d.mts.map +1 -0
- package/dist/{derived-checks-C_y1rk6O-DdqjzGNy.mjs → derived-checks-C_y1rk6O-DwCaGICl.mjs} +10 -10
- package/dist/{derived-checks-C_y1rk6O-DdqjzGNy.mjs.map → derived-checks-C_y1rk6O-DwCaGICl.mjs.map} +1 -1
- package/dist/{derived-checks-DPdD01O0-CwIwhhTu.d.mts → derived-checks-DPdD01O0-BSShXJmp.d.mts} +3 -3
- package/dist/{derived-checks-DPdD01O0-CwIwhhTu.d.mts.map → derived-checks-DPdD01O0-BSShXJmp.d.mts.map} +1 -1
- package/dist/{diff-D3Ocd7-r.d.mts → diff-D-p9q4Ye.d.mts} +8 -8
- package/dist/{diff-D3Ocd7-r.d.mts.map → diff-D-p9q4Ye.d.mts.map} +1 -1
- package/dist/{dist-BW8u_IDQ.mjs → dist-BdePIXOu.mjs} +2 -2
- package/dist/{dist-BW8u_IDQ.mjs.map → dist-BdePIXOu.mjs.map} +1 -1
- package/dist/{entity-kinds-ChX-owgJ-BgpQHnfy.mjs → entity-kinds-ChX-owgJ-DqGkW6Dq.mjs} +3 -3
- package/dist/{entity-kinds-ChX-owgJ-BgpQHnfy.mjs.map → entity-kinds-ChX-owgJ-DqGkW6Dq.mjs.map} +1 -1
- package/dist/{entity-kinds-BG4YTvrr.d.mts → entity-kinds-DRPMASi3.d.mts} +5 -5
- package/dist/{entity-kinds-BG4YTvrr.d.mts.map → entity-kinds-DRPMASi3.d.mts.map} +1 -1
- package/dist/{expression-DLgBXKdO.d.mts → expression-n9sdM2RA.d.mts} +7 -7
- package/dist/{expression-DLgBXKdO.d.mts.map → expression-n9sdM2RA.d.mts.map} +1 -1
- package/dist/{factories-16A63DkK.mjs → factories-BnzIZxE1.mjs} +3 -3
- package/dist/{factories-16A63DkK.mjs.map → factories-BnzIZxE1.mjs.map} +1 -1
- package/dist/{factories-CLPZYUUw.d.mts → factories-Di9PoiQh.d.mts} +4 -4
- package/dist/{factories-CLPZYUUw.d.mts.map → factories-Di9PoiQh.d.mts.map} +1 -1
- package/dist/family.d.mts +13 -13
- package/dist/family.mjs +6 -6
- package/dist/family__control-adapter.d.mts +2 -2
- package/dist/family__control.d.mts +4 -4
- package/dist/family__control.mjs +3 -3
- package/dist/family__diff.d.mts +2 -2
- package/dist/family__diff.mjs +1 -1
- package/dist/family__ir.d.mts +1 -1
- package/dist/family__ir.mjs +1 -1
- package/dist/family__migration.d.mts +1 -1
- package/dist/family__pack.d.mts +1 -1
- package/dist/family__pack.mjs +2 -2
- package/dist/family__psl-build.mjs +1 -1
- package/dist/family__psl-infer.d.mts +1 -1
- package/dist/family__psl-infer.mjs +1 -1
- package/dist/family__runtime.d.mts +2 -2
- package/dist/{foreign-key-materialization-CkvOzJWy.d.mts → foreign-key-materialization-U4M9cqKd.d.mts} +2 -2
- package/dist/{foreign-key-materialization-CkvOzJWy.d.mts.map → foreign-key-materialization-U4M9cqKd.d.mts.map} +1 -1
- package/dist/{foreign-key-materialization-DiOhEeAz.mjs → foreign-key-materialization-uN1uuv25.mjs} +3 -3
- package/dist/{foreign-key-materialization-DiOhEeAz.mjs.map → foreign-key-materialization-uN1uuv25.mjs.map} +1 -1
- package/dist/{index-VjA5whAC.d.mts → index-BoQtw7lz.d.mts} +11 -11
- package/dist/{index-VjA5whAC.d.mts.map → index-BoQtw7lz.d.mts.map} +1 -1
- package/dist/{index-BlVbNiHO.d.mts → index-DZbfFGBA.d.mts} +3 -3
- package/dist/{index-BlVbNiHO.d.mts.map → index-DZbfFGBA.d.mts.map} +1 -1
- package/dist/{index-naming-Cj1Anq-T-C9TevpPR.mjs → index-naming-Cj1Anq-T-DgO8vEIL.mjs} +2 -2
- package/dist/{index-naming-Cj1Anq-T-C9TevpPR.mjs.map → index-naming-Cj1Anq-T-DgO8vEIL.mjs.map} +1 -1
- package/dist/{index-naming-BNIXvg5R.d.mts → index-naming-UEtT94f5.d.mts} +2 -2
- package/dist/{index-naming-BNIXvg5R.d.mts.map → index-naming-UEtT94f5.d.mts.map} +1 -1
- package/dist/{index-type-validation-DLPW4oTq.d.mts → index-type-validation-9yBRmaQK.d.mts} +3 -3
- package/dist/{index-type-validation-DLPW4oTq.d.mts.map → index-type-validation-9yBRmaQK.d.mts.map} +1 -1
- package/dist/{interpreter-C8cP92FD-Co9RsuUU.mjs → interpreter-C8cP92FD-BfjuQvb1.mjs} +5 -5
- package/dist/{interpreter-C8cP92FD-Co9RsuUU.mjs.map → interpreter-C8cP92FD-BfjuQvb1.mjs.map} +1 -1
- package/dist/{ir-DbwRAIkx.d.mts → ir-D7wRE9X4.d.mts} +3 -3
- package/dist/{ir-DbwRAIkx.d.mts.map → ir-D7wRE9X4.d.mts.map} +1 -1
- package/dist/middleware-CN4vQuOi.d.mts +1 -0
- package/dist/{middleware-CuGBptK0-BEYuhhG2.d.mts → middleware-CuGBptK0-xrXqWhc7.d.mts} +2 -2
- package/dist/{middleware-CuGBptK0-BEYuhhG2.d.mts.map → middleware-CuGBptK0-xrXqWhc7.d.mts.map} +1 -1
- package/dist/{migration-BqUra50L.d.mts → migration-BvPfu7Lt.d.mts} +4 -4
- package/dist/{migration-BqUra50L.d.mts.map → migration-BvPfu7Lt.d.mts.map} +1 -1
- package/dist/{naming-Cc_t1q6s-CouBOmqZ.mjs → naming-BLraiRfc-DKPaCL0a.mjs} +10 -7
- package/dist/naming-BLraiRfc-DKPaCL0a.mjs.map +1 -0
- package/dist/{naming-CV9j2pXl-KARaDReS.d.mts → naming-C1OcnGJg-DB1o9TS6.d.mts} +8 -6
- package/dist/naming-C1OcnGJg-DB1o9TS6.d.mts.map +1 -0
- package/dist/{ddl-types-B700dqv--DOnQueWA.mjs → opaque-sql-CwvHZSr8-Ch9goXqx.mjs} +23 -4
- package/dist/opaque-sql-CwvHZSr8-Ch9goXqx.mjs.map +1 -0
- package/dist/operations.d.mts +1 -1
- package/dist/orm-client.d.mts +15 -15
- package/dist/orm-client.mjs +1 -1
- package/dist/{pack-DvNv2W5h.d.mts → pack-C3mqZevM.d.mts} +2 -2
- package/dist/{pack-DvNv2W5h.d.mts.map → pack-C3mqZevM.d.mts.map} +1 -1
- package/dist/{plan-B7g2kDfQ-BVlzwDKL.d.mts → plan-B7g2kDfQ-Dth0BeTe.d.mts} +4 -4
- package/dist/{plan-B7g2kDfQ-BVlzwDKL.d.mts.map → plan-B7g2kDfQ-Dth0BeTe.d.mts.map} +1 -1
- package/dist/plan-CrKSowWJ.d.mts +2 -0
- package/dist/{prepared-statement-Cv54gpY_-BObeNp2I.d.mts → prepared-statement-Cv54gpY_-DbHPSN5Q.d.mts} +16 -16
- package/dist/{prepared-statement-Cv54gpY_-BObeNp2I.d.mts.map → prepared-statement-Cv54gpY_-DbHPSN5Q.d.mts.map} +1 -1
- package/dist/{psl-build-CqhSpaQE.mjs → psl-build-zkIJwkdq.mjs} +2 -2
- package/dist/{psl-build-CqhSpaQE.mjs.map → psl-build-zkIJwkdq.mjs.map} +1 -1
- package/dist/{psl-column-resolution-sNpXQygQ-BQr15EoR.d.mts → psl-column-resolution-sNpXQygQ-BBo4tqwO.d.mts} +2 -2
- package/dist/{psl-column-resolution-sNpXQygQ-BQr15EoR.d.mts.map → psl-column-resolution-sNpXQygQ-BBo4tqwO.d.mts.map} +1 -1
- package/dist/{psl-field-resolution-_o74AUE4-CKYNRnzL.mjs → psl-field-resolution-_o74AUE4-C-vTNklI.mjs} +3 -3
- package/dist/{psl-field-resolution-_o74AUE4-CKYNRnzL.mjs.map → psl-field-resolution-_o74AUE4-C-vTNklI.mjs.map} +1 -1
- package/dist/{psl-infer-8kKfa-Ts.mjs → psl-infer-BokOY1hK.mjs} +2 -2
- package/dist/{psl-infer-8kKfa-Ts.mjs.map → psl-infer-BokOY1hK.mjs.map} +1 -1
- package/dist/{psl-infer-DT5_Lx5r.d.mts → psl-infer-BwbmOInx.d.mts} +3 -3
- package/dist/{psl-infer-DT5_Lx5r.d.mts.map → psl-infer-BwbmOInx.d.mts.map} +1 -1
- package/dist/{query-lane-context-BSmWfohZ-yCQ9qzQZ.d.mts → query-lane-context-BSmWfohZ-Jn0AbOQt.d.mts} +5 -5
- package/dist/{query-lane-context-BSmWfohZ-yCQ9qzQZ.d.mts.map → query-lane-context-BSmWfohZ-Jn0AbOQt.d.mts.map} +1 -1
- package/dist/query-lane-context-DWdmmnrN.d.mts +1 -0
- package/dist/relational-core.d.mts +12 -12
- package/dist/relational-core.mjs +2 -2
- package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
- package/dist/relational-core__ast.d.mts +4 -4
- package/dist/relational-core__ast.mjs +2 -2
- package/dist/relational-core__codec-descriptor-registry.d.mts +4 -4
- package/dist/relational-core__codec-descriptor-registry.mjs +1 -1
- package/dist/relational-core__contract-free.d.mts +3 -3
- package/dist/relational-core__contract-free.mjs +3 -3
- package/dist/relational-core__contract-free.mjs.map +1 -1
- package/dist/relational-core__expression.d.mts +1 -1
- package/dist/relational-core__middleware.d.mts +2 -2
- package/dist/relational-core__plan.d.mts +3 -3
- package/dist/relational-core__query-lane-context.d.mts +2 -2
- package/dist/relational-core__types.d.mts +2 -2
- package/dist/{resolve-storage-table-5G0L5k6M.d.mts → resolve-storage-table-GpIWDdpo.d.mts} +3 -3
- package/dist/{resolve-storage-table-5G0L5k6M.d.mts.map → resolve-storage-table-GpIWDdpo.d.mts.map} +1 -1
- package/dist/{runtime-CajhgB9z.d.mts → runtime-BbhrIR5H.d.mts} +2 -2
- package/dist/{runtime-CajhgB9z.d.mts.map → runtime-BbhrIR5H.d.mts.map} +1 -1
- package/dist/runtime.d.mts +4 -4
- package/dist/runtime.mjs +1 -1
- package/dist/runtime__internal__prepared-query.d.mts +1 -1
- package/dist/{schema-differ-DpG_gnur-CYpc6zuh.d.mts → schema-differ-DpG_gnur-CUh9eZM-.d.mts} +5 -5
- package/dist/{schema-differ-DpG_gnur-CYpc6zuh.d.mts.map → schema-differ-DpG_gnur-CUh9eZM-.d.mts.map} +1 -1
- package/dist/schema-ir.d.mts +1 -1
- package/dist/schema-ir.mjs +1 -1
- package/dist/schema-ir__naming.d.mts +1 -1
- package/dist/schema-ir__naming.mjs +1 -1
- package/dist/schema-ir__types.d.mts +2 -2
- package/dist/schema-ir__types.mjs +1 -1
- package/dist/{schema-verify-DI0aJQ9d-TpdeERRD.mjs → schema-verify-DI0aJQ9d-BrQOlutU.mjs} +2 -2
- package/dist/{schema-verify-DI0aJQ9d-TpdeERRD.mjs.map → schema-verify-DI0aJQ9d-BrQOlutU.mjs.map} +1 -1
- package/dist/{serialized-index-B5X7s-oX-TKQhXsZz.mjs → serialized-index-B5X7s-oX-CVs8-5Rw.mjs} +3 -3
- package/dist/{serialized-index-B5X7s-oX-TKQhXsZz.mjs.map → serialized-index-B5X7s-oX-CVs8-5Rw.mjs.map} +1 -1
- package/dist/{serialized-index-CrgG8ct1-DG3JpHc7.d.mts → serialized-index-CrgG8ct1-D64Figsu.d.mts} +3 -3
- package/dist/{serialized-index-CrgG8ct1-DG3JpHc7.d.mts.map → serialized-index-CrgG8ct1-D64Figsu.d.mts.map} +1 -1
- package/dist/{sql-contract-serializer-C90xg7_q-CxzBoB0F.mjs → sql-contract-serializer-C90xg7_q-C_Okh4NM.mjs} +4 -4
- package/dist/{sql-contract-serializer-C90xg7_q-CxzBoB0F.mjs.map → sql-contract-serializer-C90xg7_q-C_Okh4NM.mjs.map} +1 -1
- package/dist/{sql-execution-plan-Db0j752I-B3yGocR6.d.mts → sql-execution-plan-Db0j752I-dJ-JGxbD.d.mts} +2 -2
- package/dist/{sql-execution-plan-Db0j752I-B3yGocR6.d.mts.map → sql-execution-plan-Db0j752I-dJ-JGxbD.d.mts.map} +1 -1
- package/dist/{sql-index-ByAAE7K8-DKj2V86p.d.mts → sql-index-ByAAE7K8-DPkZtr7t.d.mts} +2 -2
- package/dist/{sql-index-ByAAE7K8-DKj2V86p.d.mts.map → sql-index-ByAAE7K8-DPkZtr7t.d.mts.map} +1 -1
- package/dist/{sql-storage-jJySr7bL-1Eh2i2r1.d.mts → sql-storage-jJySr7bL-C_xAiyzH.d.mts} +2 -2
- package/dist/{sql-storage-jJySr7bL-1Eh2i2r1.d.mts.map → sql-storage-jJySr7bL-C_xAiyzH.d.mts.map} +1 -1
- package/dist/{storage-table-ADhJ4Imk-0FbJXvSZ.mjs → storage-table-ADhJ4Imk-CwcQVFXC.mjs} +2 -2
- package/dist/{storage-table-ADhJ4Imk-0FbJXvSZ.mjs.map → storage-table-ADhJ4Imk-CwcQVFXC.mjs.map} +1 -1
- package/dist/{storage-table-DLFvP77v-BfO2iOT4.d.mts → storage-table-DLFvP77v-DLfqYsHX.d.mts} +4 -4
- package/dist/{storage-table-DLFvP77v-BfO2iOT4.d.mts.map → storage-table-DLFvP77v-DLfqYsHX.d.mts.map} +1 -1
- package/dist/{types-E46h1SEX.d.mts → types-B11MGgKr.d.mts} +7 -7
- package/dist/{types-E46h1SEX.d.mts.map → types-B11MGgKr.d.mts.map} +1 -1
- package/dist/{types-BGHABElw-CZyfbuWe.d.mts → types-BGHABElw-C5dqoVCg.d.mts} +10 -10
- package/dist/{types-BGHABElw-CZyfbuWe.d.mts.map → types-BGHABElw-C5dqoVCg.d.mts.map} +1 -1
- package/dist/{types-BHKZ4M-a-CPFh-lCl.d.mts → types-BHKZ4M-a-CvL8nko3.d.mts} +9 -9
- package/dist/{types-BHKZ4M-a-CPFh-lCl.d.mts.map → types-BHKZ4M-a-CvL8nko3.d.mts.map} +1 -1
- package/dist/{types-Bl6ohp1g-ROH3Mwm9.d.mts → types-Bl6ohp1g-CL4_GDuc.d.mts} +6 -6
- package/dist/{types-Bl6ohp1g-ROH3Mwm9.d.mts.map → types-Bl6ohp1g-CL4_GDuc.d.mts.map} +1 -1
- package/dist/{types-DinsvYdY-Dv_n3Tac.d.mts → types-BzpC_V7p-DyBYmK1f.d.mts} +3 -3
- package/dist/{types-DinsvYdY-Dv_n3Tac.d.mts.map → types-BzpC_V7p-DyBYmK1f.d.mts.map} +1 -1
- package/dist/types-CQBRYgDW.d.mts +1 -0
- package/dist/{types-B9rf_EdI-CEYrMMeO.mjs → types-DAoMCSPl-D2ajBTpK.mjs} +3 -3
- package/dist/{types-B9rf_EdI-CEYrMMeO.mjs.map → types-DAoMCSPl-D2ajBTpK.mjs.map} +1 -1
- package/dist/types-DdTdsdMn.d.mts +1 -0
- package/dist/{types-Yui2yFf6-Ceyf2gJ2.d.mts → types-Yui2yFf6-DYiGm9ET.d.mts} +2 -2
- package/dist/{types-Yui2yFf6-Ceyf2gJ2.d.mts.map → types-Yui2yFf6-DYiGm9ET.d.mts.map} +1 -1
- package/dist/{types-jFnALKoT.mjs → types-Z-l6gAVD.mjs} +2 -2
- package/dist/{types-jFnALKoT.mjs.map → types-Z-l6gAVD.mjs.map} +1 -1
- package/dist/{validators-DvzOZLel.mjs → validators-Cx6UXIBf.mjs} +3 -3
- package/dist/{validators-DvzOZLel.mjs.map → validators-Cx6UXIBf.mjs.map} +1 -1
- package/dist/{validators-CQ_fniE7.d.mts → validators-D1wQns12.d.mts} +3 -3
- package/dist/{validators-CQ_fniE7.d.mts.map → validators-D1wQns12.d.mts.map} +1 -1
- package/package.json +18 -18
- package/dist/control-adapter-D2k9sW7u.d.mts +0 -1
- package/dist/ddl-types-B23QEzDx-DnMvLEgB.d.mts.map +0 -1
- package/dist/ddl-types-B700dqv--DOnQueWA.mjs.map +0 -1
- package/dist/middleware-BwwcaXlc.d.mts +0 -1
- package/dist/naming-CV9j2pXl-KARaDReS.d.mts.map +0 -1
- package/dist/naming-Cc_t1q6s-CouBOmqZ.mjs.map +0 -1
- package/dist/plan-hQv6wCbk.d.mts +0 -2
- package/dist/query-lane-context-DbJO1bmQ.d.mts +0 -1
- package/dist/types-BBT7jidC.d.mts +0 -1
- package/dist/types-CHcsPFTv.d.mts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as checkSqlDefaultBody } from "./validators-
|
|
2
|
-
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, D as SqlPlannerConflictLocation, E as SqlPlannerConflictKind, O as SqlPlannerFailureResult, S as SqlMigrationRunnerResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, a as FieldEvent, b as SqlMigrationRunnerExecuteOptions, c as SqlControlAdapterDescriptor, d as SqlMigrationPlanContractInfo, f as SqlMigrationPlanOperation, g as SqlMigrationPlannerPlanOptions, h as SqlMigrationPlanner, i as ExpandNativeTypeInput, j as StorageTypePlanResult, k as SqlPlannerResult, l as SqlControlExtensionDescriptor, m as SqlMigrationPlanOperationTarget, n as CodecControlHooks, o as FieldEventContext, p as SqlMigrationPlanOperationStep, r as CreateSqlMigrationPlanOptions, s as ResolveIdentityValueInput, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, w as SqlPlanTargetDetails, x as SqlMigrationRunnerFailure, y as SqlMigrationRunnerExecuteCallbacks } from "./types-BHKZ4M-a-
|
|
3
|
-
import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DpG_gnur-
|
|
4
|
-
import { A as TableRenameInMigration, B as createMigrationPlan, C as SqlDescribedContractSpace, D as TableNameCaseGuardTable, E as TABLE_NAME_CASE_CHANGED_CODE, F as buildDataTypeResolver, G as partitionIssuesByControlPolicy, H as detectTableNameCaseChanges, I as buildNativeTypeExpander, J as plannerSuccess, K as planFieldEventOperations, L as contractNamespaceToSchemaIR, M as _default, N as applyTableRename, O as TableRename, P as assembleAuthoringContributions, Q as temporalStringAuthoringPresets, R as contractToSchemaIR, S as SqlControlTargetDescriptor, T as SuppressionRecord, U as extractCodecControlHooks, V as detectDestructiveChanges, W as partitionCallsByControlPolicy, X as runnerSuccess, Y as runnerFailure, Z as temporalCodecPresetWithPrecision, _ as NativeTypeExpander, a as DataTypeResolver, b as ResolvedTableRename, c as EnumNamespaceSchemaResolver, d as MigrationOperationPolicy, f as MigrationPlan, g as MigrationPlannerResult, h as MigrationPlannerConflict, i as ControlPolicySubject, j as TargetMigrationsCapability, k as TableRenameByHand, l as INIT_ADDITIVE_POLICY, m as MigrationPlanner, n as ApplyTableRenameInput, o as DefaultRenderer, p as MigrationPlanOperation, q as plannerFailure, r as ContractToSchemaIROptions, s as DefaultResolver, t as AppliedTableRename, u as MigrationOperationClass, v as PlanFieldEventOperationsOptions, w as SqlPslBuildContext, x as SqlControlFamilyInstance, y as RenameTableReferences, z as controlPolicyForCall } from "./control-
|
|
1
|
+
import { h as checkSqlDefaultBody } from "./validators-D1wQns12.mjs";
|
|
2
|
+
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, D as SqlPlannerConflictLocation, E as SqlPlannerConflictKind, O as SqlPlannerFailureResult, S as SqlMigrationRunnerResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, a as FieldEvent, b as SqlMigrationRunnerExecuteOptions, c as SqlControlAdapterDescriptor, d as SqlMigrationPlanContractInfo, f as SqlMigrationPlanOperation, g as SqlMigrationPlannerPlanOptions, h as SqlMigrationPlanner, i as ExpandNativeTypeInput, j as StorageTypePlanResult, k as SqlPlannerResult, l as SqlControlExtensionDescriptor, m as SqlMigrationPlanOperationTarget, n as CodecControlHooks, o as FieldEventContext, p as SqlMigrationPlanOperationStep, r as CreateSqlMigrationPlanOptions, s as ResolveIdentityValueInput, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, w as SqlPlanTargetDetails, x as SqlMigrationRunnerFailure, y as SqlMigrationRunnerExecuteCallbacks } from "./types-BHKZ4M-a-CvL8nko3.mjs";
|
|
3
|
+
import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DpG_gnur-CUh9eZM-.mjs";
|
|
4
|
+
import { A as TableRenameInMigration, B as createMigrationPlan, C as SqlDescribedContractSpace, D as TableNameCaseGuardTable, E as TABLE_NAME_CASE_CHANGED_CODE, F as buildDataTypeResolver, G as partitionIssuesByControlPolicy, H as detectTableNameCaseChanges, I as buildNativeTypeExpander, J as plannerSuccess, K as planFieldEventOperations, L as contractNamespaceToSchemaIR, M as _default, N as applyTableRename, O as TableRename, P as assembleAuthoringContributions, Q as temporalStringAuthoringPresets, R as contractToSchemaIR, S as SqlControlTargetDescriptor, T as SuppressionRecord, U as extractCodecControlHooks, V as detectDestructiveChanges, W as partitionCallsByControlPolicy, X as runnerSuccess, Y as runnerFailure, Z as temporalCodecPresetWithPrecision, _ as NativeTypeExpander, a as DataTypeResolver, b as ResolvedTableRename, c as EnumNamespaceSchemaResolver, d as MigrationOperationPolicy, f as MigrationPlan, g as MigrationPlannerResult, h as MigrationPlannerConflict, i as ControlPolicySubject, j as TargetMigrationsCapability, k as TableRenameByHand, l as INIT_ADDITIVE_POLICY, m as MigrationPlanner, n as ApplyTableRenameInput, o as DefaultRenderer, p as MigrationPlanOperation, q as plannerFailure, r as ContractToSchemaIROptions, s as DefaultResolver, t as AppliedTableRename, u as MigrationOperationClass, v as PlanFieldEventOperationsOptions, w as SqlPslBuildContext, x as SqlControlFamilyInstance, y as RenameTableReferences, z as controlPolicyForCall } from "./control-BkHE8MvS.mjs";
|
|
5
5
|
export { type AppliedTableRename, type ApplyTableRenameInput, type CodecControlHooks, type ContractToSchemaIROptions, type ControlPolicySubject, type CreateSqlMigrationPlanOptions, type DataTypeResolver, type DefaultRenderer, type DefaultResolver, type EnumNamespaceSchemaResolver, type ExpandNativeTypeInput, type FieldEvent, type FieldEventContext, INIT_ADDITIVE_POLICY, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type NativeTypeExpander, type PlanFieldEventOperationsOptions, type RenameTableReferences, type ResolveIdentityValueInput, type ResolvedTableRename, type SqlControlAdapterDescriptor, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDescribedContractSpace, type SqlMigrationPlan, type SqlMigrationPlanContractInfo, type SqlMigrationPlanOperation, type SqlMigrationPlanOperationStep, type SqlMigrationPlanOperationTarget, type SqlMigrationPlanner, type SqlMigrationPlannerPlanOptions, type SqlMigrationRunner, type SqlMigrationRunnerErrorCode, type SqlMigrationRunnerExecuteCallbacks, type SqlMigrationRunnerExecuteOptions, type SqlMigrationRunnerFailure, type SqlMigrationRunnerResult, type SqlMigrationRunnerSuccessValue, type SqlPlanTargetDetails, type SqlPlannerConflict, type SqlPlannerConflictKind, type SqlPlannerConflictLocation, type SqlPlannerFailureResult, type SqlPlannerResult, type SqlPlannerSuccessResult, type SqlPslBuildContext, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, type StorageTypePlanResult, type SuppressionRecord, TABLE_NAME_CASE_CHANGED_CODE, type TableNameCaseGuardTable, type TableRename, type TableRenameByHand, type TableRenameInMigration, type TargetMigrationsCapability, applyTableRename, assembleAuthoringContributions, buildDataTypeResolver, buildNativeTypeExpander, checkSqlDefaultBody, contractNamespaceToSchemaIR, contractToSchemaIR, controlPolicyForCall, createMigrationPlan, _default as default, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventOperations, plannerFailure, plannerSuccess, runnerFailure, runnerSuccess, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets };
|
package/dist/family__control.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as checkSqlDefaultBody } from "./validators-
|
|
2
|
-
import { o as extractCodecControlHooks } from "./schema-verify-DI0aJQ9d-
|
|
3
|
-
import { S as temporalStringAuthoringPresets, _ as plannerFailure, a as buildDataTypeResolver, b as runnerSuccess, c as contractToSchemaIR, d as createMigrationPlan, f as detectDestructiveChanges, g as planFieldEventOperations, h as partitionIssuesByControlPolicy, i as assembleAuthoringContributions, l as controlPolicyForCall, m as partitionCallsByControlPolicy, n as TABLE_NAME_CASE_CHANGED_CODE, o as buildNativeTypeExpander, p as detectTableNameCaseChanges, r as applyTableRename, s as contractNamespaceToSchemaIR, t as INIT_ADDITIVE_POLICY, u as control_default, v as plannerSuccess, x as temporalCodecPresetWithPrecision, y as runnerFailure } from "./control-
|
|
1
|
+
import { n as checkSqlDefaultBody } from "./validators-Cx6UXIBf.mjs";
|
|
2
|
+
import { o as extractCodecControlHooks } from "./schema-verify-DI0aJQ9d-BrQOlutU.mjs";
|
|
3
|
+
import { S as temporalStringAuthoringPresets, _ as plannerFailure, a as buildDataTypeResolver, b as runnerSuccess, c as contractToSchemaIR, d as createMigrationPlan, f as detectDestructiveChanges, g as planFieldEventOperations, h as partitionIssuesByControlPolicy, i as assembleAuthoringContributions, l as controlPolicyForCall, m as partitionCallsByControlPolicy, n as TABLE_NAME_CASE_CHANGED_CODE, o as buildNativeTypeExpander, p as detectTableNameCaseChanges, r as applyTableRename, s as contractNamespaceToSchemaIR, t as INIT_ADDITIVE_POLICY, u as control_default, v as plannerSuccess, x as temporalCodecPresetWithPrecision, y as runnerFailure } from "./control-D0iVJugI.mjs";
|
|
4
4
|
export { INIT_ADDITIVE_POLICY, TABLE_NAME_CASE_CHANGED_CODE, applyTableRename, assembleAuthoringContributions, buildDataTypeResolver, buildNativeTypeExpander, checkSqlDefaultBody, contractNamespaceToSchemaIR, contractToSchemaIR, controlPolicyForCall, createMigrationPlan, control_default as default, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventOperations, plannerFailure, plannerSuccess, runnerFailure, runnerSuccess, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets };
|
package/dist/family__diff.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { o as arraysEqual, r as NativeTypeNormalizer } from "./control-adapter-C4_cgvzB-
|
|
2
|
-
import { a as VerifySqlSchemaByDiffInput, c as computeSqlDiffVerdict, i as StorageTypeVerdictInput, l as computeStorageTypeVerdict, n as SqlDiffVerdictInput, o as classifyDiffSubjectGranularity, r as StorageTypeVerdict, s as classifySqlDiffIssue, t as SqlDiffVerdict, u as verifySqlSchemaByDiff } from "./diff-
|
|
1
|
+
import { o as arraysEqual, r as NativeTypeNormalizer } from "./control-adapter-C4_cgvzB-BeJbfHsB.mjs";
|
|
2
|
+
import { a as VerifySqlSchemaByDiffInput, c as computeSqlDiffVerdict, i as StorageTypeVerdictInput, l as computeStorageTypeVerdict, n as SqlDiffVerdictInput, o as classifyDiffSubjectGranularity, r as StorageTypeVerdict, s as classifySqlDiffIssue, t as SqlDiffVerdict, u as verifySqlSchemaByDiff } from "./diff-D-p9q4Ye.mjs";
|
|
3
3
|
export { type NativeTypeNormalizer, type SqlDiffVerdict, type SqlDiffVerdictInput, type StorageTypeVerdict, type StorageTypeVerdictInput, type VerifySqlSchemaByDiffInput, arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
|
package/dist/family__diff.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as computeStorageTypeVerdict, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue, s as verifySqlSchemaByDiff } from "./schema-verify-DI0aJQ9d-
|
|
1
|
+
import { a as computeStorageTypeVerdict, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue, s as verifySqlSchemaByDiff } from "./schema-verify-DI0aJQ9d-BrQOlutU.mjs";
|
|
2
2
|
import { t as arraysEqual } from "./diff-B16bL_IR.mjs";
|
|
3
3
|
export { arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
|
package/dist/family__ir.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-
|
|
1
|
+
import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-D7wRE9X4.mjs";
|
|
2
2
|
export { SqlContractSerializer, SqlContractSerializerBase, type SqlEntityHydrationFactory, SqlSchemaVerifierBase };
|
package/dist/family__ir.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-C90xg7_q-
|
|
1
|
+
import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-C90xg7_q-C_Okh4NM.mjs";
|
|
2
2
|
import { t as SqlSchemaVerifierBase } from "./ir-I-xciGUH.mjs";
|
|
3
3
|
export { SqlContractSerializer, SqlContractSerializerBase, SqlSchemaVerifierBase };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SqlMigration } from "./migration-
|
|
1
|
+
import { t as SqlMigration } from "./migration-BvPfu7Lt.mjs";
|
|
2
2
|
export { SqlMigration as Migration };
|
package/dist/family__pack.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as sqlFamilyPack } from "./pack-
|
|
1
|
+
import { t as sqlFamilyPack } from "./pack-C3mqZevM.mjs";
|
|
2
2
|
export { sqlFamilyPack as default };
|
package/dist/family__pack.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as sqlAttributeSpecs } from "./psl-field-resolution-_o74AUE4-
|
|
2
|
-
import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-DIyheCzv-
|
|
1
|
+
import { b as sqlAttributeSpecs } from "./psl-field-resolution-_o74AUE4-C-vTNklI.mjs";
|
|
2
|
+
import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-DIyheCzv-BSrAEZsD.mjs";
|
|
3
3
|
//#region ../../../2-sql/9-family/dist/pack.mjs
|
|
4
4
|
const sqlFamilyPack = {
|
|
5
5
|
kind: "family",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-
|
|
1
|
+
import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-BwbmOInx.mjs";
|
|
2
2
|
export { type EnumInfo, type InferredRelations, type PslPrinterOptions, type RelationField, buildChildRelationField, deriveBackRelationFieldName, deriveRelationFieldName, inferRelations, pluralize, toEnumName, toFieldName, toModelName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as pluralize, c as toModelName, i as inferRelations, n as deriveBackRelationFieldName, o as toEnumName, r as deriveRelationFieldName, s as toFieldName, t as buildChildRelationField } from "./psl-infer-
|
|
1
|
+
import { a as pluralize, c as toModelName, i as inferRelations, n as deriveBackRelationFieldName, o as toEnumName, r as deriveRelationFieldName, s as toFieldName, t as buildChildRelationField } from "./psl-infer-BokOY1hK.mjs";
|
|
2
2
|
export { buildChildRelationField, deriveBackRelationFieldName, deriveRelationFieldName, inferRelations, pluralize, toEnumName, toFieldName, toModelName };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-
|
|
2
|
-
import { a as timestampNowRuntimeGenerator, i as sqlRuntimeFamilyDescriptor, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-
|
|
1
|
+
import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-GpIWDdpo.mjs";
|
|
2
|
+
import { a as timestampNowRuntimeGenerator, i as sqlRuntimeFamilyDescriptor, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-BbhrIR5H.mjs";
|
|
3
3
|
export { type ResolvedDomainModel, type ResolvedStorageTable, UNBOUND_DOMAIN_NAMESPACE_ID, sqlRuntimeFamilyDescriptor as default, resolveDomainModel, resolveStorageTable, timestampNowRuntimeGenerator };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as ReferentialAction, i as ForeignKeyReferenceInput, n as ForeignKeyInput } from "./foreign-key-C-iTPuRT-C9ip8zFx.mjs";
|
|
2
2
|
import { i as UniqueConstraintInput, n as PrimaryKeyInput } from "./unique-constraint-M5TlQnJQ-BiIHJ85k.mjs";
|
|
3
|
-
import { r as IndexInput } from "./sql-index-ByAAE7K8-
|
|
3
|
+
import { r as IndexInput } from "./sql-index-ByAAE7K8-DPkZtr7t.mjs";
|
|
4
4
|
//#region ../../../2-sql/1-core/contract/dist/foreign-key-materialization.d.mts
|
|
5
5
|
//#region src/foreign-key-materialization.d.ts
|
|
6
6
|
type BackingIndexCandidates = {
|
|
@@ -62,4 +62,4 @@ interface MaterializedTableConstraints {
|
|
|
62
62
|
declare function materializeForeignKeysAndIndexes(tableName: string, foreignKeys: readonly ForeignKeyAuthoringInput[], declaredIndexes: readonly IndexInput[], uniques: readonly UniqueConstraintInput[], primaryKey: PrimaryKeyInput | undefined): MaterializedTableConstraints;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { isBackedByColumnKeys as a, backingIndexColumnKeys as i, ForeignKeyAuthoringInput as n, materializeForeignKeysAndIndexes as o, MaterializedTableConstraints as r, BackingIndexCandidates as t };
|
|
65
|
-
//# sourceMappingURL=foreign-key-materialization-
|
|
65
|
+
//# sourceMappingURL=foreign-key-materialization-U4M9cqKd.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"foreign-key-materialization-
|
|
1
|
+
{"version":3,"file":"foreign-key-materialization-U4M9cqKd.d.mts","names":[],"sources":["../../../../2-sql/1-core/contract/dist/foreign-key-materialization.d.mts"],"mappings":";;;;;KAIK;WACM;aACE;;WAEF;aACE;;WAEF;aACE;;;;;;;;;;;;;;iBAcI,uBAAuB,OAAO;;;;;;iBAM9B,qBAAqB,4BAA4B;;;;;;UAMxD;WACC,QAAQ;WACR,QAAQ;WACR;WACA,WAAW;WACX,WAAW;WACX;WACA;;UAED;WACC,sBAAsB;WACtB,kBAAkB;;;;;;;;;;;iBAWZ,iCAAiC,mBAAmB,sBAAsB,4BAA4B,0BAA0B,cAAc,kBAAkB,yBAAyB,YAAY,8BAA8B"}
|
package/dist/{foreign-key-materialization-DiOhEeAz.mjs → foreign-key-materialization-uN1uuv25.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as truncateToWireNamePrefixBytes, o as defaultIndexName } from "./naming-
|
|
2
|
-
import { r as lowerAuthoredIndex } from "./index-naming-Cj1Anq-T-
|
|
1
|
+
import { g as truncateToWireNamePrefixBytes, o as defaultIndexName } from "./naming-BLraiRfc-DKPaCL0a.mjs";
|
|
2
|
+
import { r as lowerAuthoredIndex } from "./index-naming-Cj1Anq-T-DgO8vEIL.mjs";
|
|
3
3
|
//#region ../../../2-sql/1-core/contract/dist/foreign-key-materialization.mjs
|
|
4
4
|
/**
|
|
5
5
|
* The column-list keys (`"colA,colB"`, order preserved) a table's own
|
|
@@ -70,4 +70,4 @@ function materializeForeignKeysAndIndexes(tableName, foreignKeys, declaredIndexe
|
|
|
70
70
|
//#endregion
|
|
71
71
|
export { isBackedByColumnKeys as n, materializeForeignKeysAndIndexes as r, backingIndexColumnKeys as t };
|
|
72
72
|
|
|
73
|
-
//# sourceMappingURL=foreign-key-materialization-
|
|
73
|
+
//# sourceMappingURL=foreign-key-materialization-uN1uuv25.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"foreign-key-materialization-
|
|
1
|
+
{"version":3,"file":"foreign-key-materialization-uN1uuv25.mjs","names":[],"sources":["../../../../2-sql/1-core/contract/dist/foreign-key-materialization.mjs"],"sourcesContent":["import { r as lowerAuthoredIndex } from \"./index-naming-Cj1Anq-T.mjs\";\nimport { defaultIndexName, truncateToWireNamePrefixBytes } from \"@internal/sql-schema-ir/naming\";\n//#region src/foreign-key-materialization.ts\n/**\n* The column-list keys (`\"colA,colB\"`, order preserved) a table's own\n* indexes, unique constraints, and primary key already back. A foreign key\n* whose source columns join to one of these keys needs no separately\n* derived backing index.\n*\n* Shared by {@link isBackedByColumnKeys}'s callers: `materializeForeignKeysAndIndexes`\n* (deriving the discrete backing-index entities persisted at `contract emit`)\n* and the postgres PSL inferrer (deciding whether an introspected relation\n* needs an explicit `index: false`).\n*/\nfunction backingIndexColumnKeys(table) {\n\treturn [\n\t\t...table.indexes.flatMap((index) => index.columns !== void 0 ? [index.columns.join(\",\")] : []),\n\t\t...table.uniques.map((unique) => unique.columns.join(\",\")),\n\t\t...table.primaryKey ? [table.primaryKey.columns.join(\",\")] : []\n\t];\n}\n/**\n* Whether `columns`, in order, matches one of `backingKeys` (see\n* {@link backingIndexColumnKeys}). Order-sensitive: `(a, b)` does not\n* satisfy a backing index declared as `(b, a)`.\n*/\nfunction isBackedByColumnKeys(columns, backingKeys) {\n\treturn backingKeys.includes(columns.join(\",\"));\n}\n/**\n* Lowers a table's authored foreign keys into the discrete entities\n* `contract.json` persists: a `constraint: false` FK contributes no\n* `foreignKeys[]` entry, and an `index: true` FK whose columns aren't already\n* backed by a declared index/unique/primary-key contributes a wire-named\n* `indexes[]` entry (byte-budgeted default prefix + content-hash wire name).\n* Declared indexes always survive unchanged; a second FK sharing an already\n* synthesized backing index does not mint a duplicate.\n*/\nfunction materializeForeignKeysAndIndexes(tableName, foreignKeys, declaredIndexes, uniques, primaryKey) {\n\tconst satisfiedIndexColumns = new Set(backingIndexColumnKeys({\n\t\tindexes: declaredIndexes,\n\t\tuniques,\n\t\tprimaryKey\n\t}));\n\tconst synthesizedIndexes = [];\n\tconst materializedForeignKeys = [];\n\tfor (const { constraint, index, ...reference } of foreignKeys) {\n\t\tif (constraint !== false) materializedForeignKeys.push(reference);\n\t\tif (index !== false) {\n\t\t\tconst key = reference.source.columns.join(\",\");\n\t\t\tif (!satisfiedIndexColumns.has(key)) {\n\t\t\t\tsynthesizedIndexes.push(lowerAuthoredIndex(tableName, {\n\t\t\t\t\tcolumns: reference.source.columns,\n\t\t\t\t\twhere: void 0,\n\t\t\t\t\tunique: void 0,\n\t\t\t\t\tmap: void 0,\n\t\t\t\t\tname: truncateToWireNamePrefixBytes(defaultIndexName(tableName, reference.source.columns)),\n\t\t\t\t\ttype: void 0,\n\t\t\t\t\toptions: void 0\n\t\t\t\t}));\n\t\t\t\tsatisfiedIndexColumns.add(key);\n\t\t\t}\n\t\t}\n\t}\n\treturn {\n\t\tforeignKeys: materializedForeignKeys,\n\t\tindexes: [...declaredIndexes, ...synthesizedIndexes]\n\t};\n}\n//#endregion\nexport { backingIndexColumnKeys, isBackedByColumnKeys, materializeForeignKeysAndIndexes };\n\n//# sourceMappingURL=foreign-key-materialization.mjs.map"],"mappings":";;;;;;;;;;;;;;AAcA,SAAS,uBAAuB,OAAO;CACtC,OAAO;EACN,GAAG,MAAM,QAAQ,SAAS,UAAU,MAAM,YAAY,KAAK,IAAI,CAAC,MAAM,QAAQ,KAAK,GAAG,CAAC,IAAI,CAAC,CAAC;EAC7F,GAAG,MAAM,QAAQ,KAAK,WAAW,OAAO,QAAQ,KAAK,GAAG,CAAC;EACzD,GAAG,MAAM,aAAa,CAAC,MAAM,WAAW,QAAQ,KAAK,GAAG,CAAC,IAAI,CAAC;CAC/D;AACD;;;;;;AAMA,SAAS,qBAAqB,SAAS,aAAa;CACnD,OAAO,YAAY,SAAS,QAAQ,KAAK,GAAG,CAAC;AAC9C;;;;;;;;;;AAUA,SAAS,iCAAiC,WAAW,aAAa,iBAAiB,SAAS,YAAY;CACvG,MAAM,wBAAwB,IAAI,IAAI,uBAAuB;EAC5D,SAAS;EACT;EACA;CACD,CAAC,CAAC;CACF,MAAM,qBAAqB,CAAC;CAC5B,MAAM,0BAA0B,CAAC;CACjC,KAAK,MAAM,EAAE,YAAY,OAAO,GAAG,eAAe,aAAa;EAC9D,IAAI,eAAe,OAAO,wBAAwB,KAAK,SAAS;EAChE,IAAI,UAAU,OAAO;GACpB,MAAM,MAAM,UAAU,OAAO,QAAQ,KAAK,GAAG;GAC7C,IAAI,CAAC,sBAAsB,IAAI,GAAG,GAAG;IACpC,mBAAmB,KAAK,mBAAmB,WAAW;KACrD,SAAS,UAAU,OAAO;KAC1B,OAAO,KAAK;KACZ,QAAQ,KAAK;KACb,KAAK,KAAK;KACV,MAAM,8BAA8B,iBAAiB,WAAW,UAAU,OAAO,OAAO,CAAC;KACzF,MAAM,KAAK;KACX,SAAS,KAAK;IACf,CAAC,CAAC;IACF,sBAAsB,IAAI,GAAG;GAC9B;EACD;CACD;CACA,OAAO;EACN,aAAa;EACb,SAAS,CAAC,GAAG,iBAAiB,GAAG,kBAAkB;CACpD;AACD"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as SqlStorage } from "./sql-storage-jJySr7bL-
|
|
2
|
-
import "./types-
|
|
3
|
-
import { dt as LoweredStatement, h as AnyQueryAst, k as ContractCodecRegistry } from "./types-Yui2yFf6-
|
|
4
|
-
import { t as Adapter } from "./ast-
|
|
5
|
-
import { n as SqlQueryPlan } from "./plan-B7g2kDfQ-
|
|
6
|
-
import { t as SqlExecutionPlan } from "./sql-execution-plan-Db0j752I-
|
|
7
|
-
import "./plan-
|
|
8
|
-
import { t as CodecDescriptorRegistry } from "./query-lane-context-BSmWfohZ-
|
|
9
|
-
import "./query-lane-context-
|
|
10
|
-
import { k as SqlMiddleware } from "./prepared-statement-Cv54gpY_-
|
|
1
|
+
import { c as SqlStorage } from "./sql-storage-jJySr7bL-C_xAiyzH.mjs";
|
|
2
|
+
import "./types-B11MGgKr.mjs";
|
|
3
|
+
import { dt as LoweredStatement, h as AnyQueryAst, k as ContractCodecRegistry } from "./types-Yui2yFf6-DYiGm9ET.mjs";
|
|
4
|
+
import { t as Adapter } from "./ast-dPjHeaNs.mjs";
|
|
5
|
+
import { n as SqlQueryPlan } from "./plan-B7g2kDfQ-Dth0BeTe.mjs";
|
|
6
|
+
import { t as SqlExecutionPlan } from "./sql-execution-plan-Db0j752I-dJ-JGxbD.mjs";
|
|
7
|
+
import "./plan-CrKSowWJ.mjs";
|
|
8
|
+
import { t as CodecDescriptorRegistry } from "./query-lane-context-BSmWfohZ-Jn0AbOQt.mjs";
|
|
9
|
+
import "./query-lane-context-DWdmmnrN.mjs";
|
|
10
|
+
import { k as SqlMiddleware } from "./prepared-statement-Cv54gpY_-DbHPSN5Q.mjs";
|
|
11
11
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
12
12
|
import { AfterExecuteResult as AfterExecuteResult$1, AfterQueryResult as AfterQueryResult$1, ExecuteInterceptResult as ExecuteInterceptResult$1, QueryInterceptResult as QueryInterceptResult$1, RuntimeLog as Log } from "@prisma/orm-framework/components/runtime";
|
|
13
13
|
//#region ../../../2-sql/5-runtime/dist/index.d.mts
|
|
@@ -81,4 +81,4 @@ interface LintsOptions {
|
|
|
81
81
|
declare function lints(options?: LintsOptions): SqlMiddleware;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { LintsOptions as a, budgets as c, lints as d, lowerSqlPlan as f, ExecuteInterceptResult$1 as i, createAstCodecRegistry as l, validateContractCodecMappings as m, AfterQueryResult$1 as n, Log as o, validateCodecRegistryCompleteness as p, BudgetsOptions as r, QueryInterceptResult$1 as s, AfterExecuteResult$1 as t, extractCodecIds as u };
|
|
84
|
-
//# sourceMappingURL=index-
|
|
84
|
+
//# sourceMappingURL=index-BoQtw7lz.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BoQtw7lz.d.mts","names":[],"sources":["../../../../2-sql/5-runtime/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBAiBiB,uBAAuB,aAAa,0BAA0B;;;iBAG9D,gBAAgB,UAAU,SAAS,cAAc;iBACjD,8BAA8B,UAAU,yBAAyB,UAAU,SAAS;iBACpF,kCAAkC,UAAU,yBAAyB,UAAU,SAAS;;;;;;;;;;;;iBAYxF,aAAa,KAAK,SAAS,QAAQ,aAAa,SAAS,aAAa,mBAAmB,UAAU,SAAS,aAAa,WAAW,aAAa,OAAO,iBAAiB;;;UAGhL;WACC;WACA;WACA,YAAY;WACZ;WACA;aACE;aACA;;;iBAGI,QAAQ,UAAU,iBAAiB;;;UAG1C;WACC;aACE;aACA;aACA;aACA;aACA;;WAEF;;;;;;;;;;;;;;;;iBAgBM,MAAM,UAAU,eAAe"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as QueryOperationTypeEntry } from "./types-Bl6ohp1g-
|
|
2
|
-
import "./types-
|
|
1
|
+
import { w as QueryOperationTypeEntry } from "./types-Bl6ohp1g-CL4_GDuc.mjs";
|
|
2
|
+
import "./types-B11MGgKr.mjs";
|
|
3
3
|
import { OperationDescriptor, OperationDescriptors, OperationRegistry } from "@prisma/orm-framework/operations";
|
|
4
4
|
//#region ../../../2-sql/1-core/operations/dist/index.d.mts
|
|
5
5
|
//#region src/index.d.ts
|
|
@@ -21,4 +21,4 @@ type SqlOperationRegistry = OperationRegistry<SqlOperationEntry>;
|
|
|
21
21
|
declare function createSqlOperationRegistry(): SqlOperationRegistry;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { SqlOperationRegistry as a, SqlOperationEntry as i, SqlOperationDescriptor as n, createSqlOperationRegistry as o, SqlOperationDescriptors as r, SqlLoweringSpec as t };
|
|
24
|
-
//# sourceMappingURL=index-
|
|
24
|
+
//# sourceMappingURL=index-DZbfFGBA.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-DZbfFGBA.d.mts","names":[],"sources":["../../../../2-sql/1-core/operations/dist/index.d.mts"],"mappings":";;;;;UAGU;WACC;WACA;;;;;;;;;KASN,oBAAoB;KACpB,yBAAyB,oBAAoB;KAC7C,0BAA0B,qBAAqB;KAC/C,uBAAuB,kBAAkB;iBAC7B,8BAA8B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as contractError } from "./contract-errors-BCN6RVI5-5IHBF_lg.mjs";
|
|
2
|
-
import { a as computeIndexContentHash, n as assertWireNamePrefixLength, o as defaultIndexName } from "./naming-
|
|
2
|
+
import { a as computeIndexContentHash, n as assertWireNamePrefixLength, o as defaultIndexName } from "./naming-BLraiRfc-DKPaCL0a.mjs";
|
|
3
3
|
import { flushAuthoringWarnings } from "@prisma/orm-framework/components/authoring";
|
|
4
4
|
//#region ../../../2-sql/1-core/contract/dist/index-naming-Cj1Anq-T.mjs
|
|
5
5
|
/**
|
|
@@ -131,4 +131,4 @@ function lowerAuthoredIndex(tableName, authored, warnings) {
|
|
|
131
131
|
//#endregion
|
|
132
132
|
export { isAuthoredIndexInput as n, lowerAuthoredIndex as r, exactNameBodyWarning as t };
|
|
133
133
|
|
|
134
|
-
//# sourceMappingURL=index-naming-Cj1Anq-T-
|
|
134
|
+
//# sourceMappingURL=index-naming-Cj1Anq-T-DgO8vEIL.mjs.map
|
package/dist/{index-naming-Cj1Anq-T-C9TevpPR.mjs.map → index-naming-Cj1Anq-T-DgO8vEIL.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-naming-Cj1Anq-T-C9TevpPR.mjs","names":[],"sources":["../../../../2-sql/1-core/contract/dist/index-naming-Cj1Anq-T.mjs"],"sourcesContent":["import { t as contractError } from \"./contract-errors-BCN6RVI5.mjs\";\nimport { flushAuthoringWarnings } from \"@internal/framework-components/authoring\";\nimport { assertWireNamePrefixLength, computeIndexContentHash, defaultIndexName } from \"@internal/sql-schema-ir/naming\";\n//#region src/index-naming.ts\n/**\n* Narrows the opaque payload a contributed model attribute returns under\n* `index` (see `AuthoringModelAttributeIndexOutput`). The framework hands the\n* value through untyped because an index's shape belongs to the family; this\n* is the SQL family's boundary check. It proves the structure only — the\n* name/map and expression rules stay where `@@index` enforces them, in\n* {@link lowerAuthoredIndex}.\n*/\nfunction isAuthoredIndexInput(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst candidate = { ...value };\n\tif (typeof candidate[\"expression\"] === \"string\" === (Array.isArray(candidate[\"columns\"]) && candidate[\"columns\"].every((element) => typeof element === \"string\"))) return false;\n\tif (!isOptionalString(candidate[\"where\"])) return false;\n\tif (!isOptionalString(candidate[\"map\"])) return false;\n\tif (!isOptionalString(candidate[\"name\"])) return false;\n\tif (candidate[\"unique\"] !== void 0 && typeof candidate[\"unique\"] !== \"boolean\") return false;\n\tif (candidate[\"type\"] === void 0) return candidate[\"options\"] === void 0;\n\tif (typeof candidate[\"type\"] !== \"string\") return false;\n\tconst options = candidate[\"options\"];\n\treturn options === void 0 || typeof options === \"object\" && options !== null && !Array.isArray(options);\n}\nfunction isOptionalString(value) {\n\treturn value === void 0 || typeof value === \"string\";\n}\nconst EXACT_NAME_BODY_PREAMBLE = \"Drift detection compares the authored SQL text byte-for-byte against Postgres's reprinted form, which is only reliable when the text was captured by contract infer.\";\n/**\n* Per-subject remediation: an index or check moves to wire naming via\n* `name:`; a policy has no such parameter — dropping `@@map` makes the\n* block's head the wire prefix.\n*/\nconst EXACT_NAME_BODY_REMEDIATION = {\n\tindex: \"For hand-authored definitions, use name: and let Prisma 8 manage the physical name; to migrate an adopted object to wire naming, replace map: with name: (keeping the body text unchanged) and apply the resulting rename migration.\",\n\tpolicy: \"For hand-authored definitions, drop @@map and let the policy block's head name the policy; to migrate an adopted policy to wire naming, remove @@map (keeping the body text unchanged) and apply the resulting rename migration.\",\n\tcheck: \"For hand-authored definitions, use name: and let Prisma 8 manage the physical name; to migrate an adopted check to wire naming, replace map: with name: (keeping the body text unchanged) and apply the resulting rename migration.\"\n};\n/** What the user actually wrote, per subject: index and check `map:`, policy `@@map`. */\nconst EXACT_NAME_FEATURE = {\n\tindex: \"map:\",\n\tpolicy: \"@@map\",\n\tcheck: \"map:\"\n};\nconst EXACT_NAME_BODY_WARNING_CODE = \"PN_EXACT_NAME_BODY_COMPARISON\";\n/**\n* Mints the exact-name body-comparison warning for a `map:`-named object\n* carrying a hand-authorable SQL body — fully formed, so the transport and\n* the flush stay generic. `subject` distinguishes the index, policy, and\n* check callers that mint this same warning; the feature name and the\n* remediation are subject-specific end to end, so a batched summary\n* (grouped on code + summary) is true of every object it covers.\n*/\nfunction exactNameBodyWarning(subject, exactName) {\n\tconst item = `${subject} \"${exactName}\"`;\n\tconst feature = EXACT_NAME_FEATURE[subject];\n\tconst tail = `with a SQL body. ${EXACT_NAME_BODY_PREAMBLE} ${EXACT_NAME_BODY_REMEDIATION[subject]}`;\n\treturn {\n\t\tcode: EXACT_NAME_BODY_WARNING_CODE,\n\t\tmessage: `${item} uses ${feature} ${tail}`,\n\t\titem,\n\t\tsummary: `objects use ${feature} ${tail}`\n\t};\n}\n/**\n* Lowers an authored index into the name-identified entity `contract.json`\n* persists: exact mode adopts `map` verbatim (no prefix, no hash); wire\n* mode appends the content-hash suffix to the authored or default prefix.\n* The cross-field guards are the shared enforcement backstop for both\n* authoring surfaces (PSL pre-empts them with span-anchored diagnostics).\n*/\nfunction lowerAuthoredIndex(tableName, authored, warnings) {\n\tif (authored.columns === void 0 === (authored.expression === void 0)) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Index on table \"${tableName}\": an index takes either fields (columns) or an expression — exactly one, not both.`);\n\tif (authored.map !== void 0 && authored.name !== void 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Index \"${authored.map}\" on table \"${tableName}\": map and name are mutually exclusive — map adopts an exact physical name, name is a wire prefix.`);\n\tif (authored.expression !== void 0 && authored.name === void 0 && authored.map === void 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Index on table \"${tableName}\": an expression index requires an explicit name (name:) or exact physical name (map:) — a default name cannot be derived from an expression.`);\n\tif (authored.options !== void 0 && authored.type === void 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Index on table \"${tableName}\": options requires an explicit type — an index with options but no type cannot round-trip through contract infer (the emitted type: would change the wire name).`);\n\tconst unique = authored.unique ?? false;\n\tif (authored.map !== void 0) {\n\t\tif (authored.expression !== void 0 || authored.where !== void 0) {\n\t\t\tconst warning = exactNameBodyWarning(\"index\", authored.map);\n\t\t\tif (warnings !== void 0) warnings.push(warning);\n\t\t\telse flushAuthoringWarnings([warning]);\n\t\t}\n\t\tconst carried = {\n\t\t\tnaming: {\n\t\t\t\tkind: \"exact\",\n\t\t\t\tname: authored.map\n\t\t\t},\n\t\t\twhere: authored.where,\n\t\t\tunique,\n\t\t\ttype: authored.type,\n\t\t\toptions: authored.options\n\t\t};\n\t\treturn authored.expression !== void 0 ? {\n\t\t\t...carried,\n\t\t\texpression: authored.expression\n\t\t} : {\n\t\t\t...carried,\n\t\t\tcolumns: authored.columns ?? []\n\t\t};\n\t}\n\tconst prefix = authored.name ?? defaultIndexName(tableName, authored.columns ?? []);\n\tassertWireNamePrefixLength(prefix, \"index prefix\");\n\tconst carried = {\n\t\tnaming: {\n\t\t\tkind: \"wire\",\n\t\t\tprefix,\n\t\t\thash: computeIndexContentHash({\n\t\t\t\t...authored.columns !== void 0 && { columns: authored.columns },\n\t\t\t\t...authored.expression !== void 0 && { expression: authored.expression },\n\t\t\t\t...authored.where !== void 0 && { where: authored.where },\n\t\t\t\tunique,\n\t\t\t\t...authored.type !== void 0 && { type: authored.type },\n\t\t\t\t...authored.options !== void 0 && { options: authored.options }\n\t\t\t})\n\t\t},\n\t\twhere: authored.where,\n\t\tunique,\n\t\ttype: authored.type,\n\t\toptions: authored.options\n\t};\n\treturn authored.expression !== void 0 ? {\n\t\t...carried,\n\t\texpression: authored.expression\n\t} : {\n\t\t...carried,\n\t\tcolumns: authored.columns ?? []\n\t};\n}\n//#endregion\nexport { isAuthoredIndexInput as n, lowerAuthoredIndex as r, exactNameBodyWarning as t };\n\n//# sourceMappingURL=index-naming-Cj1Anq-T.mjs.map"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"index-naming-Cj1Anq-T-DgO8vEIL.mjs","names":[],"sources":["../../../../2-sql/1-core/contract/dist/index-naming-Cj1Anq-T.mjs"],"sourcesContent":["import { t as contractError } from \"./contract-errors-BCN6RVI5.mjs\";\nimport { flushAuthoringWarnings } from \"@internal/framework-components/authoring\";\nimport { assertWireNamePrefixLength, computeIndexContentHash, defaultIndexName } from \"@internal/sql-schema-ir/naming\";\n//#region src/index-naming.ts\n/**\n* Narrows the opaque payload a contributed model attribute returns under\n* `index` (see `AuthoringModelAttributeIndexOutput`). The framework hands the\n* value through untyped because an index's shape belongs to the family; this\n* is the SQL family's boundary check. It proves the structure only — the\n* name/map and expression rules stay where `@@index` enforces them, in\n* {@link lowerAuthoredIndex}.\n*/\nfunction isAuthoredIndexInput(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst candidate = { ...value };\n\tif (typeof candidate[\"expression\"] === \"string\" === (Array.isArray(candidate[\"columns\"]) && candidate[\"columns\"].every((element) => typeof element === \"string\"))) return false;\n\tif (!isOptionalString(candidate[\"where\"])) return false;\n\tif (!isOptionalString(candidate[\"map\"])) return false;\n\tif (!isOptionalString(candidate[\"name\"])) return false;\n\tif (candidate[\"unique\"] !== void 0 && typeof candidate[\"unique\"] !== \"boolean\") return false;\n\tif (candidate[\"type\"] === void 0) return candidate[\"options\"] === void 0;\n\tif (typeof candidate[\"type\"] !== \"string\") return false;\n\tconst options = candidate[\"options\"];\n\treturn options === void 0 || typeof options === \"object\" && options !== null && !Array.isArray(options);\n}\nfunction isOptionalString(value) {\n\treturn value === void 0 || typeof value === \"string\";\n}\nconst EXACT_NAME_BODY_PREAMBLE = \"Drift detection compares the authored SQL text byte-for-byte against Postgres's reprinted form, which is only reliable when the text was captured by contract infer.\";\n/**\n* Per-subject remediation: an index or check moves to wire naming via\n* `name:`; a policy has no such parameter — dropping `@@map` makes the\n* block's head the wire prefix.\n*/\nconst EXACT_NAME_BODY_REMEDIATION = {\n\tindex: \"For hand-authored definitions, use name: and let Prisma 8 manage the physical name; to migrate an adopted object to wire naming, replace map: with name: (keeping the body text unchanged) and apply the resulting rename migration.\",\n\tpolicy: \"For hand-authored definitions, drop @@map and let the policy block's head name the policy; to migrate an adopted policy to wire naming, remove @@map (keeping the body text unchanged) and apply the resulting rename migration.\",\n\tcheck: \"For hand-authored definitions, use name: and let Prisma 8 manage the physical name; to migrate an adopted check to wire naming, replace map: with name: (keeping the body text unchanged) and apply the resulting rename migration.\"\n};\n/** What the user actually wrote, per subject: index and check `map:`, policy `@@map`. */\nconst EXACT_NAME_FEATURE = {\n\tindex: \"map:\",\n\tpolicy: \"@@map\",\n\tcheck: \"map:\"\n};\nconst EXACT_NAME_BODY_WARNING_CODE = \"PN_EXACT_NAME_BODY_COMPARISON\";\n/**\n* Mints the exact-name body-comparison warning for a `map:`-named object\n* carrying a hand-authorable SQL body — fully formed, so the transport and\n* the flush stay generic. `subject` distinguishes the index, policy, and\n* check callers that mint this same warning; the feature name and the\n* remediation are subject-specific end to end, so a batched summary\n* (grouped on code + summary) is true of every object it covers.\n*/\nfunction exactNameBodyWarning(subject, exactName) {\n\tconst item = `${subject} \"${exactName}\"`;\n\tconst feature = EXACT_NAME_FEATURE[subject];\n\tconst tail = `with a SQL body. ${EXACT_NAME_BODY_PREAMBLE} ${EXACT_NAME_BODY_REMEDIATION[subject]}`;\n\treturn {\n\t\tcode: EXACT_NAME_BODY_WARNING_CODE,\n\t\tmessage: `${item} uses ${feature} ${tail}`,\n\t\titem,\n\t\tsummary: `objects use ${feature} ${tail}`\n\t};\n}\n/**\n* Lowers an authored index into the name-identified entity `contract.json`\n* persists: exact mode adopts `map` verbatim (no prefix, no hash); wire\n* mode appends the content-hash suffix to the authored or default prefix.\n* The cross-field guards are the shared enforcement backstop for both\n* authoring surfaces (PSL pre-empts them with span-anchored diagnostics).\n*/\nfunction lowerAuthoredIndex(tableName, authored, warnings) {\n\tif (authored.columns === void 0 === (authored.expression === void 0)) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Index on table \"${tableName}\": an index takes either fields (columns) or an expression — exactly one, not both.`);\n\tif (authored.map !== void 0 && authored.name !== void 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Index \"${authored.map}\" on table \"${tableName}\": map and name are mutually exclusive — map adopts an exact physical name, name is a wire prefix.`);\n\tif (authored.expression !== void 0 && authored.name === void 0 && authored.map === void 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Index on table \"${tableName}\": an expression index requires an explicit name (name:) or exact physical name (map:) — a default name cannot be derived from an expression.`);\n\tif (authored.options !== void 0 && authored.type === void 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Index on table \"${tableName}\": options requires an explicit type — an index with options but no type cannot round-trip through contract infer (the emitted type: would change the wire name).`);\n\tconst unique = authored.unique ?? false;\n\tif (authored.map !== void 0) {\n\t\tif (authored.expression !== void 0 || authored.where !== void 0) {\n\t\t\tconst warning = exactNameBodyWarning(\"index\", authored.map);\n\t\t\tif (warnings !== void 0) warnings.push(warning);\n\t\t\telse flushAuthoringWarnings([warning]);\n\t\t}\n\t\tconst carried = {\n\t\t\tnaming: {\n\t\t\t\tkind: \"exact\",\n\t\t\t\tname: authored.map\n\t\t\t},\n\t\t\twhere: authored.where,\n\t\t\tunique,\n\t\t\ttype: authored.type,\n\t\t\toptions: authored.options\n\t\t};\n\t\treturn authored.expression !== void 0 ? {\n\t\t\t...carried,\n\t\t\texpression: authored.expression\n\t\t} : {\n\t\t\t...carried,\n\t\t\tcolumns: authored.columns ?? []\n\t\t};\n\t}\n\tconst prefix = authored.name ?? defaultIndexName(tableName, authored.columns ?? []);\n\tassertWireNamePrefixLength(prefix, \"index prefix\");\n\tconst carried = {\n\t\tnaming: {\n\t\t\tkind: \"wire\",\n\t\t\tprefix,\n\t\t\thash: computeIndexContentHash({\n\t\t\t\t...authored.columns !== void 0 && { columns: authored.columns },\n\t\t\t\t...authored.expression !== void 0 && { expression: authored.expression },\n\t\t\t\t...authored.where !== void 0 && { where: authored.where },\n\t\t\t\tunique,\n\t\t\t\t...authored.type !== void 0 && { type: authored.type },\n\t\t\t\t...authored.options !== void 0 && { options: authored.options }\n\t\t\t})\n\t\t},\n\t\twhere: authored.where,\n\t\tunique,\n\t\ttype: authored.type,\n\t\toptions: authored.options\n\t};\n\treturn authored.expression !== void 0 ? {\n\t\t...carried,\n\t\texpression: authored.expression\n\t} : {\n\t\t...carried,\n\t\tcolumns: authored.columns ?? []\n\t};\n}\n//#endregion\nexport { isAuthoredIndexInput as n, lowerAuthoredIndex as r, exactNameBodyWarning as t };\n\n//# sourceMappingURL=index-naming-Cj1Anq-T.mjs.map"],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as IndexInput } from "./sql-index-ByAAE7K8-
|
|
1
|
+
import { r as IndexInput } from "./sql-index-ByAAE7K8-DPkZtr7t.mjs";
|
|
2
2
|
import { AuthoringWarning, AuthoringWarningSink } from "@prisma/orm-framework/components/authoring";
|
|
3
3
|
//#region ../../../2-sql/1-core/contract/dist/index-naming.d.mts
|
|
4
4
|
//#region src/index-naming.d.ts
|
|
@@ -68,4 +68,4 @@ declare function exactNameBodyWarning(subject: 'index' | 'policy' | 'check', exa
|
|
|
68
68
|
declare function lowerAuthoredIndex(tableName: string, authored: AuthoredIndexInput, warnings?: AuthoringWarningSink): IndexInput;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { lowerAuthoredIndex as a, isAuthoredIndexInput as i, AuthoredIndexMethod as n, exactNameBodyWarning as r, AuthoredIndexInput as t };
|
|
71
|
-
//# sourceMappingURL=index-naming-
|
|
71
|
+
//# sourceMappingURL=index-naming-UEtT94f5.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-naming-
|
|
1
|
+
{"version":3,"file":"index-naming-UEtT94f5.d.mts","names":[],"sources":["../../../../2-sql/1-core/contract/dist/index-naming.d.mts"],"mappings":";;;;;;;;KAOK;WACM;WACA;;WAEA;WACA;;;;;;;;;KASN;WACM;WACA;;WAEA;WACA,SAAS;;;;;;;;;KASf,qBAAqB,wBAAwB;WACvC;WACA;WACA;WACA;;;;;;;;;;iBAUM,qBAAqB,iBAAiB,SAAS;;;;;;;;;iBAS/C,qBAAqB,uCAAuC,oBAAoB;;;;;;;;iBAQhF,mBAAmB,mBAAmB,UAAU,oBAAoB,WAAW,uBAAuB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as SqlStorage } from "./sql-storage-jJySr7bL-
|
|
2
|
-
import "./types-Bl6ohp1g-
|
|
1
|
+
import { c as SqlStorage } from "./sql-storage-jJySr7bL-C_xAiyzH.mjs";
|
|
2
|
+
import "./types-Bl6ohp1g-CL4_GDuc.mjs";
|
|
3
3
|
import { a as IndexTypeRegistry } from "./index-types-DPVhsW0v-D-BikM4h.mjs";
|
|
4
4
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
5
5
|
//#region ../../../2-sql/1-core/contract/dist/index-type-validation.d.mts
|
|
@@ -7,4 +7,4 @@ import { Contract } from "@prisma/orm-framework/contract/types";
|
|
|
7
7
|
declare function validateIndexTypes(contract: Contract<SqlStorage>, indexTypeRegistry: IndexTypeRegistry): void;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { validateIndexTypes as t };
|
|
10
|
-
//# sourceMappingURL=index-type-validation-
|
|
10
|
+
//# sourceMappingURL=index-type-validation-9yBRmaQK.d.mts.map
|
package/dist/{index-type-validation-DLPW4oTq.d.mts.map → index-type-validation-9yBRmaQK.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-type-validation-
|
|
1
|
+
{"version":3,"file":"index-type-validation-9yBRmaQK.d.mts","names":[],"sources":["../../../../2-sql/1-core/contract/dist/index-type-validation.d.mts"],"mappings":";;;;;;iBAKiB,mBAAmB,UAAU,SAAS,aAAa,mBAAmB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as isAuthoredIndexInput } from "./index-naming-Cj1Anq-T-
|
|
1
|
+
import { n as isAuthoredIndexInput } from "./index-naming-Cj1Anq-T-DgO8vEIL.mjs";
|
|
2
2
|
import { n as providesPslEntityPlacement } from "./entity-handle-lowering-hook-B3atrRKX.mjs";
|
|
3
|
-
import { d as resolvedTypeParams } from "./types-
|
|
3
|
+
import { d as resolvedTypeParams } from "./types-Z-l6gAVD.mjs";
|
|
4
4
|
import { t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
|
|
5
|
-
import { n as buildSqlContractFromDefinition } from "./derived-checks-C_y1rk6O-
|
|
6
|
-
import { S as toNamedTypeFieldDescriptor, _ as modelCoordinateKey, b as sqlAttributeSpecs, c as getAttribute, f as instantiatePslTypeConstructor, g as modelAttributeSpecsFrom, h as mapFieldNamesToColumns, i as contractError, l as getAuthoringEntity, m as interpretModelAttribute, n as bareTypeConstructorOf, p as interpretFieldAttribute, r as collectResolvedFields, s as formatDbAttributeMigrationMessage, t as PSL_CHECK_ON_STI_VARIANT, u as getNamedArgument, x as storageName, y as resolveFieldTypeDescriptor } from "./psl-field-resolution-_o74AUE4-
|
|
5
|
+
import { n as buildSqlContractFromDefinition } from "./derived-checks-C_y1rk6O-DwCaGICl.mjs";
|
|
6
|
+
import { S as toNamedTypeFieldDescriptor, _ as modelCoordinateKey, b as sqlAttributeSpecs, c as getAttribute, f as instantiatePslTypeConstructor, g as modelAttributeSpecsFrom, h as mapFieldNamesToColumns, i as contractError, l as getAuthoringEntity, m as interpretModelAttribute, n as bareTypeConstructorOf, p as interpretFieldAttribute, r as collectResolvedFields, s as formatDbAttributeMigrationMessage, t as PSL_CHECK_ON_STI_VARIANT, u as getNamedArgument, x as storageName, y as resolveFieldTypeDescriptor } from "./psl-field-resolution-_o74AUE4-C-vTNklI.mjs";
|
|
7
7
|
import { t as defaultTableName } from "./default-table-name-BfFY8qYR-lHNcVmY5.mjs";
|
|
8
8
|
import { instantiateAuthoringEntityType, instantiateAuthoringTypeConstructor, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor } from "@prisma/orm-framework/components/authoring";
|
|
9
9
|
import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
|
|
@@ -2156,4 +2156,4 @@ function interpretPslDocumentToSqlContract(input) {
|
|
|
2156
2156
|
//#endregion
|
|
2157
2157
|
export { normalizeReferentialAction as a, interpretPslDocumentToSqlContract as i, buildEntityTypesByDiscriminator as n, indexFkRelations as r, applyBackrelationCandidates as t };
|
|
2158
2158
|
|
|
2159
|
-
//# sourceMappingURL=interpreter-C8cP92FD-
|
|
2159
|
+
//# sourceMappingURL=interpreter-C8cP92FD-BfjuQvb1.mjs.map
|