@prisma/orm-target-postgres 8.0.0-rc.14-dev.28 → 8.0.0-rc.14-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/dist/{adapter-DzNbNJ24.d.mts → adapter-BOi8Qpb_.d.mts} +6 -4
- package/dist/adapter-BOi8Qpb_.d.mts.map +1 -0
- package/dist/{adapter-BNrSLsxC-CXrTrSvP.mjs → adapter-DwUKamWE-9wPlFOdx.mjs} +23 -12
- package/dist/adapter-DwUKamWE-9wPlFOdx.mjs.map +1 -0
- package/dist/adapter.d.mts +7 -7
- package/dist/adapter.mjs +7 -7
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +1 -1
- package/dist/adapter__control.d.mts +2 -2
- package/dist/adapter__control.mjs +10 -16
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +9 -6
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.d.mts +1 -1
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/adapter__types.d.mts +3 -3
- package/dist/{authoring-C5Ch8RNG-Qgq9GiOY.mjs → authoring-BarDKx1G-BKhOsXKo.mjs} +20 -65
- package/dist/authoring-BarDKx1G-BKhOsXKo.mjs.map +1 -0
- package/dist/{check-expressions-DJNIFTHB-C86_fR5c.mjs → check-expressions-BRuSxJ5d-CC5OFfR1.mjs} +3 -3
- package/dist/{check-expressions-DJNIFTHB-C86_fR5c.mjs.map → check-expressions-BRuSxJ5d-CC5OFfR1.mjs.map} +1 -1
- package/dist/{codec-descriptor-B61d-k4C-BdWVU6Fu.mjs → codec-descriptor-CZAGhM_O-DK9auM7J.mjs} +5 -18
- package/dist/codec-descriptor-CZAGhM_O-DK9auM7J.mjs.map +1 -0
- package/dist/codec-descriptor-DAQDOwCJ.d.mts +1 -0
- package/dist/{codec-descriptor-HYqjI24K-CTO3gTEs.d.mts → codec-descriptor-DkeVTJ3N-XTfZgDGp.d.mts} +9 -10
- package/dist/codec-descriptor-DkeVTJ3N-XTfZgDGp.d.mts.map +1 -0
- package/dist/{codec-helpers-BmUrP6U9-DuO9gpqZ.mjs → codec-helpers-BKrVHgYc-DFnb5u9l.mjs} +4 -6
- package/dist/codec-helpers-BKrVHgYc-DFnb5u9l.mjs.map +1 -0
- package/dist/{codecs-CWXNVl1P.mjs → codec-registry-CCCOytGc-BFC0dvlt.mjs} +28 -12
- package/dist/codec-registry-CCCOytGc-BFC0dvlt.mjs.map +1 -0
- package/dist/{codec-type-map-Br7wS7DK-DmphGfZE.d.mts → codec-type-map-B9MLL97E-RMa5Y4R4.d.mts} +4 -4
- package/dist/{codec-type-map-Br7wS7DK-DmphGfZE.d.mts.map → codec-type-map-B9MLL97E-RMa5Y4R4.d.mts.map} +1 -1
- package/dist/{codec-types-DBeKvpNs-D9JlxBzY.d.mts → codec-types-Du6N0o5U-DMAI6jag.d.mts} +4 -4
- package/dist/{codec-types-DBeKvpNs-D9JlxBzY.d.mts.map → codec-types-Du6N0o5U-DMAI6jag.d.mts.map} +1 -1
- package/dist/codec-types-uq3Il6e3.d.mts +2 -0
- package/dist/{codecs-CnbVrlil--FxLKWM5.mjs → codecs-BzCRfsit-BbLlbudt.mjs} +35 -228
- package/dist/codecs-BzCRfsit-BbLlbudt.mjs.map +1 -0
- package/dist/{codecs-DxqbAhl0.d.mts → codecs-C0zx-UlM.d.mts} +10 -14
- package/dist/codecs-C0zx-UlM.d.mts.map +1 -0
- package/dist/{codecs-BU-eLMQi-BB2afWsO.d.mts → codecs-Ckpsj4IT-C7kgMiKv.d.mts} +16 -90
- package/dist/codecs-Ckpsj4IT-C7kgMiKv.d.mts.map +1 -0
- package/dist/{contract-free-DeK6m1dy.mjs → contract-free-DAGgx1J-.mjs} +8 -5
- package/dist/contract-free-DAGgx1J-.mjs.map +1 -0
- package/dist/{control-CyiVFspE.mjs → control-C0mAPRzk.mjs} +75 -117
- package/dist/control-C0mAPRzk.mjs.map +1 -0
- package/dist/{control-xWtRBAPw.d.mts → control-aDBKB9hQ.d.mts} +5 -10
- package/dist/control-aDBKB9hQ.d.mts.map +1 -0
- package/dist/{control-adapter-Du0EcG5G-CT4qBFrG.mjs → control-adapter-cjnLE0mN-BmNP2taw.mjs} +14 -18
- package/dist/control-adapter-cjnLE0mN-BmNP2taw.mjs.map +1 -0
- package/dist/control-fp7Azf3F.d.mts +733 -0
- package/dist/control-fp7Azf3F.d.mts.map +1 -0
- package/dist/{control-policy-BW5Cgq3Z-Dn2ZVBCP.mjs → control-policy-CuJvncMq-C5yshGZP.mjs} +52 -52
- package/dist/control-policy-CuJvncMq-C5yshGZP.mjs.map +1 -0
- package/dist/{data-type-entries-cjspFU7A-BBOIqLij.mjs → data-type-entries-DYgNhsVx-BWJJHCQR.mjs} +5 -4
- package/dist/data-type-entries-DYgNhsVx-BWJJHCQR.mjs.map +1 -0
- package/dist/data-types-DzUVlWeo-CBMHoFoH.mjs +366 -0
- package/dist/data-types-DzUVlWeo-CBMHoFoH.mjs.map +1 -0
- package/dist/data-types-E1wms1_i.d.mts +96 -0
- package/dist/data-types-E1wms1_i.d.mts.map +1 -0
- package/dist/{ddl-BQFDVert-CcDdETee.mjs → ddl-BzsT_-qY-Cdzm0YIK.mjs} +3 -3
- package/dist/{ddl-BQFDVert-CcDdETee.mjs.map → ddl-BzsT_-qY-Cdzm0YIK.mjs.map} +1 -1
- package/dist/{default-normalizer-ByDD_gRm-CKeWEb0x.mjs → default-normalizer-C68YhUBS-BjOeKRhS.mjs} +3 -3
- package/dist/{default-normalizer-ByDD_gRm-CKeWEb0x.mjs.map → default-normalizer-C68YhUBS-BjOeKRhS.mjs.map} +1 -1
- package/dist/{descriptor-meta-Bvq6_NJ8-Cn_M79Lf.mjs → descriptor-meta-CUmf1G9P-GAdC3zfT.mjs} +9 -7
- package/dist/descriptor-meta-CUmf1G9P-GAdC3zfT.mjs.map +1 -0
- package/dist/{descriptor-meta-BEigA5Gj-eY7nV4N_.mjs → descriptor-meta-gq4MiUXl-DqqHHHSj.mjs} +4 -90
- package/dist/descriptor-meta-gq4MiUXl-DqqHHHSj.mjs.map +1 -0
- package/dist/{descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs → descriptor-meta-runtime-D-ZCTI0a-DVgDk2XT.mjs} +5 -3
- package/dist/descriptor-meta-runtime-D-ZCTI0a-DVgDk2XT.mjs.map +1 -0
- package/dist/{diff-database-schema-D-eMVqv1.d.mts → diff-database-schema-BGcRo8FM.d.mts} +2 -2
- package/dist/{diff-database-schema-D-eMVqv1.d.mts.map → diff-database-schema-BGcRo8FM.d.mts.map} +1 -1
- package/dist/{diff-database-schema-_bbfF4oI-D_VmL4Ma.mjs → diff-database-schema-BYHT4ZZp-DHQM3yoO.mjs} +18 -26
- package/dist/diff-database-schema-BYHT4ZZp-DHQM3yoO.mjs.map +1 -0
- package/dist/{errors-1AjGQf6h.d.mts → errors-DZ3zQdpT.d.mts} +2 -2
- package/dist/{errors-1AjGQf6h.d.mts.map → errors-DZ3zQdpT.d.mts.map} +1 -1
- package/dist/{full-text-DZ_SB64Q.d.mts → full-text-DjD0tAqd.d.mts} +2 -2
- package/dist/{full-text-DZ_SB64Q.d.mts.map → full-text-DjD0tAqd.d.mts.map} +1 -1
- package/dist/{full-text-index-expression-525ZZWf0-HIGVQbjL.mjs → full-text-index-expression-DKwm2Z9W-CboCsz4N.mjs} +4 -4
- package/dist/{full-text-index-expression-525ZZWf0-HIGVQbjL.mjs.map → full-text-index-expression-DKwm2Z9W-CboCsz4N.mjs.map} +1 -1
- package/dist/{full-text-parsers-Cg9SDrnx-DA1eBg1b.d.mts → full-text-parsers-DinPC_86-B2P_FyTG.d.mts} +3 -3
- package/dist/{full-text-parsers-Cg9SDrnx-DA1eBg1b.d.mts.map → full-text-parsers-DinPC_86-B2P_FyTG.d.mts.map} +1 -1
- package/dist/{infer-psl-contract-Burb6YAz-DbKU4cXm.mjs → infer-psl-contract-DBWXA-jx-CmKQgKZJ.mjs} +11 -11
- package/dist/infer-psl-contract-DBWXA-jx-CmKQgKZJ.mjs.map +1 -0
- package/dist/{issue-planner-BdnqkLvV.d.mts → issue-planner-pmBrIrEN.d.mts} +7 -2
- package/dist/issue-planner-pmBrIrEN.d.mts.map +1 -0
- package/dist/{migration-D7F66l-1.d.mts → migration-D189kh3f.d.mts} +3 -3
- package/dist/{migration-D7F66l-1.d.mts.map → migration-D189kh3f.d.mts.map} +1 -1
- package/dist/migration-PTHAY9Cv.mjs.map +1 -1
- package/dist/{native-type-normalizer-CW6g9Fut-C5lMRRjS.mjs → native-type-normalizer-CwyVR7xB.mjs} +3 -9
- package/dist/native-type-normalizer-CwyVR7xB.mjs.map +1 -0
- package/dist/{op-factory-call-DkzlLBzN-Bc6l0sYN.mjs → op-factory-call-4IafSIKD-D2wO2iyZ.mjs} +11 -11
- package/dist/op-factory-call-4IafSIKD-D2wO2iyZ.mjs.map +1 -0
- package/dist/{op-factory-call-CaEALaar-Nh0fSxQY.d.mts → op-factory-call-CqKUB1XP-CsEGx4Jd.d.mts} +6 -5
- package/dist/op-factory-call-CqKUB1XP-CsEGx4Jd.d.mts.map +1 -0
- package/dist/op-factory-call-D5UJ7cDi.d.mts +1 -0
- package/dist/{operation-types-sVW52HpK.d.mts → operation-types-DfPl4yzR.d.mts} +2 -2
- package/dist/{operation-types-sVW52HpK.d.mts.map → operation-types-DfPl4yzR.d.mts.map} +1 -1
- package/dist/{pack-AqcQpXNv.d.mts → pack-Cx7B1N8w.d.mts} +6 -33
- package/dist/pack-Cx7B1N8w.d.mts.map +1 -0
- package/dist/{planner-D7lEhXHR-8Wz1p_6j.mjs → planner-BWKFZaOu--28k5rC4.mjs} +12 -10
- package/dist/planner-BWKFZaOu--28k5rC4.mjs.map +1 -0
- package/dist/{planner-DECxo-qa.d.mts → planner-CvUO8Zpn.d.mts} +2 -2
- package/dist/{planner-DECxo-qa.d.mts.map → planner-CvUO8Zpn.d.mts.map} +1 -1
- package/dist/{planner-ddl-builders-DYLyFXrj.d.mts → planner-ddl-builders-Ckcr8Ov1.d.mts} +10 -8
- package/dist/planner-ddl-builders-Ckcr8Ov1.d.mts.map +1 -0
- package/dist/planner-ddl-builders-O0JqJIBZ-x7JEHEpU.mjs +93 -0
- package/dist/planner-ddl-builders-O0JqJIBZ-x7JEHEpU.mjs.map +1 -0
- package/dist/planner-identity-values-BTYw1D7D-CzpXx1yD.mjs +72 -0
- package/dist/planner-identity-values-BTYw1D7D-CzpXx1yD.mjs.map +1 -0
- package/dist/{planner-identity-values-TfEhnoWa.d.mts → planner-identity-values-DvlFit8A.d.mts} +7 -6
- package/dist/planner-identity-values-DvlFit8A.d.mts.map +1 -0
- package/dist/{planner-produced-postgres-migration-GZTusMRD-DPb6XqDu.mjs → planner-produced-postgres-migration-B-gWwByI-Cy8tx4pu.mjs} +3 -3
- package/dist/{planner-produced-postgres-migration-GZTusMRD-DPb6XqDu.mjs.map → planner-produced-postgres-migration-B-gWwByI-Cy8tx4pu.mjs.map} +1 -1
- package/dist/planner-produced-postgres-migration-BI_aepPp.d.mts +1 -0
- package/dist/{planner-produced-postgres-migration-DE2Ia9Ba-hYITaAdW.d.mts → planner-produced-postgres-migration-DT3i_p3G-CyQUv3ac.d.mts} +3 -3
- package/dist/planner-produced-postgres-migration-DT3i_p3G-CyQUv3ac.d.mts.map +1 -0
- package/dist/planner-sql-checks-Cr06nK1--B3gPnC1a.mjs +47 -0
- package/dist/planner-sql-checks-Cr06nK1--B3gPnC1a.mjs.map +1 -0
- package/dist/{planner-sql-checks-CFgbRTJw.d.mts → planner-sql-checks-iNLJS1dW.d.mts} +8 -3
- package/dist/{planner-sql-checks-CFgbRTJw.d.mts.map → planner-sql-checks-iNLJS1dW.d.mts.map} +1 -1
- package/dist/{postgres-contract-view-Da0ymIZE-CBV3OE-k.mjs → postgres-contract-view-D60F8OWK-Bi5oJkOx.mjs} +12 -10
- package/dist/postgres-contract-view-D60F8OWK-Bi5oJkOx.mjs.map +1 -0
- package/dist/{postgres-migration-Dq60Mixq-DYNJokZW.mjs → postgres-migration-PLXsv15e-BruyXuKH.mjs} +21 -20
- package/dist/postgres-migration-PLXsv15e-BruyXuKH.mjs.map +1 -0
- package/dist/{postgres-migration-BCzAcFmN-Bz_I02Gc.d.mts → postgres-migration-e8UybR1y-C_m4i1jp.d.mts} +3 -3
- package/dist/{postgres-migration-BCzAcFmN-Bz_I02Gc.d.mts.map → postgres-migration-e8UybR1y-C_m4i1jp.d.mts.map} +1 -1
- package/dist/{postgres-schema-C8slJGZo-CFGUyJPt.mjs → postgres-schema-DXd0mebY-CExd_GcQ.mjs} +3 -3
- package/dist/{postgres-schema-C8slJGZo-CFGUyJPt.mjs.map → postgres-schema-DXd0mebY-CExd_GcQ.mjs.map} +1 -1
- package/dist/{prisma7-binding-Dm24YoM6.mjs → prisma7-binding-BgMvnMgz.mjs} +30 -30
- package/dist/prisma7-binding-BgMvnMgz.mjs.map +1 -0
- package/dist/{prisma7-binding-C0GpQxEQ.d.mts → prisma7-binding-D2guML1e.d.mts} +8 -35
- package/dist/prisma7-binding-D2guML1e.d.mts.map +1 -0
- package/dist/{resolve-ddl-schema-Bq4m2dD9-DrlUipYU.mjs → resolve-ddl-schema-CadTChyu-C7F31wpN.mjs} +3 -3
- package/dist/{resolve-ddl-schema-Bq4m2dD9-DrlUipYU.mjs.map → resolve-ddl-schema-CadTChyu-C7F31wpN.mjs.map} +1 -1
- package/dist/{runtime-4QFzvcCp.d.mts → runtime-aejvKbMy.d.mts} +2 -2
- package/dist/{runtime-4QFzvcCp.d.mts.map → runtime-aejvKbMy.d.mts.map} +1 -1
- package/dist/{sql-renderer-CgUgFbU4-BY3PCrmG.mjs → sql-renderer-BjJ3MLnI-DQvfiMO6.mjs} +45 -43
- package/dist/sql-renderer-BjJ3MLnI-DQvfiMO6.mjs.map +1 -0
- package/dist/{sql-renderer-Bd07vbru.d.mts → sql-renderer-D6UgvbqG.d.mts} +6 -5
- package/dist/sql-renderer-D6UgvbqG.d.mts.map +1 -0
- package/dist/{sql-utils-Bh-mnsSY-D6hnFPrP.mjs → sql-utils-BMXJi06b-CAQOplfq.mjs} +178 -3
- package/dist/sql-utils-BMXJi06b-CAQOplfq.mjs.map +1 -0
- package/dist/target.d.mts +27 -27
- package/dist/target.mjs +28 -28
- package/dist/target__codec-descriptor.d.mts +2 -2
- package/dist/target__codec-descriptor.mjs +1 -1
- package/dist/target__codec-types.d.mts +3 -3
- package/dist/target__codecs.d.mts +3 -3
- package/dist/target__codecs.mjs +3 -3
- package/dist/target__contract-free.mjs +3 -3
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +4 -4
- package/dist/target__data-types.d.mts +2 -2
- package/dist/target__data-types.mjs +3 -3
- package/dist/target__default-normalizer.mjs +1 -1
- package/dist/target__diff-database-schema.d.mts +1 -1
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__errors.d.mts +1 -1
- package/dist/target__full-text.d.mts +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 +2 -2
- package/dist/target__migration.mjs +2 -2
- package/dist/target__native-type-normalizer.mjs +1 -1
- package/dist/target__op-factory-call.d.mts +2 -2
- package/dist/target__op-factory-call.mjs +1 -1
- package/dist/target__operation-types.d.mts +1 -1
- package/dist/target__pack.d.mts +1 -1
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-ddl-builders.d.mts +2 -2
- package/dist/target__planner-ddl-builders.mjs +1 -1
- package/dist/target__planner-identity-values.d.mts +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.d.mts +1 -1
- package/dist/target__planner-sql-checks.mjs +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__runtime.mjs +3 -3
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__sql-utils.mjs +2 -2
- package/dist/target__types.mjs +2 -2
- package/dist/{types-BPubHbiE-BzhJ05fG.d.mts → types-D6lgKhE5-Cu48rrw9.d.mts} +7 -4
- package/dist/types-D6lgKhE5-Cu48rrw9.d.mts.map +1 -0
- package/dist/types-LTOC-zv8.d.mts +2 -0
- package/package.json +9 -9
- package/dist/adapter-BNrSLsxC-CXrTrSvP.mjs.map +0 -1
- package/dist/adapter-DzNbNJ24.d.mts.map +0 -1
- package/dist/authoring-C5Ch8RNG-Qgq9GiOY.mjs.map +0 -1
- package/dist/codec-descriptor-B61d-k4C-BdWVU6Fu.mjs.map +0 -1
- package/dist/codec-descriptor-D8_e5hpo.d.mts +0 -1
- package/dist/codec-descriptor-HYqjI24K-CTO3gTEs.d.mts.map +0 -1
- package/dist/codec-helpers-BmUrP6U9-DuO9gpqZ.mjs.map +0 -1
- package/dist/codec-types-Diyz6muR.d.mts +0 -2
- package/dist/codecs-BU-eLMQi-BB2afWsO.d.mts.map +0 -1
- package/dist/codecs-CWXNVl1P.mjs.map +0 -1
- package/dist/codecs-CnbVrlil--FxLKWM5.mjs.map +0 -1
- package/dist/codecs-DxqbAhl0.d.mts.map +0 -1
- package/dist/contract-free-DeK6m1dy.mjs.map +0 -1
- package/dist/control-CyiVFspE.mjs.map +0 -1
- package/dist/control-D7_yfEfH.d.mts +0 -402
- package/dist/control-D7_yfEfH.d.mts.map +0 -1
- package/dist/control-adapter-Du0EcG5G-CT4qBFrG.mjs.map +0 -1
- package/dist/control-policy-BW5Cgq3Z-Dn2ZVBCP.mjs.map +0 -1
- package/dist/control-xWtRBAPw.d.mts.map +0 -1
- package/dist/data-type-entries-cjspFU7A-BBOIqLij.mjs.map +0 -1
- package/dist/data-types-BGsYeBpf-B_5bvuEe.mjs +0 -200
- package/dist/data-types-BGsYeBpf-B_5bvuEe.mjs.map +0 -1
- package/dist/data-types-DZGKP-qZ.d.mts +0 -47
- package/dist/data-types-DZGKP-qZ.d.mts.map +0 -1
- package/dist/descriptor-meta-BEigA5Gj-eY7nV4N_.mjs.map +0 -1
- package/dist/descriptor-meta-Bvq6_NJ8-Cn_M79Lf.mjs.map +0 -1
- package/dist/descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs.map +0 -1
- package/dist/diff-database-schema-_bbfF4oI-D_VmL4Ma.mjs.map +0 -1
- package/dist/infer-psl-contract-Burb6YAz-DbKU4cXm.mjs.map +0 -1
- package/dist/issue-planner-BdnqkLvV.d.mts.map +0 -1
- package/dist/native-type-normalizer-CW6g9Fut-C5lMRRjS.mjs.map +0 -1
- package/dist/op-factory-call-CaEALaar-Nh0fSxQY.d.mts.map +0 -1
- package/dist/op-factory-call-DVz_g8zS.d.mts +0 -1
- package/dist/op-factory-call-DkzlLBzN-Bc6l0sYN.mjs.map +0 -1
- package/dist/pack-AqcQpXNv.d.mts.map +0 -1
- package/dist/planner-D7lEhXHR-8Wz1p_6j.mjs.map +0 -1
- package/dist/planner-ddl-builders-BZLzBmuq-BrpA53eH.mjs +0 -128
- package/dist/planner-ddl-builders-BZLzBmuq-BrpA53eH.mjs.map +0 -1
- package/dist/planner-ddl-builders-DYLyFXrj.d.mts.map +0 -1
- package/dist/planner-identity-values-BmHn5C6U-BYBbUAyR.mjs +0 -90
- package/dist/planner-identity-values-BmHn5C6U-BYBbUAyR.mjs.map +0 -1
- package/dist/planner-identity-values-TfEhnoWa.d.mts.map +0 -1
- package/dist/planner-produced-postgres-migration-BMfo2BlI.d.mts +0 -1
- package/dist/planner-produced-postgres-migration-DE2Ia9Ba-hYITaAdW.d.mts.map +0 -1
- package/dist/planner-sql-checks-Bxz8yvg8-Bj6jGClB.mjs +0 -192
- package/dist/planner-sql-checks-Bxz8yvg8-Bj6jGClB.mjs.map +0 -1
- package/dist/planner-type-resolution-Bt2f_q-F-C4T6YTae.mjs +0 -15
- package/dist/planner-type-resolution-Bt2f_q-F-C4T6YTae.mjs.map +0 -1
- package/dist/postgres-contract-view-Da0ymIZE-CBV3OE-k.mjs.map +0 -1
- package/dist/postgres-migration-Dq60Mixq-DYNJokZW.mjs.map +0 -1
- package/dist/prisma7-binding-C0GpQxEQ.d.mts.map +0 -1
- package/dist/prisma7-binding-Dm24YoM6.mjs.map +0 -1
- package/dist/sql-renderer-Bd07vbru.d.mts.map +0 -1
- package/dist/sql-renderer-CgUgFbU4-BY3PCrmG.mjs.map +0 -1
- package/dist/sql-utils-Bh-mnsSY-D6hnFPrP.mjs.map +0 -1
- package/dist/types-BPubHbiE-BzhJ05fG.d.mts.map +0 -1
- package/dist/types-DQ5Lh5JL.d.mts +0 -2
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { C as PG_TIMESTAMPTZ_DATE_CODEC_ID, D as PG_TIMESTAMP_TEMPORAL_CODEC_ID, E as PG_TIMESTAMP_STRING_CODEC_ID, S as PG_TEXT_CODEC_ID, T as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, s as PG_ENUM_CODEC_ID, w as PG_TIMESTAMPTZ_STRING_CODEC_ID } from "./codec-ids-Cb0yO-IS--e0P2rfI.mjs";
|
|
2
|
-
import { i as isPostgresCodecDescriptor } from "./codec-descriptor-B61d-k4C-BdWVU6Fu.mjs";
|
|
3
2
|
import { s as postgresError } from "./errors-DYyzTYzE-39CV_aMo.mjs";
|
|
4
3
|
import { t as DEFAULT_NAMESPACE_ID } from "./namespace-ids-xtp_ZY86-Cpp8PTxD.mjs";
|
|
5
4
|
import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { i as PostgresRlsPolicy, n as PostgresRlsEnablement, o as PostgresRole } from "./postgres-schema-
|
|
5
|
+
import { M as setFallbackTemporal } from "./codecs-BzCRfsit-BbLlbudt.mjs";
|
|
6
|
+
import { i as PostgresRlsPolicy, n as PostgresRlsEnablement, o as PostgresRole } from "./postgres-schema-DXd0mebY-CExd_GcQ.mjs";
|
|
8
7
|
import { n as computeContentHash } from "./canonicalize-CrN3u_xM-D4MrOqcB.mjs";
|
|
9
|
-
import { m as postgresNowGeneratorIdFor, r as POLICY_BLOCK_KEYWORDS } from "./authoring-
|
|
10
|
-
import { t as postgresRenderCheckExpressions } from "./check-expressions-
|
|
11
|
-
import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-
|
|
8
|
+
import { m as postgresNowGeneratorIdFor, r as POLICY_BLOCK_KEYWORDS } from "./authoring-BarDKx1G-BKhOsXKo.mjs";
|
|
9
|
+
import { t as postgresRenderCheckExpressions } from "./check-expressions-BRuSxJ5d-CC5OFfR1.mjs";
|
|
10
|
+
import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-CUmf1G9P-GAdC3zfT.mjs";
|
|
12
11
|
import { a as postgresDiffSubjectGranularity, i as postgresDiffSubjectEntityKind } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
|
|
13
12
|
import { t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
|
|
14
|
-
import {
|
|
15
|
-
import { t as PostgresContractSerializer } from "./postgres-contract-view-
|
|
16
|
-
import { a as postgresContractToSchema } from "./postgres-migration-
|
|
17
|
-
import { t as createPostgresMigrationPlanner } from "./planner-
|
|
18
|
-
import { a as buildIndexAttribute, c as buildNativeEnumBlock, d as createPostgresTypeMap, f as inferPostgresPslContract, g as positionalArg, h as parseDefaultAttributeString, i as buildCheckAttribute, n as SYNTHETIC_SPAN, o as buildMapAttribute, p as namedArg, r as buildAttribute, s as buildModelConstraintAttribute } from "./infer-psl-contract-
|
|
19
|
-
import {
|
|
13
|
+
import { r as diffPostgresSchema } from "./diff-database-schema-BYHT4ZZp-DHQM3yoO.mjs";
|
|
14
|
+
import { t as PostgresContractSerializer } from "./postgres-contract-view-D60F8OWK-Bi5oJkOx.mjs";
|
|
15
|
+
import { a as postgresContractToSchema } from "./postgres-migration-PLXsv15e-BruyXuKH.mjs";
|
|
16
|
+
import { t as createPostgresMigrationPlanner } from "./planner-BWKFZaOu--28k5rC4.mjs";
|
|
17
|
+
import { a as buildIndexAttribute, c as buildNativeEnumBlock, d as createPostgresTypeMap, f as inferPostgresPslContract, g as positionalArg, h as parseDefaultAttributeString, i as buildCheckAttribute, n as SYNTHETIC_SPAN, o as buildMapAttribute, p as namedArg, r as buildAttribute, s as buildModelConstraintAttribute } from "./infer-psl-contract-DBWXA-jx-CmKQgKZJ.mjs";
|
|
18
|
+
import { requiredParamKeys, validateCodecTypeParams } from "@prisma/orm-framework/components/codec";
|
|
20
19
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
20
|
+
import { dataTypeParams, isSqlDataType, unquotedSqlBaseName } from "@prisma/orm-family-sql/contract/data-type";
|
|
21
|
+
import { escapePslString } from "@prisma/orm-family-sql/contract/data-type-support";
|
|
21
22
|
import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
|
|
22
23
|
import { StorageColumn, resolvedTypeParams } from "@prisma/orm-family-sql/contract/types";
|
|
23
24
|
import { APP_SPACE_ID } from "@prisma/orm-framework/components/control";
|
|
@@ -1139,7 +1140,8 @@ function typeArgumentText(value, coordinate) {
|
|
|
1139
1140
|
}
|
|
1140
1141
|
function typeCall(path, args) {
|
|
1141
1142
|
const name = path.join(".");
|
|
1142
|
-
|
|
1143
|
+
const isNamespaced = path.length > 1;
|
|
1144
|
+
if (args.length === 0 && !isNamespaced) return { typeName: name };
|
|
1143
1145
|
return {
|
|
1144
1146
|
typeName: name,
|
|
1145
1147
|
typeConstructor: {
|
|
@@ -1189,21 +1191,26 @@ function buildColumnType(input) {
|
|
|
1189
1191
|
if (call !== void 0) return typeCall(call.path, call.args.map((value) => typeArgumentText(value, coordinate)));
|
|
1190
1192
|
refuseColumnWithoutPslType(column, coordinate);
|
|
1191
1193
|
}
|
|
1192
|
-
/**
|
|
1194
|
+
/**
|
|
1195
|
+
* The type name a value-object member's codec stores, from the data type the codec represents and
|
|
1196
|
+
* the member's type parameters. A member has no column of its own.
|
|
1197
|
+
*/
|
|
1193
1198
|
function nativeTypeOfMember(type, coordinate, context) {
|
|
1194
1199
|
const { codecId } = type;
|
|
1195
1200
|
const descriptor = context.codecLookup.descriptorFor(codecId);
|
|
1196
|
-
if (
|
|
1201
|
+
if (descriptor === void 0) refuseMemberCodecWithoutNativeType(codecId, coordinate);
|
|
1202
|
+
const dataType = context.dataTypeLookup.get(descriptor.dataType);
|
|
1203
|
+
if (dataType === void 0 || !isSqlDataType(dataType)) refuseMemberCodecWithoutNativeType(codecId, coordinate);
|
|
1197
1204
|
const typeParams = resolvedTypeParams(type, void 0);
|
|
1198
|
-
if (typeParams
|
|
1205
|
+
if (typeParams === void 0) {
|
|
1206
|
+
if (requiredParamKeys(dataType).length > 0) refuseMemberCodecNeedingTypeParameters(codecId, coordinate);
|
|
1207
|
+
return unquotedSqlBaseName(dataType, {});
|
|
1208
|
+
}
|
|
1209
|
+
validateCodecTypeParams(descriptor, {
|
|
1199
1210
|
codecId,
|
|
1200
1211
|
typeParams: blindCast(typeParams)
|
|
1201
1212
|
});
|
|
1202
|
-
|
|
1203
|
-
return descriptor.nativeTypeFor({ codecId });
|
|
1204
|
-
} catch {
|
|
1205
|
-
refuseMemberCodecNeedingTypeParameters(codecId, coordinate);
|
|
1206
|
-
}
|
|
1213
|
+
return unquotedSqlBaseName(dataType, dataTypeParams(dataType, typeParams));
|
|
1207
1214
|
}
|
|
1208
1215
|
/** The PSL type position of a value-object member: a value object or an enum by name, or a scalar as a column would print. */
|
|
1209
1216
|
function buildMemberType(input) {
|
|
@@ -1865,7 +1872,7 @@ function buildColumnDefault(input) {
|
|
|
1865
1872
|
const { context } = input;
|
|
1866
1873
|
const result = mapDefault(columnDefault, {
|
|
1867
1874
|
dataTypeEntries: context.authoringContributions.dataTypes,
|
|
1868
|
-
|
|
1875
|
+
dataTypeLookup: context.dataTypeLookup,
|
|
1869
1876
|
columnDataType: context.codecLookup.descriptorFor(input.isEnum ? PG_TEXT_CODEC_ID : input.column.codecId)?.dataType,
|
|
1870
1877
|
list: input.column.many !== false
|
|
1871
1878
|
});
|
|
@@ -2276,110 +2283,84 @@ function buildPostgresPslContract(contract, context) {
|
|
|
2276
2283
|
}
|
|
2277
2284
|
/**
|
|
2278
2285
|
* The base PSL scalars as zero-arg type constructors in the unified authoring
|
|
2279
|
-
* channel
|
|
2280
|
-
* (`codecLookup.targetTypesFor(codecId)[0]`).
|
|
2286
|
+
* channel. Each names a codec; the column's database type is its data type's.
|
|
2281
2287
|
*
|
|
2282
2288
|
* The type position is the only storage decider: a mutation-default generator
|
|
2283
2289
|
* (`@default(uuid())`) never re-picks a column's storage.
|
|
2284
|
-
*
|
|
2285
|
-
* These and `postgresNativeAuthoringTypes` are defined here, next to the codecs they name, but the adapter contributes them: the TypeScript contract builder builds its `type.*` helpers from the target, so a target contribution would add `type.String()` and the like there.
|
|
2286
2290
|
*/
|
|
2287
2291
|
const postgresScalarAuthoringTypes = {
|
|
2288
2292
|
String: {
|
|
2289
2293
|
kind: "typeConstructor",
|
|
2294
|
+
inferred: true,
|
|
2290
2295
|
documentation: "Variable-length text stored as PostgreSQL text.",
|
|
2291
|
-
output: {
|
|
2292
|
-
codecId: "pg/text@1",
|
|
2293
|
-
nativeType: "text"
|
|
2294
|
-
}
|
|
2296
|
+
output: { codecId: "pg/text@1" }
|
|
2295
2297
|
},
|
|
2296
2298
|
Boolean: {
|
|
2297
2299
|
kind: "typeConstructor",
|
|
2300
|
+
inferred: true,
|
|
2298
2301
|
documentation: "A true or false value stored as PostgreSQL boolean.",
|
|
2299
|
-
output: {
|
|
2300
|
-
codecId: "pg/bool@1",
|
|
2301
|
-
nativeType: "bool"
|
|
2302
|
-
}
|
|
2302
|
+
output: { codecId: "pg/bool@1" }
|
|
2303
2303
|
},
|
|
2304
2304
|
Int: {
|
|
2305
2305
|
kind: "typeConstructor",
|
|
2306
|
+
inferred: true,
|
|
2306
2307
|
documentation: "A signed 32-bit integer represented as a JavaScript number.",
|
|
2307
|
-
output: {
|
|
2308
|
-
codecId: "pg/int4@1",
|
|
2309
|
-
nativeType: "int4"
|
|
2310
|
-
}
|
|
2308
|
+
output: { codecId: "pg/int4@1" }
|
|
2311
2309
|
},
|
|
2312
2310
|
BigInt: {
|
|
2313
2311
|
kind: "typeConstructor",
|
|
2312
|
+
inferred: true,
|
|
2314
2313
|
documentation: "A signed 64-bit integer represented as a JavaScript bigint.",
|
|
2315
|
-
output: {
|
|
2316
|
-
codecId: "pg/int8@1",
|
|
2317
|
-
nativeType: "int8"
|
|
2318
|
-
}
|
|
2314
|
+
output: { codecId: "pg/int8@1" }
|
|
2319
2315
|
},
|
|
2320
2316
|
Float: {
|
|
2321
2317
|
kind: "typeConstructor",
|
|
2318
|
+
inferred: true,
|
|
2322
2319
|
documentation: "A double-precision floating-point number.",
|
|
2323
|
-
output: {
|
|
2324
|
-
codecId: "pg/float8@1",
|
|
2325
|
-
nativeType: "float8"
|
|
2326
|
-
}
|
|
2320
|
+
output: { codecId: "pg/float8@1" }
|
|
2327
2321
|
},
|
|
2328
2322
|
Decimal: {
|
|
2329
2323
|
kind: "typeConstructor",
|
|
2330
2324
|
documentation: "An exact decimal value stored as PostgreSQL numeric.",
|
|
2331
|
-
output: {
|
|
2332
|
-
codecId: "pg/numeric@1",
|
|
2333
|
-
nativeType: "numeric"
|
|
2334
|
-
}
|
|
2325
|
+
output: { codecId: "pg/numeric@1" }
|
|
2335
2326
|
},
|
|
2336
2327
|
DateTime: {
|
|
2337
2328
|
kind: "typeConstructor",
|
|
2338
2329
|
documentation: "An instant stored as PostgreSQL timestamptz and represented as Temporal.Instant.",
|
|
2339
|
-
output: {
|
|
2340
|
-
codecId: "pg/timestamptz-temporal@1",
|
|
2341
|
-
nativeType: "timestamptz"
|
|
2342
|
-
}
|
|
2330
|
+
output: { codecId: "pg/timestamptz-temporal@1" }
|
|
2343
2331
|
},
|
|
2344
2332
|
Json: {
|
|
2345
2333
|
kind: "typeConstructor",
|
|
2334
|
+
inferred: true,
|
|
2346
2335
|
documentation: "A JSON value stored as PostgreSQL json.",
|
|
2347
|
-
output: {
|
|
2348
|
-
codecId: "pg/json@1",
|
|
2349
|
-
nativeType: "json"
|
|
2350
|
-
}
|
|
2336
|
+
output: { codecId: "pg/json@1" }
|
|
2351
2337
|
},
|
|
2352
2338
|
Jsonb: {
|
|
2353
2339
|
kind: "typeConstructor",
|
|
2340
|
+
inferred: true,
|
|
2354
2341
|
documentation: "A JSON value stored in PostgreSQL binary jsonb format.",
|
|
2355
|
-
output: {
|
|
2356
|
-
codecId: "pg/jsonb@1",
|
|
2357
|
-
nativeType: "jsonb"
|
|
2358
|
-
}
|
|
2342
|
+
output: { codecId: "pg/jsonb@1" }
|
|
2359
2343
|
},
|
|
2360
2344
|
Bytes: {
|
|
2361
2345
|
kind: "typeConstructor",
|
|
2346
|
+
inferred: true,
|
|
2362
2347
|
documentation: "Binary data stored as PostgreSQL bytea.",
|
|
2363
|
-
output: {
|
|
2364
|
-
codecId: "pg/bytea@1",
|
|
2365
|
-
nativeType: "bytea"
|
|
2366
|
-
}
|
|
2348
|
+
output: { codecId: "pg/bytea@1" }
|
|
2367
2349
|
}
|
|
2368
2350
|
};
|
|
2369
2351
|
const postgresNativeAuthoringTypes = {
|
|
2370
2352
|
VarChar: {
|
|
2371
2353
|
kind: "typeConstructor",
|
|
2354
|
+
inferred: true,
|
|
2372
2355
|
documentation: "Variable-length text with an optional maximum character length.",
|
|
2373
2356
|
args: [{
|
|
2374
2357
|
kind: "number",
|
|
2375
2358
|
name: "length",
|
|
2376
2359
|
integer: true,
|
|
2377
|
-
minimum: 1,
|
|
2378
2360
|
optional: true
|
|
2379
2361
|
}],
|
|
2380
2362
|
output: {
|
|
2381
2363
|
codecId: "sql/varchar@1",
|
|
2382
|
-
nativeType: "character varying",
|
|
2383
2364
|
typeParams: { length: {
|
|
2384
2365
|
kind: "arg",
|
|
2385
2366
|
index: 0
|
|
@@ -2388,17 +2369,16 @@ const postgresNativeAuthoringTypes = {
|
|
|
2388
2369
|
},
|
|
2389
2370
|
Char: {
|
|
2390
2371
|
kind: "typeConstructor",
|
|
2372
|
+
inferred: true,
|
|
2391
2373
|
documentation: "Fixed-length, blank-padded text with an optional character length.",
|
|
2392
2374
|
args: [{
|
|
2393
2375
|
kind: "number",
|
|
2394
2376
|
name: "length",
|
|
2395
2377
|
integer: true,
|
|
2396
|
-
minimum: 1,
|
|
2397
2378
|
optional: true
|
|
2398
2379
|
}],
|
|
2399
2380
|
output: {
|
|
2400
2381
|
codecId: "sql/char@1",
|
|
2401
|
-
nativeType: "character",
|
|
2402
2382
|
typeParams: { length: {
|
|
2403
2383
|
kind: "arg",
|
|
2404
2384
|
index: 0
|
|
@@ -2407,25 +2387,21 @@ const postgresNativeAuthoringTypes = {
|
|
|
2407
2387
|
},
|
|
2408
2388
|
Numeric: {
|
|
2409
2389
|
kind: "typeConstructor",
|
|
2390
|
+
inferred: true,
|
|
2410
2391
|
documentation: "An exact decimal value with optional precision and scale.",
|
|
2411
2392
|
args: [{
|
|
2412
2393
|
kind: "number",
|
|
2413
2394
|
name: "precision",
|
|
2414
2395
|
integer: true,
|
|
2415
|
-
minimum: NUMERIC_PRECISION_RANGE.min,
|
|
2416
|
-
maximum: NUMERIC_PRECISION_RANGE.max,
|
|
2417
2396
|
optional: true
|
|
2418
2397
|
}, {
|
|
2419
2398
|
kind: "number",
|
|
2420
2399
|
name: "scale",
|
|
2421
2400
|
integer: true,
|
|
2422
|
-
minimum: NUMERIC_SCALE_RANGE.min,
|
|
2423
|
-
maximum: NUMERIC_SCALE_RANGE.max,
|
|
2424
2401
|
optional: true
|
|
2425
2402
|
}],
|
|
2426
2403
|
output: {
|
|
2427
2404
|
codecId: "pg/numeric@1",
|
|
2428
|
-
nativeType: "numeric",
|
|
2429
2405
|
typeParams: {
|
|
2430
2406
|
precision: {
|
|
2431
2407
|
kind: "arg",
|
|
@@ -2445,12 +2421,10 @@ const postgresNativeAuthoringTypes = {
|
|
|
2445
2421
|
kind: "number",
|
|
2446
2422
|
name: "precision",
|
|
2447
2423
|
integer: true,
|
|
2448
|
-
minimum: 0,
|
|
2449
2424
|
optional: true
|
|
2450
2425
|
}],
|
|
2451
2426
|
output: {
|
|
2452
2427
|
codecId: "pg/timestamp-temporal@1",
|
|
2453
|
-
nativeType: "timestamp",
|
|
2454
2428
|
typeParams: { precision: {
|
|
2455
2429
|
kind: "arg",
|
|
2456
2430
|
index: 0
|
|
@@ -2464,12 +2438,10 @@ const postgresNativeAuthoringTypes = {
|
|
|
2464
2438
|
kind: "number",
|
|
2465
2439
|
name: "precision",
|
|
2466
2440
|
integer: true,
|
|
2467
|
-
minimum: 0,
|
|
2468
2441
|
optional: true
|
|
2469
2442
|
}],
|
|
2470
2443
|
output: {
|
|
2471
2444
|
codecId: "pg/timestamptz-temporal@1",
|
|
2472
|
-
nativeType: "timestamptz",
|
|
2473
2445
|
typeParams: { precision: {
|
|
2474
2446
|
kind: "arg",
|
|
2475
2447
|
index: 0
|
|
@@ -2483,12 +2455,10 @@ const postgresNativeAuthoringTypes = {
|
|
|
2483
2455
|
kind: "number",
|
|
2484
2456
|
name: "precision",
|
|
2485
2457
|
integer: true,
|
|
2486
|
-
minimum: 0,
|
|
2487
2458
|
optional: true
|
|
2488
2459
|
}],
|
|
2489
2460
|
output: {
|
|
2490
2461
|
codecId: "pg/time-temporal@1",
|
|
2491
|
-
nativeType: "time",
|
|
2492
2462
|
typeParams: { precision: {
|
|
2493
2463
|
kind: "arg",
|
|
2494
2464
|
index: 0
|
|
@@ -2497,17 +2467,16 @@ const postgresNativeAuthoringTypes = {
|
|
|
2497
2467
|
},
|
|
2498
2468
|
Timetz: {
|
|
2499
2469
|
kind: "typeConstructor",
|
|
2470
|
+
inferred: true,
|
|
2500
2471
|
documentation: "A time of day with a UTC offset stored as PostgreSQL timetz.",
|
|
2501
2472
|
args: [{
|
|
2502
2473
|
kind: "number",
|
|
2503
2474
|
name: "precision",
|
|
2504
2475
|
integer: true,
|
|
2505
|
-
minimum: 0,
|
|
2506
2476
|
optional: true
|
|
2507
2477
|
}],
|
|
2508
2478
|
output: {
|
|
2509
2479
|
codecId: "pg/timetz@1",
|
|
2510
|
-
nativeType: "timetz",
|
|
2511
2480
|
typeParams: { precision: {
|
|
2512
2481
|
kind: "arg",
|
|
2513
2482
|
index: 0
|
|
@@ -2516,65 +2485,51 @@ const postgresNativeAuthoringTypes = {
|
|
|
2516
2485
|
},
|
|
2517
2486
|
Uuid: {
|
|
2518
2487
|
kind: "typeConstructor",
|
|
2488
|
+
inferred: true,
|
|
2519
2489
|
documentation: "A universally unique identifier stored as PostgreSQL uuid.",
|
|
2520
|
-
output: {
|
|
2521
|
-
codecId: "pg/uuid@1",
|
|
2522
|
-
nativeType: "uuid"
|
|
2523
|
-
}
|
|
2490
|
+
output: { codecId: "pg/uuid@1" }
|
|
2524
2491
|
},
|
|
2525
2492
|
Inet: {
|
|
2526
2493
|
kind: "typeConstructor",
|
|
2494
|
+
inferred: true,
|
|
2527
2495
|
documentation: "An IPv4 or IPv6 address with an optional subnet mask.",
|
|
2528
|
-
output: {
|
|
2529
|
-
codecId: "pg/inet@1",
|
|
2530
|
-
nativeType: "inet"
|
|
2531
|
-
}
|
|
2496
|
+
output: { codecId: "pg/inet@1" }
|
|
2532
2497
|
},
|
|
2533
2498
|
SmallInt: {
|
|
2534
2499
|
kind: "typeConstructor",
|
|
2500
|
+
inferred: true,
|
|
2535
2501
|
documentation: "A signed 16-bit integer represented as a JavaScript number.",
|
|
2536
|
-
output: {
|
|
2537
|
-
codecId: "pg/int2@1",
|
|
2538
|
-
nativeType: "int2"
|
|
2539
|
-
}
|
|
2502
|
+
output: { codecId: "pg/int2@1" }
|
|
2540
2503
|
},
|
|
2541
2504
|
Real: {
|
|
2542
2505
|
kind: "typeConstructor",
|
|
2506
|
+
inferred: true,
|
|
2543
2507
|
documentation: "A single-precision floating-point number.",
|
|
2544
|
-
output: {
|
|
2545
|
-
codecId: "pg/float4@1",
|
|
2546
|
-
nativeType: "float4"
|
|
2547
|
-
}
|
|
2508
|
+
output: { codecId: "pg/float4@1" }
|
|
2548
2509
|
},
|
|
2549
2510
|
Date: {
|
|
2550
2511
|
kind: "typeConstructor",
|
|
2551
2512
|
documentation: "A calendar date represented as Temporal.PlainDate.",
|
|
2552
|
-
output: {
|
|
2553
|
-
codecId: "pg/date-temporal@1",
|
|
2554
|
-
nativeType: "date"
|
|
2555
|
-
}
|
|
2513
|
+
output: { codecId: "pg/date-temporal@1" }
|
|
2556
2514
|
},
|
|
2557
2515
|
DateString: {
|
|
2558
2516
|
kind: "typeConstructor",
|
|
2517
|
+
inferred: true,
|
|
2559
2518
|
documentation: "A PostgreSQL date represented as database text rather than Temporal.PlainDate.",
|
|
2560
|
-
output: {
|
|
2561
|
-
codecId: "pg/date-string@1",
|
|
2562
|
-
nativeType: "date"
|
|
2563
|
-
}
|
|
2519
|
+
output: { codecId: "pg/date-string@1" }
|
|
2564
2520
|
},
|
|
2565
2521
|
TimestampString: {
|
|
2566
2522
|
kind: "typeConstructor",
|
|
2523
|
+
inferred: true,
|
|
2567
2524
|
documentation: "A timestamp without a time zone represented as PostgreSQL text.",
|
|
2568
2525
|
args: [{
|
|
2569
2526
|
kind: "number",
|
|
2570
2527
|
name: "precision",
|
|
2571
2528
|
integer: true,
|
|
2572
|
-
minimum: 0,
|
|
2573
2529
|
optional: true
|
|
2574
2530
|
}],
|
|
2575
2531
|
output: {
|
|
2576
2532
|
codecId: "pg/timestamp-string@1",
|
|
2577
|
-
nativeType: "timestamp",
|
|
2578
2533
|
typeParams: { precision: {
|
|
2579
2534
|
kind: "arg",
|
|
2580
2535
|
index: 0
|
|
@@ -2588,12 +2543,10 @@ const postgresNativeAuthoringTypes = {
|
|
|
2588
2543
|
kind: "number",
|
|
2589
2544
|
name: "precision",
|
|
2590
2545
|
integer: true,
|
|
2591
|
-
minimum: 0,
|
|
2592
2546
|
optional: true
|
|
2593
2547
|
}],
|
|
2594
2548
|
output: {
|
|
2595
2549
|
codecId: PG_TIMESTAMPTZ_DATE_CODEC_ID,
|
|
2596
|
-
nativeType: "timestamptz",
|
|
2597
2550
|
typeParams: { precision: {
|
|
2598
2551
|
kind: "arg",
|
|
2599
2552
|
index: 0
|
|
@@ -2602,17 +2555,16 @@ const postgresNativeAuthoringTypes = {
|
|
|
2602
2555
|
},
|
|
2603
2556
|
TimestamptzString: {
|
|
2604
2557
|
kind: "typeConstructor",
|
|
2558
|
+
inferred: true,
|
|
2605
2559
|
documentation: "A timestamp with time zone represented as PostgreSQL text.",
|
|
2606
2560
|
args: [{
|
|
2607
2561
|
kind: "number",
|
|
2608
2562
|
name: "precision",
|
|
2609
2563
|
integer: true,
|
|
2610
|
-
minimum: 0,
|
|
2611
2564
|
optional: true
|
|
2612
2565
|
}],
|
|
2613
2566
|
output: {
|
|
2614
2567
|
codecId: "pg/timestamptz-string@1",
|
|
2615
|
-
nativeType: "timestamptz",
|
|
2616
2568
|
typeParams: { precision: {
|
|
2617
2569
|
kind: "arg",
|
|
2618
2570
|
index: 0
|
|
@@ -2621,17 +2573,16 @@ const postgresNativeAuthoringTypes = {
|
|
|
2621
2573
|
},
|
|
2622
2574
|
TimeString: {
|
|
2623
2575
|
kind: "typeConstructor",
|
|
2576
|
+
inferred: true,
|
|
2624
2577
|
documentation: "A time of day without a time zone represented as PostgreSQL text.",
|
|
2625
2578
|
args: [{
|
|
2626
2579
|
kind: "number",
|
|
2627
2580
|
name: "precision",
|
|
2628
2581
|
integer: true,
|
|
2629
|
-
minimum: 0,
|
|
2630
2582
|
optional: true
|
|
2631
2583
|
}],
|
|
2632
2584
|
output: {
|
|
2633
2585
|
codecId: "pg/time-string@1",
|
|
2634
|
-
nativeType: "time",
|
|
2635
2586
|
typeParams: { precision: {
|
|
2636
2587
|
kind: "arg",
|
|
2637
2588
|
index: 0
|
|
@@ -2639,6 +2590,13 @@ const postgresNativeAuthoringTypes = {
|
|
|
2639
2590
|
}
|
|
2640
2591
|
}
|
|
2641
2592
|
};
|
|
2593
|
+
/**
|
|
2594
|
+
* The constructors only PSL offers, defined here next to the codecs they name. The adapter contributes them: the TypeScript contract builder builds its `type.*` helpers from the target, so a target contribution would add `type.String()` and the like there. The constructors that should also be `type.*` helpers are the target's own, in `postgresAuthoringTypes`.
|
|
2595
|
+
*/
|
|
2596
|
+
const postgresPslTypeConstructors = {
|
|
2597
|
+
...postgresScalarAuthoringTypes,
|
|
2598
|
+
...postgresNativeAuthoringTypes
|
|
2599
|
+
};
|
|
2642
2600
|
function createPostgresTargetDescriptor() {
|
|
2643
2601
|
setFallbackTemporal(Temporal);
|
|
2644
2602
|
return {
|
|
@@ -2692,6 +2650,6 @@ function createPostgresTargetDescriptor() {
|
|
|
2692
2650
|
}
|
|
2693
2651
|
const postgresTargetDescriptor = createPostgresTargetDescriptor();
|
|
2694
2652
|
//#endregion
|
|
2695
|
-
export {
|
|
2653
|
+
export { postgresTargetDescriptor as i, postgresPslTypeConstructors as n, postgresScalarAuthoringTypes as r, postgresNativeAuthoringTypes as t };
|
|
2696
2654
|
|
|
2697
|
-
//# sourceMappingURL=control-
|
|
2655
|
+
//# sourceMappingURL=control-C0mAPRzk.mjs.map
|