@prisma/orm-family-sql 0.16.0 → 0.17.0-dev.2
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/aggregate-descriptor-registry-DPV4z8MS.mjs +111 -0
- package/dist/aggregate-descriptor-registry-DPV4z8MS.mjs.map +1 -0
- package/dist/{ast-DSuzmsWn.d.mts → ast--BZUAzN1.d.mts} +3 -4
- package/dist/ast--BZUAzN1.d.mts.map +1 -0
- package/dist/{ast-BstHjAoG.mjs → ast-DDAyIKdt.mjs} +2 -2
- package/dist/ast-DDAyIKdt.mjs.map +1 -0
- package/dist/builder.d.mts +2 -2
- package/dist/builder__runtime.d.mts +14 -10
- package/dist/builder__runtime.d.mts.map +1 -1
- package/dist/builder__runtime.mjs +161 -107
- package/dist/builder__runtime.mjs.map +1 -1
- package/dist/builder__types.d.mts +2 -2
- package/dist/codec-types-B_xmJL2m-CC_Q-_u9.mjs +24 -0
- package/dist/codec-types-B_xmJL2m-CC_Q-_u9.mjs.map +1 -0
- package/dist/{config-types-47qB33rW.d.mts → config-types-DKKhWdzf.d.mts} +2 -2
- package/dist/{config-types-47qB33rW.d.mts.map → config-types-DKKhWdzf.d.mts.map} +1 -1
- package/dist/{contract-builder-MvJJrQ-5.d.mts → contract-builder-Cj-lKWgM.d.mts} +4 -4
- package/dist/{contract-builder-MvJJrQ-5.d.mts.map → contract-builder-Cj-lKWgM.d.mts.map} +1 -1
- package/dist/contract-emitter.mjs +1 -1
- package/dist/contract-psl.d.mts +2 -2
- package/dist/contract-psl__provider.d.mts +1 -1
- package/dist/contract-ts.d.mts +2 -2
- package/dist/contract-ts__config-types.d.mts +1 -1
- package/dist/contract-ts__contract-builder.d.mts +1 -1
- package/dist/contract.d.mts +6 -6
- package/dist/contract__factories.d.mts +1 -1
- package/dist/contract__index-type-validation.d.mts +1 -1
- package/dist/contract__types.d.mts +3 -3
- package/dist/contract__validators.d.mts +1 -1
- package/dist/{control-BHmsZudH.d.mts → control-BqrVERXN.d.mts} +10 -10
- package/dist/{control-BHmsZudH.d.mts.map → control-BqrVERXN.d.mts.map} +1 -1
- package/dist/{control-adapter-C99J7aEF-C-17lFY8.d.mts → control-adapter-C99J7aEF-mjOpiO_9.d.mts} +6 -6
- package/dist/{control-adapter-C99J7aEF-C-17lFY8.d.mts.map → control-adapter-C99J7aEF-mjOpiO_9.d.mts.map} +1 -1
- package/dist/control-adapter-xEtAQKd9.d.mts +1 -0
- package/dist/{control-B7iS4jv4.mjs → control-mG3RlNzm.mjs} +2 -2
- package/dist/{control-B7iS4jv4.mjs.map → control-mG3RlNzm.mjs.map} +1 -1
- package/dist/{db-DhMsmBS--DKENDi3l.d.mts → db-B5PMfDDd-BiWfkubp.d.mts} +65 -32
- package/dist/db-B5PMfDDd-BiWfkubp.d.mts.map +1 -0
- package/dist/{ddl-types-rrMsf77U-DGctYf-T.d.mts → ddl-types-h_3_pXmq-QBLq6WbP.d.mts} +4 -5
- package/dist/ddl-types-h_3_pXmq-QBLq6WbP.d.mts.map +1 -0
- package/dist/{diff-DhlzHOMD.d.mts → diff-CIIMSaVD.d.mts} +5 -5
- package/dist/{diff-DhlzHOMD.d.mts.map → diff-CIIMSaVD.d.mts.map} +1 -1
- package/dist/{dist-DrScXbhq.mjs → dist-CYkK9Vbk.mjs} +55 -2
- package/dist/dist-CYkK9Vbk.mjs.map +1 -0
- package/dist/{expression-RUO52bJB.mjs → expression-Dhu3dLiu.mjs} +2 -2
- package/dist/{expression-RUO52bJB.mjs.map → expression-Dhu3dLiu.mjs.map} +1 -1
- package/dist/{expression-DIf8F4Mc.d.mts → expression-KPBpeH4T.d.mts} +5 -6
- package/dist/expression-KPBpeH4T.d.mts.map +1 -0
- package/dist/{factories-B7tA4y9D.d.mts → factories-MfcqTt5R.d.mts} +2 -2
- package/dist/{factories-B7tA4y9D.d.mts.map → factories-MfcqTt5R.d.mts.map} +1 -1
- package/dist/family.d.mts +9 -9
- package/dist/family.mjs +1 -1
- package/dist/family__control-adapter.d.mts +2 -2
- package/dist/family__control.d.mts +3 -3
- package/dist/family__control.mjs +1 -1
- package/dist/family__diff.d.mts +2 -2
- package/dist/family__ir.d.mts +1 -1
- package/dist/family__migration.d.mts +1 -1
- package/dist/family__runtime.d.mts +1 -1
- package/dist/{index-BgaTJRxj.d.mts → index-BZF7Wehu.d.mts} +3 -3
- package/dist/{index-BgaTJRxj.d.mts.map → index-BZF7Wehu.d.mts.map} +1 -1
- package/dist/{index-Bb9U36N4.d.mts → index-D_QTT11u.d.mts} +15 -16
- package/dist/index-D_QTT11u.d.mts.map +1 -0
- package/dist/{index-type-validation-DN0L2mqm.d.mts → index-type-validation-D_vuj-76.d.mts} +2 -2
- package/dist/{index-type-validation-DN0L2mqm.d.mts.map → index-type-validation-D_vuj-76.d.mts.map} +1 -1
- package/dist/{ir-B3bKMnGQ.d.mts → ir-Cvj3eU-K.d.mts} +2 -2
- package/dist/{ir-B3bKMnGQ.d.mts.map → ir-Cvj3eU-K.d.mts.map} +1 -1
- package/dist/lane-query-builder.d.mts +3 -3
- package/dist/middleware-ChwIEKBC.d.mts +1 -0
- package/dist/{middleware-B4XbF4d4-tfwBl6mX.d.mts → middleware-eb7YwdD4-D0M6ACQ-.d.mts} +3 -3
- package/dist/{middleware-B4XbF4d4-tfwBl6mX.d.mts.map → middleware-eb7YwdD4-D0M6ACQ-.d.mts.map} +1 -1
- package/dist/{migration-CW0ZJLxP.d.mts → migration-Dtyw2JeL.d.mts} +3 -3
- package/dist/{migration-CW0ZJLxP.d.mts.map → migration-Dtyw2JeL.d.mts.map} +1 -1
- package/dist/operations.d.mts +1 -1
- package/dist/orm-client.d.mts +82 -39
- package/dist/orm-client.d.mts.map +1 -1
- package/dist/orm-client.mjs +174 -128
- package/dist/orm-client.mjs.map +1 -1
- package/dist/{plan-BTD8xFfa-Dd_K-A1R.d.mts → plan-Bmp5R9sq-DKMRkx6Z.d.mts} +4 -4
- package/dist/plan-Bmp5R9sq-DKMRkx6Z.d.mts.map +1 -0
- package/dist/plan-mKgmSe0R.d.mts +2 -0
- package/dist/query-lane-context-Dcj4eXUl.d.mts +1 -0
- package/dist/{query-lane-context-DtdVMqoz-C2Tj5QHA.d.mts → query-lane-context-DjyAyYht-HDNYE_oF.d.mts} +62 -6
- package/dist/query-lane-context-DjyAyYht-HDNYE_oF.d.mts.map +1 -0
- package/dist/relational-core.d.mts +12 -13
- package/dist/relational-core.mjs +4 -3
- package/dist/relational-core__aggregate-descriptor-registry.d.mts +12 -0
- package/dist/relational-core__aggregate-descriptor-registry.d.mts.map +1 -0
- package/dist/relational-core__aggregate-descriptor-registry.mjs +2 -0
- package/dist/relational-core__ast.d.mts +3 -4
- package/dist/relational-core__ast.mjs +3 -2
- package/dist/relational-core__codec-descriptor-registry.d.mts +3 -3
- package/dist/relational-core__contract-free.d.mts +3 -4
- package/dist/relational-core__contract-free.d.mts.map +1 -1
- package/dist/relational-core__contract-free.mjs +1 -1
- package/dist/relational-core__contract-free.mjs.map +1 -1
- package/dist/relational-core__expression.d.mts +1 -1
- package/dist/relational-core__expression.mjs +1 -1
- package/dist/relational-core__middleware.d.mts +2 -2
- package/dist/relational-core__plan.d.mts +3 -3
- package/dist/relational-core__query-lane-context.d.mts +3 -3
- package/dist/relational-core__types.d.mts +2 -2
- package/dist/{runtime-DNewRuec.d.mts → runtime-DXPO2ytG.d.mts} +2 -2
- package/dist/{runtime-DNewRuec.d.mts.map → runtime-DXPO2ytG.d.mts.map} +1 -1
- package/dist/runtime.d.mts +3 -3
- package/dist/runtime.mjs +12 -3
- package/dist/runtime.mjs.map +1 -1
- package/dist/{schema-differ-DpG_gnur-g5_iks8G.d.mts → schema-differ-DpG_gnur-zSwkxqxK.d.mts} +2 -2
- package/dist/{schema-differ-DpG_gnur-g5_iks8G.d.mts.map → schema-differ-DpG_gnur-zSwkxqxK.d.mts.map} +1 -1
- package/dist/{sql-execution-plan-CJmsCP7n-DoEpNn7r.d.mts → sql-execution-plan-Da_d82pz-IHBEmGSa.d.mts} +3 -3
- package/dist/sql-execution-plan-Da_d82pz-IHBEmGSa.d.mts.map +1 -0
- package/dist/{types-DIBA80mc-wf5wLmON.d.mts → types-BwePDa3m-BVrPIi8V.d.mts} +117 -5
- package/dist/types-BwePDa3m-BVrPIi8V.d.mts.map +1 -0
- package/dist/types-Cty2fvYD.d.mts +1 -0
- package/dist/{types-BgkZru_1-H7yfikSQ.mjs → types-D43EhRac-DOJmnq_t.mjs} +4 -21
- package/dist/types-D43EhRac-DOJmnq_t.mjs.map +1 -0
- package/dist/{types-CuDrWc5v-ISVXBmBs.d.mts → types-D_plAPEe-DqK5It_K.d.mts} +30 -4
- package/dist/types-D_plAPEe-DqK5It_K.d.mts.map +1 -0
- package/dist/{types-IqZMLrFC-DtdJNICr.d.mts → types-IqZMLrFC-C1Zu2oo9.d.mts} +5 -5
- package/dist/{types-IqZMLrFC-DtdJNICr.d.mts.map → types-IqZMLrFC-C1Zu2oo9.d.mts.map} +1 -1
- package/dist/{types-Dl20lxky-DC_jdA0T.d.mts → types-dD8JJfeD-BOvMw2Iu.d.mts} +9 -9
- package/dist/{types-Dl20lxky-DC_jdA0T.d.mts.map → types-dD8JJfeD-BOvMw2Iu.d.mts.map} +1 -1
- package/dist/{types-BchwQpmO.d.mts → types-wy2-Y8wQ.d.mts} +2 -2
- package/dist/{types-BchwQpmO.d.mts.map → types-wy2-Y8wQ.d.mts.map} +1 -1
- package/dist/{validators-CxeHhHrf.d.mts → validators-Ds_fvIs_.d.mts} +2 -2
- package/dist/{validators-CxeHhHrf.d.mts.map → validators-Ds_fvIs_.d.mts.map} +1 -1
- package/package.json +24 -18
- package/dist/ast-BstHjAoG.mjs.map +0 -1
- package/dist/ast-DSuzmsWn.d.mts.map +0 -1
- package/dist/codec-types-MOaceoPi-C5eL2sao.d.mts +0 -116
- package/dist/codec-types-MOaceoPi-C5eL2sao.d.mts.map +0 -1
- package/dist/control-adapter-4y1O8Ps3.d.mts +0 -1
- package/dist/db-DhMsmBS--DKENDi3l.d.mts.map +0 -1
- package/dist/ddl-types-rrMsf77U-DGctYf-T.d.mts.map +0 -1
- package/dist/dist-DrScXbhq.mjs.map +0 -1
- package/dist/expression-DIf8F4Mc.d.mts.map +0 -1
- package/dist/index-Bb9U36N4.d.mts.map +0 -1
- package/dist/middleware-ByRsXxxq.d.mts +0 -1
- package/dist/plan-BTD8xFfa-Dd_K-A1R.d.mts.map +0 -1
- package/dist/plan-Cm4jaoNM.d.mts +0 -2
- package/dist/query-lane-context-Bz8XJZ45.d.mts +0 -1
- package/dist/query-lane-context-DtdVMqoz-C2Tj5QHA.d.mts.map +0 -1
- package/dist/sql-execution-plan-CJmsCP7n-DoEpNn7r.d.mts.map +0 -1
- package/dist/types-BgkZru_1-H7yfikSQ.mjs.map +0 -1
- package/dist/types-CuDrWc5v-ISVXBmBs.d.mts.map +0 -1
- package/dist/types-DIBA80mc-wf5wLmON.d.mts.map +0 -1
- package/dist/types-DMxc5KZa.d.mts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder__runtime.mjs","names":["#state","#buildLateral","#addLateralJoin","#addJoin","#tableSource","#tableName","#namespaceId","#table","#scope","#rows","#returningColumns","#rowFields","#annotations","#setExpressions","#whereExprs","#whereCallbacks","#fromSource","#toJoined"],"sources":["../../../../2-sql/4-lanes/sql-builder/dist/runtime/index.mjs"],"sourcesContent":["import { AggregateExpr, AndExpr, BinaryExpr, ColumnRef, DeleteAst, DerivedTableSource, ExistsExpr, IdentifierRef, InsertAst, JoinAst, ListExpression, LiteralExpr, NullCheckExpr, OrExpr, OrderByItem, ParamRef, ProjectionItem, SelectAst, SubqueryExpr, TableSource, UpdateAst, collectOrderedParamRefs } from \"@internal/sql-relational-core/ast\";\nimport { codecOf, createRawSql, toExpr } from \"@internal/sql-relational-core/expression\";\nimport { codecRefForStorageColumn } from \"@internal/sql-relational-core/codec-descriptor-registry\";\nimport { assertAnnotationsApplicable } from \"@internal/framework-components/runtime\";\n//#region src/runtime/expression-impl.ts\n/**\n* Runtime wrapper around a relational-core AST expression node. Carries ScopeField metadata (codecId, nullable) so aggregate-like combinators can propagate the input codec onto their result.\n*\n* `codec` records the column-bound {@link CodecRef} when the field-proxy knows the binding — both the namespaced form (`f.user.email` → `ColumnRef`) and the top-level shortcut (`f.email` → `IdentifierRef`) stamp the ref derived from contract storage. `codecOf(expression)` exposes it for operation implementations forwarding the ref to `toExpr`.\n*/\nvar ExpressionImpl = class {\n\tast;\n\treturnType;\n\tcodec;\n\tconstructor(ast, returnType, codec) {\n\t\tthis.ast = ast;\n\t\tthis.returnType = returnType;\n\t\tthis.codec = codec;\n\t}\n\tbuildAst() {\n\t\treturn this.ast;\n\t}\n};\n//#endregion\n//#region src/runtime/field-proxy.ts\nfunction createFieldProxy(scope) {\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tif (Object.hasOwn(scope.topLevel, prop)) {\n\t\t\tconst topField = scope.topLevel[prop];\n\t\t\tif (topField) return new ExpressionImpl(IdentifierRef.of(prop), topField, topField.codec);\n\t\t}\n\t\tif (Object.hasOwn(scope.namespaces, prop)) {\n\t\t\tconst nsFields = scope.namespaces[prop];\n\t\t\tif (nsFields) return createNamespaceProxy(prop, nsFields);\n\t\t}\n\t} });\n}\nfunction createNamespaceProxy(namespaceName, fields) {\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tif (Object.hasOwn(fields, prop)) {\n\t\t\tconst field = fields[prop];\n\t\t\tif (field) return new ExpressionImpl(ColumnRef.of(namespaceName, prop), field, field.codec);\n\t\t}\n\t} });\n}\n//#endregion\n//#region src/runtime/functions.ts\nconst BOOL_FIELD = {\n\tcodecId: \"pg/bool@1\",\n\tnullable: false\n};\nconst resolve = toExpr;\n/**\n* Resolve a binary-comparison operand into an AST expression, threading the column-bound side's {@link CodecRef} to the raw-value side.\n*\n* For `fns.eq(f.email, 'alice@example.com')`, `f.email` is the column-bound expression carrying a `ColumnRef` AST and a `CodecRef` derived from contract storage; the raw string operand has no codec context. By deriving the codec context from the column-bound side and forwarding it via `toExpr(value, codec)`, the resulting `ParamRef` carries the `CodecRef` that encode-side dispatch needs to materialise the per-instance codec for parameterized codec ids (`vector(1024)` vs. `vector(1536)`).\n*/\nfunction resolveOperand(operand, otherCodec) {\n\tif (isExpressionLike(operand)) return operand.buildAst();\n\treturn toExpr(operand, otherCodec);\n}\nfunction isExpressionLike(value) {\n\treturn typeof value === \"object\" && value !== null && \"buildAst\" in value && typeof value.buildAst === \"function\";\n}\n/**\n* Resolves an Expression via `buildAst()`, or wraps a raw value as a `LiteralExpr` — an SQL literal inlined into the query text, not a bound parameter.\n*\n* Used for `and` / `or` operands. The usual operand is an `Expression<bool>` (e.g. the result of `fns.eq`), which this function passes through by calling `buildAst()`. The only time the raw-value branch fires is when the caller writes `fns.and(true, x)` or similar — inlining `TRUE`/`FALSE` literals lets the SQL planner statically simplify `TRUE AND x` to `x`, which it cannot do for an opaque `ParamRef`.\n*/\nfunction toLiteralExpr(value) {\n\tif (typeof value === \"object\" && value !== null && \"buildAst\" in value && typeof value.buildAst === \"function\") return value.buildAst();\n\treturn new LiteralExpr(value);\n}\nfunction boolExpr(astNode) {\n\treturn new ExpressionImpl(astNode, BOOL_FIELD);\n}\nfunction binaryWithSharedCodec(a, b, build) {\n\tconst aCodec = codecOf(a);\n\treturn build(resolveOperand(a, codecOf(b)), resolveOperand(b, aCodec));\n}\nfunction eq(a, b) {\n\tif (b === null) return boolExpr(NullCheckExpr.isNull(resolve(a)));\n\tif (a === null) return boolExpr(NullCheckExpr.isNull(resolve(b)));\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(\"eq\", l, r)));\n}\nfunction ne(a, b) {\n\tif (b === null) return boolExpr(NullCheckExpr.isNotNull(resolve(a)));\n\tif (a === null) return boolExpr(NullCheckExpr.isNotNull(resolve(b)));\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(\"neq\", l, r)));\n}\nfunction comparison(a, b, op) {\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(op, l, r)));\n}\nfunction inOrNotIn(expr, valuesOrSubquery, op) {\n\tconst left = expr.buildAst();\n\tconst leftCodec = codecOf(expr);\n\tconst binaryFn = op === \"in\" ? BinaryExpr.in : BinaryExpr.notIn;\n\tif (Array.isArray(valuesOrSubquery)) {\n\t\tconst refs = valuesOrSubquery.map((v) => resolveOperand(v, leftCodec));\n\t\treturn boolExpr(binaryFn(left, ListExpression.of(refs)));\n\t}\n\treturn boolExpr(binaryFn(left, SubqueryExpr.of(valuesOrSubquery.buildAst())));\n}\nfunction numericAgg(fn, expr) {\n\treturn new ExpressionImpl(AggregateExpr[fn](expr.buildAst()), {\n\t\tcodecId: expr.returnType.codecId,\n\t\tnullable: true\n\t});\n}\nfunction createBuiltinFunctions(rawCodecInferer) {\n\treturn {\n\t\teq: (a, b) => eq(a, b),\n\t\tne: (a, b) => ne(a, b),\n\t\tgt: (a, b) => comparison(a, b, \"gt\"),\n\t\tgte: (a, b) => comparison(a, b, \"gte\"),\n\t\tlt: (a, b) => comparison(a, b, \"lt\"),\n\t\tlte: (a, b) => comparison(a, b, \"lte\"),\n\t\tand: (...exprs) => boolExpr(AndExpr.of(exprs.map(toLiteralExpr))),\n\t\tor: (...exprs) => boolExpr(OrExpr.of(exprs.map(toLiteralExpr))),\n\t\texists: (subquery) => boolExpr(ExistsExpr.exists(subquery.buildAst())),\n\t\tnotExists: (subquery) => boolExpr(ExistsExpr.notExists(subquery.buildAst())),\n\t\tin: (expr, valuesOrSubquery) => inOrNotIn(expr, valuesOrSubquery, \"in\"),\n\t\tnotIn: (expr, valuesOrSubquery) => inOrNotIn(expr, valuesOrSubquery, \"notIn\"),\n\t\traw: createRawSql(rawCodecInferer)\n\t};\n}\nfunction createAggregateOnlyFunctions() {\n\treturn {\n\t\tcount: (expr) => {\n\t\t\tconst astExpr = expr ? expr.buildAst() : void 0;\n\t\t\treturn new ExpressionImpl(AggregateExpr.count(astExpr), {\n\t\t\t\tcodecId: \"pg/int8@1\",\n\t\t\t\tnullable: false\n\t\t\t});\n\t\t},\n\t\tsum: (expr) => numericAgg(\"sum\", expr),\n\t\tavg: (expr) => numericAgg(\"avg\", expr),\n\t\tmin: (expr) => numericAgg(\"min\", expr),\n\t\tmax: (expr) => numericAgg(\"max\", expr)\n\t};\n}\nfunction createFunctions(operations, rawCodecInferer) {\n\tconst builtins = createBuiltinFunctions(rawCodecInferer);\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tif (Object.hasOwn(builtins, prop)) return builtins[prop];\n\t\tconst op = operations[prop];\n\t\tif (op) return op.impl;\n\t} });\n}\nfunction createAggregateFunctions(operations, rawCodecInferer) {\n\tconst baseFns = createFunctions(operations, rawCodecInferer);\n\tconst aggregates = createAggregateOnlyFunctions();\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tconst agg = aggregates[prop];\n\t\tif (agg) return agg;\n\t\treturn baseFns[prop];\n\t} });\n}\n//#endregion\n//#region src/runtime/resolve-table.ts\nfunction resolveTableInNamespace(storage, namespaceId, tableName) {\n\tconst namespace = storage.namespaces[namespaceId];\n\tif (namespace === void 0) return void 0;\n\tconst tables = namespace.entries.table;\n\tif (tables === void 0 || !Object.hasOwn(tables, tableName)) return void 0;\n\treturn tables[tableName];\n}\n//#endregion\n//#region ../../../1-framework/0-foundation/utils/dist/casts-DpaahrlC.mjs\n/**\n* **Last-resort escape hatch for unsafe type assertions. Not a sanctioned tool to reach for.**\n*\n* Before reaching for `blindCast`, **rewrite the surrounding code so the cast becomes\n* unnecessary**: tighten an input type, add a runtime check that narrows via a type\n* predicate, restructure a generic so the compiler can see the relationship you're\n* asserting, or use {@link castAs} when the value already satisfies the target type.\n* Only when no rewrite is feasible does `blindCast` become the right answer — and at\n* that point, the `Reason` literal you supply must articulate the compromise in\n* language a reviewer can evaluate.\n*\n* The reviewer **will** validate the `Reason`. If it doesn't hold up under scrutiny,\n* that is not a signal to soften the reason; it is a signal to go back and solve the\n* underlying type-system problem properly. An unconvincing justification is rework,\n* not a free pass.\n*\n* `blindCast` is the auditable form of `as Foo` / `as unknown as Foo`: it bypasses\n* the compiler's checks (the input type is `unknown`, the output type is whatever the\n* caller asks for), but it forces the unsafety to be named at the call site instead of\n* smuggled in via a bare `as`. The `Reason` type parameter exists only at compile\n* time — it is not present in the emitted JavaScript — but it is grep-able and\n* visible to future readers.\n*\n* @example\n* ```typescript\n* const stringValue = blindCast<\n* string,\n* \"JSON.parse returns `unknown`; this field is documented to be a string in the API contract\"\n* >(parsed[key]);\n* ```\n*\n* @typeParam TargetType - The type the caller is asserting the input has.\n* @typeParam _Reason - A string literal describing why bypassing the type system is necessary here.\n* Only meaningful at compile time. The reviewer evaluates whether it justifies the unsafety.\n*/\nfunction blindCast(input) {\n\treturn input;\n}\n//#endregion\n//#region ../../../1-framework/0-foundation/utils/dist/defined-BQWA85QH.mjs\n/**\n* Returns an object with the key/value if value is defined, otherwise an empty object.\n*\n* Use with spread to conditionally include optional properties while satisfying\n* exactOptionalPropertyTypes. This is explicit about which properties are optional\n* and won't inadvertently strip other undefined values.\n*\n* @example\n* ```typescript\n* // Instead of:\n* const obj = {\n* required: 'value',\n* ...(optional ? { optional } : {}),\n* };\n*\n* // Use:\n* const obj = {\n* required: 'value',\n* ...ifDefined('optional', optional),\n* };\n* ```\n*/\nfunction ifDefined(key, value) {\n\treturn value !== void 0 ? blindCast({ [key]: value }) : {};\n}\n//#endregion\n//#region ../../../1-framework/0-foundation/utils/dist/structured-error.mjs\nfunction structuredError(code, message, options) {\n\tconst error = options?.cause !== void 0 ? new Error(message, { cause: options.cause }) : new Error(message);\n\tObject.defineProperty(error, \"name\", {\n\t\tvalue: \"StructuredError\",\n\t\tconfigurable: true\n\t});\n\treturn Object.assign(error, {\n\t\tcode,\n\t\t...ifDefined(\"why\", options?.why),\n\t\t...ifDefined(\"fix\", options?.fix),\n\t\t...ifDefined(\"where\", options?.where),\n\t\t...ifDefined(\"severity\", options?.severity),\n\t\t...ifDefined(\"meta\", options?.meta),\n\t\t...ifDefined(\"docsUrl\", options?.docsUrl)\n\t});\n}\n//#endregion\n//#region src/runtime/builder-base.ts\nvar BuilderBase = class {\n\tctx;\n\tconstructor(ctx) {\n\t\tthis.ctx = ctx;\n\t}\n\t_gate(required, methodName, method) {\n\t\treturn ((...args) => {\n\t\t\tassertCapability(this.ctx, required, methodName);\n\t\t\treturn method(...args);\n\t\t});\n\t}\n};\n/**\n* Derive the canonical {@link CodecRef} for a `(table, column)` from the builder context's storage. Returns `undefined` when the builder context has no storage attached or when the column is unknown to the contract.\n*/\nfunction codecRefFor(ctx, namespaceId, tableName, columnName) {\n\tif (!ctx.storage) return void 0;\n\treturn codecRefForStorageColumn(ctx.storage, namespaceId, tableName, columnName);\n}\nfunction emptyState(from, scope) {\n\treturn {\n\t\tfrom,\n\t\tjoins: [],\n\t\tprojections: [],\n\t\twhere: [],\n\t\torderBy: [],\n\t\tgroupBy: [],\n\t\thaving: void 0,\n\t\tlimit: void 0,\n\t\toffset: void 0,\n\t\tdistinct: void 0,\n\t\tdistinctOn: void 0,\n\t\tscope,\n\t\trowFields: {},\n\t\tannotations: /* @__PURE__ */ new Map()\n\t};\n}\nfunction cloneState(state, overrides) {\n\treturn {\n\t\t...state,\n\t\t...overrides\n\t};\n}\nfunction combineWhereExprs(exprs) {\n\tif (exprs.length === 0) return void 0;\n\tif (exprs.length === 1) return exprs[0];\n\treturn AndExpr.of(exprs);\n}\nfunction buildSelectAst(state) {\n\tconst where = combineWhereExprs(state.where);\n\treturn new SelectAst({\n\t\tfrom: state.from,\n\t\tjoins: state.joins.length > 0 ? state.joins : void 0,\n\t\tprojection: state.projections,\n\t\twhere,\n\t\torderBy: state.orderBy.length > 0 ? state.orderBy : void 0,\n\t\tdistinct: state.distinct,\n\t\tdistinctOn: state.distinctOn && state.distinctOn.length > 0 ? state.distinctOn : void 0,\n\t\tgroupBy: state.groupBy.length > 0 ? state.groupBy : void 0,\n\t\thaving: state.having,\n\t\tlimit: state.limit,\n\t\toffset: state.offset,\n\t\tselectAllIntent: void 0\n\t});\n}\nfunction buildQueryPlan(ast, ctx, annotations) {\n\tconst paramValues = collectOrderedParamRefs(ast).map((r) => r.kind === \"param-ref\" ? r.value : void 0);\n\tconst annotationsRecord = annotations !== void 0 && annotations.size > 0 ? Object.freeze(Object.fromEntries(annotations)) : void 0;\n\tconst meta = Object.freeze({\n\t\ttarget: ctx.target,\n\t\tstorageHash: ctx.storageHash,\n\t\tlane: \"dsl\",\n\t\t...ifDefined(\"annotations\", annotationsRecord)\n\t});\n\treturn Object.freeze({\n\t\tast,\n\t\tparams: paramValues,\n\t\tmeta\n\t});\n}\nfunction buildPlan(state, ctx) {\n\treturn buildQueryPlan(buildSelectAst(state), ctx, state.annotations);\n}\nfunction tableToScope(alias, table, options) {\n\tconst storage = options?.storage;\n\tconst lookupName = options?.tableName;\n\tconst namespaceId = options?.namespaceId;\n\tconst fields = {};\n\tfor (const [colName, col] of Object.entries(table.columns)) {\n\t\tconst codec = storage && lookupName && namespaceId !== void 0 ? codecRefForStorageColumn(storage, namespaceId, lookupName, colName) : void 0;\n\t\tfields[colName] = {\n\t\t\tcodecId: col.codecId,\n\t\t\tnullable: col.nullable,\n\t\t\t...col.many ? { many: true } : {},\n\t\t\t...codec !== void 0 ? { codec } : {}\n\t\t};\n\t}\n\treturn {\n\t\ttopLevel: { ...fields },\n\t\tnamespaces: { [alias]: fields }\n\t};\n}\nfunction mergeScopes(a, b) {\n\tconst topLevel = {};\n\tfor (const [k, v] of Object.entries(a.topLevel)) if (!(k in b.topLevel)) topLevel[k] = v;\n\tfor (const [k, v] of Object.entries(b.topLevel)) if (!(k in a.topLevel)) topLevel[k] = v;\n\treturn {\n\t\ttopLevel,\n\t\tnamespaces: {\n\t\t\t...a.namespaces,\n\t\t\t...b.namespaces\n\t\t}\n\t};\n}\nfunction nullableScope(scope) {\n\tconst mkNullable = (tbl) => {\n\t\tconst result = {};\n\t\tfor (const [k, v] of Object.entries(tbl)) result[k] = {\n\t\t\tcodecId: v.codecId,\n\t\t\tnullable: true,\n\t\t\t...v.codec !== void 0 ? { codec: v.codec } : {}\n\t\t};\n\t\treturn result;\n\t};\n\tconst namespaces = {};\n\tfor (const [k, v] of Object.entries(scope.namespaces)) namespaces[k] = mkNullable(v);\n\treturn {\n\t\ttopLevel: mkNullable(scope.topLevel),\n\t\tnamespaces\n\t};\n}\nfunction orderByScopeOf(scope, rowFields) {\n\treturn {\n\t\ttopLevel: {\n\t\t\t...scope.topLevel,\n\t\t\t...rowFields\n\t\t},\n\t\tnamespaces: scope.namespaces\n\t};\n}\nfunction assertCapability(ctx, required, methodName) {\n\tfor (const [ns, keys] of Object.entries(required)) for (const key of Object.keys(keys)) if (!ctx.capabilities[ns]?.[key]) throw structuredError(\"ORM.CAPABILITY_MISSING\", `${methodName}() requires capability ${ns}.${key}`, { meta: {\n\t\tmethod: methodName,\n\t\tcapability: `${ns}.${key}`\n\t} });\n}\nfunction resolveSelectArgs(args, scope, ctx) {\n\tconst projections = [];\n\tconst newRowFields = {};\n\tif (args.length === 0) return {\n\t\tprojections,\n\t\tnewRowFields\n\t};\n\tif (typeof args[0] === \"string\" && (args.length === 1 || typeof args[1] !== \"function\")) {\n\t\tfor (const colName of args) {\n\t\t\tconst field = scope.topLevel[colName];\n\t\t\tif (!field) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${colName}\" not found in scope`, { meta: { column: colName } });\n\t\t\tprojections.push(ProjectionItem.of(colName, IdentifierRef.of(colName), field.codec));\n\t\t\tnewRowFields[colName] = field;\n\t\t}\n\t\treturn {\n\t\t\tprojections,\n\t\t\tnewRowFields\n\t\t};\n\t}\n\tif (typeof args[0] === \"string\" && typeof args[1] === \"function\") {\n\t\tconst alias = args[0];\n\t\tconst exprFn = args[1];\n\t\tconst fns = createAggregateFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer);\n\t\tconst result = exprFn(createFieldProxy(scope), fns);\n\t\tconst field = result.returnType;\n\t\tprojections.push(ProjectionItem.of(alias, result.buildAst(), field.codec));\n\t\tnewRowFields[alias] = field;\n\t\treturn {\n\t\t\tprojections,\n\t\t\tnewRowFields\n\t\t};\n\t}\n\tif (typeof args[0] === \"function\") {\n\t\tconst callbackFn = args[0];\n\t\tconst fns = createAggregateFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer);\n\t\tconst record = callbackFn(createFieldProxy(scope), fns);\n\t\tfor (const [key, expr] of Object.entries(record)) {\n\t\t\tconst field = expr.returnType;\n\t\t\tprojections.push(ProjectionItem.of(key, expr.buildAst(), field.codec));\n\t\t\tnewRowFields[key] = field;\n\t\t}\n\t\treturn {\n\t\t\tprojections,\n\t\t\tnewRowFields\n\t\t};\n\t}\n\tthrow structuredError(\"ORM.ARGUMENT_INVALID\", \"Invalid .select() arguments\");\n}\nfunction resolveOrderBy(arg, options, scope, rowFields, ctx, useAggregateFns) {\n\tconst dir = options?.direction ?? \"asc\";\n\tif (typeof arg === \"string\") {\n\t\tif (!(arg in orderByScopeOf(scope, rowFields).topLevel)) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${arg}\" not found in scope for orderBy`, { meta: { column: arg } });\n\t\tconst expr = IdentifierRef.of(arg);\n\t\treturn dir === \"asc\" ? OrderByItem.asc(expr) : OrderByItem.desc(expr);\n\t}\n\tif (typeof arg === \"function\") {\n\t\tconst combined = orderByScopeOf(scope, rowFields);\n\t\tconst fns = useAggregateFns ? createAggregateFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer) : createFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer);\n\t\tconst result = arg(createFieldProxy(combined), fns);\n\t\treturn dir === \"asc\" ? OrderByItem.asc(result.buildAst()) : OrderByItem.desc(result.buildAst());\n\t}\n\tthrow structuredError(\"ORM.ARGUMENT_INVALID\", \"Invalid orderBy argument\");\n}\nfunction resolveGroupBy(args, scope, rowFields, ctx) {\n\tif (typeof args[0] === \"string\") {\n\t\tconst combined = orderByScopeOf(scope, rowFields);\n\t\treturn args.map((colName) => {\n\t\t\tif (!(colName in combined.topLevel)) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${colName}\" not found in scope for groupBy`, { meta: { column: colName } });\n\t\t\treturn IdentifierRef.of(colName);\n\t\t});\n\t}\n\tif (typeof args[0] === \"function\") {\n\t\tconst combined = orderByScopeOf(scope, rowFields);\n\t\tconst fns = createFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer);\n\t\treturn [args[0](createFieldProxy(combined), fns).buildAst()];\n\t}\n\tthrow structuredError(\"ORM.ARGUMENT_INVALID\", \"Invalid groupBy arguments\");\n}\nfunction resolveDistinctOn(args, scope, rowFields, ctx) {\n\tif (args.length === 1 && typeof args[0] === \"function\") {\n\t\tconst combined = orderByScopeOf(scope, rowFields);\n\t\tconst fns = createFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer);\n\t\treturn [args[0](createFieldProxy(combined), fns).buildAst()];\n\t}\n\tconst combined = orderByScopeOf(scope, rowFields);\n\treturn args.map((colName) => {\n\t\tif (!(colName in combined.topLevel)) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${colName}\" not found in scope for distinctOn`, { meta: { column: colName } });\n\t\treturn IdentifierRef.of(colName);\n\t});\n}\n//#endregion\n//#region src/runtime/query-impl.ts\nvar QueryBase = class extends BuilderBase {\n\tstate;\n\tconstructor(state, ctx) {\n\t\tsuper(ctx);\n\t\tthis.state = state;\n\t}\n\tdistinctOn = this._gate({ postgres: { distinctOn: true } }, \"distinctOn\", (...args) => {\n\t\tconst exprs = resolveDistinctOn(args, this.state.scope, this.state.rowFields, this.ctx);\n\t\treturn this.clone(cloneState(this.state, { distinctOn: [...this.state.distinctOn ?? [], ...exprs] }));\n\t});\n\tlimit(count) {\n\t\tconst limit = typeof count === \"number\" ? count : toExpr(count);\n\t\treturn this.clone(cloneState(this.state, { limit }));\n\t}\n\toffset(count) {\n\t\tconst offset = typeof count === \"number\" ? count : toExpr(count);\n\t\treturn this.clone(cloneState(this.state, { offset }));\n\t}\n\tdistinct() {\n\t\treturn this.clone(cloneState(this.state, { distinct: true }));\n\t}\n\t/**\n\t* Attach one or more annotations to this query plan.\n\t*\n\t* Read builders (`SelectQueryImpl`, `GroupedQueryImpl`) accept\n\t* annotations whose declared `applicableTo` includes `'read'`.\n\t* The type-level `As & ValidAnnotations<'read', As>` gate rejects\n\t* write-only annotations at the call site; the runtime check below\n\t* fails closed for callers that bypass the type gate (cast / `any`).\n\t*\n\t* Multiple `.annotate(...)` calls compose; duplicate namespaces use\n\t* last-write-wins. The accumulated annotations are merged into\n\t* `plan.meta.annotations` at `.build()` time, alongside any framework-\n\t* internal metadata under reserved namespaces (e.g. `codecs`).\n\t*\n\t* Chainable in any position (before / after `.where`, `.select`,\n\t* `.limit`, etc.); the returned builder has the same row type.\n\t*/\n\tannotate(...annotations) {\n\t\tassertAnnotationsApplicable(annotations, \"read\", \"sql-dsl.annotate\");\n\t\tconst next = new Map(this.state.annotations);\n\t\tfor (const annotation of annotations) next.set(annotation.namespace, annotation);\n\t\treturn this.clone(cloneState(this.state, { annotations: next }));\n\t}\n\tgroupBy(...args) {\n\t\tconst exprs = resolveGroupBy(args, this.state.scope, this.state.rowFields, this.ctx);\n\t\treturn new GroupedQueryImpl(cloneState(this.state, { groupBy: [...this.state.groupBy, ...exprs] }), this.ctx);\n\t}\n\tas(alias) {\n\t\tconst ast = buildSelectAst(this.state);\n\t\tconst derivedSource = DerivedTableSource.as(alias, ast);\n\t\tconst scope = {\n\t\t\ttopLevel: this.state.rowFields,\n\t\t\tnamespaces: { [alias]: this.state.rowFields }\n\t\t};\n\t\treturn {\n\t\t\tgetJoinOuterScope: () => scope,\n\t\t\tbuildAst: () => derivedSource\n\t\t};\n\t}\n\tgetRowFields() {\n\t\treturn this.state.rowFields;\n\t}\n\tbuildAst() {\n\t\treturn buildSelectAst(this.state);\n\t}\n\tbuild() {\n\t\treturn buildPlan(this.state, this.ctx);\n\t}\n};\nvar SelectQueryImpl = class SelectQueryImpl extends QueryBase {\n\tclone(state) {\n\t\treturn new SelectQueryImpl(state, this.ctx);\n\t}\n\tselect(...args) {\n\t\tconst { projections, newRowFields } = resolveSelectArgs(args, this.state.scope, this.ctx);\n\t\treturn new SelectQueryImpl(cloneState(this.state, {\n\t\t\tprojections: [...this.state.projections, ...projections],\n\t\t\trowFields: {\n\t\t\t\t...this.state.rowFields,\n\t\t\t\t...newRowFields\n\t\t\t}\n\t\t}), this.ctx);\n\t}\n\twhere(expr) {\n\t\tconst result = expr(createFieldProxy(this.state.scope), createFunctions(this.ctx.queryOperationTypes, this.ctx.rawCodecInferer));\n\t\treturn new SelectQueryImpl(cloneState(this.state, { where: [...this.state.where, result.buildAst()] }), this.ctx);\n\t}\n\torderBy(arg, options) {\n\t\tconst item = resolveOrderBy(arg, options, this.state.scope, this.state.rowFields, this.ctx, false);\n\t\treturn this.clone(cloneState(this.state, { orderBy: [...this.state.orderBy, item] }));\n\t}\n};\nvar GroupedQueryImpl = class GroupedQueryImpl extends QueryBase {\n\tclone(state) {\n\t\treturn new GroupedQueryImpl(state, this.ctx);\n\t}\n\thaving(expr) {\n\t\tconst combined = orderByScopeOf(this.state.scope, this.state.rowFields);\n\t\tconst fns = createAggregateFunctions(this.ctx.queryOperationTypes, this.ctx.rawCodecInferer);\n\t\tconst result = expr(createFieldProxy(combined), fns);\n\t\treturn new GroupedQueryImpl(cloneState(this.state, { having: result.buildAst() }), this.ctx);\n\t}\n\torderBy(arg, options) {\n\t\tconst item = resolveOrderBy(arg, options, this.state.scope, this.state.rowFields, this.ctx, true);\n\t\treturn this.clone(cloneState(this.state, { orderBy: [...this.state.orderBy, item] }));\n\t}\n};\n//#endregion\n//#region src/runtime/joined-tables-impl.ts\nvar JoinedTablesImpl = class JoinedTablesImpl extends BuilderBase {\n\t#state;\n\tconstructor(state, ctx) {\n\t\tsuper(ctx);\n\t\tthis.#state = state;\n\t}\n\tlateralJoin = this._gate({ sql: { lateral: true } }, \"lateralJoin\", (alias, builder) => {\n\t\tconst { derivedSource, lateralScope } = this.#buildLateral(alias, builder);\n\t\tconst resultScope = mergeScopes(this.#state.scope, lateralScope);\n\t\treturn this.#addLateralJoin(\"inner\", resultScope, derivedSource);\n\t});\n\touterLateralJoin = this._gate({ sql: { lateral: true } }, \"outerLateralJoin\", (alias, builder) => {\n\t\tconst { derivedSource, lateralScope } = this.#buildLateral(alias, builder);\n\t\tconst resultScope = mergeScopes(this.#state.scope, nullableScope(lateralScope));\n\t\treturn this.#addLateralJoin(\"left\", resultScope, derivedSource);\n\t});\n\tselect(...args) {\n\t\tconst { projections, newRowFields } = resolveSelectArgs(args, this.#state.scope, this.ctx);\n\t\treturn new SelectQueryImpl(cloneState(this.#state, {\n\t\t\tprojections: [...this.#state.projections, ...projections],\n\t\t\trowFields: {\n\t\t\t\t...this.#state.rowFields,\n\t\t\t\t...newRowFields\n\t\t\t}\n\t\t}), this.ctx);\n\t}\n\tinnerJoin(other, on) {\n\t\tconst targetScope = mergeScopes(this.#state.scope, other.getJoinOuterScope());\n\t\treturn this.#addJoin(other, \"inner\", targetScope, on);\n\t}\n\touterLeftJoin(other, on) {\n\t\tconst targetScope = mergeScopes(this.#state.scope, nullableScope(other.getJoinOuterScope()));\n\t\treturn this.#addJoin(other, \"left\", targetScope, on);\n\t}\n\touterRightJoin(other, on) {\n\t\tconst targetScope = mergeScopes(nullableScope(this.#state.scope), other.getJoinOuterScope());\n\t\treturn this.#addJoin(other, \"right\", targetScope, on);\n\t}\n\touterFullJoin(other, on) {\n\t\tconst targetScope = mergeScopes(nullableScope(this.#state.scope), nullableScope(other.getJoinOuterScope()));\n\t\treturn this.#addJoin(other, \"full\", targetScope, on);\n\t}\n\t#addJoin(other, joinType, resultScope, onExpr) {\n\t\tconst onResult = onExpr(createFieldProxy(mergeScopes(this.#state.scope, other.getJoinOuterScope())), createFunctions(this.ctx.queryOperationTypes, this.ctx.rawCodecInferer));\n\t\tconst joinAst = new JoinAst(joinType, other.buildAst(), onResult.buildAst());\n\t\treturn new JoinedTablesImpl(cloneState(this.#state, {\n\t\t\tjoins: [...this.#state.joins, joinAst],\n\t\t\tscope: resultScope\n\t\t}), this.ctx);\n\t}\n\t#buildLateral(alias, builderFn) {\n\t\tconst subquery = builderFn({ from: (other) => {\n\t\t\tconst otherScope = other.getJoinOuterScope();\n\t\t\tconst parentMerged = mergeScopes(this.#state.scope, otherScope);\n\t\t\treturn new SelectQueryImpl(emptyState(other.buildAst(), parentMerged), this.ctx);\n\t\t} });\n\t\tconst subqueryAst = subquery.buildAst();\n\t\tconst derivedSource = DerivedTableSource.as(alias, subqueryAst);\n\t\tconst subqueryRowFields = subquery.getRowFields();\n\t\treturn {\n\t\t\tderivedSource,\n\t\t\tlateralScope: {\n\t\t\t\ttopLevel: subqueryRowFields,\n\t\t\t\tnamespaces: { [alias]: subqueryRowFields }\n\t\t\t}\n\t\t};\n\t}\n\t#addLateralJoin(joinType, resultScope, derivedSource) {\n\t\tconst joinAst = new JoinAst(joinType, derivedSource, AndExpr.of([]), true);\n\t\treturn new JoinedTablesImpl(cloneState(this.#state, {\n\t\t\tjoins: [...this.#state.joins, joinAst],\n\t\t\tscope: resultScope\n\t\t}), this.ctx);\n\t}\n};\n//#endregion\n//#region src/runtime/mutation-impl.ts\n/**\n* Validates and merges a variadic annotations call into a builder's\n* accumulated user-annotations map. Used by `.annotate(...)` on each of\n* the three mutation builders (`InsertQueryImpl`, `UpdateQueryImpl`,\n* `DeleteQueryImpl`); the read builders share the same logic via\n* `QueryBase.annotate()` in `./query-impl.ts`.\n*\n* Runs `assertAnnotationsApplicable` at call time (not at `.build()`) so\n* inapplicable annotations forced through casts surface immediately\n* rather than at plan-construction time.\n*/\nfunction mergeWriteAnnotations(current, annotations) {\n\tassertAnnotationsApplicable(annotations, \"write\", \"sql-dsl.annotate\");\n\tconst next = new Map(current);\n\tfor (const annotation of annotations) next.set(annotation.namespace, annotation);\n\treturn next;\n}\nfunction buildParamValues(values, namespaceId, table, tableName, op, ctx) {\n\tconst params = {};\n\tfor (const [col, value] of Object.entries(values)) {\n\t\tconst codec = table.columns[col] ? codecRefFor(ctx, namespaceId, tableName, col) : void 0;\n\t\tparams[col] = ParamRef.of(value, codec ? { codec } : void 0);\n\t}\n\tfor (const def of ctx.applyMutationDefaults({\n\t\top,\n\t\tnamespace: namespaceId,\n\t\ttable: tableName,\n\t\tvalues\n\t})) {\n\t\tconst codec = table.columns[def.column] ? codecRefFor(ctx, namespaceId, tableName, def.column) : void 0;\n\t\tparams[def.column] = ParamRef.of(def.value, codec ? { codec } : void 0);\n\t}\n\treturn params;\n}\nfunction buildReturningProjections(tableName, columns, rowFields) {\n\treturn columns.map((col) => ProjectionItem.of(col, ColumnRef.of(tableName, col), rowFields[col]?.codec));\n}\nfunction evaluateWhere(whereCallback, scope, queryOperationTypes, rawCodecInferer) {\n\treturn whereCallback(createFieldProxy(scope), createFunctions(queryOperationTypes, rawCodecInferer)).buildAst();\n}\nfunction evaluateUpdateCallback(callback, scope, queryOperationTypes, rawCodecInferer) {\n\tconst result = callback(createFieldProxy(scope), createFunctions(queryOperationTypes, rawCodecInferer));\n\tconst set = {};\n\tfor (const [col, expr] of Object.entries(result)) if (expr !== void 0) set[col] = expr.buildAst();\n\treturn set;\n}\nfunction buildSetExpressions(exprs, namespaceId, table, tableName, op, ctx) {\n\tconst set = { ...exprs };\n\tfor (const def of ctx.applyMutationDefaults({\n\t\top,\n\t\tnamespace: namespaceId,\n\t\ttable: tableName,\n\t\tvalues: exprs\n\t})) if (!(def.column in set)) {\n\t\tconst codec = table.columns[def.column] ? codecRefFor(ctx, namespaceId, tableName, def.column) : void 0;\n\t\tset[def.column] = ParamRef.of(def.value, ifDefined(\"codec\", codec));\n\t}\n\treturn set;\n}\nvar InsertQueryImpl = class InsertQueryImpl extends BuilderBase {\n\t#tableSource;\n\t#tableName;\n\t#namespaceId;\n\t#table;\n\t#scope;\n\t#rows;\n\t#returningColumns;\n\t#rowFields;\n\t#annotations;\n\tconstructor(tableSource, namespaceId, table, scope, rows, ctx, returningColumns = [], rowFields = {}, annotations = /* @__PURE__ */ new Map()) {\n\t\tsuper(ctx);\n\t\tthis.#tableSource = tableSource;\n\t\tthis.#tableName = tableSource.name;\n\t\tthis.#namespaceId = namespaceId;\n\t\tthis.#table = table;\n\t\tthis.#scope = scope;\n\t\tthis.#rows = rows;\n\t\tthis.#returningColumns = returningColumns;\n\t\tthis.#rowFields = rowFields;\n\t\tthis.#annotations = annotations;\n\t}\n\treturning = this._gate({ sql: { returning: true } }, \"returning\", (...columns) => {\n\t\tconst newRowFields = {};\n\t\tfor (const col of columns) {\n\t\t\tconst field = this.#scope.topLevel[col];\n\t\t\tif (!field) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${col}\" not found in scope`, { meta: { column: col } });\n\t\t\tnewRowFields[col] = field;\n\t\t}\n\t\treturn new InsertQueryImpl(this.#tableSource, this.#namespaceId, this.#table, this.#scope, this.#rows, this.ctx, columns, newRowFields, this.#annotations);\n\t});\n\t/**\n\t* Attach one or more write-typed annotations to this query plan.\n\t* The type-level `As & ValidAnnotations<'write', As>` gate rejects\n\t* read-only annotations at the call site; the runtime check fails\n\t* closed for callers that bypass the type gate. See `QueryBase.annotate`\n\t* in `./query-impl.ts` for the read-builder counterpart.\n\t*/\n\tannotate(...annotations) {\n\t\treturn new InsertQueryImpl(this.#tableSource, this.#namespaceId, this.#table, this.#scope, this.#rows, this.ctx, this.#returningColumns, this.#rowFields, mergeWriteAnnotations(this.#annotations, annotations));\n\t}\n\tbuild() {\n\t\tif (this.#rows.length === 0) throw structuredError(\"ORM.MUTATION_DATA_MISSING\", \"insert() called with an empty row array — at least one row is required\");\n\t\tconst paramRows = this.#rows.map((rowValues) => buildParamValues(rowValues, this.#namespaceId, this.#table, this.#tableName, \"create\", this.ctx));\n\t\tlet ast = InsertAst.into(this.#tableSource).withRows(paramRows);\n\t\tif (this.#returningColumns.length > 0) ast = ast.withReturning(buildReturningProjections(this.#tableName, this.#returningColumns, this.#rowFields));\n\t\treturn buildQueryPlan(ast, this.ctx, this.#annotations);\n\t}\n};\nvar UpdateQueryImpl = class UpdateQueryImpl extends BuilderBase {\n\t#tableSource;\n\t#tableName;\n\t#scope;\n\t#setExpressions;\n\t#whereExprs;\n\t#returningColumns;\n\t#rowFields;\n\t#annotations;\n\tconstructor(tableSource, scope, setExpressions, ctx, whereExprs = [], returningColumns = [], rowFields = {}, annotations = /* @__PURE__ */ new Map()) {\n\t\tsuper(ctx);\n\t\tthis.#tableSource = tableSource;\n\t\tthis.#tableName = tableSource.name;\n\t\tthis.#scope = scope;\n\t\tthis.#setExpressions = setExpressions;\n\t\tthis.#whereExprs = whereExprs;\n\t\tthis.#returningColumns = returningColumns;\n\t\tthis.#rowFields = rowFields;\n\t\tthis.#annotations = annotations;\n\t}\n\twhere(expr) {\n\t\tconst result = expr(createFieldProxy(this.#scope), createFunctions(this.ctx.queryOperationTypes, this.ctx.rawCodecInferer));\n\t\treturn new UpdateQueryImpl(this.#tableSource, this.#scope, this.#setExpressions, this.ctx, [...this.#whereExprs, result.buildAst()], this.#returningColumns, this.#rowFields, this.#annotations);\n\t}\n\treturning = this._gate({ sql: { returning: true } }, \"returning\", (...columns) => {\n\t\tconst newRowFields = {};\n\t\tfor (const col of columns) {\n\t\t\tconst field = this.#scope.topLevel[col];\n\t\t\tif (!field) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${col}\" not found in scope`, { meta: { column: col } });\n\t\t\tnewRowFields[col] = field;\n\t\t}\n\t\treturn new UpdateQueryImpl(this.#tableSource, this.#scope, this.#setExpressions, this.ctx, this.#whereExprs, columns, newRowFields, this.#annotations);\n\t});\n\t/**\n\t* Attach one or more write-typed annotations to this query plan.\n\t* See `InsertQueryImpl.annotate` for semantics; the runtime check\n\t* fails closed for callers that bypass the type-level gate.\n\t*/\n\tannotate(...annotations) {\n\t\treturn new UpdateQueryImpl(this.#tableSource, this.#scope, this.#setExpressions, this.ctx, this.#whereExprs, this.#returningColumns, this.#rowFields, mergeWriteAnnotations(this.#annotations, annotations));\n\t}\n\tbuild() {\n\t\tlet ast = UpdateAst.table(this.#tableSource).withSet(this.#setExpressions).withWhere(combineWhereExprs(this.#whereExprs));\n\t\tif (this.#returningColumns.length > 0) ast = ast.withReturning(buildReturningProjections(this.#tableName, this.#returningColumns, this.#rowFields));\n\t\treturn buildQueryPlan(ast, this.ctx, this.#annotations);\n\t}\n};\nvar DeleteQueryImpl = class DeleteQueryImpl extends BuilderBase {\n\t#tableSource;\n\t#tableName;\n\t#scope;\n\t#whereCallbacks;\n\t#returningColumns;\n\t#rowFields;\n\t#annotations;\n\tconstructor(tableSource, scope, ctx, whereCallbacks = [], returningColumns = [], rowFields = {}, annotations = /* @__PURE__ */ new Map()) {\n\t\tsuper(ctx);\n\t\tthis.#tableSource = tableSource;\n\t\tthis.#tableName = tableSource.name;\n\t\tthis.#scope = scope;\n\t\tthis.#whereCallbacks = whereCallbacks;\n\t\tthis.#returningColumns = returningColumns;\n\t\tthis.#rowFields = rowFields;\n\t\tthis.#annotations = annotations;\n\t}\n\twhere(expr) {\n\t\treturn new DeleteQueryImpl(this.#tableSource, this.#scope, this.ctx, [...this.#whereCallbacks, expr], this.#returningColumns, this.#rowFields, this.#annotations);\n\t}\n\treturning = this._gate({ sql: { returning: true } }, \"returning\", (...columns) => {\n\t\tconst newRowFields = {};\n\t\tfor (const col of columns) {\n\t\t\tconst field = this.#scope.topLevel[col];\n\t\t\tif (!field) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${col}\" not found in scope`, { meta: { column: col } });\n\t\t\tnewRowFields[col] = field;\n\t\t}\n\t\treturn new DeleteQueryImpl(this.#tableSource, this.#scope, this.ctx, this.#whereCallbacks, columns, newRowFields, this.#annotations);\n\t});\n\t/**\n\t* Attach one or more write-typed annotations to this query plan.\n\t* See `InsertQueryImpl.annotate` for semantics.\n\t*/\n\tannotate(...annotations) {\n\t\treturn new DeleteQueryImpl(this.#tableSource, this.#scope, this.ctx, this.#whereCallbacks, this.#returningColumns, this.#rowFields, mergeWriteAnnotations(this.#annotations, annotations));\n\t}\n\tbuild() {\n\t\tconst whereExpr = combineWhereExprs(this.#whereCallbacks.map((cb) => evaluateWhere(cb, this.#scope, this.ctx.queryOperationTypes, this.ctx.rawCodecInferer)));\n\t\tlet ast = DeleteAst.from(this.#tableSource).withWhere(whereExpr);\n\t\tif (this.#returningColumns.length > 0) ast = ast.withReturning(buildReturningProjections(this.#tableName, this.#returningColumns, this.#rowFields));\n\t\treturn buildQueryPlan(ast, this.ctx, this.#annotations);\n\t}\n};\n//#endregion\n//#region src/runtime/table-source-for-proxy.ts\nfunction tableSourceForProxy(tableName, alias, namespaceId) {\n\treturn TableSource.named(tableName, alias !== tableName ? alias : void 0, namespaceId);\n}\n//#endregion\n//#region src/runtime/table-proxy-impl.ts\nvar TableProxyImpl = class TableProxyImpl extends BuilderBase {\n\t#tableName;\n\t#table;\n\t#namespaceId;\n\t#fromSource;\n\t#scope;\n\tconstructor(tableName, table, alias, ctx, namespaceId) {\n\t\tsuper(ctx);\n\t\tthis.#tableName = tableName;\n\t\tthis.#table = table;\n\t\tthis.#namespaceId = namespaceId;\n\t\tthis.#scope = tableToScope(alias, table, {\n\t\t\tstorage: ctx.storage,\n\t\t\ttableName,\n\t\t\tnamespaceId\n\t\t});\n\t\tthis.#fromSource = tableSourceForProxy(tableName, alias, namespaceId);\n\t}\n\tlateralJoin = this._gate({ sql: { lateral: true } }, \"lateralJoin\", (alias, builder) => {\n\t\treturn this.#toJoined().lateralJoin(alias, builder);\n\t});\n\touterLateralJoin = this._gate({ sql: { lateral: true } }, \"outerLateralJoin\", (alias, builder) => {\n\t\treturn this.#toJoined().outerLateralJoin(alias, builder);\n\t});\n\tgetJoinOuterScope() {\n\t\treturn this.#scope;\n\t}\n\tbuildAst() {\n\t\treturn this.#fromSource;\n\t}\n\tas(newAlias) {\n\t\treturn new TableProxyImpl(this.#tableName, this.#table, newAlias, this.ctx, this.#namespaceId);\n\t}\n\tselect(...args) {\n\t\treturn new SelectQueryImpl(emptyState(this.#fromSource, this.#scope), this.ctx).select(...args);\n\t}\n\tinnerJoin(other, on) {\n\t\treturn this.#toJoined().innerJoin(other, on);\n\t}\n\touterLeftJoin(other, on) {\n\t\treturn this.#toJoined().outerLeftJoin(other, on);\n\t}\n\touterRightJoin(other, on) {\n\t\treturn this.#toJoined().outerRightJoin(other, on);\n\t}\n\touterFullJoin(other, on) {\n\t\treturn this.#toJoined().outerFullJoin(other, on);\n\t}\n\tinsert(rows) {\n\t\treturn new InsertQueryImpl(this.#fromSource, this.#namespaceId, this.#table, this.#scope, rows, this.ctx);\n\t}\n\tupdate(setOrCallback) {\n\t\tif (typeof setOrCallback === \"function\") {\n\t\t\tconst setExpressions = buildSetExpressions(evaluateUpdateCallback(setOrCallback, this.#scope, this.ctx.queryOperationTypes, this.ctx.rawCodecInferer), this.#namespaceId, this.#table, this.#tableName, \"update\", this.ctx);\n\t\t\treturn new UpdateQueryImpl(this.#fromSource, this.#scope, setExpressions, this.ctx);\n\t\t}\n\t\tconst setExpressions = buildParamValues(setOrCallback, this.#namespaceId, this.#table, this.#tableName, \"update\", this.ctx);\n\t\treturn new UpdateQueryImpl(this.#fromSource, this.#scope, setExpressions, this.ctx);\n\t}\n\tdelete() {\n\t\treturn new DeleteQueryImpl(this.#fromSource, this.#scope, this.ctx);\n\t}\n\t#toJoined() {\n\t\treturn new JoinedTablesImpl(emptyState(this.#fromSource, this.#scope), this.ctx);\n\t}\n};\n//#endregion\n//#region src/runtime/sql.ts\nfunction sql(options) {\n\tconst { context, rawCodecInferer } = options;\n\tconst ctx = {\n\t\tcapabilities: context.contract.capabilities,\n\t\tqueryOperationTypes: context.queryOperations.entries(),\n\t\ttarget: context.contract.target ?? \"unknown\",\n\t\tstorageHash: context.contract.storage.storageHash ?? \"unknown\",\n\t\tstorage: context.contract.storage,\n\t\tapplyMutationDefaults: (options) => context.applyMutationDefaults(options),\n\t\trawCodecInferer\n\t};\n\tconst { storage } = context.contract;\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tif (typeof prop !== \"string\") return;\n\t\tif (!Object.hasOwn(storage.namespaces, prop)) return;\n\t\tconst namespaceId = prop;\n\t\treturn new Proxy({}, { get(_facetTarget, tableName) {\n\t\t\tif (typeof tableName !== \"string\") return;\n\t\t\tconst table = resolveTableInNamespace(storage, namespaceId, tableName);\n\t\t\tif (table) return new TableProxyImpl(tableName, table, tableName, ctx, namespaceId);\n\t\t} });\n\t} });\n}\n//#endregion\nexport { ExpressionImpl, createAggregateFunctions, createFieldProxy, createFunctions, sql };\n\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;;;;;AAUA,IAAI,iBAAiB,MAAM;CAC1B;CACA;CACA;CACA,YAAY,KAAK,YAAY,OAAO;EACnC,KAAK,MAAM;EACX,KAAK,aAAa;EAClB,KAAK,QAAQ;CACd;CACA,WAAW;EACV,OAAO,KAAK;CACb;AACD;AAGA,SAAS,iBAAiB,OAAO;CAChC,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,SAAS,MAAM;EACzC,IAAI,OAAO,OAAO,MAAM,UAAU,IAAI,GAAG;GACxC,MAAM,WAAW,MAAM,SAAS;GAChC,IAAI,UAAU,OAAO,IAAI,eAAe,cAAc,GAAG,IAAI,GAAG,UAAU,SAAS,KAAK;EACzF;EACA,IAAI,OAAO,OAAO,MAAM,YAAY,IAAI,GAAG;GAC1C,MAAM,WAAW,MAAM,WAAW;GAClC,IAAI,UAAU,OAAO,qBAAqB,MAAM,QAAQ;EACzD;CACD,EAAE,CAAC;AACJ;AACA,SAAS,qBAAqB,eAAe,QAAQ;CACpD,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,SAAS,MAAM;EACzC,IAAI,OAAO,OAAO,QAAQ,IAAI,GAAG;GAChC,MAAM,QAAQ,OAAO;GACrB,IAAI,OAAO,OAAO,IAAI,eAAe,UAAU,GAAG,eAAe,IAAI,GAAG,OAAO,MAAM,KAAK;EAC3F;CACD,EAAE,CAAC;AACJ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nC,aAAa,QAAQ,SAAS,QAAQ,eAAe;EACrD,SAAS,QAAQ,SAAS;EAC1B,wBAAwB,YAAY,QAAQ,sBAAsB,OAAO;EACzE;CACD;CACA,MAAM,EAAE,YAAY,QAAQ;CAC5B,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,SAAS,MAAM;EACzC,IAAI,OAAO,SAAS,UAAU;EAC9B,IAAI,CAAC,OAAO,OAAO,QAAQ,YAAY,IAAI,GAAG;EAC9C,MAAM,cAAc;EACpB,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,cAAc,WAAW;GACnD,IAAI,OAAO,cAAc,UAAU;GACnC,MAAM,QAAQ,wBAAwB,SAAS,aAAa,SAAS;GACrE,IAAI,OAAO,OAAO,IAAI,eAAe,WAAW,OAAO,WAAW,KAAK,WAAW;EACnF,EAAE,CAAC;CACJ,EAAE,CAAC;AACJ"}
|
|
1
|
+
{"version":3,"file":"builder__runtime.mjs","names":["#state","#buildLateral","#addLateralJoin","#addJoin","#tableSource","#tableName","#namespaceId","#table","#scope","#rows","#returningColumns","#rowFields","#annotations","#setExpressions","#whereExprs","#whereCallbacks","#fromSource","#toJoined"],"sources":["../../../../2-sql/4-lanes/sql-builder/dist/runtime/index.mjs"],"sourcesContent":["import { AggregateExpr, AndExpr, BinaryExpr, ColumnRef, DeleteAst, DerivedTableSource, ExistsExpr, IdentifierRef, InsertAst, JoinAst, ListExpression, LiteralExpr, NullCheckExpr, OrExpr, OrderByItem, ParamRef, ProjectionItem, SelectAst, SubqueryExpr, TableSource, UpdateAst, collectOrderedParamRefs } from \"@internal/sql-relational-core/ast\";\nimport { codecOf, createRawSql, toExpr } from \"@internal/sql-relational-core/expression\";\nimport { codecRefForStorageColumn } from \"@internal/sql-relational-core/codec-descriptor-registry\";\nimport { assertAnnotationsApplicable } from \"@internal/framework-components/runtime\";\n//#region src/runtime/expression-impl.ts\n/**\n* Runtime wrapper around a relational-core AST expression node. Carries ScopeField metadata (codecId, nullable) so aggregate-like combinators can propagate the input codec onto their result.\n*\n* `codec` records the column-bound {@link CodecRef} when the field-proxy knows the binding — both the namespaced form (`f.user.email` → `ColumnRef`) and the top-level shortcut (`f.email` → `IdentifierRef`) stamp the ref derived from contract storage. `codecOf(expression)` exposes it for operation implementations forwarding the ref to `toExpr`.\n*\n* `projectionAst` carries the descriptor-lowered rendering of the expression, where a target declares one (e.g. SQLite's `CAST(count(*) AS TEXT)`). Lowering exists to carry the value across the driver boundary, so only the projection site consumes it — predicate and ordering positions (`buildAst()`) keep the plain form, where the rendering would change SQL semantics.\n*/\nvar ExpressionImpl = class {\n\tast;\n\tprojectionAst;\n\treturnType;\n\tcodec;\n\tconstructor(ast, returnType, codec, projectionAst) {\n\t\tthis.ast = ast;\n\t\tthis.returnType = returnType;\n\t\tthis.codec = codec;\n\t\tthis.projectionAst = projectionAst;\n\t}\n\tbuildAst() {\n\t\treturn this.ast;\n\t}\n\tbuildProjectionAst() {\n\t\treturn this.projectionAst ?? this.ast;\n\t}\n};\n/**\n* The AST to project for an expression: the descriptor-lowered form when the expression carries one, the plain form otherwise. `resolveSelectArgs` calls this where a lane expression becomes a `ProjectionItem` — the one place the value crosses the driver boundary.\n*/\nfunction projectionAstOf(expr) {\n\treturn expr instanceof ExpressionImpl ? expr.buildProjectionAst() : expr.buildAst();\n}\n//#endregion\n//#region src/runtime/field-proxy.ts\nfunction createFieldProxy(scope) {\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tif (Object.hasOwn(scope.topLevel, prop)) {\n\t\t\tconst topField = scope.topLevel[prop];\n\t\t\tif (topField) return new ExpressionImpl(IdentifierRef.of(prop), topField, topField.codec);\n\t\t}\n\t\tif (Object.hasOwn(scope.namespaces, prop)) {\n\t\t\tconst nsFields = scope.namespaces[prop];\n\t\t\tif (nsFields) return createNamespaceProxy(prop, nsFields);\n\t\t}\n\t} });\n}\nfunction createNamespaceProxy(namespaceName, fields) {\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tif (Object.hasOwn(fields, prop)) {\n\t\t\tconst field = fields[prop];\n\t\t\tif (field) return new ExpressionImpl(ColumnRef.of(namespaceName, prop), field, field.codec);\n\t\t}\n\t} });\n}\n//#endregion\n//#region ../../../1-framework/0-foundation/utils/dist/casts-DpaahrlC.mjs\n/**\n* **Last-resort escape hatch for unsafe type assertions. Not a sanctioned tool to reach for.**\n*\n* Before reaching for `blindCast`, **rewrite the surrounding code so the cast becomes\n* unnecessary**: tighten an input type, add a runtime check that narrows via a type\n* predicate, restructure a generic so the compiler can see the relationship you're\n* asserting, or use {@link castAs} when the value already satisfies the target type.\n* Only when no rewrite is feasible does `blindCast` become the right answer — and at\n* that point, the `Reason` literal you supply must articulate the compromise in\n* language a reviewer can evaluate.\n*\n* The reviewer **will** validate the `Reason`. If it doesn't hold up under scrutiny,\n* that is not a signal to soften the reason; it is a signal to go back and solve the\n* underlying type-system problem properly. An unconvincing justification is rework,\n* not a free pass.\n*\n* `blindCast` is the auditable form of `as Foo` / `as unknown as Foo`: it bypasses\n* the compiler's checks (the input type is `unknown`, the output type is whatever the\n* caller asks for), but it forces the unsafety to be named at the call site instead of\n* smuggled in via a bare `as`. The `Reason` type parameter exists only at compile\n* time — it is not present in the emitted JavaScript — but it is grep-able and\n* visible to future readers.\n*\n* @example\n* ```typescript\n* const stringValue = blindCast<\n* string,\n* \"JSON.parse returns `unknown`; this field is documented to be a string in the API contract\"\n* >(parsed[key]);\n* ```\n*\n* @typeParam TargetType - The type the caller is asserting the input has.\n* @typeParam _Reason - A string literal describing why bypassing the type system is necessary here.\n* Only meaningful at compile time. The reviewer evaluates whether it justifies the unsafety.\n*/\nfunction blindCast(input) {\n\treturn input;\n}\n//#endregion\n//#region ../../../1-framework/0-foundation/utils/dist/defined-BQWA85QH.mjs\n/**\n* Returns an object with the key/value if value is defined, otherwise an empty object.\n*\n* Use with spread to conditionally include optional properties while satisfying\n* exactOptionalPropertyTypes. This is explicit about which properties are optional\n* and won't inadvertently strip other undefined values.\n*\n* @example\n* ```typescript\n* // Instead of:\n* const obj = {\n* required: 'value',\n* ...(optional ? { optional } : {}),\n* };\n*\n* // Use:\n* const obj = {\n* required: 'value',\n* ...ifDefined('optional', optional),\n* };\n* ```\n*/\nfunction ifDefined(key, value) {\n\treturn value !== void 0 ? blindCast({ [key]: value }) : {};\n}\n//#endregion\n//#region ../../../1-framework/0-foundation/utils/dist/structured-error.mjs\nfunction structuredError(code, message, options) {\n\tconst error = options?.cause !== void 0 ? new Error(message, { cause: options.cause }) : new Error(message);\n\tObject.defineProperty(error, \"name\", {\n\t\tvalue: \"StructuredError\",\n\t\tconfigurable: true\n\t});\n\treturn Object.assign(error, {\n\t\tcode,\n\t\t...ifDefined(\"why\", options?.why),\n\t\t...ifDefined(\"fix\", options?.fix),\n\t\t...ifDefined(\"where\", options?.where),\n\t\t...ifDefined(\"severity\", options?.severity),\n\t\t...ifDefined(\"meta\", options?.meta),\n\t\t...ifDefined(\"docsUrl\", options?.docsUrl)\n\t});\n}\n//#endregion\n//#region src/runtime/functions.ts\nconst BOOL_FIELD = {\n\tcodecId: \"pg/bool@1\",\n\tnullable: false\n};\nconst resolve = toExpr;\n/**\n* Resolve a binary-comparison operand into an AST expression, threading the column-bound side's {@link CodecRef} to the raw-value side.\n*\n* For `fns.eq(f.email, 'alice@example.com')`, `f.email` is the column-bound expression carrying a `ColumnRef` AST and a `CodecRef` derived from contract storage; the raw string operand has no codec context. By deriving the codec context from the column-bound side and forwarding it via `toExpr(value, codec)`, the resulting `ParamRef` carries the `CodecRef` that encode-side dispatch needs to materialise the per-instance codec for parameterized codec ids (`vector(1024)` vs. `vector(1536)`).\n*/\nfunction resolveOperand(operand, otherCodec) {\n\tif (isExpressionLike(operand)) return operand.buildAst();\n\treturn toExpr(operand, otherCodec);\n}\nfunction isExpressionLike(value) {\n\treturn typeof value === \"object\" && value !== null && \"buildAst\" in value && typeof value.buildAst === \"function\";\n}\n/**\n* Resolves an Expression via `buildAst()`, or wraps a raw value as a `LiteralExpr` — an SQL literal inlined into the query text, not a bound parameter.\n*\n* Used for `and` / `or` operands. The usual operand is an `Expression<bool>` (e.g. the result of `fns.eq`), which this function passes through by calling `buildAst()`. The only time the raw-value branch fires is when the caller writes `fns.and(true, x)` or similar — inlining `TRUE`/`FALSE` literals lets the SQL planner statically simplify `TRUE AND x` to `x`, which it cannot do for an opaque `ParamRef`.\n*/\nfunction toLiteralExpr(value) {\n\tif (typeof value === \"object\" && value !== null && \"buildAst\" in value && typeof value.buildAst === \"function\") return value.buildAst();\n\treturn new LiteralExpr(value);\n}\nfunction boolExpr(astNode) {\n\treturn new ExpressionImpl(astNode, BOOL_FIELD);\n}\nfunction binaryWithSharedCodec(a, b, build) {\n\tconst aCodec = codecOf(a);\n\treturn build(resolveOperand(a, codecOf(b)), resolveOperand(b, aCodec));\n}\nfunction eq(a, b) {\n\tif (b === null) return boolExpr(NullCheckExpr.isNull(resolve(a)));\n\tif (a === null) return boolExpr(NullCheckExpr.isNull(resolve(b)));\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(\"eq\", l, r)));\n}\nfunction ne(a, b) {\n\tif (b === null) return boolExpr(NullCheckExpr.isNotNull(resolve(a)));\n\tif (a === null) return boolExpr(NullCheckExpr.isNotNull(resolve(b)));\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(\"neq\", l, r)));\n}\nfunction comparison(a, b, op) {\n\treturn boolExpr(binaryWithSharedCodec(a, b, (l, r) => new BinaryExpr(op, l, r)));\n}\nfunction inOrNotIn(expr, valuesOrSubquery, op) {\n\tconst left = expr.buildAst();\n\tconst leftCodec = codecOf(expr);\n\tconst binaryFn = op === \"in\" ? BinaryExpr.in : BinaryExpr.notIn;\n\tif (Array.isArray(valuesOrSubquery)) {\n\t\tconst refs = valuesOrSubquery.map((v) => resolveOperand(v, leftCodec));\n\t\treturn boolExpr(binaryFn(left, ListExpression.of(refs)));\n\t}\n\treturn boolExpr(binaryFn(left, SubqueryExpr.of(valuesOrSubquery.buildAst())));\n}\n/**\n* Build an aggregate through the target's own answer for it.\n*\n* What an aggregate returns is neither the input's codec nor a fixed id: a\n* target widens `sum` over small integers, takes `avg` somewhere else again,\n* and may want the result rendered a particular way. All three come from the\n* registry, and the result carries the codec it declared so decoding resolves\n* through the ordinary path.\n*\n* The declared rendering (`lower`) exists to carry the value across the driver\n* boundary — a projection concern. It is carried beside the plain form so only\n* the projection site consumes it; HAVING and ORDER BY compare the value inside\n* the database, where the rendering would change SQL semantics (SQLite's\n* `CAST(count(*) AS TEXT)` compares and sorts lexicographically).\n*\n* A pair the target declares no overload for is rejected outright. The typed\n* surface already makes it inexpressible; this backs that up for dynamic\n* invocation, instead of executing SQL whose result no declaration types or\n* decodes — SQLite's `sum` over text, which reads whatever leading numbers the\n* rows happened to hold, is the shape of value that path would hand back.\n*/\nfunction aggregate(aggregates, fn, expr) {\n\tconst field = expr?.returnType;\n\tconst inputCodec = field === void 0 ? void 0 : field.codec ?? { codecId: field.codecId };\n\tconst resolved = aggregates.resolve(fn, inputCodec);\n\tif (resolved === void 0) throw structuredError(\"ORM.AGGREGATE_UNSUPPORTED\", inputCodec === void 0 ? `The composed target declares no '${fn}' aggregate for a call without an input.` : `The composed target declares no '${fn}' aggregate over codec '${inputCodec.codecId}'.`, {\n\t\twhy: \"An aggregate result decodes through the codec its target declares; an undeclared pair has no declared result to type or decode.\",\n\t\tfix: `Aggregate an input the target declares '${fn}' for, or contribute an aggregate descriptor for this pair.`,\n\t\tmeta: {\n\t\t\toperation: fn,\n\t\t\t...ifDefined(\"inputCodecId\", inputCodec?.codecId)\n\t\t}\n\t});\n\tconst inputAst = expr?.buildAst();\n\tconst ast = new AggregateExpr(fn, inputAst);\n\tconst projectionAst = resolved.lower?.({\n\t\texpr: inputAst,\n\t\tinputCodec\n\t});\n\treturn new ExpressionImpl(ast, {\n\t\tcodecId: resolved.output.codecId,\n\t\tnullable: resolved.nullable,\n\t\tcodec: resolved.output\n\t}, void 0, projectionAst);\n}\nfunction createBuiltinFunctions(rawCodecInferer) {\n\treturn {\n\t\teq: (a, b) => eq(a, b),\n\t\tne: (a, b) => ne(a, b),\n\t\tgt: (a, b) => comparison(a, b, \"gt\"),\n\t\tgte: (a, b) => comparison(a, b, \"gte\"),\n\t\tlt: (a, b) => comparison(a, b, \"lt\"),\n\t\tlte: (a, b) => comparison(a, b, \"lte\"),\n\t\tand: (...exprs) => boolExpr(AndExpr.of(exprs.map(toLiteralExpr))),\n\t\tor: (...exprs) => boolExpr(OrExpr.of(exprs.map(toLiteralExpr))),\n\t\texists: (subquery) => boolExpr(ExistsExpr.exists(subquery.buildAst())),\n\t\tnotExists: (subquery) => boolExpr(ExistsExpr.notExists(subquery.buildAst())),\n\t\tin: (expr, valuesOrSubquery) => inOrNotIn(expr, valuesOrSubquery, \"in\"),\n\t\tnotIn: (expr, valuesOrSubquery) => inOrNotIn(expr, valuesOrSubquery, \"notIn\"),\n\t\traw: createRawSql(rawCodecInferer)\n\t};\n}\n/**\n* The aggregate implementations, erased.\n*\n* What each returns is the contract's answer — a function of the target's map\n* and the input's codec — which no runtime value can state. The typed surface\n* is `AggregateFunctions<QC>`, applied where these are handed out.\n*/\nfunction createAggregateOnlyFunctions(aggregates) {\n\treturn {\n\t\tcount: (expr) => aggregate(aggregates, \"count\", expr),\n\t\tsum: (expr) => aggregate(aggregates, \"sum\", expr),\n\t\tavg: (expr) => aggregate(aggregates, \"avg\", expr),\n\t\tmin: (expr) => aggregate(aggregates, \"min\", expr),\n\t\tmax: (expr) => aggregate(aggregates, \"max\", expr)\n\t};\n}\nfunction createFunctions(operations, rawCodecInferer) {\n\tconst builtins = createBuiltinFunctions(rawCodecInferer);\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tif (Object.hasOwn(builtins, prop)) return builtins[prop];\n\t\tconst op = operations[prop];\n\t\tif (op) return op.impl;\n\t} });\n}\nfunction createAggregateFunctions(operations, rawCodecInferer, aggregateRegistry) {\n\tconst baseFns = createFunctions(operations, rawCodecInferer);\n\tconst aggregates = createAggregateOnlyFunctions(aggregateRegistry);\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tconst agg = aggregates[prop];\n\t\tif (agg) return agg;\n\t\treturn baseFns[prop];\n\t} });\n}\n//#endregion\n//#region src/runtime/resolve-table.ts\nfunction resolveTableInNamespace(storage, namespaceId, tableName) {\n\tconst namespace = storage.namespaces[namespaceId];\n\tif (namespace === void 0) return void 0;\n\tconst tables = namespace.entries.table;\n\tif (tables === void 0 || !Object.hasOwn(tables, tableName)) return void 0;\n\treturn tables[tableName];\n}\n//#endregion\n//#region src/runtime/builder-base.ts\nvar BuilderBase = class {\n\tctx;\n\tconstructor(ctx) {\n\t\tthis.ctx = ctx;\n\t}\n\t_gate(required, methodName, method) {\n\t\treturn ((...args) => {\n\t\t\tassertCapability(this.ctx, required, methodName);\n\t\t\treturn method(...args);\n\t\t});\n\t}\n};\n/**\n* Derive the canonical {@link CodecRef} for a `(table, column)` from the builder context's storage. Returns `undefined` when the builder context has no storage attached or when the column is unknown to the contract.\n*/\nfunction codecRefFor(ctx, namespaceId, tableName, columnName) {\n\tif (!ctx.storage) return void 0;\n\treturn codecRefForStorageColumn(ctx.storage, namespaceId, tableName, columnName);\n}\nfunction emptyState(from, scope) {\n\treturn {\n\t\tfrom,\n\t\tjoins: [],\n\t\tprojections: [],\n\t\twhere: [],\n\t\torderBy: [],\n\t\tgroupBy: [],\n\t\thaving: void 0,\n\t\tlimit: void 0,\n\t\toffset: void 0,\n\t\tdistinct: void 0,\n\t\tdistinctOn: void 0,\n\t\tscope,\n\t\trowFields: {},\n\t\tannotations: /* @__PURE__ */ new Map()\n\t};\n}\nfunction cloneState(state, overrides) {\n\treturn {\n\t\t...state,\n\t\t...overrides\n\t};\n}\nfunction combineWhereExprs(exprs) {\n\tif (exprs.length === 0) return void 0;\n\tif (exprs.length === 1) return exprs[0];\n\treturn AndExpr.of(exprs);\n}\nfunction buildSelectAst(state) {\n\tconst where = combineWhereExprs(state.where);\n\treturn new SelectAst({\n\t\tfrom: state.from,\n\t\tjoins: state.joins.length > 0 ? state.joins : void 0,\n\t\tprojection: state.projections,\n\t\twhere,\n\t\torderBy: state.orderBy.length > 0 ? state.orderBy : void 0,\n\t\tdistinct: state.distinct,\n\t\tdistinctOn: state.distinctOn && state.distinctOn.length > 0 ? state.distinctOn : void 0,\n\t\tgroupBy: state.groupBy.length > 0 ? state.groupBy : void 0,\n\t\thaving: state.having,\n\t\tlimit: state.limit,\n\t\toffset: state.offset,\n\t\tselectAllIntent: void 0\n\t});\n}\nfunction buildQueryPlan(ast, ctx, annotations) {\n\tconst paramValues = collectOrderedParamRefs(ast).map((r) => r.kind === \"param-ref\" ? r.value : void 0);\n\tconst annotationsRecord = annotations !== void 0 && annotations.size > 0 ? Object.freeze(Object.fromEntries(annotations)) : void 0;\n\tconst meta = Object.freeze({\n\t\ttarget: ctx.target,\n\t\tstorageHash: ctx.storageHash,\n\t\tlane: \"dsl\",\n\t\t...ifDefined(\"annotations\", annotationsRecord)\n\t});\n\treturn Object.freeze({\n\t\tast,\n\t\tparams: paramValues,\n\t\tmeta\n\t});\n}\nfunction buildPlan(state, ctx) {\n\treturn buildQueryPlan(buildSelectAst(state), ctx, state.annotations);\n}\nfunction tableToScope(alias, table, options) {\n\tconst storage = options?.storage;\n\tconst lookupName = options?.tableName;\n\tconst namespaceId = options?.namespaceId;\n\tconst fields = {};\n\tfor (const [colName, col] of Object.entries(table.columns)) {\n\t\tconst codec = storage && lookupName && namespaceId !== void 0 ? codecRefForStorageColumn(storage, namespaceId, lookupName, colName) : void 0;\n\t\tfields[colName] = {\n\t\t\tcodecId: col.codecId,\n\t\t\tnullable: col.nullable,\n\t\t\t...col.many ? { many: true } : {},\n\t\t\t...codec !== void 0 ? { codec } : {}\n\t\t};\n\t}\n\treturn {\n\t\ttopLevel: { ...fields },\n\t\tnamespaces: { [alias]: fields }\n\t};\n}\nfunction mergeScopes(a, b) {\n\tconst topLevel = {};\n\tfor (const [k, v] of Object.entries(a.topLevel)) if (!(k in b.topLevel)) topLevel[k] = v;\n\tfor (const [k, v] of Object.entries(b.topLevel)) if (!(k in a.topLevel)) topLevel[k] = v;\n\treturn {\n\t\ttopLevel,\n\t\tnamespaces: {\n\t\t\t...a.namespaces,\n\t\t\t...b.namespaces\n\t\t}\n\t};\n}\nfunction nullableScope(scope) {\n\tconst mkNullable = (tbl) => {\n\t\tconst result = {};\n\t\tfor (const [k, v] of Object.entries(tbl)) result[k] = {\n\t\t\tcodecId: v.codecId,\n\t\t\tnullable: true,\n\t\t\t...v.codec !== void 0 ? { codec: v.codec } : {}\n\t\t};\n\t\treturn result;\n\t};\n\tconst namespaces = {};\n\tfor (const [k, v] of Object.entries(scope.namespaces)) namespaces[k] = mkNullable(v);\n\treturn {\n\t\ttopLevel: mkNullable(scope.topLevel),\n\t\tnamespaces\n\t};\n}\nfunction orderByScopeOf(scope, rowFields) {\n\treturn {\n\t\ttopLevel: {\n\t\t\t...scope.topLevel,\n\t\t\t...rowFields\n\t\t},\n\t\tnamespaces: scope.namespaces\n\t};\n}\nfunction assertCapability(ctx, required, methodName) {\n\tfor (const [ns, keys] of Object.entries(required)) for (const key of Object.keys(keys)) if (!ctx.capabilities[ns]?.[key]) throw structuredError(\"ORM.CAPABILITY_MISSING\", `${methodName}() requires capability ${ns}.${key}`, { meta: {\n\t\tmethod: methodName,\n\t\tcapability: `${ns}.${key}`\n\t} });\n}\nfunction resolveSelectArgs(args, scope, ctx) {\n\tconst projections = [];\n\tconst newRowFields = {};\n\tif (args.length === 0) return {\n\t\tprojections,\n\t\tnewRowFields\n\t};\n\tif (typeof args[0] === \"string\" && (args.length === 1 || typeof args[1] !== \"function\")) {\n\t\tfor (const colName of args) {\n\t\t\tconst field = scope.topLevel[colName];\n\t\t\tif (!field) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${colName}\" not found in scope`, { meta: { column: colName } });\n\t\t\tprojections.push(ProjectionItem.of(colName, IdentifierRef.of(colName), field.codec));\n\t\t\tnewRowFields[colName] = field;\n\t\t}\n\t\treturn {\n\t\t\tprojections,\n\t\t\tnewRowFields\n\t\t};\n\t}\n\tif (typeof args[0] === \"string\" && typeof args[1] === \"function\") {\n\t\tconst alias = args[0];\n\t\tconst exprFn = args[1];\n\t\tconst fns = createAggregateFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer, ctx.aggregates);\n\t\tconst result = exprFn(createFieldProxy(scope), fns);\n\t\tconst field = result.returnType;\n\t\tprojections.push(ProjectionItem.of(alias, projectionAstOf(result), field.codec));\n\t\tnewRowFields[alias] = field;\n\t\treturn {\n\t\t\tprojections,\n\t\t\tnewRowFields\n\t\t};\n\t}\n\tif (typeof args[0] === \"function\") {\n\t\tconst callbackFn = args[0];\n\t\tconst fns = createAggregateFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer, ctx.aggregates);\n\t\tconst record = callbackFn(createFieldProxy(scope), fns);\n\t\tfor (const [key, expr] of Object.entries(record)) {\n\t\t\tconst field = expr.returnType;\n\t\t\tprojections.push(ProjectionItem.of(key, projectionAstOf(expr), field.codec));\n\t\t\tnewRowFields[key] = field;\n\t\t}\n\t\treturn {\n\t\t\tprojections,\n\t\t\tnewRowFields\n\t\t};\n\t}\n\tthrow structuredError(\"ORM.ARGUMENT_INVALID\", \"Invalid .select() arguments\");\n}\nfunction resolveOrderBy(arg, options, scope, rowFields, ctx, useAggregateFns) {\n\tconst dir = options?.direction ?? \"asc\";\n\tif (typeof arg === \"string\") {\n\t\tif (!(arg in orderByScopeOf(scope, rowFields).topLevel)) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${arg}\" not found in scope for orderBy`, { meta: { column: arg } });\n\t\tconst expr = IdentifierRef.of(arg);\n\t\treturn dir === \"asc\" ? OrderByItem.asc(expr) : OrderByItem.desc(expr);\n\t}\n\tif (typeof arg === \"function\") {\n\t\tconst combined = orderByScopeOf(scope, rowFields);\n\t\tconst fns = useAggregateFns ? createAggregateFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer, ctx.aggregates) : createFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer);\n\t\tconst result = arg(createFieldProxy(combined), fns);\n\t\treturn dir === \"asc\" ? OrderByItem.asc(result.buildAst()) : OrderByItem.desc(result.buildAst());\n\t}\n\tthrow structuredError(\"ORM.ARGUMENT_INVALID\", \"Invalid orderBy argument\");\n}\nfunction resolveGroupBy(args, scope, rowFields, ctx) {\n\tif (typeof args[0] === \"string\") {\n\t\tconst combined = orderByScopeOf(scope, rowFields);\n\t\treturn args.map((colName) => {\n\t\t\tif (!(colName in combined.topLevel)) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${colName}\" not found in scope for groupBy`, { meta: { column: colName } });\n\t\t\treturn IdentifierRef.of(colName);\n\t\t});\n\t}\n\tif (typeof args[0] === \"function\") {\n\t\tconst combined = orderByScopeOf(scope, rowFields);\n\t\tconst fns = createFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer);\n\t\treturn [args[0](createFieldProxy(combined), fns).buildAst()];\n\t}\n\tthrow structuredError(\"ORM.ARGUMENT_INVALID\", \"Invalid groupBy arguments\");\n}\nfunction resolveDistinctOn(args, scope, rowFields, ctx) {\n\tif (args.length === 1 && typeof args[0] === \"function\") {\n\t\tconst combined = orderByScopeOf(scope, rowFields);\n\t\tconst fns = createFunctions(ctx.queryOperationTypes, ctx.rawCodecInferer);\n\t\treturn [args[0](createFieldProxy(combined), fns).buildAst()];\n\t}\n\tconst combined = orderByScopeOf(scope, rowFields);\n\treturn args.map((colName) => {\n\t\tif (!(colName in combined.topLevel)) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${colName}\" not found in scope for distinctOn`, { meta: { column: colName } });\n\t\treturn IdentifierRef.of(colName);\n\t});\n}\n//#endregion\n//#region src/runtime/query-impl.ts\nvar QueryBase = class extends BuilderBase {\n\tstate;\n\tconstructor(state, ctx) {\n\t\tsuper(ctx);\n\t\tthis.state = state;\n\t}\n\tdistinctOn = this._gate({ postgres: { distinctOn: true } }, \"distinctOn\", (...args) => {\n\t\tconst exprs = resolveDistinctOn(args, this.state.scope, this.state.rowFields, this.ctx);\n\t\treturn this.clone(cloneState(this.state, { distinctOn: [...this.state.distinctOn ?? [], ...exprs] }));\n\t});\n\tlimit(count) {\n\t\tconst limit = typeof count === \"number\" ? count : toExpr(count);\n\t\treturn this.clone(cloneState(this.state, { limit }));\n\t}\n\toffset(count) {\n\t\tconst offset = typeof count === \"number\" ? count : toExpr(count);\n\t\treturn this.clone(cloneState(this.state, { offset }));\n\t}\n\tdistinct() {\n\t\treturn this.clone(cloneState(this.state, { distinct: true }));\n\t}\n\t/**\n\t* Attach one or more annotations to this query plan.\n\t*\n\t* Read builders (`SelectQueryImpl`, `GroupedQueryImpl`) accept\n\t* annotations whose declared `applicableTo` includes `'read'`.\n\t* The type-level `As & ValidAnnotations<'read', As>` gate rejects\n\t* write-only annotations at the call site; the runtime check below\n\t* fails closed for callers that bypass the type gate (cast / `any`).\n\t*\n\t* Multiple `.annotate(...)` calls compose; duplicate namespaces use\n\t* last-write-wins. The accumulated annotations are merged into\n\t* `plan.meta.annotations` at `.build()` time, alongside any framework-\n\t* internal metadata under reserved namespaces (e.g. `codecs`).\n\t*\n\t* Chainable in any position (before / after `.where`, `.select`,\n\t* `.limit`, etc.); the returned builder has the same row type.\n\t*/\n\tannotate(...annotations) {\n\t\tassertAnnotationsApplicable(annotations, \"read\", \"sql-dsl.annotate\");\n\t\tconst next = new Map(this.state.annotations);\n\t\tfor (const annotation of annotations) next.set(annotation.namespace, annotation);\n\t\treturn this.clone(cloneState(this.state, { annotations: next }));\n\t}\n\tgroupBy(...args) {\n\t\tconst exprs = resolveGroupBy(args, this.state.scope, this.state.rowFields, this.ctx);\n\t\treturn new GroupedQueryImpl(cloneState(this.state, { groupBy: [...this.state.groupBy, ...exprs] }), this.ctx);\n\t}\n\tas(alias) {\n\t\tconst ast = buildSelectAst(this.state);\n\t\tconst derivedSource = DerivedTableSource.as(alias, ast);\n\t\tconst scope = {\n\t\t\ttopLevel: this.state.rowFields,\n\t\t\tnamespaces: { [alias]: this.state.rowFields }\n\t\t};\n\t\treturn {\n\t\t\tgetJoinOuterScope: () => scope,\n\t\t\tbuildAst: () => derivedSource\n\t\t};\n\t}\n\tgetRowFields() {\n\t\treturn this.state.rowFields;\n\t}\n\tbuildAst() {\n\t\treturn buildSelectAst(this.state);\n\t}\n\tbuild() {\n\t\treturn buildPlan(this.state, this.ctx);\n\t}\n};\nvar SelectQueryImpl = class SelectQueryImpl extends QueryBase {\n\tclone(state) {\n\t\treturn new SelectQueryImpl(state, this.ctx);\n\t}\n\tselect(...args) {\n\t\tconst { projections, newRowFields } = resolveSelectArgs(args, this.state.scope, this.ctx);\n\t\treturn new SelectQueryImpl(cloneState(this.state, {\n\t\t\tprojections: [...this.state.projections, ...projections],\n\t\t\trowFields: {\n\t\t\t\t...this.state.rowFields,\n\t\t\t\t...newRowFields\n\t\t\t}\n\t\t}), this.ctx);\n\t}\n\twhere(expr) {\n\t\tconst result = expr(createFieldProxy(this.state.scope), createFunctions(this.ctx.queryOperationTypes, this.ctx.rawCodecInferer));\n\t\treturn new SelectQueryImpl(cloneState(this.state, { where: [...this.state.where, result.buildAst()] }), this.ctx);\n\t}\n\torderBy(arg, options) {\n\t\tconst item = resolveOrderBy(arg, options, this.state.scope, this.state.rowFields, this.ctx, false);\n\t\treturn this.clone(cloneState(this.state, { orderBy: [...this.state.orderBy, item] }));\n\t}\n};\nvar GroupedQueryImpl = class GroupedQueryImpl extends QueryBase {\n\tclone(state) {\n\t\treturn new GroupedQueryImpl(state, this.ctx);\n\t}\n\thaving(expr) {\n\t\tconst combined = orderByScopeOf(this.state.scope, this.state.rowFields);\n\t\tconst fns = createAggregateFunctions(this.ctx.queryOperationTypes, this.ctx.rawCodecInferer, this.ctx.aggregates);\n\t\tconst result = expr(createFieldProxy(combined), fns);\n\t\treturn new GroupedQueryImpl(cloneState(this.state, { having: result.buildAst() }), this.ctx);\n\t}\n\torderBy(arg, options) {\n\t\tconst item = resolveOrderBy(arg, options, this.state.scope, this.state.rowFields, this.ctx, true);\n\t\treturn this.clone(cloneState(this.state, { orderBy: [...this.state.orderBy, item] }));\n\t}\n};\n//#endregion\n//#region src/runtime/joined-tables-impl.ts\nvar JoinedTablesImpl = class JoinedTablesImpl extends BuilderBase {\n\t#state;\n\tconstructor(state, ctx) {\n\t\tsuper(ctx);\n\t\tthis.#state = state;\n\t}\n\tlateralJoin = this._gate({ sql: { lateral: true } }, \"lateralJoin\", (alias, builder) => {\n\t\tconst { derivedSource, lateralScope } = this.#buildLateral(alias, builder);\n\t\tconst resultScope = mergeScopes(this.#state.scope, lateralScope);\n\t\treturn this.#addLateralJoin(\"inner\", resultScope, derivedSource);\n\t});\n\touterLateralJoin = this._gate({ sql: { lateral: true } }, \"outerLateralJoin\", (alias, builder) => {\n\t\tconst { derivedSource, lateralScope } = this.#buildLateral(alias, builder);\n\t\tconst resultScope = mergeScopes(this.#state.scope, nullableScope(lateralScope));\n\t\treturn this.#addLateralJoin(\"left\", resultScope, derivedSource);\n\t});\n\tselect(...args) {\n\t\tconst { projections, newRowFields } = resolveSelectArgs(args, this.#state.scope, this.ctx);\n\t\treturn new SelectQueryImpl(cloneState(this.#state, {\n\t\t\tprojections: [...this.#state.projections, ...projections],\n\t\t\trowFields: {\n\t\t\t\t...this.#state.rowFields,\n\t\t\t\t...newRowFields\n\t\t\t}\n\t\t}), this.ctx);\n\t}\n\tinnerJoin(other, on) {\n\t\tconst targetScope = mergeScopes(this.#state.scope, other.getJoinOuterScope());\n\t\treturn this.#addJoin(other, \"inner\", targetScope, on);\n\t}\n\touterLeftJoin(other, on) {\n\t\tconst targetScope = mergeScopes(this.#state.scope, nullableScope(other.getJoinOuterScope()));\n\t\treturn this.#addJoin(other, \"left\", targetScope, on);\n\t}\n\touterRightJoin(other, on) {\n\t\tconst targetScope = mergeScopes(nullableScope(this.#state.scope), other.getJoinOuterScope());\n\t\treturn this.#addJoin(other, \"right\", targetScope, on);\n\t}\n\touterFullJoin(other, on) {\n\t\tconst targetScope = mergeScopes(nullableScope(this.#state.scope), nullableScope(other.getJoinOuterScope()));\n\t\treturn this.#addJoin(other, \"full\", targetScope, on);\n\t}\n\t#addJoin(other, joinType, resultScope, onExpr) {\n\t\tconst onResult = onExpr(createFieldProxy(mergeScopes(this.#state.scope, other.getJoinOuterScope())), createFunctions(this.ctx.queryOperationTypes, this.ctx.rawCodecInferer));\n\t\tconst joinAst = new JoinAst(joinType, other.buildAst(), onResult.buildAst());\n\t\treturn new JoinedTablesImpl(cloneState(this.#state, {\n\t\t\tjoins: [...this.#state.joins, joinAst],\n\t\t\tscope: resultScope\n\t\t}), this.ctx);\n\t}\n\t#buildLateral(alias, builderFn) {\n\t\tconst subquery = builderFn({ from: (other) => {\n\t\t\tconst otherScope = other.getJoinOuterScope();\n\t\t\tconst parentMerged = mergeScopes(this.#state.scope, otherScope);\n\t\t\treturn new SelectQueryImpl(emptyState(other.buildAst(), parentMerged), this.ctx);\n\t\t} });\n\t\tconst subqueryAst = subquery.buildAst();\n\t\tconst derivedSource = DerivedTableSource.as(alias, subqueryAst);\n\t\tconst subqueryRowFields = subquery.getRowFields();\n\t\treturn {\n\t\t\tderivedSource,\n\t\t\tlateralScope: {\n\t\t\t\ttopLevel: subqueryRowFields,\n\t\t\t\tnamespaces: { [alias]: subqueryRowFields }\n\t\t\t}\n\t\t};\n\t}\n\t#addLateralJoin(joinType, resultScope, derivedSource) {\n\t\tconst joinAst = new JoinAst(joinType, derivedSource, AndExpr.of([]), true);\n\t\treturn new JoinedTablesImpl(cloneState(this.#state, {\n\t\t\tjoins: [...this.#state.joins, joinAst],\n\t\t\tscope: resultScope\n\t\t}), this.ctx);\n\t}\n};\n//#endregion\n//#region src/runtime/mutation-impl.ts\n/**\n* Validates and merges a variadic annotations call into a builder's\n* accumulated user-annotations map. Used by `.annotate(...)` on each of\n* the three mutation builders (`InsertQueryImpl`, `UpdateQueryImpl`,\n* `DeleteQueryImpl`); the read builders share the same logic via\n* `QueryBase.annotate()` in `./query-impl.ts`.\n*\n* Runs `assertAnnotationsApplicable` at call time (not at `.build()`) so\n* inapplicable annotations forced through casts surface immediately\n* rather than at plan-construction time.\n*/\nfunction mergeWriteAnnotations(current, annotations) {\n\tassertAnnotationsApplicable(annotations, \"write\", \"sql-dsl.annotate\");\n\tconst next = new Map(current);\n\tfor (const annotation of annotations) next.set(annotation.namespace, annotation);\n\treturn next;\n}\nfunction buildParamValues(values, namespaceId, table, tableName, op, ctx) {\n\tconst params = {};\n\tfor (const [col, value] of Object.entries(values)) {\n\t\tconst codec = table.columns[col] ? codecRefFor(ctx, namespaceId, tableName, col) : void 0;\n\t\tparams[col] = ParamRef.of(value, codec ? { codec } : void 0);\n\t}\n\tfor (const def of ctx.applyMutationDefaults({\n\t\top,\n\t\tnamespace: namespaceId,\n\t\ttable: tableName,\n\t\tvalues\n\t})) {\n\t\tconst codec = table.columns[def.column] ? codecRefFor(ctx, namespaceId, tableName, def.column) : void 0;\n\t\tparams[def.column] = ParamRef.of(def.value, codec ? { codec } : void 0);\n\t}\n\treturn params;\n}\nfunction buildReturningProjections(tableName, columns, rowFields) {\n\treturn columns.map((col) => ProjectionItem.of(col, ColumnRef.of(tableName, col), rowFields[col]?.codec));\n}\nfunction evaluateWhere(whereCallback, scope, queryOperationTypes, rawCodecInferer) {\n\treturn whereCallback(createFieldProxy(scope), createFunctions(queryOperationTypes, rawCodecInferer)).buildAst();\n}\nfunction evaluateUpdateCallback(callback, scope, queryOperationTypes, rawCodecInferer) {\n\tconst result = callback(createFieldProxy(scope), createFunctions(queryOperationTypes, rawCodecInferer));\n\tconst set = {};\n\tfor (const [col, expr] of Object.entries(result)) if (expr !== void 0) set[col] = expr.buildAst();\n\treturn set;\n}\nfunction buildSetExpressions(exprs, namespaceId, table, tableName, op, ctx) {\n\tconst set = { ...exprs };\n\tfor (const def of ctx.applyMutationDefaults({\n\t\top,\n\t\tnamespace: namespaceId,\n\t\ttable: tableName,\n\t\tvalues: exprs\n\t})) if (!(def.column in set)) {\n\t\tconst codec = table.columns[def.column] ? codecRefFor(ctx, namespaceId, tableName, def.column) : void 0;\n\t\tset[def.column] = ParamRef.of(def.value, ifDefined(\"codec\", codec));\n\t}\n\treturn set;\n}\nvar InsertQueryImpl = class InsertQueryImpl extends BuilderBase {\n\t#tableSource;\n\t#tableName;\n\t#namespaceId;\n\t#table;\n\t#scope;\n\t#rows;\n\t#returningColumns;\n\t#rowFields;\n\t#annotations;\n\tconstructor(tableSource, namespaceId, table, scope, rows, ctx, returningColumns = [], rowFields = {}, annotations = /* @__PURE__ */ new Map()) {\n\t\tsuper(ctx);\n\t\tthis.#tableSource = tableSource;\n\t\tthis.#tableName = tableSource.name;\n\t\tthis.#namespaceId = namespaceId;\n\t\tthis.#table = table;\n\t\tthis.#scope = scope;\n\t\tthis.#rows = rows;\n\t\tthis.#returningColumns = returningColumns;\n\t\tthis.#rowFields = rowFields;\n\t\tthis.#annotations = annotations;\n\t}\n\treturning = this._gate({ sql: { returning: true } }, \"returning\", (...columns) => {\n\t\tconst newRowFields = {};\n\t\tfor (const col of columns) {\n\t\t\tconst field = this.#scope.topLevel[col];\n\t\t\tif (!field) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${col}\" not found in scope`, { meta: { column: col } });\n\t\t\tnewRowFields[col] = field;\n\t\t}\n\t\treturn new InsertQueryImpl(this.#tableSource, this.#namespaceId, this.#table, this.#scope, this.#rows, this.ctx, columns, newRowFields, this.#annotations);\n\t});\n\t/**\n\t* Attach one or more write-typed annotations to this query plan.\n\t* The type-level `As & ValidAnnotations<'write', As>` gate rejects\n\t* read-only annotations at the call site; the runtime check fails\n\t* closed for callers that bypass the type gate. See `QueryBase.annotate`\n\t* in `./query-impl.ts` for the read-builder counterpart.\n\t*/\n\tannotate(...annotations) {\n\t\treturn new InsertQueryImpl(this.#tableSource, this.#namespaceId, this.#table, this.#scope, this.#rows, this.ctx, this.#returningColumns, this.#rowFields, mergeWriteAnnotations(this.#annotations, annotations));\n\t}\n\tbuild() {\n\t\tif (this.#rows.length === 0) throw structuredError(\"ORM.MUTATION_DATA_MISSING\", \"insert() called with an empty row array — at least one row is required\");\n\t\tconst paramRows = this.#rows.map((rowValues) => buildParamValues(rowValues, this.#namespaceId, this.#table, this.#tableName, \"create\", this.ctx));\n\t\tlet ast = InsertAst.into(this.#tableSource).withRows(paramRows);\n\t\tif (this.#returningColumns.length > 0) ast = ast.withReturning(buildReturningProjections(this.#tableName, this.#returningColumns, this.#rowFields));\n\t\treturn buildQueryPlan(ast, this.ctx, this.#annotations);\n\t}\n};\nvar UpdateQueryImpl = class UpdateQueryImpl extends BuilderBase {\n\t#tableSource;\n\t#tableName;\n\t#scope;\n\t#setExpressions;\n\t#whereExprs;\n\t#returningColumns;\n\t#rowFields;\n\t#annotations;\n\tconstructor(tableSource, scope, setExpressions, ctx, whereExprs = [], returningColumns = [], rowFields = {}, annotations = /* @__PURE__ */ new Map()) {\n\t\tsuper(ctx);\n\t\tthis.#tableSource = tableSource;\n\t\tthis.#tableName = tableSource.name;\n\t\tthis.#scope = scope;\n\t\tthis.#setExpressions = setExpressions;\n\t\tthis.#whereExprs = whereExprs;\n\t\tthis.#returningColumns = returningColumns;\n\t\tthis.#rowFields = rowFields;\n\t\tthis.#annotations = annotations;\n\t}\n\twhere(expr) {\n\t\tconst result = expr(createFieldProxy(this.#scope), createFunctions(this.ctx.queryOperationTypes, this.ctx.rawCodecInferer));\n\t\treturn new UpdateQueryImpl(this.#tableSource, this.#scope, this.#setExpressions, this.ctx, [...this.#whereExprs, result.buildAst()], this.#returningColumns, this.#rowFields, this.#annotations);\n\t}\n\treturning = this._gate({ sql: { returning: true } }, \"returning\", (...columns) => {\n\t\tconst newRowFields = {};\n\t\tfor (const col of columns) {\n\t\t\tconst field = this.#scope.topLevel[col];\n\t\t\tif (!field) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${col}\" not found in scope`, { meta: { column: col } });\n\t\t\tnewRowFields[col] = field;\n\t\t}\n\t\treturn new UpdateQueryImpl(this.#tableSource, this.#scope, this.#setExpressions, this.ctx, this.#whereExprs, columns, newRowFields, this.#annotations);\n\t});\n\t/**\n\t* Attach one or more write-typed annotations to this query plan.\n\t* See `InsertQueryImpl.annotate` for semantics; the runtime check\n\t* fails closed for callers that bypass the type-level gate.\n\t*/\n\tannotate(...annotations) {\n\t\treturn new UpdateQueryImpl(this.#tableSource, this.#scope, this.#setExpressions, this.ctx, this.#whereExprs, this.#returningColumns, this.#rowFields, mergeWriteAnnotations(this.#annotations, annotations));\n\t}\n\tbuild() {\n\t\tlet ast = UpdateAst.table(this.#tableSource).withSet(this.#setExpressions).withWhere(combineWhereExprs(this.#whereExprs));\n\t\tif (this.#returningColumns.length > 0) ast = ast.withReturning(buildReturningProjections(this.#tableName, this.#returningColumns, this.#rowFields));\n\t\treturn buildQueryPlan(ast, this.ctx, this.#annotations);\n\t}\n};\nvar DeleteQueryImpl = class DeleteQueryImpl extends BuilderBase {\n\t#tableSource;\n\t#tableName;\n\t#scope;\n\t#whereCallbacks;\n\t#returningColumns;\n\t#rowFields;\n\t#annotations;\n\tconstructor(tableSource, scope, ctx, whereCallbacks = [], returningColumns = [], rowFields = {}, annotations = /* @__PURE__ */ new Map()) {\n\t\tsuper(ctx);\n\t\tthis.#tableSource = tableSource;\n\t\tthis.#tableName = tableSource.name;\n\t\tthis.#scope = scope;\n\t\tthis.#whereCallbacks = whereCallbacks;\n\t\tthis.#returningColumns = returningColumns;\n\t\tthis.#rowFields = rowFields;\n\t\tthis.#annotations = annotations;\n\t}\n\twhere(expr) {\n\t\treturn new DeleteQueryImpl(this.#tableSource, this.#scope, this.ctx, [...this.#whereCallbacks, expr], this.#returningColumns, this.#rowFields, this.#annotations);\n\t}\n\treturning = this._gate({ sql: { returning: true } }, \"returning\", (...columns) => {\n\t\tconst newRowFields = {};\n\t\tfor (const col of columns) {\n\t\t\tconst field = this.#scope.topLevel[col];\n\t\t\tif (!field) throw structuredError(\"ORM.COLUMN_UNKNOWN\", `Column \"${col}\" not found in scope`, { meta: { column: col } });\n\t\t\tnewRowFields[col] = field;\n\t\t}\n\t\treturn new DeleteQueryImpl(this.#tableSource, this.#scope, this.ctx, this.#whereCallbacks, columns, newRowFields, this.#annotations);\n\t});\n\t/**\n\t* Attach one or more write-typed annotations to this query plan.\n\t* See `InsertQueryImpl.annotate` for semantics.\n\t*/\n\tannotate(...annotations) {\n\t\treturn new DeleteQueryImpl(this.#tableSource, this.#scope, this.ctx, this.#whereCallbacks, this.#returningColumns, this.#rowFields, mergeWriteAnnotations(this.#annotations, annotations));\n\t}\n\tbuild() {\n\t\tconst whereExpr = combineWhereExprs(this.#whereCallbacks.map((cb) => evaluateWhere(cb, this.#scope, this.ctx.queryOperationTypes, this.ctx.rawCodecInferer)));\n\t\tlet ast = DeleteAst.from(this.#tableSource).withWhere(whereExpr);\n\t\tif (this.#returningColumns.length > 0) ast = ast.withReturning(buildReturningProjections(this.#tableName, this.#returningColumns, this.#rowFields));\n\t\treturn buildQueryPlan(ast, this.ctx, this.#annotations);\n\t}\n};\n//#endregion\n//#region src/runtime/table-source-for-proxy.ts\nfunction tableSourceForProxy(tableName, alias, namespaceId) {\n\treturn TableSource.named(tableName, alias !== tableName ? alias : void 0, namespaceId);\n}\n//#endregion\n//#region src/runtime/table-proxy-impl.ts\nvar TableProxyImpl = class TableProxyImpl extends BuilderBase {\n\t#tableName;\n\t#table;\n\t#namespaceId;\n\t#fromSource;\n\t#scope;\n\tconstructor(tableName, table, alias, ctx, namespaceId) {\n\t\tsuper(ctx);\n\t\tthis.#tableName = tableName;\n\t\tthis.#table = table;\n\t\tthis.#namespaceId = namespaceId;\n\t\tthis.#scope = tableToScope(alias, table, {\n\t\t\tstorage: ctx.storage,\n\t\t\ttableName,\n\t\t\tnamespaceId\n\t\t});\n\t\tthis.#fromSource = tableSourceForProxy(tableName, alias, namespaceId);\n\t}\n\tlateralJoin = this._gate({ sql: { lateral: true } }, \"lateralJoin\", (alias, builder) => {\n\t\treturn this.#toJoined().lateralJoin(alias, builder);\n\t});\n\touterLateralJoin = this._gate({ sql: { lateral: true } }, \"outerLateralJoin\", (alias, builder) => {\n\t\treturn this.#toJoined().outerLateralJoin(alias, builder);\n\t});\n\tgetJoinOuterScope() {\n\t\treturn this.#scope;\n\t}\n\tbuildAst() {\n\t\treturn this.#fromSource;\n\t}\n\tas(newAlias) {\n\t\treturn new TableProxyImpl(this.#tableName, this.#table, newAlias, this.ctx, this.#namespaceId);\n\t}\n\tselect(...args) {\n\t\treturn new SelectQueryImpl(emptyState(this.#fromSource, this.#scope), this.ctx).select(...args);\n\t}\n\tinnerJoin(other, on) {\n\t\treturn this.#toJoined().innerJoin(other, on);\n\t}\n\touterLeftJoin(other, on) {\n\t\treturn this.#toJoined().outerLeftJoin(other, on);\n\t}\n\touterRightJoin(other, on) {\n\t\treturn this.#toJoined().outerRightJoin(other, on);\n\t}\n\touterFullJoin(other, on) {\n\t\treturn this.#toJoined().outerFullJoin(other, on);\n\t}\n\tinsert(rows) {\n\t\treturn new InsertQueryImpl(this.#fromSource, this.#namespaceId, this.#table, this.#scope, rows, this.ctx);\n\t}\n\tupdate(setOrCallback) {\n\t\tif (typeof setOrCallback === \"function\") {\n\t\t\tconst setExpressions = buildSetExpressions(evaluateUpdateCallback(setOrCallback, this.#scope, this.ctx.queryOperationTypes, this.ctx.rawCodecInferer), this.#namespaceId, this.#table, this.#tableName, \"update\", this.ctx);\n\t\t\treturn new UpdateQueryImpl(this.#fromSource, this.#scope, setExpressions, this.ctx);\n\t\t}\n\t\tconst setExpressions = buildParamValues(setOrCallback, this.#namespaceId, this.#table, this.#tableName, \"update\", this.ctx);\n\t\treturn new UpdateQueryImpl(this.#fromSource, this.#scope, setExpressions, this.ctx);\n\t}\n\tdelete() {\n\t\treturn new DeleteQueryImpl(this.#fromSource, this.#scope, this.ctx);\n\t}\n\t#toJoined() {\n\t\treturn new JoinedTablesImpl(emptyState(this.#fromSource, this.#scope), this.ctx);\n\t}\n};\n//#endregion\n//#region src/runtime/sql.ts\nfunction sql(options) {\n\tconst { context, rawCodecInferer } = options;\n\tconst ctx = {\n\t\tcapabilities: context.contract.capabilities,\n\t\tqueryOperationTypes: context.queryOperations.entries(),\n\t\ttarget: context.contract.target ?? \"unknown\",\n\t\tstorageHash: context.contract.storage.storageHash ?? \"unknown\",\n\t\tstorage: context.contract.storage,\n\t\tapplyMutationDefaults: (options) => context.applyMutationDefaults(options),\n\t\trawCodecInferer,\n\t\taggregates: context.aggregateDescriptors\n\t};\n\tconst { storage } = context.contract;\n\treturn new Proxy({}, { get(_target, prop) {\n\t\tif (typeof prop !== \"string\") return;\n\t\tif (!Object.hasOwn(storage.namespaces, prop)) return;\n\t\tconst namespaceId = prop;\n\t\treturn new Proxy({}, { get(_facetTarget, tableName) {\n\t\t\tif (typeof tableName !== \"string\") return;\n\t\t\tconst table = resolveTableInNamespace(storage, namespaceId, tableName);\n\t\t\tif (table) return new TableProxyImpl(tableName, table, tableName, ctx, namespaceId);\n\t\t} });\n\t} });\n}\n//#endregion\nexport { ExpressionImpl, createAggregateFunctions, createFieldProxy, createFunctions, sql };\n\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;;;;;;;AAYA,IAAI,iBAAiB,MAAM;CAC1B;CACA;CACA;CACA;CACA,YAAY,KAAK,YAAY,OAAO,eAAe;EAClD,KAAK,MAAM;EACX,KAAK,aAAa;EAClB,KAAK,QAAQ;EACb,KAAK,gBAAgB;CACtB;CACA,WAAW;EACV,OAAO,KAAK;CACb;CACA,qBAAqB;EACpB,OAAO,KAAK,iBAAiB,KAAK;CACnC;AACD;;;;AAIA,SAAS,gBAAgB,MAAM;CAC9B,OAAO,gBAAgB,iBAAiB,KAAK,mBAAmB,IAAI,KAAK,SAAS;AACnF;AAGA,SAAS,iBAAiB,OAAO;CAChC,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,SAAS,MAAM;EACzC,IAAI,OAAO,OAAO,MAAM,UAAU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,QAAQ,sBAAsB,OAAO;EACzE;EACA,YAAY,QAAQ;CACrB;CACA,MAAM,EAAE,YAAY,QAAQ;CAC5B,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,SAAS,MAAM;EACzC,IAAI,OAAO,SAAS,UAAU;EAC9B,IAAI,CAAC,OAAO,OAAO,QAAQ,YAAY,IAAI,GAAG;EAC9C,MAAM,cAAc;EACpB,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,cAAc,WAAW;GACnD,IAAI,OAAO,cAAc,UAAU;GACnC,MAAM,QAAQ,wBAAwB,SAAS,aAAa,SAAS;GACrE,IAAI,OAAO,OAAO,IAAI,eAAe,WAAW,OAAO,WAAW,KAAK,WAAW;EACnF,EAAE,CAAC;CACJ,EAAE,CAAC;AACJ"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as Expression, u as ScopeField } from "./expression-
|
|
2
|
-
import { _ as TableNamesAcrossNamespaces, b as UnboundTables, c as GroupedQuery, d as QueryContext, f as ResolveRow, g as TableInAnyNamespace, h as Subquery, i as DeleteQuery, l as InsertQuery, m as SelectQuery, n as BooleanCodecType, o as Functions, p as Scope, r as Db, s as GatedMethod, t as AggregateFunctions, u as Namespace, v as TableProxy, x as UpdateQuery, y as TableProxyContract } from "./db-
|
|
1
|
+
import { a as Expression, u as ScopeField } from "./expression-KPBpeH4T.mjs";
|
|
2
|
+
import { _ as TableNamesAcrossNamespaces, b as UnboundTables, c as GroupedQuery, d as QueryContext, f as ResolveRow, g as TableInAnyNamespace, h as Subquery, i as DeleteQuery, l as InsertQuery, m as SelectQuery, n as BooleanCodecType, o as Functions, p as Scope, r as Db, s as GatedMethod, t as AggregateFunctions, u as Namespace, v as TableProxy, x as UpdateQuery, y as TableProxyContract } from "./db-B5PMfDDd-BiWfkubp.mjs";
|
|
3
3
|
export type { AggregateFunctions, BooleanCodecType, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, InsertQuery, Namespace, QueryContext, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableInAnyNamespace, TableNamesAcrossNamespaces, TableProxy, TableProxyContract, UnboundTables, UpdateQuery };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
2
|
+
//#region ../../../2-sql/4-lanes/relational-core/dist/codec-types-B_xmJL2m.mjs
|
|
3
|
+
function isJsonArray(value) {
|
|
4
|
+
return Array.isArray(value);
|
|
5
|
+
}
|
|
6
|
+
function freezeJsonValue(value) {
|
|
7
|
+
if (value === null || typeof value !== "object") return;
|
|
8
|
+
if (isJsonArray(value)) for (const item of value) freezeJsonValue(item);
|
|
9
|
+
else for (const item of Object.values(value)) freezeJsonValue(item);
|
|
10
|
+
Object.freeze(value);
|
|
11
|
+
}
|
|
12
|
+
function frozenCodecRef(codec) {
|
|
13
|
+
const typeParams = codec.typeParams === void 0 ? void 0 : structuredClone(codec.typeParams);
|
|
14
|
+
if (typeParams !== void 0) freezeJsonValue(typeParams);
|
|
15
|
+
return Object.freeze({
|
|
16
|
+
codecId: codec.codecId,
|
|
17
|
+
...ifDefined("typeParams", typeParams),
|
|
18
|
+
...ifDefined("many", codec.many)
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { frozenCodecRef as t };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=codec-types-B_xmJL2m-CC_Q-_u9.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-B_xmJL2m-CC_Q-_u9.mjs","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/codec-types-B_xmJL2m.mjs"],"sourcesContent":["import { ifDefined } from \"@internal/utils/defined\";\n//#region src/ast/codec-types.ts\nfunction isJsonArray(value) {\n\treturn Array.isArray(value);\n}\nfunction freezeJsonValue(value) {\n\tif (value === null || typeof value !== \"object\") return;\n\tif (isJsonArray(value)) for (const item of value) freezeJsonValue(item);\n\telse for (const item of Object.values(value)) freezeJsonValue(item);\n\tObject.freeze(value);\n}\nfunction frozenCodecRef(codec) {\n\tconst typeParams = codec.typeParams === void 0 ? void 0 : structuredClone(codec.typeParams);\n\tif (typeParams !== void 0) freezeJsonValue(typeParams);\n\treturn Object.freeze({\n\t\tcodecId: codec.codecId,\n\t\t...ifDefined(\"typeParams\", typeParams),\n\t\t...ifDefined(\"many\", codec.many)\n\t});\n}\n//#endregion\nexport { frozenCodecRef as t };\n\n//# sourceMappingURL=codec-types-B_xmJL2m.mjs.map"],"mappings":";;AAEA,SAAS,YAAY,OAAO;CAC3B,OAAO,MAAM,QAAQ,KAAK;AAC3B;AACA,SAAS,gBAAgB,OAAO;CAC/B,IAAI,UAAU,QAAQ,OAAO,UAAU,UAAU;CACjD,IAAI,YAAY,KAAK,GAAG,KAAK,MAAM,QAAQ,OAAO,gBAAgB,IAAI;MACjE,KAAK,MAAM,QAAQ,OAAO,OAAO,KAAK,GAAG,gBAAgB,IAAI;CAClE,OAAO,OAAO,KAAK;AACpB;AACA,SAAS,eAAe,OAAO;CAC9B,MAAM,aAAa,MAAM,eAAe,KAAK,IAAI,KAAK,IAAI,gBAAgB,MAAM,UAAU;CAC1F,IAAI,eAAe,KAAK,GAAG,gBAAgB,UAAU;CACrD,OAAO,OAAO,OAAO;EACpB,SAAS,MAAM;EACf,GAAG,UAAU,cAAc,UAAU;EACrC,GAAG,UAAU,QAAQ,MAAM,IAAI;CAChC,CAAC;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as SqlNamespaceBase, s as SqlNamespaceInput } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
2
|
-
import "./types-
|
|
2
|
+
import "./types-wy2-Y8wQ.mjs";
|
|
3
3
|
import { Contract, ControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
4
4
|
import { TargetPackRef } from "@prisma/orm-framework/components/components";
|
|
5
5
|
import { ContractConfig, ContractConfig as ContractConfig$1 } from "@prisma/orm-framework/config/config-types";
|
|
@@ -18,4 +18,4 @@ declare function typescriptContract(contract: Contract, output?: string, options
|
|
|
18
18
|
declare function typescriptContractFromPath(contractPath: string, output?: string, options?: TypeScriptContractSpecifierOptions): ContractConfig;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { typescriptContractFromPath as i, emptyContract as n, typescriptContract as r, ContractConfig$1 as t };
|
|
21
|
-
//# sourceMappingURL=config-types-
|
|
21
|
+
//# sourceMappingURL=config-types-DKKhWdzf.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-types-
|
|
1
|
+
{"version":3,"file":"config-types-DKKhWdzf.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-ts/dist/config-types.d.mts"],"mappings":";;;;;;;UAKU;WACC,uBAAuB;;iBAEjB,cAAc;WACpB;WACA,QAAQ;WACR,kBAAkB,OAAO,sBAAsB;WAC/C,uBAAuB;IAC9B;iBACa,mBAAmB,UAAU,UAAU,iBAAiB,UAAU,qCAAqC;iBACvG,2BAA2B,sBAAsB,iBAAiB,UAAU,qCAAqC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as ReferentialAction } from "./foreign-key-BSy9u4O4-BnsOe5Nf.mjs";
|
|
2
2
|
import { t as Index$1 } from "./sql-index-DsI8HAeK-BJsn-jvD.mjs";
|
|
3
3
|
import { c as SqlStorage, d as StorageTypeInstance, i as SqlNamespaceBase, s as SqlNamespaceInput } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import "./types-
|
|
4
|
+
import { P as TypeMaps, o as ContractWithTypeMaps } from "./types-D_plAPEe-DqK5It_K.mjs";
|
|
5
|
+
import "./types-wy2-Y8wQ.mjs";
|
|
6
6
|
import { r as PackEntityHandle } from "./entity-handle-lowering-hook-CIvRKBfa.mjs";
|
|
7
7
|
import { n as AuthoredIndexMethod } from "./index-naming-BZWoh45T.mjs";
|
|
8
8
|
import { i as IndexTypeRegistration } from "./index-types-DPVhsW0v-D-BikM4h.mjs";
|
|
@@ -11,8 +11,8 @@ import { StorageType } from "@prisma/orm-framework/components/ir";
|
|
|
11
11
|
import { ColumnDefault, ColumnDefaultLiteralInputValue, Contract, ContractEnum, ContractRelation, ContractValueObject, ControlPolicy, ExecutionMutationDefaultPhases, ExecutionMutationDefaultValue, NamespaceId, StorageHashBase } from "@prisma/orm-framework/contract/types";
|
|
12
12
|
import { AuthoringArgumentDescriptor, AuthoringFieldPresetDescriptor, AuthoringTypeConstructorDescriptor, AuthoringWarning } from "@prisma/orm-framework/components/authoring";
|
|
13
13
|
import { BoundEnumType, CodecInput, CodecTypeMap, EntityHelpersFromNamespace, EnumMember, EnumTypeHandle, ExtractAuthoringNamespaceFromPack, ForeignKeyDefaultsState, MergeExtensionAuthoringNamespaces, bindEnumType, enumType, member } from "@prisma/orm-framework/contract-authoring";
|
|
14
|
-
import { CodecLookup, ColumnTypeDescriptor } from "@prisma/orm-framework/components/codec";
|
|
15
14
|
import { ExtensionPackRef, FamilyPackRef, TargetPackRef } from "@prisma/orm-framework/components/components";
|
|
15
|
+
import { CodecLookup, ColumnTypeDescriptor } from "@prisma/orm-framework/components/codec";
|
|
16
16
|
//#region ../../../2-sql/2-authoring/contract-ts/dist/contract-builder.d.mts
|
|
17
17
|
//#region src/contract-dsl.d.ts
|
|
18
18
|
type NamingStrategy = 'identity' | 'snake_case';
|
|
@@ -1303,4 +1303,4 @@ declare function defineContract<const Family extends FamilyPackRef<string>, cons
|
|
|
1303
1303
|
declare function buildContractDefinition(definition: ContractInput): ContractDefinition;
|
|
1304
1304
|
//#endregion
|
|
1305
1305
|
export { field as A, bindEnumType as C, defineContract as D, buildSqlContractFromDefinition as E, model as M, rel as N, enumType as O, UniqueConstraintNode as S, buildContractDefinition as T, ModelNode as _, ComposedAuthoringHelpers as a, ScalarFieldBuilder as b, ContractModelBuilder as c, ExtractCodecTypesFromPack as d, FieldNode as f, ModelLike as g, MergeEnums as h, CodecTypeMap as i, member as j, extensionModel as k, EnumMember as l, IndexNode as m, BoundEnumType as n, ContractDefinition as o, ForeignKeyNode as p, CodecInput as r, ContractInput as s, AttachedEntities as t, EnumTypeHandle as u, PrimaryKeyNode as v, buildBoundContract as w, TargetFieldRef as x, RelationNode as y };
|
|
1306
|
-
//# sourceMappingURL=contract-builder-
|
|
1306
|
+
//# sourceMappingURL=contract-builder-Cj-lKWgM.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-builder-MvJJrQ-5.d.mts","names":[],"sources":["../../../../2-sql/2-authoring/contract-ts/dist/contract-builder.d.mts"],"mappings":";;;;;;;;;;;;;;;;;KAWK;KACA;WACM,SAAS;WACT,UAAU;;KAEhB,+BAA+B,sBAAsB;KACrD,wBAAwB;WAClB,MAAM;;KAEZ,iBAAiB,mBAAmB,uBAAuB,sBAAsB,gBAAgB,6CAA6C,oCAAoC,4DAA4D,eAAe,6CAA6C,mBAAmB,6CAA6C;WACpW;WACA,aAAa;WACb,UAAU;WACV,UAAU;WACV,aAAa;WACb,UAAU;WACV,oBAAoB;WACpB,OAAO;KACb,eAAe;WACT,IAAI;;WAEJ;MACL,mBAAmB;WACd,QAAQ;;WAER;;KAEN;WACM;WACA,aAAa;WACb,UAAU;WACV;WACA;WACA,UAAU;WACV,oBAAoB;WACpB;WACA,KAAK;WACL,SAAS;;KAEf,qBAAqB,cAAc,uBAAuB,cAAc,iBAAiB,sBAAsB,oEAAoE,QAAQ,4CAA4C,eAAe;KACtP,yBAAyB,cAAc,uBAAuB,cAAc,iBAAiB,sBAAsB,8DAA8D,uCAAuC,uBAAuB,mBAAmB;KAClQ,qBAAqB,cAAc;WAC7B;KACN,qBAAqB;WACf,KAAK;IACZ,yBAAyB,yBAAyB;WAC3C,SAAS;IAChB;KACC,kBAAkB,cAAc,qBAAqB,aAAa,qBAAqB,UAAU,cAAc,uBAAuB,kBAAkB,eAAe,gBAAgB,kBAAkB,cAAc,kBAAkB,QAAQ,iBAA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qB,QAAQ,QAAQ,OAAO,QAAQ,YAAY,QAAQ,aAAa,oBAAoB,YAAY;iBACn+B,qBAAqB,eAAe,6BAA6B,eAAe,oCAAoC,cAAc,eAAe,uBAAuB,4BAA4B,eAAe,eAAe,aAAa,4BAA4B,mBAAmB,eAAe,gEAAgE,eAAe,uDAAuD,0DAA0D,2BAA2B,uDAAuD,oEAAoE,sBAAsB,eAAe,kBAAkB,eAAe,uBAAuB,qBAAqB,eAAe,kBAAkB,eAAe,iBAAiB,YAAY,iBAAiB,QAAQ,QAAQ,YAAY,QAAQ,aAAa,oBAAoB,YAAY,gBAAgB,SAAS,gBAAgB,QAAQ,QAAQ,OAAO,QAAQ,YAAY,gBAAgB,kBAAkB,qBAAqB,QAAQ,QAAQ,OAAO,QAAQ,YAAY,QAAQ,aAAa,oBAAoB,YAAY,WAAW,eAAe;;;iBAGzqC,wBAAwB,YAAY,gBAAgB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as sqlEmission } from "./dist-
|
|
1
|
+
import { t as sqlEmission } from "./dist-CYkK9Vbk.mjs";
|
|
2
2
|
export { sqlEmission };
|
package/dist/contract-psl.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as SqlNamespaceBase, s as SqlNamespaceInput } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
2
|
-
import "./types-
|
|
2
|
+
import "./types-wy2-Y8wQ.mjs";
|
|
3
3
|
import { Contract, ValueSetRef } from "@prisma/orm-framework/contract/types";
|
|
4
4
|
import { AuthoringContributions } from "@prisma/orm-framework/components/authoring";
|
|
5
5
|
import { SymbolTable } from "@prisma/orm-framework/psl-parser";
|
|
6
6
|
import { Result } from "@prisma/orm-framework/utils/result";
|
|
7
7
|
import { SourceFile } from "@prisma/orm-framework/psl-parser/syntax";
|
|
8
|
-
import { CodecLookup } from "@prisma/orm-framework/components/codec";
|
|
9
8
|
import { CapabilityMatrix, ExtensionPackRef, TargetPackRef } from "@prisma/orm-framework/components/components";
|
|
9
|
+
import { CodecLookup } from "@prisma/orm-framework/components/codec";
|
|
10
10
|
import { ControlMutationDefaults, ControlMutationDefaults as ControlMutationDefaults$1, DefaultFunctionLoweringContext, MutationDefaultGeneratorDescriptor } from "@prisma/orm-framework/components/control";
|
|
11
11
|
import { ContractSourceDiagnostic, ContractSourceDiagnostics } from "@prisma/orm-framework/config/config-types";
|
|
12
12
|
//#region ../../../2-sql/2-authoring/contract-psl/dist/index.d.mts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as SqlNamespaceBase, s as SqlNamespaceInput } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
2
|
-
import "./types-
|
|
2
|
+
import "./types-wy2-Y8wQ.mjs";
|
|
3
3
|
import { ControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
4
4
|
import { ExtensionPackRef, TargetPackRef } from "@prisma/orm-framework/components/components";
|
|
5
5
|
import { ContractConfig } from "@prisma/orm-framework/config/config-types";
|
package/dist/contract-ts.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-
|
|
2
|
-
import { A as field, C as bindEnumType, D as defineContract, E as buildSqlContractFromDefinition, M as model, N as rel, O as enumType, S as UniqueConstraintNode, T as buildContractDefinition, _ as ModelNode, a as ComposedAuthoringHelpers, b as ScalarFieldBuilder, c as ContractModelBuilder, d as ExtractCodecTypesFromPack, f as FieldNode, g as ModelLike, h as MergeEnums, i as CodecTypeMap, j as member, k as extensionModel, l as EnumMember, m as IndexNode, n as BoundEnumType, o as ContractDefinition, p as ForeignKeyNode, r as CodecInput, s as ContractInput, t as AttachedEntities, u as EnumTypeHandle, v as PrimaryKeyNode, w as buildBoundContract, x as TargetFieldRef, y as RelationNode } from "./contract-builder-
|
|
1
|
+
import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-DKKhWdzf.mjs";
|
|
2
|
+
import { A as field, C as bindEnumType, D as defineContract, E as buildSqlContractFromDefinition, M as model, N as rel, O as enumType, S as UniqueConstraintNode, T as buildContractDefinition, _ as ModelNode, a as ComposedAuthoringHelpers, b as ScalarFieldBuilder, c as ContractModelBuilder, d as ExtractCodecTypesFromPack, f as FieldNode, g as ModelLike, h as MergeEnums, i as CodecTypeMap, j as member, k as extensionModel, l as EnumMember, m as IndexNode, n as BoundEnumType, o as ContractDefinition, p as ForeignKeyNode, r as CodecInput, s as ContractInput, t as AttachedEntities, u as EnumTypeHandle, v as PrimaryKeyNode, w as buildBoundContract, x as TargetFieldRef, y as RelationNode } from "./contract-builder-Cj-lKWgM.mjs";
|
|
3
3
|
export { type AttachedEntities, type BoundEnumType, type CodecInput, type CodecTypeMap, type ComposedAuthoringHelpers, type ContractConfig, type ContractDefinition, type ContractInput, type ContractModelBuilder, type EnumMember, type EnumTypeHandle, type ExtractCodecTypesFromPack, type FieldNode, type ForeignKeyNode, type IndexNode, type MergeEnums, type ModelLike, type ModelNode, type PrimaryKeyNode, type RelationNode, type ScalarFieldBuilder, type TargetFieldRef, type UniqueConstraintNode, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, defineContract, emptyContract, enumType, extensionModel, field, member, model, rel, typescriptContract, typescriptContractFromPath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-
|
|
1
|
+
import { i as typescriptContractFromPath, n as emptyContract, r as typescriptContract, t as ContractConfig } from "./config-types-DKKhWdzf.mjs";
|
|
2
2
|
export { type ContractConfig, emptyContract, typescriptContract, typescriptContractFromPath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as field, C as bindEnumType, D as defineContract, E as buildSqlContractFromDefinition, M as model, N as rel, O as enumType, S as UniqueConstraintNode, T as buildContractDefinition, _ as ModelNode, a as ComposedAuthoringHelpers, b as ScalarFieldBuilder, c as ContractModelBuilder, d as ExtractCodecTypesFromPack, f as FieldNode, g as ModelLike, h as MergeEnums, i as CodecTypeMap, j as member, k as extensionModel, l as EnumMember, m as IndexNode, n as BoundEnumType, o as ContractDefinition, p as ForeignKeyNode, r as CodecInput, s as ContractInput, t as AttachedEntities, u as EnumTypeHandle, v as PrimaryKeyNode, w as buildBoundContract, x as TargetFieldRef, y as RelationNode } from "./contract-builder-
|
|
1
|
+
import { A as field, C as bindEnumType, D as defineContract, E as buildSqlContractFromDefinition, M as model, N as rel, O as enumType, S as UniqueConstraintNode, T as buildContractDefinition, _ as ModelNode, a as ComposedAuthoringHelpers, b as ScalarFieldBuilder, c as ContractModelBuilder, d as ExtractCodecTypesFromPack, f as FieldNode, g as ModelLike, h as MergeEnums, i as CodecTypeMap, j as member, k as extensionModel, l as EnumMember, m as IndexNode, n as BoundEnumType, o as ContractDefinition, p as ForeignKeyNode, r as CodecInput, s as ContractInput, t as AttachedEntities, u as EnumTypeHandle, v as PrimaryKeyNode, w as buildBoundContract, x as TargetFieldRef, y as RelationNode } from "./contract-builder-Cj-lKWgM.mjs";
|
|
2
2
|
export { type AttachedEntities, type BoundEnumType, type CodecInput, type CodecTypeMap, type ComposedAuthoringHelpers, type ContractDefinition, type ContractInput, type ContractModelBuilder, type EnumMember, type EnumTypeHandle, type ExtractCodecTypesFromPack, type FieldNode, type ForeignKeyNode, type IndexNode, type MergeEnums, type ModelLike, type ModelNode, type PrimaryKeyNode, type RelationNode, type ScalarFieldBuilder, type TargetFieldRef, type UniqueConstraintNode, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, defineContract, enumType, extensionModel, field, member, model, rel };
|