@prisma/orm-target-postgres 8.0.0-rc.20-dev.10 → 8.0.0-rc.20-dev.12
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/{adapter-BIWKN0d7-zXTBkzEf.mjs → adapter-BIWKN0d7-BI1J51N4.mjs} +5 -5
- package/dist/{adapter-BIWKN0d7-zXTBkzEf.mjs.map → adapter-BIWKN0d7-BI1J51N4.mjs.map} +1 -1
- package/dist/{adapter-5qylEP__.d.mts → adapter-BNZo-LwN.d.mts} +31 -9
- package/dist/{adapter-5qylEP__.d.mts.map → adapter-BNZo-LwN.d.mts.map} +1 -1
- package/dist/adapter.d.mts +6 -6
- package/dist/adapter.mjs +7 -7
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +2 -2
- package/dist/adapter__column-types.d.mts +2 -2
- package/dist/adapter__column-types.mjs +2 -2
- package/dist/adapter__control.d.mts +2 -2
- package/dist/adapter__control.mjs +4 -4
- package/dist/adapter__runtime.mjs +4 -4
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/adapter__types.d.mts +2 -2
- package/dist/{aggregates-CEqqEg8k.d.mts → aggregates-D3Gq0n_e.d.mts} +30 -8
- package/dist/{aggregates-CEqqEg8k.d.mts.map → aggregates-D3Gq0n_e.d.mts.map} +1 -1
- package/dist/{aggregates-Dw-lAutX.mjs → aggregates-xBA2jH0c.mjs} +13 -2
- package/dist/aggregates-xBA2jH0c.mjs.map +1 -0
- package/dist/{authoring-P5nKuHp1-DPQfTSM8.mjs → authoring-BLkari-V-D1FvcoJg.mjs} +112 -33
- package/dist/authoring-BLkari-V-D1FvcoJg.mjs.map +1 -0
- package/dist/{autoincrement-widths-DonNJgfS-CCvZ4u1W.mjs → autoincrement-widths-CC5ZgVXV-CiL5ge45.mjs} +3 -3
- package/dist/{autoincrement-widths-DonNJgfS-CCvZ4u1W.mjs.map → autoincrement-widths-CC5ZgVXV-CiL5ge45.mjs.map} +1 -1
- package/dist/{check-expressions-7uCCP01t-DtX2Vak9.mjs → check-expressions-Bl0eh1Jt-CCfoIDEB.mjs} +3 -3
- package/dist/{check-expressions-7uCCP01t-DtX2Vak9.mjs.map → check-expressions-Bl0eh1Jt-CCfoIDEB.mjs.map} +1 -1
- package/dist/codec-ids-Bt6JuEam.d.mts +1 -0
- package/dist/{codec-ids-C6II64Wy-CPYTqDTT.d.mts → codec-ids-CNEv5CTR-g_wnSmnu.d.mts} +6 -3
- package/dist/{codec-ids-C6II64Wy-CPYTqDTT.d.mts.map → codec-ids-CNEv5CTR-g_wnSmnu.d.mts.map} +1 -1
- package/dist/{codec-ids-BMhEpFwv-B8Zh0s_Q.mjs → codec-ids-D0wjQdEW-EypD_iZj.mjs} +6 -3
- package/dist/codec-ids-D0wjQdEW-EypD_iZj.mjs.map +1 -0
- package/dist/{codec-registry-D7XslgPe-DTZnVB8W.mjs → codec-registry-Cu-Nwsyl-BArjkoQ7.mjs} +4 -4
- package/dist/{codec-registry-D7XslgPe-DTZnVB8W.mjs.map → codec-registry-Cu-Nwsyl-BArjkoQ7.mjs.map} +1 -1
- package/dist/{codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts → codec-type-map-CIZ7LbPA-CeMPxEAm.d.mts} +6 -3
- package/dist/codec-type-map-CIZ7LbPA-CeMPxEAm.d.mts.map +1 -0
- package/dist/{codec-types-Ct_4iTVc-3tFJcIBo.d.mts → codec-types-C7E42vTO-CGX0m6Mb.d.mts} +5 -18
- package/dist/codec-types-C7E42vTO-CGX0m6Mb.d.mts.map +1 -0
- package/dist/codec-types-CiEHACsD.d.mts +2 -0
- package/dist/{codecs-CADK7dCR-C8WToYQb.d.mts → codecs-BJBFipkV-CVMp939Z.d.mts} +72 -7
- package/dist/codecs-BJBFipkV-CVMp939Z.d.mts.map +1 -0
- package/dist/{codecs-CRl9-i_r-Co-bgYl3.mjs → codecs-BNpSaccO-CLaErrDe.mjs} +257 -50
- package/dist/codecs-BNpSaccO-CLaErrDe.mjs.map +1 -0
- package/dist/{codecs-CoEpEqjM.d.mts → codecs-DulR4oG1.d.mts} +2 -2
- package/dist/{codecs-CoEpEqjM.d.mts.map → codecs-DulR4oG1.d.mts.map} +1 -1
- package/dist/{column-types-B4zsV-u3.mjs → column-types-DW38xCZG.mjs} +13 -5
- package/dist/column-types-DW38xCZG.mjs.map +1 -0
- package/dist/{column-types-Bs2V0j8T.d.mts → column-types-DtpCrZt4.d.mts} +25 -8
- package/dist/column-types-DtpCrZt4.d.mts.map +1 -0
- package/dist/{contract-contributions-DTGGTwRZ-ZfPwFqZ1.mjs → contract-contributions-DTGGTwRZ-Bf6l72jg.mjs} +11 -11
- package/dist/{contract-contributions-DTGGTwRZ-ZfPwFqZ1.mjs.map → contract-contributions-DTGGTwRZ-Bf6l72jg.mjs.map} +1 -1
- package/dist/{contract-free-o7olebm9.mjs → contract-free-q405H_rE.mjs} +4 -4
- package/dist/{contract-free-o7olebm9.mjs.map → contract-free-q405H_rE.mjs.map} +1 -1
- package/dist/{control-CYMqxaFZ.mjs → control-B_4_C92P.mjs} +4 -5
- package/dist/control-B_4_C92P.mjs.map +1 -0
- package/dist/{control--HupSPoV.d.mts → control-m9LWRUnY.d.mts} +260 -94
- package/dist/control-m9LWRUnY.d.mts.map +1 -0
- package/dist/{control-BnLOEOZo.d.mts → control-nSGzcTXc.d.mts} +2 -2
- package/dist/{control-BnLOEOZo.d.mts.map → control-nSGzcTXc.d.mts.map} +1 -1
- package/dist/{control-policy-BcplTDhK-DMJjsg6l.mjs → control-policy-CVRNJsbY-Cljg0_0d.mjs} +10 -10
- package/dist/{control-policy-BcplTDhK-DMJjsg6l.mjs.map → control-policy-CVRNJsbY-Cljg0_0d.mjs.map} +1 -1
- package/dist/{data-type-entries-gQW3-KSb-BIl8vgus.mjs → data-type-entries-BNpstbGO-Cd57I2Q2.mjs} +3 -3
- package/dist/{data-type-entries-gQW3-KSb-BIl8vgus.mjs.map → data-type-entries-BNpstbGO-Cd57I2Q2.mjs.map} +1 -1
- package/dist/{data-types-Chx0mjTP-DczU4S9b.mjs → data-types-tjXyQbIR-C76ctfke.mjs} +6 -6
- package/dist/data-types-tjXyQbIR-C76ctfke.mjs.map +1 -0
- package/dist/{date-time-now-generators-CMkXVbMG-C-GjhReE.d.mts → date-time-now-generators-C2aktlrc-uf9LqU6E.d.mts} +5 -4
- package/dist/date-time-now-generators-C2aktlrc-uf9LqU6E.d.mts.map +1 -0
- package/dist/{ddl-B7Rqlz6D-B7dRDgYb.mjs → ddl-B6k3Lu9l-BcIKfN82.mjs} +4 -4
- package/dist/{ddl-B7Rqlz6D-B7dRDgYb.mjs.map → ddl-B6k3Lu9l-BcIKfN82.mjs.map} +1 -1
- package/dist/{descriptor-meta-15Dhylpt-BlJRsuMJ.mjs → descriptor-meta-BDfFIQHx-C2ewuoHD.mjs} +11 -11
- package/dist/{descriptor-meta-15Dhylpt-BlJRsuMJ.mjs.map → descriptor-meta-BDfFIQHx-C2ewuoHD.mjs.map} +1 -1
- package/dist/{descriptor-meta-I7Ih-0hE-vhWTPChK.mjs → descriptor-meta-I7Ih-0hE-Dl5m2vYH.mjs} +3 -3
- package/dist/{descriptor-meta-I7Ih-0hE-vhWTPChK.mjs.map → descriptor-meta-I7Ih-0hE-Dl5m2vYH.mjs.map} +1 -1
- package/dist/{descriptor-meta-runtime-Dft1L7eE-D8vpOz_Z.mjs → descriptor-meta-runtime-Dt2G0LGV-u14ci_1u.mjs} +5 -4
- package/dist/descriptor-meta-runtime-Dt2G0LGV-u14ci_1u.mjs.map +1 -0
- package/dist/{diff-database-schema-zWe9Lrh7-CD7T95HL.mjs → diff-database-schema-CXherlyh-CZ68d_H5.mjs} +10 -10
- package/dist/{diff-database-schema-zWe9Lrh7-CD7T95HL.mjs.map → diff-database-schema-CXherlyh-CZ68d_H5.mjs.map} +1 -1
- package/dist/driver.d.mts +2 -2
- package/dist/driver.mjs +4 -3
- package/dist/driver__control.mjs +1 -1
- package/dist/driver__runtime.d.mts +2 -2
- package/dist/driver__runtime.mjs +3 -2
- package/dist/{errors-BrhQYgdL-IvZHPjwL.mjs → errors-0GfG3o8N-CM3BsoOd.mjs} +21 -10
- package/dist/errors-0GfG3o8N-CM3BsoOd.mjs.map +1 -0
- package/dist/{errors-LdIppowi.d.mts → errors-CaVvV9Mj.d.mts} +2 -2
- package/dist/{errors-LdIppowi.d.mts.map → errors-CaVvV9Mj.d.mts.map} +1 -1
- package/dist/{full-text-BYg7EVX2.mjs → full-text-DZkaI8Rj.mjs} +3 -3
- package/dist/{full-text-BYg7EVX2.mjs.map → full-text-DZkaI8Rj.mjs.map} +1 -1
- package/dist/{full-text-collection-method-BFd2u2cs-Ba3OiWM3.d.mts → full-text-collection-method-DHuJr46z-Bndk11cK.d.mts} +4 -4
- package/dist/full-text-collection-method-DHuJr46z-Bndk11cK.d.mts.map +1 -0
- package/dist/{full-text-index-definition-BPxQQBuC-VLyQ1kEL.mjs → full-text-index-definition-Cqx1_LYV-P_asS2NF.mjs} +3 -3
- package/dist/{full-text-index-definition-BPxQQBuC-VLyQ1kEL.mjs.map → full-text-index-definition-Cqx1_LYV-P_asS2NF.mjs.map} +1 -1
- package/dist/{full-text-parsers-CFFxiOrp-CrZ7VI1m.mjs → full-text-parsers-BQ2Szxka-C5Uk-coo.mjs} +5 -5
- package/dist/{full-text-parsers-CFFxiOrp-CrZ7VI1m.mjs.map → full-text-parsers-BQ2Szxka-C5Uk-coo.mjs.map} +1 -1
- package/dist/{full-text-search-document-Doy5TF7c-aMWM_1KB.mjs → full-text-search-document-BH_aXzI2-jhilBeF9.mjs} +5 -5
- package/dist/{full-text-search-document-Doy5TF7c-aMWM_1KB.mjs.map → full-text-search-document-BH_aXzI2-jhilBeF9.mjs.map} +1 -1
- package/dist/{full-text-SDbfxrE_.d.mts → full-text-xZIrFi7x.d.mts} +3 -3
- package/dist/{full-text-SDbfxrE_.d.mts.map → full-text-xZIrFi7x.d.mts.map} +1 -1
- package/dist/{index-types-BihjrAAq-C2VnfAyF.mjs → index-types-CQHbUgu9-Cr-h50-J.mjs} +3 -3
- package/dist/{index-types-BihjrAAq-C2VnfAyF.mjs.map → index-types-CQHbUgu9-Cr-h50-J.mjs.map} +1 -1
- package/dist/{infer-psl-contract-CdGGwxP3-JfIJ81cu.mjs → infer-psl-contract-DLVFIwIv-BE7SsHDM.mjs} +10 -10
- package/dist/{infer-psl-contract-CdGGwxP3-JfIJ81cu.mjs.map → infer-psl-contract-DLVFIwIv-BE7SsHDM.mjs.map} +1 -1
- package/dist/migration-Be_iuIpn.mjs.map +1 -1
- package/dist/{native-type-normalizer-Cn-RGt_E.mjs → native-type-normalizer-Fkw-n7I3.mjs} +2 -2
- package/dist/{native-type-normalizer-Cn-RGt_E.mjs.map → native-type-normalizer-Fkw-n7I3.mjs.map} +1 -1
- package/dist/{op-factory-call-CNXvLsqS-BT9PCNDI.mjs → op-factory-call-pgrknkpg-BW61pr91.mjs} +9 -9
- package/dist/{op-factory-call-CNXvLsqS-BT9PCNDI.mjs.map → op-factory-call-pgrknkpg-BW61pr91.mjs.map} +1 -1
- package/dist/{operation-types--Wa_cv45-RoRnL1Dn.d.mts → operation-types-BlaAPrew-BkZiJwPy.d.mts} +4 -4
- package/dist/{operation-types--Wa_cv45-RoRnL1Dn.d.mts.map → operation-types-BlaAPrew-BkZiJwPy.d.mts.map} +1 -1
- package/dist/operation-types-Bz8xX2oY.d.mts +1 -0
- package/dist/{pack-2CYw2w-b.d.mts → pack-Cbl186uA.d.mts} +174 -88
- package/dist/pack-Cbl186uA.d.mts.map +1 -0
- package/dist/{planner-ddl-builders-cYnH52gC-BWifb_M6.mjs → planner-ddl-builders-B3i8RIDk-Bl7toHkW.mjs} +3 -3
- package/dist/{planner-ddl-builders-cYnH52gC-BWifb_M6.mjs.map → planner-ddl-builders-B3i8RIDk-Bl7toHkW.mjs.map} +1 -1
- package/dist/{planner-identity-values-QstrMJ2U-CcpaRVPY.mjs → planner-identity-values-CCscfo-A-ClO_dRiZ.mjs} +3 -3
- package/dist/{planner-identity-values-QstrMJ2U-CcpaRVPY.mjs.map → planner-identity-values-CCscfo-A-ClO_dRiZ.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-W1MyA8gh-CsJ2mBwk.mjs → planner-produced-postgres-migration-B888gy9y-ChG4SvFH.mjs} +4 -4
- package/dist/{planner-produced-postgres-migration-W1MyA8gh-CsJ2mBwk.mjs.map → planner-produced-postgres-migration-B888gy9y-ChG4SvFH.mjs.map} +1 -1
- package/dist/{planner-B_mJlpS3-Cp4ZLLMC.mjs → planner-ro2oqvMl-Czh1EHR9.mjs} +11 -11
- package/dist/{planner-B_mJlpS3-Cp4ZLLMC.mjs.map → planner-ro2oqvMl-Czh1EHR9.mjs.map} +1 -1
- package/dist/{planner-sql-checks-D-K44J19-CzvrqzNB.mjs → planner-sql-checks-DvVjRXZI-CZff7ZwA.mjs} +5 -5
- package/dist/{planner-sql-checks-D-K44J19-CzvrqzNB.mjs.map → planner-sql-checks-DvVjRXZI-CZff7ZwA.mjs.map} +1 -1
- package/dist/{postgres-codec-traits-CnP5Bjxp-Dxdgv0TI.mjs → postgres-codec-traits-BL_Co0ST-CvoZqScE.mjs} +3 -3
- package/dist/{postgres-codec-traits-CnP5Bjxp-Dxdgv0TI.mjs.map → postgres-codec-traits-BL_Co0ST-CvoZqScE.mjs.map} +1 -1
- package/dist/{postgres-contract-view-DgBsbRyj-CWrgmyHg.mjs → postgres-contract-view-B83MckYE-C5HdTzw0.mjs} +9 -9
- package/dist/{postgres-contract-view-DgBsbRyj-CWrgmyHg.mjs.map → postgres-contract-view-B83MckYE-C5HdTzw0.mjs.map} +1 -1
- package/dist/{postgres-migration-iX1KfbM2-CF0mqcmz.mjs → postgres-migration-B72vywyI-Bz1IVjIU.mjs} +12 -12
- package/dist/{postgres-migration-iX1KfbM2-CF0mqcmz.mjs.map → postgres-migration-B72vywyI-Bz1IVjIU.mjs.map} +1 -1
- package/dist/{postgres-schema-C6w1rzOF-D1fdwqRx.mjs → postgres-schema-uGdd5lv3-CahJcFWL.mjs} +6 -6
- package/dist/{postgres-schema-C6w1rzOF-D1fdwqRx.mjs.map → postgres-schema-uGdd5lv3-CahJcFWL.mjs.map} +1 -1
- package/dist/{prisma7-binding-VHjZ983n.mjs → prisma7-binding-B-1EN2aJ.mjs} +8 -8
- package/dist/{prisma7-binding-VHjZ983n.mjs.map → prisma7-binding-B-1EN2aJ.mjs.map} +1 -1
- package/dist/{prisma7-binding-a56klfkc.d.mts → prisma7-binding-BxxcJeE0.d.mts} +174 -88
- package/dist/prisma7-binding-BxxcJeE0.d.mts.map +1 -0
- package/dist/{render-ops-DszuGMgp--NFBbNry.mjs → render-ops-Bcu9Ut4l-DqXsDZ0G.mjs} +4 -4
- package/dist/{render-ops-DszuGMgp--NFBbNry.mjs.map → render-ops-Bcu9Ut4l-DqXsDZ0G.mjs.map} +1 -1
- package/dist/{resolve-ddl-schema-D3VNPMSm-BuB6NyOI.mjs → resolve-ddl-schema-DoD8dGk5-CBXjVWGS.mjs} +3 -3
- package/dist/{resolve-ddl-schema-D3VNPMSm-BuB6NyOI.mjs.map → resolve-ddl-schema-DoD8dGk5-CBXjVWGS.mjs.map} +1 -1
- package/dist/{runtime-Ci_toEDZ.d.mts → runtime-BjS3N8LM.d.mts} +3 -3
- package/dist/{runtime-Ci_toEDZ.d.mts.map → runtime-BjS3N8LM.d.mts.map} +1 -1
- package/dist/{runtime-OMKUJYSn.d.mts → runtime-DfvyJQER.d.mts} +12 -3
- package/dist/runtime-DfvyJQER.d.mts.map +1 -0
- package/dist/{runtime-B1WvyyiV.mjs → runtime-y_2Hxv0c.mjs} +61 -19
- package/dist/runtime-y_2Hxv0c.mjs.map +1 -0
- package/dist/{server-text-types-DiGLNzzU-DZ13qVS2.mjs → session-settings-cHekxETj-CKXTmPoK.mjs} +98 -4
- package/dist/session-settings-cHekxETj-CKXTmPoK.mjs.map +1 -0
- package/dist/{sql-renderer-BdWJPa5F-Ct0CPlXc.mjs → sql-renderer-BdWJPa5F-DH1baMIk.mjs} +3 -3
- package/dist/{sql-renderer-BdWJPa5F-Ct0CPlXc.mjs.map → sql-renderer-BdWJPa5F-DH1baMIk.mjs.map} +1 -1
- package/dist/{sql-utils-Bnw3JbWf-BN0gcjZB.mjs → sql-utils-DUETeYBc-DbbAr6EV.mjs} +3 -3
- package/dist/{sql-utils-Bnw3JbWf-BN0gcjZB.mjs.map → sql-utils-DUETeYBc-DbbAr6EV.mjs.map} +1 -1
- package/dist/target.d.mts +18 -18
- package/dist/target.mjs +33 -33
- package/dist/target__aggregates.d.mts +1 -1
- package/dist/target__aggregates.mjs +1 -1
- package/dist/target__codec-ids.d.mts +3 -3
- package/dist/target__codec-ids.mjs +2 -2
- package/dist/target__codec-types.d.mts +4 -4
- package/dist/target__codecs.d.mts +3 -3
- package/dist/target__codecs.mjs +3 -3
- package/dist/target__contract-free.mjs +3 -3
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +17 -17
- package/dist/target__control.mjs.map +1 -1
- package/dist/target__data-types.mjs +2 -2
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__errors.d.mts +1 -1
- package/dist/target__errors.mjs +1 -1
- package/dist/target__full-text-index-authoring.mjs +2 -2
- package/dist/target__full-text.d.mts +3 -3
- package/dist/target__full-text.mjs +2 -2
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.mjs +2 -2
- package/dist/target__native-type-normalizer.mjs +1 -1
- package/dist/target__op-factory-call.mjs +1 -1
- package/dist/target__operation-types.d.mts +2 -2
- package/dist/target__pack.d.mts +2 -2
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-ddl-builders.mjs +1 -1
- package/dist/target__planner-identity-values.mjs +1 -1
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-sql-checks.mjs +1 -1
- package/dist/target__planner.mjs +2 -2
- package/dist/target__prisma7-binding.d.mts +1 -1
- package/dist/target__prisma7-binding.mjs +1 -1
- package/dist/target__render-ops.mjs +1 -1
- package/dist/target__runtime.d.mts +3 -3
- package/dist/target__runtime.mjs +9 -9
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__sql-utils.mjs +3 -3
- package/dist/target__types.mjs +2 -2
- package/dist/{types-AvjnIUna.d.mts → types-BZ2l9Q5i.d.mts} +1 -1
- package/package.json +12 -10
- package/dist/aggregates-Dw-lAutX.mjs.map +0 -1
- package/dist/authoring-P5nKuHp1-DPQfTSM8.mjs.map +0 -1
- package/dist/codec-ids-BMhEpFwv-B8Zh0s_Q.mjs.map +0 -1
- package/dist/codec-ids-CcB5uBNf.d.mts +0 -1
- package/dist/codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts.map +0 -1
- package/dist/codec-types-BBACckHa.d.mts +0 -2
- package/dist/codec-types-Ct_4iTVc-3tFJcIBo.d.mts.map +0 -1
- package/dist/codecs-CADK7dCR-C8WToYQb.d.mts.map +0 -1
- package/dist/codecs-CRl9-i_r-Co-bgYl3.mjs.map +0 -1
- package/dist/column-types-B4zsV-u3.mjs.map +0 -1
- package/dist/column-types-Bs2V0j8T.d.mts.map +0 -1
- package/dist/control--HupSPoV.d.mts.map +0 -1
- package/dist/control-CYMqxaFZ.mjs.map +0 -1
- package/dist/data-types-Chx0mjTP-DczU4S9b.mjs.map +0 -1
- package/dist/date-time-now-generators-CMkXVbMG-C-GjhReE.d.mts.map +0 -1
- package/dist/descriptor-meta-runtime-Dft1L7eE-D8vpOz_Z.mjs.map +0 -1
- package/dist/errors-BrhQYgdL-IvZHPjwL.mjs.map +0 -1
- package/dist/full-text-collection-method-BFd2u2cs-Ba3OiWM3.d.mts.map +0 -1
- package/dist/operation-types-OXILTAOX.d.mts +0 -1
- package/dist/pack-2CYw2w-b.d.mts.map +0 -1
- package/dist/prisma7-binding-a56klfkc.d.mts.map +0 -1
- package/dist/runtime-B1WvyyiV.mjs.map +0 -1
- package/dist/runtime-OMKUJYSn.d.mts.map +0 -1
- package/dist/server-text-types-DiGLNzzU-DZ13qVS2.mjs.map +0 -1
package/dist/{operation-types--Wa_cv45-RoRnL1Dn.d.mts → operation-types-BlaAPrew-BkZiJwPy.d.mts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as PG_TSQUERY_CODEC_ID } from "./codec-ids-CNEv5CTR-g_wnSmnu.mjs";
|
|
2
2
|
import { c as FullTextSearchLanguage, l as FullTextWeightGroups, n as FULL_TEXT_INDEX_TYPE } from "./full-text-index-definition-D5iBWLss-BEpqiucV.mjs";
|
|
3
|
-
import { t as ExtractedCodecTypes } from "./codec-type-map-
|
|
3
|
+
import { t as ExtractedCodecTypes } from "./codec-type-map-CIZ7LbPA-CeMPxEAm.mjs";
|
|
4
4
|
import { QueryOperationTypesFunction, SqlQueryOperationTypes } from "@prisma/orm-family-sql/contract/types";
|
|
5
5
|
import { CodecExpression, Expression, TraitExpression } from "@prisma/orm-family-sql/relational-core/expression";
|
|
6
|
-
//#region ../../../3-targets/postgres/1-target/dist/operation-types
|
|
6
|
+
//#region ../../../3-targets/postgres/1-target/dist/operation-types-BlaAPrew.d.mts
|
|
7
7
|
//#region src/core/full-text-document.d.ts
|
|
8
8
|
/** A textual column, nullable or not, as an expression rather than a value. */
|
|
9
9
|
type FullTextDocumentColumn = Extract<TraitExpression<readonly ['textual'], boolean, ExtractedCodecTypes>, {
|
|
@@ -189,4 +189,4 @@ interface QueryOperationTypesForCodecs extends QueryOperationTypesFunction {
|
|
|
189
189
|
}
|
|
190
190
|
//#endregion
|
|
191
191
|
export { plaintoTsquery as _, FullTextIndexReference as a, QueryOperationTypes as c, TsqueryArgument as d, TsqueryExpression as f, phrasetoTsquery as g, fullTextDocument as h, FullTextHeadlineOptions as i, QueryOperationTypesForCodecs as l, TsqueryParserOptions as m, FullTextDocumentColumn as n, FullTextMatchesOptions as o, TsqueryParser as p, FullTextDocumentGroups as r, FullTextRankOptions as s, FullTextDocument as t, TextArgument as u, toTsquery as v, websearchToTsquery as y };
|
|
192
|
-
//# sourceMappingURL=operation-types
|
|
192
|
+
//# sourceMappingURL=operation-types-BlaAPrew-BkZiJwPy.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-types
|
|
1
|
+
{"version":3,"file":"operation-types-BlaAPrew-BkZiJwPy.d.mts","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/operation-types-BlaAPrew.d.mts"],"mappings":";;;;;;;;KAQK,yBAAyB,QAAQ,+CAA+C;EACnF;;;;;;KAMG,mCAAmC,kCAAkC;;;;;;cAM5D;WACH,cAAc,qBAAqB;UACpC;SACD,GAAG,QAAQ,yBAAyB;;;;;;;iBAO5B,iBAAiB,QAAQ,yBAAyB;;;UAGzD;;;;;;WAMC,WAAW;;UAEZ,4BAA4B;;WAE3B;;WAEA;;UAED,gCAAgC;;WAE/B;;WAEA;;WAEA;;WAEA;;WAEA;;;;UAID;;WAEC,WAAW;;KAEjB,oBAAoB;EACvB,gBAAgB;EAChB;;;;;;KAMG,eAAe,6CAA6C;;KAE5D,iBAAiB,MAAM,cAAc,UAAU,yBAAyB;;cAE/D,oBAAoB;;;;;;cAMpB,WAAW;;cAEX,gBAAgB;;cAEhB,iBAAiB;;;KAG1B,iBAAiB;WACX;WACA;;KAEN;WACM;;KAEN,YAAY,WAAW,kBAAkB,6CAA6C;KACtF,YAAY,WAAW,kBAAkB,oCAAoC;;KAE7E,eAAe,WAAW,kBAAkB,QAAQ,+CAA+C;EACtG;;;;;;UAMQ,uBAAuB,WAAW;WACjC,aAAa;WACb;aACE,cAAc;aACd,UAAU;;WAEZ,SAAS,SAAS,eAAe,eAAe;;;KAGtD,gBAAgB,WAAW,KAAK;WAC1B;;;;;;;KAON,gBAAgB,WAAW,kBAAkB,uCAAuC;KACpF;WACM,MAAM;;KAEZ,oBAAoB,WAAW,kBAAkB,uBAAuB;WAClE;aACE,MAAM;aACN,OAAO,MAAM,YAAY,KAAK,SAAS,YAAY,QAAQ;MAClE;MACA;;;;;;;;WAQK;aACE,MAAM;aACN;OACN,OAAO,uBAAuB,KAAK,OAAO,gBAAgB,KAAK,UAAU,gBAAgB,0BAA0B;QAClH;QACA;;OAED,UAAU,YAAY,MAAM,kBAAkB,OAAO,gBAAgB,KAAK,UAAU,yBAAyB;QAC5G;QACA;;;;;;;;;WASG;aACE,MAAM;aACN;OACN,OAAO,uBAAuB,KAAK,OAAO,gBAAgB,KAAK,UAAU,gBAAgB,uBAAuB;QAC/G;QACA;;OAED,UAAU,YAAY,MAAM,kBAAkB,OAAO,gBAAgB,KAAK,UAAU,sBAAsB;QACzG;QACA;;;;WAIG;aACE,MAAM;aACN,OAAO,MAAM,YAAY,KAAK,OAAO,gBAAgB,KAAK,UAAU,4BAA4B;MACvG;MACA;;;WAGK,oBAAoB;WACpB,WAAW;WACX,gBAAgB;WAChB,iBAAiB;;;UAGlB,qCAAqC;WACpC,qBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./operation-types-BlaAPrew-BkZiJwPy.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as PostgresRlsPolicy } from "./postgres-rls-policy-CnDxf3z9-BjpVyUnK.mjs";
|
|
2
2
|
import { a as PostgresRlsEnablementInput, d as postgresCreateNamespace, i as PostgresRlsEnablement, n as PostgresNativeEnum, o as PostgresRole } from "./postgres-schema-Xsjt3RKO-bis-SVSB.mjs";
|
|
3
3
|
import { i as postgresRenderCheckExpressions } from "./check-expressions-CtTzM58x-LloO-5Vf.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { bt as postgresQualifyColumnType } from "./codecs-BJBFipkV-CVMp939Z.mjs";
|
|
5
5
|
import { c as FullTextSearchLanguage, i as FullTextFieldsInput } from "./full-text-index-definition-D5iBWLss-BEpqiucV.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { l as QueryOperationTypesForCodecs } from "./operation-types
|
|
6
|
+
import { o as ParameterizedOutputTypesForTypeParams, r as CodecTypes } from "./codec-types-C7E42vTO-CGX0m6Mb.mjs";
|
|
7
|
+
import { l as QueryOperationTypesForCodecs } from "./operation-types-BlaAPrew-BkZiJwPy.mjs";
|
|
8
8
|
import { a as policyUsingOnlySpec, c as roleSpec, i as policyBothPredicatesSpec, n as RoleExtensionBlock, o as policyWithCheckOnlySpec, r as nativeEnumSpec, s as postgresLowerEntityHandles, t as RlsPolicyExtensionBlock } from "./authoring-DWd5pnnV-BBX7P1wT.mjs";
|
|
9
9
|
//#region ../../../3-targets/postgres/1-target/dist/pack.d.mts
|
|
10
10
|
//#region src/core/descriptor-meta.d.ts
|
|
@@ -171,6 +171,84 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
173
|
};
|
|
174
|
+
readonly String: {
|
|
175
|
+
readonly kind: "typeConstructor";
|
|
176
|
+
readonly inferred: true;
|
|
177
|
+
readonly documentation: "Variable-length text stored as PostgreSQL text.";
|
|
178
|
+
readonly output: {
|
|
179
|
+
readonly codecId: "pg/text@1";
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
readonly Boolean: {
|
|
183
|
+
readonly kind: "typeConstructor";
|
|
184
|
+
readonly inferred: true;
|
|
185
|
+
readonly documentation: "A true or false value stored as PostgreSQL boolean.";
|
|
186
|
+
readonly output: {
|
|
187
|
+
readonly codecId: "pg/bool@1";
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
readonly Int: {
|
|
191
|
+
readonly kind: "typeConstructor";
|
|
192
|
+
readonly inferred: true;
|
|
193
|
+
readonly documentation: "A signed 32-bit integer represented as a JavaScript number.";
|
|
194
|
+
readonly output: {
|
|
195
|
+
readonly codecId: "pg/int4@1";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly BigInt: {
|
|
199
|
+
readonly kind: "typeConstructor";
|
|
200
|
+
readonly inferred: true;
|
|
201
|
+
readonly documentation: "A signed 64-bit integer represented as a JavaScript bigint.";
|
|
202
|
+
readonly output: {
|
|
203
|
+
readonly codecId: "pg/int8@1";
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
readonly Float: {
|
|
207
|
+
readonly kind: "typeConstructor";
|
|
208
|
+
readonly inferred: true;
|
|
209
|
+
readonly documentation: "A double-precision floating-point number.";
|
|
210
|
+
readonly output: {
|
|
211
|
+
readonly codecId: "pg/float8@1";
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
readonly Decimal: {
|
|
215
|
+
readonly kind: "typeConstructor";
|
|
216
|
+
readonly documentation: "An exact decimal value stored as PostgreSQL numeric.";
|
|
217
|
+
readonly output: {
|
|
218
|
+
readonly codecId: "pg/numeric@1";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
readonly DateTime: {
|
|
222
|
+
readonly kind: "typeConstructor";
|
|
223
|
+
readonly documentation: "An instant stored as PostgreSQL timestamptz and represented as Temporal.Instant.";
|
|
224
|
+
readonly output: {
|
|
225
|
+
readonly codecId: "pg/timestamptz-temporal@1";
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
readonly Json: {
|
|
229
|
+
readonly kind: "typeConstructor";
|
|
230
|
+
readonly inferred: true;
|
|
231
|
+
readonly documentation: "A JSON value stored as PostgreSQL json.";
|
|
232
|
+
readonly output: {
|
|
233
|
+
readonly codecId: "pg/json@1";
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
readonly Jsonb: {
|
|
237
|
+
readonly kind: "typeConstructor";
|
|
238
|
+
readonly inferred: true;
|
|
239
|
+
readonly documentation: "A JSON value stored in PostgreSQL binary jsonb format.";
|
|
240
|
+
readonly output: {
|
|
241
|
+
readonly codecId: "pg/jsonb@1";
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
readonly Bytes: {
|
|
245
|
+
readonly kind: "typeConstructor";
|
|
246
|
+
readonly inferred: true;
|
|
247
|
+
readonly documentation: "Binary data stored as PostgreSQL bytea.";
|
|
248
|
+
readonly output: {
|
|
249
|
+
readonly codecId: "pg/bytea@1";
|
|
250
|
+
};
|
|
251
|
+
};
|
|
174
252
|
readonly VarChar: {
|
|
175
253
|
readonly kind: "typeConstructor";
|
|
176
254
|
readonly inferred: true;
|
|
@@ -240,7 +318,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
240
318
|
};
|
|
241
319
|
};
|
|
242
320
|
};
|
|
243
|
-
readonly
|
|
321
|
+
readonly TimestampTemporal: {
|
|
244
322
|
readonly kind: "typeConstructor";
|
|
245
323
|
readonly documentation: "A date and time without a time zone, represented as Temporal.PlainDateTime.";
|
|
246
324
|
readonly args: readonly [{
|
|
@@ -259,7 +337,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
259
337
|
};
|
|
260
338
|
};
|
|
261
339
|
};
|
|
262
|
-
readonly
|
|
340
|
+
readonly TimestamptzTemporal: {
|
|
263
341
|
readonly kind: "typeConstructor";
|
|
264
342
|
readonly documentation: "An instant represented as Temporal.Instant, with optional fractional-second precision.";
|
|
265
343
|
readonly args: readonly [{
|
|
@@ -278,6 +356,25 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
278
356
|
};
|
|
279
357
|
};
|
|
280
358
|
};
|
|
359
|
+
readonly TimeTemporal: {
|
|
360
|
+
readonly kind: "typeConstructor";
|
|
361
|
+
readonly documentation: "A time of day without a time zone, represented as Temporal.PlainTime.";
|
|
362
|
+
readonly args: readonly [{
|
|
363
|
+
readonly kind: "value";
|
|
364
|
+
readonly dataType: "pg/int4";
|
|
365
|
+
readonly name: "precision";
|
|
366
|
+
readonly optional: true;
|
|
367
|
+
}];
|
|
368
|
+
readonly output: {
|
|
369
|
+
readonly codecId: "pg/time-temporal@1";
|
|
370
|
+
readonly typeParams: {
|
|
371
|
+
readonly precision: {
|
|
372
|
+
readonly kind: "arg";
|
|
373
|
+
readonly index: 0;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
};
|
|
281
378
|
readonly Time: {
|
|
282
379
|
readonly kind: "typeConstructor";
|
|
283
380
|
readonly documentation: "A time of day without a time zone, represented as Temporal.PlainTime.";
|
|
@@ -300,7 +397,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
300
397
|
readonly Timetz: {
|
|
301
398
|
readonly kind: "typeConstructor";
|
|
302
399
|
readonly inferred: true;
|
|
303
|
-
readonly documentation: "A time of day with a UTC offset stored as PostgreSQL timetz.";
|
|
400
|
+
readonly documentation: "A time of day with a UTC offset stored as PostgreSQL timetz and represented as ISO 8601 text.";
|
|
304
401
|
readonly args: readonly [{
|
|
305
402
|
readonly kind: "value";
|
|
306
403
|
readonly dataType: "pg/int4";
|
|
@@ -349,6 +446,13 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
349
446
|
readonly codecId: "pg/float4@1";
|
|
350
447
|
};
|
|
351
448
|
};
|
|
449
|
+
readonly DateTemporal: {
|
|
450
|
+
readonly kind: "typeConstructor";
|
|
451
|
+
readonly documentation: "A calendar date represented as Temporal.PlainDate.";
|
|
452
|
+
readonly output: {
|
|
453
|
+
readonly codecId: "pg/date-temporal@1";
|
|
454
|
+
};
|
|
455
|
+
};
|
|
352
456
|
readonly Date: {
|
|
353
457
|
readonly kind: "typeConstructor";
|
|
354
458
|
readonly documentation: "A calendar date represented as Temporal.PlainDate.";
|
|
@@ -359,7 +463,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
359
463
|
readonly DateString: {
|
|
360
464
|
readonly kind: "typeConstructor";
|
|
361
465
|
readonly inferred: true;
|
|
362
|
-
readonly documentation: "A PostgreSQL date represented as
|
|
466
|
+
readonly documentation: "A PostgreSQL date represented as ISO 8601 text rather than Temporal.PlainDate.";
|
|
363
467
|
readonly output: {
|
|
364
468
|
readonly codecId: "pg/date-string@1";
|
|
365
469
|
};
|
|
@@ -367,7 +471,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
367
471
|
readonly TimestampString: {
|
|
368
472
|
readonly kind: "typeConstructor";
|
|
369
473
|
readonly inferred: true;
|
|
370
|
-
readonly documentation: "A timestamp without a time zone represented as
|
|
474
|
+
readonly documentation: "A timestamp without a time zone represented as ISO 8601 text.";
|
|
371
475
|
readonly args: readonly [{
|
|
372
476
|
readonly kind: "value";
|
|
373
477
|
readonly dataType: "pg/int4";
|
|
@@ -403,10 +507,48 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
403
507
|
};
|
|
404
508
|
};
|
|
405
509
|
};
|
|
510
|
+
readonly TimestampJsDate: {
|
|
511
|
+
readonly kind: "typeConstructor";
|
|
512
|
+
readonly documentation: "A date and time stored as PostgreSQL timestamp and represented as a JavaScript Date, read and written as UTC.";
|
|
513
|
+
readonly args: readonly [{
|
|
514
|
+
readonly kind: "value";
|
|
515
|
+
readonly dataType: "pg/int4";
|
|
516
|
+
readonly name: "precision";
|
|
517
|
+
readonly optional: true;
|
|
518
|
+
}];
|
|
519
|
+
readonly output: {
|
|
520
|
+
readonly codecId: "pg/timestamp-date@1";
|
|
521
|
+
readonly typeParams: {
|
|
522
|
+
readonly precision: {
|
|
523
|
+
readonly kind: "arg";
|
|
524
|
+
readonly index: 0;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
readonly TimestampInstant: {
|
|
530
|
+
readonly kind: "typeConstructor";
|
|
531
|
+
readonly documentation: "A date and time stored as PostgreSQL timestamp and represented as Temporal.Instant, read and written as UTC.";
|
|
532
|
+
readonly args: readonly [{
|
|
533
|
+
readonly kind: "value";
|
|
534
|
+
readonly dataType: "pg/int4";
|
|
535
|
+
readonly name: "precision";
|
|
536
|
+
readonly optional: true;
|
|
537
|
+
}];
|
|
538
|
+
readonly output: {
|
|
539
|
+
readonly codecId: "pg/timestamp-instant@1";
|
|
540
|
+
readonly typeParams: {
|
|
541
|
+
readonly precision: {
|
|
542
|
+
readonly kind: "arg";
|
|
543
|
+
readonly index: 0;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
};
|
|
406
548
|
readonly TimestamptzString: {
|
|
407
549
|
readonly kind: "typeConstructor";
|
|
408
550
|
readonly inferred: true;
|
|
409
|
-
readonly documentation: "A timestamp with time zone represented as
|
|
551
|
+
readonly documentation: "A timestamp with time zone represented as ISO 8601 text, the instant in UTC.";
|
|
410
552
|
readonly args: readonly [{
|
|
411
553
|
readonly kind: "value";
|
|
412
554
|
readonly dataType: "pg/int4";
|
|
@@ -426,7 +568,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
426
568
|
readonly TimeString: {
|
|
427
569
|
readonly kind: "typeConstructor";
|
|
428
570
|
readonly inferred: true;
|
|
429
|
-
readonly documentation: "A time of day without a time zone represented as
|
|
571
|
+
readonly documentation: "A time of day without a time zone represented as ISO 8601 text.";
|
|
430
572
|
readonly args: readonly [{
|
|
431
573
|
readonly kind: "value";
|
|
432
574
|
readonly dataType: "pg/int4";
|
|
@@ -483,10 +625,10 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
483
625
|
};
|
|
484
626
|
};
|
|
485
627
|
};
|
|
486
|
-
readonly
|
|
628
|
+
readonly IntervalParts: {
|
|
487
629
|
readonly kind: "typeConstructor";
|
|
488
630
|
readonly inferred: true;
|
|
489
|
-
readonly documentation: "A span of time stored as PostgreSQL interval, with optional fractional-second precision.";
|
|
631
|
+
readonly documentation: "A span of time stored as PostgreSQL interval and represented as { months, days, micros }, with optional fractional-second precision.";
|
|
490
632
|
readonly args: readonly [{
|
|
491
633
|
readonly kind: "value";
|
|
492
634
|
readonly dataType: "pg/int4";
|
|
@@ -503,82 +645,23 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
503
645
|
};
|
|
504
646
|
};
|
|
505
647
|
};
|
|
506
|
-
readonly
|
|
507
|
-
readonly kind: "typeConstructor";
|
|
508
|
-
readonly inferred: true;
|
|
509
|
-
readonly documentation: "Variable-length text stored as PostgreSQL text.";
|
|
510
|
-
readonly output: {
|
|
511
|
-
readonly codecId: "pg/text@1";
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
readonly Boolean: {
|
|
515
|
-
readonly kind: "typeConstructor";
|
|
516
|
-
readonly inferred: true;
|
|
517
|
-
readonly documentation: "A true or false value stored as PostgreSQL boolean.";
|
|
518
|
-
readonly output: {
|
|
519
|
-
readonly codecId: "pg/bool@1";
|
|
520
|
-
};
|
|
521
|
-
};
|
|
522
|
-
readonly Int: {
|
|
523
|
-
readonly kind: "typeConstructor";
|
|
524
|
-
readonly inferred: true;
|
|
525
|
-
readonly documentation: "A signed 32-bit integer represented as a JavaScript number.";
|
|
526
|
-
readonly output: {
|
|
527
|
-
readonly codecId: "pg/int4@1";
|
|
528
|
-
};
|
|
529
|
-
};
|
|
530
|
-
readonly BigInt: {
|
|
531
|
-
readonly kind: "typeConstructor";
|
|
532
|
-
readonly inferred: true;
|
|
533
|
-
readonly documentation: "A signed 64-bit integer represented as a JavaScript bigint.";
|
|
534
|
-
readonly output: {
|
|
535
|
-
readonly codecId: "pg/int8@1";
|
|
536
|
-
};
|
|
537
|
-
};
|
|
538
|
-
readonly Float: {
|
|
539
|
-
readonly kind: "typeConstructor";
|
|
540
|
-
readonly inferred: true;
|
|
541
|
-
readonly documentation: "A double-precision floating-point number.";
|
|
542
|
-
readonly output: {
|
|
543
|
-
readonly codecId: "pg/float8@1";
|
|
544
|
-
};
|
|
545
|
-
};
|
|
546
|
-
readonly Decimal: {
|
|
547
|
-
readonly kind: "typeConstructor";
|
|
548
|
-
readonly documentation: "An exact decimal value stored as PostgreSQL numeric.";
|
|
549
|
-
readonly output: {
|
|
550
|
-
readonly codecId: "pg/numeric@1";
|
|
551
|
-
};
|
|
552
|
-
};
|
|
553
|
-
readonly DateTime: {
|
|
554
|
-
readonly kind: "typeConstructor";
|
|
555
|
-
readonly documentation: "An instant stored as PostgreSQL timestamptz and represented as Temporal.Instant.";
|
|
556
|
-
readonly output: {
|
|
557
|
-
readonly codecId: "pg/timestamptz-temporal@1";
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
readonly Json: {
|
|
648
|
+
readonly IntervalString: {
|
|
561
649
|
readonly kind: "typeConstructor";
|
|
562
|
-
readonly
|
|
563
|
-
readonly
|
|
564
|
-
|
|
565
|
-
readonly
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
readonly kind: "typeConstructor";
|
|
570
|
-
readonly inferred: true;
|
|
571
|
-
readonly documentation: "A JSON value stored in PostgreSQL binary jsonb format.";
|
|
572
|
-
readonly output: {
|
|
573
|
-
readonly codecId: "pg/jsonb@1";
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
readonly Bytes: {
|
|
577
|
-
readonly kind: "typeConstructor";
|
|
578
|
-
readonly inferred: true;
|
|
579
|
-
readonly documentation: "Binary data stored as PostgreSQL bytea.";
|
|
650
|
+
readonly documentation: "A span of time stored as PostgreSQL interval and represented as an ISO 8601 duration such as P1Y2M, with optional fractional-second precision.";
|
|
651
|
+
readonly args: readonly [{
|
|
652
|
+
readonly kind: "value";
|
|
653
|
+
readonly dataType: "pg/int4";
|
|
654
|
+
readonly name: "precision";
|
|
655
|
+
readonly optional: true;
|
|
656
|
+
}];
|
|
580
657
|
readonly output: {
|
|
581
|
-
readonly codecId: "pg/
|
|
658
|
+
readonly codecId: "pg/interval-string@1";
|
|
659
|
+
readonly typeParams: {
|
|
660
|
+
readonly precision: {
|
|
661
|
+
readonly kind: "arg";
|
|
662
|
+
readonly index: 0;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
582
665
|
};
|
|
583
666
|
};
|
|
584
667
|
};
|
|
@@ -1537,7 +1620,7 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
1537
1620
|
}, import("@prisma/orm-framework/components/components").GeneratorFunctionContribution, ...import("@prisma/orm-framework/components/components").GeneratorFunctionContribution[]];
|
|
1538
1621
|
readonly controlMutationDefaults: {
|
|
1539
1622
|
readonly defaultFunctionRegistry: Map<any, any>;
|
|
1540
|
-
readonly generatorDescriptors: readonly import("@prisma/orm-framework/components/
|
|
1623
|
+
readonly generatorDescriptors: readonly import("@prisma/orm-framework/components/components").MutationDefaultGeneratorDescriptor[];
|
|
1541
1624
|
};
|
|
1542
1625
|
readonly types: {
|
|
1543
1626
|
readonly queryOperationTypes: {
|
|
@@ -1555,6 +1638,9 @@ declare const postgresTargetDescriptorMetaBase: {
|
|
|
1555
1638
|
readonly version: "0.0.1";
|
|
1556
1639
|
readonly capabilities: {};
|
|
1557
1640
|
readonly dataTypes: readonly import("@prisma/orm-framework/components/codec").DataType[];
|
|
1641
|
+
readonly sessionSettings: {
|
|
1642
|
+
readonly DateStyle: "ISO";
|
|
1643
|
+
};
|
|
1558
1644
|
readonly __codecTypes?: CodecTypes;
|
|
1559
1645
|
};
|
|
1560
1646
|
declare const postgresTargetDescriptorMeta: typeof postgresTargetDescriptorMetaBase & {
|
|
@@ -1570,4 +1656,4 @@ declare const postgresTargetDescriptorMeta: typeof postgresTargetDescriptorMetaB
|
|
|
1570
1656
|
};
|
|
1571
1657
|
//#endregion
|
|
1572
1658
|
export { postgresTargetDescriptorMeta as t };
|
|
1573
|
-
//# sourceMappingURL=pack-
|
|
1659
|
+
//# sourceMappingURL=pack-Cbl186uA.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pack-Cbl186uA.d.mts","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/pack.d.mts"],"mappings":";;;;;;;;;;cASc;WACH;WACA;WACA;WACA,yDAAyD,iBAAiB,uBAAuB;aAC/F;OACN;aACM;OACN;aACM;OACN;aACM;OACN;aACM;OACN;aACM;OACN;aACM;MACP;MACA;;;WAGK;aACE;eACE;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;;mBAEF;qBACE;;;;eAIN;iBACE;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;qBAEF;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;qBAEF;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;qBAEF;uBACE;uBACA;;;;;eAKR;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;;eAMV;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;qBAEF;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;eAKR;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;;iBAEF;mBACE;mBACA;qBACE;uBACE;uBACA;;;;;;aAMV;eACE;iBACE;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;;eAGJ;iBACE;iBACA;mBACE;;;eAGJ;iBACE;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF,QAAQ;qBACN;qBACA;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF,QAAQ;qBACN;qBACA;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;iBAOZ;mBACE;mBACA,QAAQ;qBACN;qBACA;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA,QAAQ;qBACN;qBACA;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA,QAAQ;qBACN;qBACA;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA,QAAQ;qBACN;qBACA;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA,QAAQ;qBACN;qBACA;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA,QAAQ;qBACN;qBACA;;qBAEA;;qBAEA;uBACE;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;uBAIN;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;;;;;;;;eAQd;iBACE;iBACA;mBACE;;;eAGJ;iBACE;mBACE;mBACA;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;yBACE;yBACA;;;qBAGJ;;;;;aAKR,WAAW,SAAS,kEAAkE;aACtF,uEAAuE;aACvE;eACE;iBACE;iBACA;iBACA,+DAA+D;UACtE;UACA;UACA;UACA;;iBAEO;mBACE,UAAU,OAAO,oBAAoB,wDAAwD,2BAA2B;;;eAG5H;iBACE;iBACA;iBACA,+DAA+D;UACtE;UACA;UACA;;iBAEO;mBACE,UAAU,OAAO,+BAA+B;;;eAGpD;iBACE;iBACA;iBACA,+DAA+D;UACtE;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;iBAEO;UACP,UAAU,OAAO,yBAAyB,wDAAwD,2BAA2B;UAC7H,eAAe,QAAQ;YACrB;;;;eAIG;iBACE;iBACA;iBACA,+DAA+D;UACtE;UACA;UACA;UACA;;iBAEO;UACP,UAAU,sCAAsC,wBAAwB,yBAAyB,wDAAwD,2BAA2B;UACpL,iBAAiB,QAAQ;YACvB;YACA;;;;;aAKC;eACE;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;mBACW;mBACA;;QAEX;UACE,0CAA0C;YACxC;4CACgC;;;eAG7B;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;mBACW;mBACA;;QAEX;UACE,0CAA0C;YACxC;4CACgC;;;eAG7B;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;mBACW;mBACA;;QAEX;UACE,0CAA0C;YACxC;4CACgC;;;eAG7B;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;mBACW;mBACA;;QAEX;UACE,0CAA0C;YACxC;4CACgC;;;eAG7B;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;mBACW;mBACA;;QAEX;UACE,0CAA0C;YACxC;4CACgC;;;eAG7B;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;QACA;UACE,0CAA0C;YACxC;4CACgC;;;eAG7B;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;;;aAGR;eACE;iBACE;iBACA;iBACA,qCAAqC;iBACrC,QAAQ,SAAS,sBAAsB,wDAAwD;UACtG;UACA,QAAQ;;;eAGH;iBACE;iBACA;iBACA,qCAAqC;iBACrC;iBACA,QAAQ;mBACN,QAAQ;mBACR,WAAW;mBACX;mBACA;mBACA,uCAAuC;WAC/C,wDAAwD;UACzD;YACE;YACA;YACA;cACE;cACA;;YAEF;YACA;YACA;YACA;;;;;aAKC,wBAAwB;aACxB,0BAA0B;aAC1B,+BAA+B;aAC/B,2BAA2B;;WAE7B;aACE;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,qCAAqC,sDAAsD,6CAA6C,8CAA8C;iBACtL;;;aAGJ;;aAEA;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,qCAAqC,0CAA0C;iBAC/E;;;aAGJ;;aAEA;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,qCAAqC,uDAAuD,6CAA6C,+CAA+C;iBACxL;;;aAGJ;yDAC4C,sFAAsF;WACpI;aACE,yBAAyB;aACzB,mFAAmF;;WAErF;aACE;eACE;iBACE;iBACA;iBACA;;;;WAIN;WACA;WACA;WACA;WACA;WACA;WACA,mEAAmE;WACnE;aACE;;WAEF,eAAe;;cAEZ,qCAAqC;WACxC,eAAe;WACf,wBAAwB;WACxB,6BAA6B;WAC7B;aACE;eACE;eACA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as autoincrementWidthOfDataType } from "./autoincrement-widths-
|
|
1
|
+
import { n as autoincrementWidthOfDataType } from "./autoincrement-widths-CC5ZgVXV-CiL5ge45.mjs";
|
|
2
2
|
import { dataTypeParams } from "@prisma/orm-framework/components/codec";
|
|
3
3
|
import { renderSqlTypeName, sqlDataTypeOfCodec } from "@prisma/orm-family-sql/contract/data-type";
|
|
4
|
-
//#region ../../../3-targets/postgres/1-target/dist/planner-ddl-builders-
|
|
4
|
+
//#region ../../../3-targets/postgres/1-target/dist/planner-ddl-builders-B3i8RIDk.mjs
|
|
5
5
|
/**
|
|
6
6
|
* Renders the SQL type for a column in DDL context: the name its codec's data type is written
|
|
7
7
|
* with, and its parameters.
|
|
@@ -25,4 +25,4 @@ function isAutoincrement(columnDefault) {
|
|
|
25
25
|
//#endregion
|
|
26
26
|
export { buildColumnTypeSql as t };
|
|
27
27
|
|
|
28
|
-
//# sourceMappingURL=planner-ddl-builders-
|
|
28
|
+
//# sourceMappingURL=planner-ddl-builders-B3i8RIDk-Bl7toHkW.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planner-ddl-builders-
|
|
1
|
+
{"version":3,"file":"planner-ddl-builders-B3i8RIDk-Bl7toHkW.mjs","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/planner-ddl-builders-B3i8RIDk.mjs"],"sourcesContent":["import { n as autoincrementWidthOfDataType } from \"./autoincrement-widths-CC5ZgVXV.mjs\";\nimport { dataTypeParams } from \"@internal/framework-components/codec\";\nimport { renderSqlTypeName, sqlDataTypeOfCodec } from \"@internal/sql-contract/data-type\";\n//#region src/core/migrations/planner-ddl-builders.ts\n/**\n* Renders the SQL type for a column in DDL context: the name its codec's data type is written\n* with, and its parameters.\n*\n* @param allowPseudoTypes - When true (default), autoincrement integer columns\n* produce SERIAL/BIGSERIAL/SMALLSERIAL pseudo-types. Set to false for contexts\n* like ALTER COLUMN TYPE where pseudo-types are invalid.\n*/\nfunction buildColumnTypeSql(column, types, allowPseudoTypes = true) {\n\tconst dataType = sqlDataTypeOfCodec(column.codecId, types);\n\tif (allowPseudoTypes && isAutoincrement(column.default)) {\n\t\tconst width = autoincrementWidthOfDataType(dataType.id);\n\t\tif (width !== void 0) return width.serialType;\n\t}\n\tconst typeSql = renderSqlTypeName(dataType, dataTypeParams(dataType, column.typeParams));\n\treturn column.many ? `${typeSql}[]` : typeSql;\n}\nfunction isAutoincrement(columnDefault) {\n\treturn columnDefault?.kind === \"function\" && columnDefault.expression === \"autoincrement()\";\n}\n//#endregion\nexport { buildColumnTypeSql as t };\n\n//# sourceMappingURL=planner-ddl-builders-B3i8RIDk.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,SAAS,mBAAmB,QAAQ,OAAO,mBAAmB,MAAM;CACnE,MAAM,WAAW,mBAAmB,OAAO,SAAS,KAAK;CACzD,IAAI,oBAAoB,gBAAgB,OAAO,OAAO,GAAG;EACxD,MAAM,QAAQ,6BAA6B,SAAS,EAAE;EACtD,IAAI,UAAU,KAAK,GAAG,OAAO,MAAM;CACpC;CACA,MAAM,UAAU,kBAAkB,UAAU,eAAe,UAAU,OAAO,UAAU,CAAC;CACvF,OAAO,OAAO,OAAO,GAAG,QAAQ,MAAM;AACvC;AACA,SAAS,gBAAgB,eAAe;CACvC,OAAO,eAAe,SAAS,cAAc,cAAc,eAAe;AAC3E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as pgJsonb, D as pgInterval, E as pgInt8, F as pgText, I as pgTextArray, J as pgVarchar, K as pgUuid, L as pgTime, M as pgNumeric, S as pgFloat8, T as pgInt4, U as pgTimetz, V as pgTimestamptz, _ as pgDate, d as pgBool, f as pgBytea, h as pgChar, k as pgJson, l as pgBit, q as pgVarbit, w as pgInt2, x as pgFloat4, z as pgTimestamp } from "./data-types-
|
|
1
|
+
import { A as pgJsonb, D as pgInterval, E as pgInt8, F as pgText, I as pgTextArray, J as pgVarchar, K as pgUuid, L as pgTime, M as pgNumeric, S as pgFloat8, T as pgInt4, U as pgTimetz, V as pgTimestamptz, _ as pgDate, d as pgBool, f as pgBytea, h as pgChar, k as pgJson, l as pgBit, q as pgVarbit, w as pgInt2, x as pgFloat4, z as pgTimestamp } from "./data-types-tjXyQbIR-C76ctfke.mjs";
|
|
2
2
|
import { sqlDataTypeOfCodec } from "@prisma/orm-family-sql/contract/data-type";
|
|
3
3
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
4
|
-
//#region ../../../3-targets/postgres/1-target/dist/planner-identity-values-
|
|
4
|
+
//#region ../../../3-targets/postgres/1-target/dist/planner-identity-values-CCscfo-A.mjs
|
|
5
5
|
/**
|
|
6
6
|
* Resolves the identity value (monoid neutral element) as a SQL literal for a column's type.
|
|
7
7
|
* Checks codec hooks first (extensions can provide type-specific identity values),
|
|
@@ -67,4 +67,4 @@ function buildBitIdentityValue(typeParams) {
|
|
|
67
67
|
//#endregion
|
|
68
68
|
export { resolveIdentityValue as n, buildBuiltinIdentityValue as t };
|
|
69
69
|
|
|
70
|
-
//# sourceMappingURL=planner-identity-values-
|
|
70
|
+
//# sourceMappingURL=planner-identity-values-CCscfo-A-ClO_dRiZ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planner-identity-values-
|
|
1
|
+
{"version":3,"file":"planner-identity-values-CCscfo-A-ClO_dRiZ.mjs","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/planner-identity-values-CCscfo-A.mjs"],"sourcesContent":["import { D as pgTime, E as pgTextArray, I as pgUuid, L as pgVarbit, N as pgTimetz, R as pgVarchar, S as pgNumeric, T as pgText, _ as pgInt8, a as pgBytea, b as pgJsonb, c as pgDate, f as pgFloat4, g as pgInt4, h as pgInt2, i as pgBool, j as pgTimestamptz, k as pgTimestamp, n as pgBit, o as pgChar, p as pgFloat8, v as pgInterval, y as pgJson } from \"./data-types-tjXyQbIR.mjs\";\nimport { sqlDataTypeOfCodec } from \"@internal/sql-contract/data-type\";\nimport { ifDefined } from \"@internal/utils/defined\";\n//#region src/core/migrations/planner-identity-values.ts\n/**\n* Resolves the identity value (monoid neutral element) as a SQL literal for a column's type.\n* Checks codec hooks first (extensions can provide type-specific identity values),\n* then falls back to the built-in map, keyed by the data type the column's codec represents.\n*/\nfunction resolveIdentityValue(column, codecHooks, types) {\n\tconst { codecId, typeParams } = column;\n\tif (column.many) return \"'{}'\";\n\tconst dataType = sqlDataTypeOfCodec(codecId, types).id;\n\tconst hookDefault = codecHooks.get(codecId)?.resolveIdentityValue?.({\n\t\tdataType,\n\t\tcodecId,\n\t\t...ifDefined(\"typeParams\", typeParams)\n\t});\n\tif (hookDefault !== void 0) return hookDefault;\n\treturn buildBuiltinIdentityValue(dataType, typeParams);\n}\nconst IDENTITY_VALUES = /* @__PURE__ */ new Map([\n\t[pgText.id, \"''\"],\n\t[pgChar.id, \"''\"],\n\t[pgVarchar.id, \"''\"],\n\t[pgInt2.id, \"0\"],\n\t[pgInt4.id, \"0\"],\n\t[pgInt8.id, \"0\"],\n\t[pgFloat4.id, \"0\"],\n\t[pgFloat8.id, \"0\"],\n\t[pgNumeric.id, \"0\"],\n\t[pgBool.id, \"false\"],\n\t[pgUuid.id, \"'00000000-0000-0000-0000-000000000000'\"],\n\t[pgJson.id, \"'{}'::json\"],\n\t[pgJsonb.id, \"'{}'::jsonb\"],\n\t[pgDate.id, \"'epoch'\"],\n\t[pgTimestamp.id, \"'epoch'\"],\n\t[pgTimestamptz.id, \"'epoch'\"],\n\t[pgTime.id, \"'00:00:00'\"],\n\t[pgTimetz.id, \"'00:00:00+00'\"],\n\t[pgInterval.id, \"'0'\"],\n\t[pgBytea.id, \"''::bytea\"],\n\t[pgVarbit.id, \"B''\"],\n\t[pgTextArray.id, \"'{}'\"]\n]);\n/**\n* Returns the built-in identity value (monoid neutral element) as a SQL literal for the given\n* data type — e.g. 0 for integers, '' for text, false for booleans.\n*\n* This is the planner's fallback when no codec hook provides a type-specific identity value.\n*\n* Returns null for other types (for example enums and extension-owned types without a\n* hook), which causes the planner to fall back to the empty-table precheck.\n*\n* @internal Exported for testing only.\n*/\nfunction buildBuiltinIdentityValue(dataType, typeParams) {\n\tif (dataType === pgBit.id) return buildBitIdentityValue(typeParams);\n\treturn IDENTITY_VALUES.get(dataType) ?? null;\n}\nfunction buildBitIdentityValue(typeParams) {\n\tconst length = typeParams?.[\"length\"];\n\tif (length === void 0) return \"B'0'\";\n\tif (typeof length !== \"number\" || !Number.isInteger(length) || length <= 0) return null;\n\treturn `B'${\"0\".repeat(length)}'`;\n}\n//#endregion\nexport { resolveIdentityValue as n, buildBuiltinIdentityValue as t };\n\n//# sourceMappingURL=planner-identity-values-CCscfo-A.mjs.map"],"mappings":";;;;;;;;;AASA,SAAS,qBAAqB,QAAQ,YAAY,OAAO;CACxD,MAAM,EAAE,SAAS,eAAe;CAChC,IAAI,OAAO,MAAM,OAAO;CACxB,MAAM,WAAW,mBAAmB,SAAS,KAAK,CAAC,CAAC;CACpD,MAAM,cAAc,WAAW,IAAI,OAAO,CAAC,EAAE,uBAAuB;EACnE;EACA;EACA,GAAG,UAAU,cAAc,UAAU;CACtC,CAAC;CACD,IAAI,gBAAgB,KAAK,GAAG,OAAO;CACnC,OAAO,0BAA0B,UAAU,UAAU;AACtD;AACA,MAAM,kCAAkC,IAAI,IAAI;CAC/C,CAAC,OAAO,IAAI,IAAI;CAChB,CAAC,OAAO,IAAI,IAAI;CAChB,CAAC,UAAU,IAAI,IAAI;CACnB,CAAC,OAAO,IAAI,GAAG;CACf,CAAC,OAAO,IAAI,GAAG;CACf,CAAC,OAAO,IAAI,GAAG;CACf,CAAC,SAAS,IAAI,GAAG;CACjB,CAAC,SAAS,IAAI,GAAG;CACjB,CAAC,UAAU,IAAI,GAAG;CAClB,CAAC,OAAO,IAAI,OAAO;CACnB,CAAC,OAAO,IAAI,wCAAwC;CACpD,CAAC,OAAO,IAAI,YAAY;CACxB,CAAC,QAAQ,IAAI,aAAa;CAC1B,CAAC,OAAO,IAAI,SAAS;CACrB,CAAC,YAAY,IAAI,SAAS;CAC1B,CAAC,cAAc,IAAI,SAAS;CAC5B,CAAC,OAAO,IAAI,YAAY;CACxB,CAAC,SAAS,IAAI,eAAe;CAC7B,CAAC,WAAW,IAAI,KAAK;CACrB,CAAC,QAAQ,IAAI,WAAW;CACxB,CAAC,SAAS,IAAI,KAAK;CACnB,CAAC,YAAY,IAAI,MAAM;AACxB,CAAC;;;;;;;;;;;;AAYD,SAAS,0BAA0B,UAAU,YAAY;CACxD,IAAI,aAAa,MAAM,IAAI,OAAO,sBAAsB,UAAU;CAClE,OAAO,gBAAgB,IAAI,QAAQ,KAAK;AACzC;AACA,SAAS,sBAAsB,YAAY;CAC1C,MAAM,SAAS,aAAa;CAC5B,IAAI,WAAW,KAAK,GAAG,OAAO;CAC9B,IAAI,OAAO,WAAW,YAAY,CAAC,OAAO,UAAU,MAAM,KAAK,UAAU,GAAG,OAAO;CACnF,OAAO,KAAK,IAAI,OAAO,MAAM,EAAE;AAChC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as PostgresMigration } from "./postgres-migration-
|
|
2
|
-
import { t as renderOps } from "./render-ops-
|
|
1
|
+
import { t as PostgresMigration } from "./postgres-migration-B72vywyI-Bz1IVjIU.mjs";
|
|
2
|
+
import { t as renderOps } from "./render-ops-Bcu9Ut4l-DqXsDZ0G.mjs";
|
|
3
3
|
import { t as renderCallsToTypeScript } from "./render-typescript-Dqp1Spgn-B4mJhuVr.mjs";
|
|
4
|
-
//#region ../../../3-targets/postgres/1-target/dist/planner-produced-postgres-migration-
|
|
4
|
+
//#region ../../../3-targets/postgres/1-target/dist/planner-produced-postgres-migration-B888gy9y.mjs
|
|
5
5
|
var TypeScriptRenderablePostgresMigration = class extends PostgresMigration {
|
|
6
6
|
#calls;
|
|
7
7
|
#meta;
|
|
@@ -44,4 +44,4 @@ var TypeScriptRenderablePostgresMigration = class extends PostgresMigration {
|
|
|
44
44
|
//#endregion
|
|
45
45
|
export { TypeScriptRenderablePostgresMigration as t };
|
|
46
46
|
|
|
47
|
-
//# sourceMappingURL=planner-produced-postgres-migration-
|
|
47
|
+
//# sourceMappingURL=planner-produced-postgres-migration-B888gy9y-ChG4SvFH.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planner-produced-postgres-migration-
|
|
1
|
+
{"version":3,"file":"planner-produced-postgres-migration-B888gy9y-ChG4SvFH.mjs","names":["#calls","#meta","#spaceId","#snapshotsImportPath","#lowerer","#operationsCache"],"sources":["../../../../3-targets/postgres/1-target/dist/planner-produced-postgres-migration-B888gy9y.mjs"],"sourcesContent":["import { t as PostgresMigration } from \"./postgres-migration-B72vywyI.mjs\";\nimport { t as renderOps } from \"./render-ops-Bcu9Ut4l.mjs\";\nimport { t as renderCallsToTypeScript } from \"./render-typescript-Dqp1Spgn.mjs\";\n//#region src/core/migrations/planner-produced-postgres-migration.ts\nvar TypeScriptRenderablePostgresMigration = class extends PostgresMigration {\n\t#calls;\n\t#meta;\n\t#spaceId;\n\t#snapshotsImportPath;\n\t#lowerer;\n\t#operationsCache;\n\tconstructor(calls, meta, spaceId, snapshotsImportPath, lowerer) {\n\t\tsuper();\n\t\tthis.#calls = calls;\n\t\tthis.#meta = meta;\n\t\tthis.#spaceId = spaceId;\n\t\tthis.#snapshotsImportPath = snapshotsImportPath;\n\t\tthis.#lowerer = lowerer;\n\t}\n\tget operations() {\n\t\tthis.#operationsCache ??= renderOps(this.#calls, this.#lowerer);\n\t\treturn this.#operationsCache;\n\t}\n\tdescribe() {\n\t\treturn this.#meta;\n\t}\n\t/**\n\t* Contract space this planner-produced plan applies to. Threaded\n\t* from the planner options so the runner keys the marker row by\n\t* the right space when executing the plan.\n\t*/\n\tget spaceId() {\n\t\treturn this.#spaceId;\n\t}\n\trenderTypeScript(resolveImportSpecifier) {\n\t\treturn renderCallsToTypeScript(this.#calls, {\n\t\t\tfrom: this.#meta.from,\n\t\t\tto: this.#meta.to,\n\t\t\tsnapshotsImportPath: this.#snapshotsImportPath,\n\t\t\tresolveImportSpecifier\n\t\t});\n\t}\n};\n//#endregion\nexport { TypeScriptRenderablePostgresMigration as t };\n\n//# sourceMappingURL=planner-produced-postgres-migration-B888gy9y.mjs.map"],"mappings":";;;;AAIA,IAAI,wCAAwC,cAAc,kBAAkB;CAC3E;CACA;CACA;CACA;CACA;CACA;CACA,YAAY,OAAO,MAAM,SAAS,qBAAqB,SAAS;EAC/D,MAAM;EACN,KAAKA,SAAS;EACd,KAAKC,QAAQ;EACb,KAAKC,WAAW;EAChB,KAAKC,uBAAuB;EAC5B,KAAKC,WAAW;CACjB;CACA,IAAI,aAAa;EAChB,KAAKC,qBAAqB,UAAU,KAAKL,QAAQ,KAAKI,QAAQ;EAC9D,OAAO,KAAKC;CACb;CACA,WAAW;EACV,OAAO,KAAKJ;CACb;;;;;;CAMA,IAAI,UAAU;EACb,OAAO,KAAKC;CACb;CACA,iBAAiB,wBAAwB;EACxC,OAAO,wBAAwB,KAAKF,QAAQ;GAC3C,MAAM,KAAKC,MAAM;GACjB,IAAI,KAAKA,MAAM;GACf,qBAAqB,KAAKE;GAC1B;EACD,CAAC;CACF;AACD"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { i as quoteIdentifier } from "./sql-utils-
|
|
1
|
+
import { i as quoteIdentifier } from "./sql-utils-DUETeYBc-DbbAr6EV.mjs";
|
|
2
2
|
import { t as DEFAULT_NAMESPACE_ID } from "./namespace-ids-xtp_ZY86-Cxc0dBbO.mjs";
|
|
3
|
-
import { d as isPostgresSchema, i as PostgresRlsPolicy } from "./postgres-schema-
|
|
3
|
+
import { d as isPostgresSchema, i as PostgresRlsPolicy } from "./postgres-schema-uGdd5lv3-CahJcFWL.mjs";
|
|
4
4
|
import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode } from "./postgres-table-schema-node-BBkitBQh-Dll8iaZT.mjs";
|
|
5
5
|
import { n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--BzOKm4N1.mjs";
|
|
6
|
-
import { n as emissionSchemaForNamespace, r as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-
|
|
6
|
+
import { n as emissionSchemaForNamespace, r as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-DoD8dGk5-CBXjVWGS.mjs";
|
|
7
7
|
import { n as defaultPrimaryKeyName, r as defaultUniqueName, t as defaultForeignKeyName } from "./default-constraint-names-Cz9Yoeim-sUzOGvIm.mjs";
|
|
8
|
-
import { A as RemoveStoredValueCall, C as DropNativeEnumTypeCall, D as DropTableCall, E as DropSchemaCall, F as RenameSchemaCall, L as ReplaceStoredValueCall, M as RenameConstraintCall, P as RenamePostgresRlsPolicyCall, T as DropPostgresRlsPolicyCall, V as SetTableSchemaCall, _ as DisableRowLevelSecurityCall, k as RawSqlCall, l as AlterColumnTypeCall, m as CreateSchemaCall, p as CreatePostgresRlsPolicyCall, r as AddColumnWithTemporaryDefaultCall, t as AddCheckConstraintCall, v as DropCheckConstraintCall, y as DropColumnCall } from "./op-factory-call-
|
|
9
|
-
import { a as planIssues, c as renderPostgresSuppression, d as resolvePostgresNodeIssueControlPolicySubject, f as resolvePostgresNodeIssueCreationFactoryName, i as issueSchemaName, l as resolveNamespaceIdForDdlSchema, n as conflictForDisallowedCall, o as postgresNodeStorageCoordinate, p as tableAt, r as issueNode, s as postgresPlannerStrategies, t as coalesceSubtreeIssues, u as resolvePostgresCallControlPolicySubject } from "./control-policy-
|
|
10
|
-
import { t as buildPostgresPlanDiff } from "./diff-database-schema-
|
|
11
|
-
import { a as postgresColumnRenameCall, c as postgresTableRenameByHand, d as renderRenameTableCall, i as pairIndexRenames, l as postgresTableRenameCall, n as createWorkingSchema, o as postgresContractToSchema, r as pairCheckRenames, s as postgresSchemaTables, u as renameTableByHandStatements } from "./postgres-migration-
|
|
12
|
-
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-
|
|
8
|
+
import { A as RemoveStoredValueCall, C as DropNativeEnumTypeCall, D as DropTableCall, E as DropSchemaCall, F as RenameSchemaCall, L as ReplaceStoredValueCall, M as RenameConstraintCall, P as RenamePostgresRlsPolicyCall, T as DropPostgresRlsPolicyCall, V as SetTableSchemaCall, _ as DisableRowLevelSecurityCall, k as RawSqlCall, l as AlterColumnTypeCall, m as CreateSchemaCall, p as CreatePostgresRlsPolicyCall, r as AddColumnWithTemporaryDefaultCall, t as AddCheckConstraintCall, v as DropCheckConstraintCall, y as DropColumnCall } from "./op-factory-call-pgrknkpg-BW61pr91.mjs";
|
|
9
|
+
import { a as planIssues, c as renderPostgresSuppression, d as resolvePostgresNodeIssueControlPolicySubject, f as resolvePostgresNodeIssueCreationFactoryName, i as issueSchemaName, l as resolveNamespaceIdForDdlSchema, n as conflictForDisallowedCall, o as postgresNodeStorageCoordinate, p as tableAt, r as issueNode, s as postgresPlannerStrategies, t as coalesceSubtreeIssues, u as resolvePostgresCallControlPolicySubject } from "./control-policy-CVRNJsbY-Cljg0_0d.mjs";
|
|
10
|
+
import { t as buildPostgresPlanDiff } from "./diff-database-schema-CXherlyh-CZ68d_H5.mjs";
|
|
11
|
+
import { a as postgresColumnRenameCall, c as postgresTableRenameByHand, d as renderRenameTableCall, i as pairIndexRenames, l as postgresTableRenameCall, n as createWorkingSchema, o as postgresContractToSchema, r as pairCheckRenames, s as postgresSchemaTables, u as renameTableByHandStatements } from "./postgres-migration-B72vywyI-Bz1IVjIU.mjs";
|
|
12
|
+
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-B888gy9y-ChG4SvFH.mjs";
|
|
13
13
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
14
14
|
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
15
15
|
import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
|
|
16
|
+
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
16
17
|
import { enumValueCoordinateJson, isRenameStatement, issueOutcome } from "@prisma/orm-framework/components/control";
|
|
17
18
|
import { namingOf, parseWireName } from "@prisma/orm-family-sql/schema-ir/naming";
|
|
18
|
-
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
19
19
|
import { appliedStatementsInOrder, backfillOfDefaultedField, detectTableNameCaseChanges, extractCodecControlHooks, fieldEventStorage, fieldStatementColumns, otherSpaceDeclaring, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planEnumValueRewrites, planFieldEventCalls, planStatements, plannerFailure, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, unknownCallNames, withEnumValueOperations } from "@prisma/orm-family-sql/family/control";
|
|
20
20
|
import { ok } from "@prisma/orm-framework/utils/result";
|
|
21
21
|
import { governingControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
22
|
-
//#region ../../../3-targets/postgres/1-target/dist/planner-
|
|
22
|
+
//#region ../../../3-targets/postgres/1-target/dist/planner-ro2oqvMl.mjs
|
|
23
23
|
/** The constraint of `nextNodes` the diff pairs with `node` and finds unchanged. */
|
|
24
24
|
function unchangedIn(node, nextNodes) {
|
|
25
25
|
return nextNodes.find((next) => next.id === node.id && next.isEqualTo(node));
|
|
@@ -1043,4 +1043,4 @@ function policyNodeToContractPolicy(node) {
|
|
|
1043
1043
|
//#endregion
|
|
1044
1044
|
export { keepRowsEdit as n, createPostgresMigrationPlanner as t };
|
|
1045
1045
|
|
|
1046
|
-
//# sourceMappingURL=planner-
|
|
1046
|
+
//# sourceMappingURL=planner-ro2oqvMl-Czh1EHR9.mjs.map
|