@prisma/orm-target-postgres 8.0.0-rc.24-dev.28 → 8.0.0-rc.24-dev.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/{adapter-B2zr93n1-DA67Xn-f.mjs → adapter-VDAs5CMq-OezO60C5.mjs} +6 -6
- package/dist/{adapter-B2zr93n1-DA67Xn-f.mjs.map → adapter-VDAs5CMq-OezO60C5.mjs.map} +1 -1
- package/dist/{adapter-BQExUKg6.d.mts → adapter-XucRgedT.d.mts} +13 -13
- package/dist/{adapter-BQExUKg6.d.mts.map → adapter-XucRgedT.d.mts.map} +1 -1
- package/dist/adapter.d.mts +5 -5
- package/dist/adapter.mjs +5 -5
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +2 -2
- package/dist/adapter__control.d.mts +3 -3
- package/dist/adapter__control.mjs +4 -4
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.mjs +5 -5
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/adapter__types.d.mts +2 -2
- package/dist/{aggregates-C2c48ORM.d.mts → aggregates-CJGvlOCM.d.mts} +12 -12
- package/dist/{aggregates-C2c48ORM.d.mts.map → aggregates-CJGvlOCM.d.mts.map} +1 -1
- package/dist/{authoring-DPwc7x9U-BZkXpPSH.mjs → authoring-4dCWsSXg-DeIEoQWg.mjs} +7 -7
- package/dist/authoring-4dCWsSXg-DeIEoQWg.mjs.map +1 -0
- package/dist/{autoincrement-widths-PwZcc5Co-1O2WEMYq.mjs → autoincrement-widths-BZUr8bLa-Dqtjwcf-.mjs} +3 -3
- package/dist/{autoincrement-widths-PwZcc5Co-1O2WEMYq.mjs.map → autoincrement-widths-BZUr8bLa-Dqtjwcf-.mjs.map} +1 -1
- package/dist/{check-expressions-Ch-A_NJN-BscDa8xT.mjs → check-expressions-cvFP1EFS-CPLt6x-O.mjs} +3 -3
- package/dist/{check-expressions-Ch-A_NJN-BscDa8xT.mjs.map → check-expressions-cvFP1EFS-CPLt6x-O.mjs.map} +1 -1
- package/dist/{codec-registry-B0LsFn7Z-ej9yKwTq.mjs → codec-registry-FvoD6sJj-ClHgHbyf.mjs} +4 -4
- package/dist/{codec-registry-B0LsFn7Z-ej9yKwTq.mjs.map → codec-registry-FvoD6sJj-ClHgHbyf.mjs.map} +1 -1
- package/dist/{codec-type-map-C_5OBkHw-DZ0UDSJr.d.mts → codec-type-map-CE_EveiY-S4IH6WPx.d.mts} +3 -3
- package/dist/{codec-type-map-C_5OBkHw-DZ0UDSJr.d.mts.map → codec-type-map-CE_EveiY-S4IH6WPx.d.mts.map} +1 -1
- package/dist/{codec-types-xyW4TiJD-CRDK7QcS.d.mts → codec-types-B-OBDw_P-CBflZnmD.d.mts} +4 -4
- package/dist/{codec-types-xyW4TiJD-CRDK7QcS.d.mts.map → codec-types-B-OBDw_P-CBflZnmD.d.mts.map} +1 -1
- package/dist/codec-types-V7HlwAkU.d.mts +2 -0
- package/dist/{codecs-Bzj3M0Q3-C2oFSIGs.mjs → codecs-B2C2j2Un-Dc-aGN1s.mjs} +12 -11
- package/dist/codecs-B2C2j2Un-Dc-aGN1s.mjs.map +1 -0
- package/dist/{codecs-BZ74mlUI.d.mts → codecs-B6fSK4Rr.d.mts} +2 -2
- package/dist/{codecs-BZ74mlUI.d.mts.map → codecs-B6fSK4Rr.d.mts.map} +1 -1
- package/dist/{codecs-3AVVZDao-C0sUjmuO.d.mts → codecs-BttOxm7v-Bg7ybHIE.d.mts} +3 -3
- package/dist/{codecs-3AVVZDao-C0sUjmuO.d.mts.map → codecs-BttOxm7v-Bg7ybHIE.d.mts.map} +1 -1
- package/dist/{contract-contributions-Bc0_64Gr-KE0qggZv.mjs → contract-contributions-DG0aJRRu-31YCQkp-.mjs} +54 -39
- package/dist/contract-contributions-DG0aJRRu-31YCQkp-.mjs.map +1 -0
- package/dist/{contract-free-DiRem1nw.mjs → contract-free-dQ4A6kPg.mjs} +3 -3
- package/dist/{contract-free-DiRem1nw.mjs.map → contract-free-dQ4A6kPg.mjs.map} +1 -1
- package/dist/{control-B-0_CuJt.d.mts → control-Bbb6l2oc.d.mts} +3 -3
- package/dist/{control-B-0_CuJt.d.mts.map → control-Bbb6l2oc.d.mts.map} +1 -1
- package/dist/{control-j5GEV5-D.d.mts → control-BhtDvy9Z.d.mts} +2 -2
- package/dist/{control-j5GEV5-D.d.mts.map → control-BhtDvy9Z.d.mts.map} +1 -1
- package/dist/{control-policy-DKnVhEWD-xuJIvCy9.mjs → control-policy-Crcjg7Vz-39_fO8yR.mjs} +11 -11
- package/dist/{control-policy-DKnVhEWD-xuJIvCy9.mjs.map → control-policy-Crcjg7Vz-39_fO8yR.mjs.map} +1 -1
- package/dist/{data-transform-2o0tpMs8-DADYIvEZ.d.mts → data-transform-BZ6kzJY4-DZBRydhx.d.mts} +3 -3
- package/dist/{data-transform-2o0tpMs8-DADYIvEZ.d.mts.map → data-transform-BZ6kzJY4-DZBRydhx.d.mts.map} +1 -1
- package/dist/data-transform-Cg3syfOe.d.mts +1 -0
- package/dist/{data-type-entries-CVxsfjF3-Bd0cSfuG.mjs → data-type-entries-CKHtbfmn-DBNF36FF.mjs} +3 -3
- package/dist/{data-type-entries-CVxsfjF3-Bd0cSfuG.mjs.map → data-type-entries-CKHtbfmn-DBNF36FF.mjs.map} +1 -1
- package/dist/{data-types-DWfwErIu-DF85cgmu.mjs → data-types-DgYRia-g-B_BFlAC3.mjs} +8 -9
- package/dist/data-types-DgYRia-g-B_BFlAC3.mjs.map +1 -0
- package/dist/{date-time-now-generators-BORO1_nc-BdCe3ppq.mjs → date-time-now-generators-DylEKfQR-CYbXE0y0.mjs} +5 -8
- package/dist/date-time-now-generators-DylEKfQR-CYbXE0y0.mjs.map +1 -0
- package/dist/{ddl-DCQLfg18-BgWGYC7L.mjs → ddl-Cy_8QS23-D9EVihrI.mjs} +3 -3
- package/dist/{ddl-DCQLfg18-BgWGYC7L.mjs.map → ddl-Cy_8QS23-D9EVihrI.mjs.map} +1 -1
- package/dist/{descriptor-meta-46EhsECb-C5EGe36u.mjs → descriptor-meta-CakMYWwZ-DSQNCwWB.mjs} +13 -12
- package/dist/descriptor-meta-CakMYWwZ-DSQNCwWB.mjs.map +1 -0
- package/dist/{descriptor-meta-DUDk-DLN-B_WUfFf7.mjs → descriptor-meta-DwXEu6Ap-qDhyaRK4.mjs} +8 -7
- package/dist/descriptor-meta-DwXEu6Ap-qDhyaRK4.mjs.map +1 -0
- package/dist/{diff-database-schema-BJKAfPAG-LCJmdiQq.mjs → diff-database-schema-CVmwyjFf-DSWPpd4M.mjs} +10 -10
- package/dist/{diff-database-schema-BJKAfPAG-LCJmdiQq.mjs.map → diff-database-schema-CVmwyjFf-DSWPpd4M.mjs.map} +1 -1
- package/dist/{diff-database-schema-rhLkiByE.d.mts → diff-database-schema-NiGuGt9b.d.mts} +2 -2
- package/dist/{diff-database-schema-rhLkiByE.d.mts.map → diff-database-schema-NiGuGt9b.d.mts.map} +1 -1
- package/dist/driver.mjs +1 -1
- package/dist/driver__runtime.mjs +1 -1
- package/dist/{errors-C4-Dp3gI-B5jY5eJj.mjs → errors-DxWL0CMX-BQe7Wfvt.mjs} +8 -7
- package/dist/{errors-C4-Dp3gI-B5jY5eJj.mjs.map → errors-DxWL0CMX-BQe7Wfvt.mjs.map} +1 -1
- package/dist/{full-text-oDBhUHI5.mjs → full-text-Bu_qI2ue.mjs} +3 -3
- package/dist/{full-text-oDBhUHI5.mjs.map → full-text-Bu_qI2ue.mjs.map} +1 -1
- package/dist/{full-text-collection-method-CtUV9NT0-CQuFZ4aH.d.mts → full-text-collection-method-Dc6I12lP-BFkF4drB.d.mts} +4 -4
- package/dist/full-text-collection-method-Dc6I12lP-BFkF4drB.d.mts.map +1 -0
- package/dist/{full-text-index-definition-DzRCaPjb-0USKN1ZI.mjs → full-text-index-definition-MMcQF3_0-wRCz2FDP.mjs} +3 -3
- package/dist/{full-text-index-definition-DzRCaPjb-0USKN1ZI.mjs.map → full-text-index-definition-MMcQF3_0-wRCz2FDP.mjs.map} +1 -1
- package/dist/{full-text-DGueFVx9.d.mts → full-text-pZNF76pS.d.mts} +3 -3
- package/dist/{full-text-DGueFVx9.d.mts.map → full-text-pZNF76pS.d.mts.map} +1 -1
- package/dist/{full-text-parsers-BZV74MUg-TfQ8rvPW.mjs → full-text-parsers-m8GS0pst-C6RPRehL.mjs} +4 -4
- package/dist/{full-text-parsers-BZV74MUg-TfQ8rvPW.mjs.map → full-text-parsers-m8GS0pst-C6RPRehL.mjs.map} +1 -1
- package/dist/{full-text-search-document-BqqvjJoC-HaoeMaM5.mjs → full-text-search-document-B5VCeQFz-D4hKtj-M.mjs} +5 -5
- package/dist/{full-text-search-document-BqqvjJoC-HaoeMaM5.mjs.map → full-text-search-document-B5VCeQFz-D4hKtj-M.mjs.map} +1 -1
- package/dist/{index-types-DGrgbAd4-DuGWdvol.mjs → index-types-CiM75RsF-DhmXdi38.mjs} +3 -3
- package/dist/{index-types-DGrgbAd4-DuGWdvol.mjs.map → index-types-CiM75RsF-DhmXdi38.mjs.map} +1 -1
- package/dist/{indexes-ooG0J-V8-CTm1QvmZ.d.mts → indexes-pfYKpulO-BWj-l1W3.d.mts} +8 -4
- package/dist/indexes-pfYKpulO-BWj-l1W3.d.mts.map +1 -0
- package/dist/{infer-psl-contract-DqtogWJ8-CUXUG-wF.mjs → infer-psl-contract-DgQutzGt-C1wN72ZC.mjs} +9 -9
- package/dist/{infer-psl-contract-DqtogWJ8-CUXUG-wF.mjs.map → infer-psl-contract-DgQutzGt-C1wN72ZC.mjs.map} +1 -1
- package/dist/{issue-planner-BlN8mK4E.d.mts → issue-planner-GkMubzHu.d.mts} +7 -6
- package/dist/issue-planner-GkMubzHu.d.mts.map +1 -0
- package/dist/{migration-CovfYOjm.d.mts → migration-BRcETuO-.d.mts} +4 -4
- package/dist/migration-BRcETuO-.d.mts.map +1 -0
- package/dist/migration-Be_iuIpn.mjs.map +1 -1
- package/dist/{native-type-normalizer-PGvExTgu.mjs → native-type-normalizer-DY__fyaa.mjs} +2 -2
- package/dist/{native-type-normalizer-PGvExTgu.mjs.map → native-type-normalizer-DY__fyaa.mjs.map} +1 -1
- package/dist/{op-factory-call-CG80t74g-D9tjd13N.d.mts → op-factory-call-Bz6ft8sk-JjpSUMTb.d.mts} +22 -6
- package/dist/op-factory-call-Bz6ft8sk-JjpSUMTb.d.mts.map +1 -0
- package/dist/op-factory-call-COB28WBr.d.mts +1 -0
- package/dist/{op-factory-call-THEIwT0J-DQM3Y94S.mjs → op-factory-call-DvezqqJx-KBDyNT08.mjs} +239 -182
- package/dist/op-factory-call-DvezqqJx-KBDyNT08.mjs.map +1 -0
- package/dist/operation-types-CaLyyiOR.d.mts +1 -0
- package/dist/{operation-types-Cnw0XvnJ-BZax8w1C.d.mts → operation-types-Da5h_iSt-Dqe_QrW_.d.mts} +3 -3
- package/dist/{operation-types-Cnw0XvnJ-BZax8w1C.d.mts.map → operation-types-Da5h_iSt-Dqe_QrW_.d.mts.map} +1 -1
- package/dist/{pack-ReYuY9t5.d.mts → pack-DshiZKVJ.d.mts} +6 -7
- package/dist/{pack-ReYuY9t5.d.mts.map → pack-DshiZKVJ.d.mts.map} +1 -1
- package/dist/{planner-Bw0tlQWK.d.mts → planner-CTwe5ozf.d.mts} +6 -5
- package/dist/{planner-Bw0tlQWK.d.mts.map → planner-CTwe5ozf.d.mts.map} +1 -1
- package/dist/{planner-BHH46ndt-Q6-LPhnL.mjs → planner-D2T46plG-BChGUTOA.mjs} +189 -54
- package/dist/planner-D2T46plG-BChGUTOA.mjs.map +1 -0
- package/dist/{planner-ddl-builders-Ds3Xcsg7-5-bR7xgo.mjs → planner-ddl-builders-Blf3qKKf-BopCSwrT.mjs} +3 -3
- package/dist/{planner-ddl-builders-Ds3Xcsg7-5-bR7xgo.mjs.map → planner-ddl-builders-Blf3qKKf-BopCSwrT.mjs.map} +1 -1
- package/dist/{planner-identity-values-CQZbvcx0-BpAvjtip.mjs → planner-identity-values-CX3J2pLA-CjCpOnue.mjs} +3 -3
- package/dist/{planner-identity-values-CQZbvcx0-BpAvjtip.mjs.map → planner-identity-values-CX3J2pLA-CjCpOnue.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-FtUIqqVg-ouPTcZ8X.mjs → planner-produced-postgres-migration-BLKk9Vaz-CsUhcKp1.mjs} +7 -7
- package/dist/planner-produced-postgres-migration-BLKk9Vaz-CsUhcKp1.mjs.map +1 -0
- package/dist/planner-produced-postgres-migration-CDE9JowN.d.mts +1 -0
- package/dist/{planner-produced-postgres-migration-exqzWlvW-DGLu2dQ7.d.mts → planner-produced-postgres-migration-Jizp3q0s-D_Sq7rld.d.mts} +5 -6
- package/dist/planner-produced-postgres-migration-Jizp3q0s-D_Sq7rld.d.mts.map +1 -0
- package/dist/{planner-sql-checks-BOdYkh9L-hXxekxJX.mjs → planner-sql-checks-CzxowQml-moHPNh20.mjs} +5 -5
- package/dist/{planner-sql-checks-BOdYkh9L-hXxekxJX.mjs.map → planner-sql-checks-CzxowQml-moHPNh20.mjs.map} +1 -1
- package/dist/{planner-target-details-boDXR2s7-CExrk6rf.d.mts → planner-target-details-DywkQKS4-lZEm-EiF.d.mts} +3 -3
- package/dist/planner-target-details-DywkQKS4-lZEm-EiF.d.mts.map +1 -0
- package/dist/{postgres-codec-traits-D9YEvK6F-BsKaAhCA.mjs → postgres-codec-traits-YxSb5di3-9F5ofwnG.mjs} +3 -3
- package/dist/{postgres-codec-traits-D9YEvK6F-BsKaAhCA.mjs.map → postgres-codec-traits-YxSb5di3-9F5ofwnG.mjs.map} +1 -1
- package/dist/{postgres-contract-view-DtsmkyFX-Bas8oQiN.mjs → postgres-contract-view-DhDzWNCN-BA5OpwhY.mjs} +10 -10
- package/dist/postgres-contract-view-DhDzWNCN-BA5OpwhY.mjs.map +1 -0
- package/dist/{postgres-migration-DEkPcs8x-CLxAKfHm.d.mts → postgres-migration-6nN7HQlZ-Ca0thLBy.d.mts} +5 -5
- package/dist/{postgres-migration-DEkPcs8x-CLxAKfHm.d.mts.map → postgres-migration-6nN7HQlZ-Ca0thLBy.d.mts.map} +1 -1
- package/dist/{postgres-migration-D5lRerLT-DyYh8UPS.mjs → postgres-migration-DEa-g6j1-CoG3QOV3.mjs} +18 -16
- package/dist/postgres-migration-DEa-g6j1-CoG3QOV3.mjs.map +1 -0
- package/dist/{postgres-schema-zd_p5Lg2-BdJlG7Cg.mjs → postgres-schema-CIfq1AjC-CGiMjtSX.mjs} +4 -4
- package/dist/{postgres-schema-zd_p5Lg2-BdJlG7Cg.mjs.map → postgres-schema-CIfq1AjC-CGiMjtSX.mjs.map} +1 -1
- package/dist/{prisma7-binding-BGEW0R_9.mjs → prisma7-binding-BRPindAK.mjs} +7 -7
- package/dist/{prisma7-binding-BGEW0R_9.mjs.map → prisma7-binding-BRPindAK.mjs.map} +1 -1
- package/dist/{prisma7-binding-DSQpvEBe.d.mts → prisma7-binding-BqClsmwa.d.mts} +6 -7
- package/dist/{prisma7-binding-DSQpvEBe.d.mts.map → prisma7-binding-BqClsmwa.d.mts.map} +1 -1
- package/dist/{registry-D4AyYsXr-CgiiMuFS.mjs → registry-CWgvB0Fj-Czwmfmzd.mjs} +3 -3
- package/dist/{registry-D4AyYsXr-CgiiMuFS.mjs.map → registry-CWgvB0Fj-Czwmfmzd.mjs.map} +1 -1
- package/dist/{render-ops-B5Mh0MpJ-Dc_dH1Sk.mjs → render-ops-Bl1R5cz0-CFshOROt.mjs} +4 -4
- package/dist/{render-ops-B5Mh0MpJ-Dc_dH1Sk.mjs.map → render-ops-Bl1R5cz0-CFshOROt.mjs.map} +1 -1
- package/dist/{render-ops-CEwI8Iyf.d.mts → render-ops-oYwF1MRN.d.mts} +2 -2
- package/dist/{render-ops-CEwI8Iyf.d.mts.map → render-ops-oYwF1MRN.d.mts.map} +1 -1
- package/dist/{render-typescript-Dqp1Spgn-B4mJhuVr.mjs → render-typescript-B-Igkk6D-CQ-WlBmb.mjs} +9 -24
- package/dist/render-typescript-B-Igkk6D-CQ-WlBmb.mjs.map +1 -0
- package/dist/{render-typescript-BysdXYpH.d.mts → render-typescript-dgxcyEaj.d.mts} +2 -9
- package/dist/render-typescript-dgxcyEaj.d.mts.map +1 -0
- package/dist/{resolve-ddl-schema-BwKuzGm--BVgPhp86.mjs → resolve-ddl-schema-C2KTxEX3-D8Jd9Rx1.mjs} +3 -3
- package/dist/{resolve-ddl-schema-BwKuzGm--BVgPhp86.mjs.map → resolve-ddl-schema-C2KTxEX3-D8Jd9Rx1.mjs.map} +1 -1
- package/dist/{runtime-DPhbi9_3.mjs → runtime-BArZXVRj.mjs} +7 -7
- package/dist/{runtime-DPhbi9_3.mjs.map → runtime-BArZXVRj.mjs.map} +1 -1
- package/dist/{runtime-BMG3ddkQ.d.mts → runtime-DhK5uy8-.d.mts} +2 -2
- package/dist/{runtime-BMG3ddkQ.d.mts.map → runtime-DhK5uy8-.d.mts.map} +1 -1
- package/dist/{runtime-Cnam1N0o.mjs → runtime-IkvlhDl7.mjs} +2 -2
- package/dist/{runtime-Cnam1N0o.mjs.map → runtime-IkvlhDl7.mjs.map} +1 -1
- package/dist/{sql-renderer-Bj41PrUl-Jbs8Ojfr.mjs → sql-renderer-Bj41PrUl-BDN4jKm9.mjs} +3 -3
- package/dist/{sql-renderer-Bj41PrUl-Jbs8Ojfr.mjs.map → sql-renderer-Bj41PrUl-BDN4jKm9.mjs.map} +1 -1
- package/dist/{sql-utils-Bq4nuPvy.d.mts → sql-utils-CHtt-prW.d.mts} +6 -2
- package/dist/{sql-utils-Bq4nuPvy.d.mts.map → sql-utils-CHtt-prW.d.mts.map} +1 -1
- package/dist/{sql-utils-CRPhDLp1-wbgQW5TM.mjs → sql-utils-ClKAaUlZ-BdjnkJvV.mjs} +8 -4
- package/dist/{sql-utils-CRPhDLp1-wbgQW5TM.mjs.map → sql-utils-ClKAaUlZ-BdjnkJvV.mjs.map} +1 -1
- package/dist/target.d.mts +29 -29
- package/dist/target.mjs +35 -35
- package/dist/target__aggregates.d.mts +1 -1
- package/dist/target__codec-types.d.mts +3 -3
- package/dist/target__codecs.d.mts +2 -2
- package/dist/target__codecs.mjs +3 -3
- package/dist/target__contract-free.mjs +3 -3
- package/dist/target__control.d.mts +1 -1
- package/dist/target__control.mjs +24 -16
- package/dist/target__control.mjs.map +1 -1
- package/dist/target__data-transform.d.mts +2 -2
- package/dist/target__data-types.mjs +2 -2
- package/dist/target__diff-database-schema.d.mts +1 -1
- package/dist/target__diff-database-schema.mjs +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.d.mts +1 -1
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.d.mts +3 -3
- package/dist/target__migration.mjs +1 -1
- package/dist/target__native-type-normalizer.mjs +1 -1
- package/dist/target__op-factory-call.d.mts +3 -3
- package/dist/target__op-factory-call.mjs +2 -2
- 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.d.mts +2 -2
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-sql-checks.mjs +1 -1
- package/dist/target__planner-target-details.d.mts +1 -1
- package/dist/target__planner.d.mts +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.d.mts +1 -1
- package/dist/target__render-ops.mjs +1 -1
- package/dist/target__render-typescript.d.mts +1 -1
- package/dist/target__render-typescript.mjs +1 -1
- package/dist/target__runtime.d.mts +2 -2
- package/dist/target__runtime.mjs +4 -4
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__sql-utils.d.mts +2 -2
- package/dist/target__sql-utils.mjs +4 -4
- package/dist/target__types.mjs +2 -2
- package/dist/{types-B_HaL8V4.d.mts → types-BxgDP3d4.d.mts} +1 -1
- package/package.json +16 -16
- package/dist/authoring-DPwc7x9U-BZkXpPSH.mjs.map +0 -1
- package/dist/codec-types-FPJG3oQH.d.mts +0 -2
- package/dist/codecs-Bzj3M0Q3-C2oFSIGs.mjs.map +0 -1
- package/dist/contract-contributions-Bc0_64Gr-KE0qggZv.mjs.map +0 -1
- package/dist/data-transform-DX9I716A.d.mts +0 -1
- package/dist/data-types-DWfwErIu-DF85cgmu.mjs.map +0 -1
- package/dist/date-time-now-generators-BORO1_nc-BdCe3ppq.mjs.map +0 -1
- package/dist/descriptor-meta-46EhsECb-C5EGe36u.mjs.map +0 -1
- package/dist/descriptor-meta-DUDk-DLN-B_WUfFf7.mjs.map +0 -1
- package/dist/full-text-collection-method-CtUV9NT0-CQuFZ4aH.d.mts.map +0 -1
- package/dist/indexes-ooG0J-V8-CTm1QvmZ.d.mts.map +0 -1
- package/dist/issue-planner-BlN8mK4E.d.mts.map +0 -1
- package/dist/migration-CovfYOjm.d.mts.map +0 -1
- package/dist/op-factory-call-CG80t74g-D9tjd13N.d.mts.map +0 -1
- package/dist/op-factory-call-DRapuFEI.d.mts +0 -1
- package/dist/op-factory-call-THEIwT0J-DQM3Y94S.mjs.map +0 -1
- package/dist/operation-types-D1F7DwdI.d.mts +0 -1
- package/dist/planner-BHH46ndt-Q6-LPhnL.mjs.map +0 -1
- package/dist/planner-produced-postgres-migration-CulnCxu2.d.mts +0 -1
- package/dist/planner-produced-postgres-migration-FtUIqqVg-ouPTcZ8X.mjs.map +0 -1
- package/dist/planner-produced-postgres-migration-exqzWlvW-DGLu2dQ7.d.mts.map +0 -1
- package/dist/planner-target-details-boDXR2s7-CExrk6rf.d.mts.map +0 -1
- package/dist/postgres-contract-view-DtsmkyFX-Bas8oQiN.mjs.map +0 -1
- package/dist/postgres-migration-D5lRerLT-DyYh8UPS.mjs.map +0 -1
- package/dist/render-typescript-BysdXYpH.d.mts.map +0 -1
- package/dist/render-typescript-Dqp1Spgn-B4mJhuVr.mjs.map +0 -1
package/dist/target.d.mts
CHANGED
|
@@ -9,54 +9,54 @@ import { n as policyInputFromSerialized, t as SerializedRlsPolicy } from "./type
|
|
|
9
9
|
import { a as PostgresCodecOptions, c as isPostgresCodecDescriptor, i as PostgresCodecDescriptorRegistry, l as postgresCodec, n as AnyPostgresCodecDescriptor, o as buildPostgresCodecDescriptorRegistry, r as PostgresCodecDescriptor, s as definePostgresCodecs, t as AdaptedPostgresCodecDescriptor } from "./codec-descriptor-nXA2rkO1-DyArG-p2.mjs";
|
|
10
10
|
import "./codec-descriptor-Dp3lP7Rc.mjs";
|
|
11
11
|
import { A as PG_TIMESTAMP_INSTANT_CODEC_ID, B as PG_VARCHAR_CODEC_ID, C as PG_OID_CODEC_ID, D as PG_TIMESTAMPTZ_STRING_CODEC_ID, E as PG_TIMESTAMPTZ_DATE_CODEC_ID, F as PG_TIME_TEMPORAL_CODEC_ID, G as SQL_RAW_CODEC_ID, H as SQL_CHAR_CODEC_ID, I as PG_TSQUERY_CODEC_ID, K as SQL_TEXT_CODEC_ID, L as PG_UNBOUNDED_INT_CODEC_ID, M as PG_TIMESTAMP_TEMPORAL_CODEC_ID, N as PG_TIMETZ_CODEC_ID, O as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, P as PG_TIME_STRING_CODEC_ID, R as PG_UUID_CODEC_ID, S as PG_NUMERIC_CODEC_ID, T as PG_TEXT_CODEC_ID, U as SQL_FLOAT_CODEC_ID, V as PG_XML_CODEC_ID, W as SQL_INT_CODEC_ID, _ as PG_INTERVAL_STRING_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, b as PG_JSON_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, i as PG_CHAR_CODEC_ID, j as PG_TIMESTAMP_STRING_CODEC_ID, k as PG_TIMESTAMP_DATE_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, q as SQL_VARCHAR_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_ENUM_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_FLOAT_CODEC_ID, v as PG_INT_CODEC_ID, w as PG_TEXT_ARRAY_CODEC_ID, x as PG_MONEY_CODEC_ID, y as PG_JSONB_CODEC_ID, z as PG_VARBIT_CODEC_ID } from "./codec-ids-5MgmfzkI-C5V1rph6.mjs";
|
|
12
|
-
import { $ as pgFloat8Column, B as PgTimetzDescriptor, C as PgJsonDescriptor, Ct as pgVarbitColumn, D as PgOidDescriptor, E as PgNumericDescriptor, G as PgVarcharDescriptor, H as PgUnboundedIntDescriptor, I as PgTimestamptzDateCodec, J as pgBitColumn, K as PgXmlDescriptor, L as PgTimestamptzDateDescriptor, M as PgTimestampDateDescriptor, O as PgTextDescriptor, Q as pgFloat4Column, S as PgIntervalStringDescriptor, St as pgUuidColumn, T as PgMoneyDescriptor, Tt as pgXmlColumn, U as PgUuidDescriptor, W as PgVarbitDescriptor, X as pgCharColumn, Y as pgBoolColumn, Z as pgEnumDescriptor, _ as PgInt8NumberDescriptor, _t as pgTimestampDateDescriptor, at as pgInt8NumberColumn, b as PgIntervalDescriptor, bt as pgTimetzColumn, c as PgEnumDescriptor, ct as pgIntervalStringColumn, d as PgFloat8Descriptor, dt as pgJsonbColumn, et as pgFloatColumn, f as PgFloatDescriptor, ft as pgMoneyColumn, g as PgInt8Descriptor, gt as pgTimestampDateColumn, h as PgInt4Descriptor, ht as pgTextColumn, i as PgCharDescriptor, it as pgInt8Column, j as PgTimestampDateCodec, l as PgEnumParams, lt as pgIntervalStringDescriptor, m as PgInt2Descriptor, mt as pgOidColumn, n as PgBoolDescriptor, nt as pgInt2Column, ot as pgIntColumn, p as PgInetDescriptor, pt as pgNumericColumn, q as isPgEnumParams, rt as pgInt4Column, s as PgEnumCodec, st as pgIntervalColumn, t as PgBitDescriptor, tt as pgInetColumn, u as PgFloat4Descriptor, ut as pgJsonColumn, v as PgIntDescriptor, vt as pgTimestamptzDateColumn, w as PgJsonbDescriptor, wt as pgVarcharColumn, x as PgIntervalStringCodec, xt as pgUnboundedIntColumn, y as PgInterval, yt as pgTimestamptzDateDescriptor } from "./codecs-
|
|
12
|
+
import { $ as pgFloat8Column, B as PgTimetzDescriptor, C as PgJsonDescriptor, Ct as pgVarbitColumn, D as PgOidDescriptor, E as PgNumericDescriptor, G as PgVarcharDescriptor, H as PgUnboundedIntDescriptor, I as PgTimestamptzDateCodec, J as pgBitColumn, K as PgXmlDescriptor, L as PgTimestamptzDateDescriptor, M as PgTimestampDateDescriptor, O as PgTextDescriptor, Q as pgFloat4Column, S as PgIntervalStringDescriptor, St as pgUuidColumn, T as PgMoneyDescriptor, Tt as pgXmlColumn, U as PgUuidDescriptor, W as PgVarbitDescriptor, X as pgCharColumn, Y as pgBoolColumn, Z as pgEnumDescriptor, _ as PgInt8NumberDescriptor, _t as pgTimestampDateDescriptor, at as pgInt8NumberColumn, b as PgIntervalDescriptor, bt as pgTimetzColumn, c as PgEnumDescriptor, ct as pgIntervalStringColumn, d as PgFloat8Descriptor, dt as pgJsonbColumn, et as pgFloatColumn, f as PgFloatDescriptor, ft as pgMoneyColumn, g as PgInt8Descriptor, gt as pgTimestampDateColumn, h as PgInt4Descriptor, ht as pgTextColumn, i as PgCharDescriptor, it as pgInt8Column, j as PgTimestampDateCodec, l as PgEnumParams, lt as pgIntervalStringDescriptor, m as PgInt2Descriptor, mt as pgOidColumn, n as PgBoolDescriptor, nt as pgInt2Column, ot as pgIntColumn, p as PgInetDescriptor, pt as pgNumericColumn, q as isPgEnumParams, rt as pgInt4Column, s as PgEnumCodec, st as pgIntervalColumn, t as PgBitDescriptor, tt as pgInetColumn, u as PgFloat4Descriptor, ut as pgJsonColumn, v as PgIntDescriptor, vt as pgTimestamptzDateColumn, w as PgJsonbDescriptor, wt as pgVarcharColumn, x as PgIntervalStringCodec, xt as pgUnboundedIntColumn, y as PgInterval, yt as pgTimestamptzDateDescriptor } from "./codecs-BttOxm7v-Bg7ybHIE.mjs";
|
|
13
13
|
import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-BcrLExnx-DlCwavhu.mjs";
|
|
14
|
-
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup, n as assemblePostgresCodecRegistry, o as postgresCodecDescriptorRegistry, r as assemblePostgresCodecRegistryWithBuiltins, s as postgresCodecRegistry, t as PostgresCodecRegistry } from "./codecs-
|
|
14
|
+
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup, n as assemblePostgresCodecRegistry, o as postgresCodecDescriptorRegistry, r as assemblePostgresCodecRegistryWithBuiltins, s as postgresCodecRegistry, t as PostgresCodecRegistry } from "./codecs-B6fSK4Rr.mjs";
|
|
15
15
|
import { a as computeContentHash, i as RlsPolicyOperation, n as POLICY_COMMAND_SQL, o as policyRoleList, r as POLICY_OPERATION_PREDICATES, t as ContentHashParts } from "./canonicalize-B-xvDOdd-G3yUeKj4.mjs";
|
|
16
16
|
import { C as PostgresDropIndex, E as PostgresDropType, S as PostgresDisableRowLevelSecurity, T as PostgresDropSchema, _ as PostgresCreateSchema, a as AnyAlterTableAction, b as PostgresDdlNode, c as DdlIndexElements, d as PostgresAlterPolicyRename, f as PostgresAlterSchemaRename, g as PostgresCreatePolicy, h as PostgresCreateIndex, i as AlterTableActionVisitor, l as DropDefaultAction, m as PostgresAlterTableSetSchema, n as AddConstraintAction, o as AnyPostgresDdlNode, p as PostgresAlterTable, r as AlterColumnTypeAction, s as CreateIndexElements, t as AddColumnAction, u as PostgresAlterIndexRename, v as PostgresCreateTable, w as PostgresDropPolicy, x as PostgresDdlVisitor, y as PostgresCreateType } from "./nodes-s0Oe37jT-Cw3BU2gL.mjs";
|
|
17
17
|
import "./ddl-B8nQZTWN.mjs";
|
|
18
18
|
import "./codec-ids-JTQCwgBI.mjs";
|
|
19
19
|
import { a as FullTextIndexCandidate, c as FullTextSearchLanguage, d as fullTextIndexProblems, f as weightGroupsOf, i as FullTextFieldsInput, n as FULL_TEXT_INDEX_TYPE, o as FullTextIndexDefinition, r as FullTextColumnCodecs, s as FullTextIndexProblem, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, u as describeFullTextIndexProblem } from "./full-text-index-definition-D5iBWLss-BEpqiucV.mjs";
|
|
20
|
-
import { a as
|
|
21
|
-
import { t as postgresAggregateDescriptors } from "./aggregates-
|
|
22
|
-
import { a as Numeric, c as TimestampString, d as VarBit, f as Varchar, i as JsonValue$1, l as TimestamptzString, n as Char, o as ParameterizedOutputTypesForTypeParams, r as CodecTypes, s as TimeString, t as Bit, u as Timetz } from "./codec-types-
|
|
23
|
-
import "./codec-types-
|
|
20
|
+
import { a as quoteIdentifier, c as validateEnumValueLength, i as qualifyName, n as escapeLiteral, o as quoteQualifiedName, r as inlineLiteral, s as renderFullTextIndexDocument, t as CONTROL_PLANE_LC_MONETARY } from "./sql-utils-CHtt-prW.mjs";
|
|
21
|
+
import { t as postgresAggregateDescriptors } from "./aggregates-CJGvlOCM.mjs";
|
|
22
|
+
import { a as Numeric, c as TimestampString, d as VarBit, f as Varchar, i as JsonValue$1, l as TimestamptzString, n as Char, o as ParameterizedOutputTypesForTypeParams, r as CodecTypes, s as TimeString, t as Bit, u as Timetz } from "./codec-types-B-OBDw_P-CBflZnmD.mjs";
|
|
23
|
+
import "./codec-types-V7HlwAkU.mjs";
|
|
24
24
|
import { A as jsonb, B as textArray, C as createTable, D as indexExistsAst, E as extensionInSchemaAst, F as sequenceNameAvailableAst, H as timestamptzJsDate, I as tableExistsAst, L as tableIsEmptyAst, M as pgTable, N as rlsEnabledAst, O as int4, P as rlsPolicyExistsAst, R as tablePrimaryKeyAst, S as createSchema, T as extensionExistsAst, U as toRegclass, V as timestamptz, _ as columnDefaultSequenceAst, a as IndexExistsCheckBuilder, b as columnTypeAst, c as TableExistsCheckBuilder, d as addConstraintAction, f as alterColumnTypeAction, g as columnDefaultAst, h as buildSignMarkerBootstrapQueries, i as ExtensionExistsCheckBuilder, j as noNullValuesAst, k as int8, l as TablePrimaryKeyCheckBuilder, m as buildControlTableBootstrapQueries, n as ColumnExistsCheckBuilder, o as RlsEnabledCheckBuilder, p as alterTable, r as ConstraintExistsCheckBuilder, s as RlsPolicyExistsCheckBuilder, t as ColumnDefaultCheckBuilder, u as addColumnAction, v as columnExistsAst, w as dropDefaultAction, x as constraintExistsAst, y as columnNullabilityAst, z as text } from "./contract-free-DcaYH2c5.mjs";
|
|
25
|
-
import {
|
|
25
|
+
import { n as PostgresPlanTargetDetails } from "./planner-target-details-DywkQKS4-lZEm-EiF.mjs";
|
|
26
26
|
import { n as postgresNowGenerators, t as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-C7om6MxZ-B9S-CnE_.mjs";
|
|
27
|
-
import { n as postgresScalarTypes, t as postgresExplicitTypes } from "./control-
|
|
28
|
-
import { i as dataTransform, r as DataTransformOptions, t as DataTransformClosure } from "./data-transform-
|
|
29
|
-
import "./data-transform-
|
|
27
|
+
import { n as postgresScalarTypes, t as postgresExplicitTypes } from "./control-Bbb6l2oc.mjs";
|
|
28
|
+
import { i as dataTransform, r as DataTransformOptions, t as DataTransformClosure } from "./data-transform-BZ6kzJY4-DZBRydhx.mjs";
|
|
29
|
+
import "./data-transform-Cg3syfOe.mjs";
|
|
30
30
|
import { A as pgText, B as pgTsquery, C as pgJsonbEnumRefusal, D as pgNumericParams, E as pgNumeric, F as pgTimestampStoredText, G as postgresDataTypeEntries, H as pgVarbit, I as pgTimestamptz, J as qualifiedEnumName, K as postgresDataTypes, L as pgTimestamptzStoredText, M as pgTime, N as pgTimeStoredText, O as pgOid, P as pgTimestamp, R as pgTimetz, S as pgJsonb, T as pgMoneyStoredText, U as pgVarchar, V as pgUuid, W as pgXml, _ as pgInt2, a as pgBitLengthParams, b as pgInterval, c as pgChar, d as pgDateStoredText, f as pgEnum, g as pgInet, h as pgFloat8, i as pgBit, j as pgTextArray, k as pgPrecisionParams, l as pgCharacterLengthParams, m as pgFloat4, n as isPgOid, o as pgBool, p as pgEnumParams, q as postgresTextDataTypes, r as moneyTextOfCents, s as pgBytea, t as createPostgresBuiltinDataTypeLookup, u as pgDate, v as pgInt4, w as pgMoney, x as pgJson, y as pgInt8, z as pgTimetzStoredText } from "./data-types-Ct7TIZq3.mjs";
|
|
31
31
|
import { n as postgresResolveDefault, r as readPostgresDefault, t as PostgresReportedDefault } from "./default-normalizer-DO-cH75Q.mjs";
|
|
32
|
-
import { t as buildPostgresPlanDiff } from "./diff-database-schema-
|
|
32
|
+
import { t as buildPostgresPlanDiff } from "./diff-database-schema-NiGuGt9b.mjs";
|
|
33
33
|
import { n as postgresError, t as errorPostgresMigrationStackMissing } from "./errors-BmsTgN1e.mjs";
|
|
34
|
-
import { _ as plaintoTsquery, a as FullTextIndexReference, c as QueryOperationTypes, d as TsqueryArgument, f as TsqueryExpression, g as phrasetoTsquery, h as fullTextDocument, i as FullTextHeadlineOptions, l as QueryOperationTypesForCodecs, m as TsqueryParserOptions, n as FullTextDocumentColumn, o as FullTextMatchesOptions, p as TsqueryParser, r as FullTextDocumentGroups, s as FullTextRankOptions, t as FullTextDocument, u as TextArgument, v as toTsquery, y as websearchToTsquery } from "./operation-types-
|
|
35
|
-
import { n as PostgresTsqueryArgument, t as PostgresFullTextMethods } from "./full-text-collection-method-
|
|
36
|
-
import { n as tsquery, t as TsqueryTag } from "./full-text-
|
|
34
|
+
import { _ as plaintoTsquery, a as FullTextIndexReference, c as QueryOperationTypes, d as TsqueryArgument, f as TsqueryExpression, g as phrasetoTsquery, h as fullTextDocument, i as FullTextHeadlineOptions, l as QueryOperationTypesForCodecs, m as TsqueryParserOptions, n as FullTextDocumentColumn, o as FullTextMatchesOptions, p as TsqueryParser, r as FullTextDocumentGroups, s as FullTextRankOptions, t as FullTextDocument, u as TextArgument, v as toTsquery, y as websearchToTsquery } from "./operation-types-Da5h_iSt-Dqe_QrW_.mjs";
|
|
35
|
+
import { n as PostgresTsqueryArgument, t as PostgresFullTextMethods } from "./full-text-collection-method-Dc6I12lP-BFkF4drB.mjs";
|
|
36
|
+
import { n as tsquery, t as TsqueryTag } from "./full-text-pZNF76pS.mjs";
|
|
37
37
|
import { t as postgresCodecTraitsOf } from "./full-text-index-authoring-CN1L9C1k.mjs";
|
|
38
38
|
import { i as stackDataTypes, n as alterTypeCheck, r as qualifyTableName, t as ColumnTypeCheck } from "./planner-sql-checks-Ed-WGtge-D9ByMrW4.mjs";
|
|
39
|
-
import { A as EnableRowLevelSecurityCall, B as
|
|
40
|
-
import { n as planIssues, t as coalesceSubtreeIssues } from "./issue-planner-
|
|
39
|
+
import { A as EnableRowLevelSecurityCall, B as RenamePostgresRlsPolicyCall, C as DropExtensionCall, D as DropPostgresRlsPolicyCall, E as DropNotNullCall, F as RemoveStoredKeyCall, G as SetDefaultCall, H as RenameStoredKeyCall, I as RemoveStoredValueCall, J as SetTableSchemaCall, K as SetExtensionSchemaCall, L as RenameColumnCall, M as MIGRATION_MODULE, O as DropSchemaCall, P as RawSqlCall, R as RenameConstraintCall, S as DropDefaultCall, T as DropNativeEnumTypeCall, U as RenameTableCall, V as RenameSchemaCall, W as ReplaceStoredValueCall, _ as DeleteRowsCall, a as AddNativeEnumValueCall, b as DropColumnCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddForeignKeyCall, j as FillStoredKeyCall, k as DropTableCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreatePostgresRlsPolicyCall, q as SetNotNullCall, r as AddColumnWithTemporaryDefaultCall, s as AddRequiredColumnToEmptyTableCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DisableRowLevelSecurityCall, w as DropIndexCall, x as DropConstraintCall, y as DropCheckConstraintCall, z as RenameIndexCall } from "./op-factory-call-Bz6ft8sk-JjpSUMTb.mjs";
|
|
40
|
+
import { n as planIssues, t as coalesceSubtreeIssues } from "./issue-planner-GkMubzHu.mjs";
|
|
41
41
|
import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-BviIbusV.mjs";
|
|
42
42
|
import { t as PostgresContractView } from "./postgres-contract-view-BFzIDwwN-hL3QLe_b.mjs";
|
|
43
|
-
import { t as PostgresMigration } from "./postgres-migration-
|
|
44
|
-
import { a as foreignKey, c as primaryKey, d as unique, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as sql } from "./migration-
|
|
43
|
+
import { t as PostgresMigration } from "./postgres-migration-6nN7HQlZ-Ca0thLBy.mjs";
|
|
44
|
+
import { a as foreignKey, c as primaryKey, d as unique, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as sql } from "./migration-BRcETuO-.mjs";
|
|
45
45
|
import { n as IntrospectedTypeText, r as introspectedTypeText, t as CatalogColumnType } from "./native-type-normalizer-BaGa9eeb.mjs";
|
|
46
|
-
import "./op-factory-call-
|
|
47
|
-
import "./operation-types-
|
|
48
|
-
import "./pack-
|
|
49
|
-
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-
|
|
50
|
-
import { n as createPostgresMigrationPlanner, t as contractToPostgresDatabaseSchemaNode } from "./planner-
|
|
46
|
+
import "./op-factory-call-COB28WBr.mjs";
|
|
47
|
+
import "./operation-types-CaLyyiOR.mjs";
|
|
48
|
+
import "./pack-DshiZKVJ.mjs";
|
|
49
|
+
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-Jizp3q0s-D_Sq7rld.mjs";
|
|
50
|
+
import { n as createPostgresMigrationPlanner, t as contractToPostgresDatabaseSchemaNode } from "./planner-CTwe5ozf.mjs";
|
|
51
51
|
import { t as buildColumnTypeSql } from "./planner-ddl-builders-CPM3y7cQ.mjs";
|
|
52
52
|
import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-Dsq989Lh.mjs";
|
|
53
|
-
import "./planner-produced-postgres-migration-
|
|
53
|
+
import "./planner-produced-postgres-migration-CDE9JowN.mjs";
|
|
54
54
|
import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-ceCNOGFf.mjs";
|
|
55
55
|
import "./planner-sql-checks-rEjFx_Jv.mjs";
|
|
56
|
-
import { t as prisma7PostgresBinding } from "./prisma7-binding-
|
|
57
|
-
import { t as renderOps } from "./render-ops-
|
|
58
|
-
import { t as renderCallsToTypeScript } from "./render-typescript-
|
|
59
|
-
import { a as postgresIsolationLevelSchema, c as validatePostgresIsolationLevel, i as PostgresRuntimeTargetInstance, n as PostgresIsolationLevel, o as postgresIsolationLevels, r as PostgresListDecoder, t as PostgresContractSerializer } from "./runtime-
|
|
56
|
+
import { t as prisma7PostgresBinding } from "./prisma7-binding-BqClsmwa.mjs";
|
|
57
|
+
import { t as renderOps } from "./render-ops-oYwF1MRN.mjs";
|
|
58
|
+
import { t as renderCallsToTypeScript } from "./render-typescript-dgxcyEaj.mjs";
|
|
59
|
+
import { a as postgresIsolationLevelSchema, c as validatePostgresIsolationLevel, i as PostgresRuntimeTargetInstance, n as PostgresIsolationLevel, o as postgresIsolationLevels, r as PostgresListDecoder, t as PostgresContractSerializer } from "./runtime-DhK5uy8-.mjs";
|
|
60
60
|
import { t as resolveDdlSchemaForNamespaceStorage } from "./schema-ir-annotations-DCYs7ck-.mjs";
|
|
61
61
|
import { t as POSTGRES_MIN_SERVER_VERSION } from "./server-version-BprAueod.mjs";
|
|
62
|
-
export { type AdaptedPostgresCodecDescriptor, AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, type AlterTableActionVisitor, type AnyAlterTableAction, type AnyPostgresCodecDescriptor, type AnyPostgresDdlNode, Bit, type CatalogColumnType, Char, CodecTypes, type ColumnDefaultCheckBuilder, type ColumnExistsCheckBuilder, type ColumnTypeCheck, type ConstraintExistsCheckBuilder, type ContentHashParts, CreateExtensionCall, CreateIndexCall, type CreateIndexElements, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, type DataTransformClosure, type DataTransformOptions, type DdlIndexElements, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, type ExtensionExistsCheckBuilder, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, type FullTextColumnCodecs, FullTextDocument, type FullTextDocumentColumn, type FullTextDocumentGroups, type FullTextFieldsInput, type FullTextHeadlineOptions, type FullTextIndexCandidate, type FullTextIndexDefinition, type FullTextIndexProblem, type FullTextIndexReference, type FullTextMatchesOptions, type FullTextRankOptions, type FullTextSearchLanguage, type IndexExistsCheckBuilder, type IntrospectedTypeText, type JsonValue$1 as JsonValue, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, Numeric, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, POSTGRES_MIN_SERVER_VERSION, ParameterizedOutputTypesForTypeParams, type PgBitDescriptor, type PgBoolDescriptor, type PgCharDescriptor, type PgEnumCodec, type PgEnumDescriptor, type PgEnumParams, type PgFloat4Descriptor, type PgFloat8Descriptor, type PgFloatDescriptor, type PgInetDescriptor, type PgInt2Descriptor, type PgInt4Descriptor, type PgInt8Descriptor, type PgInt8NumberDescriptor, type PgIntDescriptor, type PgInterval, type PgIntervalDescriptor, PgIntervalStringCodec, PgIntervalStringDescriptor, type PgJsonDescriptor, type PgJsonbDescriptor, type PgMoneyDescriptor, type PgNumericDescriptor, type PgOidDescriptor, type PgTextDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, type PgTimetzDescriptor, type PgUnboundedIntDescriptor, type PgUuidDescriptor, type PgVarbitDescriptor, type PgVarcharDescriptor, type PgXmlDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, type PostgresCodecDescriptorRegistry, type PostgresCodecOptions, type PostgresCodecRegistry, type PostgresColumnDefault, type PostgresContract, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, type PostgresDatabaseSchemaNodeInput, PostgresDdlNode, type PostgresDdlVisitor, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, type PostgresExtensionInput, PostgresExtensionSchemaNode, type PostgresExtensionSchemaNodeInput, type PostgresFullTextMethods, type PostgresIsolationLevel, PostgresListDecoder, PostgresNamespaceSchemaNode, type PostgresNamespaceSchemaNodeInput, PostgresNativeEnum, type PostgresNativeEnumInput, PostgresNativeEnumSchemaNode, type PostgresNativeEnumSchemaNodeInput, type PostgresPlanTargetDetails, PostgresPolicySchemaNode, type PostgresPolicySchemaNodeInput, type PostgresReportedDefault, PostgresRlsEnablement, type PostgresRlsEnablementInput, PostgresRlsPolicy, type PostgresRlsPolicyInput, PostgresRole, type PostgresRoleInput, PostgresRoleSchemaNode, type PostgresRoleSchemaNodeInput, PostgresRuntimeTargetInstance, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, type PostgresTableSchemaNodeInput, PostgresTableSource, type PostgresTsqueryArgument, PostgresUnboundSchema, type QueryOperationTypes, type QueryOperationTypesForCodecs, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, type RenderedRlsPolicyLiteral, ReplaceStoredValueCall, type RlsEnabledCheckBuilder, type RlsPolicyExistsCheckBuilder, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, type SerializedRlsPolicy, SetDefaultCall, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, type TableExistsCheckBuilder, type TablePrimaryKeyCheckBuilder, type TextArgument, TimeString, TimestampString, TimestamptzString, Timetz, type TsqueryArgument, type TsqueryExpression, type TsqueryParser, type TsqueryParserOptions, type TsqueryTag, TypeScriptRenderablePostgresMigration, VarBit, Varchar, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresExplicitTypes, postgresIsolationLevelSchema, postgresIsolationLevels, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, validatePostgresIsolationLevel, websearchToTsquery, weightGroupsOf };
|
|
62
|
+
export { type AdaptedPostgresCodecDescriptor, AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, type AlterTableActionVisitor, type AnyAlterTableAction, type AnyPostgresCodecDescriptor, type AnyPostgresDdlNode, Bit, CONTROL_PLANE_LC_MONETARY, type CatalogColumnType, Char, CodecTypes, type ColumnDefaultCheckBuilder, type ColumnExistsCheckBuilder, type ColumnTypeCheck, type ConstraintExistsCheckBuilder, type ContentHashParts, CreateExtensionCall, CreateIndexCall, type CreateIndexElements, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, type DataTransformClosure, type DataTransformOptions, type DdlIndexElements, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, type ExtensionExistsCheckBuilder, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, type FullTextColumnCodecs, FullTextDocument, type FullTextDocumentColumn, type FullTextDocumentGroups, type FullTextFieldsInput, type FullTextHeadlineOptions, type FullTextIndexCandidate, type FullTextIndexDefinition, type FullTextIndexProblem, type FullTextIndexReference, type FullTextMatchesOptions, type FullTextRankOptions, type FullTextSearchLanguage, type IndexExistsCheckBuilder, type IntrospectedTypeText, type JsonValue$1 as JsonValue, MARKER_LOCK_KEY, MARKER_LOCK_SQL, MIGRATION_MODULE, PostgresMigration as Migration, MigrationCLI, Numeric, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, POSTGRES_MIN_SERVER_VERSION, ParameterizedOutputTypesForTypeParams, type PgBitDescriptor, type PgBoolDescriptor, type PgCharDescriptor, type PgEnumCodec, type PgEnumDescriptor, type PgEnumParams, type PgFloat4Descriptor, type PgFloat8Descriptor, type PgFloatDescriptor, type PgInetDescriptor, type PgInt2Descriptor, type PgInt4Descriptor, type PgInt8Descriptor, type PgInt8NumberDescriptor, type PgIntDescriptor, type PgInterval, type PgIntervalDescriptor, PgIntervalStringCodec, PgIntervalStringDescriptor, type PgJsonDescriptor, type PgJsonbDescriptor, type PgMoneyDescriptor, type PgNumericDescriptor, type PgOidDescriptor, type PgTextDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, type PgTimetzDescriptor, type PgUnboundedIntDescriptor, type PgUuidDescriptor, type PgVarbitDescriptor, type PgVarcharDescriptor, type PgXmlDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, type PostgresCodecDescriptorRegistry, type PostgresCodecOptions, type PostgresCodecRegistry, type PostgresColumnDefault, type PostgresContract, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, type PostgresDatabaseSchemaNodeInput, PostgresDdlNode, type PostgresDdlVisitor, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, type PostgresExtensionInput, PostgresExtensionSchemaNode, type PostgresExtensionSchemaNodeInput, type PostgresFullTextMethods, type PostgresIsolationLevel, PostgresListDecoder, PostgresNamespaceSchemaNode, type PostgresNamespaceSchemaNodeInput, PostgresNativeEnum, type PostgresNativeEnumInput, PostgresNativeEnumSchemaNode, type PostgresNativeEnumSchemaNodeInput, type PostgresPlanTargetDetails, PostgresPolicySchemaNode, type PostgresPolicySchemaNodeInput, type PostgresReportedDefault, PostgresRlsEnablement, type PostgresRlsEnablementInput, PostgresRlsPolicy, type PostgresRlsPolicyInput, PostgresRole, type PostgresRoleInput, PostgresRoleSchemaNode, type PostgresRoleSchemaNodeInput, PostgresRuntimeTargetInstance, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, type PostgresTableSchemaNodeInput, PostgresTableSource, type PostgresTsqueryArgument, PostgresUnboundSchema, type QueryOperationTypes, type QueryOperationTypesForCodecs, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, type RenderedRlsPolicyLiteral, ReplaceStoredValueCall, type RlsEnabledCheckBuilder, type RlsPolicyExistsCheckBuilder, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, type SerializedRlsPolicy, SetDefaultCall, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, type TableExistsCheckBuilder, type TablePrimaryKeyCheckBuilder, type TextArgument, TimeString, TimestampString, TimestamptzString, Timetz, type TsqueryArgument, type TsqueryExpression, type TsqueryParser, type TsqueryParserOptions, type TsqueryTag, TypeScriptRenderablePostgresMigration, VarBit, Varchar, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresExplicitTypes, postgresIsolationLevelSchema, postgresIsolationLevels, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, validatePostgresIsolationLevel, websearchToTsquery, weightGroupsOf };
|
package/dist/target.mjs
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { A as PG_TIMESTAMP_INSTANT_CODEC_ID, B as PG_VARCHAR_CODEC_ID, C as PG_OID_CODEC_ID, D as PG_TIMESTAMPTZ_STRING_CODEC_ID, E as PG_TIMESTAMPTZ_DATE_CODEC_ID, F as PG_TIME_TEMPORAL_CODEC_ID, G as SQL_RAW_CODEC_ID, H as SQL_CHAR_CODEC_ID, I as PG_TSQUERY_CODEC_ID, K as SQL_TEXT_CODEC_ID, L as PG_UNBOUNDED_INT_CODEC_ID, M as PG_TIMESTAMP_TEMPORAL_CODEC_ID, N as PG_TIMETZ_CODEC_ID, O as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, P as PG_TIME_STRING_CODEC_ID, R as PG_UUID_CODEC_ID, S as PG_NUMERIC_CODEC_ID, T as PG_TEXT_CODEC_ID, U as SQL_FLOAT_CODEC_ID, V as PG_XML_CODEC_ID, W as SQL_INT_CODEC_ID, _ as PG_INTERVAL_STRING_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, b as PG_JSON_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, i as PG_CHAR_CODEC_ID, j as PG_TIMESTAMP_STRING_CODEC_ID, k as PG_TIMESTAMP_DATE_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, q as SQL_VARCHAR_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_ENUM_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_FLOAT_CODEC_ID, v as PG_INT_CODEC_ID, w as PG_TEXT_ARRAY_CODEC_ID, x as PG_MONEY_CODEC_ID, y as PG_JSONB_CODEC_ID, z as PG_VARBIT_CODEC_ID } from "./codec-ids-2htdtS66-CJPMZv1t.mjs";
|
|
2
2
|
import { t as postgresAggregateDescriptors } from "./aggregates-BNste-08.mjs";
|
|
3
3
|
import { a as postgresCodec, i as isPostgresCodecDescriptor, n as buildPostgresCodecDescriptorRegistry, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-DBeD0UlS-BfvrE-KZ.mjs";
|
|
4
|
-
import { r as errorPostgresMigrationStackMissing, u as postgresError } from "./errors-
|
|
5
|
-
import { a as
|
|
6
|
-
import { $ as pgXml, A as pgJson, B as pgTextArray, C as pgFloat8, D as pgInt8, E as pgInt4, F as pgNumeric, G as pgTimestamptz, H as pgTimeStoredText, I as pgNumericParams, J as pgTimetzStoredText, K as pgTimestamptzStoredText, L as pgOid, M as pgJsonbEnumRefusal, N as pgMoney, O as pgInterval, P as pgMoneyStoredText, Q as pgVarchar, R as pgPrecisionParams, S as pgFloat4, T as pgInt2, U as pgTimestamp, V as pgTime, W as pgTimestampStoredText, X as pgUuid, Y as pgTsquery, Z as pgVarbit, _ as pgCharacterLengthParams, b as pgEnum, d as pgBitLengthParams, et as postgresDataTypes, f as pgBool, g as pgChar, it as qualifiedEnumName, j as pgJsonb, l as moneyTextOfCents, nt as postgresTextDataTypes, o as isPgOid, p as pgBytea, q as pgTimetz, r as createPostgresBuiltinDataTypeLookup, u as pgBit, v as pgDate, w as pgInet, x as pgEnumParams, y as pgDateStoredText, z as pgText } from "./data-types-
|
|
4
|
+
import { r as errorPostgresMigrationStackMissing, u as postgresError } from "./errors-DxWL0CMX-BQe7Wfvt.mjs";
|
|
5
|
+
import { a as qualifyName, c as validateEnumValueLength, i as inlineLiteral, o as quoteIdentifier, r as escapeLiteral, s as quoteQualifiedName, t as CONTROL_PLANE_LC_MONETARY } from "./sql-utils-ClKAaUlZ-BdjnkJvV.mjs";
|
|
6
|
+
import { $ as pgXml, A as pgJson, B as pgTextArray, C as pgFloat8, D as pgInt8, E as pgInt4, F as pgNumeric, G as pgTimestamptz, H as pgTimeStoredText, I as pgNumericParams, J as pgTimetzStoredText, K as pgTimestamptzStoredText, L as pgOid, M as pgJsonbEnumRefusal, N as pgMoney, O as pgInterval, P as pgMoneyStoredText, Q as pgVarchar, R as pgPrecisionParams, S as pgFloat4, T as pgInt2, U as pgTimestamp, V as pgTime, W as pgTimestampStoredText, X as pgUuid, Y as pgTsquery, Z as pgVarbit, _ as pgCharacterLengthParams, b as pgEnum, d as pgBitLengthParams, et as postgresDataTypes, f as pgBool, g as pgChar, it as qualifiedEnumName, j as pgJsonb, l as moneyTextOfCents, nt as postgresTextDataTypes, o as isPgOid, p as pgBytea, q as pgTimetz, r as createPostgresBuiltinDataTypeLookup, u as pgBit, v as pgDate, w as pgInet, x as pgEnumParams, y as pgDateStoredText, z as pgText } from "./data-types-DgYRia-g-B_BFlAC3.mjs";
|
|
7
7
|
import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs";
|
|
8
|
-
import { A as pgNumericColumn, B as pgVarbitColumn, C as pgIntColumn, D as pgJsonColumn, E as pgIntervalStringDescriptor, F as pgTimestamptzDateColumn, H as pgXmlColumn, I as pgTimestamptzDateDescriptor, L as pgTimetzColumn, M as pgTextColumn, N as pgTimestampDateColumn, O as pgJsonbColumn, P as pgTimestampDateDescriptor, R as pgUnboundedIntColumn, S as pgInt8NumberColumn, T as pgIntervalStringColumn, V as pgVarcharColumn, _ as pgFloatColumn, a as PgTimestamptzDateCodec, b as pgInt4Column, c as decodePostgresListText, d as pgBitColumn, f as pgBoolColumn, g as pgFloat8Column, h as pgFloat4Column, i as PgTimestampDateDescriptor, j as pgOidColumn, k as pgMoneyColumn, l as isPgEnumParams, m as pgEnumDescriptor, n as PgIntervalStringDescriptor, o as PgTimestamptzDateDescriptor, p as pgCharColumn, r as PgTimestampDateCodec, t as PgIntervalStringCodec, u as parsePostgresListText, v as pgInetColumn, w as pgIntervalColumn, x as pgInt8Column, y as pgInt2Column, z as pgUuidColumn } from "./codecs-
|
|
9
|
-
import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./registry-
|
|
10
|
-
import { i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-
|
|
11
|
-
import { f as weightGroupsOf, l as fullTextIndexProblems, n as FULL_TEXT_INDEX_TYPE, o as describeFullTextIndexProblem, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./full-text-index-definition-
|
|
12
|
-
import { _ as policyInputFromSerialized, c as PostgresRole, d as PostgresTableSource, f as PostgresUnboundSchema, i as PostgresRlsEnablement, m as isPostgresSchema, o as PostgresRlsPolicy, t as PostgresExtension, u as PostgresSchema, v as postgresCreateNamespace } from "./postgres-schema-
|
|
8
|
+
import { A as pgNumericColumn, B as pgVarbitColumn, C as pgIntColumn, D as pgJsonColumn, E as pgIntervalStringDescriptor, F as pgTimestamptzDateColumn, H as pgXmlColumn, I as pgTimestamptzDateDescriptor, L as pgTimetzColumn, M as pgTextColumn, N as pgTimestampDateColumn, O as pgJsonbColumn, P as pgTimestampDateDescriptor, R as pgUnboundedIntColumn, S as pgInt8NumberColumn, T as pgIntervalStringColumn, V as pgVarcharColumn, _ as pgFloatColumn, a as PgTimestamptzDateCodec, b as pgInt4Column, c as decodePostgresListText, d as pgBitColumn, f as pgBoolColumn, g as pgFloat8Column, h as pgFloat4Column, i as PgTimestampDateDescriptor, j as pgOidColumn, k as pgMoneyColumn, l as isPgEnumParams, m as pgEnumDescriptor, n as PgIntervalStringDescriptor, o as PgTimestamptzDateDescriptor, p as pgCharColumn, r as PgTimestampDateCodec, t as PgIntervalStringCodec, u as parsePostgresListText, v as pgInetColumn, w as pgIntervalColumn, x as pgInt8Column, y as pgInt2Column, z as pgUuidColumn } from "./codecs-B2C2j2Un-Dc-aGN1s.mjs";
|
|
9
|
+
import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./registry-CWgvB0Fj-Czwmfmzd.mjs";
|
|
10
|
+
import { i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-FvoD6sJj-ClHgHbyf.mjs";
|
|
11
|
+
import { f as weightGroupsOf, l as fullTextIndexProblems, n as FULL_TEXT_INDEX_TYPE, o as describeFullTextIndexProblem, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./full-text-index-definition-MMcQF3_0-wRCz2FDP.mjs";
|
|
12
|
+
import { _ as policyInputFromSerialized, c as PostgresRole, d as PostgresTableSource, f as PostgresUnboundSchema, i as PostgresRlsEnablement, m as isPostgresSchema, o as PostgresRlsPolicy, t as PostgresExtension, u as PostgresSchema, v as postgresCreateNamespace } from "./postgres-schema-CIfq1AjC-CGiMjtSX.mjs";
|
|
13
13
|
import { _ as PostgresDropIndex, a as PostgresAlterIndexRename, b as PostgresDropType, c as PostgresAlterTable, d as PostgresCreatePolicy, f as PostgresCreateSchema, g as PostgresDisableRowLevelSecurity, h as PostgresDdlNode, i as DropDefaultAction, l as PostgresAlterTableSetSchema, m as PostgresCreateType, n as AddConstraintAction, o as PostgresAlterPolicyRename, p as PostgresCreateTable, r as AlterColumnTypeAction, s as PostgresAlterSchemaRename, t as AddColumnAction, u as PostgresCreateIndex, v as PostgresDropPolicy, y as PostgresDropSchema } from "./nodes-G8VTh4PM-DNvIhHag.mjs";
|
|
14
|
-
import { A as extensionInSchemaAst, F as noNullValuesAst, G as tableIsEmptyAst, H as sequenceNameAvailableAst, K as tablePrimaryKeyAst, L as rlsEnabledAst, M as indexExistsAst, W as tableExistsAst, _ as constraintExistsAst, b as createSchema, d as columnExistsAst, f as columnNullabilityAst, k as extensionExistsAst, l as columnDefaultAst, m as columnTypeAst, n as addConstraintAction, q as toRegclass, r as alterColumnTypeAction, s as alterTable, t as addColumnAction, u as columnDefaultSequenceAst, w as dropDefaultAction, x as createTable, z as rlsPolicyExistsAst } from "./ddl-
|
|
15
|
-
import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-
|
|
14
|
+
import { A as extensionInSchemaAst, F as noNullValuesAst, G as tableIsEmptyAst, H as sequenceNameAvailableAst, K as tablePrimaryKeyAst, L as rlsEnabledAst, M as indexExistsAst, W as tableExistsAst, _ as constraintExistsAst, b as createSchema, d as columnExistsAst, f as columnNullabilityAst, k as extensionExistsAst, l as columnDefaultAst, m as columnTypeAst, n as addConstraintAction, q as toRegclass, r as alterColumnTypeAction, s as alterTable, t as addColumnAction, u as columnDefaultSequenceAst, w as dropDefaultAction, x as createTable, z as rlsPolicyExistsAst } from "./ddl-Cy_8QS23-D9EVihrI.mjs";
|
|
15
|
+
import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-dQ4A6kPg.mjs";
|
|
16
16
|
import { i as policyRoleList, n as POLICY_OPERATION_PREDICATES, r as computeContentHash, t as POLICY_COMMAND_SQL } from "./canonicalize-RdxoUHao-FTTkizfe.mjs";
|
|
17
|
-
import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-
|
|
18
|
-
import { c as postgresScalarTypes, o as postgresExplicitTypes } from "./authoring-
|
|
19
|
-
import { t as postgresRenderCheckExpressions } from "./check-expressions-
|
|
20
|
-
import { a as postgresNowGenerators, i as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-
|
|
21
|
-
import { t as postgresDataTypeEntries } from "./data-type-entries-
|
|
17
|
+
import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-YxSb5di3-9F5ofwnG.mjs";
|
|
18
|
+
import { c as postgresScalarTypes, o as postgresExplicitTypes } from "./authoring-4dCWsSXg-DeIEoQWg.mjs";
|
|
19
|
+
import { t as postgresRenderCheckExpressions } from "./check-expressions-cvFP1EFS-CPLt6x-O.mjs";
|
|
20
|
+
import { a as postgresNowGenerators, i as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-DylEKfQR-CYbXE0y0.mjs";
|
|
21
|
+
import { t as postgresDataTypeEntries } from "./data-type-entries-CKHtbfmn-DBNF36FF.mjs";
|
|
22
|
+
import { a as stackDataTypes, i as qualifyTableName, t as alterTypeCheck } from "./planner-sql-checks-CzxowQml-moHPNh20.mjs";
|
|
23
|
+
import { A as EnableRowLevelSecurityCall, B as RenameSchemaCall, C as DropExtensionCall, D as DropPostgresRlsPolicyCall, E as DropNotNullCall, F as RemoveStoredValueCall, G as SetDefaultCall, H as RenameTableCall, I as RenameColumnCall, J as SetTableSchemaCall, K as SetExtensionSchemaCall, L as RenameConstraintCall, M as MIGRATION_MODULE, N as RawSqlCall, O as DropSchemaCall, P as RemoveStoredKeyCall, R as RenameIndexCall, S as DropDefaultCall, T as DropNativeEnumTypeCall, U as ReplaceStoredValueCall, V as RenameStoredKeyCall, _ as DeleteRowsCall, a as AddNativeEnumValueCall, b as DropColumnCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddForeignKeyCall, j as FillStoredKeyCall, k as DropTableCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreatePostgresRlsPolicyCall, q as SetNotNullCall, r as AddColumnWithTemporaryDefaultCall, s as AddRequiredColumnToEmptyTableCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DisableRowLevelSecurityCall, w as DropIndexCall, x as DropConstraintCall, y as DropCheckConstraintCall, z as RenamePostgresRlsPolicyCall } from "./op-factory-call-DvezqqJx-KBDyNT08.mjs";
|
|
22
24
|
import { i as PostgresTableSchemaNode, n as PostgresNativeEnumSchemaNode, r as PostgresSchemaNodeKind, t as PostgresExtensionSchemaNode } from "./postgres-table-schema-node-OQRI_GIM-DhOVxH8-.mjs";
|
|
23
25
|
import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-yFPLQ6U0-ZCPXs-lG.mjs";
|
|
26
|
+
import { r as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-C2KTxEX3-D8Jd9Rx1.mjs";
|
|
24
27
|
import { n as readPostgresDefault, t as postgresResolveDefault } from "./default-normalizer-BqK6XxdC-2OUb2ybG.mjs";
|
|
25
|
-
import { n as renderFullTextIndexDocument } from "./full-text-search-document-
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { t as
|
|
30
|
-
import { n as
|
|
31
|
-
import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-DKnVhEWD-xuJIvCy9.mjs";
|
|
32
|
-
import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-BJKAfPAG-LCJmdiQq.mjs";
|
|
33
|
-
import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-DtsmkyFX-Bas8oQiN.mjs";
|
|
28
|
+
import { n as renderFullTextIndexDocument } from "./full-text-search-document-B5VCeQFz-D4hKtj-M.mjs";
|
|
29
|
+
import { t as buildColumnTypeSql } from "./planner-ddl-builders-Blf3qKKf-BopCSwrT.mjs";
|
|
30
|
+
import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-CX3J2pLA-CjCpOnue.mjs";
|
|
31
|
+
import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-Crcjg7Vz-39_fO8yR.mjs";
|
|
32
|
+
import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-CVmwyjFf-DSWPpd4M.mjs";
|
|
33
|
+
import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-DhDzWNCN-BA5OpwhY.mjs";
|
|
34
34
|
import { t as dataTransform } from "./data-transform-h9agBu_c-RlC5A7aY.mjs";
|
|
35
|
-
import { t as PostgresMigration } from "./postgres-migration-
|
|
36
|
-
import { t as renderOps } from "./render-ops-
|
|
37
|
-
import { t as renderCallsToTypeScript } from "./render-typescript-
|
|
38
|
-
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-
|
|
39
|
-
import { t as createPostgresMigrationPlanner } from "./planner-
|
|
35
|
+
import { t as PostgresMigration } from "./postgres-migration-DEa-g6j1-CoG3QOV3.mjs";
|
|
36
|
+
import { t as renderOps } from "./render-ops-Bl1R5cz0-CFshOROt.mjs";
|
|
37
|
+
import { t as renderCallsToTypeScript } from "./render-typescript-B-Igkk6D-CQ-WlBmb.mjs";
|
|
38
|
+
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-BLKk9Vaz-CsUhcKp1.mjs";
|
|
39
|
+
import { t as createPostgresMigrationPlanner } from "./planner-D2T46plG-BChGUTOA.mjs";
|
|
40
40
|
import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-BkBKBRE3.mjs";
|
|
41
|
-
import { c as toTsquery, l as websearchToTsquery, n as fullTextDocument, o as phrasetoTsquery, s as plaintoTsquery, t as FullTextDocument } from "./full-text-parsers-
|
|
42
|
-
import { t as tsquery } from "./full-text-
|
|
41
|
+
import { c as toTsquery, l as websearchToTsquery, n as fullTextDocument, o as phrasetoTsquery, s as plaintoTsquery, t as FullTextDocument } from "./full-text-parsers-m8GS0pst-C6RPRehL.mjs";
|
|
42
|
+
import { t as tsquery } from "./full-text-Bu_qI2ue.mjs";
|
|
43
43
|
import { a as foreignKey, c as primaryKey, d as unique, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as sql } from "./migration-Be_iuIpn.mjs";
|
|
44
|
-
import { t as introspectedTypeText } from "./native-type-normalizer-
|
|
44
|
+
import { t as introspectedTypeText } from "./native-type-normalizer-DY__fyaa.mjs";
|
|
45
45
|
import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-BbUY9oVy.mjs";
|
|
46
|
-
import { t as prisma7PostgresBinding } from "./prisma7-binding-
|
|
47
|
-
import { i as validatePostgresIsolationLevel, n as postgresIsolationLevels, t as postgresIsolationLevelSchema } from "./runtime-
|
|
46
|
+
import { t as prisma7PostgresBinding } from "./prisma7-binding-BRPindAK.mjs";
|
|
47
|
+
import { i as validatePostgresIsolationLevel, n as postgresIsolationLevels, t as postgresIsolationLevelSchema } from "./runtime-BArZXVRj.mjs";
|
|
48
48
|
import { t as POSTGRES_MIN_SERVER_VERSION } from "./server-version-IguNEl-k.mjs";
|
|
49
|
-
export { AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, FullTextDocument, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, POSTGRES_MIN_SERVER_VERSION, PgIntervalStringCodec, PgIntervalStringDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, PostgresExtensionSchemaNode, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, ReplaceStoredValueCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, TypeScriptRenderablePostgresMigration, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresExplicitTypes, postgresIsolationLevelSchema, postgresIsolationLevels, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, validatePostgresIsolationLevel, websearchToTsquery, weightGroupsOf };
|
|
49
|
+
export { AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, CONTROL_PLANE_LC_MONETARY, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, FullTextDocument, MARKER_LOCK_KEY, MARKER_LOCK_SQL, MIGRATION_MODULE, PostgresMigration as Migration, MigrationCLI, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, POSTGRES_MIN_SERVER_VERSION, PgIntervalStringCodec, PgIntervalStringDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, PostgresExtensionSchemaNode, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, ReplaceStoredValueCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, TypeScriptRenderablePostgresMigration, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresExplicitTypes, postgresIsolationLevelSchema, postgresIsolationLevels, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, validatePostgresIsolationLevel, websearchToTsquery, weightGroupsOf };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as postgresAggregateDescriptors } from "./aggregates-
|
|
1
|
+
import { t as postgresAggregateDescriptors } from "./aggregates-CJGvlOCM.mjs";
|
|
2
2
|
export { postgresAggregateDescriptors };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as PgInterval } from "./codecs-
|
|
2
|
-
import { a as Numeric, c as TimestampString, d as VarBit, f as Varchar, i as JsonValue$1, l as TimestamptzString, n as Char, o as ParameterizedOutputTypesForTypeParams, r as CodecTypes, s as TimeString, t as Bit, u as Timetz } from "./codec-types-
|
|
3
|
-
import "./codec-types-
|
|
1
|
+
import { y as PgInterval } from "./codecs-BttOxm7v-Bg7ybHIE.mjs";
|
|
2
|
+
import { a as Numeric, c as TimestampString, d as VarBit, f as Varchar, i as JsonValue$1, l as TimestamptzString, n as Char, o as ParameterizedOutputTypesForTypeParams, r as CodecTypes, s as TimeString, t as Bit, u as Timetz } from "./codec-types-B-OBDw_P-CBflZnmD.mjs";
|
|
3
|
+
import "./codec-types-V7HlwAkU.mjs";
|
|
4
4
|
export { Bit, Char, CodecTypes, type JsonValue$1 as JsonValue, Numeric, ParameterizedOutputTypesForTypeParams, type PgInterval, TimeString, TimestampString, TimestamptzString, Timetz, VarBit, Varchar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as pgFloat8Column, B as PgTimetzDescriptor, C as PgJsonDescriptor, Ct as pgVarbitColumn, D as PgOidDescriptor, E as PgNumericDescriptor, G as PgVarcharDescriptor, H as PgUnboundedIntDescriptor, I as PgTimestamptzDateCodec, J as pgBitColumn, K as PgXmlDescriptor, L as PgTimestamptzDateDescriptor, M as PgTimestampDateDescriptor, O as PgTextDescriptor, Q as pgFloat4Column, S as PgIntervalStringDescriptor, St as pgUuidColumn, T as PgMoneyDescriptor, Tt as pgXmlColumn, U as PgUuidDescriptor, W as PgVarbitDescriptor, X as pgCharColumn, Y as pgBoolColumn, Z as pgEnumDescriptor, _ as PgInt8NumberDescriptor, _t as pgTimestampDateDescriptor, at as pgInt8NumberColumn, b as PgIntervalDescriptor, bt as pgTimetzColumn, c as PgEnumDescriptor, ct as pgIntervalStringColumn, d as PgFloat8Descriptor, dt as pgJsonbColumn, et as pgFloatColumn, f as PgFloatDescriptor, ft as pgMoneyColumn, g as PgInt8Descriptor, gt as pgTimestampDateColumn, h as PgInt4Descriptor, ht as pgTextColumn, i as PgCharDescriptor, it as pgInt8Column, j as PgTimestampDateCodec, l as PgEnumParams, lt as pgIntervalStringDescriptor, m as PgInt2Descriptor, mt as pgOidColumn, n as PgBoolDescriptor, nt as pgInt2Column, ot as pgIntColumn, p as PgInetDescriptor, pt as pgNumericColumn, q as isPgEnumParams, rt as pgInt4Column, s as PgEnumCodec, st as pgIntervalColumn, t as PgBitDescriptor, tt as pgInetColumn, u as PgFloat4Descriptor, ut as pgJsonColumn, v as PgIntDescriptor, vt as pgTimestamptzDateColumn, w as PgJsonbDescriptor, wt as pgVarcharColumn, x as PgIntervalStringCodec, xt as pgUnboundedIntColumn, y as PgInterval, yt as pgTimestamptzDateDescriptor } from "./codecs-
|
|
1
|
+
import { $ as pgFloat8Column, B as PgTimetzDescriptor, C as PgJsonDescriptor, Ct as pgVarbitColumn, D as PgOidDescriptor, E as PgNumericDescriptor, G as PgVarcharDescriptor, H as PgUnboundedIntDescriptor, I as PgTimestamptzDateCodec, J as pgBitColumn, K as PgXmlDescriptor, L as PgTimestamptzDateDescriptor, M as PgTimestampDateDescriptor, O as PgTextDescriptor, Q as pgFloat4Column, S as PgIntervalStringDescriptor, St as pgUuidColumn, T as PgMoneyDescriptor, Tt as pgXmlColumn, U as PgUuidDescriptor, W as PgVarbitDescriptor, X as pgCharColumn, Y as pgBoolColumn, Z as pgEnumDescriptor, _ as PgInt8NumberDescriptor, _t as pgTimestampDateDescriptor, at as pgInt8NumberColumn, b as PgIntervalDescriptor, bt as pgTimetzColumn, c as PgEnumDescriptor, ct as pgIntervalStringColumn, d as PgFloat8Descriptor, dt as pgJsonbColumn, et as pgFloatColumn, f as PgFloatDescriptor, ft as pgMoneyColumn, g as PgInt8Descriptor, gt as pgTimestampDateColumn, h as PgInt4Descriptor, ht as pgTextColumn, i as PgCharDescriptor, it as pgInt8Column, j as PgTimestampDateCodec, l as PgEnumParams, lt as pgIntervalStringDescriptor, m as PgInt2Descriptor, mt as pgOidColumn, n as PgBoolDescriptor, nt as pgInt2Column, ot as pgIntColumn, p as PgInetDescriptor, pt as pgNumericColumn, q as isPgEnumParams, rt as pgInt4Column, s as PgEnumCodec, st as pgIntervalColumn, t as PgBitDescriptor, tt as pgInetColumn, u as PgFloat4Descriptor, ut as pgJsonColumn, v as PgIntDescriptor, vt as pgTimestamptzDateColumn, w as PgJsonbDescriptor, wt as pgVarcharColumn, x as PgIntervalStringCodec, xt as pgUnboundedIntColumn, y as PgInterval, yt as pgTimestamptzDateDescriptor } from "./codecs-BttOxm7v-Bg7ybHIE.mjs";
|
|
2
2
|
import { n as parsePostgresListText } from "./list-decoder-BcrLExnx-DlCwavhu.mjs";
|
|
3
|
-
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup, n as assemblePostgresCodecRegistry, o as postgresCodecDescriptorRegistry, r as assemblePostgresCodecRegistryWithBuiltins, s as postgresCodecRegistry, t as PostgresCodecRegistry } from "./codecs-
|
|
3
|
+
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup, n as assemblePostgresCodecRegistry, o as postgresCodecDescriptorRegistry, r as assemblePostgresCodecRegistryWithBuiltins, s as postgresCodecRegistry, t as PostgresCodecRegistry } from "./codecs-B6fSK4Rr.mjs";
|
|
4
4
|
export { type PgBitDescriptor, type PgBoolDescriptor, type PgCharDescriptor, type PgEnumCodec, type PgEnumDescriptor, type PgEnumParams, type PgFloat4Descriptor, type PgFloat8Descriptor, type PgFloatDescriptor, type PgInetDescriptor, type PgInt2Descriptor, type PgInt4Descriptor, type PgInt8Descriptor, type PgInt8NumberDescriptor, type PgIntDescriptor, type PgInterval, type PgIntervalDescriptor, PgIntervalStringCodec, PgIntervalStringDescriptor, type PgJsonDescriptor, type PgJsonbDescriptor, type PgMoneyDescriptor, type PgNumericDescriptor, type PgOidDescriptor, type PgTextDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, type PgTimetzDescriptor, type PgUnboundedIntDescriptor, type PgUuidDescriptor, type PgVarbitDescriptor, type PgVarcharDescriptor, type PgXmlDescriptor, type PostgresCodecRegistry, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, isPgEnumParams, parsePostgresListText, pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumDescriptor, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInetColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJsonColumn, pgJsonbColumn, pgMoneyColumn, pgNumericColumn, pgOidColumn, pgTextColumn, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetzColumn, pgUnboundedIntColumn, pgUuidColumn, pgVarbitColumn, pgVarcharColumn, pgXmlColumn, postgresCodecDescriptorRegistry, postgresCodecRegistry };
|
package/dist/target__codecs.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as pgNumericColumn, B as pgVarbitColumn, C as pgIntColumn, D as pgJsonColumn, E as pgIntervalStringDescriptor, F as pgTimestamptzDateColumn, H as pgXmlColumn, I as pgTimestamptzDateDescriptor, L as pgTimetzColumn, M as pgTextColumn, N as pgTimestampDateColumn, O as pgJsonbColumn, P as pgTimestampDateDescriptor, R as pgUnboundedIntColumn, S as pgInt8NumberColumn, T as pgIntervalStringColumn, V as pgVarcharColumn, _ as pgFloatColumn, a as PgTimestamptzDateCodec, b as pgInt4Column, d as pgBitColumn, f as pgBoolColumn, g as pgFloat8Column, h as pgFloat4Column, i as PgTimestampDateDescriptor, j as pgOidColumn, k as pgMoneyColumn, l as isPgEnumParams, m as pgEnumDescriptor, n as PgIntervalStringDescriptor, o as PgTimestamptzDateDescriptor, p as pgCharColumn, r as PgTimestampDateCodec, t as PgIntervalStringCodec, u as parsePostgresListText, v as pgInetColumn, w as pgIntervalColumn, x as pgInt8Column, y as pgInt2Column, z as pgUuidColumn } from "./codecs-
|
|
2
|
-
import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./registry-
|
|
3
|
-
import { i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-
|
|
1
|
+
import { A as pgNumericColumn, B as pgVarbitColumn, C as pgIntColumn, D as pgJsonColumn, E as pgIntervalStringDescriptor, F as pgTimestamptzDateColumn, H as pgXmlColumn, I as pgTimestamptzDateDescriptor, L as pgTimetzColumn, M as pgTextColumn, N as pgTimestampDateColumn, O as pgJsonbColumn, P as pgTimestampDateDescriptor, R as pgUnboundedIntColumn, S as pgInt8NumberColumn, T as pgIntervalStringColumn, V as pgVarcharColumn, _ as pgFloatColumn, a as PgTimestamptzDateCodec, b as pgInt4Column, d as pgBitColumn, f as pgBoolColumn, g as pgFloat8Column, h as pgFloat4Column, i as PgTimestampDateDescriptor, j as pgOidColumn, k as pgMoneyColumn, l as isPgEnumParams, m as pgEnumDescriptor, n as PgIntervalStringDescriptor, o as PgTimestamptzDateDescriptor, p as pgCharColumn, r as PgTimestampDateCodec, t as PgIntervalStringCodec, u as parsePostgresListText, v as pgInetColumn, w as pgIntervalColumn, x as pgInt8Column, y as pgInt2Column, z as pgUuidColumn } from "./codecs-B2C2j2Un-Dc-aGN1s.mjs";
|
|
2
|
+
import { n as postgresCodecRegistry, t as postgresCodecDescriptorRegistry } from "./registry-CWgvB0Fj-Czwmfmzd.mjs";
|
|
3
|
+
import { i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-FvoD6sJj-ClHgHbyf.mjs";
|
|
4
4
|
export { PgIntervalStringCodec, PgIntervalStringDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, isPgEnumParams, parsePostgresListText, pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumDescriptor, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInetColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgIntervalColumn, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJsonColumn, pgJsonbColumn, pgMoneyColumn, pgNumericColumn, pgOidColumn, pgTextColumn, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetzColumn, pgUnboundedIntColumn, pgUuidColumn, pgVarbitColumn, pgVarcharColumn, pgXmlColumn, postgresCodecDescriptorRegistry, postgresCodecRegistry };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as PostgresTableSource } from "./postgres-schema-
|
|
2
|
-
import { A as extensionInSchemaAst, F as noNullValuesAst, G as tableIsEmptyAst, H as sequenceNameAvailableAst, K as tablePrimaryKeyAst, L as rlsEnabledAst, M as indexExistsAst, W as tableExistsAst, _ as constraintExistsAst, b as createSchema, d as columnExistsAst, f as columnNullabilityAst, k as extensionExistsAst, l as columnDefaultAst, m as columnTypeAst, n as addConstraintAction, q as toRegclass, r as alterColumnTypeAction, s as alterTable, t as addColumnAction, u as columnDefaultSequenceAst, w as dropDefaultAction, x as createTable, z as rlsPolicyExistsAst } from "./ddl-
|
|
3
|
-
import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-
|
|
1
|
+
import { d as PostgresTableSource } from "./postgres-schema-CIfq1AjC-CGiMjtSX.mjs";
|
|
2
|
+
import { A as extensionInSchemaAst, F as noNullValuesAst, G as tableIsEmptyAst, H as sequenceNameAvailableAst, K as tablePrimaryKeyAst, L as rlsEnabledAst, M as indexExistsAst, W as tableExistsAst, _ as constraintExistsAst, b as createSchema, d as columnExistsAst, f as columnNullabilityAst, k as extensionExistsAst, l as columnDefaultAst, m as columnTypeAst, n as addConstraintAction, q as toRegclass, r as alterColumnTypeAction, s as alterTable, t as addColumnAction, u as columnDefaultSequenceAst, w as dropDefaultAction, x as createTable, z as rlsPolicyExistsAst } from "./ddl-Cy_8QS23-D9EVihrI.mjs";
|
|
3
|
+
import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-dQ4A6kPg.mjs";
|
|
4
4
|
export { PostgresTableSource, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, buildControlTableBootstrapQueries, buildSignMarkerBootstrapQueries, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, constraintExistsAst, createSchema, createTable, dropDefaultAction, extensionExistsAst, extensionInSchemaAst, indexExistsAst, int4, int8, jsonb, noNullValuesAst, pgTable, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-BcrLExnx-DlCwavhu.mjs";
|
|
2
2
|
import { t as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-C7om6MxZ-B9S-CnE_.mjs";
|
|
3
|
-
import { n as postgresScalarTypes, r as postgresTargetDescriptor, t as postgresExplicitTypes } from "./control-
|
|
3
|
+
import { n as postgresScalarTypes, r as postgresTargetDescriptor, t as postgresExplicitTypes } from "./control-Bbb6l2oc.mjs";
|
|
4
4
|
export { decodePostgresListText, postgresTargetDescriptor as default, parsePostgresListText, postgresExplicitTypes, postgresNowGeneratorControlDescriptors, postgresScalarTypes };
|
package/dist/target__control.mjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { T as PG_TEXT_CODEC_ID, s as PG_ENUM_CODEC_ID } from "./codec-ids-2htdtS66-CJPMZv1t.mjs";
|
|
2
|
-
import { u as postgresError } from "./errors-
|
|
3
|
-
import {
|
|
2
|
+
import { u as postgresError } from "./errors-DxWL0CMX-BQe7Wfvt.mjs";
|
|
3
|
+
import { o as quoteIdentifier } from "./sql-utils-ClKAaUlZ-BdjnkJvV.mjs";
|
|
4
4
|
import { t as DEFAULT_NAMESPACE_ID } from "./namespace-ids-xtp_ZY86-Cxc0dBbO.mjs";
|
|
5
5
|
import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs";
|
|
6
|
-
import { c as decodePostgresListText, u as parsePostgresListText } from "./codecs-
|
|
7
|
-
import { s as fullTextIndexDefinitionOf } from "./full-text-index-definition-
|
|
8
|
-
import { c as PostgresRole, i as PostgresRlsEnablement, o as PostgresRlsPolicy, t as PostgresExtension } from "./postgres-schema-
|
|
6
|
+
import { c as decodePostgresListText, u as parsePostgresListText } from "./codecs-B2C2j2Un-Dc-aGN1s.mjs";
|
|
7
|
+
import { s as fullTextIndexDefinitionOf } from "./full-text-index-definition-MMcQF3_0-wRCz2FDP.mjs";
|
|
8
|
+
import { c as PostgresRole, i as PostgresRlsEnablement, o as PostgresRlsPolicy, t as PostgresExtension } from "./postgres-schema-CIfq1AjC-CGiMjtSX.mjs";
|
|
9
9
|
import { r as computeContentHash } from "./canonicalize-RdxoUHao-FTTkizfe.mjs";
|
|
10
|
-
import { c as postgresScalarTypes, o as postgresExplicitTypes, t as POLICY_BLOCK_KEYWORDS } from "./authoring-
|
|
11
|
-
import { t as postgresRenderCheckExpressions } from "./check-expressions-
|
|
12
|
-
import { i as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-
|
|
13
|
-
import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-
|
|
10
|
+
import { c as postgresScalarTypes, o as postgresExplicitTypes, t as POLICY_BLOCK_KEYWORDS } from "./authoring-4dCWsSXg-DeIEoQWg.mjs";
|
|
11
|
+
import { t as postgresRenderCheckExpressions } from "./check-expressions-cvFP1EFS-CPLt6x-O.mjs";
|
|
12
|
+
import { i as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-DylEKfQR-CYbXE0y0.mjs";
|
|
13
|
+
import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-CakMYWwZ-DSQNCwWB.mjs";
|
|
14
|
+
import { i as qualifyTableName } from "./planner-sql-checks-CzxowQml-moHPNh20.mjs";
|
|
15
|
+
import { $ as dropCheckConstraintId, W as SCHEMA_OBJECTS_SQL, ct as schemaContentsOf, lt as schemaObjectsSummary, st as schemaBlockingObjects, tt as holdingStoredValue } from "./op-factory-call-DvezqqJx-KBDyNT08.mjs";
|
|
14
16
|
import { o as postgresDiffSubjectEntityKind, s as postgresDiffSubjectGranularity } from "./postgres-table-schema-node-OQRI_GIM-DhOVxH8-.mjs";
|
|
15
17
|
import { t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-yFPLQ6U0-ZCPXs-lG.mjs";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { t as
|
|
20
|
-
import { o as postgresContractToSchema } from "./postgres-migration-D5lRerLT-DyYh8UPS.mjs";
|
|
21
|
-
import { n as postgresMarkedRemoval, r as postgresStoredValueCallClasses, t as createPostgresMigrationPlanner } from "./planner-BHH46ndt-Q6-LPhnL.mjs";
|
|
18
|
+
import { r as diffPostgresSchema } from "./diff-database-schema-CVmwyjFf-DSWPpd4M.mjs";
|
|
19
|
+
import { t as PostgresContractSerializer } from "./postgres-contract-view-DhDzWNCN-BA5OpwhY.mjs";
|
|
20
|
+
import { o as postgresContractToSchema } from "./postgres-migration-DEa-g6j1-CoG3QOV3.mjs";
|
|
21
|
+
import { i as recordedAccessChangesOf, n as postgresMarkedRemoval, r as postgresStoredValueCallClasses, t as createPostgresMigrationPlanner } from "./planner-D2T46plG-BChGUTOA.mjs";
|
|
22
22
|
import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-BkBKBRE3.mjs";
|
|
23
|
-
import { _ as positionalArg, a as buildFullTextIndexAttribute, c as buildModelConstraintAttribute, f as inferPostgresPslContract, g as parseDefaultAttributeString, i as buildExtensionBlock, l as buildNativeEnumBlock, n as buildAttribute, o as buildIndexAttribute, p as namedArg, r as buildCheckAttribute, s as buildMapAttribute, t as SYNTHETIC_SPAN, v as typeArgument } from "./infer-psl-contract-
|
|
23
|
+
import { _ as positionalArg, a as buildFullTextIndexAttribute, c as buildModelConstraintAttribute, f as inferPostgresPslContract, g as parseDefaultAttributeString, i as buildExtensionBlock, l as buildNativeEnumBlock, n as buildAttribute, o as buildIndexAttribute, p as namedArg, r as buildCheckAttribute, s as buildMapAttribute, t as SYNTHETIC_SPAN, v as typeArgument } from "./infer-psl-contract-DgQutzGt-C1wN72ZC.mjs";
|
|
24
24
|
import { dataTypeParams, requiredParamKeys, validateCodecTypeParams } from "@prisma/orm-framework/components/codec";
|
|
25
25
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
26
26
|
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
@@ -186,6 +186,8 @@ function failedTypeChangeOf(step, sqlState, plan) {
|
|
|
186
186
|
operationIndex
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
|
+
/** Sets `lc_monetary` for the rest of the current transaction only; {@link CONTROL_PLANE_LC_MONETARY} says why the runner sets it. */
|
|
190
|
+
const SET_LOCAL_LC_MONETARY_SQL = "SELECT set_config('lc_monetary', $1, true)";
|
|
189
191
|
function createPostgresMigrationRunner(family) {
|
|
190
192
|
return new PostgresMigrationRunner(family);
|
|
191
193
|
}
|
|
@@ -211,6 +213,7 @@ var PostgresMigrationRunner = class {
|
|
|
211
213
|
if (!destinationCheck.ok) return destinationCheck;
|
|
212
214
|
const policyCheck = this.enforcePolicyCompatibility(options.policy, planOps);
|
|
213
215
|
if (!policyCheck.ok) return policyCheck;
|
|
216
|
+
await this.readMoneyLiteralsInCents(driver);
|
|
214
217
|
await this.acquireLock(driver);
|
|
215
218
|
const ensureResult = await this.ensureControlTables(driver, options.destinationContract);
|
|
216
219
|
if (!ensureResult.ok) return ensureResult;
|
|
@@ -669,6 +672,10 @@ var PostgresMigrationRunner = class {
|
|
|
669
672
|
async acquireLock(driver) {
|
|
670
673
|
await driver.query(MARKER_LOCK_SQL, [MARKER_LOCK_KEY]);
|
|
671
674
|
}
|
|
675
|
+
/** The migration's DDL can hold money literals, such as `DEFAULT '12.34'::money`, which PostgreSQL reads by the session's monetary locale. */
|
|
676
|
+
async readMoneyLiteralsInCents(driver) {
|
|
677
|
+
await driver.query(SET_LOCAL_LC_MONETARY_SQL, ["C"]);
|
|
678
|
+
}
|
|
672
679
|
async beginTransaction(driver) {
|
|
673
680
|
await driver.query("BEGIN");
|
|
674
681
|
}
|
|
@@ -2684,6 +2691,7 @@ function createPostgresTargetDescriptor() {
|
|
|
2684
2691
|
},
|
|
2685
2692
|
classifySubjectGranularity: postgresDiffSubjectGranularity,
|
|
2686
2693
|
classifyEntityKind: postgresDiffSubjectEntityKind,
|
|
2694
|
+
accessChangesOf: recordedAccessChangesOf,
|
|
2687
2695
|
migrations: {
|
|
2688
2696
|
createPlanner(adapter) {
|
|
2689
2697
|
return createPostgresMigrationPlanner(adapter);
|