@prisma/orm-family-sql 8.0.0-rc.5-dev.1 → 8.0.0-rc.5-dev.3
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/{ast-Lbl4VwqP.mjs → ast-5tg0fGPQ.mjs} +2 -58
- package/dist/ast-5tg0fGPQ.mjs.map +1 -0
- package/dist/{ast-HFcfQZr-.d.mts → ast-PAXgfA8z.d.mts} +2 -34
- package/dist/ast-PAXgfA8z.d.mts.map +1 -0
- package/dist/builder.d.mts +2 -2
- package/dist/builder__runtime.d.mts +3 -3
- package/dist/builder__runtime.mjs +1 -1
- package/dist/builder__types.d.mts +2 -2
- package/dist/{control-DTLJ1WtZ.d.mts → control-CyOPr5No.d.mts} +61 -14
- package/dist/{control-DTLJ1WtZ.d.mts.map → control-CyOPr5No.d.mts.map} +1 -1
- package/dist/control-DSWW6aqp.mjs.map +1 -1
- package/dist/{control-adapter-C99J7aEF-B7eQd7vD.d.mts → control-adapter-C99J7aEF-gFfCQmwC.d.mts} +2 -2
- package/dist/{control-adapter-C99J7aEF-B7eQd7vD.d.mts.map → control-adapter-C99J7aEF-gFfCQmwC.d.mts.map} +1 -1
- package/dist/control-adapter-D-2mthVg.d.mts +1 -0
- package/dist/{db-C_ktwEsR-BtOWHdBX.d.mts → db-C_ktwEsR-DSEShniA.d.mts} +3 -3
- package/dist/{db-C_ktwEsR-BtOWHdBX.d.mts.map → db-C_ktwEsR-DSEShniA.d.mts.map} +1 -1
- package/dist/{diff-DbTNVm2f.d.mts → diff-ClD1mImE.d.mts} +3 -3
- package/dist/{diff-DbTNVm2f.d.mts.map → diff-ClD1mImE.d.mts.map} +1 -1
- package/dist/{expression-BH-JqphR.mjs → expression-DmQbErXU.mjs} +2 -2
- package/dist/expression-DmQbErXU.mjs.map +1 -0
- package/dist/{expression-DM5Yshj0.d.mts → expression-PL-Tra28.d.mts} +2 -2
- package/dist/{expression-DM5Yshj0.d.mts.map → expression-PL-Tra28.d.mts.map} +1 -1
- package/dist/family.d.mts +8 -8
- package/dist/family.mjs +3 -3
- package/dist/family__control-adapter.d.mts +2 -2
- package/dist/family__control.d.mts +3 -3
- package/dist/family__control.mjs +2 -2
- package/dist/family__diff.d.mts +2 -2
- package/dist/family__migration.d.mts +1 -1
- package/dist/family__runtime.d.mts +1 -1
- package/dist/family__runtime.mjs +1 -1
- package/dist/{index-D_jsPMJK.d.mts → index-CrsJm0Rv.d.mts} +3 -3
- package/dist/{index-D_jsPMJK.d.mts.map → index-CrsJm0Rv.d.mts.map} +1 -1
- package/dist/{migration-CjDRZNep.d.mts → migration-Chb4Qg0T.d.mts} +2 -2
- package/dist/{migration-CjDRZNep.d.mts.map → migration-Chb4Qg0T.d.mts.map} +1 -1
- package/dist/orm-client.d.mts +2 -2
- package/dist/orm-client.mjs +1 -1
- package/dist/{prepared-statement-9QpkE6JG-Nk4rCzyU.d.mts → prepared-statement-9QpkE6JG-ti591XdQ.d.mts} +3 -3
- package/dist/{prepared-statement-9QpkE6JG-Nk4rCzyU.d.mts.map → prepared-statement-9QpkE6JG-ti591XdQ.d.mts.map} +1 -1
- package/dist/relational-core.d.mts +3 -3
- package/dist/relational-core.mjs +3 -3
- package/dist/relational-core__ast.d.mts +2 -2
- package/dist/relational-core__ast.mjs +2 -2
- package/dist/relational-core__expression.d.mts +1 -1
- package/dist/relational-core__expression.mjs +1 -1
- package/dist/{runtime-CYrsdEWR.d.mts → runtime-C88G8y1X.d.mts} +3 -3
- package/dist/{runtime-CYrsdEWR.d.mts.map → runtime-C88G8y1X.d.mts.map} +1 -1
- package/dist/{runtime-tIHpGCcG.mjs → runtime-PknWErjr.mjs} +2 -2
- package/dist/{runtime-tIHpGCcG.mjs.map → runtime-PknWErjr.mjs.map} +1 -1
- package/dist/runtime.d.mts +3 -3
- package/dist/runtime__internal__prepared-query.d.mts +1 -1
- package/dist/{timestamp-now-generator-DRXygu32-DN9Qb1uI.mjs → timestamp-now-generator-BZnBo7IC-DbN5Apqe.mjs} +27 -19
- package/dist/timestamp-now-generator-BZnBo7IC-DbN5Apqe.mjs.map +1 -0
- package/dist/{types-IqZMLrFC-DcH8v_u3.d.mts → types-IqZMLrFC-BfiR0oFc.d.mts} +2 -2
- package/dist/{types-IqZMLrFC-DcH8v_u3.d.mts.map → types-IqZMLrFC-BfiR0oFc.d.mts.map} +1 -1
- package/package.json +17 -17
- package/dist/ast-HFcfQZr-.d.mts.map +0 -1
- package/dist/ast-Lbl4VwqP.mjs.map +0 -1
- package/dist/control-adapter-MZJQiwcE.d.mts +0 -1
- package/dist/expression-BH-JqphR.mjs.map +0 -1
- package/dist/timestamp-now-generator-DRXygu32-DN9Qb1uI.mjs.map +0 -1
|
@@ -67,7 +67,6 @@ const SQL_VARCHAR_CODEC_ID = "sql/varchar@1";
|
|
|
67
67
|
const SQL_INT_CODEC_ID = "sql/int@1";
|
|
68
68
|
const SQL_FLOAT_CODEC_ID = "sql/float@1";
|
|
69
69
|
const SQL_TEXT_CODEC_ID = "sql/text@1";
|
|
70
|
-
const SQL_TIMESTAMP_CODEC_ID = "sql/timestamp@1";
|
|
71
70
|
const sqlCharEncode = (value) => value;
|
|
72
71
|
const sqlCharDecode = (wire) => wire.trimEnd();
|
|
73
72
|
const sqlCharRenderOutputType = (typeParams) => {
|
|
@@ -112,34 +111,7 @@ const sqlFloatDecodeJson = (json) => {
|
|
|
112
111
|
};
|
|
113
112
|
const sqlTextEncode = (value) => value;
|
|
114
113
|
const sqlTextDecode = (wire) => wire;
|
|
115
|
-
const ZONELESS_ISO_TIMESTAMP = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,6})?$/;
|
|
116
|
-
const sqlTimestampEncode = (value) => value;
|
|
117
|
-
const sqlTimestampDecode = (wire) => wire;
|
|
118
|
-
/**
|
|
119
|
-
* A `timestamp` carries no zone, so its JSON form is the ISO rendering without a
|
|
120
|
-
* trailing `Z` — `2026-01-02T03:04:05.678` — and {@link sqlTimestampDecodeJson}
|
|
121
|
-
* reads that form back as UTC.
|
|
122
|
-
*/
|
|
123
|
-
const sqlTimestampEncodeJson = (value) => value.toISOString().slice(0, -1);
|
|
124
|
-
const sqlTimestampDecodeJson = (json) => {
|
|
125
|
-
if (typeof json !== "string") throw structuredError("RUNTIME.DECODE_FAILED", `Expected ISO date string for sql/timestamp@1, got ${typeof json}`, { meta: { codec: SQL_TIMESTAMP_CODEC_ID } });
|
|
126
|
-
if (!ZONELESS_ISO_TIMESTAMP.test(json)) throw structuredError("RUNTIME.DECODE_FAILED", `Expected a zone-less ISO date-time (YYYY-MM-DDTHH:MM:SS[.sss]) for sql/timestamp@1, got ${json}`, { meta: { codec: SQL_TIMESTAMP_CODEC_ID } });
|
|
127
|
-
const date = /* @__PURE__ */ new Date(`${json}Z`);
|
|
128
|
-
if (Number.isNaN(date.getTime())) throw structuredError("RUNTIME.DECODE_FAILED", `Invalid ISO date string for sql/timestamp@1: ${json}`, { meta: { codec: SQL_TIMESTAMP_CODEC_ID } });
|
|
129
|
-
return date;
|
|
130
|
-
};
|
|
131
|
-
const sqlTimestampRenderOutputType = (typeParams) => {
|
|
132
|
-
const precision = typeParams.precision;
|
|
133
|
-
if (precision === void 0) return "Timestamp";
|
|
134
|
-
if (typeof precision !== "number" || !Number.isFinite(precision) || !Number.isInteger(precision)) throw structuredError("RUNTIME.TYPE_PARAMS_INVALID", `renderOutputType: expected integer "precision" in typeParams for Timestamp, got ${String(precision)}`, { meta: {
|
|
135
|
-
codec: SQL_TIMESTAMP_CODEC_ID,
|
|
136
|
-
param: "precision",
|
|
137
|
-
received: String(precision)
|
|
138
|
-
} });
|
|
139
|
-
return `Timestamp<${precision}>`;
|
|
140
|
-
};
|
|
141
114
|
const lengthParamsSchema = type({ "length?": "number.integer > 0" });
|
|
142
|
-
const precisionParamsSchema = type({ "precision?": "number.integer >= 0 & number.integer <= 6" });
|
|
143
115
|
var SqlTextCodec = class extends CodecImpl {
|
|
144
116
|
async encode(value, _ctx) {
|
|
145
117
|
return sqlTextEncode(value);
|
|
@@ -291,35 +263,7 @@ var SqlVarcharDescriptor = class extends CodecDescriptorImpl {
|
|
|
291
263
|
};
|
|
292
264
|
const sqlVarcharDescriptor = new SqlVarcharDescriptor();
|
|
293
265
|
const sqlVarcharColumn = (params = {}) => column(sqlVarcharDescriptor.factory(params), sqlVarcharDescriptor.codecId, params, "varchar");
|
|
294
|
-
var SqlTimestampCodec = class extends CodecImpl {
|
|
295
|
-
async encode(value, _ctx) {
|
|
296
|
-
return sqlTimestampEncode(value);
|
|
297
|
-
}
|
|
298
|
-
async decode(wire, _ctx) {
|
|
299
|
-
return sqlTimestampDecode(wire);
|
|
300
|
-
}
|
|
301
|
-
encodeJson(value) {
|
|
302
|
-
return sqlTimestampEncodeJson(value);
|
|
303
|
-
}
|
|
304
|
-
decodeJson(json) {
|
|
305
|
-
return sqlTimestampDecodeJson(json);
|
|
306
|
-
}
|
|
307
|
-
};
|
|
308
|
-
var SqlTimestampDescriptor = class extends CodecDescriptorImpl {
|
|
309
|
-
codecId = SQL_TIMESTAMP_CODEC_ID;
|
|
310
|
-
traits = ["equality", "order"];
|
|
311
|
-
targetTypes = ["timestamp"];
|
|
312
|
-
paramsSchema = precisionParamsSchema;
|
|
313
|
-
renderOutputType(params) {
|
|
314
|
-
return sqlTimestampRenderOutputType(params);
|
|
315
|
-
}
|
|
316
|
-
factory(_params) {
|
|
317
|
-
return () => new SqlTimestampCodec(this);
|
|
318
|
-
}
|
|
319
|
-
};
|
|
320
|
-
const sqlTimestampDescriptor = new SqlTimestampDescriptor();
|
|
321
|
-
const sqlTimestampColumn = (params = {}) => column(sqlTimestampDescriptor.factory(params), sqlTimestampDescriptor.codecId, params, "timestamp");
|
|
322
266
|
//#endregion
|
|
323
|
-
export {
|
|
267
|
+
export { sqlIntColumn as A, sqlVarcharDescriptor as B, sqlCharRenderOutputType as C, sqlFloatDescriptor as D, sqlFloatDecodeJson as E, sqlTextDecode as F, sqlVarcharRenderOutputType as H, sqlTextDescriptor as I, sqlTextEncode as L, sqlIntDescriptor as M, sqlIntEncode as N, sqlFloatEncode as O, sqlTextColumn as P, sqlVarcharColumn as R, sqlCharEncode as S, sqlFloatDecode as T, sqlVarcharEncode as V, SqlVarcharCodec as _, SQL_FLOAT_CODEC_ID as a, sqlCharDecode as b, SQL_VARCHAR_CODEC_ID as c, SqlFloatCodec as d, SqlFloatDescriptor as f, SqlTextDescriptor as g, SqlTextCodec as h, SQL_CHAR_CODEC_ID as i, sqlIntDecode as j, sqlFloatEncodeJson as k, SqlCharCodec as l, SqlIntDescriptor as m, JsonDocumentProjection as n, SQL_INT_CODEC_ID as o, SqlIntCodec as p, NativeJsonValueProjection as r, SQL_TEXT_CODEC_ID as s, CodecJsonValueProjection as t, SqlCharDescriptor as u, SqlVarcharDescriptor as v, sqlFloatColumn as w, sqlCharDescriptor as x, sqlCharColumn as y, sqlVarcharDecode as z };
|
|
324
268
|
|
|
325
|
-
//# sourceMappingURL=ast-
|
|
269
|
+
//# sourceMappingURL=ast-5tg0fGPQ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ast-5tg0fGPQ.mjs","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/ast.mjs"],"sourcesContent":["import { A as PreparedParamRef, B as isAggregateFn, C as LiteralExpr, D as OrExpr, E as OperationExpr, F as SubqueryExpr, G as frozenCodecRef, H as isWhereExpr, I as TableSource, L as UpdateAst, M as RawExpr, N as RawQueryAst, O as OrderByItem, P as SelectAst, R as WindowFuncExpr, S as ListExpression, T as NullCheckExpr, U as queryAstKinds, V as isQueryAst, W as whereExprKinds, _ as InsertAst, a as CastExpr, b as JsonArrayAggExpr, c as DeleteAst, d as DoUpdateSetConflictAction, f as EqColJoinOn, g as IdentifierRef, h as FunctionSource, i as CaseExpr, j as ProjectionItem, k as ParamRef, l as DerivedTableSource, m as FunctionCallExpr, n as AndExpr, o as ColumnRef, p as ExistsExpr, r as BinaryExpr, s as DefaultValueExpr, t as AggregateExpr, u as DoNothingConflictAction, v as InsertOnConflict, w as NotExpr, x as JsonObjectExpr, y as JoinAst, z as aggregateFnNames } from \"../types-Dt4e_jC-.mjs\";\nimport { a as ForeignKeyConstraint, c as PrimaryKeyConstraint, i as DdlNode, l as UniqueConstraint, n as DdlColumn, o as FunctionColumnDefault, r as DdlColumnDefault, s as LiteralColumnDefault, t as CheckExpressionConstraint, u as isDdlNode } from \"../ddl-types-BGdnAbXo.mjs\";\nimport { n as compact, t as collectOrderedParamRefs } from \"../util-DQQgv2j1.mjs\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { CodecDescriptorImpl, CodecImpl, column, voidParamsSchema } from \"@internal/framework-components/codec\";\nimport { type } from \"arktype\";\n//#region src/ast/json-value-projection.ts\nvar JsonValueProjection = class {\n\tvalue;\n\tconstructor(value) {\n\t\tthis.value = value;\n\t}\n\tfold(folder) {\n\t\treturn this.value.fold(folder);\n\t}\n\tcollectColumnRefs() {\n\t\treturn this.value.collectColumnRefs();\n\t}\n\tcollectParamRefs() {\n\t\treturn this.value.collectParamRefs();\n\t}\n\tfreeze() {\n\t\tObject.freeze(this);\n\t}\n};\nvar CodecJsonValueProjection = class CodecJsonValueProjection extends JsonValueProjection {\n\tkind = \"codec\";\n\tcodec;\n\tconstructor(value, codec) {\n\t\tsuper(value);\n\t\tthis.codec = frozenCodecRef(codec);\n\t\tthis.freeze();\n\t}\n\taccept(visitor) {\n\t\treturn visitor.codec(this);\n\t}\n\trewrite(rewriter) {\n\t\treturn new CodecJsonValueProjection(this.value.rewrite(rewriter), this.codec);\n\t}\n};\nvar NativeJsonValueProjection = class NativeJsonValueProjection extends JsonValueProjection {\n\tkind = \"native\";\n\tconstructor(value) {\n\t\tsuper(value);\n\t\tthis.freeze();\n\t}\n\taccept(visitor) {\n\t\treturn visitor.native(this);\n\t}\n\trewrite(rewriter) {\n\t\treturn new NativeJsonValueProjection(this.value.rewrite(rewriter));\n\t}\n};\nvar JsonDocumentProjection = class JsonDocumentProjection extends JsonValueProjection {\n\tkind = \"document\";\n\tconstructor(value) {\n\t\tsuper(value);\n\t\tthis.freeze();\n\t}\n\taccept(visitor) {\n\t\treturn visitor.document(this);\n\t}\n\trewrite(rewriter) {\n\t\treturn new JsonDocumentProjection(this.value.rewrite(rewriter));\n\t}\n};\n//#endregion\n//#region src/ast/sql-codec-helpers.ts\nconst SQL_CHAR_CODEC_ID = \"sql/char@1\";\nconst SQL_VARCHAR_CODEC_ID = \"sql/varchar@1\";\nconst SQL_INT_CODEC_ID = \"sql/int@1\";\nconst SQL_FLOAT_CODEC_ID = \"sql/float@1\";\nconst SQL_TEXT_CODEC_ID = \"sql/text@1\";\nconst sqlCharEncode = (value) => value;\nconst sqlCharDecode = (wire) => wire.trimEnd();\nconst sqlCharRenderOutputType = (typeParams) => {\n\tconst length = typeParams.length;\n\tif (length === void 0) return void 0;\n\tif (typeof length !== \"number\" || !Number.isFinite(length) || !Number.isInteger(length)) throw structuredError(\"RUNTIME.TYPE_PARAMS_INVALID\", `renderOutputType: expected integer \"length\" in typeParams for Char, got ${String(length)}`, { meta: {\n\t\tcodec: SQL_CHAR_CODEC_ID,\n\t\tparam: \"length\",\n\t\treceived: String(length)\n\t} });\n\treturn `Char<${length}>`;\n};\nconst sqlVarcharEncode = (value) => value;\nconst sqlVarcharDecode = (wire) => wire;\nconst sqlVarcharRenderOutputType = (typeParams) => {\n\tconst length = typeParams.length;\n\tif (length === void 0) return void 0;\n\tif (typeof length !== \"number\" || !Number.isFinite(length) || !Number.isInteger(length)) throw structuredError(\"RUNTIME.TYPE_PARAMS_INVALID\", `renderOutputType: expected integer \"length\" in typeParams for Varchar, got ${String(length)}`, { meta: {\n\t\tcodec: SQL_VARCHAR_CODEC_ID,\n\t\tparam: \"length\",\n\t\treceived: String(length)\n\t} });\n\treturn `Varchar<${length}>`;\n};\nconst sqlIntEncode = (value) => value;\nconst sqlIntDecode = (wire) => wire;\nconst sqlFloatEncode = (value) => value;\nconst sqlFloatDecode = (wire) => wire;\n/**\n* JSON has no spelling for a non-finite number, and a database that holds one\n* emits it as a string — PostgreSQL writes `\"NaN\"` and `\"Infinity\"`. This\n* codec's application type is `number`, so both directions reject rather than\n* carry a value that type cannot hold.\n*/\nconst sqlFloatEncodeJson = (value) => {\n\tif (!Number.isFinite(value)) throw structuredError(\"RUNTIME.ENCODE_FAILED\", `${SQL_FLOAT_CODEC_ID} application value must be a finite number, got ${value}`, { meta: { codec: SQL_FLOAT_CODEC_ID } });\n\treturn value;\n};\nconst sqlFloatDecodeJson = (json) => {\n\tif (typeof json !== \"number\" || !Number.isFinite(json)) throw structuredError(\"RUNTIME.DECODE_FAILED\", `Expected a finite number for ${SQL_FLOAT_CODEC_ID}, got ${JSON.stringify(json)}`, { meta: { codec: SQL_FLOAT_CODEC_ID } });\n\treturn json;\n};\nconst sqlTextEncode = (value) => value;\nconst sqlTextDecode = (wire) => wire;\n//#endregion\n//#region src/ast/sql-codecs.ts\nconst lengthParamsSchema = type({ \"length?\": \"number.integer > 0\" });\nvar SqlTextCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn sqlTextEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn sqlTextDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn json;\n\t}\n};\nvar SqlTextDescriptor = class extends CodecDescriptorImpl {\n\tcodecId = SQL_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\tfactory() {\n\t\treturn () => new SqlTextCodec(this);\n\t}\n};\nconst sqlTextDescriptor = new SqlTextDescriptor();\nconst sqlTextColumn = () => column(sqlTextDescriptor.factory(), sqlTextDescriptor.codecId, void 0, \"text\");\nvar SqlIntCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn sqlIntEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn sqlIntDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn json;\n\t}\n};\nvar SqlIntDescriptor = class extends CodecDescriptorImpl {\n\tcodecId = SQL_INT_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [\"int\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new SqlIntCodec(this);\n\t}\n};\nconst sqlIntDescriptor = new SqlIntDescriptor();\nconst sqlIntColumn = () => column(sqlIntDescriptor.factory(), sqlIntDescriptor.codecId, void 0, \"int\");\nvar SqlFloatCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn sqlFloatEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn sqlFloatDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn sqlFloatEncodeJson(value);\n\t}\n\tdecodeJson(json) {\n\t\treturn sqlFloatDecodeJson(json);\n\t}\n};\nvar SqlFloatDescriptor = class extends CodecDescriptorImpl {\n\tcodecId = SQL_FLOAT_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\ttargetTypes = [\"float\"];\n\tparamsSchema = voidParamsSchema;\n\tfactory() {\n\t\treturn () => new SqlFloatCodec(this);\n\t}\n};\nconst sqlFloatDescriptor = new SqlFloatDescriptor();\nconst sqlFloatColumn = () => column(sqlFloatDescriptor.factory(), sqlFloatDescriptor.codecId, void 0, \"float\");\nvar SqlCharCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn sqlCharEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn sqlCharDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn json;\n\t}\n};\nvar SqlCharDescriptor = class extends CodecDescriptorImpl {\n\tcodecId = SQL_CHAR_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"textual\"\n\t];\n\ttargetTypes = [\"char\"];\n\tparamsSchema = lengthParamsSchema;\n\trenderOutputType(params) {\n\t\treturn sqlCharRenderOutputType(params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new SqlCharCodec(this);\n\t}\n};\nconst sqlCharDescriptor = new SqlCharDescriptor();\nconst sqlCharColumn = (params = {}) => column(sqlCharDescriptor.factory(params), sqlCharDescriptor.codecId, params, \"char\");\nvar SqlVarcharCodec = class extends CodecImpl {\n\tasync encode(value, _ctx) {\n\t\treturn sqlVarcharEncode(value);\n\t}\n\tasync decode(wire, _ctx) {\n\t\treturn sqlVarcharDecode(wire);\n\t}\n\tencodeJson(value) {\n\t\treturn value;\n\t}\n\tdecodeJson(json) {\n\t\treturn json;\n\t}\n};\nvar SqlVarcharDescriptor = class extends CodecDescriptorImpl {\n\tcodecId = SQL_VARCHAR_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"textual\"\n\t];\n\ttargetTypes = [\"varchar\"];\n\tparamsSchema = lengthParamsSchema;\n\trenderOutputType(params) {\n\t\treturn sqlVarcharRenderOutputType(params);\n\t}\n\tfactory(_params) {\n\t\treturn () => new SqlVarcharCodec(this);\n\t}\n};\nconst sqlVarcharDescriptor = new SqlVarcharDescriptor();\nconst sqlVarcharColumn = (params = {}) => column(sqlVarcharDescriptor.factory(params), sqlVarcharDescriptor.codecId, params, \"varchar\");\n//#endregion\nexport { AggregateExpr, AndExpr, BinaryExpr, CaseExpr, CastExpr, CheckExpressionConstraint, CodecJsonValueProjection, ColumnRef, DdlColumn, DdlColumnDefault, DdlNode, DefaultValueExpr, DeleteAst, DerivedTableSource, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, IdentifierRef, InsertAst, InsertOnConflict, JoinAst, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectExpr, ListExpression, LiteralColumnDefault, LiteralExpr, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedParamRef, PrimaryKeyConstraint, ProjectionItem, RawExpr, RawQueryAst, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SqlCharCodec, SqlCharDescriptor, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlTextCodec, SqlTextDescriptor, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableSource, UniqueConstraint, UpdateAst, WindowFuncExpr, aggregateFnNames, collectOrderedParamRefs, compact, frozenCodecRef, isAggregateFn, isDdlNode, isQueryAst, isWhereExpr, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, whereExprKinds };\n\n//# sourceMappingURL=ast.mjs.map"],"mappings":";;;;;AAOA,IAAI,sBAAsB,MAAM;CAC/B;CACA,YAAY,OAAO;EAClB,KAAK,QAAQ;CACd;CACA,KAAK,QAAQ;EACZ,OAAO,KAAK,MAAM,KAAK,MAAM;CAC9B;CACA,oBAAoB;EACnB,OAAO,KAAK,MAAM,kBAAkB;CACrC;CACA,mBAAmB;EAClB,OAAO,KAAK,MAAM,iBAAiB;CACpC;CACA,SAAS;EACR,OAAO,OAAO,IAAI;CACnB;AACD;AACA,I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AuB,IAAI,qBAAqB;AACtD,MAAM,oBAAoB,SAAS,CAAC,MAAM,OAAO,qBAAqB,QAAQ,MAAM,GAAG,qBAAqB,SAAS,QAAQ,SAAS"}
|
|
@@ -49,7 +49,6 @@ declare const SQL_VARCHAR_CODEC_ID: "sql/varchar@1";
|
|
|
49
49
|
declare const SQL_INT_CODEC_ID: "sql/int@1";
|
|
50
50
|
declare const SQL_FLOAT_CODEC_ID: "sql/float@1";
|
|
51
51
|
declare const SQL_TEXT_CODEC_ID: "sql/text@1";
|
|
52
|
-
declare const SQL_TIMESTAMP_CODEC_ID: "sql/timestamp@1";
|
|
53
52
|
declare const sqlCharEncode: (value: string) => string;
|
|
54
53
|
declare const sqlCharDecode: (wire: string) => string;
|
|
55
54
|
declare const sqlCharRenderOutputType: (typeParams: {
|
|
@@ -74,26 +73,11 @@ declare const sqlFloatEncodeJson: (value: number) => JsonValue;
|
|
|
74
73
|
declare const sqlFloatDecodeJson: (json: JsonValue) => number;
|
|
75
74
|
declare const sqlTextEncode: (value: string) => string;
|
|
76
75
|
declare const sqlTextDecode: (wire: string) => string;
|
|
77
|
-
declare const sqlTimestampEncode: (value: Date) => Date;
|
|
78
|
-
declare const sqlTimestampDecode: (wire: Date) => Date;
|
|
79
|
-
/**
|
|
80
|
-
* A `timestamp` carries no zone, so its JSON form is the ISO rendering without a
|
|
81
|
-
* trailing `Z` — `2026-01-02T03:04:05.678` — and {@link sqlTimestampDecodeJson}
|
|
82
|
-
* reads that form back as UTC.
|
|
83
|
-
*/
|
|
84
|
-
declare const sqlTimestampEncodeJson: (value: Date) => JsonValue;
|
|
85
|
-
declare const sqlTimestampDecodeJson: (json: JsonValue) => Date;
|
|
86
|
-
declare const sqlTimestampRenderOutputType: (typeParams: {
|
|
87
|
-
readonly precision?: number;
|
|
88
|
-
}) => string;
|
|
89
76
|
//#endregion
|
|
90
77
|
//#region src/ast/sql-codecs.d.ts
|
|
91
78
|
type LengthParams = {
|
|
92
79
|
readonly length?: number;
|
|
93
80
|
};
|
|
94
|
-
type PrecisionParams = {
|
|
95
|
-
readonly precision?: number;
|
|
96
|
-
};
|
|
97
81
|
declare class SqlTextCodec extends CodecImpl<typeof SQL_TEXT_CODEC_ID, readonly ['equality', 'order', 'textual'], string, string> {
|
|
98
82
|
encode(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
99
83
|
decode(wire: string, _ctx: CodecCallContext): Promise<string>;
|
|
@@ -171,22 +155,6 @@ declare class SqlVarcharDescriptor extends CodecDescriptorImpl<LengthParams> {
|
|
|
171
155
|
}
|
|
172
156
|
declare const sqlVarcharDescriptor: SqlVarcharDescriptor;
|
|
173
157
|
declare const sqlVarcharColumn: (params?: LengthParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<SqlVarcharCodec, LengthParams>;
|
|
174
|
-
declare class SqlTimestampCodec extends CodecImpl<typeof SQL_TIMESTAMP_CODEC_ID, readonly ['equality', 'order'], Date, Date> {
|
|
175
|
-
encode(value: Date, _ctx: CodecCallContext): Promise<Date>;
|
|
176
|
-
decode(wire: Date, _ctx: CodecCallContext): Promise<Date>;
|
|
177
|
-
encodeJson(value: Date): JsonValue;
|
|
178
|
-
decodeJson(json: JsonValue): Date;
|
|
179
|
-
}
|
|
180
|
-
declare class SqlTimestampDescriptor extends CodecDescriptorImpl<PrecisionParams> {
|
|
181
|
-
readonly codecId: "sql/timestamp@1";
|
|
182
|
-
readonly traits: readonly ["equality", "order"];
|
|
183
|
-
readonly targetTypes: readonly ["timestamp"];
|
|
184
|
-
readonly paramsSchema: StandardSchemaV1<PrecisionParams>;
|
|
185
|
-
renderOutputType(params: PrecisionParams): string | undefined;
|
|
186
|
-
factory(_params: PrecisionParams): (ctx: CodecInstanceContext) => SqlTimestampCodec;
|
|
187
|
-
}
|
|
188
|
-
declare const sqlTimestampDescriptor: SqlTimestampDescriptor;
|
|
189
|
-
declare const sqlTimestampColumn: (params?: PrecisionParams) => import("@prisma/orm-framework/components/codec").ColumnSpec<SqlTimestampCodec, PrecisionParams>;
|
|
190
158
|
//#endregion
|
|
191
159
|
//#region src/ast/util.d.ts
|
|
192
160
|
declare function compact<T extends Record<string, unknown>>(o: T): T;
|
|
@@ -202,5 +170,5 @@ declare function compact<T extends Record<string, unknown>>(o: T): T;
|
|
|
202
170
|
*/
|
|
203
171
|
declare function collectOrderedParamRefs(ast: AnyQueryAst): ReadonlyArray<AnyParamRef>;
|
|
204
172
|
//#endregion
|
|
205
|
-
export {
|
|
206
|
-
//# sourceMappingURL=ast-
|
|
173
|
+
export { sqlFloatDecode as A, sqlTextDecode as B, compact as C, sqlCharEncode as D, sqlCharDescriptor as E, sqlIntColumn as F, sqlVarcharDescriptor as G, sqlTextEncode as H, sqlIntDecode as I, sqlVarcharEncode as K, sqlIntDescriptor as L, sqlFloatDescriptor as M, sqlFloatEncode as N, sqlCharRenderOutputType as O, sqlFloatEncodeJson as P, sqlIntEncode as R, collectOrderedParamRefs as S, sqlCharDecode as T, sqlVarcharColumn as U, sqlTextDescriptor as V, sqlVarcharDecode as W, SqlIntDescriptor as _, LowererContext as a, SqlVarcharCodec as b, SQL_FLOAT_CODEC_ID as c, SQL_VARCHAR_CODEC_ID as d, SqlCharCodec as f, SqlIntCodec as g, SqlFloatDescriptor as h, Lowerer as i, sqlFloatDecodeJson as j, sqlFloatColumn as k, SQL_INT_CODEC_ID as l, SqlFloatCodec as m, AdapterProfile as n, MarkerReadResult as o, SqlCharDescriptor as p, sqlVarcharRenderOutputType as q, AdapterTarget as r, SQL_CHAR_CODEC_ID as s, Adapter as t, SQL_TEXT_CODEC_ID as u, SqlTextCodec as v, sqlCharColumn as w, SqlVarcharDescriptor as x, SqlTextDescriptor as y, sqlTextColumn as z };
|
|
174
|
+
//# sourceMappingURL=ast-PAXgfA8z.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ast-PAXgfA8z.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/ast.d.mts"],"mappings":";;;;;;;;KA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;WAC9B;WACA;WACA;WACA,cAAc;EACvB,YAAY,KAAK,yBAAyB;;cAE9B,oBAAoB;cACpB,qEAAqE,WAAW;cAChF,qBAAqB,iBAAiB;EAClD,OAAO,eAAe,MAAM,mBAAqB;EACjD,OAAO,cAAc,MAAM,mBAAqB;EAChD,WAAW,gBAAgB;EAC3B,WAAW,MAAM;;cAEL,0BAA0B,oBAAoB;WACjD;WACA;WACA;WACA,cAAc,iBAAiB;EACxC,iBAAiB,QAAQ;EACzB,QAAQ,SAAS,gBAAgB,KAAK,yBAAyB;;cAEnD,mBAAmB;cACnB,gBAAgB,SAAS,gEAAgE,WAAW,cAAc;cAClH,wBAAwB,iBAAiB;EACrD,OAAO,eAAe,MAAM,mBAAqB;EACjD,OAAO,cAAc,MAAM,mBAAqB;EAChD,WAAW,gBAAgB;EAC3B,WAAW,MAAM;;cAEL,6BAA6B,oBAAoB;WACpD;WACA;WACA;WACA,cAAc,iBAAiB;EACxC,iBAAiB,QAAQ;EACzB,QAAQ,SAAS,gBAAgB,KAAK,yBAAyB;;cAEnD,sBAAsB;cACtB,mBAAmB,SAAS,gEAAgE,WAAW,iBAAiB;;;iBAGrH,QAAQ,UAAU,yBAAyB,GAAG,IAAI;;;;;;;;;;;iBAWlD,wBAAwB,KAAK,cAAc,cAAc"}
|
package/dist/builder.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { o as Expression, x as ScopeField } from "./expression-
|
|
2
|
-
import { _ as SelectQuery, a as DeleteQuery, c as GatedMethod, f as QueryContext, g as Scope, h as ResolveRow, i as Db, l as GroupedQuery, s as Functions, t as AggregateFunctions, u as InsertQuery, v as Subquery, w as UpdateQuery, x as TableProxy } from "./db-C_ktwEsR-
|
|
1
|
+
import { o as Expression, x as ScopeField } from "./expression-PL-Tra28.mjs";
|
|
2
|
+
import { _ as SelectQuery, a as DeleteQuery, c as GatedMethod, f as QueryContext, g as Scope, h as ResolveRow, i as Db, l as GroupedQuery, s as Functions, t as AggregateFunctions, u as InsertQuery, v as Subquery, w as UpdateQuery, x as TableProxy } from "./db-C_ktwEsR-DSEShniA.mjs";
|
|
3
3
|
export type { AggregateFunctions, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, InsertQuery, QueryContext, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableProxy, UpdateQuery };
|
|
@@ -2,9 +2,9 @@ import { c as SqlStorage } from "./sql-storage-8LqxeLAY-DH4DdUXx.mjs";
|
|
|
2
2
|
import "./types-UcHa2cTe.mjs";
|
|
3
3
|
import { i as SqlOperationEntry } from "./index-C5I8D-MB.mjs";
|
|
4
4
|
import { s as AnyExpression } from "./types-v3qxLLxo-DCeKv7yY.mjs";
|
|
5
|
-
import "./ast-
|
|
6
|
-
import { l as RawCodecInferer, o as Expression, x as ScopeField } from "./expression-
|
|
7
|
-
import { S as TableProxyContract, f as QueryContext, g as Scope, i as Db, o as FieldProxy, p as RawLane, s as Functions, t as AggregateFunctions } from "./db-C_ktwEsR-
|
|
5
|
+
import "./ast-PAXgfA8z.mjs";
|
|
6
|
+
import { l as RawCodecInferer, o as Expression, x as ScopeField } from "./expression-PL-Tra28.mjs";
|
|
7
|
+
import { S as TableProxyContract, f as QueryContext, g as Scope, i as Db, o as FieldProxy, p as RawLane, s as Functions, t as AggregateFunctions } from "./db-C_ktwEsR-DSEShniA.mjs";
|
|
8
8
|
import { c as SqlAggregateDescriptorRegistry, r as ExecutionContext } from "./query-lane-context-Qa-eddrE-kuZ8Z86-.mjs";
|
|
9
9
|
import "./query-lane-context-XMvk7fmY.mjs";
|
|
10
10
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as LiteralExpr, D as OrExpr, F as SubqueryExpr, I as TableSource, L as UpdateAst, O as OrderByItem, P as SelectAst, S as ListExpression, T as NullCheckExpr, V as isAggregateFn, _ as InsertAst, c as DeleteAst, g as IdentifierRef, j as ProjectionItem, k as ParamRef, l as DerivedTableSource, n as AndExpr, o as ColumnRef, p as ExistsExpr, r as BinaryExpr, t as AggregateExpr, y as JoinAst } from "./types-Dt4e_jC--COeP8xzN.mjs";
|
|
2
2
|
import { t as collectOrderedParamRefs } from "./util-DQQgv2j1-D6INZaRG.mjs";
|
|
3
|
-
import { a as toExpr, n as codecOf, r as createRawSql } from "./expression-
|
|
3
|
+
import { a as toExpr, n as codecOf, r as createRawSql } from "./expression-DmQbErXU.mjs";
|
|
4
4
|
import { n as codecRefForStorageColumn } from "./codec-descriptor-registry-N0dhtKaH.mjs";
|
|
5
5
|
import { assertAnnotationsApplicable } from "@prisma/orm-framework/components/runtime";
|
|
6
6
|
//#region ../../../2-sql/4-lanes/sql-builder/dist/runtime/index.mjs
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { o as Expression, x as ScopeField } from "./expression-
|
|
2
|
-
import { C as UnboundTables, S as TableProxyContract, _ as SelectQuery, a as DeleteQuery, b as TableNamesAcrossNamespaces, c as GatedMethod, d as Namespace, f as QueryContext, g as Scope, h as ResolveRow, i as Db, l as GroupedQuery, m as RawTagFor, n as BooleanCodecType, p as RawLane, r as ContractRawTag, s as Functions, t as AggregateFunctions, u as InsertQuery, v as Subquery, w as UpdateQuery, x as TableProxy, y as TableInAnyNamespace } from "./db-C_ktwEsR-
|
|
1
|
+
import { o as Expression, x as ScopeField } from "./expression-PL-Tra28.mjs";
|
|
2
|
+
import { C as UnboundTables, S as TableProxyContract, _ as SelectQuery, a as DeleteQuery, b as TableNamesAcrossNamespaces, c as GatedMethod, d as Namespace, f as QueryContext, g as Scope, h as ResolveRow, i as Db, l as GroupedQuery, m as RawTagFor, n as BooleanCodecType, p as RawLane, r as ContractRawTag, s as Functions, t as AggregateFunctions, u as InsertQuery, v as Subquery, w as UpdateQuery, x as TableProxy, y as TableInAnyNamespace } from "./db-C_ktwEsR-DSEShniA.mjs";
|
|
3
3
|
export type { AggregateFunctions, BooleanCodecType, ContractRawTag, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, InsertQuery, Namespace, QueryContext, RawLane, RawTagFor, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableInAnyNamespace, TableNamesAcrossNamespaces, TableProxy, TableProxyContract, UnboundTables, UpdateQuery };
|
|
@@ -6,11 +6,11 @@ import { r as SqlOperationDescriptors } from "./index-C5I8D-MB.mjs";
|
|
|
6
6
|
import { m as AnyQueryAst } from "./types-v3qxLLxo-DCeKv7yY.mjs";
|
|
7
7
|
import { o as SqlExecuteRequest } from "./driver-types-BQtRkOJ0-Bv2RPSfr.mjs";
|
|
8
8
|
import { s as DdlNode } from "./ddl-types-CXx4vPz6-BsgrnSUY.mjs";
|
|
9
|
-
import { a as LowererContext } from "./ast-
|
|
9
|
+
import { a as LowererContext } from "./ast-PAXgfA8z.mjs";
|
|
10
10
|
import { g as SqlSchemaIR, v as SqlSchemaIRNode } from "./types-YStFFkKs-D9UAmnON.mjs";
|
|
11
11
|
import "./types-Dwcw0F8X.mjs";
|
|
12
|
-
import { i as SqlControlAdapter } from "./control-adapter-C99J7aEF-
|
|
13
|
-
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, O as SqlPlannerFailureResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, h as SqlMigrationPlanner, n as CodecControlHooks, r as CreateSqlMigrationPlanOptions, t as AnyRecord, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, x as SqlMigrationRunnerFailure } from "./types-IqZMLrFC-
|
|
12
|
+
import { i as SqlControlAdapter } from "./control-adapter-C99J7aEF-gFfCQmwC.mjs";
|
|
13
|
+
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, O as SqlPlannerFailureResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, h as SqlMigrationPlanner, n as CodecControlHooks, r as CreateSqlMigrationPlanOptions, t as AnyRecord, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, x as SqlMigrationRunnerFailure } from "./types-IqZMLrFC-BfiR0oFc.mjs";
|
|
14
14
|
import { t as SqlSchemaDiffFn } from "./schema-differ-DpG_gnur-DFAtGezx.mjs";
|
|
15
15
|
import { ColumnDefault, Contract, ControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
16
16
|
import { NotOk, Ok } from "@prisma/orm-framework/utils/result";
|
|
@@ -770,6 +770,18 @@ declare function runnerFailure(code: SqlMigrationRunnerErrorCode, summary: strin
|
|
|
770
770
|
declare const INIT_ADDITIVE_POLICY: MigrationOperationPolicy;
|
|
771
771
|
//#endregion
|
|
772
772
|
//#region src/core/timestamp-now-generator.d.ts
|
|
773
|
+
/**
|
|
774
|
+
* Canonical id for the wall-clock-now mutation default generator.
|
|
775
|
+
*
|
|
776
|
+
* Owned by `family-sql` because that's where the generator lives. The
|
|
777
|
+
* id flows out from here to (1) the control-plane descriptor and the
|
|
778
|
+
* temporal field-preset pair below, (2) the runtime-plane sibling
|
|
779
|
+
* `timestamp-now-runtime-generator.ts`, and (3) authoring surfaces
|
|
780
|
+
* (PSL `temporal.updatedAt()`, TS `field.temporal.updatedAt()`) via
|
|
781
|
+
* the descriptor flow. Co-locating the constant with its only owner
|
|
782
|
+
* keeps the framework layer free of concrete generator ids.
|
|
783
|
+
*/
|
|
784
|
+
declare const TIMESTAMP_NOW_GENERATOR_ID: "timestampNow";
|
|
773
785
|
/**
|
|
774
786
|
* Builds the canonical control-plane descriptor for the wall-clock-now
|
|
775
787
|
* mutation default generator. The descriptor's `id` and `buildPhases`
|
|
@@ -785,16 +797,17 @@ declare function timestampNowControlDescriptor(): MutationDefaultGeneratorDescri
|
|
|
785
797
|
/**
|
|
786
798
|
* Builds the canonical `temporal.{createdAt,updatedAt}` field-preset pair
|
|
787
799
|
* for a SQL target. `createdAt` lowers to a `now()` storage default;
|
|
788
|
-
* `updatedAt` lowers to
|
|
789
|
-
* `
|
|
790
|
-
*
|
|
791
|
-
*
|
|
800
|
+
* `updatedAt` lowers to an execution generator on both `onCreate` and
|
|
801
|
+
* `onUpdate` (RD: "last modified time", non-null). Targets supply the
|
|
802
|
+
* codec/native-type pair that matches their timestamp column; everything
|
|
803
|
+
* else is shared so PSL `temporal.updatedAt()` and TS
|
|
792
804
|
* `field.temporal.updatedAt()` lower to byte-identical contracts across
|
|
793
805
|
* targets by construction.
|
|
794
806
|
*/
|
|
795
|
-
declare function temporalAuthoringPresets<const CodecId extends string, const NativeType extends string>(input: {
|
|
807
|
+
declare function temporalAuthoringPresets<const CodecId extends string, const NativeType extends string, const GeneratorId extends string = typeof TIMESTAMP_NOW_GENERATOR_ID>(input: {
|
|
796
808
|
readonly codecId: CodecId;
|
|
797
809
|
readonly nativeType: NativeType;
|
|
810
|
+
readonly generatorId?: GeneratorId;
|
|
798
811
|
}): {
|
|
799
812
|
readonly createdAt: {
|
|
800
813
|
readonly kind: "fieldPreset";
|
|
@@ -808,6 +821,39 @@ declare function temporalAuthoringPresets<const CodecId extends string, const Na
|
|
|
808
821
|
};
|
|
809
822
|
};
|
|
810
823
|
readonly updatedAt: {
|
|
824
|
+
readonly kind: "fieldPreset";
|
|
825
|
+
readonly output: {
|
|
826
|
+
readonly codecId: CodecId;
|
|
827
|
+
readonly nativeType: NativeType;
|
|
828
|
+
readonly executionDefaults: {
|
|
829
|
+
readonly onCreate: {
|
|
830
|
+
readonly kind: "generator";
|
|
831
|
+
readonly id: "timestampNow" | GeneratorId;
|
|
832
|
+
};
|
|
833
|
+
readonly onUpdate: {
|
|
834
|
+
readonly kind: "generator";
|
|
835
|
+
readonly id: "timestampNow" | GeneratorId;
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
declare function temporalStringAuthoringPresets<const CodecId extends string, const NativeType extends string>(input: {
|
|
842
|
+
readonly codecId: CodecId;
|
|
843
|
+
readonly nativeType: NativeType;
|
|
844
|
+
}): {
|
|
845
|
+
readonly createdAtString: {
|
|
846
|
+
readonly kind: "fieldPreset";
|
|
847
|
+
readonly output: {
|
|
848
|
+
readonly codecId: CodecId;
|
|
849
|
+
readonly nativeType: NativeType;
|
|
850
|
+
readonly default: {
|
|
851
|
+
readonly kind: "function";
|
|
852
|
+
readonly expression: "now()";
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
readonly updatedAtString: {
|
|
811
857
|
readonly kind: "fieldPreset";
|
|
812
858
|
readonly output: {
|
|
813
859
|
readonly codecId: CodecId;
|
|
@@ -827,16 +873,17 @@ declare function temporalAuthoringPresets<const CodecId extends string, const Na
|
|
|
827
873
|
};
|
|
828
874
|
/**
|
|
829
875
|
* Builds a `temporal.<codec>` field preset for a codec that takes a precision
|
|
830
|
-
* parameter (`pg/timestamp@1`, `pg/timestamptz@1`). Arguments change field
|
|
876
|
+
* parameter (`pg/timestamp-temporal@1`, `pg/timestamptz-temporal@1`). Arguments change field
|
|
831
877
|
* properties only — never the codec, which the caller fixes here.
|
|
832
878
|
*
|
|
833
879
|
* All three arguments are optional: omitting `precision` omits `typeParams`
|
|
834
880
|
* entirely, and omitting a phase omits that phase (both omitted omits
|
|
835
881
|
* `executionDefaults`).
|
|
836
882
|
*/
|
|
837
|
-
declare function temporalCodecPresetWithPrecision<const CodecId extends string, const NativeType extends string>(input: {
|
|
883
|
+
declare function temporalCodecPresetWithPrecision<const CodecId extends string, const NativeType extends string, const GeneratorId extends string = typeof TIMESTAMP_NOW_GENERATOR_ID>(input: {
|
|
838
884
|
readonly codecId: CodecId;
|
|
839
885
|
readonly nativeType: NativeType;
|
|
886
|
+
readonly generatorId?: GeneratorId;
|
|
840
887
|
}): {
|
|
841
888
|
readonly kind: "fieldPreset";
|
|
842
889
|
readonly args: readonly [{
|
|
@@ -872,7 +919,7 @@ declare function temporalCodecPresetWithPrecision<const CodecId extends string,
|
|
|
872
919
|
readonly cases: {
|
|
873
920
|
readonly now: {
|
|
874
921
|
readonly kind: "generator";
|
|
875
|
-
readonly id: "timestampNow";
|
|
922
|
+
readonly id: "timestampNow" | GeneratorId;
|
|
876
923
|
};
|
|
877
924
|
};
|
|
878
925
|
};
|
|
@@ -882,7 +929,7 @@ declare function temporalCodecPresetWithPrecision<const CodecId extends string,
|
|
|
882
929
|
readonly cases: {
|
|
883
930
|
readonly now: {
|
|
884
931
|
readonly kind: "generator";
|
|
885
|
-
readonly id: "timestampNow";
|
|
932
|
+
readonly id: "timestampNow" | GeneratorId;
|
|
886
933
|
};
|
|
887
934
|
};
|
|
888
935
|
};
|
|
@@ -941,5 +988,5 @@ declare function temporalCodecPreset<const CodecId extends string, const NativeT
|
|
|
941
988
|
//#region src/exports/control.d.ts
|
|
942
989
|
declare const _default: SqlFamilyDescriptor;
|
|
943
990
|
//#endregion
|
|
944
|
-
export { partitionCallsByControlPolicy as A,
|
|
945
|
-
//# sourceMappingURL=control-
|
|
991
|
+
export { partitionCallsByControlPolicy as A, temporalStringAuthoringPresets as B, buildNativeTypeExpander as C, createMigrationPlan as D, controlPolicyForCall as E, runnerFailure as F, runnerSuccess as I, temporalAuthoringPresets as L, planFieldEventOperations as M, plannerFailure as N, detectDestructiveChanges as O, plannerSuccess as P, temporalCodecPreset as R, assembleAuthoringContributions as S, contractToSchemaIR as T, timestampNowControlDescriptor as V, SqlControlTargetDescriptor as _, EnumNamespaceSchemaResolver as a, TargetMigrationsCapability as b, MigrationOperationPolicy$1 as c, MigrationPlanner as d, MigrationPlannerConflict$1 as f, SqlControlFamilyInstance as g, PlanFieldEventOperationsOptions as h, DefaultResolver as i, partitionIssuesByControlPolicy as j, extractCodecControlHooks as k, MigrationPlan$1 as l, NativeTypeExpander as m, ControlPolicySubject as n, INIT_ADDITIVE_POLICY as o, MigrationPlannerResult as p, DefaultRenderer as r, MigrationOperationClass as s, ContractToSchemaIROptions as t, MigrationPlanOperation$1 as u, SqlDescribedContractSpace as v, contractNamespaceToSchemaIR as w, _default as x, SuppressionRecord as y, temporalCodecPresetWithPrecision as z };
|
|
992
|
+
//# sourceMappingURL=control-CyOPr5No.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-CyOPr5No.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/control.d.mts"],"mappings":"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