@prisma-next/target-postgres 0.5.0-dev.66 → 0.5.0-dev.67
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/{codec-ids-ckQX9Kcg.mjs → codec-ids-C5qzBqus.mjs} +2 -3
- package/dist/{codec-ids-ckQX9Kcg.mjs.map → codec-ids-C5qzBqus.mjs.map} +1 -1
- package/dist/{codec-ids-B-wNPs-9.d.mts → codec-ids-CplrEfmx.d.mts} +1 -1
- package/dist/codec-ids-CplrEfmx.d.mts.map +1 -0
- package/dist/codec-ids.d.mts +1 -1
- package/dist/codec-ids.mjs +2 -3
- package/dist/{codec-types-Br-rrBBQ.d.mts → codec-types-lrsb3N07.d.mts} +21 -22
- package/dist/codec-types-lrsb3N07.d.mts.map +1 -0
- package/dist/codec-types.d.mts +1 -3
- package/dist/codec-types.mjs +1 -1
- package/dist/{codecs-DZUnQrrl.d.mts → codecs-Cue97Xqf.d.mts} +35 -36
- package/dist/codecs-Cue97Xqf.d.mts.map +1 -0
- package/dist/codecs.d.mts +1 -3
- package/dist/codecs.d.mts.map +1 -1
- package/dist/codecs.mjs +11 -15
- package/dist/codecs.mjs.map +1 -1
- package/dist/control.d.mts +1 -1
- package/dist/control.d.mts.map +1 -1
- package/dist/control.mjs +18 -12
- package/dist/control.mjs.map +1 -1
- package/dist/{data-transform-CR_9PvW9.mjs → data-transform-DKWXdHuZ.mjs} +2 -3
- package/dist/data-transform-DKWXdHuZ.mjs.map +1 -0
- package/dist/{data-transform-T71mQkVW.d.mts → data-transform-bIeAcZIJ.d.mts} +2 -3
- package/dist/data-transform-bIeAcZIJ.d.mts.map +1 -0
- package/dist/data-transform.d.mts +1 -1
- package/dist/data-transform.mjs +2 -3
- package/dist/{default-normalizer-D4RoM0i6.mjs → default-normalizer-C8XyZj85.mjs} +2 -2
- package/dist/{default-normalizer-D4RoM0i6.mjs.map → default-normalizer-C8XyZj85.mjs.map} +1 -1
- package/dist/default-normalizer.d.mts +0 -1
- package/dist/default-normalizer.d.mts.map +1 -1
- package/dist/default-normalizer.mjs +2 -3
- package/dist/descriptor-meta-Dde_BS3K.mjs +99 -0
- package/dist/descriptor-meta-Dde_BS3K.mjs.map +1 -0
- package/dist/{errors-BT_Duyj-.mjs → errors-Chm2bKcS.mjs} +2 -3
- package/dist/{errors-BT_Duyj-.mjs.map → errors-Chm2bKcS.mjs.map} +1 -1
- package/dist/errors.d.mts +0 -1
- package/dist/errors.d.mts.map +1 -1
- package/dist/errors.mjs +2 -3
- package/dist/{issue-planner-DooWabc2.mjs → issue-planner-B10B70JF.mjs} +8 -12
- package/dist/issue-planner-B10B70JF.mjs.map +1 -0
- package/dist/issue-planner.d.mts +1 -3
- package/dist/issue-planner.d.mts.map +1 -1
- package/dist/issue-planner.mjs +2 -3
- package/dist/migration.d.mts +3 -3
- package/dist/migration.d.mts.map +1 -1
- package/dist/migration.mjs +4 -5
- package/dist/migration.mjs.map +1 -1
- package/dist/{native-type-normalizer-i4IFPL5F.mjs → native-type-normalizer-Cry4QoLf.mjs} +2 -2
- package/dist/native-type-normalizer-Cry4QoLf.mjs.map +1 -0
- package/dist/native-type-normalizer.d.mts.map +1 -1
- package/dist/native-type-normalizer.mjs +2 -3
- package/dist/{op-factory-call-SFMIf-Cz.d.mts → op-factory-call-CW8pzxmB.d.mts} +3 -4
- package/dist/op-factory-call-CW8pzxmB.d.mts.map +1 -0
- package/dist/{op-factory-call-Bvw39XKU.mjs → op-factory-call-Cq8s4Fz1.mjs} +3 -4
- package/dist/{op-factory-call-Bvw39XKU.mjs.map → op-factory-call-Cq8s4Fz1.mjs.map} +1 -1
- package/dist/op-factory-call.d.mts +1 -2
- package/dist/op-factory-call.mjs +2 -3
- package/dist/pack.d.mts +1 -3
- package/dist/pack.d.mts.map +1 -1
- package/dist/pack.mjs +2 -3
- package/dist/{planner-Cgr3Ttsi.mjs → planner-8hkq9lQH.mjs} +7 -7
- package/dist/planner-8hkq9lQH.mjs.map +1 -0
- package/dist/{planner-ddl-builders-B6VK92UF.mjs → planner-ddl-builders-CLB7Umhh.mjs} +4 -5
- package/dist/planner-ddl-builders-CLB7Umhh.mjs.map +1 -0
- package/dist/planner-ddl-builders.d.mts +1 -1
- package/dist/planner-ddl-builders.d.mts.map +1 -1
- package/dist/planner-ddl-builders.mjs +2 -3
- package/dist/{planner-identity-values-CC5fa5D9.mjs → planner-identity-values-DTx0gePL.mjs} +2 -3
- package/dist/{planner-identity-values-CC5fa5D9.mjs.map → planner-identity-values-DTx0gePL.mjs.map} +1 -1
- package/dist/planner-identity-values.d.mts +0 -1
- package/dist/planner-identity-values.d.mts.map +1 -1
- package/dist/planner-identity-values.mjs +2 -3
- package/dist/{planner-produced-postgres-migration-YjS7RsWc.mjs → planner-produced-postgres-migration-Br3NgwpH.mjs} +5 -6
- package/dist/{planner-produced-postgres-migration-YjS7RsWc.mjs.map → planner-produced-postgres-migration-Br3NgwpH.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-CEI1d_Rq.d.mts → planner-produced-postgres-migration-D7Pe160c.d.mts} +4 -5
- package/dist/planner-produced-postgres-migration-D7Pe160c.d.mts.map +1 -0
- package/dist/planner-produced-postgres-migration.d.mts +1 -5
- package/dist/planner-produced-postgres-migration.mjs +2 -3
- package/dist/{planner-schema-lookup-B3talum5.mjs → planner-schema-lookup-B1ags8ys.mjs} +2 -2
- package/dist/{planner-schema-lookup-B3talum5.mjs.map → planner-schema-lookup-B1ags8ys.mjs.map} +1 -1
- package/dist/planner-schema-lookup.d.mts +0 -1
- package/dist/planner-schema-lookup.d.mts.map +1 -1
- package/dist/planner-schema-lookup.mjs +2 -3
- package/dist/{planner-sql-checks-uDnwA68k.mjs → planner-sql-checks-DwZvGlV4.mjs} +3 -5
- package/dist/planner-sql-checks-DwZvGlV4.mjs.map +1 -0
- package/dist/planner-sql-checks.d.mts.map +1 -1
- package/dist/planner-sql-checks.mjs +2 -3
- package/dist/{planner-target-details-COAiKZjW.d.mts → planner-target-details-bVVcanWh.d.mts} +1 -1
- package/dist/planner-target-details-bVVcanWh.d.mts.map +1 -0
- package/dist/planner-target-details.d.mts +1 -1
- package/dist/planner-target-details.mjs +1 -1
- package/dist/planner.d.mts +1 -5
- package/dist/planner.d.mts.map +1 -1
- package/dist/planner.mjs +2 -4
- package/dist/{postgres-migration-BAgHXrjO.mjs → postgres-migration-Bkv140RW.mjs} +4 -5
- package/dist/{postgres-migration-BAgHXrjO.mjs.map → postgres-migration-Bkv140RW.mjs.map} +1 -1
- package/dist/{postgres-migration-RXzk7OX7.d.mts → postgres-migration-UkcHfZAA.d.mts} +3 -4
- package/dist/postgres-migration-UkcHfZAA.d.mts.map +1 -0
- package/dist/{render-ops-DddkYOIB.mjs → render-ops-DXxV-PbF.mjs} +2 -2
- package/dist/{render-ops-DddkYOIB.mjs.map → render-ops-DXxV-PbF.mjs.map} +1 -1
- package/dist/render-ops.d.mts +2 -3
- package/dist/render-ops.d.mts.map +1 -1
- package/dist/render-ops.mjs +2 -3
- package/dist/{render-typescript-0EtwW-Ip.mjs → render-typescript-pyz96rAY.mjs} +2 -3
- package/dist/render-typescript-pyz96rAY.mjs.map +1 -0
- package/dist/render-typescript.d.mts +1 -3
- package/dist/render-typescript.d.mts.map +1 -1
- package/dist/render-typescript.mjs +2 -3
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +3 -5
- package/dist/runtime.mjs.map +1 -1
- package/dist/{shared-DSVRy4AX.d.mts → shared-MpwjwAjM.d.mts} +2 -2
- package/dist/shared-MpwjwAjM.d.mts.map +1 -0
- package/dist/{sql-utils-C9dyHV0x.mjs → sql-utils-CggjWNij.mjs} +4 -2
- package/dist/sql-utils-CggjWNij.mjs.map +1 -0
- package/dist/sql-utils.d.mts.map +1 -1
- package/dist/sql-utils.mjs +2 -3
- package/dist/{statement-builders-sOpc5QM-.mjs → statement-builders-Dsix6Dl5.mjs} +2 -3
- package/dist/statement-builders-Dsix6Dl5.mjs.map +1 -0
- package/dist/statement-builders.d.mts.map +1 -1
- package/dist/statement-builders.mjs +2 -3
- package/dist/{tables-CnvPb0Iz.mjs → tables-Ej122-iI.mjs} +4 -11
- package/dist/tables-Ej122-iI.mjs.map +1 -0
- package/dist/{types-DWZq_XTl.d.mts → types-CTqpysRY.d.mts} +1 -1
- package/dist/types-CTqpysRY.d.mts.map +1 -0
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +1 -1
- package/package.json +19 -19
- package/dist/codec-ids-B-wNPs-9.d.mts.map +0 -1
- package/dist/codec-types-Br-rrBBQ.d.mts.map +0 -1
- package/dist/codecs-DZUnQrrl.d.mts.map +0 -1
- package/dist/data-transform-CR_9PvW9.mjs.map +0 -1
- package/dist/data-transform-T71mQkVW.d.mts.map +0 -1
- package/dist/descriptor-meta-B9JFfKCb.mjs +0 -115
- package/dist/descriptor-meta-B9JFfKCb.mjs.map +0 -1
- package/dist/issue-planner-DooWabc2.mjs.map +0 -1
- package/dist/native-type-normalizer-i4IFPL5F.mjs.map +0 -1
- package/dist/op-factory-call-SFMIf-Cz.d.mts.map +0 -1
- package/dist/planner-Cgr3Ttsi.mjs.map +0 -1
- package/dist/planner-ddl-builders-B6VK92UF.mjs.map +0 -1
- package/dist/planner-produced-postgres-migration-CEI1d_Rq.d.mts.map +0 -1
- package/dist/planner-sql-checks-uDnwA68k.mjs.map +0 -1
- package/dist/planner-target-details-COAiKZjW.d.mts.map +0 -1
- package/dist/postgres-migration-RXzk7OX7.d.mts.map +0 -1
- package/dist/render-typescript-0EtwW-Ip.mjs.map +0 -1
- package/dist/shared-DSVRy4AX.d.mts.map +0 -1
- package/dist/sql-utils-C9dyHV0x.mjs.map +0 -1
- package/dist/statement-builders-sOpc5QM-.mjs.map +0 -1
- package/dist/tables-CnvPb0Iz.mjs.map +0 -1
- package/dist/types-DWZq_XTl.d.mts.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID } from "@prisma-next/sql-relational-core/ast";
|
|
2
|
-
|
|
3
2
|
//#region src/core/codec-ids.ts
|
|
4
3
|
const PG_TEXT_CODEC_ID = "pg/text@1";
|
|
5
4
|
const PG_ENUM_CODEC_ID = "pg/enum@1";
|
|
@@ -24,7 +23,7 @@ const PG_INTERVAL_CODEC_ID = "pg/interval@1";
|
|
|
24
23
|
const PG_JSON_CODEC_ID = "pg/json@1";
|
|
25
24
|
const PG_JSONB_CODEC_ID = "pg/jsonb@1";
|
|
26
25
|
const PG_BYTEA_CODEC_ID = "pg/bytea@1";
|
|
27
|
-
|
|
28
26
|
//#endregion
|
|
29
27
|
export { PG_VARCHAR_CODEC_ID as C, SQL_TEXT_CODEC_ID as D, SQL_INT_CODEC_ID as E, SQL_TIMESTAMP_CODEC_ID as O, PG_VARBIT_CODEC_ID as S, SQL_FLOAT_CODEC_ID as T, PG_TEXT_CODEC_ID as _, PG_ENUM_CODEC_ID as a, PG_TIMETZ_CODEC_ID as b, PG_FLOAT_CODEC_ID as c, PG_INT8_CODEC_ID as d, PG_INTERVAL_CODEC_ID as f, PG_NUMERIC_CODEC_ID as g, PG_JSON_CODEC_ID as h, PG_CHAR_CODEC_ID as i, SQL_VARCHAR_CODEC_ID as k, PG_INT2_CODEC_ID as l, PG_JSONB_CODEC_ID as m, PG_BOOL_CODEC_ID as n, PG_FLOAT4_CODEC_ID as o, PG_INT_CODEC_ID as p, PG_BYTEA_CODEC_ID as r, PG_FLOAT8_CODEC_ID as s, PG_BIT_CODEC_ID as t, PG_INT4_CODEC_ID as u, PG_TIMESTAMPTZ_CODEC_ID as v, SQL_CHAR_CODEC_ID as w, PG_TIME_CODEC_ID as x, PG_TIMESTAMP_CODEC_ID as y };
|
|
30
|
-
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=codec-ids-C5qzBqus.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-ids-
|
|
1
|
+
{"version":3,"file":"codec-ids-C5qzBqus.mjs","names":[],"sources":["../src/core/codec-ids.ts"],"sourcesContent":["export {\n SQL_CHAR_CODEC_ID,\n SQL_FLOAT_CODEC_ID,\n SQL_INT_CODEC_ID,\n SQL_TEXT_CODEC_ID,\n SQL_TIMESTAMP_CODEC_ID,\n SQL_VARCHAR_CODEC_ID,\n} from '@prisma-next/sql-relational-core/ast';\nexport const PG_TEXT_CODEC_ID = 'pg/text@1' as const;\nexport const PG_ENUM_CODEC_ID = 'pg/enum@1' as const;\nexport const PG_CHAR_CODEC_ID = 'pg/char@1' as const;\nexport const PG_VARCHAR_CODEC_ID = 'pg/varchar@1' as const;\nexport const PG_INT_CODEC_ID = 'pg/int@1' as const;\nexport const PG_INT2_CODEC_ID = 'pg/int2@1' as const;\nexport const PG_INT4_CODEC_ID = 'pg/int4@1' as const;\nexport const PG_INT8_CODEC_ID = 'pg/int8@1' as const;\nexport const PG_FLOAT_CODEC_ID = 'pg/float@1' as const;\nexport const PG_FLOAT4_CODEC_ID = 'pg/float4@1' as const;\nexport const PG_FLOAT8_CODEC_ID = 'pg/float8@1' as const;\nexport const PG_NUMERIC_CODEC_ID = 'pg/numeric@1' as const;\nexport const PG_BOOL_CODEC_ID = 'pg/bool@1' as const;\nexport const PG_BIT_CODEC_ID = 'pg/bit@1' as const;\nexport const PG_VARBIT_CODEC_ID = 'pg/varbit@1' as const;\nexport const PG_TIMESTAMP_CODEC_ID = 'pg/timestamp@1' as const;\nexport const PG_TIMESTAMPTZ_CODEC_ID = 'pg/timestamptz@1' as const;\nexport const PG_TIME_CODEC_ID = 'pg/time@1' as const;\nexport const PG_TIMETZ_CODEC_ID = 'pg/timetz@1' as const;\nexport const PG_INTERVAL_CODEC_ID = 'pg/interval@1' as const;\nexport const PG_JSON_CODEC_ID = 'pg/json@1' as const;\nexport const PG_JSONB_CODEC_ID = 'pg/jsonb@1' as const;\nexport const PG_BYTEA_CODEC_ID = 'pg/bytea@1' as const;\n"],"mappings":";;AAQA,MAAa,mBAAmB;AAChC,MAAa,mBAAmB;AAChC,MAAa,mBAAmB;AAChC,MAAa,sBAAsB;AACnC,MAAa,kBAAkB;AAC/B,MAAa,mBAAmB;AAChC,MAAa,mBAAmB;AAChC,MAAa,mBAAmB;AAChC,MAAa,oBAAoB;AACjC,MAAa,qBAAqB;AAClC,MAAa,qBAAqB;AAClC,MAAa,sBAAsB;AACnC,MAAa,mBAAmB;AAChC,MAAa,kBAAkB;AAC/B,MAAa,qBAAqB;AAClC,MAAa,wBAAwB;AACrC,MAAa,0BAA0B;AACvC,MAAa,mBAAmB;AAChC,MAAa,qBAAqB;AAClC,MAAa,uBAAuB;AACpC,MAAa,mBAAmB;AAChC,MAAa,oBAAoB;AACjC,MAAa,oBAAoB"}
|
|
@@ -26,4 +26,4 @@ declare const PG_JSONB_CODEC_ID: "pg/jsonb@1";
|
|
|
26
26
|
declare const PG_BYTEA_CODEC_ID: "pg/bytea@1";
|
|
27
27
|
//#endregion
|
|
28
28
|
export { PG_VARCHAR_CODEC_ID as C, SQL_TEXT_CODEC_ID as D, SQL_INT_CODEC_ID as E, SQL_TIMESTAMP_CODEC_ID as O, PG_VARBIT_CODEC_ID as S, SQL_FLOAT_CODEC_ID as T, PG_TEXT_CODEC_ID as _, PG_ENUM_CODEC_ID as a, PG_TIMETZ_CODEC_ID as b, PG_FLOAT_CODEC_ID as c, PG_INT8_CODEC_ID as d, PG_INTERVAL_CODEC_ID as f, PG_NUMERIC_CODEC_ID as g, PG_JSON_CODEC_ID as h, PG_CHAR_CODEC_ID as i, SQL_VARCHAR_CODEC_ID as k, PG_INT2_CODEC_ID as l, PG_JSONB_CODEC_ID as m, PG_BOOL_CODEC_ID as n, PG_FLOAT4_CODEC_ID as o, PG_INT_CODEC_ID as p, PG_BYTEA_CODEC_ID as r, PG_FLOAT8_CODEC_ID as s, PG_BIT_CODEC_ID as t, PG_INT4_CODEC_ID as u, PG_TIMESTAMPTZ_CODEC_ID as v, SQL_CHAR_CODEC_ID as w, PG_TIME_CODEC_ID as x, PG_TIMESTAMP_CODEC_ID as y };
|
|
29
|
-
//# sourceMappingURL=codec-ids-
|
|
29
|
+
//# sourceMappingURL=codec-ids-CplrEfmx.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-ids-CplrEfmx.d.mts","names":[],"sources":["../src/core/codec-ids.ts"],"mappings":";;;cAQa,gBAAA;AAAA,cACA,gBAAA;AAAA,cACA,gBAAA;AAAA,cACA,mBAAA;AAAA,cACA,eAAA;AAAA,cACA,gBAAA;AAAA,cACA,gBAAA;AAAA,cACA,gBAAA;AAAA,cACA,iBAAA;AAAA,cACA,kBAAA;AAAA,cACA,kBAAA;AAAA,cACA,mBAAA;AAAA,cACA,gBAAA;AAAA,cACA,eAAA;AAAA,cACA,kBAAA;AAAA,cACA,qBAAA;AAAA,cACA,uBAAA;AAAA,cACA,gBAAA;AAAA,cACA,kBAAA;AAAA,cACA,oBAAA;AAAA,cACA,gBAAA;AAAA,cACA,iBAAA;AAAA,cACA,iBAAA"}
|
package/dist/codec-ids.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as PG_VARCHAR_CODEC_ID, D as SQL_TEXT_CODEC_ID, E as SQL_INT_CODEC_ID, O as SQL_TIMESTAMP_CODEC_ID, S as PG_VARBIT_CODEC_ID, T as SQL_FLOAT_CODEC_ID, _ as PG_TEXT_CODEC_ID, a as PG_ENUM_CODEC_ID, b as PG_TIMETZ_CODEC_ID, c as PG_FLOAT_CODEC_ID, d as PG_INT8_CODEC_ID, f as PG_INTERVAL_CODEC_ID, g as PG_NUMERIC_CODEC_ID, h as PG_JSON_CODEC_ID, i as PG_CHAR_CODEC_ID, k as SQL_VARCHAR_CODEC_ID, l as PG_INT2_CODEC_ID, m as PG_JSONB_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_FLOAT4_CODEC_ID, p as PG_INT_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_FLOAT8_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_INT4_CODEC_ID, v as PG_TIMESTAMPTZ_CODEC_ID, w as SQL_CHAR_CODEC_ID, x as PG_TIME_CODEC_ID, y as PG_TIMESTAMP_CODEC_ID } from "./codec-ids-
|
|
1
|
+
import { C as PG_VARCHAR_CODEC_ID, D as SQL_TEXT_CODEC_ID, E as SQL_INT_CODEC_ID, O as SQL_TIMESTAMP_CODEC_ID, S as PG_VARBIT_CODEC_ID, T as SQL_FLOAT_CODEC_ID, _ as PG_TEXT_CODEC_ID, a as PG_ENUM_CODEC_ID, b as PG_TIMETZ_CODEC_ID, c as PG_FLOAT_CODEC_ID, d as PG_INT8_CODEC_ID, f as PG_INTERVAL_CODEC_ID, g as PG_NUMERIC_CODEC_ID, h as PG_JSON_CODEC_ID, i as PG_CHAR_CODEC_ID, k as SQL_VARCHAR_CODEC_ID, l as PG_INT2_CODEC_ID, m as PG_JSONB_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_FLOAT4_CODEC_ID, p as PG_INT_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_FLOAT8_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_INT4_CODEC_ID, v as PG_TIMESTAMPTZ_CODEC_ID, w as SQL_CHAR_CODEC_ID, x as PG_TIME_CODEC_ID, y as PG_TIMESTAMP_CODEC_ID } from "./codec-ids-CplrEfmx.mjs";
|
|
2
2
|
export { PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_CODEC_ID, PG_TIMESTAMP_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID };
|
package/dist/codec-ids.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { C as PG_VARCHAR_CODEC_ID, D as SQL_TEXT_CODEC_ID, E as SQL_INT_CODEC_ID, O as SQL_TIMESTAMP_CODEC_ID, S as PG_VARBIT_CODEC_ID, T as SQL_FLOAT_CODEC_ID, _ as PG_TEXT_CODEC_ID, a as PG_ENUM_CODEC_ID, b as PG_TIMETZ_CODEC_ID, c as PG_FLOAT_CODEC_ID, d as PG_INT8_CODEC_ID, f as PG_INTERVAL_CODEC_ID, g as PG_NUMERIC_CODEC_ID, h as PG_JSON_CODEC_ID, i as PG_CHAR_CODEC_ID, k as SQL_VARCHAR_CODEC_ID, l as PG_INT2_CODEC_ID, m as PG_JSONB_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_FLOAT4_CODEC_ID, p as PG_INT_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_FLOAT8_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_INT4_CODEC_ID, v as PG_TIMESTAMPTZ_CODEC_ID, w as SQL_CHAR_CODEC_ID, x as PG_TIME_CODEC_ID, y as PG_TIMESTAMP_CODEC_ID } from "./codec-ids-
|
|
2
|
-
|
|
3
|
-
export { PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_CODEC_ID, PG_TIMESTAMP_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID };
|
|
1
|
+
import { C as PG_VARCHAR_CODEC_ID, D as SQL_TEXT_CODEC_ID, E as SQL_INT_CODEC_ID, O as SQL_TIMESTAMP_CODEC_ID, S as PG_VARBIT_CODEC_ID, T as SQL_FLOAT_CODEC_ID, _ as PG_TEXT_CODEC_ID, a as PG_ENUM_CODEC_ID, b as PG_TIMETZ_CODEC_ID, c as PG_FLOAT_CODEC_ID, d as PG_INT8_CODEC_ID, f as PG_INTERVAL_CODEC_ID, g as PG_NUMERIC_CODEC_ID, h as PG_JSON_CODEC_ID, i as PG_CHAR_CODEC_ID, k as SQL_VARCHAR_CODEC_ID, l as PG_INT2_CODEC_ID, m as PG_JSONB_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_FLOAT4_CODEC_ID, p as PG_INT_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_FLOAT8_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_INT4_CODEC_ID, v as PG_TIMESTAMPTZ_CODEC_ID, w as SQL_CHAR_CODEC_ID, x as PG_TIME_CODEC_ID, y as PG_TIMESTAMP_CODEC_ID } from "./codec-ids-C5qzBqus.mjs";
|
|
2
|
+
export { PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_CODEC_ID, PG_TIMESTAMP_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID };
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { C as PgVarcharDescriptor, S as PgVarbitDescriptor, _ as PgTextDescriptor, a as PgEnumDescriptor, b as PgTimestamptzDescriptor, c as PgFloatDescriptor, d as PgInt8Descriptor, f as PgIntDescriptor, g as PgNumericDescriptor, h as PgJsonbDescriptor, i as PgCharDescriptor, l as PgInt2Descriptor, m as PgJsonDescriptor, n as PgBoolDescriptor, o as PgFloat4Descriptor, p as PgIntervalDescriptor, r as PgByteaDescriptor, s as PgFloat8Descriptor, t as PgBitDescriptor, u as PgInt4Descriptor, v as PgTimeDescriptor, x as PgTimetzDescriptor, y as PgTimestampDescriptor } from "./codecs-
|
|
2
|
-
import * as _prisma_next_sql_relational_core_ast0 from "@prisma-next/sql-relational-core/ast";
|
|
1
|
+
import { C as PgVarcharDescriptor, S as PgVarbitDescriptor, _ as PgTextDescriptor, a as PgEnumDescriptor, b as PgTimestamptzDescriptor, c as PgFloatDescriptor, d as PgInt8Descriptor, f as PgIntDescriptor, g as PgNumericDescriptor, h as PgJsonbDescriptor, i as PgCharDescriptor, l as PgInt2Descriptor, m as PgJsonDescriptor, n as PgBoolDescriptor, o as PgFloat4Descriptor, p as PgIntervalDescriptor, r as PgByteaDescriptor, s as PgFloat8Descriptor, t as PgBitDescriptor, u as PgInt4Descriptor, v as PgTimeDescriptor, x as PgTimetzDescriptor, y as PgTimestampDescriptor } from "./codecs-Cue97Xqf.mjs";
|
|
2
|
+
import * as _$_prisma_next_sql_relational_core_ast0 from "@prisma-next/sql-relational-core/ast";
|
|
3
3
|
import { ExtractCodecTypes } from "@prisma-next/sql-relational-core/ast";
|
|
4
4
|
import { JsonValue as JsonValue$1 } from "@prisma-next/contract/types";
|
|
5
5
|
|
|
6
6
|
//#region src/core/codec-type-map.d.ts
|
|
7
|
-
|
|
8
7
|
declare const codecDescriptorMap: {
|
|
9
|
-
readonly char: _prisma_next_sql_relational_core_ast0.SqlCharDescriptor;
|
|
10
|
-
readonly varchar: _prisma_next_sql_relational_core_ast0.SqlVarcharDescriptor;
|
|
11
|
-
readonly int: _prisma_next_sql_relational_core_ast0.SqlIntDescriptor;
|
|
12
|
-
readonly float: _prisma_next_sql_relational_core_ast0.SqlFloatDescriptor;
|
|
13
|
-
readonly 'sql-text': _prisma_next_sql_relational_core_ast0.SqlTextDescriptor;
|
|
14
|
-
readonly 'sql-timestamp': _prisma_next_sql_relational_core_ast0.SqlTimestampDescriptor;
|
|
8
|
+
readonly char: _$_prisma_next_sql_relational_core_ast0.SqlCharDescriptor;
|
|
9
|
+
readonly varchar: _$_prisma_next_sql_relational_core_ast0.SqlVarcharDescriptor;
|
|
10
|
+
readonly int: _$_prisma_next_sql_relational_core_ast0.SqlIntDescriptor;
|
|
11
|
+
readonly float: _$_prisma_next_sql_relational_core_ast0.SqlFloatDescriptor;
|
|
12
|
+
readonly 'sql-text': _$_prisma_next_sql_relational_core_ast0.SqlTextDescriptor;
|
|
13
|
+
readonly 'sql-timestamp': _$_prisma_next_sql_relational_core_ast0.SqlTimestampDescriptor;
|
|
15
14
|
readonly text: PgTextDescriptor;
|
|
16
15
|
readonly character: PgCharDescriptor;
|
|
17
16
|
readonly 'character varying': PgVarcharDescriptor;
|
|
@@ -50,8 +49,8 @@ type Char<N extends number> = BrandedString<{
|
|
|
50
49
|
type Varchar<N extends number> = BrandedString<{
|
|
51
50
|
__varcharLength: N;
|
|
52
51
|
}>;
|
|
53
|
-
type Numeric<P
|
|
54
|
-
__numericPrecision: P
|
|
52
|
+
type Numeric<P extends number, S extends number | undefined = undefined> = BrandedString<{
|
|
53
|
+
__numericPrecision: P;
|
|
55
54
|
__numericScale: S;
|
|
56
55
|
}>;
|
|
57
56
|
type Bit<N extends number> = BrandedString<{
|
|
@@ -60,21 +59,21 @@ type Bit<N extends number> = BrandedString<{
|
|
|
60
59
|
type VarBit<N extends number> = BrandedString<{
|
|
61
60
|
__varbitLength: N;
|
|
62
61
|
}>;
|
|
63
|
-
type Timestamp<P
|
|
64
|
-
__timestampPrecision: P
|
|
62
|
+
type Timestamp<P extends number | undefined = undefined> = BrandedString<{
|
|
63
|
+
__timestampPrecision: P;
|
|
65
64
|
}>;
|
|
66
|
-
type Timestamptz<P
|
|
67
|
-
__timestamptzPrecision: P
|
|
65
|
+
type Timestamptz<P extends number | undefined = undefined> = BrandedString<{
|
|
66
|
+
__timestamptzPrecision: P;
|
|
68
67
|
}>;
|
|
69
|
-
type Time<P
|
|
70
|
-
__timePrecision: P
|
|
68
|
+
type Time<P extends number | undefined = undefined> = BrandedString<{
|
|
69
|
+
__timePrecision: P;
|
|
71
70
|
}>;
|
|
72
|
-
type Timetz<P
|
|
73
|
-
__timetzPrecision: P
|
|
71
|
+
type Timetz<P extends number | undefined = undefined> = BrandedString<{
|
|
72
|
+
__timetzPrecision: P;
|
|
74
73
|
}>;
|
|
75
|
-
type Interval<P
|
|
76
|
-
__intervalPrecision: P
|
|
74
|
+
type Interval<P extends number | undefined = undefined> = BrandedString<{
|
|
75
|
+
__intervalPrecision: P;
|
|
77
76
|
}>;
|
|
78
77
|
//#endregion
|
|
79
78
|
export { JsonValue$1 as a, Timestamp as c, VarBit as d, Varchar as f, Interval as i, Timestamptz as l, Char as n, Numeric as o, CodecTypes as r, Time as s, Bit as t, Timetz as u };
|
|
80
|
-
//# sourceMappingURL=codec-types-
|
|
79
|
+
//# sourceMappingURL=codec-types-lrsb3N07.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-lrsb3N07.d.mts","names":[],"sources":["../src/core/codec-type-map.ts","../src/exports/codec-types.ts"],"mappings":";;;;;;cA4Ca,kBAAA;EAAA,eA8BH,uCAAA,CAAA,iBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEE,OAAA,6BAAoC,CAAA,0BAA2B,CAAA,CAAE,CAAA,IAAK,CAAA,CAAE,CAAA,EAAG,CAAA;AAAA,KAE3E,kBAAA,UAA4B,kBAAA;AAAA,KAE5B,mBAAA,GAAsB,iBAAA,CAAkB,kBAAA;;;KCrExC,UAAA,GAAa,OAAA,CAAQ,mBAAA;AAAA,KAI5B,OAAA,kBAAyB,MAAA,qBAA2B,CAAA,0BAClC,KAAA,GAAQ,KAAA,CAAM,CAAA;AAAA,KAGhC,aAAA,eAA4B,MAAA,qBAA2B,OAAA,SAAgB,KAAA;AAAA,KAEhE,IAAA,qBAAyB,aAAA;EAAgB,YAAA,EAAc,CAAA;AAAA;AAAA,KACvD,OAAA,qBAA4B,aAAA;EAAgB,eAAA,EAAiB,CAAA;AAAA;AAAA,KAC7D,OAAA,+DAAsE,aAAA;EAChF,kBAAA,EAAoB,CAAA;EACpB,cAAA,EAAgB,CAAA;AAAA;AAAA,KAEN,GAAA,qBAAwB,aAAA;EAAgB,WAAA,EAAa,CAAA;AAAA;AAAA,KACrD,MAAA,qBAA2B,aAAA;EAAgB,cAAA,EAAgB,CAAA;AAAA;AAAA,KAC3D,SAAA,6CAAsD,aAAA;EAChE,oBAAA,EAAsB,CAAA;AAAA;AAAA,KAEZ,WAAA,6CAAwD,aAAA;EAClE,sBAAA,EAAwB,CAAA;AAAA;AAAA,KAEd,IAAA,6CAAiD,aAAA;EAAgB,eAAA,EAAiB,CAAA;AAAA;AAAA,KAClF,MAAA,6CAAmD,aAAA;EAC7D,iBAAA,EAAmB,CAAA;AAAA;AAAA,KAET,QAAA,6CAAqD,aAAA;EAC/D,mBAAA,EAAqB,CAAA;AAAA"}
|
package/dist/codec-types.d.mts
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import "./codec-
|
|
2
|
-
import "./codecs-DZUnQrrl.mjs";
|
|
3
|
-
import { a as JsonValue, c as Timestamp, d as VarBit, f as Varchar, i as Interval, l as Timestamptz, n as Char, o as Numeric, r as CodecTypes, s as Time, t as Bit, u as Timetz } from "./codec-types-Br-rrBBQ.mjs";
|
|
1
|
+
import { a as JsonValue, c as Timestamp, d as VarBit, f as Varchar, i as Interval, l as Timestamptz, n as Char, o as Numeric, r as CodecTypes, s as Time, t as Bit, u as Timetz } from "./codec-types-lrsb3N07.mjs";
|
|
4
2
|
export { Bit, Char, CodecTypes, Interval, JsonValue, Numeric, Time, Timestamp, Timestamptz, Timetz, VarBit, Varchar };
|
package/dist/codec-types.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { S as PG_VARBIT_CODEC_ID, _ as PG_TEXT_CODEC_ID, a as PG_ENUM_CODEC_ID, b as PG_TIMETZ_CODEC_ID, d as PG_INT8_CODEC_ID, f as PG_INTERVAL_CODEC_ID, g as PG_NUMERIC_CODEC_ID, h as PG_JSON_CODEC_ID, l as PG_INT2_CODEC_ID, m as PG_JSONB_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_FLOAT4_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_FLOAT8_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_INT4_CODEC_ID, v as PG_TIMESTAMPTZ_CODEC_ID, x as PG_TIME_CODEC_ID, y as PG_TIMESTAMP_CODEC_ID } from "./codec-ids-
|
|
1
|
+
import { S as PG_VARBIT_CODEC_ID, _ as PG_TEXT_CODEC_ID, a as PG_ENUM_CODEC_ID, b as PG_TIMETZ_CODEC_ID, d as PG_INT8_CODEC_ID, f as PG_INTERVAL_CODEC_ID, g as PG_NUMERIC_CODEC_ID, h as PG_JSON_CODEC_ID, l as PG_INT2_CODEC_ID, m as PG_JSONB_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_FLOAT4_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_FLOAT8_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_INT4_CODEC_ID, v as PG_TIMESTAMPTZ_CODEC_ID, x as PG_TIME_CODEC_ID, y as PG_TIMESTAMP_CODEC_ID } from "./codec-ids-CplrEfmx.mjs";
|
|
2
2
|
import { SqlCharCodec, SqlFloatCodec, SqlIntCodec, SqlVarcharCodec } from "@prisma-next/sql-relational-core/ast";
|
|
3
|
-
import * as _prisma_next_framework_components_codec0 from "@prisma-next/framework-components/codec";
|
|
3
|
+
import * as _$_prisma_next_framework_components_codec0 from "@prisma-next/framework-components/codec";
|
|
4
4
|
import { AnyCodecDescriptor, CodecCallContext, CodecDescriptorImpl, CodecImpl, CodecInstanceContext } from "@prisma-next/framework-components/codec";
|
|
5
5
|
import { JsonValue } from "@prisma-next/contract/types";
|
|
6
|
-
import * as arktype_internal_variants_object_ts0 from "arktype/internal/variants/object.ts";
|
|
6
|
+
import * as _$arktype_internal_variants_object_ts0 from "arktype/internal/variants/object.ts";
|
|
7
7
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
8
8
|
|
|
9
9
|
//#region src/core/codecs.d.ts
|
|
10
|
-
|
|
11
10
|
type LengthParams = {
|
|
12
11
|
readonly length?: number;
|
|
13
12
|
};
|
|
@@ -43,7 +42,7 @@ declare class PgTextDescriptor extends CodecDescriptorImpl<void> {
|
|
|
43
42
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
44
43
|
factory(): (ctx: CodecInstanceContext) => PgTextCodec;
|
|
45
44
|
}
|
|
46
|
-
declare const pgTextColumn: () => _prisma_next_framework_components_codec0.ColumnSpec<PgTextCodec, undefined>;
|
|
45
|
+
declare const pgTextColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgTextCodec, undefined>;
|
|
47
46
|
declare class PgInt4Codec extends CodecImpl<typeof PG_INT4_CODEC_ID, readonly ['equality', 'order', 'numeric'], number, number> {
|
|
48
47
|
encode(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
49
48
|
decode(wire: number, _ctx: CodecCallContext): Promise<number>;
|
|
@@ -66,7 +65,7 @@ declare class PgInt4Descriptor extends CodecDescriptorImpl<void> {
|
|
|
66
65
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
67
66
|
factory(): (ctx: CodecInstanceContext) => PgInt4Codec;
|
|
68
67
|
}
|
|
69
|
-
declare const pgInt4Column: () => _prisma_next_framework_components_codec0.ColumnSpec<PgInt4Codec, undefined>;
|
|
68
|
+
declare const pgInt4Column: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgInt4Codec, undefined>;
|
|
70
69
|
declare class PgInt2Codec extends CodecImpl<typeof PG_INT2_CODEC_ID, readonly ['equality', 'order', 'numeric'], number, number> {
|
|
71
70
|
encode(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
72
71
|
decode(wire: number, _ctx: CodecCallContext): Promise<number>;
|
|
@@ -89,7 +88,7 @@ declare class PgInt2Descriptor extends CodecDescriptorImpl<void> {
|
|
|
89
88
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
90
89
|
factory(): (ctx: CodecInstanceContext) => PgInt2Codec;
|
|
91
90
|
}
|
|
92
|
-
declare const pgInt2Column: () => _prisma_next_framework_components_codec0.ColumnSpec<PgInt2Codec, undefined>;
|
|
91
|
+
declare const pgInt2Column: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgInt2Codec, undefined>;
|
|
93
92
|
declare class PgInt8Codec extends CodecImpl<typeof PG_INT8_CODEC_ID, readonly ['equality', 'order', 'numeric'], number, number> {
|
|
94
93
|
encode(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
95
94
|
decode(wire: number, _ctx: CodecCallContext): Promise<number>;
|
|
@@ -112,7 +111,7 @@ declare class PgInt8Descriptor extends CodecDescriptorImpl<void> {
|
|
|
112
111
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
113
112
|
factory(): (ctx: CodecInstanceContext) => PgInt8Codec;
|
|
114
113
|
}
|
|
115
|
-
declare const pgInt8Column: () => _prisma_next_framework_components_codec0.ColumnSpec<PgInt8Codec, undefined>;
|
|
114
|
+
declare const pgInt8Column: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgInt8Codec, undefined>;
|
|
116
115
|
declare class PgFloat4Codec extends CodecImpl<typeof PG_FLOAT4_CODEC_ID, readonly ['equality', 'order', 'numeric'], number, number> {
|
|
117
116
|
encode(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
118
117
|
decode(wire: number, _ctx: CodecCallContext): Promise<number>;
|
|
@@ -135,7 +134,7 @@ declare class PgFloat4Descriptor extends CodecDescriptorImpl<void> {
|
|
|
135
134
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
136
135
|
factory(): (ctx: CodecInstanceContext) => PgFloat4Codec;
|
|
137
136
|
}
|
|
138
|
-
declare const pgFloat4Column: () => _prisma_next_framework_components_codec0.ColumnSpec<PgFloat4Codec, undefined>;
|
|
137
|
+
declare const pgFloat4Column: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgFloat4Codec, undefined>;
|
|
139
138
|
declare class PgFloat8Codec extends CodecImpl<typeof PG_FLOAT8_CODEC_ID, readonly ['equality', 'order', 'numeric'], number, number> {
|
|
140
139
|
encode(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
141
140
|
decode(wire: number, _ctx: CodecCallContext): Promise<number>;
|
|
@@ -158,7 +157,7 @@ declare class PgFloat8Descriptor extends CodecDescriptorImpl<void> {
|
|
|
158
157
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
159
158
|
factory(): (ctx: CodecInstanceContext) => PgFloat8Codec;
|
|
160
159
|
}
|
|
161
|
-
declare const pgFloat8Column: () => _prisma_next_framework_components_codec0.ColumnSpec<PgFloat8Codec, undefined>;
|
|
160
|
+
declare const pgFloat8Column: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgFloat8Codec, undefined>;
|
|
162
161
|
declare class PgBoolCodec extends CodecImpl<typeof PG_BOOL_CODEC_ID, readonly ['equality', 'boolean'], boolean, boolean> {
|
|
163
162
|
encode(value: boolean, _ctx: CodecCallContext): Promise<boolean>;
|
|
164
163
|
decode(wire: boolean, _ctx: CodecCallContext): Promise<boolean>;
|
|
@@ -181,7 +180,7 @@ declare class PgBoolDescriptor extends CodecDescriptorImpl<void> {
|
|
|
181
180
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
182
181
|
factory(): (ctx: CodecInstanceContext) => PgBoolCodec;
|
|
183
182
|
}
|
|
184
|
-
declare const pgBoolColumn: () => _prisma_next_framework_components_codec0.ColumnSpec<PgBoolCodec, undefined>;
|
|
183
|
+
declare const pgBoolColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgBoolCodec, undefined>;
|
|
185
184
|
declare class PgNumericCodec extends CodecImpl<typeof PG_NUMERIC_CODEC_ID, readonly ['equality', 'order', 'numeric'], string | number, string> {
|
|
186
185
|
encode(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
187
186
|
decode(wire: string | number, _ctx: CodecCallContext): Promise<string>;
|
|
@@ -201,14 +200,14 @@ declare class PgNumericDescriptor extends CodecDescriptorImpl<NumericParams> {
|
|
|
201
200
|
};
|
|
202
201
|
};
|
|
203
202
|
};
|
|
204
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
203
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
205
204
|
precision: number;
|
|
206
205
|
scale?: number;
|
|
207
206
|
}, {}>;
|
|
208
207
|
renderOutputType(params: NumericParams): string | undefined;
|
|
209
208
|
factory(_params: NumericParams): (ctx: CodecInstanceContext) => PgNumericCodec;
|
|
210
209
|
}
|
|
211
|
-
declare const pgNumericColumn: (params: NumericParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgNumericCodec, NumericParams>;
|
|
210
|
+
declare const pgNumericColumn: (params: NumericParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgNumericCodec, NumericParams>;
|
|
212
211
|
declare class PgTimestampCodec extends CodecImpl<typeof PG_TIMESTAMP_CODEC_ID, readonly ['equality', 'order'], Date, Date> {
|
|
213
212
|
encode(value: Date, _ctx: CodecCallContext): Promise<Date>;
|
|
214
213
|
decode(wire: Date, _ctx: CodecCallContext): Promise<Date>;
|
|
@@ -228,13 +227,13 @@ declare class PgTimestampDescriptor extends CodecDescriptorImpl<PrecisionParams>
|
|
|
228
227
|
};
|
|
229
228
|
};
|
|
230
229
|
};
|
|
231
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
230
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
232
231
|
precision?: number;
|
|
233
232
|
}, {}>;
|
|
234
233
|
renderOutputType(params: PrecisionParams): string | undefined;
|
|
235
234
|
factory(_params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimestampCodec;
|
|
236
235
|
}
|
|
237
|
-
declare const pgTimestampColumn: (params?: PrecisionParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgTimestampCodec, PrecisionParams>;
|
|
236
|
+
declare const pgTimestampColumn: (params?: PrecisionParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgTimestampCodec, PrecisionParams>;
|
|
238
237
|
declare class PgTimestamptzCodec extends CodecImpl<typeof PG_TIMESTAMPTZ_CODEC_ID, readonly ['equality', 'order'], Date, Date> {
|
|
239
238
|
encode(value: Date, _ctx: CodecCallContext): Promise<Date>;
|
|
240
239
|
decode(wire: Date, _ctx: CodecCallContext): Promise<Date>;
|
|
@@ -254,13 +253,13 @@ declare class PgTimestamptzDescriptor extends CodecDescriptorImpl<PrecisionParam
|
|
|
254
253
|
};
|
|
255
254
|
};
|
|
256
255
|
};
|
|
257
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
256
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
258
257
|
precision?: number;
|
|
259
258
|
}, {}>;
|
|
260
259
|
renderOutputType(params: PrecisionParams): string | undefined;
|
|
261
260
|
factory(_params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimestamptzCodec;
|
|
262
261
|
}
|
|
263
|
-
declare const pgTimestamptzColumn: (params?: PrecisionParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgTimestamptzCodec, PrecisionParams>;
|
|
262
|
+
declare const pgTimestamptzColumn: (params?: PrecisionParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgTimestamptzCodec, PrecisionParams>;
|
|
264
263
|
declare class PgTimeCodec extends CodecImpl<typeof PG_TIME_CODEC_ID, readonly ['equality', 'order'], string, string> {
|
|
265
264
|
encode(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
266
265
|
decode(wire: string, _ctx: CodecCallContext): Promise<string>;
|
|
@@ -280,13 +279,13 @@ declare class PgTimeDescriptor extends CodecDescriptorImpl<PrecisionParams> {
|
|
|
280
279
|
};
|
|
281
280
|
};
|
|
282
281
|
};
|
|
283
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
282
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
284
283
|
precision?: number;
|
|
285
284
|
}, {}>;
|
|
286
285
|
renderOutputType(params: PrecisionParams): string | undefined;
|
|
287
286
|
factory(_params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimeCodec;
|
|
288
287
|
}
|
|
289
|
-
declare const pgTimeColumn: (params?: PrecisionParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgTimeCodec, PrecisionParams>;
|
|
288
|
+
declare const pgTimeColumn: (params?: PrecisionParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgTimeCodec, PrecisionParams>;
|
|
290
289
|
declare class PgTimetzCodec extends CodecImpl<typeof PG_TIMETZ_CODEC_ID, readonly ['equality', 'order'], string, string> {
|
|
291
290
|
encode(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
292
291
|
decode(wire: string, _ctx: CodecCallContext): Promise<string>;
|
|
@@ -306,13 +305,13 @@ declare class PgTimetzDescriptor extends CodecDescriptorImpl<PrecisionParams> {
|
|
|
306
305
|
};
|
|
307
306
|
};
|
|
308
307
|
};
|
|
309
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
308
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
310
309
|
precision?: number;
|
|
311
310
|
}, {}>;
|
|
312
311
|
renderOutputType(params: PrecisionParams): string | undefined;
|
|
313
312
|
factory(_params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimetzCodec;
|
|
314
313
|
}
|
|
315
|
-
declare const pgTimetzColumn: (params?: PrecisionParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgTimetzCodec, PrecisionParams>;
|
|
314
|
+
declare const pgTimetzColumn: (params?: PrecisionParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgTimetzCodec, PrecisionParams>;
|
|
316
315
|
declare class PgBitCodec extends CodecImpl<typeof PG_BIT_CODEC_ID, readonly ['equality', 'order'], string, string> {
|
|
317
316
|
encode(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
318
317
|
decode(wire: string, _ctx: CodecCallContext): Promise<string>;
|
|
@@ -332,13 +331,13 @@ declare class PgBitDescriptor extends CodecDescriptorImpl<LengthParams> {
|
|
|
332
331
|
};
|
|
333
332
|
};
|
|
334
333
|
};
|
|
335
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
334
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
336
335
|
length?: number;
|
|
337
336
|
}, {}>;
|
|
338
337
|
renderOutputType(params: LengthParams): string | undefined;
|
|
339
338
|
factory(_params: LengthParams): (ctx: CodecInstanceContext) => PgBitCodec;
|
|
340
339
|
}
|
|
341
|
-
declare const pgBitColumn: (params?: LengthParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgBitCodec, LengthParams>;
|
|
340
|
+
declare const pgBitColumn: (params?: LengthParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgBitCodec, LengthParams>;
|
|
342
341
|
declare class PgVarbitCodec extends CodecImpl<typeof PG_VARBIT_CODEC_ID, readonly ['equality', 'order'], string, string> {
|
|
343
342
|
encode(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
344
343
|
decode(wire: string, _ctx: CodecCallContext): Promise<string>;
|
|
@@ -358,13 +357,13 @@ declare class PgVarbitDescriptor extends CodecDescriptorImpl<LengthParams> {
|
|
|
358
357
|
};
|
|
359
358
|
};
|
|
360
359
|
};
|
|
361
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
360
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
362
361
|
length?: number;
|
|
363
362
|
}, {}>;
|
|
364
363
|
renderOutputType(params: LengthParams): string | undefined;
|
|
365
364
|
factory(_params: LengthParams): (ctx: CodecInstanceContext) => PgVarbitCodec;
|
|
366
365
|
}
|
|
367
|
-
declare const pgVarbitColumn: (params?: LengthParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgVarbitCodec, LengthParams>;
|
|
366
|
+
declare const pgVarbitColumn: (params?: LengthParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgVarbitCodec, LengthParams>;
|
|
368
367
|
declare class PgByteaCodec extends CodecImpl<typeof PG_BYTEA_CODEC_ID, readonly ['equality'], Uint8Array, Uint8Array> {
|
|
369
368
|
encode(value: Uint8Array, _ctx: CodecCallContext): Promise<Uint8Array>;
|
|
370
369
|
decode(wire: Uint8Array, _ctx: CodecCallContext): Promise<Uint8Array>;
|
|
@@ -406,13 +405,13 @@ declare class PgIntervalDescriptor extends CodecDescriptorImpl<PrecisionParams>
|
|
|
406
405
|
};
|
|
407
406
|
};
|
|
408
407
|
};
|
|
409
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
408
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
410
409
|
precision?: number;
|
|
411
410
|
}, {}>;
|
|
412
411
|
renderOutputType(params: PrecisionParams): string | undefined;
|
|
413
412
|
factory(_params: PrecisionParams): (ctx: CodecInstanceContext) => PgIntervalCodec;
|
|
414
413
|
}
|
|
415
|
-
declare const pgIntervalColumn: (params?: PrecisionParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgIntervalCodec, PrecisionParams>;
|
|
414
|
+
declare const pgIntervalColumn: (params?: PrecisionParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgIntervalCodec, PrecisionParams>;
|
|
416
415
|
declare class PgEnumCodec extends CodecImpl<typeof PG_ENUM_CODEC_ID, readonly ['equality', 'order'], string, string> {
|
|
417
416
|
encode(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
418
417
|
decode(wire: string, _ctx: CodecCallContext): Promise<string>;
|
|
@@ -423,13 +422,13 @@ declare class PgEnumDescriptor extends CodecDescriptorImpl<EnumParams> {
|
|
|
423
422
|
readonly codecId: "pg/enum@1";
|
|
424
423
|
readonly traits: readonly ["equality", "order"];
|
|
425
424
|
readonly targetTypes: readonly ["enum"];
|
|
426
|
-
readonly paramsSchema: arktype_internal_variants_object_ts0.ObjectType<{
|
|
425
|
+
readonly paramsSchema: _$arktype_internal_variants_object_ts0.ObjectType<{
|
|
427
426
|
values?: string[];
|
|
428
427
|
}, {}>;
|
|
429
428
|
renderOutputType(params: EnumParams): string | undefined;
|
|
430
429
|
factory(_params: EnumParams): (ctx: CodecInstanceContext) => PgEnumCodec;
|
|
431
430
|
}
|
|
432
|
-
declare const pgEnumColumn: (params?: EnumParams) => _prisma_next_framework_components_codec0.ColumnSpec<PgEnumCodec, EnumParams>;
|
|
431
|
+
declare const pgEnumColumn: (params?: EnumParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<PgEnumCodec, EnumParams>;
|
|
433
432
|
declare class PgJsonCodec extends CodecImpl<typeof PG_JSON_CODEC_ID, readonly [], string | JsonValue, JsonValue> {
|
|
434
433
|
encode(value: JsonValue, _ctx: CodecCallContext): Promise<string>;
|
|
435
434
|
decode(wire: string | JsonValue, _ctx: CodecCallContext): Promise<JsonValue>;
|
|
@@ -452,7 +451,7 @@ declare class PgJsonDescriptor extends CodecDescriptorImpl<void> {
|
|
|
452
451
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
453
452
|
factory(): (ctx: CodecInstanceContext) => PgJsonCodec;
|
|
454
453
|
}
|
|
455
|
-
declare const pgJsonColumn: () => _prisma_next_framework_components_codec0.ColumnSpec<PgJsonCodec, undefined>;
|
|
454
|
+
declare const pgJsonColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgJsonCodec, undefined>;
|
|
456
455
|
declare class PgJsonbCodec extends CodecImpl<typeof PG_JSONB_CODEC_ID, readonly ['equality'], string | JsonValue, JsonValue> {
|
|
457
456
|
encode(value: JsonValue, _ctx: CodecCallContext): Promise<string>;
|
|
458
457
|
decode(wire: string | JsonValue, _ctx: CodecCallContext): Promise<JsonValue>;
|
|
@@ -475,7 +474,7 @@ declare class PgJsonbDescriptor extends CodecDescriptorImpl<void> {
|
|
|
475
474
|
readonly paramsSchema: StandardSchemaV1<void>;
|
|
476
475
|
factory(): (ctx: CodecInstanceContext) => PgJsonbCodec;
|
|
477
476
|
}
|
|
478
|
-
declare const pgJsonbColumn: () => _prisma_next_framework_components_codec0.ColumnSpec<PgJsonbCodec, undefined>;
|
|
477
|
+
declare const pgJsonbColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<PgJsonbCodec, undefined>;
|
|
479
478
|
declare class PgCharDescriptor extends CodecDescriptorImpl<LengthParams> {
|
|
480
479
|
readonly codecId: "pg/char@1";
|
|
481
480
|
readonly targetTypes: readonly ["character"];
|
|
@@ -497,7 +496,7 @@ declare class PgCharDescriptor extends CodecDescriptorImpl<LengthParams> {
|
|
|
497
496
|
renderOutputType(params: LengthParams): string | undefined;
|
|
498
497
|
factory(_params: LengthParams): (ctx: CodecInstanceContext) => SqlCharCodec;
|
|
499
498
|
}
|
|
500
|
-
declare const pgCharColumn: (params?: LengthParams) => _prisma_next_framework_components_codec0.ColumnSpec<SqlCharCodec, LengthParams>;
|
|
499
|
+
declare const pgCharColumn: (params?: LengthParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<SqlCharCodec, LengthParams>;
|
|
501
500
|
declare class PgVarcharDescriptor extends CodecDescriptorImpl<LengthParams> {
|
|
502
501
|
readonly codecId: "pg/varchar@1";
|
|
503
502
|
readonly targetTypes: readonly ["character varying"];
|
|
@@ -519,7 +518,7 @@ declare class PgVarcharDescriptor extends CodecDescriptorImpl<LengthParams> {
|
|
|
519
518
|
renderOutputType(params: LengthParams): string | undefined;
|
|
520
519
|
factory(_params: LengthParams): (ctx: CodecInstanceContext) => SqlVarcharCodec;
|
|
521
520
|
}
|
|
522
|
-
declare const pgVarcharColumn: (params?: LengthParams) => _prisma_next_framework_components_codec0.ColumnSpec<SqlVarcharCodec, LengthParams>;
|
|
521
|
+
declare const pgVarcharColumn: (params?: LengthParams) => _$_prisma_next_framework_components_codec0.ColumnSpec<SqlVarcharCodec, LengthParams>;
|
|
523
522
|
declare class PgIntDescriptor extends CodecDescriptorImpl<void> {
|
|
524
523
|
readonly codecId: "pg/int@1";
|
|
525
524
|
readonly targetTypes: readonly ["int4"];
|
|
@@ -536,7 +535,7 @@ declare class PgIntDescriptor extends CodecDescriptorImpl<void> {
|
|
|
536
535
|
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
537
536
|
factory(): (ctx: CodecInstanceContext) => SqlIntCodec;
|
|
538
537
|
}
|
|
539
|
-
declare const pgIntColumn: () => _prisma_next_framework_components_codec0.ColumnSpec<SqlIntCodec, undefined>;
|
|
538
|
+
declare const pgIntColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqlIntCodec, undefined>;
|
|
540
539
|
declare class PgFloatDescriptor extends CodecDescriptorImpl<void> {
|
|
541
540
|
readonly codecId: "pg/float@1";
|
|
542
541
|
readonly targetTypes: readonly ["float8"];
|
|
@@ -553,7 +552,7 @@ declare class PgFloatDescriptor extends CodecDescriptorImpl<void> {
|
|
|
553
552
|
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
554
553
|
factory(): (ctx: CodecInstanceContext) => SqlFloatCodec;
|
|
555
554
|
}
|
|
556
|
-
declare const pgFloatColumn: () => _prisma_next_framework_components_codec0.ColumnSpec<SqlFloatCodec, undefined>;
|
|
555
|
+
declare const pgFloatColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqlFloatCodec, undefined>;
|
|
557
556
|
//#endregion
|
|
558
557
|
export { pgFloatColumn as A, pgTimeColumn as B, PgVarcharDescriptor as C, pgEnumColumn as D, pgCharColumn as E, pgIntervalColumn as F, pgVarcharColumn as G, pgTimestamptzColumn as H, pgJsonColumn as I, pgJsonbColumn as L, pgInt4Column as M, pgInt8Column as N, pgFloat4Column as O, pgIntColumn as P, pgNumericColumn as R, PgVarbitDescriptor as S, pgBoolColumn as T, pgTimetzColumn as U, pgTimestampColumn as V, pgVarbitColumn as W, PgTextDescriptor as _, PgEnumDescriptor as a, PgTimestamptzDescriptor as b, PgFloatDescriptor as c, PgInt8Descriptor as d, PgIntDescriptor as f, PgNumericDescriptor as g, PgJsonbDescriptor as h, PgCharDescriptor as i, pgInt2Column as j, pgFloat8Column as k, PgInt2Descriptor as l, PgJsonDescriptor as m, PgBoolDescriptor as n, PgFloat4Descriptor as o, PgIntervalDescriptor as p, PgByteaDescriptor as r, PgFloat8Descriptor as s, PgBitDescriptor as t, PgInt4Descriptor as u, PgTimeDescriptor as v, pgBitColumn as w, PgTimetzDescriptor as x, PgTimestampDescriptor as y, pgTextColumn as z };
|
|
559
|
-
//# sourceMappingURL=codecs-
|
|
558
|
+
//# sourceMappingURL=codecs-Cue97Xqf.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-Cue97Xqf.d.mts","names":[],"sources":["../src/core/codecs.ts"],"mappings":";;;;;;;;;KAkFK,YAAA;EAAA,SAA0B,MAAA;AAAA;AAAA,KAC1B,eAAA;EAAA,SAA6B,SAAA;AAAA;AAAA,KAC7B,aAAA;EAAA,SAA2B,SAAA;EAAA,SAA4B,KAAA;AAAA;AAAA,KACvD,UAAA;EAAA,SAAwB,MAAA;AAAA;AAAA,cAsChB,WAAA,SAAoB,SAAA,QACxB,gBAAA;EAKD,MAAA,CAAO,KAAA,UAAe,IAAA,EAAM,gBAAA,GAAmB,OAAA;EAG/C,MAAA,CAAO,IAAA,UAAc,IAAA,EAAM,gBAAA,GAAmB,OAAA;EAGpD,UAAA,CAAW,KAAA,WAAgB,SAAA;EAG3B,UAAA,CAAW,IAAA,EAAM,SAAA;AAAA;AAAA,cAKN,gBAAA,SAAyB,mBAAA;EAAA,SAClB,OAAA;EAAA,SACA,MAAA;EAAA,SACA,WAAA;EAAA,SACA,IAAA;IAAA;;;;;;;;WACA,YAAA,EAAc,gBAAA;EACvB,OAAA,CAAA,IAAY,GAAA,EAAK,oBAAA,KAAyB,WAAA;AAAA;AAAA,cAOxC,YAAA,QAAY,0CAAA,CAAA,UAAA,CAAA,WAAA;AAAA,cAMZ,WAAA,SAAoB,SAAA,QACxB,gBAAA;EAKD,MAAA,CAAO,KAAA,UAAe,IAAA,EAAM,gBAAA,GAAmB,OAAA;EAG/C,MAAA,CAAO,IAAA,UAAc,IAAA,EAAM,gBAAA,GAAmB,OAAA;EAGpD,UAAA,CAAW,KAAA,WAAgB,SAAA;EAG3B,UAAA,CAAW,IAAA,EAAM,SAAA;AAAA;AAAA,cAKN,gBAAA,SAAyB,mBAAA;EAAA,SAClB,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AA;IAAA;;;;EACrB,gBAAA,CAAiB,MAAA,EAAQ,YAAA;EAGzB,OAAA,CAAQ,OAAA,EAAS,YAAA,IAAgB,GAAA,EAAK,oBAAA,KAAyB,eAAA;AAAA;AAAA,cAO7D,eAAA,GAAmB,MAAA,GAAQ,YAAA,KAAiB,0CAAA,CAAA,UAAA,CAAA,eAAA,EAAA,YAAA;AAAA,cAU5C,eAAA,SAAwB,mBAAA;EAAA,SACjB,OAAA;EAAA,SACA,WAAA;EAAA,SACA,IAAA;IAAA;;;;;;;;WACA,MAAA;EAAA,SACA,YAAA,EAAY,gBAAA;EACrB,OAAA,CAAA,IAAY,GAAA,EAAK,oBAAA,KAAyB,WAAA;AAAA;AAAA,cAOxC,WAAA,QAAW,0CAAA,CAAA,UAAA,CAAA,WAAA;AAAA,cAKX,iBAAA,SAA0B,mBAAA;EAAA,SACnB,OAAA;EAAA,SACA,WAAA;EAAA,SACA,IAAA;IAAA;;;;;;;;WACA,MAAA;EAAA,SACA,YAAA,EAAY,gBAAA;EACrB,OAAA,CAAA,IAAY,GAAA,EAAK,oBAAA,KAAyB,aAAA;AAAA;AAAA,cAOxC,aAAA,QAAa,0CAAA,CAAA,UAAA,CAAA,aAAA"}
|
package/dist/codecs.d.mts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { A as pgFloatColumn, B as pgTimeColumn, C as PgVarcharDescriptor, D as pgEnumColumn, E as pgCharColumn, F as pgIntervalColumn, G as pgVarcharColumn, H as pgTimestamptzColumn, I as pgJsonColumn, L as pgJsonbColumn, M as pgInt4Column, N as pgInt8Column, O as pgFloat4Column, P as pgIntColumn, R as pgNumericColumn, S as PgVarbitDescriptor, T as pgBoolColumn, U as pgTimetzColumn, V as pgTimestampColumn, W as pgVarbitColumn, _ as PgTextDescriptor, a as PgEnumDescriptor, b as PgTimestamptzDescriptor, c as PgFloatDescriptor, d as PgInt8Descriptor, f as PgIntDescriptor, g as PgNumericDescriptor, h as PgJsonbDescriptor, i as PgCharDescriptor, j as pgInt2Column, k as pgFloat8Column, l as PgInt2Descriptor, m as PgJsonDescriptor, n as PgBoolDescriptor, o as PgFloat4Descriptor, p as PgIntervalDescriptor, s as PgFloat8Descriptor, t as PgBitDescriptor, u as PgInt4Descriptor, v as PgTimeDescriptor, w as pgBitColumn, x as PgTimetzDescriptor, y as PgTimestampDescriptor, z as pgTextColumn } from "./codecs-DZUnQrrl.mjs";
|
|
1
|
+
import { A as pgFloatColumn, B as pgTimeColumn, C as PgVarcharDescriptor, D as pgEnumColumn, E as pgCharColumn, F as pgIntervalColumn, G as pgVarcharColumn, H as pgTimestamptzColumn, I as pgJsonColumn, L as pgJsonbColumn, M as pgInt4Column, N as pgInt8Column, O as pgFloat4Column, P as pgIntColumn, R as pgNumericColumn, S as PgVarbitDescriptor, T as pgBoolColumn, U as pgTimetzColumn, V as pgTimestampColumn, W as pgVarbitColumn, _ as PgTextDescriptor, a as PgEnumDescriptor, b as PgTimestamptzDescriptor, c as PgFloatDescriptor, d as PgInt8Descriptor, f as PgIntDescriptor, g as PgNumericDescriptor, h as PgJsonbDescriptor, i as PgCharDescriptor, j as pgInt2Column, k as pgFloat8Column, l as PgInt2Descriptor, m as PgJsonDescriptor, n as PgBoolDescriptor, o as PgFloat4Descriptor, p as PgIntervalDescriptor, s as PgFloat8Descriptor, t as PgBitDescriptor, u as PgInt4Descriptor, v as PgTimeDescriptor, w as pgBitColumn, x as PgTimetzDescriptor, y as PgTimestampDescriptor, z as pgTextColumn } from "./codecs-Cue97Xqf.mjs";
|
|
3
2
|
import { CodecDescriptorRegistry } from "@prisma-next/sql-relational-core/query-lane-context";
|
|
4
3
|
|
|
5
4
|
//#region src/core/registry.d.ts
|
|
6
|
-
|
|
7
5
|
/**
|
|
8
6
|
* Registry of every codec descriptor shipped by `@prisma-next/target-postgres`.
|
|
9
7
|
*
|
package/dist/codecs.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codecs.d.mts","names":[],"sources":["../src/core/registry.ts"],"
|
|
1
|
+
{"version":3,"file":"codecs.d.mts","names":[],"sources":["../src/core/registry.ts"],"mappings":";;;;;;;AASA;;cAAa,qBAAA,EAAuB,uBAAA"}
|
package/dist/codecs.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { C as PG_VARCHAR_CODEC_ID, S as PG_VARBIT_CODEC_ID, _ as PG_TEXT_CODEC_ID, a as PG_ENUM_CODEC_ID, b as PG_TIMETZ_CODEC_ID, c as PG_FLOAT_CODEC_ID, d as PG_INT8_CODEC_ID, f as PG_INTERVAL_CODEC_ID, g as PG_NUMERIC_CODEC_ID, h as PG_JSON_CODEC_ID, i as PG_CHAR_CODEC_ID, l as PG_INT2_CODEC_ID, m as PG_JSONB_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_FLOAT4_CODEC_ID, p as PG_INT_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_FLOAT8_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_INT4_CODEC_ID, v as PG_TIMESTAMPTZ_CODEC_ID, x as PG_TIME_CODEC_ID, y as PG_TIMESTAMP_CODEC_ID } from "./codec-ids-
|
|
1
|
+
import { C as PG_VARCHAR_CODEC_ID, S as PG_VARBIT_CODEC_ID, _ as PG_TEXT_CODEC_ID, a as PG_ENUM_CODEC_ID, b as PG_TIMETZ_CODEC_ID, c as PG_FLOAT_CODEC_ID, d as PG_INT8_CODEC_ID, f as PG_INTERVAL_CODEC_ID, g as PG_NUMERIC_CODEC_ID, h as PG_JSON_CODEC_ID, i as PG_CHAR_CODEC_ID, l as PG_INT2_CODEC_ID, m as PG_JSONB_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_FLOAT4_CODEC_ID, p as PG_INT_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_FLOAT8_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_INT4_CODEC_ID, v as PG_TIMESTAMPTZ_CODEC_ID, x as PG_TIME_CODEC_ID, y as PG_TIMESTAMP_CODEC_ID } from "./codec-ids-C5qzBqus.mjs";
|
|
2
2
|
import { SqlCharCodec, SqlFloatCodec, SqlIntCodec, SqlVarcharCodec, sqlCharDescriptor, sqlFloatDescriptor, sqlIntDescriptor, sqlTextDescriptor, sqlTimestampDescriptor, sqlVarcharDescriptor } from "@prisma-next/sql-relational-core/ast";
|
|
3
3
|
import { CodecDescriptorImpl, CodecImpl, column, voidParamsSchema } from "@prisma-next/framework-components/codec";
|
|
4
4
|
import { type } from "arktype";
|
|
5
5
|
import { buildCodecDescriptorRegistry } from "@prisma-next/sql-relational-core/codec-descriptor-registry";
|
|
6
|
-
|
|
7
6
|
//#region src/core/codec-helpers.ts
|
|
8
7
|
function renderLength(typeName, typeParams) {
|
|
9
8
|
const length = typeParams["length"];
|
|
@@ -61,7 +60,6 @@ const pgJsonEncode = (value) => JSON.stringify(value);
|
|
|
61
60
|
const pgJsonDecode = (wire) => typeof wire === "string" ? JSON.parse(wire) : wire;
|
|
62
61
|
const pgJsonbEncode = (value) => JSON.stringify(value);
|
|
63
62
|
const pgJsonbDecode = (wire) => typeof wire === "string" ? JSON.parse(wire) : wire;
|
|
64
|
-
|
|
65
63
|
//#endregion
|
|
66
64
|
//#region src/core/codecs.ts
|
|
67
65
|
const lengthParamsSchema = type({ "length?": "number.integer > 0" });
|
|
@@ -697,7 +695,14 @@ var PgFloatDescriptor = class extends CodecDescriptorImpl {
|
|
|
697
695
|
};
|
|
698
696
|
const pgFloatDescriptor = new PgFloatDescriptor();
|
|
699
697
|
const pgFloatColumn = () => column(pgFloatDescriptor.factory(), pgFloatDescriptor.codecId, void 0, "float8");
|
|
700
|
-
|
|
698
|
+
//#endregion
|
|
699
|
+
//#region src/core/registry.ts
|
|
700
|
+
/**
|
|
701
|
+
* Registry of every codec descriptor shipped by `@prisma-next/target-postgres`.
|
|
702
|
+
*
|
|
703
|
+
* 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.
|
|
704
|
+
*/
|
|
705
|
+
const postgresCodecRegistry = buildCodecDescriptorRegistry([
|
|
701
706
|
sqlCharDescriptor,
|
|
702
707
|
sqlVarcharDescriptor,
|
|
703
708
|
sqlIntDescriptor,
|
|
@@ -727,17 +732,8 @@ const codecDescriptors = [
|
|
|
727
732
|
pgEnumDescriptor,
|
|
728
733
|
pgJsonDescriptor,
|
|
729
734
|
pgJsonbDescriptor
|
|
730
|
-
];
|
|
731
|
-
|
|
732
|
-
//#endregion
|
|
733
|
-
//#region src/core/registry.ts
|
|
734
|
-
/**
|
|
735
|
-
* Registry of every codec descriptor shipped by `@prisma-next/target-postgres`.
|
|
736
|
-
*
|
|
737
|
-
* 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.
|
|
738
|
-
*/
|
|
739
|
-
const postgresCodecRegistry = buildCodecDescriptorRegistry(codecDescriptors);
|
|
740
|
-
|
|
735
|
+
]);
|
|
741
736
|
//#endregion
|
|
742
737
|
export { pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumColumn, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgIntColumn, pgIntervalColumn, pgJsonColumn, pgJsonbColumn, pgNumericColumn, pgTextColumn, pgTimeColumn, pgTimestampColumn, pgTimestamptzColumn, pgTimetzColumn, pgVarbitColumn, pgVarcharColumn, postgresCodecRegistry };
|
|
738
|
+
|
|
743
739
|
//# sourceMappingURL=codecs.mjs.map
|