@prisma/orm-target-postgres 8.0.0-rc.14-dev.6 → 8.0.0-rc.14-dev.7
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-CK9Nv-pg-DiFXST2r.mjs → adapter-Bb_FFDea-O-uPaHCy.mjs} +5 -5
- package/dist/{adapter-CK9Nv-pg-DiFXST2r.mjs.map → adapter-Bb_FFDea-O-uPaHCy.mjs.map} +1 -1
- package/dist/{adapter-DP_SQYED.d.mts → adapter-WLK_P3mT.d.mts} +3 -3
- package/dist/{adapter-DP_SQYED.d.mts.map → adapter-WLK_P3mT.d.mts.map} +1 -1
- package/dist/adapter.d.mts +8 -8
- package/dist/adapter.mjs +6 -6
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +1 -1
- package/dist/adapter__control.d.mts +3 -3
- package/dist/adapter__control.mjs +8 -369
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +4 -5
- 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-BmQxOggr-CK871YR4.mjs → authoring-DKN1ccEX-DgmJWx1r.mjs} +4 -4
- package/dist/{authoring-BmQxOggr-CK871YR4.mjs.map → authoring-DKN1ccEX-DgmJWx1r.mjs.map} +1 -1
- package/dist/{codec-descriptor-BfoHQP3R-CMRVT-F6.mjs → codec-descriptor-B61d-k4C-BdWVU6Fu.mjs} +4 -3
- package/dist/codec-descriptor-B61d-k4C-BdWVU6Fu.mjs.map +1 -0
- package/dist/codec-descriptor-D8_e5hpo.d.mts +1 -0
- package/dist/{codec-descriptor-DUUGoeyI-WGLGXEoI.d.mts → codec-descriptor-HYqjI24K-CTO3gTEs.d.mts} +11 -5
- package/dist/codec-descriptor-HYqjI24K-CTO3gTEs.d.mts.map +1 -0
- package/dist/{data-types-Cl18KnNY-5I34Vd6Z.mjs → codec-helpers-D83-1eDB-nqAEMr7N.mjs} +39 -216
- package/dist/codec-helpers-D83-1eDB-nqAEMr7N.mjs.map +1 -0
- package/dist/{codec-type-map-Cp91lhQd-D6zQ14YE.d.mts → codec-type-map-DMKy_xZb-DymgX4w7.d.mts} +4 -4
- package/dist/{codec-type-map-Cp91lhQd-D6zQ14YE.d.mts.map → codec-type-map-DMKy_xZb-DymgX4w7.d.mts.map} +1 -1
- package/dist/{codec-types-BQNq7Y1u-CGfS7PuD.d.mts → codec-types-B4-xhn7m-RQS461us.d.mts} +4 -4
- package/dist/{codec-types-BQNq7Y1u-CGfS7PuD.d.mts.map → codec-types-B4-xhn7m-RQS461us.d.mts.map} +1 -1
- package/dist/codec-types-Ci1nfCYh.d.mts +2 -0
- package/dist/{codecs-DQGmsnk3-H6nVRPCC.mjs → codecs-BHNqtI1J-BSS9sL3H.mjs} +263 -69
- package/dist/codecs-BHNqtI1J-BSS9sL3H.mjs.map +1 -0
- package/dist/{codecs-BKV97Xsa.d.mts → codecs-Ba3gUr67.d.mts} +11 -5
- package/dist/{codecs-BKV97Xsa.d.mts.map → codecs-Ba3gUr67.d.mts.map} +1 -1
- package/dist/{codecs-BZ87E3MY-Bub4t0ma.d.mts → codecs-Bkmbmo_r-Ct7hFY0S.d.mts} +31 -10
- package/dist/{codecs-BZ87E3MY-Bub4t0ma.d.mts.map → codecs-Bkmbmo_r-Ct7hFY0S.d.mts.map} +1 -1
- package/dist/{codecs-C4DVdgQG.mjs → codecs-Cytq8Ymj.mjs} +12 -4
- package/dist/codecs-Cytq8Ymj.mjs.map +1 -0
- package/dist/control-CUzQZfhu.d.mts +399 -0
- package/dist/control-CUzQZfhu.d.mts.map +1 -0
- package/dist/{control-BwOrmTN-.mjs → control-CYQReJto.mjs} +441 -72
- package/dist/control-CYQReJto.mjs.map +1 -0
- package/dist/{control-DhZYlj-u.d.mts → control-DoIm71dz.d.mts} +5 -4
- package/dist/control-DoIm71dz.d.mts.map +1 -0
- package/dist/{control-adapter-BaVlICog-BuVBXKoL.mjs → control-adapter-C6kz--Q4-3C9-f7Uv.mjs} +70 -47
- package/dist/control-adapter-C6kz--Q4-3C9-f7Uv.mjs.map +1 -0
- package/dist/{control-policy-BYo5QPof-BLT07t1y.mjs → control-policy-voGArjr--BeHlQRg0.mjs} +19 -17
- package/dist/control-policy-voGArjr--BeHlQRg0.mjs.map +1 -0
- package/dist/{data-type-entries-CvkBtAG--D-5Wtm9_.mjs → data-type-entries-BDSHvsdE-Bbe1cdbR.mjs} +3 -3
- package/dist/{data-type-entries-CvkBtAG--D-5Wtm9_.mjs.map → data-type-entries-BDSHvsdE-Bbe1cdbR.mjs.map} +1 -1
- package/dist/data-types-BqeC7aZP-CwvA08pH.mjs +200 -0
- package/dist/data-types-BqeC7aZP-CwvA08pH.mjs.map +1 -0
- package/dist/{default-normalizer-DKE2xbCP-EMLD6yNw.mjs → default-normalizer-Cb7nWBUa-DXchlOUk.mjs} +18 -8
- package/dist/default-normalizer-Cb7nWBUa-DXchlOUk.mjs.map +1 -0
- package/dist/{descriptor-meta-F1wsOtt2-D014LIGM.mjs → descriptor-meta-BEigA5Gj-By_dcUjB.mjs} +9 -7
- package/dist/descriptor-meta-BEigA5Gj-By_dcUjB.mjs.map +1 -0
- package/dist/{descriptor-meta-BOx9pvBv-C4TEXck8.mjs → descriptor-meta-DF0hODA0-DnO80XvH.mjs} +4 -4
- package/dist/{descriptor-meta-BOx9pvBv-C4TEXck8.mjs.map → descriptor-meta-DF0hODA0-DnO80XvH.mjs.map} +1 -1
- package/dist/{diff-database-schema-D835UIq8-BVO7jCE4.mjs → diff-database-schema-MYPfxeRf-DdgnOIIl.mjs} +17 -7
- package/dist/diff-database-schema-MYPfxeRf-DdgnOIIl.mjs.map +1 -0
- package/dist/{full-text-jDpkANi7.d.mts → full-text-Cth_mXe_.d.mts} +2 -2
- package/dist/{full-text-jDpkANi7.d.mts.map → full-text-Cth_mXe_.d.mts.map} +1 -1
- package/dist/{full-text-index-expression-PZszha7L-CW7i1TUY.mjs → full-text-index-expression-BM_vGygX-BOuja7X4.mjs} +3 -3
- package/dist/{full-text-index-expression-PZszha7L-CW7i1TUY.mjs.map → full-text-index-expression-BM_vGygX-BOuja7X4.mjs.map} +1 -1
- package/dist/{full-text-parsers-Dp_ANr31-DVxYUNS-.d.mts → full-text-parsers-CLZpb096-BN1xyHeO.d.mts} +3 -3
- package/dist/{full-text-parsers-Dp_ANr31-DVxYUNS-.d.mts.map → full-text-parsers-CLZpb096-BN1xyHeO.d.mts.map} +1 -1
- package/dist/{infer-psl-contract-pxmVP3E9-Bvk8NzS0.mjs → infer-psl-contract-D7XJnfJv-Cd_Mf0UH.mjs} +78 -82
- package/dist/infer-psl-contract-D7XJnfJv-Cd_Mf0UH.mjs.map +1 -0
- package/dist/{issue-planner-D9rRu2pB.d.mts → issue-planner-C4iR-Ik-.d.mts} +2 -2
- package/dist/{issue-planner-D9rRu2pB.d.mts.map → issue-planner-C4iR-Ik-.d.mts.map} +1 -1
- package/dist/{migration-Du89zGmx.d.mts → migration-BTiY0PPC.d.mts} +3 -3
- package/dist/{migration-Du89zGmx.d.mts.map → migration-BTiY0PPC.d.mts.map} +1 -1
- package/dist/migration-PTHAY9Cv.mjs.map +1 -1
- package/dist/{native-type-normalizer-DhbUgdrI.d.mts → native-type-normalizer-BFo5tSyh.d.mts} +2 -5
- package/dist/native-type-normalizer-BFo5tSyh.d.mts.map +1 -0
- package/dist/native-type-normalizer-CW6g9Fut-C5lMRRjS.mjs +102 -0
- package/dist/native-type-normalizer-CW6g9Fut-C5lMRRjS.mjs.map +1 -0
- package/dist/op-factory-call-Bi1XxJEv.d.mts +1 -0
- package/dist/{op-factory-call-t4k8mlRJ-BgtGXlIC.d.mts → op-factory-call-VLJFI-b_-Du23HNYc.d.mts} +5 -5
- package/dist/op-factory-call-VLJFI-b_-Du23HNYc.d.mts.map +1 -0
- package/dist/{op-factory-call-BBkvFvKK-7MkUHWJq.mjs → op-factory-call-y5YADY2E-CnhkIujC.mjs} +39 -26
- package/dist/op-factory-call-y5YADY2E-CnhkIujC.mjs.map +1 -0
- package/dist/{operation-types-DZyRBrnm.d.mts → operation-types-Cj4S6KNP.d.mts} +2 -2
- package/dist/{operation-types-DZyRBrnm.d.mts.map → operation-types-Cj4S6KNP.d.mts.map} +1 -1
- package/dist/{pack-B8SM_MTs.d.mts → pack-DO2bXv9P.d.mts} +3 -3
- package/dist/{pack-B8SM_MTs.d.mts.map → pack-DO2bXv9P.d.mts.map} +1 -1
- package/dist/{planner-CquxMKq_-CZQAaWfK.mjs → planner-DMVaXRSK-DCAGfALs.mjs} +6 -6
- package/dist/{planner-CquxMKq_-CZQAaWfK.mjs.map → planner-DMVaXRSK-DCAGfALs.mjs.map} +1 -1
- package/dist/{planner-o0_69Y9q.d.mts → planner-SLaWpf7q.d.mts} +2 -2
- package/dist/{planner-o0_69Y9q.d.mts.map → planner-SLaWpf7q.d.mts.map} +1 -1
- package/dist/{planner-ddl-builders-BQ_1YXut.d.mts → planner-ddl-builders-DYLyFXrj.d.mts} +2 -5
- package/dist/planner-ddl-builders-DYLyFXrj.d.mts.map +1 -0
- package/dist/{planner-ddl-builders-GTcVPpwb-ClvrXb26.mjs → planner-ddl-builders-iE35pyxA-g7b_clbn.mjs} +6 -27
- package/dist/planner-ddl-builders-iE35pyxA-g7b_clbn.mjs.map +1 -0
- package/dist/planner-produced-postgres-migration-Bi_Otmtx.d.mts +1 -0
- package/dist/{planner-produced-postgres-migration-DEJQPRjI-C9GuvVOY.mjs → planner-produced-postgres-migration-C8TUIl2Z-DHjubKQ-.mjs} +3 -3
- package/dist/{planner-produced-postgres-migration-DEJQPRjI-C9GuvVOY.mjs.map → planner-produced-postgres-migration-C8TUIl2Z-DHjubKQ-.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-Xd83anY_-vp2DJ5fk.d.mts → planner-produced-postgres-migration-CoOcn-b9-8kOq82_P.d.mts} +3 -3
- package/dist/planner-produced-postgres-migration-CoOcn-b9-8kOq82_P.d.mts.map +1 -0
- package/dist/{planner-sql-checks-Bd8nN9P8-Cd98iEee.mjs → planner-sql-checks-ZMXeCK6W-D1VMBywZ.mjs} +55 -15
- package/dist/planner-sql-checks-ZMXeCK6W-D1VMBywZ.mjs.map +1 -0
- package/dist/{postgres-contract-view-DxcRT-qe-LQBHHgaS.mjs → postgres-contract-view-BBMpf_qi-8V4vTm9U.mjs} +3 -3
- package/dist/{postgres-contract-view-DxcRT-qe-LQBHHgaS.mjs.map → postgres-contract-view-BBMpf_qi-8V4vTm9U.mjs.map} +1 -1
- package/dist/{postgres-migration-B7ihBnbW-DOmrgtms.d.mts → postgres-migration-B03W06rR-DTB0R3cj.d.mts} +4 -5
- package/dist/{postgres-migration-B7ihBnbW-DOmrgtms.d.mts.map → postgres-migration-B03W06rR-DTB0R3cj.d.mts.map} +1 -1
- package/dist/{postgres-migration-qwigEUIO-BWxjALsx.mjs → postgres-migration-UzDaU7Or-Dvc0Cdv5.mjs} +22 -5
- package/dist/postgres-migration-UzDaU7Or-Dvc0Cdv5.mjs.map +1 -0
- package/dist/{prisma7-binding-B-JcNfUc.mjs → prisma7-binding-D_Q6ou4j.mjs} +7 -6
- package/dist/prisma7-binding-D_Q6ou4j.mjs.map +1 -0
- package/dist/{prisma7-binding-1CMtcbOk.d.mts → prisma7-binding-c5vWJV6k.d.mts} +3 -3
- package/dist/{prisma7-binding-1CMtcbOk.d.mts.map → prisma7-binding-c5vWJV6k.d.mts.map} +1 -1
- package/dist/{runtime-aN2tMH8u.d.mts → runtime-Bm1hGqOh.d.mts} +2 -2
- package/dist/{runtime-aN2tMH8u.d.mts.map → runtime-Bm1hGqOh.d.mts.map} +1 -1
- package/dist/{sql-renderer-DmJ5aZwd.d.mts → sql-renderer-CfXWPuXU.d.mts} +4 -4
- package/dist/{sql-renderer-DmJ5aZwd.d.mts.map → sql-renderer-CfXWPuXU.d.mts.map} +1 -1
- package/dist/{sql-renderer-CgUgFbU4-CRUChEAY.mjs → sql-renderer-CgUgFbU4-DqTf31OD.mjs} +2 -2
- package/dist/{sql-renderer-CgUgFbU4-CRUChEAY.mjs.map → sql-renderer-CgUgFbU4-DqTf31OD.mjs.map} +1 -1
- package/dist/target.d.mts +23 -23
- package/dist/target.mjs +21 -22
- 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 -4
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +3 -3
- package/dist/target__data-types.mjs +2 -2
- package/dist/target__default-normalizer.mjs +1 -1
- package/dist/target__diff-database-schema.mjs +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.d.mts +1 -1
- 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 +2 -2
- package/dist/target__planner-produced-postgres-migration.d.mts +2 -2
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-sql-checks.mjs +1 -1
- package/dist/target__planner.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 +2 -2
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__sql-utils.mjs +1 -1
- package/dist/{types-BPubHbiE-mnhvO20x.d.mts → types-BPubHbiE-SaR3Cngi.d.mts} +3 -3
- package/dist/{types-BPubHbiE-mnhvO20x.d.mts.map → types-BPubHbiE-SaR3Cngi.d.mts.map} +1 -1
- package/dist/types-DvEixgWS.d.mts +2 -0
- package/package.json +9 -9
- package/dist/codec-descriptor-BfoHQP3R-CMRVT-F6.mjs.map +0 -1
- package/dist/codec-descriptor-Cf1qfOwo.d.mts +0 -1
- package/dist/codec-descriptor-DUUGoeyI-WGLGXEoI.d.mts.map +0 -1
- package/dist/codec-types-BXbWuRzS.d.mts +0 -2
- package/dist/codecs-C4DVdgQG.mjs.map +0 -1
- package/dist/codecs-DQGmsnk3-H6nVRPCC.mjs.map +0 -1
- package/dist/control-BwOrmTN-.mjs.map +0 -1
- package/dist/control-CDRHOvkm.d.mts +0 -12
- package/dist/control-CDRHOvkm.d.mts.map +0 -1
- package/dist/control-DhZYlj-u.d.mts.map +0 -1
- package/dist/control-adapter-BaVlICog-BuVBXKoL.mjs.map +0 -1
- package/dist/control-policy-BYo5QPof-BLT07t1y.mjs.map +0 -1
- package/dist/data-types-Cl18KnNY-5I34Vd6Z.mjs.map +0 -1
- package/dist/default-normalizer-DKE2xbCP-EMLD6yNw.mjs.map +0 -1
- package/dist/descriptor-meta-F1wsOtt2-D014LIGM.mjs.map +0 -1
- package/dist/diff-database-schema-D835UIq8-BVO7jCE4.mjs.map +0 -1
- package/dist/infer-psl-contract-pxmVP3E9-Bvk8NzS0.mjs.map +0 -1
- package/dist/native-type-normalizer-DWc6cr5r.mjs +0 -94
- package/dist/native-type-normalizer-DWc6cr5r.mjs.map +0 -1
- package/dist/native-type-normalizer-DhbUgdrI.d.mts.map +0 -1
- package/dist/op-factory-call-7Dtfo3GK.d.mts +0 -1
- package/dist/op-factory-call-BBkvFvKK-7MkUHWJq.mjs.map +0 -1
- package/dist/op-factory-call-t4k8mlRJ-BgtGXlIC.d.mts.map +0 -1
- package/dist/planner-ddl-builders-BQ_1YXut.d.mts.map +0 -1
- package/dist/planner-ddl-builders-GTcVPpwb-ClvrXb26.mjs.map +0 -1
- package/dist/planner-produced-postgres-migration-B0pwyA94.d.mts +0 -1
- package/dist/planner-produced-postgres-migration-Xd83anY_-vp2DJ5fk.d.mts.map +0 -1
- package/dist/planner-sql-checks-Bd8nN9P8-Cd98iEee.mjs.map +0 -1
- package/dist/postgres-migration-qwigEUIO-BWxjALsx.mjs.map +0 -1
- package/dist/prisma7-binding-B-JcNfUc.mjs.map +0 -1
- package/dist/registry-ld2ZUt1j-CH85fY3r.mjs +0 -15
- package/dist/registry-ld2ZUt1j-CH85fY3r.mjs.map +0 -1
- package/dist/types-CS-qi6YZ.d.mts +0 -2
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import { t as PostgresPlanTargetDetails } from "./planner-target-details-HkP4RrRO-_xPQVPF0.mjs";
|
|
2
|
+
import "./plain-date-time-now-generator-BmOTu5Au-BPhXjp4T.mjs";
|
|
3
|
+
import { StorageColumn } from "@prisma/orm-family-sql/contract/types";
|
|
4
|
+
import { SqlControlTargetDescriptor } from "@prisma/orm-family-sql/family/control";
|
|
5
|
+
import { ColumnDefault } from "@prisma/orm-framework/contract/types";
|
|
6
|
+
//#region ../../../3-targets/3-targets/postgres/dist/control.d.mts
|
|
7
|
+
//#region src/core/type-constructors.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* The base PSL scalars as zero-arg type constructors in the unified authoring
|
|
10
|
+
* channel, with explicit `nativeType` values pinned to the codec manifests
|
|
11
|
+
* (`codecLookup.targetTypesFor(codecId)[0]`).
|
|
12
|
+
*
|
|
13
|
+
* The type position is the only storage decider: a mutation-default generator
|
|
14
|
+
* (`@default(uuid())`) never re-picks a column's storage.
|
|
15
|
+
*
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
declare const postgresScalarAuthoringTypes: {
|
|
19
|
+
readonly String: {
|
|
20
|
+
readonly kind: "typeConstructor";
|
|
21
|
+
readonly documentation: "Variable-length text stored as PostgreSQL text.";
|
|
22
|
+
readonly output: {
|
|
23
|
+
readonly codecId: "pg/text@1";
|
|
24
|
+
readonly nativeType: "text";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly Boolean: {
|
|
28
|
+
readonly kind: "typeConstructor";
|
|
29
|
+
readonly documentation: "A true or false value stored as PostgreSQL boolean.";
|
|
30
|
+
readonly output: {
|
|
31
|
+
readonly codecId: "pg/bool@1";
|
|
32
|
+
readonly nativeType: "bool";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
readonly Int: {
|
|
36
|
+
readonly kind: "typeConstructor";
|
|
37
|
+
readonly documentation: "A signed 32-bit integer represented as a JavaScript number.";
|
|
38
|
+
readonly output: {
|
|
39
|
+
readonly codecId: "pg/int4@1";
|
|
40
|
+
readonly nativeType: "int4";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
readonly BigInt: {
|
|
44
|
+
readonly kind: "typeConstructor";
|
|
45
|
+
readonly documentation: "A signed 64-bit integer represented as a JavaScript bigint.";
|
|
46
|
+
readonly output: {
|
|
47
|
+
readonly codecId: "pg/int8@1";
|
|
48
|
+
readonly nativeType: "int8";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly Float: {
|
|
52
|
+
readonly kind: "typeConstructor";
|
|
53
|
+
readonly documentation: "A double-precision floating-point number.";
|
|
54
|
+
readonly output: {
|
|
55
|
+
readonly codecId: "pg/float8@1";
|
|
56
|
+
readonly nativeType: "float8";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
readonly Decimal: {
|
|
60
|
+
readonly kind: "typeConstructor";
|
|
61
|
+
readonly documentation: "An exact decimal value stored as PostgreSQL numeric.";
|
|
62
|
+
readonly output: {
|
|
63
|
+
readonly codecId: "pg/numeric@1";
|
|
64
|
+
readonly nativeType: "numeric";
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
readonly DateTime: {
|
|
68
|
+
readonly kind: "typeConstructor";
|
|
69
|
+
readonly documentation: "An instant stored as PostgreSQL timestamptz and represented as Temporal.Instant.";
|
|
70
|
+
readonly output: {
|
|
71
|
+
readonly codecId: "pg/timestamptz-temporal@1";
|
|
72
|
+
readonly nativeType: "timestamptz";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
readonly Json: {
|
|
76
|
+
readonly kind: "typeConstructor";
|
|
77
|
+
readonly documentation: "A JSON value stored as PostgreSQL json.";
|
|
78
|
+
readonly output: {
|
|
79
|
+
readonly codecId: "pg/json@1";
|
|
80
|
+
readonly nativeType: "json";
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
readonly Jsonb: {
|
|
84
|
+
readonly kind: "typeConstructor";
|
|
85
|
+
readonly documentation: "A JSON value stored in PostgreSQL binary jsonb format.";
|
|
86
|
+
readonly output: {
|
|
87
|
+
readonly codecId: "pg/jsonb@1";
|
|
88
|
+
readonly nativeType: "jsonb";
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
readonly Bytes: {
|
|
92
|
+
readonly kind: "typeConstructor";
|
|
93
|
+
readonly documentation: "Binary data stored as PostgreSQL bytea.";
|
|
94
|
+
readonly output: {
|
|
95
|
+
readonly codecId: "pg/bytea@1";
|
|
96
|
+
readonly nativeType: "bytea";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
declare const postgresNativeAuthoringTypes: {
|
|
101
|
+
readonly VarChar: {
|
|
102
|
+
readonly kind: "typeConstructor";
|
|
103
|
+
readonly documentation: "Variable-length text with an optional maximum character length.";
|
|
104
|
+
readonly args: readonly [{
|
|
105
|
+
readonly kind: "number";
|
|
106
|
+
readonly name: "length";
|
|
107
|
+
readonly integer: true;
|
|
108
|
+
readonly minimum: 1;
|
|
109
|
+
readonly optional: true;
|
|
110
|
+
}];
|
|
111
|
+
readonly output: {
|
|
112
|
+
readonly codecId: "sql/varchar@1";
|
|
113
|
+
readonly nativeType: "character varying";
|
|
114
|
+
readonly typeParams: {
|
|
115
|
+
readonly length: {
|
|
116
|
+
readonly kind: "arg";
|
|
117
|
+
readonly index: 0;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
readonly Char: {
|
|
123
|
+
readonly kind: "typeConstructor";
|
|
124
|
+
readonly documentation: "Fixed-length, blank-padded text with an optional character length.";
|
|
125
|
+
readonly args: readonly [{
|
|
126
|
+
readonly kind: "number";
|
|
127
|
+
readonly name: "length";
|
|
128
|
+
readonly integer: true;
|
|
129
|
+
readonly minimum: 1;
|
|
130
|
+
readonly optional: true;
|
|
131
|
+
}];
|
|
132
|
+
readonly output: {
|
|
133
|
+
readonly codecId: "sql/char@1";
|
|
134
|
+
readonly nativeType: "character";
|
|
135
|
+
readonly typeParams: {
|
|
136
|
+
readonly length: {
|
|
137
|
+
readonly kind: "arg";
|
|
138
|
+
readonly index: 0;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
readonly Numeric: {
|
|
144
|
+
readonly kind: "typeConstructor";
|
|
145
|
+
readonly documentation: "An exact decimal value with optional precision and scale.";
|
|
146
|
+
readonly args: readonly [{
|
|
147
|
+
readonly kind: "number";
|
|
148
|
+
readonly name: "precision";
|
|
149
|
+
readonly integer: true;
|
|
150
|
+
readonly minimum: number;
|
|
151
|
+
readonly maximum: number;
|
|
152
|
+
readonly optional: true;
|
|
153
|
+
}, {
|
|
154
|
+
readonly kind: "number";
|
|
155
|
+
readonly name: "scale";
|
|
156
|
+
readonly integer: true;
|
|
157
|
+
readonly minimum: number;
|
|
158
|
+
readonly maximum: number;
|
|
159
|
+
readonly optional: true;
|
|
160
|
+
}];
|
|
161
|
+
readonly output: {
|
|
162
|
+
readonly codecId: "pg/numeric@1";
|
|
163
|
+
readonly nativeType: "numeric";
|
|
164
|
+
readonly typeParams: {
|
|
165
|
+
readonly precision: {
|
|
166
|
+
readonly kind: "arg";
|
|
167
|
+
readonly index: 0;
|
|
168
|
+
};
|
|
169
|
+
readonly scale: {
|
|
170
|
+
readonly kind: "arg";
|
|
171
|
+
readonly index: 1;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
readonly Timestamp: {
|
|
177
|
+
readonly kind: "typeConstructor";
|
|
178
|
+
readonly documentation: "A date and time without a time zone, represented as Temporal.PlainDateTime.";
|
|
179
|
+
readonly args: readonly [{
|
|
180
|
+
readonly kind: "number";
|
|
181
|
+
readonly name: "precision";
|
|
182
|
+
readonly integer: true;
|
|
183
|
+
readonly minimum: 0;
|
|
184
|
+
readonly optional: true;
|
|
185
|
+
}];
|
|
186
|
+
readonly output: {
|
|
187
|
+
readonly codecId: "pg/timestamp-temporal@1";
|
|
188
|
+
readonly nativeType: "timestamp";
|
|
189
|
+
readonly typeParams: {
|
|
190
|
+
readonly precision: {
|
|
191
|
+
readonly kind: "arg";
|
|
192
|
+
readonly index: 0;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
readonly Timestamptz: {
|
|
198
|
+
readonly kind: "typeConstructor";
|
|
199
|
+
readonly documentation: "An instant represented as Temporal.Instant, with optional fractional-second precision.";
|
|
200
|
+
readonly args: readonly [{
|
|
201
|
+
readonly kind: "number";
|
|
202
|
+
readonly name: "precision";
|
|
203
|
+
readonly integer: true;
|
|
204
|
+
readonly minimum: 0;
|
|
205
|
+
readonly optional: true;
|
|
206
|
+
}];
|
|
207
|
+
readonly output: {
|
|
208
|
+
readonly codecId: "pg/timestamptz-temporal@1";
|
|
209
|
+
readonly nativeType: "timestamptz";
|
|
210
|
+
readonly typeParams: {
|
|
211
|
+
readonly precision: {
|
|
212
|
+
readonly kind: "arg";
|
|
213
|
+
readonly index: 0;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly Time: {
|
|
219
|
+
readonly kind: "typeConstructor";
|
|
220
|
+
readonly documentation: "A time of day without a time zone, represented as Temporal.PlainTime.";
|
|
221
|
+
readonly args: readonly [{
|
|
222
|
+
readonly kind: "number";
|
|
223
|
+
readonly name: "precision";
|
|
224
|
+
readonly integer: true;
|
|
225
|
+
readonly minimum: 0;
|
|
226
|
+
readonly optional: true;
|
|
227
|
+
}];
|
|
228
|
+
readonly output: {
|
|
229
|
+
readonly codecId: "pg/time-temporal@1";
|
|
230
|
+
readonly nativeType: "time";
|
|
231
|
+
readonly typeParams: {
|
|
232
|
+
readonly precision: {
|
|
233
|
+
readonly kind: "arg";
|
|
234
|
+
readonly index: 0;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
readonly Timetz: {
|
|
240
|
+
readonly kind: "typeConstructor";
|
|
241
|
+
readonly documentation: "A time of day with a UTC offset stored as PostgreSQL timetz.";
|
|
242
|
+
readonly args: readonly [{
|
|
243
|
+
readonly kind: "number";
|
|
244
|
+
readonly name: "precision";
|
|
245
|
+
readonly integer: true;
|
|
246
|
+
readonly minimum: 0;
|
|
247
|
+
readonly optional: true;
|
|
248
|
+
}];
|
|
249
|
+
readonly output: {
|
|
250
|
+
readonly codecId: "pg/timetz@1";
|
|
251
|
+
readonly nativeType: "timetz";
|
|
252
|
+
readonly typeParams: {
|
|
253
|
+
readonly precision: {
|
|
254
|
+
readonly kind: "arg";
|
|
255
|
+
readonly index: 0;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
readonly Uuid: {
|
|
261
|
+
readonly kind: "typeConstructor";
|
|
262
|
+
readonly documentation: "A universally unique identifier stored as PostgreSQL uuid.";
|
|
263
|
+
readonly output: {
|
|
264
|
+
readonly codecId: "pg/uuid@1";
|
|
265
|
+
readonly nativeType: "uuid";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
readonly Inet: {
|
|
269
|
+
readonly kind: "typeConstructor";
|
|
270
|
+
readonly documentation: "An IPv4 or IPv6 address with an optional subnet mask.";
|
|
271
|
+
readonly output: {
|
|
272
|
+
readonly codecId: "pg/inet@1";
|
|
273
|
+
readonly nativeType: "inet";
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
readonly SmallInt: {
|
|
277
|
+
readonly kind: "typeConstructor";
|
|
278
|
+
readonly documentation: "A signed 16-bit integer represented as a JavaScript number.";
|
|
279
|
+
readonly output: {
|
|
280
|
+
readonly codecId: "pg/int2@1";
|
|
281
|
+
readonly nativeType: "int2";
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
readonly Real: {
|
|
285
|
+
readonly kind: "typeConstructor";
|
|
286
|
+
readonly documentation: "A single-precision floating-point number.";
|
|
287
|
+
readonly output: {
|
|
288
|
+
readonly codecId: "pg/float4@1";
|
|
289
|
+
readonly nativeType: "float4";
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
readonly Date: {
|
|
293
|
+
readonly kind: "typeConstructor";
|
|
294
|
+
readonly documentation: "A calendar date represented as Temporal.PlainDate.";
|
|
295
|
+
readonly output: {
|
|
296
|
+
readonly codecId: "pg/date-temporal@1";
|
|
297
|
+
readonly nativeType: "date";
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
readonly DateString: {
|
|
301
|
+
readonly kind: "typeConstructor";
|
|
302
|
+
readonly documentation: "A PostgreSQL date represented as database text rather than Temporal.PlainDate.";
|
|
303
|
+
readonly output: {
|
|
304
|
+
readonly codecId: "pg/date-string@1";
|
|
305
|
+
readonly nativeType: "date";
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
readonly TimestampString: {
|
|
309
|
+
readonly kind: "typeConstructor";
|
|
310
|
+
readonly documentation: "A timestamp without a time zone represented as PostgreSQL text.";
|
|
311
|
+
readonly args: readonly [{
|
|
312
|
+
readonly kind: "number";
|
|
313
|
+
readonly name: "precision";
|
|
314
|
+
readonly integer: true;
|
|
315
|
+
readonly minimum: 0;
|
|
316
|
+
readonly optional: true;
|
|
317
|
+
}];
|
|
318
|
+
readonly output: {
|
|
319
|
+
readonly codecId: "pg/timestamp-string@1";
|
|
320
|
+
readonly nativeType: "timestamp";
|
|
321
|
+
readonly typeParams: {
|
|
322
|
+
readonly precision: {
|
|
323
|
+
readonly kind: "arg";
|
|
324
|
+
readonly index: 0;
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
readonly TimestamptzJsDate: {
|
|
330
|
+
readonly kind: "typeConstructor";
|
|
331
|
+
readonly documentation: "An instant stored as PostgreSQL timestamptz and represented as a JavaScript Date.";
|
|
332
|
+
readonly args: readonly [{
|
|
333
|
+
readonly kind: "number";
|
|
334
|
+
readonly name: "precision";
|
|
335
|
+
readonly integer: true;
|
|
336
|
+
readonly minimum: 0;
|
|
337
|
+
readonly optional: true;
|
|
338
|
+
}];
|
|
339
|
+
readonly output: {
|
|
340
|
+
readonly codecId: "pg/timestamptz-date@1";
|
|
341
|
+
readonly nativeType: "timestamptz";
|
|
342
|
+
readonly typeParams: {
|
|
343
|
+
readonly precision: {
|
|
344
|
+
readonly kind: "arg";
|
|
345
|
+
readonly index: 0;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
readonly TimestamptzString: {
|
|
351
|
+
readonly kind: "typeConstructor";
|
|
352
|
+
readonly documentation: "A timestamp with time zone represented as PostgreSQL text.";
|
|
353
|
+
readonly args: readonly [{
|
|
354
|
+
readonly kind: "number";
|
|
355
|
+
readonly name: "precision";
|
|
356
|
+
readonly integer: true;
|
|
357
|
+
readonly minimum: 0;
|
|
358
|
+
readonly optional: true;
|
|
359
|
+
}];
|
|
360
|
+
readonly output: {
|
|
361
|
+
readonly codecId: "pg/timestamptz-string@1";
|
|
362
|
+
readonly nativeType: "timestamptz";
|
|
363
|
+
readonly typeParams: {
|
|
364
|
+
readonly precision: {
|
|
365
|
+
readonly kind: "arg";
|
|
366
|
+
readonly index: 0;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
readonly TimeString: {
|
|
372
|
+
readonly kind: "typeConstructor";
|
|
373
|
+
readonly documentation: "A time of day without a time zone represented as PostgreSQL text.";
|
|
374
|
+
readonly args: readonly [{
|
|
375
|
+
readonly kind: "number";
|
|
376
|
+
readonly name: "precision";
|
|
377
|
+
readonly integer: true;
|
|
378
|
+
readonly minimum: 0;
|
|
379
|
+
readonly optional: true;
|
|
380
|
+
}];
|
|
381
|
+
readonly output: {
|
|
382
|
+
readonly codecId: "pg/time-string@1";
|
|
383
|
+
readonly nativeType: "time";
|
|
384
|
+
readonly typeParams: {
|
|
385
|
+
readonly precision: {
|
|
386
|
+
readonly kind: "arg";
|
|
387
|
+
readonly index: 0;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
//#endregion
|
|
394
|
+
//#region src/exports/control.d.ts
|
|
395
|
+
declare function postgresRenderDefault(def: ColumnDefault, column: StorageColumn): string;
|
|
396
|
+
declare const postgresTargetDescriptor: SqlControlTargetDescriptor<"postgres", PostgresPlanTargetDetails, import("@prisma/orm-framework/contract/types").Contract<import("@prisma/orm-family-sql/contract/types").SqlStorage<string>>>;
|
|
397
|
+
//#endregion
|
|
398
|
+
export { postgresTargetDescriptor as i, postgresRenderDefault as n, postgresScalarAuthoringTypes as r, postgresNativeAuthoringTypes as t };
|
|
399
|
+
//# sourceMappingURL=control-CUzQZfhu.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-CUzQZfhu.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;cAiBc;WACH;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;;cAID;WACH;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;eACA;;eAEA;eACA;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;iBAEF;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;;;WAGJ;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;WAKR;aACE;aACA;aACA;eACE;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;iBACE;mBACE;mBACA;;;;;;;;iBAQF,sBAAsB,KAAK,eAAe,QAAQ;cACrD,0BAA0B,uCAAuC,8DAA8D,gDAAgD"}
|