@prisma/orm-target-postgres 8.0.0-rc.2-dev.3 → 8.0.0-rc.20
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 +4 -6
- package/dist/adapter-5qylEP__.d.mts +403 -0
- package/dist/adapter-5qylEP__.d.mts.map +1 -0
- package/dist/{adapter-B0xsc80z-sYcF0RVF.mjs → adapter-svGTIjA2-1p-Iw8D2.mjs} +24 -30
- package/dist/adapter-svGTIjA2-1p-Iw8D2.mjs.map +1 -0
- package/dist/adapter.d.mts +11 -13
- package/dist/adapter.mjs +7 -8
- package/dist/adapter__adapter.d.mts +2 -2
- package/dist/adapter__adapter.mjs +3 -2
- package/dist/adapter__column-types.d.mts +2 -2
- package/dist/adapter__column-types.mjs +2 -2
- package/dist/adapter__control.d.mts +4 -5
- package/dist/adapter__control.mjs +11 -423
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +29 -19
- 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 +4 -3
- package/dist/aggregates-CEqqEg8k.d.mts +318 -0
- package/dist/aggregates-CEqqEg8k.d.mts.map +1 -0
- package/dist/{aggregates-Dh6HPdvC.mjs → aggregates-Dw-lAutX.mjs} +105 -40
- package/dist/aggregates-Dw-lAutX.mjs.map +1 -0
- package/dist/authoring-DWd5pnnV-BBX7P1wT.d.mts +52 -0
- package/dist/authoring-DWd5pnnV-BBX7P1wT.d.mts.map +1 -0
- package/dist/authoring-SbdvmVJh-nQ7YliD_.mjs +1342 -0
- package/dist/authoring-SbdvmVJh-nQ7YliD_.mjs.map +1 -0
- package/dist/autoincrement-widths-DonNJgfS-CCvZ4u1W.mjs +58 -0
- package/dist/autoincrement-widths-DonNJgfS-CCvZ4u1W.mjs.map +1 -0
- package/dist/{canonicalize-CQlxSR4D-MnrT5gtW.d.mts → canonicalize-B-xvDOdd-G3yUeKj4.d.mts} +7 -3
- package/dist/canonicalize-B-xvDOdd-G3yUeKj4.d.mts.map +1 -0
- package/dist/{canonicalize-CrN3u_xM-D4MrOqcB.mjs → canonicalize-RdxoUHao-FTTkizfe.mjs} +15 -3
- package/dist/canonicalize-RdxoUHao-FTTkizfe.mjs.map +1 -0
- package/dist/check-expressions-7uCCP01t-DtX2Vak9.mjs +48 -0
- package/dist/check-expressions-7uCCP01t-DtX2Vak9.mjs.map +1 -0
- package/dist/{check-expressions-DRgG8RN5-DiA-22aC.d.mts → check-expressions-CtTzM58x-LloO-5Vf.d.mts} +14 -13
- package/dist/check-expressions-CtTzM58x-LloO-5Vf.d.mts.map +1 -0
- package/dist/{codec-descriptor-LT7BpQta-BaDM8UQQ.mjs → codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs} +12 -21
- package/dist/codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs.map +1 -0
- package/dist/codec-descriptor-Fb3UoQGb.d.mts +1 -0
- package/dist/codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts +47 -0
- package/dist/codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts.map +1 -0
- package/dist/codec-ids-BMhEpFwv-B8Zh0s_Q.mjs +41 -0
- package/dist/codec-ids-BMhEpFwv-B8Zh0s_Q.mjs.map +1 -0
- package/dist/codec-ids-C6II64Wy-CPYTqDTT.d.mts +41 -0
- package/dist/codec-ids-C6II64Wy-CPYTqDTT.d.mts.map +1 -0
- package/dist/codec-ids-CcB5uBNf.d.mts +1 -0
- package/dist/codec-registry-D7XslgPe-DTZnVB8W.mjs +61 -0
- package/dist/codec-registry-D7XslgPe-DTZnVB8W.mjs.map +1 -0
- package/dist/codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts +53 -0
- package/dist/codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts.map +1 -0
- package/dist/codec-types-BBACckHa.d.mts +2 -0
- package/dist/codec-types-Ct_4iTVc-3tFJcIBo.d.mts +84 -0
- package/dist/codec-types-Ct_4iTVc-3tFJcIBo.d.mts.map +1 -0
- package/dist/codecs-CADK7dCR-C8WToYQb.d.mts +724 -0
- package/dist/codecs-CADK7dCR-C8WToYQb.d.mts.map +1 -0
- package/dist/codecs-CRl9-i_r-Co-bgYl3.mjs +1743 -0
- package/dist/codecs-CRl9-i_r-Co-bgYl3.mjs.map +1 -0
- package/dist/codecs-CoEpEqjM.d.mts +31 -0
- package/dist/codecs-CoEpEqjM.d.mts.map +1 -0
- package/dist/column-types-B4zsV-u3.mjs +106 -0
- package/dist/column-types-B4zsV-u3.mjs.map +1 -0
- package/dist/column-types-Bs2V0j8T.d.mts +164 -0
- package/dist/column-types-Bs2V0j8T.d.mts.map +1 -0
- package/dist/{control-adapter-DFr4gS-r-DM3KcZdQ.mjs → contract-contributions-Xz2FpyfI-CeQZqHKf.mjs} +489 -292
- package/dist/contract-contributions-Xz2FpyfI-CeQZqHKf.mjs.map +1 -0
- package/dist/{contract-free-DzpGxLfb.d.mts → contract-free-B6-wuc6M.d.mts} +36 -6
- package/dist/contract-free-B6-wuc6M.d.mts.map +1 -0
- package/dist/{contract-free-aQ4nT-_R.mjs → contract-free-o7olebm9.mjs} +13 -9
- package/dist/contract-free-o7olebm9.mjs.map +1 -0
- package/dist/control--HupSPoV.d.mts +847 -0
- package/dist/control--HupSPoV.d.mts.map +1 -0
- package/dist/{control-BaUpALVp.d.mts → control-CQEjh4P7.d.mts} +2 -2
- package/dist/control-CQEjh4P7.d.mts.map +1 -0
- package/dist/{control-DLTOAEHj.d.mts → control-D4cTcpcJ.d.mts} +22 -48
- package/dist/control-D4cTcpcJ.d.mts.map +1 -0
- package/dist/{control-Y6FxMu3o.mjs → control-DZQwENIP.mjs} +21 -9
- package/dist/control-DZQwENIP.mjs.map +1 -0
- package/dist/{control-policy-B53lnBCT-B9K9Cj1x.mjs → control-policy-DtU5u9Dm-44r_OF94.mjs} +444 -218
- package/dist/control-policy-DtU5u9Dm-44r_OF94.mjs.map +1 -0
- package/dist/{data-transform-ChZzy2dP-CxVCat_8.mjs → data-transform-h9agBu_c-RlC5A7aY.mjs} +12 -5
- package/dist/data-transform-h9agBu_c-RlC5A7aY.mjs.map +1 -0
- package/dist/{data-transform-Ck5FbyNO-BNE7QlAo.d.mts → data-transform-nGy9rz87-CE3DGlgn.d.mts} +15 -4
- package/dist/data-transform-nGy9rz87-CE3DGlgn.d.mts.map +1 -0
- package/dist/data-transform-nqkqNIb8.d.mts +1 -0
- package/dist/data-type-entries-gQW3-KSb-BIl8vgus.mjs +128 -0
- package/dist/data-type-entries-gQW3-KSb-BIl8vgus.mjs.map +1 -0
- package/dist/data-types--7V9yY1G.d.mts +99 -0
- package/dist/data-types--7V9yY1G.d.mts.map +1 -0
- package/dist/data-types-Chx0mjTP-DczU4S9b.mjs +950 -0
- package/dist/data-types-Chx0mjTP-DczU4S9b.mjs.map +1 -0
- package/dist/date-time-now-generators-CMkXVbMG-C-GjhReE.d.mts +45 -0
- package/dist/date-time-now-generators-CMkXVbMG-C-GjhReE.d.mts.map +1 -0
- package/dist/ddl-B7Rqlz6D-B7dRDgYb.mjs +647 -0
- package/dist/ddl-B7Rqlz6D-B7dRDgYb.mjs.map +1 -0
- package/dist/ddl-B8nQZTWN.d.mts +1 -0
- package/dist/default-constraint-names-Cz9Yoeim-sUzOGvIm.mjs +18 -0
- package/dist/default-constraint-names-Cz9Yoeim-sUzOGvIm.mjs.map +1 -0
- package/dist/default-normalizer-BqK6XxdC-2OUb2ybG.mjs +311 -0
- package/dist/default-normalizer-BqK6XxdC-2OUb2ybG.mjs.map +1 -0
- package/dist/default-normalizer-DO-cH75Q.d.mts +25 -0
- package/dist/default-normalizer-DO-cH75Q.d.mts.map +1 -0
- package/dist/descriptor-meta-BkD3nXF_-CZaNqC6r.mjs +36 -0
- package/dist/descriptor-meta-BkD3nXF_-CZaNqC6r.mjs.map +1 -0
- package/dist/descriptor-meta-DaFDNnHQ-QjiiAEtC.mjs +64 -0
- package/dist/descriptor-meta-DaFDNnHQ-QjiiAEtC.mjs.map +1 -0
- package/dist/descriptor-meta-runtime-Dft1L7eE-D8vpOz_Z.mjs +15 -0
- package/dist/descriptor-meta-runtime-Dft1L7eE-D8vpOz_Z.mjs.map +1 -0
- package/dist/{diff-database-schema-DsoNznGC.d.mts → diff-database-schema-BxzhZaVN.d.mts} +12 -7
- package/dist/diff-database-schema-BxzhZaVN.d.mts.map +1 -0
- package/dist/{diff-database-schema-DKq76rCk-uehceHYz.mjs → diff-database-schema-DAEzWtzU-DoyVgKqh.mjs} +38 -18
- package/dist/diff-database-schema-DAEzWtzU-DoyVgKqh.mjs.map +1 -0
- package/dist/driver.d.mts +3 -3
- package/dist/driver.mjs +3 -2
- package/dist/driver__control.d.mts +1 -1
- package/dist/driver__control.mjs +1 -1
- package/dist/driver__runtime.d.mts +2 -2
- package/dist/driver__runtime.mjs +2 -639
- package/dist/errors-BrhQYgdL-IvZHPjwL.mjs +103 -0
- package/dist/errors-BrhQYgdL-IvZHPjwL.mjs.map +1 -0
- package/dist/{errors-CU4xIwwk.d.mts → errors-D3Mj-x0o.d.mts} +3 -3
- package/dist/errors-D3Mj-x0o.d.mts.map +1 -0
- package/dist/full-text-BYg7EVX2.mjs +39 -0
- package/dist/full-text-BYg7EVX2.mjs.map +1 -0
- package/dist/full-text-SDbfxrE_.d.mts +26 -0
- package/dist/full-text-SDbfxrE_.d.mts.map +1 -0
- package/dist/full-text-collection-method-BFd2u2cs-Ba3OiWM3.d.mts +27 -0
- package/dist/full-text-collection-method-BFd2u2cs-Ba3OiWM3.d.mts.map +1 -0
- package/dist/full-text-index-authoring-CN1L9C1k.d.mts +7 -0
- package/dist/full-text-index-authoring-CN1L9C1k.d.mts.map +1 -0
- package/dist/full-text-index-definition-BPxQQBuC-VLyQ1kEL.mjs +195 -0
- package/dist/full-text-index-definition-BPxQQBuC-VLyQ1kEL.mjs.map +1 -0
- package/dist/full-text-index-definition-D5iBWLss-BEpqiucV.d.mts +71 -0
- package/dist/full-text-index-definition-D5iBWLss-BEpqiucV.d.mts.map +1 -0
- package/dist/full-text-parsers-CFFxiOrp-CrZ7VI1m.mjs +139 -0
- package/dist/full-text-parsers-CFFxiOrp-CrZ7VI1m.mjs.map +1 -0
- package/dist/full-text-search-document-Doy5TF7c-aMWM_1KB.mjs +54 -0
- package/dist/full-text-search-document-Doy5TF7c-aMWM_1KB.mjs.map +1 -0
- package/dist/index-types-BihjrAAq-C2VnfAyF.mjs +14 -0
- package/dist/index-types-BihjrAAq-C2VnfAyF.mjs.map +1 -0
- package/dist/indexes-BYf6nXVv-BXwLw7fO.d.mts +60 -0
- package/dist/indexes-BYf6nXVv-BXwLw7fO.d.mts.map +1 -0
- package/dist/infer-psl-contract-BSSHcuRi-ChdFSviw.mjs +1143 -0
- package/dist/infer-psl-contract-BSSHcuRi-ChdFSviw.mjs.map +1 -0
- package/dist/{issue-planner-Biq9Ls7e.d.mts → issue-planner-D-On52xP.d.mts} +39 -9
- package/dist/issue-planner-D-On52xP.d.mts.map +1 -0
- package/dist/list-decoder-BcrLExnx-DlCwavhu.d.mts +7 -0
- package/dist/list-decoder-BcrLExnx-DlCwavhu.d.mts.map +1 -0
- package/dist/marker-lock-BviIbusV.d.mts +11 -0
- package/dist/marker-lock-BviIbusV.d.mts.map +1 -0
- package/dist/marker-lock-DFc1Tfv5-BkBKBRE3.mjs +11 -0
- package/dist/marker-lock-DFc1Tfv5-BkBKBRE3.mjs.map +1 -0
- package/dist/{migration-PTHAY9Cv.mjs → migration-Be_iuIpn.mjs} +5 -4
- package/dist/migration-Be_iuIpn.mjs.map +1 -0
- package/dist/migration-D4lMmLVj.d.mts +26 -0
- package/dist/migration-D4lMmLVj.d.mts.map +1 -0
- package/dist/{namespace-ids-xtp_ZY86-Cpp8PTxD.mjs → namespace-ids-xtp_ZY86-Cxc0dBbO.mjs} +2 -2
- package/dist/namespace-ids-xtp_ZY86-Cxc0dBbO.mjs.map +1 -0
- package/dist/native-type-normalizer-BaGa9eeb.d.mts +30 -0
- package/dist/native-type-normalizer-BaGa9eeb.d.mts.map +1 -0
- package/dist/native-type-normalizer-Cn-RGt_E.mjs +24 -0
- package/dist/native-type-normalizer-Cn-RGt_E.mjs.map +1 -0
- package/dist/{nodes-DAvDJLvJ-BBdvFXNa.mjs → nodes-G8VTh4PM-DNvIhHag.mjs} +78 -7
- package/dist/nodes-G8VTh4PM-DNvIhHag.mjs.map +1 -0
- package/dist/{nodes-BU-V-aZA-RqwPH68u.d.mts → nodes-s0Oe37jT-Cw3BU2gL.d.mts} +82 -29
- package/dist/nodes-s0Oe37jT-Cw3BU2gL.d.mts.map +1 -0
- package/dist/op-factory-call-CRaVUOb_.d.mts +1 -0
- package/dist/{op-factory-call-H6zeDGLe-_1pAftJk.mjs → op-factory-call-gGX-mZu--0QUG5xH4.mjs} +1014 -258
- package/dist/op-factory-call-gGX-mZu--0QUG5xH4.mjs.map +1 -0
- package/dist/{op-factory-call-BAeyLFYf-BAgG1h1C.d.mts → op-factory-call-nLHvNx0O-BTBhGbOF.d.mts} +169 -111
- package/dist/op-factory-call-nLHvNx0O-BTBhGbOF.d.mts.map +1 -0
- package/dist/operation-types--Wa_cv45-RoRnL1Dn.d.mts +192 -0
- package/dist/operation-types--Wa_cv45-RoRnL1Dn.d.mts.map +1 -0
- package/dist/operation-types-OXILTAOX.d.mts +1 -0
- package/dist/pack-2CYw2w-b.d.mts +1573 -0
- package/dist/pack-2CYw2w-b.d.mts.map +1 -0
- package/dist/{planner-CT-7zSfk.d.mts → planner-AD3Dt57t.d.mts} +23 -51
- package/dist/planner-AD3Dt57t.d.mts.map +1 -0
- package/dist/planner-VuR6URu3-CCUT2Osx.mjs +954 -0
- package/dist/planner-VuR6URu3-CCUT2Osx.mjs.map +1 -0
- package/dist/planner-ddl-builders-CPM3y7cQ.d.mts +16 -0
- package/dist/planner-ddl-builders-CPM3y7cQ.d.mts.map +1 -0
- package/dist/planner-ddl-builders-cYnH52gC-BWifb_M6.mjs +28 -0
- package/dist/planner-ddl-builders-cYnH52gC-BWifb_M6.mjs.map +1 -0
- package/dist/planner-identity-values-Dsq989Lh.d.mts +26 -0
- package/dist/planner-identity-values-Dsq989Lh.d.mts.map +1 -0
- package/dist/planner-identity-values-QstrMJ2U-CcpaRVPY.mjs +70 -0
- package/dist/planner-identity-values-QstrMJ2U-CcpaRVPY.mjs.map +1 -0
- package/dist/planner-produced-postgres-migration-BBUwtjA_.d.mts +1 -0
- package/dist/{planner-produced-postgres-migration-D5m8nK6s-CbZ4hlbv.mjs → planner-produced-postgres-migration-BZclL_xO-uflxtYuP.mjs} +5 -5
- package/dist/planner-produced-postgres-migration-BZclL_xO-uflxtYuP.mjs.map +1 -0
- package/dist/{planner-produced-postgres-migration-BaviT8KK-Yo9kw6rs.d.mts → planner-produced-postgres-migration-DyIXJ3MR-DHO5wn_X.d.mts} +4 -4
- package/dist/planner-produced-postgres-migration-DyIXJ3MR-DHO5wn_X.d.mts.map +1 -0
- package/dist/{planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs → planner-schema-lookup-BbUY9oVy.mjs} +2 -2
- package/dist/planner-schema-lookup-BbUY9oVy.mjs.map +1 -0
- package/dist/{planner-schema-lookup-C4DHAddq.d.mts → planner-schema-lookup-ceCNOGFf.d.mts} +2 -2
- package/dist/planner-schema-lookup-ceCNOGFf.d.mts.map +1 -0
- package/dist/planner-sql-checks-D-K44J19-CzvrqzNB.mjs +151 -0
- package/dist/planner-sql-checks-D-K44J19-CzvrqzNB.mjs.map +1 -0
- package/dist/planner-sql-checks-Ed-WGtge-D9ByMrW4.d.mts +37 -0
- package/dist/planner-sql-checks-Ed-WGtge-D9ByMrW4.d.mts.map +1 -0
- package/dist/planner-sql-checks-rEjFx_Jv.d.mts +1 -0
- package/dist/planner-target-details-CUEF0s90-6g-mOgTI.mjs +14 -0
- package/dist/planner-target-details-CUEF0s90-6g-mOgTI.mjs.map +1 -0
- package/dist/{planner-target-details-HkP4RrRO-_xPQVPF0.d.mts → planner-target-details-HkP4RrRO-D6VtK0jY.d.mts} +2 -2
- package/dist/planner-target-details-HkP4RrRO-D6VtK0jY.d.mts.map +1 -0
- package/dist/postgres-codec-traits-CnP5Bjxp-Dxdgv0TI.mjs +11 -0
- package/dist/postgres-codec-traits-CnP5Bjxp-Dxdgv0TI.mjs.map +1 -0
- package/dist/{postgres-contract-view-2OP5JnXl-D2fpy4-8.d.mts → postgres-contract-view-BFzIDwwN-hL3QLe_b.d.mts} +2 -2
- package/dist/postgres-contract-view-BFzIDwwN-hL3QLe_b.d.mts.map +1 -0
- package/dist/{postgres-contract-view-B8ykf2cO-T2LvWVFZ.mjs → postgres-contract-view-BO2elRMz-BqMBzJoJ.mjs} +27 -14
- package/dist/postgres-contract-view-BO2elRMz-BqMBzJoJ.mjs.map +1 -0
- package/dist/{postgres-database-schema-node-CyfpHXDr-BqyozkQE.d.mts → postgres-database-schema-node-Cv8usVNX-BmvGozi4.d.mts} +4 -4
- package/dist/postgres-database-schema-node-Cv8usVNX-BmvGozi4.d.mts.map +1 -0
- package/dist/postgres-migration-BSWmeRLo-CUfVTUf0.mjs +1312 -0
- package/dist/postgres-migration-BSWmeRLo-CUfVTUf0.mjs.map +1 -0
- package/dist/{postgres-migration-BNsrwlxh-CwI5BqAu.d.mts → postgres-migration-C5deJ3Ne-C4Jxu-e6.d.mts} +135 -15
- package/dist/postgres-migration-C5deJ3Ne-C4Jxu-e6.d.mts.map +1 -0
- package/dist/{postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs → postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs} +2 -2
- package/dist/postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs.map +1 -0
- package/dist/postgres-object-name-FPikIvOw-B8FfJI7z.mjs +23 -0
- package/dist/postgres-object-name-FPikIvOw-B8FfJI7z.mjs.map +1 -0
- package/dist/{postgres-rls-policy-CnDxf3z9-C3LIHAIG.d.mts → postgres-rls-policy-CnDxf3z9-BjpVyUnK.d.mts} +2 -2
- package/dist/postgres-rls-policy-CnDxf3z9-BjpVyUnK.d.mts.map +1 -0
- package/dist/{postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs → postgres-role-schema-node-B8Z5i5D--BzOKm4N1.mjs} +3 -3
- package/dist/postgres-role-schema-node-B8Z5i5D--BzOKm4N1.mjs.map +1 -0
- package/dist/{postgres-schema-CF0yHESb-D7n2X21R.mjs → postgres-schema-C6w1rzOF-D1fdwqRx.mjs} +14 -12
- package/dist/postgres-schema-C6w1rzOF-D1fdwqRx.mjs.map +1 -0
- package/dist/{postgres-schema-Xsjt3RKO-Buv2X8ai.d.mts → postgres-schema-Xsjt3RKO-bis-SVSB.d.mts} +4 -4
- package/dist/postgres-schema-Xsjt3RKO-bis-SVSB.d.mts.map +1 -0
- package/dist/{postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs → postgres-table-schema-node-BBkitBQh-Dll8iaZT.mjs} +2 -2
- package/dist/postgres-table-schema-node-BBkitBQh-Dll8iaZT.mjs.map +1 -0
- package/dist/prisma7-binding-BjiLA9F7.mjs +307 -0
- package/dist/prisma7-binding-BjiLA9F7.mjs.map +1 -0
- package/dist/prisma7-binding-a56klfkc.d.mts +1651 -0
- package/dist/prisma7-binding-a56klfkc.d.mts.map +1 -0
- package/dist/{render-ops-DOsRP0Po-BKn_c_Ia.mjs → render-ops-BgqtCw9Z-T8BPTX85.mjs} +17 -10
- package/dist/render-ops-BgqtCw9Z-T8BPTX85.mjs.map +1 -0
- package/dist/{render-ops-DPwhZt2W.d.mts → render-ops-Bl84i7ut.d.mts} +3 -3
- package/dist/render-ops-Bl84i7ut.d.mts.map +1 -0
- package/dist/{render-typescript-6sCFvMBh.d.mts → render-typescript-BysdXYpH.d.mts} +2 -2
- package/dist/render-typescript-BysdXYpH.d.mts.map +1 -0
- package/dist/{render-typescript-Dqp1Spgn-B128r1qw.mjs → render-typescript-Dqp1Spgn-B4mJhuVr.mjs} +2 -2
- package/dist/render-typescript-Dqp1Spgn-B4mJhuVr.mjs.map +1 -0
- package/dist/resolve-ddl-schema-D3VNPMSm-BuB6NyOI.mjs +34 -0
- package/dist/resolve-ddl-schema-D3VNPMSm-BuB6NyOI.mjs.map +1 -0
- package/dist/{runtime-lHBKgjB9.d.mts → runtime-C0VXuM0b.d.mts} +4 -3
- package/dist/runtime-C0VXuM0b.d.mts.map +1 -0
- package/dist/runtime-CXfxy5ED.mjs +660 -0
- package/dist/runtime-CXfxy5ED.mjs.map +1 -0
- package/dist/{runtime-_TfO66h5.d.mts → runtime-Ci_toEDZ.d.mts} +12 -4
- package/dist/runtime-Ci_toEDZ.d.mts.map +1 -0
- package/dist/{runtime-DOXznQe0.d.mts → runtime-DtjW0GP_.d.mts} +4 -4
- package/dist/runtime-DtjW0GP_.d.mts.map +1 -0
- package/dist/{schema-ir-annotations-DuuYh0gl.d.mts → schema-ir-annotations-BygaWBiC.d.mts} +2 -2
- package/dist/schema-ir-annotations-BygaWBiC.d.mts.map +1 -0
- package/dist/{schema-node-kinds-qlnURWJy-Bo30pwTM.d.mts → schema-node-kinds-C52Bb1ve-DmxQRPPS.d.mts} +2 -2
- package/dist/schema-node-kinds-C52Bb1ve-DmxQRPPS.d.mts.map +1 -0
- package/dist/{normalize-error-CNjgVO71-CLlZ3CuJ.mjs → server-text-types-DeNPQpv5-DqX0h8WF.mjs} +45 -3
- package/dist/server-text-types-DeNPQpv5-DqX0h8WF.mjs.map +1 -0
- package/dist/{sql-renderer-ComgusFq-BBlqM1fw.mjs → sql-renderer-BdWJPa5F-Ct0CPlXc.mjs} +113 -123
- package/dist/sql-renderer-BdWJPa5F-Ct0CPlXc.mjs.map +1 -0
- package/dist/{sql-renderer-BgC0ZgLS.d.mts → sql-renderer-BiBhge7D.d.mts} +9 -7
- package/dist/sql-renderer-BiBhge7D.d.mts.map +1 -0
- package/dist/{sql-utils-DuzN3JZg-DiXy4Vah.mjs → sql-utils-Bnw3JbWf-BN0gcjZB.mjs} +31 -8
- package/dist/sql-utils-Bnw3JbWf-BN0gcjZB.mjs.map +1 -0
- package/dist/{sql-utils-DW6fkczF.d.mts → sql-utils-CnnGiZBc.d.mts} +12 -4
- package/dist/sql-utils-CnnGiZBc.d.mts.map +1 -0
- package/dist/{table-source-ikHOZmhD-DriY1Lcr.d.mts → table-source-ikHOZmhD-vYcblBYv.d.mts} +2 -2
- package/dist/table-source-ikHOZmhD-vYcblBYv.d.mts.map +1 -0
- package/dist/target.d.mts +61 -49
- package/dist/target.mjs +45 -36
- package/dist/target__aggregates.d.mts +1 -1
- package/dist/target__aggregates.mjs +1 -1
- package/dist/target__codec-descriptor.d.mts +2 -2
- package/dist/target__codec-descriptor.mjs +1 -1
- package/dist/target__codec-ids.d.mts +3 -3
- package/dist/target__codec-ids.mjs +2 -2
- package/dist/target__codec-types.d.mts +4 -4
- package/dist/target__codecs.d.mts +4 -3
- package/dist/target__codecs.mjs +3 -3
- package/dist/target__contract-free.d.mts +3 -3
- package/dist/target__contract-free.mjs +4 -4
- package/dist/target__control.d.mts +4 -2
- package/dist/target__control.mjs +2501 -2
- package/dist/target__control.mjs.map +1 -0
- package/dist/target__data-transform.d.mts +2 -2
- package/dist/target__data-transform.mjs +1 -1
- package/dist/target__data-types.d.mts +2 -0
- package/dist/target__data-types.mjs +3 -0
- package/dist/target__ddl.d.mts +4 -4
- package/dist/target__ddl.mjs +2 -2
- package/dist/target__default-normalizer.d.mts +2 -2
- package/dist/target__default-normalizer.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.d.mts +1 -1
- package/dist/target__errors.mjs +1 -1
- package/dist/target__full-text-index-authoring.d.mts +3 -0
- package/dist/target__full-text-index-authoring.mjs +3 -0
- package/dist/target__full-text.d.mts +4 -0
- package/dist/target__full-text.mjs +3 -0
- package/dist/target__issue-planner.d.mts +1 -1
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__marker-lock.d.mts +2 -0
- package/dist/target__marker-lock.mjs +2 -0
- package/dist/target__migration.d.mts +4 -4
- package/dist/target__migration.mjs +5 -5
- package/dist/target__native-type-normalizer.d.mts +2 -2
- package/dist/target__native-type-normalizer.mjs +2 -2
- 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 +4 -0
- package/dist/target__pack.d.mts +3 -2
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-ddl-builders.d.mts +2 -2
- package/dist/target__planner-ddl-builders.mjs +2 -2
- 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-schema-lookup.d.mts +1 -1
- package/dist/target__planner-schema-lookup.mjs +1 -1
- package/dist/target__planner-sql-checks.d.mts +3 -2
- package/dist/target__planner-sql-checks.mjs +2 -2
- 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 +2 -0
- package/dist/target__prisma7-binding.mjs +2 -0
- 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__rls-canonicalize.d.mts +2 -2
- package/dist/target__rls-canonicalize.mjs +2 -2
- package/dist/target__runtime.d.mts +6 -3
- package/dist/target__runtime.mjs +193 -4
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.d.mts +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__sql-utils.d.mts +3 -2
- package/dist/target__sql-utils.mjs +4 -2
- package/dist/target__types.d.mts +7 -7
- package/dist/target__types.mjs +5 -5
- package/dist/types-AvjnIUna.d.mts +2 -0
- package/dist/types-D6lgKhE5-D1J9YJnd.d.mts +28 -0
- package/dist/types-D6lgKhE5-D1J9YJnd.d.mts.map +1 -0
- package/dist/{types-CjGjPLr5.d.mts → types-DOmgp_12.d.mts} +8 -8
- package/dist/types-DOmgp_12.d.mts.map +1 -0
- package/dist/{types-ue6jkJyF-BQJzjx1P.d.mts → types-ue6jkJyF-D79DmBTl.d.mts} +2 -2
- package/dist/types-ue6jkJyF-D79DmBTl.d.mts.map +1 -0
- package/package.json +22 -14
- package/dist/adapter-B0xsc80z-sYcF0RVF.mjs.map +0 -1
- package/dist/adapter-CPesdzv0.d.mts +0 -26
- package/dist/adapter-CPesdzv0.d.mts.map +0 -1
- package/dist/adapter__operation-types.d.mts +0 -2
- package/dist/aggregates-CgqNfj2O.d.mts +0 -10
- package/dist/aggregates-CgqNfj2O.d.mts.map +0 -1
- package/dist/aggregates-Dh6HPdvC.mjs.map +0 -1
- package/dist/authoring-BOpdZa2N-ClrLFiXw.mjs +0 -773
- package/dist/authoring-BOpdZa2N-ClrLFiXw.mjs.map +0 -1
- package/dist/canonicalize-CQlxSR4D-MnrT5gtW.d.mts.map +0 -1
- package/dist/canonicalize-CrN3u_xM-D4MrOqcB.mjs.map +0 -1
- package/dist/check-expressions-5vhxWaFy-CBcjFeur.mjs +0 -41
- package/dist/check-expressions-5vhxWaFy-CBcjFeur.mjs.map +0 -1
- package/dist/check-expressions-DRgG8RN5-DiA-22aC.d.mts.map +0 -1
- package/dist/codec-descriptor-Bec_zukr-BfvtUqhm.d.mts +0 -37
- package/dist/codec-descriptor-Bec_zukr-BfvtUqhm.d.mts.map +0 -1
- package/dist/codec-descriptor-Bg-_412t.d.mts +0 -1
- package/dist/codec-descriptor-LT7BpQta-BaDM8UQQ.mjs.map +0 -1
- package/dist/codec-ids-Bqu_IwO0-DKOdPizQ.d.mts +0 -35
- package/dist/codec-ids-Bqu_IwO0-DKOdPizQ.d.mts.map +0 -1
- package/dist/codec-ids-C5Rkltkw-DMf87l9s.mjs +0 -35
- package/dist/codec-ids-C5Rkltkw-DMf87l9s.mjs.map +0 -1
- package/dist/codec-ids-DJ6j6pZc.d.mts +0 -1
- package/dist/codec-types-BRU4F-7t-BaJbKF_i.d.mts +0 -84
- package/dist/codec-types-BRU4F-7t-BaJbKF_i.d.mts.map +0 -1
- package/dist/codec-types-bX63JRLf.d.mts +0 -2
- package/dist/codecs-B1HgsJZ2.mjs +0 -15
- package/dist/codecs-B1HgsJZ2.mjs.map +0 -1
- package/dist/codecs-BmPCJWqb-DveZGJvm.mjs +0 -1680
- package/dist/codecs-BmPCJWqb-DveZGJvm.mjs.map +0 -1
- package/dist/codecs-D8tLswBi-_nbo-Z8x.d.mts +0 -638
- package/dist/codecs-D8tLswBi-_nbo-Z8x.d.mts.map +0 -1
- package/dist/codecs-DmCKO7dg.d.mts +0 -15
- package/dist/codecs-DmCKO7dg.d.mts.map +0 -1
- package/dist/column-types-BH-MU6uU.d.mts +0 -108
- package/dist/column-types-BH-MU6uU.d.mts.map +0 -1
- package/dist/column-types-Bh92dNjD.mjs +0 -126
- package/dist/column-types-Bh92dNjD.mjs.map +0 -1
- package/dist/contract-free-DzpGxLfb.d.mts.map +0 -1
- package/dist/contract-free-aQ4nT-_R.mjs.map +0 -1
- package/dist/control-2F195jJk.d.mts +0 -11
- package/dist/control-2F195jJk.d.mts.map +0 -1
- package/dist/control-BaUpALVp.d.mts.map +0 -1
- package/dist/control-DLTOAEHj.d.mts.map +0 -1
- package/dist/control-V7OkAC55.mjs +0 -1459
- package/dist/control-V7OkAC55.mjs.map +0 -1
- package/dist/control-Y6FxMu3o.mjs.map +0 -1
- package/dist/control-adapter-DFr4gS-r-DM3KcZdQ.mjs.map +0 -1
- package/dist/control-policy-B53lnBCT-B9K9Cj1x.mjs.map +0 -1
- package/dist/data-transform-BSM7TQpE.d.mts +0 -1
- package/dist/data-transform-ChZzy2dP-CxVCat_8.mjs.map +0 -1
- package/dist/data-transform-Ck5FbyNO-BNE7QlAo.d.mts.map +0 -1
- package/dist/ddl-B4Rh8ntj.d.mts +0 -1
- package/dist/ddl-CNQJds-C-WfZ3y4y8.mjs +0 -395
- package/dist/ddl-CNQJds-C-WfZ3y4y8.mjs.map +0 -1
- package/dist/default-normalizer-B36TOul4.d.mts +0 -31
- package/dist/default-normalizer-B36TOul4.d.mts.map +0 -1
- package/dist/default-normalizer-Ba5ZebHM-isV86rjy.mjs +0 -253
- package/dist/default-normalizer-Ba5ZebHM-isV86rjy.mjs.map +0 -1
- package/dist/descriptor-meta-KVX21fsl-DBDoB4eg.mjs +0 -354
- package/dist/descriptor-meta-KVX21fsl-DBDoB4eg.mjs.map +0 -1
- package/dist/descriptor-meta-rilAH3ep-dAmiVLpe.mjs +0 -30
- package/dist/descriptor-meta-rilAH3ep-dAmiVLpe.mjs.map +0 -1
- package/dist/descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs +0 -13
- package/dist/descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs.map +0 -1
- package/dist/diff-database-schema-DKq76rCk-uehceHYz.mjs.map +0 -1
- package/dist/diff-database-schema-DsoNznGC.d.mts.map +0 -1
- package/dist/driver__runtime.mjs.map +0 -1
- package/dist/errors-CU4xIwwk.d.mts.map +0 -1
- package/dist/errors-DKjQzNaN-DFcF1thx.mjs +0 -39
- package/dist/errors-DKjQzNaN-DFcF1thx.mjs.map +0 -1
- package/dist/issue-planner-Biq9Ls7e.d.mts.map +0 -1
- package/dist/migration-PTHAY9Cv.mjs.map +0 -1
- package/dist/migration-aFeTWTOJ.d.mts +0 -25
- package/dist/migration-aFeTWTOJ.d.mts.map +0 -1
- package/dist/namespace-ids-xtp_ZY86-Cpp8PTxD.mjs.map +0 -1
- package/dist/native-type-normalizer-DqJlOTeX.d.mts +0 -19
- package/dist/native-type-normalizer-DqJlOTeX.d.mts.map +0 -1
- package/dist/native-type-normalizer-yvd3tqv-.mjs +0 -38
- package/dist/native-type-normalizer-yvd3tqv-.mjs.map +0 -1
- package/dist/nodes-BU-V-aZA-RqwPH68u.d.mts.map +0 -1
- package/dist/nodes-DAvDJLvJ-BBdvFXNa.mjs.map +0 -1
- package/dist/normalize-error-CNjgVO71-CLlZ3CuJ.mjs.map +0 -1
- package/dist/op-factory-call-BAeyLFYf-BAgG1h1C.d.mts.map +0 -1
- package/dist/op-factory-call-BTU8I_x0.d.mts +0 -1
- package/dist/op-factory-call-H6zeDGLe-_1pAftJk.mjs.map +0 -1
- package/dist/operation-types-BfRocNI8.d.mts +0 -22
- package/dist/operation-types-BfRocNI8.d.mts.map +0 -1
- package/dist/pack-CySS3DQU.d.mts +0 -626
- package/dist/pack-CySS3DQU.d.mts.map +0 -1
- package/dist/planner-CT-7zSfk.d.mts.map +0 -1
- package/dist/planner-D0uogzvT-1WyGIC5p.mjs +0 -671
- package/dist/planner-D0uogzvT-1WyGIC5p.mjs.map +0 -1
- package/dist/planner-ddl-builders-Chxh-LEQ-DXvwOeeA.mjs +0 -102
- package/dist/planner-ddl-builders-Chxh-LEQ-DXvwOeeA.mjs.map +0 -1
- package/dist/planner-ddl-builders-ijp60-JO.d.mts +0 -19
- package/dist/planner-ddl-builders-ijp60-JO.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 +0 -25
- package/dist/planner-identity-values-TfEhnoWa.d.mts.map +0 -1
- package/dist/planner-produced-postgres-migration-BaviT8KK-Yo9kw6rs.d.mts.map +0 -1
- package/dist/planner-produced-postgres-migration-D5m8nK6s-CbZ4hlbv.mjs.map +0 -1
- package/dist/planner-produced-postgres-migration-D6C0T2xV.d.mts +0 -1
- package/dist/planner-schema-lookup-C4DHAddq.d.mts.map +0 -1
- package/dist/planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs.map +0 -1
- package/dist/planner-sql-checks-CFgbRTJw.d.mts +0 -20
- package/dist/planner-sql-checks-CFgbRTJw.d.mts.map +0 -1
- package/dist/planner-sql-checks-ftgzvIO9-BTtBg2Vz.mjs +0 -152
- package/dist/planner-sql-checks-ftgzvIO9-BTtBg2Vz.mjs.map +0 -1
- package/dist/planner-target-details-HkP4RrRO-_xPQVPF0.d.mts.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-2OP5JnXl-D2fpy4-8.d.mts.map +0 -1
- package/dist/postgres-contract-view-B8ykf2cO-T2LvWVFZ.mjs.map +0 -1
- package/dist/postgres-database-schema-node-CyfpHXDr-BqyozkQE.d.mts.map +0 -1
- package/dist/postgres-migration-BNsrwlxh-CwI5BqAu.d.mts.map +0 -1
- package/dist/postgres-migration-Dbq3RGfZ-aMnwfEAb.mjs +0 -205
- package/dist/postgres-migration-Dbq3RGfZ-aMnwfEAb.mjs.map +0 -1
- package/dist/postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs.map +0 -1
- package/dist/postgres-rls-policy-CnDxf3z9-C3LIHAIG.d.mts.map +0 -1
- package/dist/postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs.map +0 -1
- package/dist/postgres-schema-CF0yHESb-D7n2X21R.mjs.map +0 -1
- package/dist/postgres-schema-Xsjt3RKO-Buv2X8ai.d.mts.map +0 -1
- package/dist/postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs.map +0 -1
- package/dist/render-ops-DOsRP0Po-BKn_c_Ia.mjs.map +0 -1
- package/dist/render-ops-DPwhZt2W.d.mts.map +0 -1
- package/dist/render-typescript-6sCFvMBh.d.mts.map +0 -1
- package/dist/render-typescript-Dqp1Spgn-B128r1qw.mjs.map +0 -1
- package/dist/resolve-ddl-schema-CoaeNP35-C-UZldpj.mjs +0 -22
- package/dist/resolve-ddl-schema-CoaeNP35-C-UZldpj.mjs.map +0 -1
- package/dist/runtime-DOXznQe0.d.mts.map +0 -1
- package/dist/runtime-_TfO66h5.d.mts.map +0 -1
- package/dist/runtime-lHBKgjB9.d.mts.map +0 -1
- package/dist/schema-ir-annotations-DuuYh0gl.d.mts.map +0 -1
- package/dist/schema-node-kinds-qlnURWJy-Bo30pwTM.d.mts.map +0 -1
- package/dist/sql-renderer-BgC0ZgLS.d.mts.map +0 -1
- package/dist/sql-renderer-ComgusFq-BBlqM1fw.mjs.map +0 -1
- package/dist/sql-utils-DW6fkczF.d.mts.map +0 -1
- package/dist/sql-utils-DuzN3JZg-DiXy4Vah.mjs.map +0 -1
- package/dist/table-source-ikHOZmhD-DriY1Lcr.d.mts.map +0 -1
- package/dist/types-B-4d5_4a.d.mts +0 -1
- package/dist/types-CjGjPLr5.d.mts.map +0 -1
- package/dist/types-CkryN1AS-BcQRGsDn.d.mts +0 -27
- package/dist/types-CkryN1AS-BcQRGsDn.d.mts.map +0 -1
- package/dist/types-ue6jkJyF-BQJzjx1P.d.mts.map +0 -1
- /package/dist/{adapter__operation-types.mjs → target__operation-types.mjs} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID } from "@prisma/orm-family-sql/relational-core/ast";
|
|
2
|
+
//#region ../../../3-targets/postgres/1-target/dist/codec-ids-BMhEpFwv.mjs
|
|
3
|
+
const PG_TEXT_CODEC_ID = "pg/text@1";
|
|
4
|
+
const PG_TEXT_ARRAY_CODEC_ID = "pg/text-array@1";
|
|
5
|
+
const PG_ENUM_CODEC_ID = "pg/enum@1";
|
|
6
|
+
const PG_CHAR_CODEC_ID = "pg/char@1";
|
|
7
|
+
const PG_VARCHAR_CODEC_ID = "pg/varchar@1";
|
|
8
|
+
const PG_INT_CODEC_ID = "pg/int@1";
|
|
9
|
+
const PG_INT2_CODEC_ID = "pg/int2@1";
|
|
10
|
+
const PG_INT4_CODEC_ID = "pg/int4@1";
|
|
11
|
+
const PG_INT8_CODEC_ID = "pg/int8@1";
|
|
12
|
+
const PG_INT8_NUMBER_CODEC_ID = "pg/int8number@1";
|
|
13
|
+
const PG_FLOAT_CODEC_ID = "pg/float@1";
|
|
14
|
+
const PG_FLOAT4_CODEC_ID = "pg/float4@1";
|
|
15
|
+
const PG_FLOAT8_CODEC_ID = "pg/float8@1";
|
|
16
|
+
const PG_NUMERIC_CODEC_ID = "pg/numeric@1";
|
|
17
|
+
const PG_UNBOUNDED_INT_CODEC_ID = "pg/unboundedint@1";
|
|
18
|
+
const PG_BOOL_CODEC_ID = "pg/bool@1";
|
|
19
|
+
const PG_BIT_CODEC_ID = "pg/bit@1";
|
|
20
|
+
const PG_VARBIT_CODEC_ID = "pg/varbit@1";
|
|
21
|
+
const PG_DATE_TEMPORAL_CODEC_ID = "pg/date-temporal@1";
|
|
22
|
+
const PG_TIMESTAMP_TEMPORAL_CODEC_ID = "pg/timestamp-temporal@1";
|
|
23
|
+
const PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID = "pg/timestamptz-temporal@1";
|
|
24
|
+
const PG_TIME_TEMPORAL_CODEC_ID = "pg/time-temporal@1";
|
|
25
|
+
const PG_DATE_STRING_CODEC_ID = "pg/date-string@1";
|
|
26
|
+
const PG_TIMESTAMP_STRING_CODEC_ID = "pg/timestamp-string@1";
|
|
27
|
+
const PG_TIMESTAMPTZ_STRING_CODEC_ID = "pg/timestamptz-string@1";
|
|
28
|
+
const PG_TIMESTAMPTZ_DATE_CODEC_ID = "pg/timestamptz-date@1";
|
|
29
|
+
const PG_TIME_STRING_CODEC_ID = "pg/time-string@1";
|
|
30
|
+
const PG_TIMETZ_CODEC_ID = "pg/timetz@1";
|
|
31
|
+
const PG_INTERVAL_CODEC_ID = "pg/interval@1";
|
|
32
|
+
const PG_JSON_CODEC_ID = "pg/json@1";
|
|
33
|
+
const PG_JSONB_CODEC_ID = "pg/jsonb@1";
|
|
34
|
+
const PG_BYTEA_CODEC_ID = "pg/bytea@1";
|
|
35
|
+
const PG_UUID_CODEC_ID = "pg/uuid@1";
|
|
36
|
+
const PG_INET_CODEC_ID = "pg/inet@1";
|
|
37
|
+
const PG_TSQUERY_CODEC_ID = "pg/tsquery@1";
|
|
38
|
+
//#endregion
|
|
39
|
+
export { PG_TIME_TEMPORAL_CODEC_ID as A, SQL_TEXT_CODEC_ID as B, PG_TIMESTAMPTZ_DATE_CODEC_ID as C, PG_TIMESTAMP_TEMPORAL_CODEC_ID as D, PG_TIMESTAMP_STRING_CODEC_ID as E, PG_VARCHAR_CODEC_ID as F, SQL_CHAR_CODEC_ID as I, SQL_FLOAT_CODEC_ID as L, PG_UNBOUNDED_INT_CODEC_ID as M, PG_UUID_CODEC_ID as N, PG_TIMETZ_CODEC_ID as O, PG_VARBIT_CODEC_ID as P, SQL_INT_CODEC_ID as R, PG_TEXT_CODEC_ID as S, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID as T, SQL_VARCHAR_CODEC_ID as V, PG_INT_CODEC_ID as _, PG_DATE_STRING_CODEC_ID as a, PG_NUMERIC_CODEC_ID as b, PG_FLOAT4_CODEC_ID as c, PG_INET_CODEC_ID as d, PG_INT2_CODEC_ID as f, PG_INTERVAL_CODEC_ID as g, PG_INT8_NUMBER_CODEC_ID as h, PG_CHAR_CODEC_ID as i, PG_TSQUERY_CODEC_ID as j, PG_TIME_STRING_CODEC_ID as k, PG_FLOAT8_CODEC_ID as l, PG_INT8_CODEC_ID as m, PG_BOOL_CODEC_ID as n, PG_DATE_TEMPORAL_CODEC_ID as o, PG_INT4_CODEC_ID as p, PG_BYTEA_CODEC_ID as r, PG_ENUM_CODEC_ID as s, PG_BIT_CODEC_ID as t, PG_FLOAT_CODEC_ID as u, PG_JSONB_CODEC_ID as v, PG_TIMESTAMPTZ_STRING_CODEC_ID as w, PG_TEXT_ARRAY_CODEC_ID as x, PG_JSON_CODEC_ID as y, SQL_RAW_CODEC_ID as z };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=codec-ids-BMhEpFwv-B8Zh0s_Q.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-ids-BMhEpFwv-B8Zh0s_Q.mjs","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/codec-ids-BMhEpFwv.mjs"],"sourcesContent":["import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID } from \"@internal/sql-relational-core/ast\";\n//#region src/core/codec-ids.ts\nconst PG_TEXT_CODEC_ID = \"pg/text@1\";\nconst PG_TEXT_ARRAY_CODEC_ID = \"pg/text-array@1\";\nconst PG_ENUM_CODEC_ID = \"pg/enum@1\";\nconst PG_CHAR_CODEC_ID = \"pg/char@1\";\nconst PG_VARCHAR_CODEC_ID = \"pg/varchar@1\";\nconst PG_INT_CODEC_ID = \"pg/int@1\";\nconst PG_INT2_CODEC_ID = \"pg/int2@1\";\nconst PG_INT4_CODEC_ID = \"pg/int4@1\";\nconst PG_INT8_CODEC_ID = \"pg/int8@1\";\nconst PG_INT8_NUMBER_CODEC_ID = \"pg/int8number@1\";\nconst PG_FLOAT_CODEC_ID = \"pg/float@1\";\nconst PG_FLOAT4_CODEC_ID = \"pg/float4@1\";\nconst PG_FLOAT8_CODEC_ID = \"pg/float8@1\";\nconst PG_NUMERIC_CODEC_ID = \"pg/numeric@1\";\nconst PG_UNBOUNDED_INT_CODEC_ID = \"pg/unboundedint@1\";\nconst PG_BOOL_CODEC_ID = \"pg/bool@1\";\nconst PG_BIT_CODEC_ID = \"pg/bit@1\";\nconst PG_VARBIT_CODEC_ID = \"pg/varbit@1\";\nconst PG_DATE_TEMPORAL_CODEC_ID = \"pg/date-temporal@1\";\nconst PG_TIMESTAMP_TEMPORAL_CODEC_ID = \"pg/timestamp-temporal@1\";\nconst PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID = \"pg/timestamptz-temporal@1\";\nconst PG_TIME_TEMPORAL_CODEC_ID = \"pg/time-temporal@1\";\nconst PG_DATE_STRING_CODEC_ID = \"pg/date-string@1\";\nconst PG_TIMESTAMP_STRING_CODEC_ID = \"pg/timestamp-string@1\";\nconst PG_TIMESTAMPTZ_STRING_CODEC_ID = \"pg/timestamptz-string@1\";\nconst PG_TIMESTAMPTZ_DATE_CODEC_ID = \"pg/timestamptz-date@1\";\nconst PG_TIME_STRING_CODEC_ID = \"pg/time-string@1\";\nconst PG_TIMETZ_CODEC_ID = \"pg/timetz@1\";\nconst PG_INTERVAL_CODEC_ID = \"pg/interval@1\";\nconst PG_JSON_CODEC_ID = \"pg/json@1\";\nconst PG_JSONB_CODEC_ID = \"pg/jsonb@1\";\nconst PG_BYTEA_CODEC_ID = \"pg/bytea@1\";\nconst PG_UUID_CODEC_ID = \"pg/uuid@1\";\nconst PG_INET_CODEC_ID = \"pg/inet@1\";\nconst PG_TSQUERY_CODEC_ID = \"pg/tsquery@1\";\n//#endregion\nexport { PG_TIME_TEMPORAL_CODEC_ID as A, SQL_TEXT_CODEC_ID as B, PG_TIMESTAMPTZ_DATE_CODEC_ID as C, PG_TIMESTAMP_TEMPORAL_CODEC_ID as D, PG_TIMESTAMP_STRING_CODEC_ID as E, PG_VARCHAR_CODEC_ID as F, SQL_CHAR_CODEC_ID as I, SQL_FLOAT_CODEC_ID as L, PG_UNBOUNDED_INT_CODEC_ID as M, PG_UUID_CODEC_ID as N, PG_TIMETZ_CODEC_ID as O, PG_VARBIT_CODEC_ID as P, SQL_INT_CODEC_ID as R, PG_TEXT_CODEC_ID as S, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID as T, SQL_VARCHAR_CODEC_ID as V, PG_INT_CODEC_ID as _, PG_DATE_STRING_CODEC_ID as a, PG_NUMERIC_CODEC_ID as b, PG_FLOAT4_CODEC_ID as c, PG_INET_CODEC_ID as d, PG_INT2_CODEC_ID as f, PG_INTERVAL_CODEC_ID as g, PG_INT8_NUMBER_CODEC_ID as h, PG_CHAR_CODEC_ID as i, PG_TSQUERY_CODEC_ID as j, PG_TIME_STRING_CODEC_ID as k, PG_FLOAT8_CODEC_ID as l, PG_INT8_CODEC_ID as m, PG_BOOL_CODEC_ID as n, PG_DATE_TEMPORAL_CODEC_ID as o, PG_INT4_CODEC_ID as p, PG_BYTEA_CODEC_ID as r, PG_ENUM_CODEC_ID as s, PG_BIT_CODEC_ID as t, PG_FLOAT_CODEC_ID as u, PG_JSONB_CODEC_ID as v, PG_TIMESTAMPTZ_STRING_CODEC_ID as w, PG_TEXT_ARRAY_CODEC_ID as x, PG_JSON_CODEC_ID as y, SQL_RAW_CODEC_ID as z };\n\n//# sourceMappingURL=codec-ids-BMhEpFwv.mjs.map"],"mappings":";;AAEA,MAAM,mBAAmB;AACzB,MAAM,yBAAyB;AAC/B,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,sBAAsB;AAC5B,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,0BAA0B;AAChC,MAAM,oBAAoB;AAC1B,MAAM,qBAAqB;AAC3B,MAAM,qBAAqB;AAC3B,MAAM,sBAAsB;AAC5B,MAAM,4BAA4B;AAClC,MAAM,mBAAmB;AACzB,MAAM,kBAAkB;AACxB,MAAM,qBAAqB;AAC3B,MAAM,4BAA4B;AAClC,MAAM,iCAAiC;AACvC,MAAM,mCAAmC;AACzC,MAAM,4BAA4B;AAClC,MAAM,0BAA0B;AAChC,MAAM,+BAA+B;AACrC,MAAM,iCAAiC;AACvC,MAAM,+BAA+B;AACrC,MAAM,0BAA0B;AAChC,MAAM,qBAAqB;AAC3B,MAAM,uBAAuB;AAC7B,MAAM,mBAAmB;AACzB,MAAM,oBAAoB;AAC1B,MAAM,oBAAoB;AAC1B,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,sBAAsB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID } from "@prisma/orm-family-sql/relational-core/ast";
|
|
2
|
+
//#region ../../../3-targets/postgres/1-target/dist/codec-ids-C6II64Wy.d.mts
|
|
3
|
+
//#region src/core/codec-ids.d.ts
|
|
4
|
+
declare const PG_TEXT_CODEC_ID: "pg/text@1";
|
|
5
|
+
declare const PG_TEXT_ARRAY_CODEC_ID: "pg/text-array@1";
|
|
6
|
+
declare const PG_ENUM_CODEC_ID: "pg/enum@1";
|
|
7
|
+
declare const PG_CHAR_CODEC_ID: "pg/char@1";
|
|
8
|
+
declare const PG_VARCHAR_CODEC_ID: "pg/varchar@1";
|
|
9
|
+
declare const PG_INT_CODEC_ID: "pg/int@1";
|
|
10
|
+
declare const PG_INT2_CODEC_ID: "pg/int2@1";
|
|
11
|
+
declare const PG_INT4_CODEC_ID: "pg/int4@1";
|
|
12
|
+
declare const PG_INT8_CODEC_ID: "pg/int8@1";
|
|
13
|
+
declare const PG_INT8_NUMBER_CODEC_ID: "pg/int8number@1";
|
|
14
|
+
declare const PG_FLOAT_CODEC_ID: "pg/float@1";
|
|
15
|
+
declare const PG_FLOAT4_CODEC_ID: "pg/float4@1";
|
|
16
|
+
declare const PG_FLOAT8_CODEC_ID: "pg/float8@1";
|
|
17
|
+
declare const PG_NUMERIC_CODEC_ID: "pg/numeric@1";
|
|
18
|
+
declare const PG_UNBOUNDED_INT_CODEC_ID: "pg/unboundedint@1";
|
|
19
|
+
declare const PG_BOOL_CODEC_ID: "pg/bool@1";
|
|
20
|
+
declare const PG_BIT_CODEC_ID: "pg/bit@1";
|
|
21
|
+
declare const PG_VARBIT_CODEC_ID: "pg/varbit@1";
|
|
22
|
+
declare const PG_DATE_TEMPORAL_CODEC_ID: "pg/date-temporal@1";
|
|
23
|
+
declare const PG_TIMESTAMP_TEMPORAL_CODEC_ID: "pg/timestamp-temporal@1";
|
|
24
|
+
declare const PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID: "pg/timestamptz-temporal@1";
|
|
25
|
+
declare const PG_TIME_TEMPORAL_CODEC_ID: "pg/time-temporal@1";
|
|
26
|
+
declare const PG_DATE_STRING_CODEC_ID: "pg/date-string@1";
|
|
27
|
+
declare const PG_TIMESTAMP_STRING_CODEC_ID: "pg/timestamp-string@1";
|
|
28
|
+
declare const PG_TIMESTAMPTZ_STRING_CODEC_ID: "pg/timestamptz-string@1";
|
|
29
|
+
declare const PG_TIMESTAMPTZ_DATE_CODEC_ID: "pg/timestamptz-date@1";
|
|
30
|
+
declare const PG_TIME_STRING_CODEC_ID: "pg/time-string@1";
|
|
31
|
+
declare const PG_TIMETZ_CODEC_ID: "pg/timetz@1";
|
|
32
|
+
declare const PG_INTERVAL_CODEC_ID: "pg/interval@1";
|
|
33
|
+
declare const PG_JSON_CODEC_ID: "pg/json@1";
|
|
34
|
+
declare const PG_JSONB_CODEC_ID: "pg/jsonb@1";
|
|
35
|
+
declare const PG_BYTEA_CODEC_ID: "pg/bytea@1";
|
|
36
|
+
declare const PG_UUID_CODEC_ID: "pg/uuid@1";
|
|
37
|
+
declare const PG_INET_CODEC_ID: "pg/inet@1";
|
|
38
|
+
declare const PG_TSQUERY_CODEC_ID: "pg/tsquery@1";
|
|
39
|
+
//#endregion
|
|
40
|
+
export { PG_TIME_TEMPORAL_CODEC_ID as A, SQL_TEXT_CODEC_ID as B, PG_TIMESTAMPTZ_DATE_CODEC_ID as C, PG_TIMESTAMP_TEMPORAL_CODEC_ID as D, PG_TIMESTAMP_STRING_CODEC_ID as E, PG_VARCHAR_CODEC_ID as F, SQL_CHAR_CODEC_ID as I, SQL_FLOAT_CODEC_ID as L, PG_UNBOUNDED_INT_CODEC_ID as M, PG_UUID_CODEC_ID as N, PG_TIMETZ_CODEC_ID as O, PG_VARBIT_CODEC_ID as P, SQL_INT_CODEC_ID as R, PG_TEXT_CODEC_ID as S, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID as T, SQL_VARCHAR_CODEC_ID as V, PG_INT_CODEC_ID as _, PG_DATE_STRING_CODEC_ID as a, PG_NUMERIC_CODEC_ID as b, PG_FLOAT4_CODEC_ID as c, PG_INET_CODEC_ID as d, PG_INT2_CODEC_ID as f, PG_INTERVAL_CODEC_ID as g, PG_INT8_NUMBER_CODEC_ID as h, PG_CHAR_CODEC_ID as i, PG_TSQUERY_CODEC_ID as j, PG_TIME_STRING_CODEC_ID as k, PG_FLOAT8_CODEC_ID as l, PG_INT8_CODEC_ID as m, PG_BOOL_CODEC_ID as n, PG_DATE_TEMPORAL_CODEC_ID as o, PG_INT4_CODEC_ID as p, PG_BYTEA_CODEC_ID as r, PG_ENUM_CODEC_ID as s, PG_BIT_CODEC_ID as t, PG_FLOAT_CODEC_ID as u, PG_JSONB_CODEC_ID as v, PG_TIMESTAMPTZ_STRING_CODEC_ID as w, PG_TEXT_ARRAY_CODEC_ID as x, PG_JSON_CODEC_ID as y, SQL_RAW_CODEC_ID as z };
|
|
41
|
+
//# sourceMappingURL=codec-ids-C6II64Wy-CPYTqDTT.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-ids-C6II64Wy-CPYTqDTT.d.mts","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/codec-ids-C6II64Wy.d.mts"],"mappings":";;;cAEc;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./codec-ids-C6II64Wy-CPYTqDTT.mjs";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { n as buildPostgresCodecDescriptorRegistry } from "./codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs";
|
|
2
|
+
import { i as createPostgresBuiltinDataTypeLookup } from "./data-types-Chx0mjTP-DczU4S9b.mjs";
|
|
3
|
+
import { r as codecDescriptors } from "./codecs-CRl9-i_r-Co-bgYl3.mjs";
|
|
4
|
+
import { structuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
5
|
+
import { extractCodecLookup } from "@prisma/orm-framework/components/control";
|
|
6
|
+
import { buildCodecDescriptorRegistry } from "@prisma/orm-family-sql/relational-core/codec-descriptor-registry";
|
|
7
|
+
//#region ../../../3-targets/postgres/1-target/dist/codec-registry-D7XslgPe.mjs
|
|
8
|
+
/**
|
|
9
|
+
* Registry of every codec descriptor shipped by `@internal/target-postgres`.
|
|
10
|
+
*
|
|
11
|
+
* Public consumer surface for the postgres codec set: the postgres adapter and any other consumer that needs to enumerate or look up a postgres codec by id consumes this rather than the raw descriptor array. See ADR 208.
|
|
12
|
+
*/
|
|
13
|
+
const postgresCodecRegistry = buildCodecDescriptorRegistry(codecDescriptors);
|
|
14
|
+
const postgresCodecDescriptorRegistry = buildPostgresCodecDescriptorRegistry(codecDescriptors);
|
|
15
|
+
/**
|
|
16
|
+
* A registry of `descriptors`, refusing a codec whose data type `dataTypeLookup` does not have: the
|
|
17
|
+
* SQL renderer writes a parameter's cast from the data type its codec represents.
|
|
18
|
+
*/
|
|
19
|
+
function buildPostgresCodecRegistry(descriptors, dataTypeLookup) {
|
|
20
|
+
const descriptorRegistry = buildPostgresCodecDescriptorRegistry(descriptors);
|
|
21
|
+
const validatedDescriptors = Array.from(descriptorRegistry.values());
|
|
22
|
+
for (const descriptor of validatedDescriptors) if (!dataTypeLookup.has(descriptor.dataType)) throw structuredError("CONTRACT.DATA_TYPE_UNREGISTERED", `Codec "${descriptor.codecId}" represents data type "${descriptor.dataType}", which no component registers.`, {
|
|
23
|
+
why: "A parameter of this codec is written with a cast named by its data type.",
|
|
24
|
+
fix: "Pass the data type beside the codec: in `dataTypes` of createPostgresAdapter, or in the `dataTypes` of the extension that contributes the codec.",
|
|
25
|
+
meta: {
|
|
26
|
+
codecId: descriptor.codecId,
|
|
27
|
+
dataType: descriptor.dataType
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
const registry = {
|
|
31
|
+
...extractCodecLookup([{
|
|
32
|
+
id: "postgres-codecs",
|
|
33
|
+
types: { codecTypes: { codecDescriptors: validatedDescriptors } }
|
|
34
|
+
}]),
|
|
35
|
+
descriptorFor: (codecId) => descriptorRegistry.descriptorFor(codecId),
|
|
36
|
+
values: () => descriptorRegistry.values()
|
|
37
|
+
};
|
|
38
|
+
return Object.freeze(registry);
|
|
39
|
+
}
|
|
40
|
+
function assemblePostgresCodecRegistry(components, dataTypeLookup) {
|
|
41
|
+
return buildPostgresCodecRegistry(components.flatMap((component) => component.types?.codecTypes?.codecDescriptors ?? []), dataTypeLookup);
|
|
42
|
+
}
|
|
43
|
+
function assemblePostgresCodecRegistryWithBuiltins(extensions, dataTypeLookup) {
|
|
44
|
+
return buildPostgresCodecRegistry([...postgresCodecDescriptorRegistry.values(), ...extensions.flatMap((extension) => extension.types?.codecTypes?.codecDescriptors ?? [])], dataTypeLookup);
|
|
45
|
+
}
|
|
46
|
+
/** A registry of the built-in codecs and `codecDescriptors`, whose data types `dataTypeLookup` has. */
|
|
47
|
+
function createPostgresCodecRegistryWithBuiltins(codecDescriptors = [], dataTypeLookup = createPostgresBuiltinDataTypeLookup()) {
|
|
48
|
+
return buildPostgresCodecRegistry([...postgresCodecDescriptorRegistry.values(), ...codecDescriptors], dataTypeLookup);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Build a coherent PostgreSQL codec registry populated with built-in descriptors only.
|
|
52
|
+
*
|
|
53
|
+
* The returned registry supports both ordinary codec materialization and PostgreSQL target behavior. Stack-composed paths build the same combined registry from their complete ordered descriptor contributions.
|
|
54
|
+
*/
|
|
55
|
+
function createPostgresBuiltinCodecLookup() {
|
|
56
|
+
return createPostgresCodecRegistryWithBuiltins();
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
export { postgresCodecDescriptorRegistry as a, createPostgresCodecRegistryWithBuiltins as i, assemblePostgresCodecRegistryWithBuiltins as n, postgresCodecRegistry as o, createPostgresBuiltinCodecLookup as r, assemblePostgresCodecRegistry as t };
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=codec-registry-D7XslgPe-DTZnVB8W.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-registry-D7XslgPe-DTZnVB8W.mjs","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/codec-registry-D7XslgPe.mjs"],"sourcesContent":["import { t as createPostgresBuiltinDataTypeLookup } from \"./data-types-Chx0mjTP.mjs\";\nimport { n as buildPostgresCodecDescriptorRegistry } from \"./codec-descriptor-DoR-cTFZ.mjs\";\nimport { t as codecDescriptors } from \"./codecs-CRl9-i_r.mjs\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { extractCodecLookup } from \"@internal/framework-components/control\";\nimport { buildCodecDescriptorRegistry } from \"@internal/sql-relational-core/codec-descriptor-registry\";\n//#region src/core/registry.ts\n/**\n* Registry of every codec descriptor shipped by `@internal/target-postgres`.\n*\n* Public consumer surface for the postgres codec set: the postgres adapter and any other consumer that needs to enumerate or look up a postgres codec by id consumes this rather than the raw descriptor array. See ADR 208.\n*/\nconst postgresCodecRegistry = buildCodecDescriptorRegistry(codecDescriptors);\nconst postgresCodecDescriptorRegistry = buildPostgresCodecDescriptorRegistry(codecDescriptors);\n//#endregion\n//#region src/core/codec-registry.ts\n/**\n* A registry of `descriptors`, refusing a codec whose data type `dataTypeLookup` does not have: the\n* SQL renderer writes a parameter's cast from the data type its codec represents.\n*/\nfunction buildPostgresCodecRegistry(descriptors, dataTypeLookup) {\n\tconst descriptorRegistry = buildPostgresCodecDescriptorRegistry(descriptors);\n\tconst validatedDescriptors = Array.from(descriptorRegistry.values());\n\tfor (const descriptor of validatedDescriptors) if (!dataTypeLookup.has(descriptor.dataType)) throw structuredError(\"CONTRACT.DATA_TYPE_UNREGISTERED\", `Codec \"${descriptor.codecId}\" represents data type \"${descriptor.dataType}\", which no component registers.`, {\n\t\twhy: \"A parameter of this codec is written with a cast named by its data type.\",\n\t\tfix: \"Pass the data type beside the codec: in `dataTypes` of createPostgresAdapter, or in the `dataTypes` of the extension that contributes the codec.\",\n\t\tmeta: {\n\t\t\tcodecId: descriptor.codecId,\n\t\t\tdataType: descriptor.dataType\n\t\t}\n\t});\n\tconst registry = {\n\t\t...extractCodecLookup([{\n\t\t\tid: \"postgres-codecs\",\n\t\t\ttypes: { codecTypes: { codecDescriptors: validatedDescriptors } }\n\t\t}]),\n\t\tdescriptorFor: (codecId) => descriptorRegistry.descriptorFor(codecId),\n\t\tvalues: () => descriptorRegistry.values()\n\t};\n\treturn Object.freeze(registry);\n}\nfunction assemblePostgresCodecRegistry(components, dataTypeLookup) {\n\treturn buildPostgresCodecRegistry(components.flatMap((component) => component.types?.codecTypes?.codecDescriptors ?? []), dataTypeLookup);\n}\nfunction assemblePostgresCodecRegistryWithBuiltins(extensions, dataTypeLookup) {\n\treturn buildPostgresCodecRegistry([...postgresCodecDescriptorRegistry.values(), ...extensions.flatMap((extension) => extension.types?.codecTypes?.codecDescriptors ?? [])], dataTypeLookup);\n}\n/** A registry of the built-in codecs and `codecDescriptors`, whose data types `dataTypeLookup` has. */\nfunction createPostgresCodecRegistryWithBuiltins(codecDescriptors = [], dataTypeLookup = createPostgresBuiltinDataTypeLookup()) {\n\treturn buildPostgresCodecRegistry([...postgresCodecDescriptorRegistry.values(), ...codecDescriptors], dataTypeLookup);\n}\n/**\n* Build a coherent PostgreSQL codec registry populated with built-in descriptors only.\n*\n* The returned registry supports both ordinary codec materialization and PostgreSQL target behavior. Stack-composed paths build the same combined registry from their complete ordered descriptor contributions.\n*/\nfunction createPostgresBuiltinCodecLookup() {\n\treturn createPostgresCodecRegistryWithBuiltins();\n}\n//#endregion\nexport { postgresCodecDescriptorRegistry as a, createPostgresCodecRegistryWithBuiltins as i, assemblePostgresCodecRegistryWithBuiltins as n, postgresCodecRegistry as o, createPostgresBuiltinCodecLookup as r, assemblePostgresCodecRegistry as t };\n\n//# sourceMappingURL=codec-registry-D7XslgPe.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,MAAM,wBAAwB,6BAA6B,gBAAgB;AAC3E,MAAM,kCAAkC,qCAAqC,gBAAgB;;;;;AAO7F,SAAS,2BAA2B,aAAa,gBAAgB;CAChE,MAAM,qBAAqB,qCAAqC,WAAW;CAC3E,MAAM,uBAAuB,MAAM,KAAK,mBAAmB,OAAO,CAAC;CACnE,KAAK,MAAM,cAAc,sBAAsB,IAAI,CAAC,eAAe,IAAI,WAAW,QAAQ,GAAG,MAAM,gBAAgB,mCAAmC,UAAU,WAAW,QAAQ,0BAA0B,WAAW,SAAS,mCAAmC;EACnQ,KAAK;EACL,KAAK;EACL,MAAM;GACL,SAAS,WAAW;GACpB,UAAU,WAAW;EACtB;CACD,CAAC;CACD,MAAM,WAAW;EAChB,GAAG,mBAAmB,CAAC;GACtB,IAAI;GACJ,OAAO,EAAE,YAAY,EAAE,kBAAkB,qBAAqB,EAAE;EACjE,CAAC,CAAC;EACF,gBAAgB,YAAY,mBAAmB,cAAc,OAAO;EACpE,cAAc,mBAAmB,OAAO;CACzC;CACA,OAAO,OAAO,OAAO,QAAQ;AAC9B;AACA,SAAS,8BAA8B,YAAY,gBAAgB;CAClE,OAAO,2BAA2B,WAAW,SAAS,cAAc,UAAU,OAAO,YAAY,oBAAoB,CAAC,CAAC,GAAG,cAAc;AACzI;AACA,SAAS,0CAA0C,YAAY,gBAAgB;CAC9E,OAAO,2BAA2B,CAAC,GAAG,gCAAgC,OAAO,GAAG,GAAG,WAAW,SAAS,cAAc,UAAU,OAAO,YAAY,oBAAoB,CAAC,CAAC,CAAC,GAAG,cAAc;AAC3L;;AAEA,SAAS,wCAAwC,mBAAmB,CAAC,GAAG,iBAAiB,oCAAoC,GAAG;CAC/H,OAAO,2BAA2B,CAAC,GAAG,gCAAgC,OAAO,GAAG,GAAG,gBAAgB,GAAG,cAAc;AACrH;;;;;;AAMA,SAAS,mCAAmC;CAC3C,OAAO,wCAAwC;AAChD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { t as AdaptedPostgresCodecDescriptor } from "./codec-descriptor-d1ByNBEk-DhrtS_5y.mjs";
|
|
2
|
+
import { A as PgTimestamptzDateDescriptor, C as PgNumericDescriptor, D as PgTimestampStringDescriptor, E as PgTimeTemporalDescriptor, F as PgUnboundedIntDescriptor, I as PgUuidDescriptor, L as PgVarbitDescriptor, M as PgTimestamptzTemporalDescriptor, N as PgTimetzDescriptor, O as PgTimestampTemporalDescriptor, P as PgTsqueryDescriptor, R as PgVarcharDescriptor, S as PgJsonbDescriptor, T as PgTimeStringDescriptor, _ as PgInt8NumberDescriptor, a as PgDateStringDescriptor, b as PgIntervalDescriptor, c as PgEnumDescriptor, d as PgFloat8Descriptor, f as PgFloatDescriptor, g as PgInt8Descriptor, h as PgInt4Descriptor, i as PgCharDescriptor, j as PgTimestamptzStringDescriptor, m as PgInt2Descriptor, n as PgBoolDescriptor, o as PgDateTemporalDescriptor, p as PgInetDescriptor, r as PgByteaDescriptor, t as PgBitDescriptor, u as PgFloat4Descriptor, v as PgIntDescriptor, w as PgTextDescriptor, x as PgJsonDescriptor } from "./codecs-CADK7dCR-C8WToYQb.mjs";
|
|
3
|
+
import { ExtractCodecTypes } from "@prisma/orm-family-sql/relational-core/ast";
|
|
4
|
+
//#region ../../../3-targets/postgres/1-target/dist/codec-type-map-Fj5xCgwT.d.mts
|
|
5
|
+
//#region src/core/codec-type-map.d.ts
|
|
6
|
+
declare const codecDescriptorMap: {
|
|
7
|
+
readonly char: AdaptedPostgresCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlCharDescriptor>;
|
|
8
|
+
readonly varchar: AdaptedPostgresCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlVarcharDescriptor>;
|
|
9
|
+
readonly int: AdaptedPostgresCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlIntDescriptor>;
|
|
10
|
+
readonly float: AdaptedPostgresCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlFloatDescriptor>;
|
|
11
|
+
readonly 'sql-text': AdaptedPostgresCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlTextDescriptor>;
|
|
12
|
+
readonly text: PgTextDescriptor;
|
|
13
|
+
readonly enum: PgEnumDescriptor;
|
|
14
|
+
readonly character: PgCharDescriptor;
|
|
15
|
+
readonly 'character varying': PgVarcharDescriptor;
|
|
16
|
+
readonly integer: PgIntDescriptor;
|
|
17
|
+
readonly 'double precision': PgFloatDescriptor;
|
|
18
|
+
readonly int4: PgInt4Descriptor;
|
|
19
|
+
readonly int2: PgInt2Descriptor;
|
|
20
|
+
readonly int8: PgInt8Descriptor;
|
|
21
|
+
readonly int8number: PgInt8NumberDescriptor;
|
|
22
|
+
readonly float4: PgFloat4Descriptor;
|
|
23
|
+
readonly float8: PgFloat8Descriptor;
|
|
24
|
+
readonly numeric: PgNumericDescriptor;
|
|
25
|
+
readonly unboundedint: PgUnboundedIntDescriptor;
|
|
26
|
+
readonly 'date-temporal': PgDateTemporalDescriptor;
|
|
27
|
+
readonly 'timestamp-temporal': PgTimestampTemporalDescriptor;
|
|
28
|
+
readonly 'timestamptz-temporal': PgTimestamptzTemporalDescriptor;
|
|
29
|
+
readonly 'time-temporal': PgTimeTemporalDescriptor;
|
|
30
|
+
readonly 'date-string': PgDateStringDescriptor;
|
|
31
|
+
readonly 'timestamp-string': PgTimestampStringDescriptor;
|
|
32
|
+
readonly 'timestamptz-string': PgTimestamptzStringDescriptor;
|
|
33
|
+
readonly 'timestamptz-date': PgTimestamptzDateDescriptor;
|
|
34
|
+
readonly 'time-string': PgTimeStringDescriptor;
|
|
35
|
+
readonly timetz: PgTimetzDescriptor;
|
|
36
|
+
readonly bool: PgBoolDescriptor;
|
|
37
|
+
readonly bit: PgBitDescriptor;
|
|
38
|
+
readonly 'bit varying': PgVarbitDescriptor;
|
|
39
|
+
readonly bytea: PgByteaDescriptor;
|
|
40
|
+
readonly uuid: PgUuidDescriptor;
|
|
41
|
+
readonly inet: PgInetDescriptor;
|
|
42
|
+
readonly interval: PgIntervalDescriptor;
|
|
43
|
+
readonly json: PgJsonDescriptor;
|
|
44
|
+
readonly jsonb: PgJsonbDescriptor;
|
|
45
|
+
readonly tsquery: PgTsqueryDescriptor;
|
|
46
|
+
readonly raw: AdaptedPostgresCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlRawDescriptor>;
|
|
47
|
+
};
|
|
48
|
+
type Resolve<T> = { readonly [K in keyof T]: { readonly [P in keyof T[K]]: T[K][P]; }; };
|
|
49
|
+
type CodecDescriptorMap = typeof codecDescriptorMap;
|
|
50
|
+
type ExtractedCodecTypes = ExtractCodecTypes<CodecDescriptorMap>;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { Resolve as n, ExtractedCodecTypes as t };
|
|
53
|
+
//# sourceMappingURL=codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/codec-type-map-Fj5xCgwT.d.mts"],"mappings":";;;;;cAIc;WACH,MAAM,2EAA2E;WACjF,SAAS,2EAA2E;WACpF,KAAK,2EAA2E;WAChF,OAAO,2EAA2E;WAClF,YAAY,2EAA2E;WACvF,MAAM;WACN,MAAM;WACN,WAAW;WACX,qBAAqB;WACrB,SAAS;WACT,oBAAoB;WACpB,MAAM;WACN,MAAM;WACN,MAAM;WACN,YAAY;WACZ,QAAQ;WACR,QAAQ;WACR,SAAS;WACT,cAAc;WACd,iBAAiB;WACjB,sBAAsB;WACtB,wBAAwB;WACxB,iBAAiB;WACjB,eAAe;WACf,oBAAoB;WACpB,sBAAsB;WACtB,oBAAoB;WACpB,eAAe;WACf,QAAQ;WACR,MAAM;WACN,KAAK;WACL,eAAe;WACf,OAAO;WACP,MAAM;WACN,MAAM;WACN,UAAU;WACV,MAAM;WACN,OAAO;WACP,SAAS;WACT,KAAK,2EAA2E;;KAEtF,QAAQ,iBAAiB,WAAW,gBAAgB,WAAW,EAAE,KAAK,EAAE,GAAG;KAC3E,4BAA4B;KAC5B,sBAAsB,kBAAkB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import "./codecs-CADK7dCR-C8WToYQb.mjs";
|
|
2
|
+
import { n as Resolve, t as ExtractedCodecTypes } from "./codec-type-map-Fj5xCgwT-BeCXgfuR.mjs";
|
|
3
|
+
import { JsonValue as JsonValue$1, ParameterizedOutputTypesFunction } from "@prisma/orm-framework/contract/types";
|
|
4
|
+
//#region ../../../3-targets/postgres/1-target/dist/codec-types-Ct_4iTVc.d.mts
|
|
5
|
+
//#region src/exports/codec-types.d.ts
|
|
6
|
+
type CodecTypes = Resolve<ExtractedCodecTypes>;
|
|
7
|
+
type Branded<T, Shape extends Record<string, unknown>> = T & { readonly [K in keyof Shape]: Shape[K]; };
|
|
8
|
+
type BrandedString<Shape extends Record<string, unknown>> = Branded<string, Shape>;
|
|
9
|
+
type Char<N extends number> = BrandedString<{
|
|
10
|
+
__charLength: N;
|
|
11
|
+
}>;
|
|
12
|
+
type Varchar<N extends number> = BrandedString<{
|
|
13
|
+
__varcharLength: N;
|
|
14
|
+
}>;
|
|
15
|
+
type Numeric<P extends number, S extends number | undefined = undefined> = BrandedString<{
|
|
16
|
+
__numericPrecision: P;
|
|
17
|
+
__numericScale: S;
|
|
18
|
+
}>;
|
|
19
|
+
type Bit<N extends number> = BrandedString<{
|
|
20
|
+
__bitLength: N;
|
|
21
|
+
}>;
|
|
22
|
+
type VarBit<N extends number> = BrandedString<{
|
|
23
|
+
__varbitLength: N;
|
|
24
|
+
}>;
|
|
25
|
+
type Timestamp<P extends number | undefined = undefined> = BrandedString<{
|
|
26
|
+
__timestampPrecision: P;
|
|
27
|
+
}>;
|
|
28
|
+
type Timestamptz<P extends number | undefined = undefined> = BrandedString<{
|
|
29
|
+
__timestamptzPrecision: P;
|
|
30
|
+
}>;
|
|
31
|
+
type Time<P extends number | undefined = undefined> = BrandedString<{
|
|
32
|
+
__timePrecision: P;
|
|
33
|
+
}>;
|
|
34
|
+
type Timetz<P extends number | undefined = undefined> = BrandedString<{
|
|
35
|
+
__timetzPrecision: P;
|
|
36
|
+
}>;
|
|
37
|
+
type TimestampString<P extends number | undefined = undefined> = BrandedString<{
|
|
38
|
+
__timestampStringPrecision: P;
|
|
39
|
+
}>;
|
|
40
|
+
type TimestamptzString<P extends number | undefined = undefined> = BrandedString<{
|
|
41
|
+
__timestamptzStringPrecision: P;
|
|
42
|
+
}>;
|
|
43
|
+
type TimeString<P extends number | undefined = undefined> = BrandedString<{
|
|
44
|
+
__timeStringPrecision: P;
|
|
45
|
+
}>;
|
|
46
|
+
type Interval<P extends number | undefined = undefined> = BrandedString<{
|
|
47
|
+
__intervalPrecision: P;
|
|
48
|
+
}>;
|
|
49
|
+
type LengthParam<TypeParams> = TypeParams extends {
|
|
50
|
+
readonly length: infer N extends number;
|
|
51
|
+
} ? N : never;
|
|
52
|
+
type PrecisionParam<TypeParams> = TypeParams extends {
|
|
53
|
+
readonly precision: infer P extends number;
|
|
54
|
+
} ? P : undefined;
|
|
55
|
+
type NumericOutput<TypeParams> = TypeParams extends {
|
|
56
|
+
readonly precision: infer P extends number;
|
|
57
|
+
} ? TypeParams extends {
|
|
58
|
+
readonly scale: infer S extends number;
|
|
59
|
+
} ? Numeric<P, S> : Numeric<P> : never;
|
|
60
|
+
type LengthOutput<TypeParams, Output> = [LengthParam<TypeParams>] extends [never] ? never : Output;
|
|
61
|
+
type OutputTypeMap<TypeParams> = {
|
|
62
|
+
readonly 'pg/numeric@1': NumericOutput<TypeParams>;
|
|
63
|
+
readonly 'pg/char@1': LengthOutput<TypeParams, Char<LengthParam<TypeParams>>>;
|
|
64
|
+
readonly 'sql/char@1': LengthOutput<TypeParams, Char<LengthParam<TypeParams>>>;
|
|
65
|
+
readonly 'pg/varchar@1': LengthOutput<TypeParams, Varchar<LengthParam<TypeParams>>>;
|
|
66
|
+
readonly 'sql/varchar@1': LengthOutput<TypeParams, Varchar<LengthParam<TypeParams>>>;
|
|
67
|
+
readonly 'pg/bit@1': LengthOutput<TypeParams, Bit<LengthParam<TypeParams>>>;
|
|
68
|
+
readonly 'pg/varbit@1': LengthOutput<TypeParams, VarBit<LengthParam<TypeParams>>>;
|
|
69
|
+
readonly 'pg/timetz@1': Timetz<PrecisionParam<TypeParams>>;
|
|
70
|
+
readonly 'pg/interval@1': Interval<PrecisionParam<TypeParams>>;
|
|
71
|
+
readonly 'pg/time-string@1': TimeString<PrecisionParam<TypeParams>>;
|
|
72
|
+
readonly 'pg/timestamp-string@1': TimestampString<PrecisionParam<TypeParams>>;
|
|
73
|
+
readonly 'pg/timestamptz-string@1': TimestamptzString<PrecisionParam<TypeParams>>;
|
|
74
|
+
readonly 'pg/timestamptz-date@1': Date;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The output type of each codec whose output type depends on the column's type parameters: the only declaration of these types, which a contract written with `defineContract` and the `contract.d.ts` that `prisma contract emit` writes both apply.
|
|
78
|
+
*/
|
|
79
|
+
interface ParameterizedOutputTypesForTypeParams extends ParameterizedOutputTypesFunction {
|
|
80
|
+
readonly outputTypes: OutputTypeMap<this['typeParams']>;
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
export { JsonValue$1 as a, Time as c, TimestampString as d, Timestamptz as f, Varchar as g, VarBit as h, Interval as i, TimeString as l, Timetz as m, Char as n, Numeric as o, TimestamptzString as p, CodecTypes as r, ParameterizedOutputTypesForTypeParams as s, Bit as t, Timestamp as u };
|
|
84
|
+
//# sourceMappingURL=codec-types-Ct_4iTVc-3tFJcIBo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-Ct_4iTVc-3tFJcIBo.d.mts","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/codec-types-Ct_4iTVc.d.mts"],"mappings":";;;;;KAIK,aAAa,QAAQ;KACrB,QAAQ,GAAG,cAAc,2BAA2B,gBAAgB,WAAW,QAAQ,MAAM;KAC7F,cAAc,cAAc,2BAA2B,gBAAgB;KACvE,KAAK,oBAAoB;EAC5B,cAAc;;KAEX,QAAQ,oBAAoB;EAC/B,iBAAiB;;KAEd,QAAQ,kBAAkB,4CAA4C;EACzE,oBAAoB;EACpB,gBAAgB;;KAEb,IAAI,oBAAoB;EAC3B,aAAa;;KAEV,OAAO,oBAAoB;EAC9B,gBAAgB;;KAEb,UAAU,4CAA4C;EACzD,sBAAsB;;KAEnB,YAAY,4CAA4C;EAC3D,wBAAwB;;KAErB,KAAK,4CAA4C;EACpD,iBAAiB;;KAEd,OAAO,4CAA4C;EACtD,mBAAmB;;KAEhB,gBAAgB,4CAA4C;EAC/D,4BAA4B;;KAEzB,kBAAkB,4CAA4C;EACjE,8BAA8B;;KAE3B,WAAW,4CAA4C;EAC1D,uBAAuB;;KAEpB,SAAS,4CAA4C;EACxD,qBAAqB;;KAElB,YAAY,cAAc;WACpB,cAAc;IACrB;KACC,eAAe,cAAc;WACvB,iBAAiB;IACxB;KACC,cAAc,cAAc;WACtB,iBAAiB;IACxB;WACO,aAAa;IACpB,QAAQ,GAAG,KAAK,QAAQ;KACvB,aAAa,YAAY,WAAW,YAAY,uCAAuC;KACvF,cAAc;WACR,gBAAgB,cAAc;WAC9B,aAAa,aAAa,YAAY,KAAK,YAAY;WACvD,cAAc,aAAa,YAAY,KAAK,YAAY;WACxD,gBAAgB,aAAa,YAAY,QAAQ,YAAY;WAC7D,iBAAiB,aAAa,YAAY,QAAQ,YAAY;WAC9D,YAAY,aAAa,YAAY,IAAI,YAAY;WACrD,eAAe,aAAa,YAAY,OAAO,YAAY;WAC3D,eAAe,OAAO,eAAe;WACrC,iBAAiB,SAAS,eAAe;WACzC,oBAAoB,WAAW,eAAe;WAC9C,yBAAyB,gBAAgB,eAAe;WACxD,2BAA2B,kBAAkB,eAAe;WAC5D,yBAAyB;;;;;UAK1B,8CAA8C;WAC7C,aAAa"}
|