@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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Y as postgresDataTypes } from "./data-types-
|
|
2
|
-
import { i as createPostgresCodecRegistryWithBuiltins } from "./codec-registry-
|
|
3
|
-
import { n as renderLoweredSql, t as adapterError } from "./sql-renderer-BdWJPa5F-
|
|
4
|
-
import { n as postgresAdapterCapabilities, t as PostgresControlAdapter } from "./contract-contributions-DTGGTwRZ-
|
|
1
|
+
import { Y as postgresDataTypes } from "./data-types-tjXyQbIR-C76ctfke.mjs";
|
|
2
|
+
import { i as createPostgresCodecRegistryWithBuiltins } from "./codec-registry-Cu-Nwsyl-BArjkoQ7.mjs";
|
|
3
|
+
import { n as renderLoweredSql, t as adapterError } from "./sql-renderer-BdWJPa5F-DH1baMIk.mjs";
|
|
4
|
+
import { n as postgresAdapterCapabilities, t as PostgresControlAdapter } from "./contract-contributions-DTGGTwRZ-Bf6l72jg.mjs";
|
|
5
5
|
import { isDdlNode } from "@prisma/orm-family-sql/relational-core/ast";
|
|
6
6
|
import { assembleDataTypes } from "@prisma/orm-framework/components/codec";
|
|
7
7
|
import { APP_SPACE_ID } from "@prisma/orm-framework/components/control";
|
|
@@ -86,4 +86,4 @@ function createPostgresAdapterWithCodecRegistry(codecRegistry, dataTypeLookup, d
|
|
|
86
86
|
//#endregion
|
|
87
87
|
export { createPostgresAdapterWithCodecRegistry as n, postgresRawCodecInferer as r, createPostgresAdapter as t };
|
|
88
88
|
|
|
89
|
-
//# sourceMappingURL=adapter-BIWKN0d7-
|
|
89
|
+
//# sourceMappingURL=adapter-BIWKN0d7-BI1J51N4.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-BIWKN0d7-
|
|
1
|
+
{"version":3,"file":"adapter-BIWKN0d7-BI1J51N4.mjs","names":[],"sources":["../../../../3-targets/postgres/2-adapter/dist/adapter-BIWKN0d7.mjs"],"sourcesContent":["import { n as adapterError, t as renderLoweredSql } from \"./sql-renderer-BdWJPa5F.mjs\";\nimport { n as PostgresControlAdapter, r as postgresAdapterCapabilities } from \"./contract-contributions-DTGGTwRZ.mjs\";\nimport { assembleDataTypes } from \"@internal/framework-components/codec\";\nimport { APP_SPACE_ID } from \"@internal/framework-components/control\";\nimport { isDdlNode } from \"@internal/sql-relational-core/ast\";\nimport { createPostgresCodecRegistryWithBuiltins } from \"@internal/target-postgres/codecs\";\nimport { postgresDataTypes } from \"@internal/target-postgres/data-types\";\n//#region src/core/adapter.ts\nvar PostgresAdapterImpl = class {\n\tfamilyId = \"sql\";\n\ttargetId = \"postgres\";\n\tprofile;\n\tcodecRegistry;\n\tdataTypeLookup;\n\tconstructor(codecRegistry, dataTypeLookup, declaredDataTypes, profileId) {\n\t\tthis.codecRegistry = codecRegistry;\n\t\tthis.dataTypeLookup = dataTypeLookup;\n\t\tconst controlAdapter = new PostgresControlAdapter(codecRegistry, dataTypeLookup, declaredDataTypes);\n\t\tthis.profile = Object.freeze({\n\t\t\tid: profileId ?? \"postgres/default@1\",\n\t\t\ttarget: \"postgres\",\n\t\t\tcapabilities: postgresAdapterCapabilities,\n\t\t\treadMarker: (queryable) => controlAdapter.readMarkerDiscriminated({\n\t\t\t\tfamilyId: \"sql\",\n\t\t\t\ttargetId: \"postgres\",\n\t\t\t\tquery: async (sql, params) => {\n\t\t\t\t\tconst rows = [];\n\t\t\t\t\tfor await (const row of queryable.query({\n\t\t\t\t\t\tsql,\n\t\t\t\t\t\t...params === void 0 ? {} : { params }\n\t\t\t\t\t})) rows.push(row);\n\t\t\t\t\treturn { rows };\n\t\t\t\t},\n\t\t\t\tclose: async () => {}\n\t\t\t}, APP_SPACE_ID)\n\t\t});\n\t}\n\tlower(ast, context) {\n\t\tif (isDdlNode(ast)) throw adapterError(\"RUNTIME.DDL_UNSUPPORTED\", \"lower() does not lower DDL on the runtime adapter — DDL lowering is a control-plane concern handled by the control adapter.\", { meta: { surface: \"runtime-adapter\" } });\n\t\treturn renderLoweredSql(ast, context.contract, this.codecRegistry, this.dataTypeLookup, postgresAdapterCapabilities);\n\t}\n};\nconst INT4_MIN = -2147483648;\nconst INT4_MAX = 2147483647;\n/**\n* The codec a bare JS number is bound through.\n*\n* An integer picks the narrowest column type that holds it: `int4` while it\n* fits the signed 32-bit range, `int8` (number-valued) up to the safe-integer\n* limit. Past that limit a JS number is no longer an exact integer, so it\n* binds as `float8` rather than pretending to a precision it does not have.\n*/\nfunction inferNumberCodecId(value) {\n\tif (!Number.isSafeInteger(value)) return \"pg/float8@1\";\n\treturn value >= INT4_MIN && value <= INT4_MAX ? \"pg/int4@1\" : \"pg/int8number@1\";\n}\n/**\n* Codec-id lookup for bare-literal interpolations used by `fns.raw` on a postgres client. Contributed as the descriptor's static `rawCodecInferer` slot.\n*\n* The ids are versioned because that is how the codec registry keys them: lowering resolves an interpolated value's codec by exact id through `descriptorFor`.\n*/\nconst postgresRawCodecInferer = { inferCodec(value) {\n\tswitch (typeof value) {\n\t\tcase \"number\": return inferNumberCodecId(value);\n\t\tcase \"bigint\": return \"pg/int8@1\";\n\t\tcase \"string\": return \"pg/text@1\";\n\t\tcase \"boolean\": return \"pg/bool@1\";\n\t\tcase \"object\": if (value instanceof Uint8Array) return \"pg/bytea@1\";\n\t}\n\tthrow adapterError(\"RUNTIME.RAW_SQL_UNSUPPORTED_INTERPOLATION\", \"unsupported JS value type for raw-SQL interpolation: wrap this value in `param(...)` with an explicit codec\", { meta: { valueType: typeof value } });\n} };\nfunction createPostgresAdapter(options) {\n\tconst dataTypes = assembleDataTypes([{\n\t\tid: \"postgres\",\n\t\tdataTypes: postgresDataTypes\n\t}, {\n\t\tid: \"createPostgresAdapter\",\n\t\tdataTypes: options?.dataTypes ?? []\n\t}]);\n\tconst codecRegistry = createPostgresCodecRegistryWithBuiltins(options?.codecDescriptors, dataTypes.lookup);\n\treturn Object.freeze(new PostgresAdapterImpl(codecRegistry, dataTypes.lookup, dataTypes.declared.map(({ type }) => type), options?.profileId));\n}\nfunction createPostgresAdapterWithCodecRegistry(codecRegistry, dataTypeLookup, declaredDataTypes) {\n\treturn Object.freeze(new PostgresAdapterImpl(codecRegistry, dataTypeLookup, declaredDataTypes));\n}\n//#endregion\nexport { createPostgresAdapterWithCodecRegistry as n, postgresRawCodecInferer as r, createPostgresAdapter as t };\n\n//# sourceMappingURL=adapter-BIWKN0d7.mjs.map"],"mappings":";;;;;;;;AAQA,IAAI,sBAAsB,MAAM;CAC/B,WAAW;CACX,WAAW;CACX;CACA;CACA;CACA,YAAY,eAAe,gBAAgB,mBAAmB,WAAW;EACxE,KAAK,gBAAgB;EACrB,KAAK,iBAAiB;EACtB,MAAM,iBAAiB,IAAI,uBAAuB,eAAe,gBAAgB,iBAAiB;EAClG,KAAK,UAAU,OAAO,OAAO;GAC5B,IAAI,aAAa;GACjB,QAAQ;GACR,cAAc;GACd,aAAa,cAAc,eAAe,wBAAwB;IACjE,UAAU;IACV,UAAU;IACV,OAAO,OAAO,KAAK,WAAW;KAC7B,MAAM,OAAO,CAAC;KACd,WAAW,MAAM,OAAO,UAAU,MAAM;MACvC;MACA,GAAG,WAAW,KAAK,IAAI,CAAC,IAAI,EAAE,OAAO;KACtC,CAAC,GAAG,KAAK,KAAK,GAAG;KACjB,OAAO,EAAE,KAAK;IACf;IACA,OAAO,YAAY,CAAC;GACrB,GAAG,YAAY;EAChB,CAAC;CACF;CACA,MAAM,KAAK,SAAS;EACnB,IAAI,UAAU,GAAG,GAAG,MAAM,aAAa,2BAA2B,+HAA+H,EAAE,MAAM,EAAE,SAAS,kBAAkB,EAAE,CAAC;EACzO,OAAO,iBAAiB,KAAK,QAAQ,UAAU,KAAK,eAAe,KAAK,gBAAgB,2BAA2B;CACpH;AACD;AACA,MAAM,WAAW;AACjB,MAAM,WAAW;;;;;;;;;AASjB,SAAS,mBAAmB,OAAO;CAClC,IAAI,CAAC,OAAO,cAAc,KAAK,GAAG,OAAO;CACzC,OAAO,SAAS,YAAY,SAAS,WAAW,cAAc;AAC/D;;;;;;AAMA,MAAM,0BAA0B,EAAE,WAAW,OAAO;CACnD,QAAQ,OAAO,OAAf;EACC,KAAK,UAAU,OAAO,mBAAmB,KAAK;EAC9C,KAAK,UAAU,OAAO;EACtB,KAAK,UAAU,OAAO;EACtB,KAAK,WAAW,OAAO;EACvB,KAAK,UAAU,IAAI,iBAAiB,YAAY,OAAO;CACxD;CACA,MAAM,aAAa,6CAA6C,+GAA+G,EAAE,MAAM,EAAE,WAAW,OAAO,MAAM,EAAE,CAAC;AACrN,EAAE;AACF,SAAS,sBAAsB,SAAS;CACvC,MAAM,YAAY,kBAAkB,CAAC;EACpC,IAAI;EACJ,WAAW;CACZ,GAAG;EACF,IAAI;EACJ,WAAW,SAAS,aAAa,CAAC;CACnC,CAAC,CAAC;CACF,MAAM,gBAAgB,wCAAwC,SAAS,kBAAkB,UAAU,MAAM;CACzG,OAAO,OAAO,OAAO,IAAI,oBAAoB,eAAe,UAAU,QAAQ,UAAU,SAAS,KAAK,EAAE,WAAW,IAAI,GAAG,SAAS,SAAS,CAAC;AAC9I;AACA,SAAS,uCAAuC,eAAe,gBAAgB,mBAAmB;CACjG,OAAO,OAAO,OAAO,IAAI,oBAAoB,eAAe,gBAAgB,iBAAiB,CAAC;AAC/F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as PostgresContract } from "./postgres-schema-Xsjt3RKO-bis-SVSB.mjs";
|
|
2
2
|
import { c as PostgresLoweredStatement, s as PostgresAdapterOptions } from "./types-D6lgKhE5-D1J9YJnd.mjs";
|
|
3
|
-
import { t as PostgresCodecRegistry } from "./codecs-
|
|
3
|
+
import { t as PostgresCodecRegistry } from "./codecs-DulR4oG1.mjs";
|
|
4
4
|
import { b as PostgresDdlNode } from "./nodes-s0Oe37jT-Cw3BU2gL.mjs";
|
|
5
5
|
import "./ddl-B8nQZTWN.mjs";
|
|
6
6
|
import { Adapter, AdapterProfile, AnyQueryAst, LowererContext } from "@prisma/orm-family-sql/relational-core/ast";
|
|
@@ -114,7 +114,7 @@ declare const postgresAdapterContractContributions: {
|
|
|
114
114
|
readonly operation: "sum";
|
|
115
115
|
readonly input: {
|
|
116
116
|
readonly kind: "codec";
|
|
117
|
-
readonly codecId: "pg/
|
|
117
|
+
readonly codecId: "pg/int2@1" | "pg/int4@1" | "pg/int8@1" | "pg/int8number@1" | "sql/int@1" | "pg/int@1";
|
|
118
118
|
};
|
|
119
119
|
readonly output: {
|
|
120
120
|
readonly kind: "codec";
|
|
@@ -126,7 +126,7 @@ declare const postgresAdapterContractContributions: {
|
|
|
126
126
|
readonly operation: "sumBigInt";
|
|
127
127
|
readonly input: {
|
|
128
128
|
readonly kind: "codec";
|
|
129
|
-
readonly codecId: "pg/
|
|
129
|
+
readonly codecId: "pg/int2@1" | "pg/int4@1" | "sql/int@1" | "pg/int@1";
|
|
130
130
|
};
|
|
131
131
|
readonly output: {
|
|
132
132
|
readonly kind: "codec";
|
|
@@ -212,6 +212,17 @@ declare const postgresAdapterContractContributions: {
|
|
|
212
212
|
readonly codecId: "pg/interval@1";
|
|
213
213
|
};
|
|
214
214
|
readonly nullable: true;
|
|
215
|
+
} | {
|
|
216
|
+
readonly operation: "sum";
|
|
217
|
+
readonly input: {
|
|
218
|
+
readonly kind: "codec";
|
|
219
|
+
readonly codecId: "pg/interval-string@1";
|
|
220
|
+
};
|
|
221
|
+
readonly output: {
|
|
222
|
+
readonly kind: "codec";
|
|
223
|
+
readonly codecId: "pg/interval-string@1";
|
|
224
|
+
};
|
|
225
|
+
readonly nullable: true;
|
|
215
226
|
} | {
|
|
216
227
|
readonly operation: "sum";
|
|
217
228
|
readonly input: {
|
|
@@ -239,7 +250,7 @@ declare const postgresAdapterContractContributions: {
|
|
|
239
250
|
readonly operation: "avg";
|
|
240
251
|
readonly input: {
|
|
241
252
|
readonly kind: "codec";
|
|
242
|
-
readonly codecId: "pg/
|
|
253
|
+
readonly codecId: "pg/int2@1" | "pg/int4@1" | "pg/int8@1" | "pg/int8number@1" | "pg/unboundedint@1" | "sql/int@1" | "pg/int@1";
|
|
243
254
|
};
|
|
244
255
|
readonly output: {
|
|
245
256
|
readonly kind: "codec";
|
|
@@ -251,7 +262,7 @@ declare const postgresAdapterContractContributions: {
|
|
|
251
262
|
readonly operation: "avgDecimal";
|
|
252
263
|
readonly input: {
|
|
253
264
|
readonly kind: "codec";
|
|
254
|
-
readonly codecId: "pg/
|
|
265
|
+
readonly codecId: "pg/numeric@1" | "pg/int2@1" | "pg/int4@1" | "pg/int8@1" | "pg/int8number@1" | "pg/unboundedint@1" | "sql/int@1" | "pg/int@1";
|
|
255
266
|
};
|
|
256
267
|
readonly output: {
|
|
257
268
|
readonly kind: "codec";
|
|
@@ -262,7 +273,7 @@ declare const postgresAdapterContractContributions: {
|
|
|
262
273
|
readonly operation: "avg";
|
|
263
274
|
readonly input: {
|
|
264
275
|
readonly kind: "codec";
|
|
265
|
-
readonly codecId: "pg/
|
|
276
|
+
readonly codecId: "pg/float4@1" | "pg/float8@1" | "sql/float@1" | "pg/float@1";
|
|
266
277
|
};
|
|
267
278
|
readonly output: {
|
|
268
279
|
readonly kind: "codec";
|
|
@@ -291,6 +302,17 @@ declare const postgresAdapterContractContributions: {
|
|
|
291
302
|
readonly codecId: "pg/interval@1";
|
|
292
303
|
};
|
|
293
304
|
readonly nullable: true;
|
|
305
|
+
} | {
|
|
306
|
+
readonly operation: "avg";
|
|
307
|
+
readonly input: {
|
|
308
|
+
readonly kind: "codec";
|
|
309
|
+
readonly codecId: "pg/interval-string@1";
|
|
310
|
+
};
|
|
311
|
+
readonly output: {
|
|
312
|
+
readonly kind: "codec";
|
|
313
|
+
readonly codecId: "pg/interval-string@1";
|
|
314
|
+
};
|
|
315
|
+
readonly nullable: true;
|
|
294
316
|
} | {
|
|
295
317
|
readonly operation: "avg";
|
|
296
318
|
readonly input: {
|
|
@@ -348,7 +370,7 @@ declare const postgresAdapterContractContributions: {
|
|
|
348
370
|
readonly operation: "min";
|
|
349
371
|
readonly input: {
|
|
350
372
|
readonly kind: "codec";
|
|
351
|
-
readonly codecId: "pg/
|
|
373
|
+
readonly codecId: "pg/timestamp-temporal@1" | "pg/timestamptz-temporal@1" | "pg/time-temporal@1" | "pg/timetz@1" | "pg/inet@1" | "pg/date-temporal@1" | "pg/date-string@1" | "pg/timestamp-string@1" | "pg/timestamptz-date@1" | "pg/timestamp-date@1" | "pg/timestamp-instant@1" | "pg/timestamptz-string@1" | "pg/time-string@1" | "pg/interval@1" | "pg/interval-string@1" | "pg/enum@1" | "pg/text-array@1";
|
|
352
374
|
};
|
|
353
375
|
readonly output: {
|
|
354
376
|
readonly kind: "self";
|
|
@@ -389,7 +411,7 @@ declare const postgresAdapterContractContributions: {
|
|
|
389
411
|
readonly operation: "max";
|
|
390
412
|
readonly input: {
|
|
391
413
|
readonly kind: "codec";
|
|
392
|
-
readonly codecId: "pg/
|
|
414
|
+
readonly codecId: "pg/timestamp-temporal@1" | "pg/timestamptz-temporal@1" | "pg/time-temporal@1" | "pg/timetz@1" | "pg/inet@1" | "pg/date-temporal@1" | "pg/date-string@1" | "pg/timestamp-string@1" | "pg/timestamptz-date@1" | "pg/timestamp-date@1" | "pg/timestamp-instant@1" | "pg/timestamptz-string@1" | "pg/time-string@1" | "pg/interval@1" | "pg/interval-string@1" | "pg/enum@1" | "pg/text-array@1";
|
|
393
415
|
};
|
|
394
416
|
readonly output: {
|
|
395
417
|
readonly kind: "self";
|
|
@@ -400,4 +422,4 @@ declare const postgresAdapterContractContributions: {
|
|
|
400
422
|
};
|
|
401
423
|
//#endregion
|
|
402
424
|
export { postgresRawCodecInferer as i, postgresAdapterCapabilities as n, postgresAdapterContractContributions as r, createPostgresAdapter as t };
|
|
403
|
-
//# sourceMappingURL=adapter-
|
|
425
|
+
//# sourceMappingURL=adapter-BNZo-LwN.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-
|
|
1
|
+
{"version":3,"file":"adapter-BNZo-LwN.d.mts","names":[],"sources":["../../../../3-targets/postgres/2-adapter/dist/adapter.d.mts"],"mappings":";;;;;;;;;;cAOc,+BAA+B,QAAQ,aAAa,kBAAkB;WACzE;WACA;WACA,SAAS;mBACD;mBACA;EACjB,YAAY,eAAe,uBAAuB,gBAAgB,gBAAgB,4BAA4B,YAAY;EAC1H,MAAM,KAAK,cAAc,iBAAiB,SAAS,eAAe,oBAAoB;;;;;;;cAO1E,yBAAyB;iBACtB,sBAAsB,UAAU,yBAAyB,SAAS;;;cAGrE,6BAA6B;WAChC;aACE;aACA;aACA;aACA;aACA;aACA;aACA;aACA;;WAEF;aACE;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;;;;;;;;cAQC;WACH,cAAc;aACZ;eACE;eACA;eACA;eACA;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;;;WAGJ;aACE;eACE;eACA;iBACE;;eAEF;iBACE;iBACA;;eAEF;eACA;;eAEA;eACA;iBACE;;eAEF;iBACE;iBACA;;eAEF;eACA;eACA,6EAA6E;;eAE7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF"}
|
package/dist/adapter.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as PostgresContract } from "./postgres-schema-Xsjt3RKO-bis-SVSB.mjs";
|
|
2
2
|
import { a as OrderClause, c as PostgresLoweredStatement, d as StorageTable, i as Expr, l as SelectAst, n as ColumnRef, o as ParamRef, r as Direction, s as PostgresAdapterOptions, t as BinaryExpr, u as StorageColumn } from "./types-D6lgKhE5-D1J9YJnd.mjs";
|
|
3
|
-
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup, t as PostgresCodecRegistry } from "./codecs-
|
|
4
|
-
import { i as postgresRawCodecInferer, n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as createPostgresAdapter } from "./adapter-
|
|
5
|
-
import { C as
|
|
3
|
+
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup, t as PostgresCodecRegistry } from "./codecs-DulR4oG1.mjs";
|
|
4
|
+
import { i as postgresRawCodecInferer, n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as createPostgresAdapter } from "./adapter-BNZo-LwN.mjs";
|
|
5
|
+
import { A as varcharColumn, C as timestampStringColumn, D as timestamptzTemporalColumn, E as timestamptzStringColumn, O as timetzColumn, S as timestampJsDateColumn, T as timestamptzJsDateColumn, _ as rawColumn, a as dateStringColumn, b as timeTemporalColumn, c as float8Column, d as int8Column, f as intervalPartsColumn, g as numericColumn, h as jsonbColumn, i as charColumn, k as varbitColumn, l as int2Column, m as jsonColumn, n as boolColumn, o as dateTemporalColumn, p as intervalStringColumn, r as byteaColumn, s as float4Column, t as bitColumn, u as int4Column, v as textColumn, w as timestampTemporalColumn, x as timestampInstantColumn, y as timeStringColumn } from "./column-types-DtpCrZt4.mjs";
|
|
6
6
|
import { n as qualifyName, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-CnnGiZBc.mjs";
|
|
7
|
-
import { t as PostgresControlAdapter } from "./control-
|
|
7
|
+
import { t as PostgresControlAdapter } from "./control-nSGzcTXc.mjs";
|
|
8
8
|
import { t as SqlRuntimeAdapter } from "./runtime-DtjW0GP_.mjs";
|
|
9
9
|
import { t as renderLoweredSql } from "./sql-renderer-BiBhge7D.mjs";
|
|
10
|
-
import "./types-
|
|
11
|
-
export { type BinaryExpr, type ColumnRef, type Direction, type Expr, type OrderClause, type ParamRef, type PostgresAdapterOptions, type PostgresCodecRegistry, type PostgresContract, PostgresControlAdapter, type PostgresLoweredStatement, type SelectAst, SqlRuntimeAdapter, type StorageColumn, type StorageTable, bitColumn, boolColumn, byteaColumn, charColumn, createPostgresAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, dateStringColumn, dateTemporalColumn, escapeLiteral, float4Column, float8Column, int2Column, int4Column, int8Column,
|
|
10
|
+
import "./types-BZ2l9Q5i.mjs";
|
|
11
|
+
export { type BinaryExpr, type ColumnRef, type Direction, type Expr, type OrderClause, type ParamRef, type PostgresAdapterOptions, type PostgresCodecRegistry, type PostgresContract, PostgresControlAdapter, type PostgresLoweredStatement, type SelectAst, SqlRuntimeAdapter, type StorageColumn, type StorageTable, bitColumn, boolColumn, byteaColumn, charColumn, createPostgresAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, dateStringColumn, dateTemporalColumn, escapeLiteral, float4Column, float8Column, int2Column, int4Column, int8Column, intervalPartsColumn, intervalStringColumn, jsonColumn, jsonbColumn, numericColumn, postgresAdapterCapabilities, postgresAdapterContractContributions, postgresRawCodecInferer, qualifyName, quoteIdentifier, rawColumn, renderLoweredSql, textColumn, timeStringColumn, timeTemporalColumn, timestampInstantColumn, timestampJsDateColumn, timestampStringColumn, timestampTemporalColumn, timestamptzJsDateColumn, timestamptzStringColumn, timestamptzTemporalColumn, timetzColumn, varbitColumn, varcharColumn };
|
package/dist/adapter.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as quoteIdentifier, n as escapeLiteral, r as qualifyName } from "./sql-utils-
|
|
2
|
-
import { i as createPostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup } from "./codec-registry-
|
|
3
|
-
import { n as renderLoweredSql } from "./sql-renderer-BdWJPa5F-
|
|
4
|
-
import { n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as PostgresControlAdapter } from "./contract-contributions-DTGGTwRZ-
|
|
5
|
-
import { r as postgresRawCodecInferer, t as createPostgresAdapter } from "./adapter-BIWKN0d7-
|
|
6
|
-
import { C as
|
|
7
|
-
export { PostgresControlAdapter, bitColumn, boolColumn, byteaColumn, charColumn, createPostgresAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, dateStringColumn, dateTemporalColumn, escapeLiteral, float4Column, float8Column, int2Column, int4Column, int8Column,
|
|
1
|
+
import { i as quoteIdentifier, n as escapeLiteral, r as qualifyName } from "./sql-utils-DUETeYBc-DbbAr6EV.mjs";
|
|
2
|
+
import { i as createPostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup } from "./codec-registry-Cu-Nwsyl-BArjkoQ7.mjs";
|
|
3
|
+
import { n as renderLoweredSql } from "./sql-renderer-BdWJPa5F-DH1baMIk.mjs";
|
|
4
|
+
import { n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as PostgresControlAdapter } from "./contract-contributions-DTGGTwRZ-Bf6l72jg.mjs";
|
|
5
|
+
import { r as postgresRawCodecInferer, t as createPostgresAdapter } from "./adapter-BIWKN0d7-BI1J51N4.mjs";
|
|
6
|
+
import { A as varcharColumn, C as timestampStringColumn, D as timestamptzTemporalColumn, E as timestamptzStringColumn, O as timetzColumn, S as timestampJsDateColumn, T as timestamptzJsDateColumn, _ as rawColumn, a as dateStringColumn, b as timeTemporalColumn, c as float8Column, d as int8Column, f as intervalPartsColumn, g as numericColumn, h as jsonbColumn, i as charColumn, k as varbitColumn, l as int2Column, m as jsonColumn, n as boolColumn, o as dateTemporalColumn, p as intervalStringColumn, r as byteaColumn, s as float4Column, t as bitColumn, u as int4Column, v as textColumn, w as timestampTemporalColumn, x as timestampInstantColumn, y as timeStringColumn } from "./column-types-DW38xCZG.mjs";
|
|
7
|
+
export { PostgresControlAdapter, bitColumn, boolColumn, byteaColumn, charColumn, createPostgresAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, dateStringColumn, dateTemporalColumn, escapeLiteral, float4Column, float8Column, int2Column, int4Column, int8Column, intervalPartsColumn, intervalStringColumn, jsonColumn, jsonbColumn, numericColumn, postgresAdapterCapabilities, postgresAdapterContractContributions, postgresRawCodecInferer, qualifyName, quoteIdentifier, rawColumn, renderLoweredSql, textColumn, timeStringColumn, timeTemporalColumn, timestampInstantColumn, timestampJsDateColumn, timestampStringColumn, timestampTemporalColumn, timestamptzJsDateColumn, timestamptzStringColumn, timestamptzTemporalColumn, timetzColumn, varbitColumn, varcharColumn };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as postgresRawCodecInferer, n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as createPostgresAdapter } from "./adapter-
|
|
1
|
+
import { i as postgresRawCodecInferer, n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as createPostgresAdapter } from "./adapter-BNZo-LwN.mjs";
|
|
2
2
|
export { createPostgresAdapter, postgresAdapterCapabilities, postgresAdapterContractContributions, postgresRawCodecInferer };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as postgresAdapterCapabilities, r as postgresAdapterContractContributions } from "./contract-contributions-DTGGTwRZ-
|
|
2
|
-
import { r as postgresRawCodecInferer, t as createPostgresAdapter } from "./adapter-BIWKN0d7-
|
|
1
|
+
import { n as postgresAdapterCapabilities, r as postgresAdapterContractContributions } from "./contract-contributions-DTGGTwRZ-Bf6l72jg.mjs";
|
|
2
|
+
import { r as postgresRawCodecInferer, t as createPostgresAdapter } from "./adapter-BIWKN0d7-BI1J51N4.mjs";
|
|
3
3
|
export { createPostgresAdapter, postgresAdapterCapabilities, postgresAdapterContractContributions, postgresRawCodecInferer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
export { bitColumn, boolColumn, byteaColumn, charColumn, dateStringColumn, dateTemporalColumn, float4Column, float8Column, int2Column, int4Column, int8Column,
|
|
1
|
+
import { A as varcharColumn, C as timestampStringColumn, D as timestamptzTemporalColumn, E as timestamptzStringColumn, O as timetzColumn, S as timestampJsDateColumn, T as timestamptzJsDateColumn, _ as rawColumn, a as dateStringColumn, b as timeTemporalColumn, c as float8Column, d as int8Column, f as intervalPartsColumn, g as numericColumn, h as jsonbColumn, i as charColumn, k as varbitColumn, l as int2Column, m as jsonColumn, n as boolColumn, o as dateTemporalColumn, p as intervalStringColumn, r as byteaColumn, s as float4Column, t as bitColumn, u as int4Column, v as textColumn, w as timestampTemporalColumn, x as timestampInstantColumn, y as timeStringColumn } from "./column-types-DtpCrZt4.mjs";
|
|
2
|
+
export { bitColumn, boolColumn, byteaColumn, charColumn, dateStringColumn, dateTemporalColumn, float4Column, float8Column, int2Column, int4Column, int8Column, intervalPartsColumn, intervalStringColumn, jsonColumn, jsonbColumn, numericColumn, rawColumn, textColumn, timeStringColumn, timeTemporalColumn, timestampInstantColumn, timestampJsDateColumn, timestampStringColumn, timestampTemporalColumn, timestamptzJsDateColumn, timestamptzStringColumn, timestamptzTemporalColumn, timetzColumn, varbitColumn, varcharColumn };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
export { bitColumn, boolColumn, byteaColumn, charColumn, dateStringColumn, dateTemporalColumn, float4Column, float8Column, int2Column, int4Column, int8Column,
|
|
1
|
+
import { A as varcharColumn, C as timestampStringColumn, D as timestamptzTemporalColumn, E as timestamptzStringColumn, O as timetzColumn, S as timestampJsDateColumn, T as timestamptzJsDateColumn, _ as rawColumn, a as dateStringColumn, b as timeTemporalColumn, c as float8Column, d as int8Column, f as intervalPartsColumn, g as numericColumn, h as jsonbColumn, i as charColumn, k as varbitColumn, l as int2Column, m as jsonColumn, n as boolColumn, o as dateTemporalColumn, p as intervalStringColumn, r as byteaColumn, s as float4Column, t as bitColumn, u as int4Column, v as textColumn, w as timestampTemporalColumn, x as timestampInstantColumn, y as timeStringColumn } from "./column-types-DW38xCZG.mjs";
|
|
2
|
+
export { bitColumn, boolColumn, byteaColumn, charColumn, dateStringColumn, dateTemporalColumn, float4Column, float8Column, int2Column, int4Column, int8Column, intervalPartsColumn, intervalStringColumn, jsonColumn, jsonbColumn, numericColumn, rawColumn, textColumn, timeStringColumn, timeTemporalColumn, timestampInstantColumn, timestampJsDateColumn, timestampStringColumn, timestampTemporalColumn, timestamptzJsDateColumn, timestamptzStringColumn, timestamptzTemporalColumn, timetzColumn, varbitColumn, varcharColumn };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup } from "./codecs-
|
|
1
|
+
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup } from "./codecs-DulR4oG1.mjs";
|
|
2
2
|
import { n as qualifyName, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-CnnGiZBc.mjs";
|
|
3
|
-
import { n as postgresAdapterDescriptor, t as PostgresControlAdapter } from "./control-
|
|
3
|
+
import { n as postgresAdapterDescriptor, t as PostgresControlAdapter } from "./control-nSGzcTXc.mjs";
|
|
4
4
|
export { PostgresControlAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, postgresAdapterDescriptor as default, escapeLiteral, qualifyName, quoteIdentifier };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as quoteIdentifier, n as escapeLiteral, r as qualifyName } from "./sql-utils-
|
|
2
|
-
import { i as createPostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-
|
|
3
|
-
import { t as PostgresControlAdapter } from "./contract-contributions-DTGGTwRZ-
|
|
4
|
-
import { t as postgresAdapterDescriptorMeta } from "./descriptor-meta-I7Ih-0hE-
|
|
1
|
+
import { i as quoteIdentifier, n as escapeLiteral, r as qualifyName } from "./sql-utils-DUETeYBc-DbbAr6EV.mjs";
|
|
2
|
+
import { i as createPostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-Cu-Nwsyl-BArjkoQ7.mjs";
|
|
3
|
+
import { t as PostgresControlAdapter } from "./contract-contributions-DTGGTwRZ-Bf6l72jg.mjs";
|
|
4
|
+
import { t as postgresAdapterDescriptorMeta } from "./descriptor-meta-I7Ih-0hE-Dl5m2vYH.mjs";
|
|
5
5
|
import { sqlDefaultFunctions } from "@prisma/orm-family-sql/family/control";
|
|
6
6
|
//#region ../../../3-targets/postgres/2-adapter/dist/control.mjs
|
|
7
7
|
const postgresDefaultFunctionRegistryEntries = Object.entries(sqlDefaultFunctions());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as postgresCodecRegistry, t as assemblePostgresCodecRegistry } from "./codec-registry-
|
|
2
|
-
import { d as postgresNowGenerators } from "./authoring-
|
|
3
|
-
import { n as createPostgresAdapterWithCodecRegistry, r as postgresRawCodecInferer } from "./adapter-BIWKN0d7-
|
|
4
|
-
import { t as postgresAdapterDescriptorMeta } from "./descriptor-meta-I7Ih-0hE-
|
|
1
|
+
import { o as postgresCodecRegistry, t as assemblePostgresCodecRegistry } from "./codec-registry-Cu-Nwsyl-BArjkoQ7.mjs";
|
|
2
|
+
import { d as postgresNowGenerators } from "./authoring-BLkari-V-D1FvcoJg.mjs";
|
|
3
|
+
import { n as createPostgresAdapterWithCodecRegistry, r as postgresRawCodecInferer } from "./adapter-BIWKN0d7-BI1J51N4.mjs";
|
|
4
|
+
import { t as postgresAdapterDescriptorMeta } from "./descriptor-meta-I7Ih-0hE-Dl5m2vYH.mjs";
|
|
5
5
|
import { assembleDataTypes } from "@prisma/orm-framework/components/codec";
|
|
6
6
|
import { timestampNowRuntimeGenerator } from "@prisma/orm-family-sql/family/runtime";
|
|
7
7
|
import { builtinGeneratorIds } from "@prisma/orm-framework/ids";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as renderLoweredSql } from "./sql-renderer-BdWJPa5F-
|
|
1
|
+
import { n as renderLoweredSql } from "./sql-renderer-BdWJPa5F-DH1baMIk.mjs";
|
|
2
2
|
export { renderLoweredSql };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PostgresContract } from "./postgres-schema-Xsjt3RKO-bis-SVSB.mjs";
|
|
2
2
|
import { a as OrderClause, c as PostgresLoweredStatement, d as StorageTable, i as Expr, l as SelectAst, n as ColumnRef, o as ParamRef, r as Direction, s as PostgresAdapterOptions, t as BinaryExpr, u as StorageColumn } from "./types-D6lgKhE5-D1J9YJnd.mjs";
|
|
3
|
-
import { t as PostgresCodecRegistry } from "./codecs-
|
|
4
|
-
import "./types-
|
|
3
|
+
import { t as PostgresCodecRegistry } from "./codecs-DulR4oG1.mjs";
|
|
4
|
+
import "./types-BZ2l9Q5i.mjs";
|
|
5
5
|
export type { BinaryExpr, ColumnRef, Direction, Expr, OrderClause, ParamRef, PostgresAdapterOptions, PostgresCodecRegistry, PostgresContract, PostgresLoweredStatement, SelectAst, StorageColumn, StorageTable };
|
|
@@ -31,7 +31,7 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
31
31
|
readonly operation: "sum";
|
|
32
32
|
readonly input: {
|
|
33
33
|
readonly kind: "codec";
|
|
34
|
-
readonly codecId: "pg/
|
|
34
|
+
readonly codecId: "pg/int2@1" | "pg/int4@1" | "pg/int8@1" | "pg/int8number@1" | "sql/int@1" | "pg/int@1";
|
|
35
35
|
};
|
|
36
36
|
readonly output: {
|
|
37
37
|
readonly kind: "codec";
|
|
@@ -43,7 +43,7 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
43
43
|
readonly operation: "sumBigInt";
|
|
44
44
|
readonly input: {
|
|
45
45
|
readonly kind: "codec";
|
|
46
|
-
readonly codecId: "pg/
|
|
46
|
+
readonly codecId: "pg/int2@1" | "pg/int4@1" | "sql/int@1" | "pg/int@1";
|
|
47
47
|
};
|
|
48
48
|
readonly output: {
|
|
49
49
|
readonly kind: "codec";
|
|
@@ -129,6 +129,17 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
129
129
|
readonly codecId: "pg/interval@1";
|
|
130
130
|
};
|
|
131
131
|
readonly nullable: true;
|
|
132
|
+
} | {
|
|
133
|
+
readonly operation: "sum";
|
|
134
|
+
readonly input: {
|
|
135
|
+
readonly kind: "codec";
|
|
136
|
+
readonly codecId: "pg/interval-string@1";
|
|
137
|
+
};
|
|
138
|
+
readonly output: {
|
|
139
|
+
readonly kind: "codec";
|
|
140
|
+
readonly codecId: "pg/interval-string@1";
|
|
141
|
+
};
|
|
142
|
+
readonly nullable: true;
|
|
132
143
|
} | {
|
|
133
144
|
readonly operation: "sum";
|
|
134
145
|
readonly input: {
|
|
@@ -156,7 +167,7 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
156
167
|
readonly operation: "avg";
|
|
157
168
|
readonly input: {
|
|
158
169
|
readonly kind: "codec";
|
|
159
|
-
readonly codecId: "pg/
|
|
170
|
+
readonly codecId: "pg/int2@1" | "pg/int4@1" | "pg/int8@1" | "pg/int8number@1" | "pg/unboundedint@1" | "sql/int@1" | "pg/int@1";
|
|
160
171
|
};
|
|
161
172
|
readonly output: {
|
|
162
173
|
readonly kind: "codec";
|
|
@@ -168,7 +179,7 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
168
179
|
readonly operation: "avgDecimal";
|
|
169
180
|
readonly input: {
|
|
170
181
|
readonly kind: "codec";
|
|
171
|
-
readonly codecId: "pg/
|
|
182
|
+
readonly codecId: "pg/numeric@1" | "pg/int2@1" | "pg/int4@1" | "pg/int8@1" | "pg/int8number@1" | "pg/unboundedint@1" | "sql/int@1" | "pg/int@1";
|
|
172
183
|
};
|
|
173
184
|
readonly output: {
|
|
174
185
|
readonly kind: "codec";
|
|
@@ -179,7 +190,7 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
179
190
|
readonly operation: "avg";
|
|
180
191
|
readonly input: {
|
|
181
192
|
readonly kind: "codec";
|
|
182
|
-
readonly codecId: "pg/
|
|
193
|
+
readonly codecId: "pg/float4@1" | "pg/float8@1" | "sql/float@1" | "pg/float@1";
|
|
183
194
|
};
|
|
184
195
|
readonly output: {
|
|
185
196
|
readonly kind: "codec";
|
|
@@ -208,6 +219,17 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
208
219
|
readonly codecId: "pg/interval@1";
|
|
209
220
|
};
|
|
210
221
|
readonly nullable: true;
|
|
222
|
+
} | {
|
|
223
|
+
readonly operation: "avg";
|
|
224
|
+
readonly input: {
|
|
225
|
+
readonly kind: "codec";
|
|
226
|
+
readonly codecId: "pg/interval-string@1";
|
|
227
|
+
};
|
|
228
|
+
readonly output: {
|
|
229
|
+
readonly kind: "codec";
|
|
230
|
+
readonly codecId: "pg/interval-string@1";
|
|
231
|
+
};
|
|
232
|
+
readonly nullable: true;
|
|
211
233
|
} | {
|
|
212
234
|
readonly operation: "avg";
|
|
213
235
|
readonly input: {
|
|
@@ -265,7 +287,7 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
265
287
|
readonly operation: "min";
|
|
266
288
|
readonly input: {
|
|
267
289
|
readonly kind: "codec";
|
|
268
|
-
readonly codecId: "pg/
|
|
290
|
+
readonly codecId: "pg/timestamp-temporal@1" | "pg/timestamptz-temporal@1" | "pg/time-temporal@1" | "pg/timetz@1" | "pg/inet@1" | "pg/date-temporal@1" | "pg/date-string@1" | "pg/timestamp-string@1" | "pg/timestamptz-date@1" | "pg/timestamp-date@1" | "pg/timestamp-instant@1" | "pg/timestamptz-string@1" | "pg/time-string@1" | "pg/interval@1" | "pg/interval-string@1" | "pg/enum@1" | "pg/text-array@1";
|
|
269
291
|
};
|
|
270
292
|
readonly output: {
|
|
271
293
|
readonly kind: "self";
|
|
@@ -306,7 +328,7 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
306
328
|
readonly operation: "max";
|
|
307
329
|
readonly input: {
|
|
308
330
|
readonly kind: "codec";
|
|
309
|
-
readonly codecId: "pg/
|
|
331
|
+
readonly codecId: "pg/timestamp-temporal@1" | "pg/timestamptz-temporal@1" | "pg/time-temporal@1" | "pg/timetz@1" | "pg/inet@1" | "pg/date-temporal@1" | "pg/date-string@1" | "pg/timestamp-string@1" | "pg/timestamptz-date@1" | "pg/timestamp-date@1" | "pg/timestamp-instant@1" | "pg/timestamptz-string@1" | "pg/time-string@1" | "pg/interval@1" | "pg/interval-string@1" | "pg/enum@1" | "pg/text-array@1";
|
|
310
332
|
};
|
|
311
333
|
readonly output: {
|
|
312
334
|
readonly kind: "self";
|
|
@@ -315,4 +337,4 @@ declare const postgresAggregateDescriptors: readonly [{
|
|
|
315
337
|
})[]];
|
|
316
338
|
//#endregion
|
|
317
339
|
export { postgresAggregateDescriptors as t };
|
|
318
|
-
//# sourceMappingURL=aggregates-
|
|
340
|
+
//# sourceMappingURL=aggregates-D3Gq0n_e.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregates-
|
|
1
|
+
{"version":3,"file":"aggregates-D3Gq0n_e.d.mts","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/aggregates.d.mts"],"mappings":";;;;;;cAKc;WACH;WACA;aACE;;WAEF;aACE;aACA;;WAEF;WACA;;WAEA;WACA;aACE;;WAEF;aACE;aACA;;WAEF;WACA;WACA,OAAO;;WAEP;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA,OAAO;WACP;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA,OAAO;WACP;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA,OAAO;WACP;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA,OAAO;WACP;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA,OAAO;WACP;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as PG_TIMESTAMP_TEMPORAL_CODEC_ID, B as SQL_FLOAT_CODEC_ID, C as PG_TEXT_CODEC_ID, D as PG_TIMESTAMP_DATE_CODEC_ID, E as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, F as PG_UNBOUNDED_INT_CODEC_ID, M as PG_TIME_STRING_CODEC_ID, N as PG_TIME_TEMPORAL_CODEC_ID, O as PG_TIMESTAMP_INSTANT_CODEC_ID, R as PG_VARCHAR_CODEC_ID, S as PG_TEXT_ARRAY_CODEC_ID, T as PG_TIMESTAMPTZ_STRING_CODEC_ID, V as SQL_INT_CODEC_ID, W as SQL_VARCHAR_CODEC_ID, _ as PG_INTERVAL_STRING_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, c as PG_FLOAT4_CODEC_ID, d as PG_INET_CODEC_ID, f as PG_INT2_CODEC_ID, g as PG_INTERVAL_CODEC_ID, h as PG_INT8_NUMBER_CODEC_ID, j as PG_TIMETZ_CODEC_ID, k as PG_TIMESTAMP_STRING_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, s as PG_ENUM_CODEC_ID, u as PG_FLOAT_CODEC_ID, v as PG_INT_CODEC_ID, w as PG_TIMESTAMPTZ_DATE_CODEC_ID, x as PG_NUMERIC_CODEC_ID } from "./codec-ids-D0wjQdEW-EypD_iZj.mjs";
|
|
2
2
|
import { AggregateExpr, CastExpr } from "@prisma/orm-family-sql/relational-core/ast";
|
|
3
3
|
//#region ../../../3-targets/postgres/1-target/dist/aggregates.mjs
|
|
4
4
|
/**
|
|
@@ -57,12 +57,15 @@ const MIN_MAX_PRESERVING_CODECS = [
|
|
|
57
57
|
PG_ENUM_CODEC_ID,
|
|
58
58
|
PG_TIMETZ_CODEC_ID,
|
|
59
59
|
PG_INTERVAL_CODEC_ID,
|
|
60
|
+
PG_INTERVAL_STRING_CODEC_ID,
|
|
60
61
|
PG_INET_CODEC_ID,
|
|
61
62
|
PG_TEXT_ARRAY_CODEC_ID,
|
|
62
63
|
PG_DATE_STRING_CODEC_ID,
|
|
63
64
|
PG_TIMESTAMP_STRING_CODEC_ID,
|
|
64
65
|
PG_TIMESTAMPTZ_STRING_CODEC_ID,
|
|
65
66
|
PG_TIMESTAMPTZ_DATE_CODEC_ID,
|
|
67
|
+
PG_TIMESTAMP_DATE_CODEC_ID,
|
|
68
|
+
PG_TIMESTAMP_INSTANT_CODEC_ID,
|
|
66
69
|
PG_TIME_STRING_CODEC_ID,
|
|
67
70
|
PG_DATE_TEMPORAL_CODEC_ID,
|
|
68
71
|
PG_TIMESTAMP_TEMPORAL_CODEC_ID,
|
|
@@ -152,6 +155,10 @@ const postgresAggregateDescriptors = [
|
|
|
152
155
|
kind: "codec",
|
|
153
156
|
codecId: PG_INTERVAL_CODEC_ID
|
|
154
157
|
}, PG_INTERVAL_CODEC_ID),
|
|
158
|
+
produces("sum", {
|
|
159
|
+
kind: "codec",
|
|
160
|
+
codecId: PG_INTERVAL_STRING_CODEC_ID
|
|
161
|
+
}, PG_INTERVAL_STRING_CODEC_ID),
|
|
155
162
|
produces("sum", {
|
|
156
163
|
kind: "codec",
|
|
157
164
|
codecId: PG_TIME_STRING_CODEC_ID
|
|
@@ -180,6 +187,10 @@ const postgresAggregateDescriptors = [
|
|
|
180
187
|
kind: "codec",
|
|
181
188
|
codecId: PG_INTERVAL_CODEC_ID
|
|
182
189
|
}, PG_INTERVAL_CODEC_ID),
|
|
190
|
+
produces("avg", {
|
|
191
|
+
kind: "codec",
|
|
192
|
+
codecId: PG_INTERVAL_STRING_CODEC_ID
|
|
193
|
+
}, PG_INTERVAL_STRING_CODEC_ID),
|
|
183
194
|
produces("avg", {
|
|
184
195
|
kind: "codec",
|
|
185
196
|
codecId: PG_TIME_STRING_CODEC_ID
|
|
@@ -194,4 +205,4 @@ const postgresAggregateDescriptors = [
|
|
|
194
205
|
//#endregion
|
|
195
206
|
export { postgresAggregateDescriptors as t };
|
|
196
207
|
|
|
197
|
-
//# sourceMappingURL=aggregates-
|
|
208
|
+
//# sourceMappingURL=aggregates-xBA2jH0c.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggregates-xBA2jH0c.mjs","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/aggregates.mjs"],"sourcesContent":["import { A as PG_TIMESTAMP_TEMPORAL_CODEC_ID, B as SQL_FLOAT_CODEC_ID, C as PG_TEXT_CODEC_ID, D as PG_TIMESTAMP_DATE_CODEC_ID, E as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, F as PG_UNBOUNDED_INT_CODEC_ID, M as PG_TIME_STRING_CODEC_ID, N as PG_TIME_TEMPORAL_CODEC_ID, O as PG_TIMESTAMP_INSTANT_CODEC_ID, R as PG_VARCHAR_CODEC_ID, S as PG_TEXT_ARRAY_CODEC_ID, T as PG_TIMESTAMPTZ_STRING_CODEC_ID, V as SQL_INT_CODEC_ID, W as SQL_VARCHAR_CODEC_ID, _ as PG_INTERVAL_STRING_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, c as PG_FLOAT4_CODEC_ID, d as PG_INET_CODEC_ID, f as PG_INT2_CODEC_ID, g as PG_INTERVAL_CODEC_ID, h as PG_INT8_NUMBER_CODEC_ID, j as PG_TIMETZ_CODEC_ID, k as PG_TIMESTAMP_STRING_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, s as PG_ENUM_CODEC_ID, u as PG_FLOAT_CODEC_ID, v as PG_INT_CODEC_ID, w as PG_TIMESTAMPTZ_DATE_CODEC_ID, x as PG_NUMERIC_CODEC_ID } from \"./codec-ids-D0wjQdEW.mjs\";\nimport { AggregateExpr, CastExpr } from \"@internal/sql-relational-core/ast\";\n//#region src/core/aggregates.ts\n/**\n* An aggregate whose result is one of the input values, so it carries the input's codec — type parameters included, since a `numeric(10,3)` minimum is still a `numeric(10,3)`.\n*/\nconst preservesInput = (operation, input) => ({\n\toperation,\n\tinput,\n\toutput: { kind: \"self\" },\n\tnullable: true\n});\n/**\n* An aggregate whose result is a new value. It names its result codec without type parameters: a sum leaves the input's width behind (a `numeric(10,3)` column sums to an unconstrained `numeric`), so carrying the input's parameters into the result would understate the range.\n*/\nconst produces = (operation, input, codecId) => ({\n\toperation,\n\tinput,\n\toutput: {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t},\n\tnullable: true\n});\n/** The same, for an operation that builds its own expression. */\nconst producesVia = (operation, input, codecId, lower) => ({\n\t...produces(operation, input, codecId),\n\tlower\n});\n/** The SQL aggregate a lossless variant computes with. `sumBigInt` is a `sum` read exactly, `countBigInt` a `count`, `avgDecimal` an `avg`: the variants differ in how the result is read, never in what the database computes. */\nconst computedWith = (fn) => ({ expr }) => new AggregateExpr(fn, expr);\n/** `avg` over an integer column, rounded once. PostgreSQL computes the exact `numeric` mean and the cast turns that one value into the `double precision` the result codec reads; casting the input instead would round every value before it was accumulated. */\nconst avgCastToFloat8 = ({ expr }) => CastExpr.as(new AggregateExpr(\"avg\", expr), \"float8\");\n/** Integer codecs whose `sum` widens to `bigint` — every built-in integer bar the 64-bit ones, whose sum goes to `numeric` instead. */\nconst SUM_WIDENS_TO_INT8 = [\n\tPG_INT2_CODEC_ID,\n\tPG_INT4_CODEC_ID,\n\tPG_INT_CODEC_ID,\n\tSQL_INT_CODEC_ID\n];\n/** The 64-bit integer codecs: PostgreSQL computes their `sum` as a `numeric`, a total free to leave the range an `int8` holds. */\nconst SUM_WIDENS_TO_NUMERIC = [PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID];\n/** The integer codecs a `sum` reads back as a `number`: every fixed-width one, whatever its own application type. */\nconst FIXED_WIDTH_INTEGER_CODECS = [...SUM_WIDENS_TO_INT8, ...SUM_WIDENS_TO_NUMERIC];\n/** Every built-in integer codec, the unbounded one included: `avg` over any of them is a `numeric` mean. */\nconst INTEGER_CODECS = [...FIXED_WIDTH_INTEGER_CODECS, PG_UNBOUNDED_INT_CODEC_ID];\n/** Codecs over `double precision`, whose `sum` and `avg` stay there. */\nconst DOUBLE_PRECISION_CODECS = [\n\tPG_FLOAT8_CODEC_ID,\n\tPG_FLOAT_CODEC_ID,\n\tSQL_FLOAT_CODEC_ID\n];\n/**\n* Codecs whose `min`/`max` returns the input type and whose traits do not already say so: the temporal types, `inet`, `text[]`, and native enums advertise `order` or `equality`, which `uuid`, `bit`, `bit varying`, `bool`, `bytea`, `json`, and `jsonb` also advertise while having no `min`/`max` at all. An exact overload per supported codec is therefore the only honest shape — a trait fallback over `order` would claim the unsupported ones too.\n*/\nconst MIN_MAX_PRESERVING_CODECS = [\n\tPG_ENUM_CODEC_ID,\n\tPG_TIMETZ_CODEC_ID,\n\tPG_INTERVAL_CODEC_ID,\n\tPG_INTERVAL_STRING_CODEC_ID,\n\tPG_INET_CODEC_ID,\n\tPG_TEXT_ARRAY_CODEC_ID,\n\tPG_DATE_STRING_CODEC_ID,\n\tPG_TIMESTAMP_STRING_CODEC_ID,\n\tPG_TIMESTAMPTZ_STRING_CODEC_ID,\n\tPG_TIMESTAMPTZ_DATE_CODEC_ID,\n\tPG_TIMESTAMP_DATE_CODEC_ID,\n\tPG_TIMESTAMP_INSTANT_CODEC_ID,\n\tPG_TIME_STRING_CODEC_ID,\n\tPG_DATE_TEMPORAL_CODEC_ID,\n\tPG_TIMESTAMP_TEMPORAL_CODEC_ID,\n\tPG_TIMESTAMPTZ_TEMPORAL_CODEC_ID,\n\tPG_TIME_TEMPORAL_CODEC_ID\n];\n/**\n* `min`/`max` over the character types, where the trait rung does hold: every `textual` codec returns its input type — except the two `varchar` codecs, whose result PostgreSQL widens to `text`, and which therefore claim themselves exactly and shadow the fallback.\n*/\nconst MIN_MAX_WIDENS_TO_TEXT = [PG_VARCHAR_CODEC_ID, SQL_VARCHAR_CODEC_ID];\nconst orderingDescriptors = (operation) => [\n\tpreservesInput(operation, {\n\t\tkind: \"trait\",\n\t\ttrait: \"numeric\"\n\t}),\n\tpreservesInput(operation, {\n\t\tkind: \"trait\",\n\t\ttrait: \"textual\"\n\t}),\n\t...MIN_MAX_WIDENS_TO_TEXT.map((codecId) => produces(operation, {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, PG_TEXT_CODEC_ID)),\n\t...MIN_MAX_PRESERVING_CODECS.map((codecId) => preservesInput(operation, {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}))\n];\n/**\n* Every aggregate overload the PostgreSQL target contributes. The adapter lists these on `types.aggregateDescriptors`, from where emission derives result types and the runtime builds its resolution registry.\n*/\nconst postgresAggregateDescriptors = [\n\t{\n\t\toperation: \"count\",\n\t\tinput: { kind: \"any\" },\n\t\toutput: {\n\t\t\tkind: \"codec\",\n\t\t\tcodecId: PG_INT8_NUMBER_CODEC_ID\n\t\t},\n\t\tnullable: false,\n\t\temptyResultWire: \"0\"\n\t},\n\t{\n\t\toperation: \"countBigInt\",\n\t\tinput: { kind: \"any\" },\n\t\toutput: {\n\t\t\tkind: \"codec\",\n\t\t\tcodecId: PG_INT8_CODEC_ID\n\t\t},\n\t\tnullable: false,\n\t\temptyResultWire: \"0\",\n\t\tlower: computedWith(\"count\")\n\t},\n\t...FIXED_WIDTH_INTEGER_CODECS.map((codecId) => produces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, PG_INT8_NUMBER_CODEC_ID)),\n\t...SUM_WIDENS_TO_INT8.map((codecId) => producesVia(\"sumBigInt\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, PG_INT8_CODEC_ID, computedWith(\"sum\"))),\n\t...SUM_WIDENS_TO_NUMERIC.map((codecId) => producesVia(\"sumBigInt\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, PG_UNBOUNDED_INT_CODEC_ID, computedWith(\"sum\"))),\n\tproducesVia(\"sumBigInt\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_UNBOUNDED_INT_CODEC_ID\n\t}, PG_UNBOUNDED_INT_CODEC_ID, computedWith(\"sum\")),\n\tproduces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_FLOAT4_CODEC_ID\n\t}, PG_FLOAT4_CODEC_ID),\n\t...DOUBLE_PRECISION_CODECS.map((codecId) => produces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, PG_FLOAT8_CODEC_ID)),\n\tproduces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_NUMERIC_CODEC_ID\n\t}, PG_NUMERIC_CODEC_ID),\n\tproduces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_UNBOUNDED_INT_CODEC_ID\n\t}, PG_UNBOUNDED_INT_CODEC_ID),\n\tproduces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_INTERVAL_CODEC_ID\n\t}, PG_INTERVAL_CODEC_ID),\n\tproduces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_INTERVAL_STRING_CODEC_ID\n\t}, PG_INTERVAL_STRING_CODEC_ID),\n\tproduces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_TIME_STRING_CODEC_ID\n\t}, PG_INTERVAL_CODEC_ID),\n\tproduces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_TIME_TEMPORAL_CODEC_ID\n\t}, PG_INTERVAL_CODEC_ID),\n\t...INTEGER_CODECS.map((codecId) => producesVia(\"avg\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, PG_FLOAT8_CODEC_ID, avgCastToFloat8)),\n\t...[...INTEGER_CODECS, PG_NUMERIC_CODEC_ID].map((codecId) => producesVia(\"avgDecimal\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, PG_NUMERIC_CODEC_ID, computedWith(\"avg\"))),\n\t...[PG_FLOAT4_CODEC_ID, ...DOUBLE_PRECISION_CODECS].map((codecId) => produces(\"avg\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, PG_FLOAT8_CODEC_ID)),\n\tproduces(\"avg\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_NUMERIC_CODEC_ID\n\t}, PG_NUMERIC_CODEC_ID),\n\tproduces(\"avg\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_INTERVAL_CODEC_ID\n\t}, PG_INTERVAL_CODEC_ID),\n\tproduces(\"avg\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_INTERVAL_STRING_CODEC_ID\n\t}, PG_INTERVAL_STRING_CODEC_ID),\n\tproduces(\"avg\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_TIME_STRING_CODEC_ID\n\t}, PG_INTERVAL_CODEC_ID),\n\tproduces(\"avg\", {\n\t\tkind: \"codec\",\n\t\tcodecId: PG_TIME_TEMPORAL_CODEC_ID\n\t}, PG_INTERVAL_CODEC_ID),\n\t...orderingDescriptors(\"min\"),\n\t...orderingDescriptors(\"max\")\n];\n//#endregion\nexport { postgresAggregateDescriptors };\n\n//# sourceMappingURL=aggregates.mjs.map"],"mappings":";;;;;;AAMA,MAAM,kBAAkB,WAAW,WAAW;CAC7C;CACA;CACA,QAAQ,EAAE,MAAM,OAAO;CACvB,UAAU;AACX;;;;AAIA,MAAM,YAAY,WAAW,OAAO,aAAa;CAChD;CACA;CACA,QAAQ;EACP,MAAM;EACN;CACD;CACA,UAAU;AACX;;AAEA,MAAM,eAAe,WAAW,OAAO,SAAS,WAAW;CAC1D,GAAG,SAAS,WAAW,OAAO,OAAO;CACrC;AACD;;AAEA,MAAM,gBAAgB,QAAQ,EAAE,WAAW,IAAI,cAAc,IAAI,IAAI;;AAErE,MAAM,mBAAmB,EAAE,WAAW,SAAS,GAAG,IAAI,cAAc,OAAO,IAAI,GAAG,QAAQ;;AAE1F,MAAM,qBAAqB;CAC1B;CACA;CACA;CACA;AACD;;AAEA,MAAM,wBAAwB,CAAC,kBAAkB,uBAAuB;;AAExE,MAAM,6BAA6B,CAAC,GAAG,oBAAoB,GAAG,qBAAqB;;AAEnF,MAAM,iBAAiB,CAAC,GAAG,4BAA4B,yBAAyB;;AAEhF,MAAM,0BAA0B;CAC/B;CACA;CACA;AACD;;;;AAIA,MAAM,4BAA4B;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;;;AAIA,MAAM,yBAAyB,CAAC,qBAAqB,oBAAoB;AACzE,MAAM,uBAAuB,cAAc;CAC1C,eAAe,WAAW;EACzB,MAAM;EACN,OAAO;CACR,CAAC;CACD,eAAe,WAAW;EACzB,MAAM;EACN,OAAO;CACR,CAAC;CACD,GAAG,uBAAuB,KAAK,YAAY,SAAS,WAAW;EAC9D,MAAM;EACN;CACD,GAAG,gBAAgB,CAAC;CACpB,GAAG,0BAA0B,KAAK,YAAY,eAAe,WAAW;EACvE,MAAM;EACN;CACD,CAAC,CAAC;AACH;;;;AAIA,MAAM,+BAA+B;CACpC;EACC,WAAW;EACX,OAAO,EAAE,MAAM,MAAM;EACrB,QAAQ;GACP,MAAM;GACN,SAAS;EACV;EACA,UAAU;EACV,iBAAiB;CAClB;CACA;EACC,WAAW;EACX,OAAO,EAAE,MAAM,MAAM;EACrB,QAAQ;GACP,MAAM;GACN,SAAS;EACV;EACA,UAAU;EACV,iBAAiB;EACjB,OAAO,aAAa,OAAO;CAC5B;CACA,GAAG,2BAA2B,KAAK,YAAY,SAAS,OAAO;EAC9D,MAAM;EACN;CACD,GAAG,uBAAuB,CAAC;CAC3B,GAAG,mBAAmB,KAAK,YAAY,YAAY,aAAa;EAC/D,MAAM;EACN;CACD,GAAG,kBAAkB,aAAa,KAAK,CAAC,CAAC;CACzC,GAAG,sBAAsB,KAAK,YAAY,YAAY,aAAa;EAClE,MAAM;EACN;CACD,GAAG,2BAA2B,aAAa,KAAK,CAAC,CAAC;CAClD,YAAY,aAAa;EACxB,MAAM;EACN,SAAS;CACV,GAAG,2BAA2B,aAAa,KAAK,CAAC;CACjD,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,kBAAkB;CACrB,GAAG,wBAAwB,KAAK,YAAY,SAAS,OAAO;EAC3D,MAAM;EACN;CACD,GAAG,kBAAkB,CAAC;CACtB,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,mBAAmB;CACtB,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,yBAAyB;CAC5B,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,oBAAoB;CACvB,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,2BAA2B;CAC9B,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,oBAAoB;CACvB,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,oBAAoB;CACvB,GAAG,eAAe,KAAK,YAAY,YAAY,OAAO;EACrD,MAAM;EACN;CACD,GAAG,oBAAoB,eAAe,CAAC;CACvC,GAAG,CAAC,GAAG,gBAAgB,mBAAmB,CAAC,CAAC,KAAK,YAAY,YAAY,cAAc;EACtF,MAAM;EACN;CACD,GAAG,qBAAqB,aAAa,KAAK,CAAC,CAAC;CAC5C,GAAG,CAAC,oBAAoB,GAAG,uBAAuB,CAAC,CAAC,KAAK,YAAY,SAAS,OAAO;EACpF,MAAM;EACN;CACD,GAAG,kBAAkB,CAAC;CACtB,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,mBAAmB;CACtB,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,oBAAoB;CACvB,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,2BAA2B;CAC9B,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,oBAAoB;CACvB,SAAS,OAAO;EACf,MAAM;EACN,SAAS;CACV,GAAG,oBAAoB;CACvB,GAAG,oBAAoB,KAAK;CAC5B,GAAG,oBAAoB,KAAK;AAC7B"}
|