@prisma/orm-target-postgres 8.0.0-rc.11-dev.9 → 8.0.0-rc.11-dev.11
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-BO4-D_sb-Dv6OpO1E.mjs → adapter-B8GYY_f1-BhYOGgSD.mjs} +4 -4
- package/dist/{adapter-BO4-D_sb-Dv6OpO1E.mjs.map → adapter-B8GYY_f1-BhYOGgSD.mjs.map} +1 -1
- package/dist/adapter.d.mts +2 -2
- package/dist/adapter.mjs +5 -5
- package/dist/adapter__adapter.mjs +1 -1
- package/dist/adapter__column-types.d.mts +2 -2
- package/dist/adapter__column-types.mjs +2 -2
- package/dist/adapter__control.mjs +22 -3
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.mjs +5 -5
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/{aggregates-Ckjhz1o7.mjs → aggregates-s5O5YixU.mjs} +3 -2
- package/dist/aggregates-s5O5YixU.mjs.map +1 -0
- package/dist/{authoring-Dm1jBKhq-i8FD48I-.mjs → authoring-DgeWf8RC-C-jQzf_w.mjs} +16 -4
- package/dist/authoring-DgeWf8RC-C-jQzf_w.mjs.map +1 -0
- package/dist/{codec-ids-D3ZEAmt2-DjoKUAas.mjs → codec-ids-BYhNGq22-B6yIezG2.mjs} +4 -3
- package/dist/codec-ids-BYhNGq22-B6yIezG2.mjs.map +1 -0
- package/dist/codec-ids-CglZIuVF.d.mts +1 -0
- package/dist/{codec-ids-CmcC76hX-C0JIyoua.d.mts → codec-ids-CiBCuaJN-BMYRDoSy.d.mts} +4 -3
- package/dist/{codec-ids-CmcC76hX-C0JIyoua.d.mts.map → codec-ids-CiBCuaJN-BMYRDoSy.d.mts.map} +1 -1
- package/dist/{codec-types-X0ENu4sQ-C6GS_WDR.d.mts → codec-types-BCfy8IGK-BUkuPAY6.d.mts} +4 -3
- package/dist/codec-types-BCfy8IGK-BUkuPAY6.d.mts.map +1 -0
- package/dist/codec-types-CEGVf9dT.d.mts +2 -0
- package/dist/{codecs-bwX5JaME-ByuPNLC5.d.mts → codecs-CJ_Vq9bQ-BZfz_Ypd.d.mts} +26 -4
- package/dist/codecs-CJ_Vq9bQ-BZfz_Ypd.d.mts.map +1 -0
- package/dist/{codecs-CxWg7WrX-DtVAuuXA.mjs → codecs-Cb6p_eRD-C_gtto50.mjs} +85 -13
- package/dist/codecs-Cb6p_eRD-C_gtto50.mjs.map +1 -0
- package/dist/{codecs-DZMfLjGe.mjs → codecs-LETde6yD.mjs} +2 -2
- package/dist/codecs-LETde6yD.mjs.map +1 -0
- package/dist/{codecs-ePpDWH7z.d.mts → codecs-WJAKgYRF.d.mts} +2 -2
- package/dist/codecs-WJAKgYRF.d.mts.map +1 -0
- package/dist/{column-types-DU7C_gwa.mjs → column-types-B67GtMxQ.mjs} +9 -6
- package/dist/column-types-B67GtMxQ.mjs.map +1 -0
- package/dist/{column-types-CwjYfNCi.d.mts → column-types-BXN3T2IH.d.mts} +8 -5
- package/dist/column-types-BXN3T2IH.d.mts.map +1 -0
- package/dist/{contract-free-DzpGxLfb.d.mts → contract-free-DFF0Xo-V.d.mts} +3 -2
- package/dist/{contract-free-DzpGxLfb.d.mts.map → contract-free-DFF0Xo-V.d.mts.map} +1 -1
- package/dist/{contract-free-CzTZEwpt.mjs → contract-free-DcfADfM5.mjs} +6 -5
- package/dist/contract-free-DcfADfM5.mjs.map +1 -0
- package/dist/{control-BF220oqr.mjs → control-BzDYQvXp.mjs} +6 -6
- package/dist/{control-BF220oqr.mjs.map → control-BzDYQvXp.mjs.map} +1 -1
- package/dist/{control-adapter-BM70RkWS-kIC873DD.mjs → control-adapter-CFhIuqhT-Cv81A7Vn.mjs} +6 -6
- package/dist/{control-adapter-BM70RkWS-kIC873DD.mjs.map → control-adapter-CFhIuqhT-Cv81A7Vn.mjs.map} +1 -1
- package/dist/{control-policy-BN8Ouun3-BtGYeb4f.mjs → control-policy-fVl-HcZs-D4NWKSCd.mjs} +6 -6
- package/dist/{control-policy-BN8Ouun3-BtGYeb4f.mjs.map → control-policy-fVl-HcZs-D4NWKSCd.mjs.map} +1 -1
- package/dist/{ddl-GXbCrKp_-CBKFkq1r.mjs → ddl-CaKDvAty-sHOb0D92.mjs} +4 -4
- package/dist/{ddl-GXbCrKp_-CBKFkq1r.mjs.map → ddl-CaKDvAty-sHOb0D92.mjs.map} +1 -1
- package/dist/{descriptor-meta-D41CePyY-B0L9RIgT.mjs → descriptor-meta-5YNXmaAr-BSzEPHWD.mjs} +5 -5
- package/dist/{descriptor-meta-D41CePyY-B0L9RIgT.mjs.map → descriptor-meta-5YNXmaAr-BSzEPHWD.mjs.map} +1 -1
- package/dist/{descriptor-meta-zQNj82MZ-CDwEiYdj.mjs → descriptor-meta-TrRobK4g-gB0M4Ohw.mjs} +13 -6
- package/dist/descriptor-meta-TrRobK4g-gB0M4Ohw.mjs.map +1 -0
- package/dist/{diff-database-schema-C9UxdmYu-BzQjQb1e.mjs → diff-database-schema-DXX6GrzK-CP4VUPnZ.mjs} +5 -5
- package/dist/{diff-database-schema-C9UxdmYu-BzQjQb1e.mjs.map → diff-database-schema-DXX6GrzK-CP4VUPnZ.mjs.map} +1 -1
- package/dist/migration-PTHAY9Cv.mjs.map +1 -1
- package/dist/{op-factory-call-CSkQdszU-C43tr0rP.mjs → op-factory-call-CE7Bupol-540ycO-M.mjs} +5 -5
- package/dist/{op-factory-call-CSkQdszU-C43tr0rP.mjs.map → op-factory-call-CE7Bupol-540ycO-M.mjs.map} +1 -1
- package/dist/{pack-BByvVlUw.d.mts → pack-CUv2rMay.d.mts} +89 -9
- package/dist/pack-CUv2rMay.d.mts.map +1 -0
- package/dist/{planner-DtwSy6w3--x0IvtI9.mjs → planner-DKvzPAfo-g_2Hhaq9.mjs} +8 -8
- package/dist/{planner-DtwSy6w3--x0IvtI9.mjs.map → planner-DKvzPAfo-g_2Hhaq9.mjs.map} +1 -1
- package/dist/{planner-ddl-builders-CsfmnnKR-CNn0fLyx.mjs → planner-ddl-builders-DAYfZGUg-D1LT7WjF.mjs} +3 -3
- package/dist/{planner-ddl-builders-CsfmnnKR-CNn0fLyx.mjs.map → planner-ddl-builders-DAYfZGUg-D1LT7WjF.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-BResV739-meZQaWcU.mjs → planner-produced-postgres-migration-Dyu15n8R-D5QTYklm.mjs} +3 -3
- package/dist/{planner-produced-postgres-migration-BResV739-meZQaWcU.mjs.map → planner-produced-postgres-migration-Dyu15n8R-D5QTYklm.mjs.map} +1 -1
- package/dist/{planner-sql-checks-Bcngv5YZ-Dnp05hSM.mjs → planner-sql-checks-CaRMR5SA-DGYjc2Cy.mjs} +3 -3
- package/dist/{planner-sql-checks-Bcngv5YZ-Dnp05hSM.mjs.map → planner-sql-checks-CaRMR5SA-DGYjc2Cy.mjs.map} +1 -1
- package/dist/{postgres-contract-view-dWcpuV6T-CJPsHGox.mjs → postgres-contract-view-C22aDeL9-BWJIOpCz.mjs} +5 -5
- package/dist/{postgres-contract-view-dWcpuV6T-CJPsHGox.mjs.map → postgres-contract-view-C22aDeL9-BWJIOpCz.mjs.map} +1 -1
- package/dist/{postgres-migration-DRKw86P7-C1eWF86n.mjs → postgres-migration-DLvBlTQ7-B0dxQj3X.mjs} +5 -5
- package/dist/{postgres-migration-DRKw86P7-C1eWF86n.mjs.map → postgres-migration-DLvBlTQ7-B0dxQj3X.mjs.map} +1 -1
- package/dist/{postgres-schema-B3t7Zr52-CMlY9aGw.mjs → postgres-schema-PFL-fpel-s3InB8T0.mjs} +3 -3
- package/dist/{postgres-schema-B3t7Zr52-CMlY9aGw.mjs.map → postgres-schema-PFL-fpel-s3InB8T0.mjs.map} +1 -1
- package/dist/{resolve-ddl-schema-Cab6g5MC-SRco-A7L.mjs → resolve-ddl-schema-DoVk6G3i-D6YoWjC9.mjs} +3 -3
- package/dist/{resolve-ddl-schema-Cab6g5MC-SRco-A7L.mjs.map → resolve-ddl-schema-DoVk6G3i-D6YoWjC9.mjs.map} +1 -1
- package/dist/{sql-renderer-DMMtw8lD-K9zLsg-g.mjs → sql-renderer-DsyAnn56-BesgYlH9.mjs} +10 -7
- package/dist/sql-renderer-DsyAnn56-BesgYlH9.mjs.map +1 -0
- package/dist/target.d.mts +9 -9
- package/dist/target.mjs +20 -20
- package/dist/target__aggregates.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 +3 -3
- package/dist/target__codecs.d.mts +3 -3
- package/dist/target__codecs.mjs +3 -3
- package/dist/target__contract-free.d.mts +2 -2
- package/dist/target__contract-free.mjs +4 -4
- package/dist/target__control.mjs +2 -2
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.mjs +2 -2
- package/dist/target__op-factory-call.mjs +1 -1
- package/dist/target__pack.d.mts +1 -1
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-ddl-builders.mjs +1 -1
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-sql-checks.mjs +1 -1
- package/dist/target__planner.mjs +2 -2
- package/dist/target__runtime.mjs +2 -2
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__types.mjs +1 -1
- package/package.json +9 -9
- package/dist/aggregates-Ckjhz1o7.mjs.map +0 -1
- package/dist/authoring-Dm1jBKhq-i8FD48I-.mjs.map +0 -1
- package/dist/codec-ids-D3ZEAmt2-DjoKUAas.mjs.map +0 -1
- package/dist/codec-ids-cWPqrkcF.d.mts +0 -1
- package/dist/codec-types-X0ENu4sQ-C6GS_WDR.d.mts.map +0 -1
- package/dist/codec-types-Zel4Dk7S.d.mts +0 -2
- package/dist/codecs-CxWg7WrX-DtVAuuXA.mjs.map +0 -1
- package/dist/codecs-DZMfLjGe.mjs.map +0 -1
- package/dist/codecs-bwX5JaME-ByuPNLC5.d.mts.map +0 -1
- package/dist/codecs-ePpDWH7z.d.mts.map +0 -1
- package/dist/column-types-CwjYfNCi.d.mts.map +0 -1
- package/dist/column-types-DU7C_gwa.mjs.map +0 -1
- package/dist/contract-free-CzTZEwpt.mjs.map +0 -1
- package/dist/descriptor-meta-zQNj82MZ-CDwEiYdj.mjs.map +0 -1
- package/dist/pack-BByvVlUw.d.mts.map +0 -1
- package/dist/sql-renderer-DMMtw8lD-K9zLsg-g.mjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as AdaptedPostgresCodecDescriptor } from "./codec-descriptor-Bec_zukr-BfvtUqhm.mjs";
|
|
2
|
-
import { A as
|
|
2
|
+
import { A as PgTimestamptzDateDescriptor, C as PgNumericDescriptor, D as PgTimestampStringDescriptor, E as PgTimeTemporalDescriptor, F as PgUuidDescriptor, I as PgVarbitDescriptor, L as PgVarcharDescriptor, M as PgTimestamptzTemporalDescriptor, N as PgTimetzDescriptor, O as PgTimestampTemporalDescriptor, P as PgUnboundedIntDescriptor, 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-CJ_Vq9bQ-BZfz_Ypd.mjs";
|
|
3
3
|
import { ExtractCodecTypes } from "@prisma/orm-family-sql/relational-core/ast";
|
|
4
4
|
import { JsonValue as JsonValue$1 } from "@prisma/orm-framework/contract/types";
|
|
5
|
-
//#region ../../../3-targets/3-targets/postgres/dist/codec-types-
|
|
5
|
+
//#region ../../../3-targets/3-targets/postgres/dist/codec-types-BCfy8IGK.d.mts
|
|
6
6
|
//#region src/core/codec-type-map.d.ts
|
|
7
7
|
declare const codecDescriptorMap: {
|
|
8
8
|
readonly char: AdaptedPostgresCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlCharDescriptor>;
|
|
@@ -31,6 +31,7 @@ declare const codecDescriptorMap: {
|
|
|
31
31
|
readonly 'date-string': PgDateStringDescriptor;
|
|
32
32
|
readonly 'timestamp-string': PgTimestampStringDescriptor;
|
|
33
33
|
readonly 'timestamptz-string': PgTimestamptzStringDescriptor;
|
|
34
|
+
readonly 'timestamptz-date': PgTimestamptzDateDescriptor;
|
|
34
35
|
readonly 'time-string': PgTimeStringDescriptor;
|
|
35
36
|
readonly timetz: PgTimetzDescriptor;
|
|
36
37
|
readonly bool: PgBoolDescriptor;
|
|
@@ -93,4 +94,4 @@ type Interval<P extends number | undefined = undefined> = BrandedString<{
|
|
|
93
94
|
}>;
|
|
94
95
|
//#endregion
|
|
95
96
|
export { JsonValue$1 as a, TimeString as c, Timestamptz as d, TimestamptzString as f, Varchar as h, Interval as i, Timestamp as l, VarBit as m, Char as n, Numeric as o, Timetz as p, CodecTypes as r, Time as s, Bit as t, TimestampString as u };
|
|
96
|
-
//# sourceMappingURL=codec-types-
|
|
97
|
+
//# sourceMappingURL=codec-types-BCfy8IGK-BUkuPAY6.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-BCfy8IGK-BUkuPAY6.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/codec-types-BCfy8IGK.d.mts"],"mappings":";;;;;;cAKc;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;W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, D as PG_TIMESTAMP_TEMPORAL_CODEC_ID, E as PG_TIMESTAMP_STRING_CODEC_ID, M as PG_UUID_CODEC_ID, N as PG_VARBIT_CODEC_ID, O as PG_TIMETZ_CODEC_ID, S as PG_TEXT_CODEC_ID, T as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, b as PG_NUMERIC_CODEC_ID, c as PG_FLOAT4_CODEC_ID, d as PG_INET_CODEC_ID, f as PG_INT2_CODEC_ID, g as PG_INTERVAL_CODEC_ID, h as PG_INT8_NUMBER_CODEC_ID, j as PG_UNBOUNDED_INT_CODEC_ID, k as PG_TIME_STRING_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_ENUM_CODEC_ID, t as PG_BIT_CODEC_ID, v as PG_JSONB_CODEC_ID, w as PG_TIMESTAMPTZ_STRING_CODEC_ID, y as PG_JSON_CODEC_ID } from "./codec-ids-CiBCuaJN-BMYRDoSy.mjs";
|
|
3
3
|
import { ProjectionExpr, SqlCharCodec, SqlFloatCodec, SqlIntCodec, SqlVarcharCodec } from "@prisma/orm-family-sql/relational-core/ast";
|
|
4
4
|
import { CodecCallContext, CodecImpl, CodecInstanceContext } from "@prisma/orm-framework/components/codec";
|
|
5
5
|
import { JsonValue } from "@prisma/orm-framework/contract/types";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
|
-
//#region ../../../3-targets/3-targets/postgres/dist/codecs-
|
|
7
|
+
//#region ../../../3-targets/3-targets/postgres/dist/codecs-CJ_Vq9bQ.d.mts
|
|
8
8
|
//#region src/core/codec-helpers.d.ts
|
|
9
9
|
type PrecisionParams = {
|
|
10
10
|
readonly precision?: number;
|
|
@@ -172,6 +172,28 @@ declare class PgTimeStringDescriptor extends PostgresCodecDescriptor<PrecisionPa
|
|
|
172
172
|
factory(_params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimeStringCodec;
|
|
173
173
|
}
|
|
174
174
|
//#endregion
|
|
175
|
+
//#region src/core/date-codecs.d.ts
|
|
176
|
+
declare class PgTimestamptzDateCodec extends CodecImpl<typeof PG_TIMESTAMPTZ_DATE_CODEC_ID, readonly ['equality', 'order'], string, Date> {
|
|
177
|
+
encode(value: Date, _ctx: CodecCallContext): Promise<string>;
|
|
178
|
+
decode(wire: string, _ctx: CodecCallContext): Promise<Date>;
|
|
179
|
+
encodeJson(value: Date): JsonValue;
|
|
180
|
+
decodeJson(json: JsonValue): Date;
|
|
181
|
+
}
|
|
182
|
+
declare class PgTimestamptzDateDescriptor extends PostgresCodecDescriptor<PrecisionParams> {
|
|
183
|
+
protected nativeType(): string;
|
|
184
|
+
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
185
|
+
readonly codecId: "pg/timestamptz-date@1";
|
|
186
|
+
readonly traits: readonly ["equality", "order"];
|
|
187
|
+
readonly targetTypes: readonly [];
|
|
188
|
+
readonly paramsSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
189
|
+
precision?: number;
|
|
190
|
+
}, {}>;
|
|
191
|
+
renderOutputType(_params: PrecisionParams): string;
|
|
192
|
+
factory(_params: PrecisionParams): (ctx: CodecInstanceContext) => PgTimestamptzDateCodec;
|
|
193
|
+
}
|
|
194
|
+
declare const pgTimestamptzDateDescriptor: PgTimestamptzDateDescriptor;
|
|
195
|
+
declare const pgTimestamptzDateColumn: (params?: PrecisionParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<PgTimestamptzDateCodec, PrecisionParams>;
|
|
196
|
+
//#endregion
|
|
175
197
|
//#region src/core/codecs.d.ts
|
|
176
198
|
type LengthParams = {
|
|
177
199
|
readonly length?: number;
|
|
@@ -694,5 +716,5 @@ declare class PgFloatDescriptor extends PostgresCodecDescriptor<void> {
|
|
|
694
716
|
}
|
|
695
717
|
declare const pgFloatColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqlFloatCodec, undefined>;
|
|
696
718
|
//#endregion
|
|
697
|
-
export {
|
|
698
|
-
//# sourceMappingURL=codecs-
|
|
719
|
+
export { pgJsonColumn as $, PgTimestamptzDateDescriptor as A, pgBoolColumn as B, PgNumericDescriptor as C, PgTimestampStringDescriptor as D, PgTimeTemporalDescriptor as E, PgUuidDescriptor as F, pgFloatColumn as G, pgEnumDescriptor as H, PgVarbitDescriptor as I, pgInt4Column as J, pgInetColumn as K, PgVarcharDescriptor as L, PgTimestamptzTemporalDescriptor as M, PgTimetzDescriptor as N, PgTimestampTemporalDescriptor as O, PgUnboundedIntDescriptor as P, pgIntervalColumn as Q, isPgEnumParams as R, PgJsonbDescriptor as S, PgTimeStringDescriptor as T, pgFloat4Column as U, pgCharColumn as V, pgFloat8Column as W, pgInt8NumberColumn as X, pgInt8Column as Y, pgIntColumn as Z, PgInt8NumberDescriptor as _, PgDateStringDescriptor as a, pgTimetzColumn as at, PgIntervalDescriptor as b, PgEnumDescriptor as c, pgVarbitColumn as ct, PgFloat8Descriptor as d, pgJsonbColumn as et, PgFloatDescriptor as f, PgInt8Descriptor as g, PgInt4Descriptor as h, PgCharDescriptor as i, pgTimestamptzDateDescriptor as it, PgTimestamptzStringDescriptor as j, PgTimestamptzDateCodec as k, PgEnumParams as l, pgVarcharColumn as lt, PgInt2Descriptor as m, PgBoolDescriptor as n, pgTextColumn as nt, PgDateTemporalDescriptor as o, pgUnboundedIntColumn as ot, PgInetDescriptor as p, pgInt2Column as q, PgByteaDescriptor as r, pgTimestamptzDateColumn as rt, PgEnumCodec as s, pgUuidColumn as st, PgBitDescriptor as t, pgNumericColumn as tt, PgFloat4Descriptor as u, postgresQualifyColumnType as ut, PgIntDescriptor as v, PgTextDescriptor as w, PgJsonDescriptor as x, PgInterval as y, pgBitColumn as z };
|
|
720
|
+
//# sourceMappingURL=codecs-CJ_Vq9bQ-BZfz_Ypd.d.mts.map
|
|
@@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B;WAC7C;WACA;WACA;WACA,cAAc;EACvB,mBAAmB,OAAO;EAC1B,YAAY,KAAK,yBAAyB;;cAE9B,oEAAoE,WAAW"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as PG_TIME_TEMPORAL_CODEC_ID, C as PG_TIMESTAMPTZ_DATE_CODEC_ID, D as PG_TIMESTAMP_TEMPORAL_CODEC_ID, E as PG_TIMESTAMP_STRING_CODEC_ID, M as PG_UUID_CODEC_ID, N as PG_VARBIT_CODEC_ID, O as PG_TIMETZ_CODEC_ID, P as PG_VARCHAR_CODEC_ID, S as PG_TEXT_CODEC_ID, T as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, _ as PG_INT_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, b as PG_NUMERIC_CODEC_ID, c as PG_FLOAT4_CODEC_ID, d as PG_INET_CODEC_ID, f as PG_INT2_CODEC_ID, g as PG_INTERVAL_CODEC_ID, h as PG_INT8_NUMBER_CODEC_ID, i as PG_CHAR_CODEC_ID, j as PG_UNBOUNDED_INT_CODEC_ID, k as PG_TIME_STRING_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_ENUM_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_FLOAT_CODEC_ID, v as PG_JSONB_CODEC_ID, w as PG_TIMESTAMPTZ_STRING_CODEC_ID, x as PG_TEXT_ARRAY_CODEC_ID, y as PG_JSON_CODEC_ID } from "./codec-ids-BYhNGq22-B6yIezG2.mjs";
|
|
2
2
|
import { a as postgresCodec, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-LT7BpQta-BaDM8UQQ.mjs";
|
|
3
3
|
import { a as errorTemporalUnrepresentable, n as errorTemporalNonIsoCalendar, o as errorTemporalWrongType, r as errorTemporalUnavailable, s as postgresError } from "./errors-DYyzTYzE-39CV_aMo.mjs";
|
|
4
4
|
import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs";
|
|
@@ -7,7 +7,7 @@ import { CodecImpl, column, renderTsLiteral, voidParamsSchema } from "@prisma/or
|
|
|
7
7
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
8
8
|
import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
|
|
9
9
|
import { type } from "arktype";
|
|
10
|
-
//#region ../../../3-targets/3-targets/postgres/dist/codecs-
|
|
10
|
+
//#region ../../../3-targets/3-targets/postgres/dist/codecs-Cb6p_eRD.mjs
|
|
11
11
|
const precisionParamsSchema = type({ "precision?": "number.integer >= 0 & number.integer <= 6" });
|
|
12
12
|
function renderLength(typeName, typeParams) {
|
|
13
13
|
const length = typeParams.length;
|
|
@@ -363,6 +363,77 @@ const pgTimestamptzTemporalDecode = (wire) => decodeTemporalText(TIMESTAMPTZ_TEM
|
|
|
363
363
|
const pgTimestamptzTemporalEncode = (value) => encodeTemporalValue(TIMESTAMPTZ_TEMPORAL, value);
|
|
364
364
|
const pgTimeTemporalDecode = (wire) => decodeTemporalText(TIME_TEMPORAL, wire, (t) => Temporal.PlainTime.from(t), unadapted);
|
|
365
365
|
const pgTimeTemporalEncode = (value) => encodeTemporalValue(TIME_TEMPORAL, value);
|
|
366
|
+
const TIMESTAMPTZ_TEXT = /^(\d{4,6})-(\d{2})-(\d{2})[ T](\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,6}))?(?:Z|([+-])(\d{2})(?::?(\d{2}))?(?::?(\d{2}))?)( BC)?$/;
|
|
367
|
+
const MIN_TIMESTAMPTZ_MILLISECONDS = (/* @__PURE__ */ new Date("-004713-11-24T00:00:00.000Z")).getTime();
|
|
368
|
+
function invalidDate() {
|
|
369
|
+
return /* @__PURE__ */ new RangeError(`${PG_TIMESTAMPTZ_DATE_CODEC_ID} requires a valid Date or a representable ISO PostgreSQL timestamp with time zone; use TimestamptzString for unsupported values`);
|
|
370
|
+
}
|
|
371
|
+
function validateDate(value) {
|
|
372
|
+
if (!(value instanceof Date) || !Number.isFinite(value.getTime()) || value.getTime() < MIN_TIMESTAMPTZ_MILLISECONDS) throw invalidDate();
|
|
373
|
+
return value;
|
|
374
|
+
}
|
|
375
|
+
function decodeDate(wire) {
|
|
376
|
+
const match = typeof wire === "string" ? TIMESTAMPTZ_TEXT.exec(wire) : null;
|
|
377
|
+
if (!match) throw invalidDate();
|
|
378
|
+
const [, yearText, monthText, dayText, hourText, minuteText, secondText, fraction = "", sign, offsetHour = "0", offsetMinute = "0", offsetSecond = "0", era] = match;
|
|
379
|
+
const year = era ? 1 - Number(yearText) : Number(yearText);
|
|
380
|
+
const month = Number(monthText) - 1;
|
|
381
|
+
const day = Number(dayText);
|
|
382
|
+
const hour = Number(hourText);
|
|
383
|
+
const minute = Number(minuteText);
|
|
384
|
+
const second = Number(secondText);
|
|
385
|
+
const milliseconds = Number(fraction.slice(0, 3).padEnd(3, "0"));
|
|
386
|
+
const cycles = Math.floor((year - 2e3) / 400);
|
|
387
|
+
const safeYear = year - cycles * 400;
|
|
388
|
+
const local = /* @__PURE__ */ new Date(0);
|
|
389
|
+
local.setUTCFullYear(safeYear, month, day);
|
|
390
|
+
local.setUTCHours(hour, minute, second, milliseconds);
|
|
391
|
+
if (Number(yearText) === 0 || local.getUTCFullYear() !== safeYear || local.getUTCMonth() !== month || local.getUTCDate() !== day || local.getUTCHours() !== hour || local.getUTCMinutes() !== minute || local.getUTCSeconds() !== second || Number(offsetHour) > 15 || Number(offsetMinute) > 59 || Number(offsetSecond) > 59) throw invalidDate();
|
|
392
|
+
const offset = (Number(offsetHour) * 3600 + Number(offsetMinute) * 60 + Number(offsetSecond)) * (sign === "-" ? -1 : 1);
|
|
393
|
+
return validateDate(/* @__PURE__ */ new Date(local.getTime() - offset * 1e3 + cycles * 146097 * 864e5));
|
|
394
|
+
}
|
|
395
|
+
function encodeDate(value) {
|
|
396
|
+
validateDate(value);
|
|
397
|
+
const iso = value.toISOString();
|
|
398
|
+
const year = value.getUTCFullYear();
|
|
399
|
+
if (year > 0 && year < 1e4) return iso;
|
|
400
|
+
const dateAndTime = iso.slice(year === 0 ? 4 : 7);
|
|
401
|
+
return `${String(year <= 0 ? 1 - year : year).padStart(4, "0")}${dateAndTime}${year <= 0 ? " BC" : ""}`;
|
|
402
|
+
}
|
|
403
|
+
var PgTimestamptzDateCodec = class extends CodecImpl {
|
|
404
|
+
async encode(value, _ctx) {
|
|
405
|
+
return encodeDate(value);
|
|
406
|
+
}
|
|
407
|
+
async decode(wire, _ctx) {
|
|
408
|
+
return decodeDate(wire);
|
|
409
|
+
}
|
|
410
|
+
encodeJson(value) {
|
|
411
|
+
return encodeDate(value);
|
|
412
|
+
}
|
|
413
|
+
decodeJson(json) {
|
|
414
|
+
return decodeDate(json);
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
var PgTimestamptzDateDescriptor = class extends PostgresCodecDescriptor {
|
|
418
|
+
nativeType() {
|
|
419
|
+
return PG_TIMESTAMPTZ_NATIVE_TYPE;
|
|
420
|
+
}
|
|
421
|
+
jsonProjection(expression) {
|
|
422
|
+
return CastExpr.as(expression, "text");
|
|
423
|
+
}
|
|
424
|
+
codecId = PG_TIMESTAMPTZ_DATE_CODEC_ID;
|
|
425
|
+
traits = ["equality", "order"];
|
|
426
|
+
targetTypes = [];
|
|
427
|
+
paramsSchema = precisionParamsSchema;
|
|
428
|
+
renderOutputType(_params) {
|
|
429
|
+
return "Date";
|
|
430
|
+
}
|
|
431
|
+
factory(_params) {
|
|
432
|
+
return () => new PgTimestamptzDateCodec(this);
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
const pgTimestamptzDateDescriptor = new PgTimestamptzDateDescriptor();
|
|
436
|
+
const pgTimestamptzDateColumn = (params = {}) => column(pgTimestamptzDateDescriptor.factory(params), pgTimestamptzDateDescriptor.codecId, params, "timestamptz");
|
|
366
437
|
var PgDateTemporalCodec = class extends CodecImpl {
|
|
367
438
|
async encode(value, _ctx) {
|
|
368
439
|
return pgDateTemporalEncode(value);
|
|
@@ -770,7 +841,7 @@ var PgTextCodec = class extends CodecImpl {
|
|
|
770
841
|
return value;
|
|
771
842
|
}
|
|
772
843
|
decodeJson(json) {
|
|
773
|
-
return json;
|
|
844
|
+
return blindCast(json);
|
|
774
845
|
}
|
|
775
846
|
};
|
|
776
847
|
var PgTextDescriptor = class extends PostgresCodecDescriptor {
|
|
@@ -967,7 +1038,7 @@ var PgInt4Codec = class extends CodecImpl {
|
|
|
967
1038
|
return value;
|
|
968
1039
|
}
|
|
969
1040
|
decodeJson(json) {
|
|
970
|
-
return json;
|
|
1041
|
+
return blindCast(json);
|
|
971
1042
|
}
|
|
972
1043
|
};
|
|
973
1044
|
var PgInt4Descriptor = class extends PostgresCodecDescriptor {
|
|
@@ -1005,7 +1076,7 @@ var PgInt2Codec = class extends CodecImpl {
|
|
|
1005
1076
|
return value;
|
|
1006
1077
|
}
|
|
1007
1078
|
decodeJson(json) {
|
|
1008
|
-
return json;
|
|
1079
|
+
return blindCast(json);
|
|
1009
1080
|
}
|
|
1010
1081
|
};
|
|
1011
1082
|
var PgInt2Descriptor = class extends PostgresCodecDescriptor {
|
|
@@ -1138,7 +1209,7 @@ var PgFloat4Codec = class extends CodecImpl {
|
|
|
1138
1209
|
return value;
|
|
1139
1210
|
}
|
|
1140
1211
|
decodeJson(json) {
|
|
1141
|
-
return json;
|
|
1212
|
+
return blindCast(json);
|
|
1142
1213
|
}
|
|
1143
1214
|
};
|
|
1144
1215
|
var PgFloat4Descriptor = class extends PostgresCodecDescriptor {
|
|
@@ -1176,7 +1247,7 @@ var PgFloat8Codec = class extends CodecImpl {
|
|
|
1176
1247
|
return value;
|
|
1177
1248
|
}
|
|
1178
1249
|
decodeJson(json) {
|
|
1179
|
-
return json;
|
|
1250
|
+
return blindCast(json);
|
|
1180
1251
|
}
|
|
1181
1252
|
};
|
|
1182
1253
|
var PgFloat8Descriptor = class extends PostgresCodecDescriptor {
|
|
@@ -1214,7 +1285,7 @@ var PgBoolCodec = class extends CodecImpl {
|
|
|
1214
1285
|
return value;
|
|
1215
1286
|
}
|
|
1216
1287
|
decodeJson(json) {
|
|
1217
|
-
return json;
|
|
1288
|
+
return blindCast(json);
|
|
1218
1289
|
}
|
|
1219
1290
|
};
|
|
1220
1291
|
var PgBoolDescriptor = class extends PostgresCodecDescriptor {
|
|
@@ -1342,7 +1413,7 @@ var PgTimetzCodec = class extends CodecImpl {
|
|
|
1342
1413
|
return value;
|
|
1343
1414
|
}
|
|
1344
1415
|
decodeJson(json) {
|
|
1345
|
-
return json;
|
|
1416
|
+
return blindCast(json);
|
|
1346
1417
|
}
|
|
1347
1418
|
};
|
|
1348
1419
|
var PgTimetzDescriptor = class extends PostgresCodecDescriptor {
|
|
@@ -1376,7 +1447,7 @@ var PgBitCodec = class extends CodecImpl {
|
|
|
1376
1447
|
return value;
|
|
1377
1448
|
}
|
|
1378
1449
|
decodeJson(json) {
|
|
1379
|
-
return json;
|
|
1450
|
+
return blindCast(json);
|
|
1380
1451
|
}
|
|
1381
1452
|
};
|
|
1382
1453
|
var PgBitDescriptor = class extends PostgresCodecDescriptor {
|
|
@@ -1410,7 +1481,7 @@ var PgVarbitCodec = class extends CodecImpl {
|
|
|
1410
1481
|
return value;
|
|
1411
1482
|
}
|
|
1412
1483
|
decodeJson(json) {
|
|
1413
|
-
return json;
|
|
1484
|
+
return blindCast(json);
|
|
1414
1485
|
}
|
|
1415
1486
|
};
|
|
1416
1487
|
var PgVarbitDescriptor = class extends PostgresCodecDescriptor {
|
|
@@ -1757,6 +1828,7 @@ const codecDescriptors = definePostgresCodecs([
|
|
|
1757
1828
|
pgDateStringDescriptor,
|
|
1758
1829
|
pgTimestampStringDescriptor,
|
|
1759
1830
|
pgTimestamptzStringDescriptor,
|
|
1831
|
+
pgTimestamptzDateDescriptor,
|
|
1760
1832
|
pgTimeStringDescriptor,
|
|
1761
1833
|
pgTimetzDescriptor,
|
|
1762
1834
|
pgBoolDescriptor,
|
|
@@ -1771,6 +1843,6 @@ const codecDescriptors = definePostgresCodecs([
|
|
|
1771
1843
|
pgTextArrayDescriptor
|
|
1772
1844
|
]);
|
|
1773
1845
|
//#endregion
|
|
1774
|
-
export {
|
|
1846
|
+
export { postgresQualifyColumnType as A, pgTimestamptzDateColumn as C, pgUuidColumn as D, pgUnboundedIntColumn as E, pgVarbitColumn as O, pgTextColumn as S, pgTimetzColumn as T, pgIntColumn as _, pgBitColumn as a, pgJsonbColumn as b, pgEnumDescriptor as c, pgFloatColumn as d, pgInetColumn as f, pgInt8NumberColumn as g, pgInt8Column as h, isPgEnumParams as i, pgVarcharColumn as k, pgFloat4Column as l, pgInt4Column as m, PgTimestamptzDateDescriptor as n, pgBoolColumn as o, pgInt2Column as p, codecDescriptors as r, pgCharColumn as s, PgTimestamptzDateCodec as t, pgFloat8Column as u, pgIntervalColumn as v, pgTimestamptzDateDescriptor as w, pgNumericColumn as x, pgJsonColumn as y };
|
|
1775
1847
|
|
|
1776
|
-
//# sourceMappingURL=codecs-
|
|
1848
|
+
//# sourceMappingURL=codecs-Cb6p_eRD-C_gtto50.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-Cb6p_eRD-C_gtto50.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/codecs-Cb6p_eRD.mjs"],"sourcesContent":["import { A as PG_TIME_TEMPORAL_CODEC_ID, C as PG_TIMESTAMPTZ_DATE_CODEC_ID, D as PG_TIMESTAMP_TEMPORAL_CODEC_ID, E as PG_TIMESTAMP_STRING_CODEC_ID, M as PG_UUID_CODEC_ID, N as PG_VARBIT_CODEC_ID, O as PG_TIMETZ_CODEC_ID, P as PG_VARCHAR_CODEC_ID, S as PG_TEXT_CODEC_ID, T as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, _ as PG_INT_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, b as PG_NUMERIC_CODEC_ID, c as PG_FLOAT4_CODEC_ID, d as PG_INET_CODEC_ID, f as PG_INT2_CODEC_ID, g as PG_INTERVAL_CODEC_ID, h as PG_INT8_NUMBER_CODEC_ID, i as PG_CHAR_CODEC_ID, j as PG_UNBOUNDED_INT_CODEC_ID, k as PG_TIME_STRING_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_ENUM_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_FLOAT_CODEC_ID, v as PG_JSONB_CODEC_ID, w as PG_TIMESTAMPTZ_STRING_CODEC_ID, x as PG_TEXT_ARRAY_CODEC_ID, y as PG_JSON_CODEC_ID } from \"./codec-ids-BYhNGq22.mjs\";\nimport { a as postgresCodec, r as definePostgresCodecs, t as PostgresCodecDescriptor } from \"./codec-descriptor-LT7BpQta.mjs\";\nimport { a as errorTemporalUnrepresentable, n as errorTemporalNonIsoCalendar, o as errorTemporalWrongType, r as errorTemporalUnavailable, s as postgresError } from \"./errors-DYyzTYzE.mjs\";\nimport \"./namespace-ids-xtp_ZY86.mjs\";\nimport { t as PostgresNativeEnum } from \"./postgres-native-enum-CdP3b_-R.mjs\";\nimport { BinaryExpr, CaseExpr, CastExpr, FunctionCallExpr, LiteralExpr, NullCheckExpr, OrExpr, SqlCharCodec, SqlFloatCodec, SqlIntCodec, SqlVarcharCodec, sqlCharDescriptor, sqlFloatDescriptor, sqlIntDescriptor, sqlTextDescriptor, sqlVarcharDescriptor } from \"@internal/sql-relational-core/ast\";\nimport { CodecImpl, column, renderTsLiteral, voidParamsSchema } from \"@internal/framework-components/codec\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { type } from \"arktype\";\n//#region src/core/codec-helpers.ts\nconst precisionParamsSchema = type({ \"precision?\": \"number.integer >= 0 & number.integer <= 6\" });\nfunction renderLength(typeName, typeParams) {\n\tconst length = typeParams.length;\n\tif (length === void 0) return;\n\tif (typeof length !== \"number\" || !Number.isFinite(length) || !Number.isInteger(length)) throw postgresError(\"RUNTIME.TYPE_PARAMS_INVALID\", `renderOutputType: expected integer \"length\" in typeParams for ${typeName}, got ${String(length)}`, { meta: {\n\t\tnativeType: typeName,\n\t\tparam: \"length\",\n\t\treceived: String(length)\n\t} });\n\treturn `${typeName}<${length}>`;\n}\nfunction renderPrecision(typeName, typeParams) {\n\tconst precision = typeParams.precision;\n\tif (precision === void 0) return typeName;\n\tif (typeof precision !== \"number\" || !Number.isFinite(precision) || !Number.isInteger(precision)) throw postgresError(\"RUNTIME.TYPE_PARAMS_INVALID\", `renderOutputType: expected integer \"precision\" in typeParams for ${typeName}, got ${String(precision)}`, { meta: {\n\t\tnativeType: typeName,\n\t\tparam: \"precision\",\n\t\treceived: String(precision)\n\t} });\n\treturn `${typeName}<${precision}>`;\n}\nconst pgNumericDecode = (wire) => {\n\tif (typeof wire === \"number\") return String(wire);\n\treturn wire;\n};\nconst DECIMAL_INTEGER = /^-?\\d+$/;\n/**\n* Requires an application value to be of the JS type the codec reads.\n*\n* A range check reads a value of the wrong type as a value out of range, and\n* reports a number plainly inside the range as outside it — so the type is\n* established first and answered for on its own terms, naming what a caller\n* has to change.\n*/\nconst requireJsType = (codecId, expected, value) => {\n\tif (typeof value === expected) return;\n\tthrow postgresError(\"RUNTIME.ENCODE_FAILED\", `${codecId} value must be a ${expected}, got ${typeof value} ${String(value)}`, { meta: {\n\t\tcodecId,\n\t\treceived: typeof value\n\t} });\n};\n/** Writes a `bigint` application value as the decimal text the wire form of the exact integer codecs carries. */\nconst pgBigintEncode = (codecId, value) => {\n\trequireJsType(codecId, \"bigint\", value);\n\treturn value.toString();\n};\n/**\n* Writes an application value as the decimal text these codecs carry as their\n* canonical JSON.\n*\n* A schema-written literal default (`BigInt @default(0)`) arrives here as a\n* `number`, since a number literal is the only integer a schema language\n* writes, and one that is a safe integer names its value exactly. Past that\n* range the literal was rounded before any of this ran, so the value written is\n* not the value meant — which this refuses rather than minting an exact-looking\n* total from it. A non-integral number is refused on the same terms.\n*/\nconst pgBigintEncodeJson = (codecId, value) => {\n\tif (typeof value !== \"number\") return pgBigintEncode(codecId, value);\n\tif (!Number.isSafeInteger(value)) throw postgresError(\"RUNTIME.ENCODE_FAILED\", `${codecId} number literal must be an integer within the safe integer range, got ${String(value)}`, { meta: {\n\t\tcodecId,\n\t\treceived: String(value)\n\t} });\n\treturn BigInt(value).toString();\n};\n/**\n* Reads a wire or JSON value as a `bigint`, rejecting anything `BigInt()` would\n* misread. A number-typed wire value must also be a safe integer: past\n* ±(2^53 − 1) the driver's `number` has already rounded, so stringifying it\n* would mint a spuriously-exact `bigint` that need not equal the stored value.\n*/\nconst decimalIntegerDecode = (codecId, wire) => {\n\tif (typeof wire === \"bigint\") return wire;\n\tconst text = String(wire);\n\tif (!DECIMAL_INTEGER.test(text)) throw postgresError(\"RUNTIME.DECODE_FAILED\", `${codecId} value must be a decimal integer`, { meta: {\n\t\tcodecId,\n\t\treceived: text\n\t} });\n\tif (typeof wire === \"number\" && !Number.isSafeInteger(wire)) throw postgresError(\"RUNTIME.DECODE_FAILED\", `${codecId} wire number must be an integer within the safe integer range, got ${text}`, { meta: {\n\t\tcodecId,\n\t\treceived: text\n\t} });\n\treturn BigInt(text);\n};\n/** Reads an `int8` wire or JSON value as a `bigint`, rejecting anything `BigInt()` would misread. */\nconst pgInt8Decode = (wire) => decimalIntegerDecode(\"pg/int8@1\", wire);\n/**\n* Reads an unconstrained-`numeric` wire or JSON value as a `bigint`, rejecting\n* non-integral values — including `NaN` and the infinities, which are `numeric`\n* values but not integers.\n*/\nconst pgUnboundedIntDecode = (wire) => decimalIntegerDecode(\"pg/unboundedint@1\", wire);\nconst MIN_SAFE_INTEGER_BIGINT = BigInt(Number.MIN_SAFE_INTEGER);\nconst MAX_SAFE_INTEGER_BIGINT = BigInt(Number.MAX_SAFE_INTEGER);\n/**\n* Requires an integer within ±(2^53 − 1), the range a JS `number` holds\n* exactly. The guard throws rather than rounding: past the boundary a `number`\n* silently loses digits, which is the failure mode this codec exists to refuse.\n*/\nconst pgInt8NumberGuard = (code, value) => {\n\tif (!Number.isSafeInteger(value)) throw postgresError(code, `pg/int8number@1 value must be an integer within the safe integer range, got ${String(value)}`, { meta: {\n\t\tcodecId: \"pg/int8number@1\",\n\t\treceived: String(value)\n\t} });\n\treturn value;\n};\nconst pgInt8NumberEncodeJson = (value) => {\n\trequireJsType(\"pg/int8number@1\", \"number\", value);\n\treturn pgInt8NumberGuard(\"RUNTIME.ENCODE_FAILED\", value);\n};\nconst pgInt8NumberEncode = (value) => String(pgInt8NumberEncodeJson(value));\n/**\n* Reads an `int8` wire value as a `number`, throwing outside ±(2^53 − 1) and on\n* non-integral input. Decimal text goes through `BigInt` before the range check\n* so an out-of-range value is compared exactly rather than after rounding.\n*/\nconst pgInt8NumberDecode = (wire) => {\n\tif (typeof wire === \"number\") return pgInt8NumberGuard(\"RUNTIME.DECODE_FAILED\", wire);\n\tconst value = decimalIntegerDecode(\"pg/int8number@1\", wire);\n\tif (value < MIN_SAFE_INTEGER_BIGINT || value > MAX_SAFE_INTEGER_BIGINT) throw postgresError(\"RUNTIME.DECODE_FAILED\", `pg/int8number@1 value must be an integer within the safe integer range, got ${value}`, { meta: {\n\t\tcodecId: \"pg/int8number@1\",\n\t\treceived: value.toString()\n\t} });\n\treturn Number(value);\n};\nconst pgInt8NumberDecodeJson = (json) => {\n\tif (typeof json !== \"number\") throw postgresError(\"RUNTIME.DECODE_FAILED\", \"pg/int8number@1 database JSON value must be a number\", { meta: {\n\t\tcodecId: \"pg/int8number@1\",\n\t\treceived: typeof json\n\t} });\n\treturn pgInt8NumberGuard(\"RUNTIME.DECODE_FAILED\", json);\n};\n/**\n* Renders a decimal-text default as a `bigint` literal, for the codecs whose\n* canonical JSON is decimal text while the application type is `bigint`\n* (`pg/int8@1`, `pg/unboundedint@1`) — a plain string literal would not\n* typecheck against the emitted column type.\n*/\nconst decimalTextBigintLiteral = (value) => typeof value === \"string\" && DECIMAL_INTEGER.test(value) ? `${value}n` : void 0;\nconst pgNumericRenderOutputType = (typeParams) => {\n\tconst precision = typeParams.precision;\n\tif (precision === void 0) return void 0;\n\tif (typeof precision !== \"number\" || !Number.isFinite(precision) || !Number.isInteger(precision)) throw postgresError(\"RUNTIME.TYPE_PARAMS_INVALID\", `renderOutputType: expected integer \"precision\" in typeParams for Numeric, got ${String(precision)}`, { meta: {\n\t\tnativeType: \"Numeric\",\n\t\tparam: \"precision\",\n\t\treceived: String(precision)\n\t} });\n\tconst scale = typeParams.scale;\n\tif (scale === void 0) return `Numeric<${precision}>`;\n\tif (typeof scale !== \"number\" || !Number.isFinite(scale) || !Number.isInteger(scale)) throw postgresError(\"RUNTIME.TYPE_PARAMS_INVALID\", `renderOutputType: expected integer \"scale\" in typeParams for Numeric, got ${String(scale)}`, { meta: {\n\t\tnativeType: \"Numeric\",\n\t\tparam: \"scale\",\n\t\treceived: String(scale)\n\t} });\n\treturn `Numeric<${precision}, ${scale}>`;\n};\nconst ISO_DURATION = /^P(?!$)(-?\\d+Y)?(-?\\d+M)?(-?\\d+D)?(?:T(?!$)(-?\\d+H)?(-?\\d+M)?(-?\\d+(?:\\.\\d+)?S)?)?$/;\nconst MICROS_PER_SECOND = 1000000n;\n/**\n* Converts a fractional-seconds digit string to microseconds, rounding rather\n* than truncating past the sixth digit.\n*\n* PostgreSQL rounds: `INTERVAL '1.1234567 seconds'` is `1.123457`, and\n* `'1.9999999 seconds'` carries into `2`. Truncating here made the parsed value\n* disagree with the database for any input past microsecond resolution.\n*\n* Ties round toward positive infinity, matching `Math.round` on the sibling path\n* that reads the driver's component object — so the two agree. PostgreSQL's own\n* tie behaviour is unobservable, because it parses the literal into a double\n* first and an exact half never survives that.\n*/\nconst microsFromFraction = (fraction, negative) => {\n\tif (fraction === \"\") return 0n;\n\tconst kept = BigInt(fraction.slice(0, 6).padEnd(6, \"0\"));\n\tconst rest = fraction.slice(6).replace(/0+$/, \"\");\n\tif (rest === \"\") return kept;\n\tconst half = rest[0] === \"5\" && rest.length === 1;\n\treturn rest > \"5\" || half && !negative ? kept + 1n : kept;\n};\nconst intervalFieldsOf = (text) => {\n\tconst match = ISO_DURATION.exec(text);\n\tif (match === null) throw postgresError(\"RUNTIME.DECODE_FAILED\", `pg/interval@1 value must be an ISO-8601 duration, got ${text}`, { meta: {\n\t\tcodecId: \"pg/interval@1\",\n\t\treceived: text\n\t} });\n\tconst [, years, months, days, hours, minutes, seconds] = match;\n\tconst wholeNumber = (part) => part === void 0 ? 0 : Number(part.slice(0, -1));\n\tconst secondsLiteral = seconds === void 0 ? \"0\" : seconds.slice(0, -1);\n\tconst negative = secondsLiteral.startsWith(\"-\");\n\tconst [whole = \"0\", fraction = \"\"] = secondsLiteral.replace(\"-\", \"\").split(\".\");\n\tconst magnitude = BigInt(whole) * MICROS_PER_SECOND + microsFromFraction(fraction, negative);\n\treturn {\n\t\tmonths: wholeNumber(years) * 12 + wholeNumber(months),\n\t\tdays: wholeNumber(days),\n\t\tmicros: BigInt(wholeNumber(hours)) * 3600n * MICROS_PER_SECOND + BigInt(wholeNumber(minutes)) * 60n * MICROS_PER_SECOND + (negative ? -magnitude : magnitude)\n\t};\n};\nconst secondsText = (micros) => {\n\tconst sign = micros < 0n ? \"-\" : \"\";\n\tconst magnitude = micros < 0n ? -micros : micros;\n\tconst whole = magnitude / MICROS_PER_SECOND % 60n;\n\tconst fraction = magnitude % MICROS_PER_SECOND;\n\treturn `${sign}${whole}${fraction === 0n ? \"\" : `.${fraction.toString().padStart(6, \"0\").replace(/0+$/, \"\")}`}`;\n};\n/**\n* Renders {@link PgInterval} the way PostgreSQL spells an interval under\n* `IntervalStyle = 'iso_8601'`: zero components omitted, `T` present only when a\n* time component is, each component carrying its own sign, and an all-zero\n* interval written `PT0S`.\n*/\nconst formatIsoDuration = ({ months, days, micros }) => {\n\tconst years = Math.trunc(months / 12);\n\tconst restMonths = months % 12;\n\tconst sign = micros < 0n ? \"-\" : \"\";\n\tconst magnitude = micros < 0n ? -micros : micros;\n\tconst hours = magnitude / (3600n * MICROS_PER_SECOND);\n\tconst minutes = magnitude / (60n * MICROS_PER_SECOND) % 60n;\n\tconst hasSeconds = magnitude % (60n * MICROS_PER_SECOND) !== 0n;\n\tconst parts = [\n\t\tyears === 0 ? \"\" : `${years}Y`,\n\t\trestMonths === 0 ? \"\" : `${restMonths}M`,\n\t\tdays === 0 ? \"\" : `${days}D`\n\t];\n\tconst time = [\n\t\thours === 0n ? \"\" : `${sign}${hours}H`,\n\t\tminutes === 0n ? \"\" : `${sign}${minutes}M`,\n\t\thasSeconds ? `${secondsText(micros)}S` : \"\"\n\t].join(\"\");\n\tconst rendered = `P${parts.join(\"\")}${time === \"\" ? \"\" : `T${time}`}`;\n\treturn rendered === \"P\" ? \"PT0S\" : rendered;\n};\n/** Renders the application value as its canonical ISO-8601 duration. */\nconst pgIntervalToIso = (value) => formatIsoDuration(value);\nconst pgIntervalEncodeJson = (value) => formatIsoDuration(value);\nconst pgIntervalDecodeJson = (json) => {\n\tif (typeof json !== \"string\") throw postgresError(\"RUNTIME.DECODE_FAILED\", \"pg/interval@1 database JSON value must be an ISO-8601 duration string\", { meta: {\n\t\tcodecId: \"pg/interval@1\",\n\t\treceived: typeof json\n\t} });\n\treturn intervalFieldsOf(json);\n};\n/**\n* Reads the driver's wire value into the application value. `pg` parses an\n* interval into a component object, which is the same three fields under other\n* names; a text wire value is an ISO-8601 duration, because that is what the\n* codec writes.\n*/\nconst pgIntervalDecode = (wire) => {\n\tif (typeof wire === \"string\") return intervalFieldsOf(wire);\n\tconst part = (name) => {\n\t\tconst raw = wire[name];\n\t\treturn typeof raw === \"number\" ? raw : 0;\n\t};\n\tconst seconds = part(\"seconds\") + part(\"milliseconds\") / 1e3;\n\treturn {\n\t\tmonths: part(\"years\") * 12 + part(\"months\"),\n\t\tdays: part(\"days\"),\n\t\tmicros: BigInt(part(\"hours\")) * 3600n * MICROS_PER_SECOND + BigInt(part(\"minutes\")) * 60n * MICROS_PER_SECOND + BigInt(Math.round(seconds * 1e6))\n\t};\n};\nconst BASE64_TEXT = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/;\nconst pgByteaEncodeJson = (value) => Buffer.from(value).toString(\"base64\");\nconst pgByteaDecodeJson = (value) => {\n\tif (typeof value !== \"string\" || !BASE64_TEXT.test(value)) throw postgresError(\"RUNTIME.DECODE_FAILED\", \"pg/bytea@1 database JSON value must be a base64 string\", { meta: { codecId: \"pg/bytea@1\" } });\n\treturn new Uint8Array(Buffer.from(value, \"base64\"));\n};\nconst pgJsonEncode = (value) => JSON.stringify(value);\nconst pgJsonDecode = (wire) => typeof wire === \"string\" ? JSON.parse(wire) : wire;\nconst pgJsonbEncode = (value) => JSON.stringify(value);\nconst pgJsonbDecode = (wire) => typeof wire === \"string\" ? JSON.parse(wire) : wire;\n//#endregion\n//#region src/core/temporal-codec-helpers.ts\nconst PG_DATE_NATIVE_TYPE = \"date\";\nconst PG_TIMESTAMP_NATIVE_TYPE = \"timestamp without time zone\";\nconst PG_TIMESTAMPTZ_NATIVE_TYPE = \"timestamp with time zone\";\nconst PG_TIME_NATIVE_TYPE = \"time\";\nconst POSTGRES_TEMPORAL_SENTINELS = /* @__PURE__ */ new Set([\"infinity\", \"-infinity\"]);\nconst EXPANDED_YEAR_DIGITS = 6;\nconst ORDINARY_YEAR_DIGITS = 4;\nconst BC_SUFFIX = \" BC\";\nfunction adaptPostgresEra(text) {\n\tconst isBc = text.endsWith(BC_SUFFIX);\n\tconst body = isBc ? text.slice(0, -3) : text;\n\tconst yearEnd = body.indexOf(\"-\");\n\tif (yearEnd <= 0) return text;\n\tconst yearText = body.slice(0, yearEnd);\n\tif (!isBc && yearText.length <= ORDINARY_YEAR_DIGITS) return text;\n\tconst year = Number(yearText);\n\tif (!Number.isInteger(year)) return text;\n\tconst proleptic = isBc ? 1 - year : year;\n\treturn `${proleptic < 0 ? \"-\" : \"+\"}${String(Math.abs(proleptic)).padStart(EXPANDED_YEAR_DIGITS, \"0\")}${body.slice(yearEnd)}`;\n}\nfunction requireTemporal(codecId, operation) {\n\tif (typeof Temporal === \"undefined\") throw errorTemporalUnavailable(codecId, operation);\n}\nfunction decodeTemporalText(identity, wire, parse, adapt) {\n\trequireTemporal(identity.codecId, \"decode\");\n\tif (POSTGRES_TEMPORAL_SENTINELS.has(wire)) throw errorTemporalUnrepresentable({\n\t\t...identity,\n\t\toperation: \"decode\",\n\t\tvalue: wire,\n\t\tdetail: `PostgreSQL's ${wire} is a sentinel with no position on the timeline, so no Temporal value denotes it`\n\t});\n\ttry {\n\t\treturn parse(adapt(wire));\n\t} catch (cause) {\n\t\tthrow errorTemporalUnrepresentable({\n\t\t\t...identity,\n\t\t\toperation: \"decode\",\n\t\t\tvalue: wire,\n\t\t\tdetail: cause instanceof Error ? cause.message : String(cause),\n\t\t\tcause\n\t\t});\n\t}\n}\nfunction encodeTemporalValue(identity, value) {\n\trequireTemporal(identity.codecId, \"encode\");\n\tconst tag = typeof value === \"object\" && value !== null ? Reflect.get(value, Symbol.toStringTag) : void 0;\n\tif (tag !== identity.temporalTag) throw errorTemporalWrongType(identity.codecId, identity.temporalTag, identity.stringType, describeEncodeInput(value, tag));\n\tif (value.calendarId !== void 0 && value.calendarId !== \"iso8601\") throw errorTemporalNonIsoCalendar(identity.codecId, value.calendarId);\n\treturn value.toString();\n}\nfunction describeEncodeInput(value, tag) {\n\tif (typeof tag === \"string\") return `a ${tag}`;\n\tif (value instanceof Date) return \"a Date\";\n\tif (value === null) return \"null\";\n\treturn `a ${typeof value}`;\n}\nconst DATE_TEMPORAL = {\n\tcodecId: PG_DATE_TEMPORAL_CODEC_ID,\n\tstringType: \"DateString\",\n\ttemporalTag: \"Temporal.PlainDate\"\n};\nconst TIMESTAMP_TEMPORAL = {\n\tcodecId: PG_TIMESTAMP_TEMPORAL_CODEC_ID,\n\tstringType: \"TimestampString(p)\",\n\ttemporalTag: \"Temporal.PlainDateTime\"\n};\nconst TIMESTAMPTZ_TEMPORAL = {\n\tcodecId: PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID,\n\tstringType: \"TimestamptzString(p)\",\n\ttemporalTag: \"Temporal.Instant\"\n};\nconst TIME_TEMPORAL = {\n\tcodecId: PG_TIME_TEMPORAL_CODEC_ID,\n\tstringType: \"TimeString(p)\",\n\ttemporalTag: \"Temporal.PlainTime\"\n};\nconst unadapted = (text) => text;\nconst pgDateTemporalDecode = (wire) => decodeTemporalText(DATE_TEMPORAL, wire, (t) => Temporal.PlainDate.from(t), adaptPostgresEra);\nconst pgDateTemporalEncode = (value) => encodeTemporalValue(DATE_TEMPORAL, value);\nconst pgTimestampTemporalDecode = (wire) => decodeTemporalText(TIMESTAMP_TEMPORAL, wire, (t) => Temporal.PlainDateTime.from(t), adaptPostgresEra);\nconst pgTimestampTemporalEncode = (value) => encodeTemporalValue(TIMESTAMP_TEMPORAL, value);\nconst pgTimestamptzTemporalDecode = (wire) => decodeTemporalText(TIMESTAMPTZ_TEMPORAL, wire, (t) => Temporal.Instant.from(t), adaptPostgresEra);\nconst pgTimestamptzTemporalEncode = (value) => encodeTemporalValue(TIMESTAMPTZ_TEMPORAL, value);\nconst pgTimeTemporalDecode = (wire) => decodeTemporalText(TIME_TEMPORAL, wire, (t) => Temporal.PlainTime.from(t), unadapted);\nconst pgTimeTemporalEncode = (value) => encodeTemporalValue(TIME_TEMPORAL, value);\n//#endregion\n//#region src/core/date-codecs.ts\nconst TIMESTAMPTZ_TEXT = /^(\\d{4,6})-(\\d{2})-(\\d{2})[ T](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d{1,6}))?(?:Z|([+-])(\\d{2})(?::?(\\d{2}))?(?::?(\\d{2}))?)( BC)?$/;\nconst MIN_TIMESTAMPTZ_MILLISECONDS = (/* @__PURE__ */ new Date(\"-004713-11-24T00:00:00.000Z\")).getTime();\nfunction invalidDate() {\n\treturn /* @__PURE__ */ new RangeError(`${PG_TIMESTAMPTZ_DATE_CODEC_ID} requires a valid Date or a representable ISO PostgreSQL timestamp with time zone; use TimestamptzString for unsupported values`);\n}\nfunction validateDate(value) {\n\tif (!(value instanceof Date) || !Number.isFinite(value.getTime()) || value.getTime() < MIN_TIMESTAMPTZ_MILLISECONDS) throw invalidDate();\n\treturn value;\n}\nfunction decodeDate(wire) {\n\tconst match = typeof wire === \"string\" ? TIMESTAMPTZ_TEXT.exec(wire) : null;\n\tif (!match) throw invalidDate();\n\tconst [, yearText, monthText, dayText, hourText, minuteText, secondText, fraction = \"\", sign, offsetHour = \"0\", offsetMinute = \"0\", offsetSecond = \"0\", era] = match;\n\tconst year = era ? 1 - Number(yearText) : Number(yearText);\n\tconst month = Number(monthText) - 1;\n\tconst day = Number(dayText);\n\tconst hour = Number(hourText);\n\tconst minute = Number(minuteText);\n\tconst second = Number(secondText);\n\tconst milliseconds = Number(fraction.slice(0, 3).padEnd(3, \"0\"));\n\tconst cycles = Math.floor((year - 2e3) / 400);\n\tconst safeYear = year - cycles * 400;\n\tconst local = /* @__PURE__ */ new Date(0);\n\tlocal.setUTCFullYear(safeYear, month, day);\n\tlocal.setUTCHours(hour, minute, second, milliseconds);\n\tif (Number(yearText) === 0 || local.getUTCFullYear() !== safeYear || local.getUTCMonth() !== month || local.getUTCDate() !== day || local.getUTCHours() !== hour || local.getUTCMinutes() !== minute || local.getUTCSeconds() !== second || Number(offsetHour) > 15 || Number(offsetMinute) > 59 || Number(offsetSecond) > 59) throw invalidDate();\n\tconst offset = (Number(offsetHour) * 3600 + Number(offsetMinute) * 60 + Number(offsetSecond)) * (sign === \"-\" ? -1 : 1);\n\treturn validateDate(/* @__PURE__ */ new Date(local.getTime() - offset * 1e3 + cycles * 146097 * 864e5));\n}\nfunction encodeDate(value) {\n\tvalidateDate(value);\n\tconst iso = value.toISOString();\n\tconst year = value.getUTCFullYear();\n\tif (year > 0 && year < 1e4) return iso;\n\tconst dateAndTime = iso.slice(year === 0 ? 4 : 7);\n\treturn `${String(year <= 0 ? 1 - year : year).padStart(4, \"0\")}${dateAndTime}${year <= 0 ? \" BC\" : \"\"}`;\n}\nvar PgTimestamptzDateCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn encodeDate(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn decodeDate(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn encodeDate(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn decodeDate(json);\n\t}\n};\nvar PgTimestamptzDateDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TIMESTAMPTZ_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_TIMESTAMPTZ_DATE_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [];\n\tparamsSchema = precisionParamsSchema;\n\trenderOutputType(_params) {\n\t\treturn \"Date\";\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgTimestamptzDateCodec(this);\n\t}\n};\nconst pgTimestamptzDateDescriptor = new PgTimestamptzDateDescriptor();\nconst pgTimestamptzDateColumn = (params = {}) => column(pgTimestamptzDateDescriptor.factory(params), pgTimestamptzDateDescriptor.codecId, params, \"timestamptz\");\n//#endregion\n//#region src/core/temporal-codecs.ts\nvar PgDateTemporalCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgDateTemporalEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgDateTemporalDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn pgDateTemporalEncode(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn pgDateTemporalDecode(blindCast(json));\n\t}\n};\nvar PgDateTemporalDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_DATE_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_DATE_TEMPORAL_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"date\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new PgDateTemporalCodec(this);\n\t}\n};\nconst pgDateTemporalDescriptor = new PgDateTemporalDescriptor();\nvar PgTimestampTemporalCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgTimestampTemporalEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgTimestampTemporalDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn pgTimestampTemporalEncode(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn pgTimestampTemporalDecode(blindCast(json));\n\t}\n};\nvar PgTimestampTemporalDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TIMESTAMP_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_TIMESTAMP_TEMPORAL_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"timestamp\"];\n\tparamsSchema = precisionParamsSchema;\n\tfactory(_params) {\n\t\treturn () => new PgTimestampTemporalCodec(this);\n\t}\n};\nconst pgTimestampTemporalDescriptor = new PgTimestampTemporalDescriptor();\nvar PgTimestamptzTemporalCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgTimestamptzTemporalEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgTimestamptzTemporalDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn pgTimestamptzTemporalEncode(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn pgTimestamptzTemporalDecode(blindCast(json));\n\t}\n};\nvar PgTimestamptzTemporalDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TIMESTAMPTZ_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"timestamptz\"];\n\tparamsSchema = precisionParamsSchema;\n\tfactory(_params) {\n\t\treturn () => new PgTimestamptzTemporalCodec(this);\n\t}\n};\nconst pgTimestamptzTemporalDescriptor = new PgTimestamptzTemporalDescriptor();\nvar PgTimeTemporalCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgTimeTemporalEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgTimeTemporalDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn pgTimeTemporalEncode(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn pgTimeTemporalDecode(blindCast(json));\n\t}\n};\nvar PgTimeTemporalDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TIME_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_TIME_TEMPORAL_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"time\"];\n\tparamsSchema = precisionParamsSchema;\n\tfactory(_params) {\n\t\treturn () => new PgTimeTemporalCodec(this);\n\t}\n};\nconst pgTimeTemporalDescriptor = new PgTimeTemporalDescriptor();\n//#endregion\n//#region src/core/temporal-string-codecs.ts\nvar PgDateStringCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgDateStringDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_DATE_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_DATE_STRING_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new PgDateStringCodec(this);\n\t}\n};\nconst pgDateStringDescriptor = new PgDateStringDescriptor();\nvar PgTimestampStringCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgTimestampStringDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TIMESTAMP_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_TIMESTAMP_STRING_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [];\n\tparamsSchema = precisionParamsSchema;\n\trenderOutputType(params) {\n\t\treturn renderPrecision(\"TimestampString\", params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgTimestampStringCodec(this);\n\t}\n};\nconst pgTimestampStringDescriptor = new PgTimestampStringDescriptor();\nvar PgTimestamptzStringCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgTimestamptzStringDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TIMESTAMPTZ_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_TIMESTAMPTZ_STRING_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [];\n\tparamsSchema = precisionParamsSchema;\n\trenderOutputType(params) {\n\t\treturn renderPrecision(\"TimestamptzString\", params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgTimestamptzStringCodec(this);\n\t}\n};\nconst pgTimestamptzStringDescriptor = new PgTimestamptzStringDescriptor();\nvar PgTimeStringCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgTimeStringDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TIME_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn CastExpr.as(expression, \"text\");\n\t}\n\tcodecId = PG_TIME_STRING_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [];\n\tparamsSchema = precisionParamsSchema;\n\trenderOutputType(params) {\n\t\treturn renderPrecision(\"TimeString\", params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgTimeStringCodec(this);\n\t}\n};\nconst pgTimeStringDescriptor = new PgTimeStringDescriptor();\n//#endregion\n//#region src/core/codecs.ts\nconst lengthParamsSchema = type({ \"length?\": \"number.integer > 0\" });\nconst numericParamsSchema = type({\n\t\"precision?\": \"number.integer > 0 & number.integer <= 1000\",\n\t\"scale?\": \"number.integer >= 0\"\n});\nconst PG_TEXT_NATIVE_TYPE = \"text\";\nconst PG_TEXT_ARRAY_NATIVE_TYPE = \"text[]\";\nconst PG_INT4_NATIVE_TYPE = \"integer\";\nconst PG_INT2_NATIVE_TYPE = \"smallint\";\nconst PG_INT8_NATIVE_TYPE = \"bigint\";\nconst PG_FLOAT4_NATIVE_TYPE = \"real\";\nconst PG_FLOAT8_NATIVE_TYPE = \"double precision\";\nconst PG_NUMERIC_NATIVE_TYPE = \"numeric\";\nconst PG_TIMETZ_NATIVE_TYPE = \"timetz\";\nconst PG_BOOL_NATIVE_TYPE = \"boolean\";\nconst PG_BIT_NATIVE_TYPE = \"bit\";\nconst PG_VARBIT_NATIVE_TYPE = \"bit varying\";\nconst PG_BYTEA_NATIVE_TYPE = \"bytea\";\nconst PG_INTERVAL_NATIVE_TYPE = \"interval\";\nconst PG_JSON_NATIVE_TYPE = \"json\";\nconst PG_JSONB_NATIVE_TYPE = \"jsonb\";\n/**\n* Projects the expression unchanged, for codecs whose canonical JSON is what\n* PostgreSQL's own JSON conversion already produces.\n*\n* Identity here is a claim about the target's behaviour, not an absence of one:\n* the codec's conformance cases are what test it, including at the boundaries\n* of the representation — escaping, sign, and range — where a native conversion\n* would be most likely to diverge.\n*/\n/**\n* Whether a string is numeric text in the form PostgreSQL *prints*, which is\n* narrower than the form it accepts.\n*\n* `numeric` reads `+123`, `.5`, `1.`, `1e5`, `0x1f`, `1_000` and whitespace-padded\n* input, but prints every one of them in a single normalised form — `123`,\n* `0.5`, `1`, `100000`, `31`, `1000`, `12`. The projection reads the column back\n* through that printing, so accepting an input spelling here would produce an\n* application value the projection can never return: `encodeJson('1e5')` would\n* claim `1e5` where the database yields `100000`.\n*\n* `NaN`, `Infinity` and `-Infinity` are genuine `numeric` values, not error\n* states, and PostgreSQL emits them into JSON as strings — so they belong to the\n* canonical form and round-trip like any other value.\n*/\nconst CANONICAL_NUMERIC_TEXT = /^(?:-?\\d+(?:\\.\\d+)?|NaN|-?Infinity)$/;\nconst isCanonicalNumericText = (value) => CANONICAL_NUMERIC_TEXT.test(value);\nconst identityJsonProjection = (expression) => expression;\n/**\n* Projects a numeric-valued expression as decimal text.\n*\n* The cast is part of the projected expression, which is what makes it correct:\n* whatever `jsonProjection` returns is the argument the JSON constructor\n* receives, so casting here happens *before* PostgreSQL builds the JSON value.\n* Handed a `numeric` or `int8` directly, the constructor emits a JSON **number**,\n* and every digit past IEEE-754's 53 bits of significand is gone by the time the\n* driver has parsed it — before any codec can intervene. A cast applied to the\n* constructor's result instead of its argument would be too late to matter.\n*/\nconst decimalTextJsonProjection = (expression) => CastExpr.as(expression, \"text\");\n/**\n* Projects a `bytea` as base64 text.\n*\n* Like the decimal-text cast, the encoding is part of the projected expression:\n* PostgreSQL's own JSON conversion of a `bytea` emits its `\\x`-prefixed hex\n* output form, so the base64 encoding has to replace that conversion rather\n* than post-process it.\n*\n* `encode` emits RFC 2045 base64, which carries a line break every 76\n* characters — so any value over 56 bytes arrives wrapped. The breaks are\n* removed here, because the canonical form is unwrapped base64 and\n* `decodeJson` rejects anything else. `chr(10)` rather than a newline literal\n* keeps the rendered SQL on one line.\n*/\nconst base64JsonProjection = (expression) => FunctionCallExpr.of(\"translate\", [\n\tFunctionCallExpr.of(\"encode\", [expression, LiteralExpr.of(\"base64\")]),\n\tFunctionCallExpr.of(\"chr\", [LiteralExpr.of(10)]),\n\tLiteralExpr.of(\"\")\n]);\nconst datePart = (field, expression) => FunctionCallExpr.of(\"date_part\", [LiteralExpr.of(field), expression]);\nconst whenNonZero = (value, rendered) => CaseExpr.of([{\n\tcondition: BinaryExpr.neq(value, LiteralExpr.of(0)),\n\tvalue: rendered\n}], LiteralExpr.of(null));\n/**\n* Projects an `interval` as an ISO-8601 duration.\n*\n* An interval carries months, days and microseconds independently — `P1M` and\n* `P30D` are different intervals — so the projection reads each field with\n* `date_part` and assembles them rather than reducing the value to an epoch,\n* which would have to choose a length for a month. `IntervalStyle` decides how\n* PostgreSQL spells an interval and cannot be bound per expression, so the\n* spelling is constructed here instead of inherited.\n*\n* `concat` drops NULL arguments, so a zero component is omitted by rendering as\n* NULL; the seconds field is taken through `numeric` because a `double\n* precision` microsecond renders in scientific notation.\n*\n* That same NULL-dropping is why the whole assembly sits under an explicit NULL\n* check: for a NULL interval every field is NULL, `concat` yields `'P'`, and the\n* zero-duration fallback below would report an absent value as a zero one.\n*/\nconst isoDurationJsonProjection = (expression) => {\n\tconst field = (name) => datePart(name, expression);\n\tconst seconds = CastExpr.as(field(\"second\"), \"numeric\");\n\tconst assembled = FunctionCallExpr.of(\"concat\", [\n\t\tLiteralExpr.of(\"P\"),\n\t\twhenNonZero(field(\"year\"), FunctionCallExpr.of(\"concat\", [field(\"year\"), LiteralExpr.of(\"Y\")])),\n\t\twhenNonZero(field(\"month\"), FunctionCallExpr.of(\"concat\", [field(\"month\"), LiteralExpr.of(\"M\")])),\n\t\twhenNonZero(field(\"day\"), FunctionCallExpr.of(\"concat\", [field(\"day\"), LiteralExpr.of(\"D\")])),\n\t\tCaseExpr.of([{\n\t\t\tcondition: OrExpr.of([\n\t\t\t\tBinaryExpr.neq(field(\"hour\"), LiteralExpr.of(0)),\n\t\t\t\tBinaryExpr.neq(field(\"minute\"), LiteralExpr.of(0)),\n\t\t\t\tBinaryExpr.neq(field(\"second\"), LiteralExpr.of(0))\n\t\t\t]),\n\t\t\tvalue: LiteralExpr.of(\"T\")\n\t\t}], LiteralExpr.of(null)),\n\t\twhenNonZero(field(\"hour\"), FunctionCallExpr.of(\"concat\", [field(\"hour\"), LiteralExpr.of(\"H\")])),\n\t\twhenNonZero(field(\"minute\"), FunctionCallExpr.of(\"concat\", [field(\"minute\"), LiteralExpr.of(\"M\")])),\n\t\twhenNonZero(field(\"second\"), FunctionCallExpr.of(\"concat\", [seconds, LiteralExpr.of(\"S\")]))\n\t]);\n\treturn CaseExpr.of([{\n\t\tcondition: NullCheckExpr.isNull(expression),\n\t\tvalue: LiteralExpr.of(null)\n\t}], FunctionCallExpr.of(\"coalesce\", [FunctionCallExpr.of(\"nullif\", [assembled, LiteralExpr.of(\"P\")]), LiteralExpr.of(\"PT0S\")]));\n};\nconst postgresSqlCharDescriptor = postgresCodec(sqlCharDescriptor, {\n\tnativeType: () => \"character\",\n\tjsonProjection: identityJsonProjection\n});\nconst postgresSqlVarcharDescriptor = postgresCodec(sqlVarcharDescriptor, {\n\tnativeType: () => \"character varying\",\n\tjsonProjection: identityJsonProjection\n});\nconst postgresSqlIntDescriptor = postgresCodec(sqlIntDescriptor, {\n\tnativeType: () => \"int4\",\n\tjsonProjection: identityJsonProjection\n});\nconst postgresSqlFloatDescriptor = postgresCodec(sqlFloatDescriptor, {\n\tnativeType: () => \"float8\",\n\tjsonProjection: identityJsonProjection\n});\nconst postgresSqlTextDescriptor = postgresCodec(sqlTextDescriptor, {\n\tnativeType: () => \"text\",\n\tjsonProjection: identityJsonProjection\n});\nvar PgTextCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgTextDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TEXT_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_TEXT_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"textual\"\n\t];\n\ttargetTypes = [\"text\"];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgTextCodec(this);\n\t}\n};\nconst pgTextDescriptor = new PgTextDescriptor();\nconst pgTextColumn = () => column(pgTextDescriptor.factory(), pgTextDescriptor.codecId, void 0, \"text\");\n/**\n* Codec for a `pg.enum(Ref)` column bound to a native Postgres enum type.\n* Text passthrough, identical to `pg/text@1` — encode/decode do not carry the\n* enum's member values; membership is enforced by the native type itself, not\n* by this codec. `renderValueLiteral` renders a member value as its TS\n* literal, which is what drives the column's typed value-union (via\n* `renderValueSetType` reading the column's `valueSet` ref) — the codec\n* itself carries no params of its own; typing comes entirely from the\n* column's value-set, not from `pg/enum@1`.\n*\n* A distinct codec id (rather than reusing `pg/text@1` on a plain text\n* column) keeps native-enum columns independently identifiable — from a\n* column's `codecId` alone, without also inspecting `nativeType` — which\n* the managed (DDL) phase needs to target `CREATE TYPE`/`ALTER TYPE`\n* operations at exactly the columns that use one.\n*/\nvar PgEnumCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\n/**\n* Narrows codec `typeParams` to {@link PgEnumParams} — the shape that binds a\n* column to a named database type (a native enum's `CREATE TYPE` name).\n*/\nfunction isPgEnumParams(value) {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value) && \"typeName\" in value && typeof value.typeName === \"string\";\n}\nconst pgEnumParamsSchema = type({ typeName: \"string\" });\nvar PgEnumDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType(params) {\n\t\treturn params.typeName;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_ENUM_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"textual\"\n\t];\n\ttargetTypes = [\"text\"];\n\tparamsSchema = pgEnumParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgEnumCodec(this);\n\t}\n\t/**\n\t* Authoring-time hook a `pg.enum(<ref>)` type constructor calls once it has\n\t* resolved its ref argument to the referenced `native_enum` entity:\n\t* produces this codec's per-column `typeParams` and native type from the\n\t* entity's bare type name. Schema-qualification (`auth.aal_level` for a\n\t* named non-default schema) is not this hook's concern — the field's\n\t* namespace isn't known at this call site for every authoring path (the TS\n\t* builder resolves a column before it knows its model's namespace), so it is\n\t* applied later, at contract construction, by {@link qualifyNativeType} via\n\t* the target's `authoring.qualifyColumnType` hook. `nativeType` mirrors\n\t* `typeParams.typeName` — the same value `nativeTypeFor` derives at render\n\t* time — so the column's declared native type and the render-time cast\n\t* agree. Returns `undefined` if `entity` is not a `PostgresNativeEnum` (a\n\t* contributor bug, not a user-schema error — the caller decides how to\n\t* report it).\n\t*/\n\tcolumnFromEntity(entity) {\n\t\tif (!PostgresNativeEnum.is(entity)) return void 0;\n\t\treturn {\n\t\t\ttypeParams: { typeName: entity.typeName },\n\t\t\tnativeType: entity.typeName\n\t\t};\n\t}\n\t/**\n\t* Schema-qualifies this native enum type's name for the namespace the\n\t* consuming column lives in: `${namespaceId}.${typeName}` for a named\n\t* non-default schema, bare for the target's default schema (`public`) or\n\t* the late-bound unbound sentinel (whose schema `search_path` resolves at\n\t* runtime). Postgres's `format_type()` reports the bare name for a\n\t* public-schema type, so a public column's declared native type must stay\n\t* bare to match. Owned here because the codec owns its native type.\n\t*/\n\tqualifyNativeType(typeName, namespaceId) {\n\t\treturn namespaceId === \"public\" || namespaceId === UNBOUND_NAMESPACE_ID ? typeName : `${namespaceId}.${typeName}`;\n\t}\n};\nconst pgEnumDescriptor = new PgEnumDescriptor();\n/**\n* Contract-construction-time column-type qualifier the Postgres target\n* contributes through `authoring.qualifyColumnType`.\n* `buildSqlContractFromDefinition` calls this for every column as it is\n* constructed, passing the column's bare type info and its owning\n* `namespaceId`; a native-enum column (`pg/enum@1`) gets its type name\n* schema-qualified for that namespace (via\n* {@link PgEnumDescriptor.qualifyNativeType}), keeping `nativeType` and\n* `typeParams.typeName` in sync. Every other codec passes through unchanged.\n* Both the PSL `pg.enum(Ref)` path and the TS `pg.enum(handle)` path route\n* through here — the dispatch keys off the codec id, not authoring surface.\n*/\nfunction postgresQualifyColumnType(input, namespaceId) {\n\tif (input.codecId !== \"pg/enum@1\") return input;\n\tconst bareTypeName = input.typeParams?.[\"typeName\"];\n\tif (typeof bareTypeName !== \"string\") return input;\n\tconst qualified = pgEnumDescriptor.qualifyNativeType(bareTypeName, namespaceId);\n\treturn {\n\t\tnativeType: qualified,\n\t\ttypeParams: {\n\t\t\t...input.typeParams,\n\t\t\ttypeName: qualified\n\t\t}\n\t};\n}\n/**\n* Postgres `text[]` codec. Encode is an identity pass-through: the pg wire\n* driver serialises a JS `string[]` to a Postgres array literal under the\n* `$N::text[]` cast the renderer emits from this codec's `text[]` native type,\n* and decode reads it back as a JS array. Used by the control plane to write\n* the marker's `invariants` column. Not a user-facing scalar — it is not part\n* of the authorable `CodecTypes` surface, only the runtime codec registry.\n*/\nvar PgTextArrayCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn [...value];\n\t}\n\tdecodeJson(json) {\n\t\treturn Array.isArray(json) ? json.map((entry) => String(entry)) : [];\n\t}\n};\nvar PgTextArrayDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TEXT_ARRAY_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_TEXT_ARRAY_CODEC_ID;\n\ttraits = [\"equality\"];\n\ttargetTypes = [\"text[]\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new PgTextArrayCodec(this);\n\t}\n};\nconst pgTextArrayDescriptor = new PgTextArrayDescriptor();\nvar PgInt4Codec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgInt4Descriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_INT4_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_INT4_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [\"int4\"];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgInt4Codec(this);\n\t}\n};\nconst pgInt4Descriptor = new PgInt4Descriptor();\nconst pgInt4Column = () => column(pgInt4Descriptor.factory(), pgInt4Descriptor.codecId, void 0, \"int4\");\nvar PgInt2Codec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgInt2Descriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_INT2_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_INT2_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [\"int2\"];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgInt2Codec(this);\n\t}\n};\nconst pgInt2Descriptor = new PgInt2Descriptor();\nconst pgInt2Column = () => column(pgInt2Descriptor.factory(), pgInt2Descriptor.codecId, void 0, \"int2\");\n/**\n* A Postgres `int8` spans the full signed 64-bit range, which a JS `number`\n* cannot hold past 2^53. Application values are `bigint` and the canonical JSON\n* is decimal text; the wire form is the decimal string `pg` reads and writes for\n* this type.\n*/\nvar PgInt8Codec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgBigintEncode(PG_INT8_CODEC_ID, value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgInt8Decode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn pgBigintEncodeJson(PG_INT8_CODEC_ID, value);\n\t}\n\tdecodeJson(json) {\n\t\tif (typeof json !== \"string\") throw postgresError(\"RUNTIME.DECODE_FAILED\", \"pg/int8@1 database JSON value must be a decimal string\", { meta: {\n\t\t\tcodecId: PG_INT8_CODEC_ID,\n\t\t\treceived: typeof json\n\t\t} });\n\t\treturn pgInt8Decode(json);\n\t}\n};\nvar PgInt8Descriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_INT8_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn decimalTextJsonProjection(expression);\n\t}\n\tcodecId = PG_INT8_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [\"int8\"];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn decimalTextBigintLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgInt8Codec(this);\n\t}\n};\nconst pgInt8Descriptor = new PgInt8Descriptor();\nconst pgInt8Column = () => column(pgInt8Descriptor.factory(), pgInt8Descriptor.codecId, void 0, \"int8\");\n/**\n* A Postgres `int8` decoded as a JS `number`, for columns whose values stay\n* within the safe integer range ±(2^53 − 1). Both directions guard rather than\n* round: decode (wire and JSON) and encode throw a structured error on\n* out-of-range or non-integral input. The canonical JSON is a JSON number —\n* the deliberate exception to the decimal-text rule for 64-bit integers, and\n* the codec's purpose. The descriptor claims no target type, so `int8` in type\n* position stays `pg/int8@1`.\n*/\nvar PgInt8NumberCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgInt8NumberEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgInt8NumberDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn pgInt8NumberEncodeJson(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn pgInt8NumberDecodeJson(json);\n\t}\n};\nvar PgInt8NumberDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_INT8_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_INT8_NUMBER_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgInt8NumberCodec(this);\n\t}\n};\nconst pgInt8NumberDescriptor = new PgInt8NumberDescriptor();\nconst pgInt8NumberColumn = () => column(pgInt8NumberDescriptor.factory(), pgInt8NumberDescriptor.codecId, void 0, \"int8\");\nvar PgFloat4Codec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgFloat4Descriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_FLOAT4_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_FLOAT4_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [\"float4\"];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgFloat4Codec(this);\n\t}\n};\nconst pgFloat4Descriptor = new PgFloat4Descriptor();\nconst pgFloat4Column = () => column(pgFloat4Descriptor.factory(), pgFloat4Descriptor.codecId, void 0, \"float4\");\nvar PgFloat8Codec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgFloat8Descriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_FLOAT8_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_FLOAT8_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [\"float8\"];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgFloat8Codec(this);\n\t}\n};\nconst pgFloat8Descriptor = new PgFloat8Descriptor();\nconst pgFloat8Column = () => column(pgFloat8Descriptor.factory(), pgFloat8Descriptor.codecId, void 0, \"float8\");\nvar PgBoolCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgBoolDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_BOOL_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_BOOL_CODEC_ID;\n\ttraits = [\"equality\", \"boolean\"];\n\ttargetTypes = [\"bool\"];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgBoolCodec(this);\n\t}\n};\nconst pgBoolDescriptor = new PgBoolDescriptor();\nconst pgBoolColumn = () => column(pgBoolDescriptor.factory(), pgBoolDescriptor.codecId, void 0, \"bool\");\nvar PgNumericCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgNumericDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\tif (!isCanonicalNumericText(value)) throw postgresError(\"RUNTIME.ENCODE_FAILED\", \"pg/numeric@1 application value must be canonical numeric text: an optionally negated decimal numeral, or NaN, Infinity or -Infinity\", { meta: {\n\t\t\tcodecId: PG_NUMERIC_CODEC_ID,\n\t\t\treceived: value\n\t\t} });\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\tif (typeof json !== \"string\") throw postgresError(\"RUNTIME.DECODE_FAILED\", \"pg/numeric@1 database JSON value must be a decimal string\", { meta: {\n\t\t\tcodecId: PG_NUMERIC_CODEC_ID,\n\t\t\treceived: typeof json\n\t\t} });\n\t\treturn json;\n\t}\n};\nvar PgNumericDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_NUMERIC_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn decimalTextJsonProjection(expression);\n\t}\n\tcodecId = PG_NUMERIC_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [\"numeric\", \"decimal\"];\n\tparamsSchema = numericParamsSchema;\n\trenderOutputType(params) {\n\t\treturn pgNumericRenderOutputType(params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgNumericCodec(this);\n\t}\n};\nconst pgNumericDescriptor = new PgNumericDescriptor();\nconst pgNumericColumn = (params = {}) => column(pgNumericDescriptor.factory(params), pgNumericDescriptor.codecId, params, \"numeric\");\n/**\n* A genuinely unbounded integer over unconstrained Postgres `numeric` storage.\n* Application values are `bigint` and the canonical JSON is decimal text, like\n* `pg/int8@1`; decode rejects non-integral values. The descriptor claims no\n* target type, so `numeric` and `decimal` in type position stay `pg/numeric@1`.\n*/\nvar PgUnboundedIntCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgBigintEncode(PG_UNBOUNDED_INT_CODEC_ID, value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgUnboundedIntDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn pgBigintEncodeJson(PG_UNBOUNDED_INT_CODEC_ID, value);\n\t}\n\tdecodeJson(json) {\n\t\tif (typeof json !== \"string\") throw postgresError(\"RUNTIME.DECODE_FAILED\", \"pg/unboundedint@1 database JSON value must be a decimal string\", { meta: {\n\t\t\tcodecId: PG_UNBOUNDED_INT_CODEC_ID,\n\t\t\treceived: typeof json\n\t\t} });\n\t\treturn pgUnboundedIntDecode(json);\n\t}\n};\nvar PgUnboundedIntDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_NUMERIC_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn decimalTextJsonProjection(expression);\n\t}\n\tcodecId = PG_UNBOUNDED_INT_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [];\n\tparamsSchema = voidParamsSchema;\n\trenderValueLiteral(value) {\n\t\treturn decimalTextBigintLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new PgUnboundedIntCodec(this);\n\t}\n};\nconst pgUnboundedIntDescriptor = new PgUnboundedIntDescriptor();\nconst pgUnboundedIntColumn = () => column(pgUnboundedIntDescriptor.factory(), pgUnboundedIntDescriptor.codecId, void 0, \"numeric\");\nvar PgTimetzCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgTimetzDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_TIMETZ_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_TIMETZ_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"timetz\"];\n\tparamsSchema = precisionParamsSchema;\n\trenderOutputType(params) {\n\t\treturn renderPrecision(\"Timetz\", params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgTimetzCodec(this);\n\t}\n};\nconst pgTimetzDescriptor = new PgTimetzDescriptor();\nconst pgTimetzColumn = (params = {}) => column(pgTimetzDescriptor.factory(params), pgTimetzDescriptor.codecId, params, \"timetz\");\nvar PgBitCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgBitDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_BIT_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_BIT_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"bit\"];\n\tparamsSchema = lengthParamsSchema;\n\trenderOutputType(params) {\n\t\treturn renderLength(\"Bit\", params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgBitCodec(this);\n\t}\n};\nconst pgBitDescriptor = new PgBitDescriptor();\nconst pgBitColumn = (params = {}) => column(pgBitDescriptor.factory(params), pgBitDescriptor.codecId, params, \"bit\");\nvar PgVarbitCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgVarbitDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_VARBIT_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_VARBIT_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"bit varying\"];\n\tparamsSchema = lengthParamsSchema;\n\trenderOutputType(params) {\n\t\treturn renderLength(\"VarBit\", params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgVarbitCodec(this);\n\t}\n};\nconst pgVarbitDescriptor = new PgVarbitDescriptor();\nconst pgVarbitColumn = (params = {}) => column(pgVarbitDescriptor.factory(params), pgVarbitDescriptor.codecId, params, \"bit varying\");\nvar PgByteaCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire instanceof Uint8Array && wire.constructor === Uint8Array ? wire : new Uint8Array(wire.buffer, wire.byteOffset, wire.byteLength);\n\t}\n\tencodeJson(value) {\n\t\treturn pgByteaEncodeJson(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn pgByteaDecodeJson(json);\n\t}\n};\nvar PgByteaDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_BYTEA_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn base64JsonProjection(expression);\n\t}\n\tcodecId = PG_BYTEA_CODEC_ID;\n\ttraits = [\"equality\"];\n\ttargetTypes = [\"bytea\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new PgByteaCodec(this);\n\t}\n};\nconst pgByteaDescriptor = new PgByteaDescriptor();\nconst PG_UUID_NATIVE_TYPE = \"uuid\";\nvar PgUuidCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgUuidDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_UUID_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_UUID_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"uuid\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new PgUuidCodec(this);\n\t}\n};\nconst pgUuidDescriptor = new PgUuidDescriptor();\nconst pgUuidColumn = () => column(pgUuidDescriptor.factory(), pgUuidDescriptor.codecId, void 0, \"uuid\");\nconst PG_INET_NATIVE_TYPE = \"inet\";\nvar PgInetCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn blindCast(json);\n\t}\n};\nvar PgInetDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_INET_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_INET_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"inet\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new PgInetCodec(this);\n\t}\n};\nconst pgInetDescriptor = new PgInetDescriptor();\nconst pgInetColumn = () => column(pgInetDescriptor.factory(), pgInetDescriptor.codecId, void 0, \"inet\");\n/**\n* An application value is a {@link PgInterval} — the three fields PostgreSQL\n* actually stores, `{ months, days, micros }` — and its canonical JSON is the\n* ISO-8601 duration string PostgreSQL spells under\n* `IntervalStyle = 'iso_8601'`: `P1M`, `P30D`, `P1Y2M3DT4H5M6S`, `PT0S` for\n* zero, each component carrying its own sign.\n*\n* Value and representation are independent here, as they are for `pg/bytea@1`\n* (`Uint8Array` carried as base64) and `pg/int8@1` (`bigint` carried as decimal\n* text). Reading an interval hands back numbers to compute with rather than a\n* string to parse; writing one takes the same numbers.\n*\n* The fields stay independent because a month has no fixed length: `{months: 1}`\n* and `{days: 30}` are different values and neither converts to the other. The\n* ISO rendering normalises only in its own spelling — twelve months render as a\n* year — so `{months: 13}` renders `P1Y1M` and reads back as `{months: 13}`.\n*/\nvar PgIntervalCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgIntervalToIso(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgIntervalDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn pgIntervalEncodeJson(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn pgIntervalDecodeJson(json);\n\t}\n};\nvar PgIntervalDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_INTERVAL_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn isoDurationJsonProjection(expression);\n\t}\n\tcodecId = PG_INTERVAL_CODEC_ID;\n\ttraits = [\"equality\", \"order\"];\n\ttargetTypes = [\"interval\"];\n\tparamsSchema = precisionParamsSchema;\n\trenderOutputType(params) {\n\t\treturn renderPrecision(\"Interval\", params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new PgIntervalCodec(this);\n\t}\n};\nconst pgIntervalDescriptor = new PgIntervalDescriptor();\nconst pgIntervalColumn = (params = {}) => column(pgIntervalDescriptor.factory(params), pgIntervalDescriptor.codecId, params, \"interval\");\nvar PgJsonCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgJsonEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgJsonDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn json;\n\t}\n};\nvar PgJsonDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_JSON_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_JSON_CODEC_ID;\n\ttraits = [];\n\ttargetTypes = [\"json\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new PgJsonCodec(this);\n\t}\n};\nconst pgJsonDescriptor = new PgJsonDescriptor();\nconst pgJsonColumn = () => column(pgJsonDescriptor.factory(), pgJsonDescriptor.codecId, void 0, \"json\");\nvar PgJsonbCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn pgJsonbEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn pgJsonbDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn json;\n\t}\n};\nvar PgJsonbDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_JSONB_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_JSONB_CODEC_ID;\n\ttraits = [\"equality\"];\n\ttargetTypes = [\"jsonb\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new PgJsonbCodec(this);\n\t}\n};\nconst pgJsonbDescriptor = new PgJsonbDescriptor();\nconst pgJsonbColumn = () => column(pgJsonbDescriptor.factory(), pgJsonbDescriptor.codecId, void 0, \"jsonb\");\nconst PG_CHAR_NATIVE_TYPE = \"character\";\nconst PG_VARCHAR_NATIVE_TYPE = \"character varying\";\nconst PG_INT_NATIVE_TYPE = \"integer\";\nconst PG_FLOAT_NATIVE_TYPE = \"double precision\";\nvar PgCharDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_CHAR_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_CHAR_CODEC_ID;\n\ttargetTypes = [\"character\"];\n\ttraits = sqlCharDescriptor.traits;\n\tparamsSchema = sqlCharDescriptor.paramsSchema;\n\trenderOutputType(params) {\n\t\treturn sqlCharDescriptor.renderOutputType(params);\n\t}\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory(_params) {\n\t\treturn () => new SqlCharCodec(this);\n\t}\n};\nconst pgCharDescriptor = new PgCharDescriptor();\nconst pgCharColumn = (params = {}) => column(pgCharDescriptor.factory(params), pgCharDescriptor.codecId, params, \"character\");\nvar PgVarcharDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_VARCHAR_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_VARCHAR_CODEC_ID;\n\ttargetTypes = [\"character varying\"];\n\ttraits = sqlVarcharDescriptor.traits;\n\tparamsSchema = sqlVarcharDescriptor.paramsSchema;\n\trenderOutputType(params) {\n\t\treturn sqlVarcharDescriptor.renderOutputType(params);\n\t}\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory(_params) {\n\t\treturn () => new SqlVarcharCodec(this);\n\t}\n};\nconst pgVarcharDescriptor = new PgVarcharDescriptor();\nconst pgVarcharColumn = (params = {}) => column(pgVarcharDescriptor.factory(params), pgVarcharDescriptor.codecId, params, \"character varying\");\nvar PgIntDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_INT_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_INT_CODEC_ID;\n\ttargetTypes = [\"int4\"];\n\ttraits = sqlIntDescriptor.traits;\n\tparamsSchema = sqlIntDescriptor.paramsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new SqlIntCodec(this);\n\t}\n};\nconst pgIntDescriptor = new PgIntDescriptor();\nconst pgIntColumn = () => column(pgIntDescriptor.factory(), pgIntDescriptor.codecId, void 0, \"int4\");\nvar PgFloatDescriptor = class extends PostgresCodecDescriptor {\n\tnativeType() {\n\t\treturn PG_FLOAT_NATIVE_TYPE;\n\t}\n\tjsonProjection(expression) {\n\t\treturn expression;\n\t}\n\tcodecId = PG_FLOAT_CODEC_ID;\n\ttargetTypes = [\"float8\"];\n\ttraits = sqlFloatDescriptor.traits;\n\tparamsSchema = sqlFloatDescriptor.paramsSchema;\n\trenderValueLiteral(value) {\n\t\treturn renderTsLiteral(value);\n\t}\n\tfactory() {\n\t\treturn () => new SqlFloatCodec(this);\n\t}\n};\nconst pgFloatDescriptor = new PgFloatDescriptor();\nconst pgFloatColumn = () => column(pgFloatDescriptor.factory(), pgFloatDescriptor.codecId, void 0, \"float8\");\nconst codecDescriptors = definePostgresCodecs([\n\tpostgresSqlCharDescriptor,\n\tpostgresSqlVarcharDescriptor,\n\tpostgresSqlIntDescriptor,\n\tpostgresSqlFloatDescriptor,\n\tpostgresSqlTextDescriptor,\n\tpgTextDescriptor,\n\tpgEnumDescriptor,\n\tpgCharDescriptor,\n\tpgVarcharDescriptor,\n\tpgIntDescriptor,\n\tpgFloatDescriptor,\n\tpgInt4Descriptor,\n\tpgInt2Descriptor,\n\tpgInt8Descriptor,\n\tpgInt8NumberDescriptor,\n\tpgFloat4Descriptor,\n\tpgFloat8Descriptor,\n\tpgNumericDescriptor,\n\tpgUnboundedIntDescriptor,\n\tpgDateTemporalDescriptor,\n\tpgTimestampTemporalDescriptor,\n\tpgTimestamptzTemporalDescriptor,\n\tpgTimeTemporalDescriptor,\n\tpgDateStringDescriptor,\n\tpgTimestampStringDescriptor,\n\tpgTimestamptzStringDescriptor,\n\tpgTimestamptzDateDescriptor,\n\tpgTimeStringDescriptor,\n\tpgTimetzDescriptor,\n\tpgBoolDescriptor,\n\tpgBitDescriptor,\n\tpgVarbitDescriptor,\n\tpgByteaDescriptor,\n\tpgUuidDescriptor,\n\tpgInetDescriptor,\n\tpgIntervalDescriptor,\n\tpgJsonDescriptor,\n\tpgJsonbDescriptor,\n\tpgTextArrayDescriptor\n]);\n//#endregion\nexport { pgTimestamptzDateDescriptor as A, pgUuidColumn as C, PgTimestamptzDateCodec as D, postgresQualifyColumnType as E, PgTimestamptzDateDescriptor as O, pgUnboundedIntColumn as S, pgVarcharColumn as T, pgJsonColumn as _, pgCharColumn as a, pgTextColumn as b, pgFloat8Column as c, pgInt2Column as d, pgInt4Column as f, pgIntervalColumn as g, pgIntColumn as h, pgBoolColumn as i, pgTimestamptzDateColumn as k, pgFloatColumn as l, pgInt8NumberColumn as m, isPgEnumParams as n, pgEnumDescriptor as o, pgInt8Column as p, pgBitColumn as r, pgFloat4Column as s, codecDescriptors as t, pgInetColumn as u, pgJsonbColumn as v, pgVarbitColumn as w, pgTimetzColumn as x, pgNumericColumn as y };\n\n//# sourceMappingURL=codecs-Cb6p_eRD.mjs.map"],"mappings":";;;;;;;;;;AAWA,MAAM,wBAAwB,KAAK,EAAE,cAAc,4CAA4C,CAAC;AAChG,SAAS,aAAa,UAAU,YAAY;CAC3C,MAAM,SAAS,WAAW;CAC1B,IAAI,WAAW,KAAK,GAAG;CACvB,IAAI,OAAO,WAAW,YAAY,CAAC,OAAO,SAAS,MAAM,KAAK,CAAC,OAAO,UAAU,MAAM,GAAG,MAAM,cAAc,+BAA+B,iEAAiE,SAAS,QAAQ,OAAO,MAAM,KAAK,EAAE,MAAM;EACvP,YAAY;EACZ,OAAO;EACP,UAAU,OAAO,MAAM;CACxB,EAAE,CAAC;CACH,OAAO,GAAG,SAAS,GAAG,OAAO;AAC9B;AACA,SAAS,gBAAgB,UAAU,YAAY;CAC9C,MAAM,YAAY,WAAW;CAC7B,IAAI,cAAc,KAAK,GAAG,OAAO;CACjC,IAAI,OAAO,cAAc,YAAY,CAAC,OAAO,SAAS,SAAS,KAAK,CAAC,OAAO,UAAU,SAAS,GAAG,MAAM,cAAc,+BAA+B,oEAAoE,SAAS,QAAQ,OAAO,SAAS,KAAK,EAAE,MAAM;EACtQ,YAAY;EACZ,OAAO;EACP,UAAU,OAAO,SAAS;CAC3B,EAAE,CAAC;CACH,OAAO,GAAG,SAAS,GAAG,UAAU;AACjC;AACA,MAAM,mBAAmB,SAAS;CACjC,IAAI,OAAO,SAAS,UAAU,OAAO,OAAO,IAAI;CAChD,OAAO;AACR;AACA,MAAM,kBAAkB;;;;;;;;;AASxB,MAAM,iBAAiB,SAAS,UAAU,UAAU;CACnD,IAAI,OAAO,UAAU,UAAU;CAC/B,MAAM,cAAc,yBAAyB,GAAG,Q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AAU;CACV,cAAc,CAAC,QAAQ;CACvB,SAAS,mBAAmB;CAC5B,eAAe,mBAAmB;CAClC,mBAAmB,OAAO;EACzB,OAAO,gBAAgB,KAAK;CAC7B;CACA,UAAU;EACT,aAAa,IAAI,cAAc,IAAI;CACpC;AACD;AACA,MAAM,oBAAoB,IAAI,kBAAkB;AAChD,MAAM,sBAAsB,OAAO,kBAAkB,QAAQ,GAAG,kBAAkB,SAAS,KAAK,GAAG,QAAQ;AAC3G,MAAM,mBAAmB,qBAAqB;CAC7C;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;CACA;CACA;CACA;CACA;AACD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as buildPostgresCodecDescriptorRegistry } from "./codec-descriptor-LT7BpQta-BaDM8UQQ.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { r as codecDescriptors } from "./codecs-Cb6p_eRD-C_gtto50.mjs";
|
|
3
3
|
import { buildCodecDescriptorRegistry } from "@prisma/orm-family-sql/relational-core/codec-descriptor-registry";
|
|
4
4
|
//#region ../../../3-targets/3-targets/postgres/dist/codecs.mjs
|
|
5
5
|
/**
|
|
@@ -12,4 +12,4 @@ const postgresCodecDescriptorRegistry = buildPostgresCodecDescriptorRegistry(cod
|
|
|
12
12
|
//#endregion
|
|
13
13
|
export { postgresCodecRegistry as n, postgresCodecDescriptorRegistry as t };
|
|
14
14
|
|
|
15
|
-
//# sourceMappingURL=codecs-
|
|
15
|
+
//# sourceMappingURL=codecs-LETde6yD.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-LETde6yD.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/codecs.mjs"],"sourcesContent":["import { n as buildPostgresCodecDescriptorRegistry } from \"./codec-descriptor-LT7BpQta.mjs\";\nimport { A as pgTimestamptzDateDescriptor, C as pgUuidColumn, D as PgTimestamptzDateCodec, O as PgTimestamptzDateDescriptor, S as pgUnboundedIntColumn, T as pgVarcharColumn, _ as pgJsonColumn, a as pgCharColumn, b as pgTextColumn, c as pgFloat8Column, d as pgInt2Column, f as pgInt4Column, g as pgIntervalColumn, h as pgIntColumn, i as pgBoolColumn, k as pgTimestamptzDateColumn, l as pgFloatColumn, m as pgInt8NumberColumn, n as isPgEnumParams, o as pgEnumDescriptor, p as pgInt8Column, r as pgBitColumn, s as pgFloat4Column, t as codecDescriptors, u as pgInetColumn, v as pgJsonbColumn, w as pgVarbitColumn, x as pgTimetzColumn, y as pgNumericColumn } from \"./codecs-Cb6p_eRD.mjs\";\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\nexport { PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, isPgEnumParams, pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumDescriptor, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInetColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgIntervalColumn, pgJsonColumn, pgJsonbColumn, pgNumericColumn, pgTextColumn, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetzColumn, pgUnboundedIntColumn, pgUuidColumn, pgVarbitColumn, pgVarcharColumn, postgresCodecDescriptorRegistry, postgresCodecRegistry };\n\n//# sourceMappingURL=codecs.mjs.map"],"mappings":";;;;;;;;;AASA,MAAM,wBAAwB,6BAA6B,gBAAgB;AAC3E,MAAM,kCAAkC,qCAAqC,gBAAgB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as PostgresCodecDescriptorRegistry } from "./codec-descriptor-Bec_zukr-BfvtUqhm.mjs";
|
|
2
|
-
import "./codecs-
|
|
2
|
+
import "./codecs-CJ_Vq9bQ-BZfz_Ypd.mjs";
|
|
3
3
|
import { CodecDescriptorRegistry } from "@prisma/orm-family-sql/relational-core/query-lane-context";
|
|
4
4
|
//#region ../../../3-targets/3-targets/postgres/dist/codecs.d.mts
|
|
5
5
|
//#region src/core/registry.d.ts
|
|
@@ -12,4 +12,4 @@ declare const postgresCodecRegistry: CodecDescriptorRegistry;
|
|
|
12
12
|
declare const postgresCodecDescriptorRegistry: PostgresCodecDescriptorRegistry;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { postgresCodecRegistry as n, postgresCodecDescriptorRegistry as t };
|
|
15
|
-
//# sourceMappingURL=codecs-
|
|
15
|
+
//# sourceMappingURL=codecs-WJAKgYRF.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-WJAKgYRF.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/codecs.d.mts"],"mappings":";;;;;;;;;;cASc,uBAAuB;cACvB,iCAAiC"}
|