@prisma/orm-family-sql 8.0.0-rc.18-dev.3 → 8.0.0-rc.18-dev.5

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.
Files changed (49) hide show
  1. package/dist/builder.d.mts +1 -1
  2. package/dist/builder__runtime.d.mts +3 -3
  3. package/dist/builder__runtime.mjs +1 -1
  4. package/dist/builder__types.d.mts +3 -2
  5. package/dist/collection-methods-BnR4UjcW-tiz3frtf.d.mts +77 -0
  6. package/dist/collection-methods-BnR4UjcW-tiz3frtf.d.mts.map +1 -0
  7. package/dist/collection-methods-DoBrRR69.d.mts +1 -0
  8. package/dist/{db-BmrN9nRS-DEogPltL.d.mts → db-BmrN9nRS-CDq1n2be.d.mts} +3 -2
  9. package/dist/db-BmrN9nRS-CDq1n2be.d.mts.map +1 -0
  10. package/dist/{index-qr6LA3dl.d.mts → index-CmKqLvvO.d.mts} +4 -4
  11. package/dist/{index-qr6LA3dl.d.mts.map → index-CmKqLvvO.d.mts.map} +1 -1
  12. package/dist/{index-reference-CflkzYSd.d.mts → index-reference-DJX-CNsb-D2qUlYq2.d.mts} +12 -3
  13. package/dist/index-reference-DJX-CNsb-D2qUlYq2.d.mts.map +1 -0
  14. package/dist/{index-reference-D693Lu-E.mjs → index-reference-DR62gjQS.mjs} +16 -3
  15. package/dist/index-reference-DR62gjQS.mjs.map +1 -0
  16. package/dist/index-reference-ZZrszBDq.d.mts +1 -0
  17. package/dist/orm-client.d.mts +63 -17
  18. package/dist/orm-client.d.mts.map +1 -1
  19. package/dist/orm-client.mjs +349 -341
  20. package/dist/orm-client.mjs.map +1 -1
  21. package/dist/{prepared-statement-Bs9TKj5u-CInk8vXF.d.mts → prepared-statement-BwHkxfuI-CKkkrS6r.d.mts} +9 -6
  22. package/dist/prepared-statement-BwHkxfuI-CKkkrS6r.d.mts.map +1 -0
  23. package/dist/{query-lane-context-C2AXsoFa-COSQOvZz.d.mts → query-lane-context-C42-u9L1-Bxa4DkI_.d.mts} +7 -2
  24. package/dist/query-lane-context-C42-u9L1-Bxa4DkI_.d.mts.map +1 -0
  25. package/dist/query-lane-context-DW5q2RAY.d.mts +1 -0
  26. package/dist/relational-core.d.mts +3 -3
  27. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  28. package/dist/relational-core__codec-descriptor-registry.d.mts +1 -1
  29. package/dist/relational-core__collection-methods.d.mts +3 -0
  30. package/dist/relational-core__collection-methods.mjs +1 -0
  31. package/dist/relational-core__index-reference.d.mts +3 -2
  32. package/dist/relational-core__index-reference.mjs +2 -2
  33. package/dist/relational-core__query-lane-context.d.mts +2 -2
  34. package/dist/relational-core__types.d.mts +2 -2
  35. package/dist/runtime.d.mts +3 -3
  36. package/dist/runtime.mjs +2 -1
  37. package/dist/runtime.mjs.map +1 -1
  38. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  39. package/dist/types-BkA6tyT-.d.mts +1 -0
  40. package/dist/{types-D09NAayg-CNrpjo7Z.d.mts → types-Cl4MLNrS-lbf-K25i.d.mts} +3 -3
  41. package/dist/{types-D09NAayg-CNrpjo7Z.d.mts.map → types-Cl4MLNrS-lbf-K25i.d.mts.map} +1 -1
  42. package/package.json +19 -18
  43. package/dist/db-BmrN9nRS-DEogPltL.d.mts.map +0 -1
  44. package/dist/index-reference-CflkzYSd.d.mts.map +0 -1
  45. package/dist/index-reference-D693Lu-E.mjs.map +0 -1
  46. package/dist/prepared-statement-Bs9TKj5u-CInk8vXF.d.mts.map +0 -1
  47. package/dist/query-lane-context-BsZs5lvB.d.mts +0 -1
  48. package/dist/query-lane-context-C2AXsoFa-COSQOvZz.d.mts.map +0 -1
  49. package/dist/types-DAkmn9FV.d.mts +0 -1
@@ -9,17 +9,19 @@ import "./expression-DWcDQHh9.mjs";
9
9
  import { m as MarkerReadResult, t as Adapter } from "./ast-Dp6lQXUX.mjs";
10
10
  import { t as SqlExecutionPlan } from "./sql-execution-plan-C7XauPPu-eskZJbmm.mjs";
11
11
  import "./plan-_8dKi13Q.mjs";
12
- import { n as ExecutionContext } from "./query-lane-context-C2AXsoFa-COSQOvZz.mjs";
13
- import "./query-lane-context-BsZs5lvB.mjs";
14
- import { h as RuntimeScope } from "./types-D09NAayg-CNrpjo7Z.mjs";
15
- import "./types-DAkmn9FV.mjs";
12
+ import { n as CollectionMethodContribution } from "./collection-methods-BnR4UjcW-tiz3frtf.mjs";
13
+ import { n as ExecutionContext } from "./query-lane-context-C42-u9L1-Bxa4DkI_.mjs";
14
+ import "./query-lane-context-DW5q2RAY.mjs";
15
+ import { h as RuntimeScope } from "./types-Cl4MLNrS-lbf-K25i.mjs";
16
+ import "./types-BkA6tyT-.mjs";
17
+ import "./collection-methods-DoBrRR69.mjs";
16
18
  import { i as SqlParamRefMutator } from "./middleware-YsFLC19Y-xhimGDiS.mjs";
17
19
  import "./middleware-DOKGNt72.mjs";
18
20
  import { AnyCodecDescriptor, CodecDescriptor } from "@prisma/orm-framework/components/codec";
19
21
  import { Contract, JsonValue, PlanMeta } from "@prisma/orm-framework/contract/types";
20
22
  import { ActivityContext, ActivityEndedResult, ActivityFinalizedResult, AsyncIterableResult, ExecuteInterceptResult, ExecutionPlan, MutationDefaultGeneratorContributor, QueryInterceptResult, RuntimeActivity, RuntimeCore, RuntimeExecuteOptions, RuntimeLog, RuntimeMiddleware } from "@prisma/orm-framework/components/runtime";
21
23
  import { ExecutionStack, RuntimeAdapterDescriptor, RuntimeAdapterInstance, RuntimeDriverDescriptor, RuntimeDriverInstance, RuntimeExtensionDescriptor, RuntimeExtensionInstance, RuntimeTargetDescriptor, RuntimeTargetInstance } from "@prisma/orm-framework/components/execution";
22
- //#region ../../../2-sql/5-runtime/dist/prepared-statement-Bs9TKj5u.d.mts
24
+ //#region ../../../2-sql/5-runtime/dist/prepared-statement-BwHkxfuI.d.mts
23
25
  //#region src/codecs/encoding.d.ts
24
26
  interface ParamMetadata {
25
27
  readonly codec: CodecRef$1 | undefined;
@@ -234,6 +236,7 @@ type RuntimeParameterizedCodecDescriptor<P = Record<string, unknown>> = CodecDes
234
236
  interface SqlStaticContributions extends Pick<MutationDefaultGeneratorContributor, 'mutationDefaultGenerators'> {
235
237
  readonly codecs: () => ReadonlyArray<AnyCodecDescriptor>;
236
238
  readonly queryOperations?: () => SqlOperationDescriptors;
239
+ readonly collectionMethods?: () => ReadonlyArray<CollectionMethodContribution>;
237
240
  }
238
241
  interface SqlRuntimeTargetDescriptor<TTargetId extends string = string, TTargetInstance extends RuntimeTargetInstance<'sql', TTargetId> = RuntimeTargetInstance<'sql', TTargetId>> extends RuntimeTargetDescriptor<'sql', TTargetId, TTargetInstance>, SqlStaticContributions {}
239
242
  interface SqlRuntimeAdapterDescriptor<TTargetId extends string = string, TAdapterInstance extends RuntimeAdapterInstance<'sql', TTargetId> = SqlRuntimeAdapterInstance<TTargetId>> extends RuntimeAdapterDescriptor<'sql', TTargetId, TAdapterInstance>, SqlStaticContributions {
@@ -521,4 +524,4 @@ declare class PreparedExecutionImpl<Params> implements PreparedExecution<Params>
521
524
  }
522
525
  //#endregion
523
526
  export { settlementOf as $, SqlMiddleware as A, TelemetryOutcome as B, RuntimeParameterizedCodecDescriptor as C, SettledTransactionTarget as D, RuntimeTransaction as E, SqlRuntimeDriverInstance as F, VerifyMarkerOption as G, TransactionSettlementState as H, SqlRuntimeExtensionDescriptor as I, createTransactionStart as J, createExecutionContext as K, SqlRuntimeExtensionInstance as L, SqlRuntimeAdapterDescriptor as M, SqlRuntimeAdapterInstance as N, SqlExecutionStack as O, SqlRuntimeBase as P, preparedStatementQuery as Q, SqlRuntimeTargetDescriptor as R, RuntimeOptions as S, RuntimeTelemetryEvent as T, TransactionStart as U, TransactionContext as V, TransactionStartTarget as W, encodeParamsWithMetadata as X, deriveParamMetadata as Y, preparedStatementExecute as Z, PreparedStatementInternals as _, DeclaredCodecId as a, RuntimeConnection as b, ParamSpec as c, PreparedExecution as d, transactionSettlement as et, PreparedExecutionImpl as f, PreparedStatementImpl as g, PreparedStatementExecuteTarget as h, Declaration as i, SqlMiddlewareContext as j, SqlExecutionStackWithDriver as k, ParamsFromDeclaration as l, PreparedStatement as m, CloseRefusal as n, withTransaction as nt, DeclaredNullable as o, PreparedFor as p, createSqlExecutionStack as q, ConnectionProvider as r, MarkerReader as s, BindSiteParams as t, transactionStart as tt, PrepareCallback as u, PreparedStatementQueryTarget as v, RuntimeQueryable as w, RuntimeFamilyAdapter as x, Runtime as y, SqlStaticContributions as z };
524
- //# sourceMappingURL=prepared-statement-Bs9TKj5u-CInk8vXF.d.mts.map
527
+ //# sourceMappingURL=prepared-statement-BwHkxfuI-CKkkrS6r.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepared-statement-BwHkxfuI-CKkkrS6r.d.mts","names":[],"sources":["../../../../2-sql/5-runtime/dist/prepared-statement-BwHkxfuI.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;UAcU;WACC,OAAO;WACP;;iBAEM,oBAAoB,KAAK,uBAAuB;iBAChD,yBAAyB,4BAA4B,mBAAmB,iBAAiB,KAAK,qBAAqB,iBAAiB,wBAAwB;;;UAGnK,6BAA6B;WAC5B,UAAU,SAAS;;;;;;UAMpB;WACC,KAAK;WACL,MAAM;;UAEP,cAAc,kBAAkB,0BAA0B,iCAAiC,kBAAkB,kBAAkB,mBAAmB;WACjJ;EACT,iBAAiB,UAAU,iBAAiB,KAAK,uBAAuB;EACxE,eAAe,UAAU,iBAAiB,QAAQ,qBAAqB,KAAK,uBAAuB;EACnG,mBAAmB,UAAU,iBAAiB,QAAQ,yBAAyB,KAAK,uBAAuB;;;;;;;;;;;;;;;;;;;EAmB3G,eAAe,OAAO,WAAW,KAAK,uBAAuB,QAAQ;;;;;;EAMrE,cAAc,MAAM,kBAAkB,KAAK,sBAAsB,SAAS,mBAAmB,oBAAoB;EACjH;IACE,SAAS,MAAM,kBAAkB,KAAK,uBAAuB,QAAQ;IACrE,WAAW,MAAM,kBAAkB,KAAK,uBAAuB,QAAQ;;EAEzE,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AAQ,MAAM;WACjF;WACA,KAAK;WACL,MAAM;WACN,gBAAgB;WAChB,eAAe;WACf,wBAAwB;EACjC,YAAY,WAAW;EACvB,MAAM,QAAQ,kBAAkB,QAAQ,QAAQ,UAAU,wBAAwB,oBAAoB;;;;;;;;;;cAU1F,sBAAsB,mBAAmB,kBAAkB,SAAS;WACvE;WACA,KAAK;WACL,MAAM;WACN,gBAAgB;WAChB,eAAe;WACf,wBAAwB;EACjC,YAAY,WAAW;EACvB,QAAQ,QAAQ,kBAAkB,QAAQ,QAAQ,UAAU,wBAAwB,QAAQ"}
@@ -3,11 +3,12 @@ import "./types-Uv3oTMAb.mjs";
3
3
  import { a as SqlOperationRegistry } from "./index-We-mbWnZ.mjs";
4
4
  import { c as AnyExpression, k as ContractCodecRegistry } from "./types-Sh5HuaZE-CqThc46M.mjs";
5
5
  import { l as RawCodecInferer } from "./expression-Ck1wys3N-RNyviMcU.mjs";
6
+ import { n as CollectionMethodContribution } from "./collection-methods-BnR4UjcW-tiz3frtf.mjs";
6
7
  import { CodecDescriptor, CodecRef } from "@prisma/orm-framework/components/codec";
7
8
  import { Contract } from "@prisma/orm-framework/contract/types";
8
9
  import { AggregateDescriptor, AggregateResultNullability } from "@prisma/orm-framework/components/components";
9
10
  import { MutationDefaults } from "@prisma/orm-framework/components/runtime";
10
- //#region ../../../2-sql/4-lanes/relational-core/dist/query-lane-context-C2AXsoFa.d.mts
11
+ //#region ../../../2-sql/4-lanes/relational-core/dist/query-lane-context-C42-u9L1.d.mts
11
12
  //#region src/aggregate-descriptor.d.ts
12
13
  /**
13
14
  * What a lowering hook is handed: the expression being aggregated (absent for operations that consume no value) and the codec of that expression.
@@ -120,7 +121,11 @@ interface ExecutionContext<TContract extends Contract<SqlStorage> = Contract<Sql
120
121
  * The adapter's codec inferer, which `fns.raw` uses for a bare value interpolated into a template. An execution context built from an execution stack carries it.
121
122
  */
122
123
  readonly rawCodecInferer?: RawCodecInferer;
124
+ /**
125
+ * The collection methods the target and extensions contribute. The ORM client offers them under `using` on every collection.
126
+ */
127
+ readonly collectionMethods?: ReadonlyArray<CollectionMethodContribution>;
123
128
  }
124
129
  //#endregion
125
130
  export { SqlAggregateDescriptorRegistry as a, TypeHelperRegistry as c, SqlAggregateDescriptor as i, isSqlAggregateDescriptor as l, ExecutionContext as n, SqlAggregateLowering as o, ResolvedSqlAggregate as r, SqlAggregateLoweringContext as s, CodecDescriptorRegistry as t };
126
- //# sourceMappingURL=query-lane-context-C2AXsoFa-COSQOvZz.d.mts.map
131
+ //# sourceMappingURL=query-lane-context-C42-u9L1-Bxa4DkI_.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-lane-context-C42-u9L1-Bxa4DkI_.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/query-lane-context-C42-u9L1.d.mts"],"mappings":";;;;;;;;;;;;;;;UAaU;WACC,MAAM;WACN,YAAY;;;;;;;KAOlB,wBAAwB,SAAS,gCAAgC;;;;;;;;KAQjE,yBAAyB;WACnB,QAAQ;;;iBAGF,yBAAyB,iBAAiB,SAAS;;;;;;UAM1D;;;;EAIR,cAAc,kBAAkB;;;;;;;;;;;;;;EAchC,kBAAkB,qBAAqB,eAAe,iBAAiB;;;;EAIvE,UAAU,iBAAiB;;;;;;;KAOxB,uBAAuB;WACjB;WACA,QAAQ;WACR,OAAO;;;;;;;UAOR;;;;;;EAMR,QAAQ,mBAAmB,QAAQ,WAAW;;EAE9C,UAAU,iBAAiB;;;;;KAKxB,qBAAqB;;;;;;UAMhB,iBAAiB,kBAAkB,SAAS,cAAc,SAAS,qBAAqB;WACvF,UAAU;;;;WAIV,gBAAgB;;;;WAIhB,kBAAkB;;;;WAIlB,sBAAsB;WACtB,iBAAiB;;;;WAIjB,OAAO;;;;WAIP,kBAAkB;;;;WAIlB,oBAAoB,cAAc"}
@@ -0,0 +1 @@
1
+ import "./query-lane-context-C42-u9L1-Bxa4DkI_.mjs";
@@ -7,8 +7,8 @@ import { a as DdlNode, c as FunctionColumnDefault, d as PrimaryKeyConstraint, f
7
7
  import { $ as sqlTextColumn, A as collectOrderedParamRefs, B as sqlCharColumn, C as SqlFloatDescriptor, D as SqlTextDescriptor, E as SqlTextCodec, F as lockIncompatible, G as sqlFloatColumn, H as sqlCharDescriptor, I as lockOptionCapabilities, J as sqlFloatEncode, K as sqlFloatDecode, L as lockStrengthCapabilities, M as encodeListLiteralDefault, N as encodeLiteralDefault, O as SqlVarcharCodec, P as isAggregateProjection, Q as sqlIntEncode, R as lockWaitPolicyOf, S as SqlFloatCodec, T as SqlIntDescriptor, U as sqlCharEncode, V as sqlCharDecode, W as sqlCharRenderOutputType, X as sqlIntDecode, Y as sqlIntColumn, Z as sqlIntDescriptor, _ as SQL_INT_CODEC_ID, a as EncodedLiteralDefault, at as sqlVarcharDescriptor, b as SqlCharCodec, c as LockOptionCapabilities, d as LockWaitRequest, et as sqlTextDecode, f as Lowerer, g as SQL_FLOAT_CODEC_ID, h as SQL_CHAR_CODEC_ID, i as CapabilityRequirement, it as sqlVarcharDecode, j as compact, k as SqlVarcharDescriptor, l as LockStrengthCapabilities, m as MarkerReadResult, n as AdapterProfile, nt as sqlTextEncode, o as LiteralDefaultColumn, ot as sqlVarcharEncode, p as LowererContext, q as sqlFloatDescriptor, r as AdapterTarget, rt as sqlVarcharColumn, s as LockConflict, st as sqlVarcharRenderOutputType, t as Adapter, tt as sqlTextDescriptor, u as LockWaitOptions, v as SQL_TEXT_CODEC_ID, w as SqlIntCodec, x as SqlCharDescriptor, y as SQL_VARCHAR_CODEC_ID, z as missingCapability } from "./ast-Dp6lQXUX.mjs";
8
8
  import { t as SqlExecutionPlan } from "./sql-execution-plan-C7XauPPu-eskZJbmm.mjs";
9
9
  import "./plan-_8dKi13Q.mjs";
10
- import { a as SqlAggregateDescriptorRegistry, c as TypeHelperRegistry, n as ExecutionContext, r as ResolvedSqlAggregate, t as CodecDescriptorRegistry } from "./query-lane-context-C2AXsoFa-COSQOvZz.mjs";
11
- import "./query-lane-context-BsZs5lvB.mjs";
12
- import { S as TablesOf, _ as SqlOrmPlan, a as ColumnsOf, b as TableKey, c as META, d as ModelMetadata, f as OperationTypeSignature, g as SqlBuilderOptions, h as RuntimeScope, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as SqlPlan, x as TableMetadata, y as TableDef } from "./types-D09NAayg-CNrpjo7Z.mjs";
10
+ import { a as SqlAggregateDescriptorRegistry, c as TypeHelperRegistry, n as ExecutionContext, r as ResolvedSqlAggregate, t as CodecDescriptorRegistry } from "./query-lane-context-C42-u9L1-Bxa4DkI_.mjs";
11
+ import "./query-lane-context-DW5q2RAY.mjs";
12
+ import { S as TablesOf, _ as SqlOrmPlan, a as ColumnsOf, b as TableKey, c as META, d as ModelMetadata, f as OperationTypeSignature, g as SqlBuilderOptions, h as RuntimeScope, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as SqlPlan, x as TableMetadata, y as TableDef } from "./types-Cl4MLNrS-lbf-K25i.mjs";
13
13
  import { a as SqlParamRefMutatorInternal, i as SqlParamRefMutator, n as ParamRefEntryUnion, o as createSqlParamRefMutator, r as ParamRefHandle, t as ParamRefEntry } from "./middleware-YsFLC19Y-xhimGDiS.mjs";
14
14
  export { Adapter, AdapterProfile, AdapterTarget, AffectedCount, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyCodecDescriptorTemplate, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AstRewriter, BinaryExpr, BinaryOp, BuildOperationSpec, BuildOptions, BuildParamsMap, CapabilityRequirement, CaseBranch, CaseExpr, CastExpr, CheckExpressionConstraint, Codec$1 as Codec, type CodecCallContext$1 as CodecCallContext, type CodecDescriptor$1 as CodecDescriptor, CodecDescriptorRegistry, CodecExpression, CodecJsonValueProjection, type CodecRef$1 as CodecRef, type CodecTrait$1 as CodecTrait, CodecTypes, CodecTypesBase, CodecValue, ColumnRef, ColumnResolutionContract, ColumnsOf, ComputeColumnJsType, ContractCodecRegistry, DdlColumn, DdlColumnDefault, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EncodedLiteralDefault, EqColJoinOn, ExecutionContext, ExistsExpr, Expr, ExprVisitor, Expression, ExpressionFolder, ExpressionImpl, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralDefaultColumn, LiteralExpr, LockConflict, LockOptionCapabilities, LockStrength, LockStrengthCapabilities, LockWaitOptions, LockWaitPolicy, LockWaitRequest, LockingClause, LockingClauseOptions, LoweredParam, LoweredStatement, Lowerer, LowererContext, META, MarkerReadResult, Meta, ModelDef, ModelMetadata, NativeJsonValueProjection, NoReservedRowColumn, NotExpr, NullCheckExpr, OpaqueSql, OperationExpr, OperationTypeSignature, OperationTypes, OperationsForTypeId, OrExpr, OrderByItem, OrderByNulls, ParamRef, type ParamRefEntry, type ParamRefEntryUnion, type ParamRefHandle, Preparable, PreparedExecuteRequest, PreparedParamRef, PreparedStatementHandle, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawAffectedCountQuery, RawCodecInferer, RawExpr, RawPlanContext, RawQueryAst, RawQueryColumn, RawQueryResult, RawRow, RawRowQuery, RawRowSpec, RawRowSpecEntry, RawSqlBuilder, RawSqlInterpolation, RawSqlLiteral, RawSqlStatementBuilder, RawSqlStatementTag, RawSqlTag, ResolvedSqlAggregate, type RuntimeScope, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, ScalarListExpression, ScopeField, SelectAst, SelectAstOptions, SqlAggregateDescriptorRegistry, SqlBuilderOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, type SqlExecutionPlan, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, type SqlOrmPlan, type SqlParamRefMutator, type SqlParamRefMutatorInternal, SqlPlan, SqlQueryPlan, SqlQueryable, SqlStatementStats, SqlTextCodec, SqlTextDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, StorageColumnScopeField, SubqueryExpr, TableDef, TableKey, TableMetadata, TableRef, TableSource, TablesOf, ToWhereExpr, TraitExpression, TypeHelperRegistry, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, aggregateFnNames, buildOperation, checkLimitOffset, codecOf, collectOrderedParamRefs, compact, createRawSql, createSqlParamRefMutator, encodeListLiteralDefault, encodeLiteralDefault, frozenCodecRef, isAggregateFn, isAggregateProjection, isDdlNode, isExpression, isOrderByDirection, isOrderByNulls, isQueryAst, isWhereExpr, lockIncompatible, lockOptionCapabilities, lockStrengthCapabilities, lockWaitPolicyOf, missingCapability, opaqueSql, param, planFromAst, queryAstKinds, renderOpaqueSql, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDescriptor, sqlFloatEncode, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
@@ -1,4 +1,4 @@
1
- import { a as SqlAggregateDescriptorRegistry, i as SqlAggregateDescriptor, l as isSqlAggregateDescriptor, o as SqlAggregateLowering, s as SqlAggregateLoweringContext, t as CodecDescriptorRegistry } from "./query-lane-context-C2AXsoFa-COSQOvZz.mjs";
1
+ import { a as SqlAggregateDescriptorRegistry, i as SqlAggregateDescriptor, l as isSqlAggregateDescriptor, o as SqlAggregateLowering, s as SqlAggregateLoweringContext, t as CodecDescriptorRegistry } from "./query-lane-context-C42-u9L1-Bxa4DkI_.mjs";
2
2
  //#region ../../../2-sql/4-lanes/relational-core/dist/exports/aggregate-descriptor-registry.d.mts
3
3
  //#region src/aggregate-descriptor-registry.d.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  import { l as SqlStorage } from "./sql-storage-BTlJLUID-CGy3wuH4.mjs";
2
2
  import "./types-Uv3oTMAb.mjs";
3
3
  import { o as AnyCodecDescriptor$1 } from "./types-Sh5HuaZE-CqThc46M.mjs";
4
- import { t as CodecDescriptorRegistry } from "./query-lane-context-C2AXsoFa-COSQOvZz.mjs";
4
+ import { t as CodecDescriptorRegistry } from "./query-lane-context-C42-u9L1-Bxa4DkI_.mjs";
5
5
  import { CodecRef } from "@prisma/orm-framework/components/codec";
6
6
  //#region ../../../2-sql/4-lanes/relational-core/dist/exports/codec-descriptor-registry.d.mts
7
7
  //#region src/codec-descriptor-registry.d.ts
@@ -0,0 +1,3 @@
1
+ import { a as CollectionMethodModel, c as CollectionMethodRegistry, i as CollectionMethodContributionType, l as CollectionMethodTools, n as CollectionMethodContribution, o as CollectionMethodModelType, r as CollectionMethodContributionId, s as CollectionMethodReceiver, t as CollectionMethodBody, u as ContributedMethodSignature } from "./collection-methods-BnR4UjcW-tiz3frtf.mjs";
2
+ import "./collection-methods-DoBrRR69.mjs";
3
+ export { CollectionMethodBody, CollectionMethodContribution, CollectionMethodContributionId, CollectionMethodContributionType, CollectionMethodModel, CollectionMethodModelType, CollectionMethodReceiver, CollectionMethodRegistry, CollectionMethodTools, ContributedMethodSignature };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,3 @@
1
- import { i as createIndexReferences, n as IndexReferencesInput, r as TableIndexReferences, t as IndexReference } from "./index-reference-CflkzYSd.mjs";
2
- export { type IndexReference, type IndexReferencesInput, type TableIndexReferences, createIndexReferences };
1
+ import { a as createIndexReferences, i as UniqueIndexNamesOfType, n as IndexReferencesInput, o as uniqueIndexNamesOfType, r as TableIndexReferences, t as IndexReference } from "./index-reference-DJX-CNsb-D2qUlYq2.mjs";
2
+ import "./index-reference-ZZrszBDq.mjs";
3
+ export { type IndexReference, type IndexReferencesInput, type TableIndexReferences, type UniqueIndexNamesOfType, createIndexReferences, uniqueIndexNamesOfType };
@@ -1,2 +1,2 @@
1
- import { t as createIndexReferences } from "./index-reference-D693Lu-E.mjs";
2
- export { createIndexReferences };
1
+ import { n as uniqueIndexNamesOfType, t as createIndexReferences } from "./index-reference-DR62gjQS.mjs";
2
+ export { createIndexReferences, uniqueIndexNamesOfType };
@@ -1,3 +1,3 @@
1
- import { a as SqlAggregateDescriptorRegistry, c as TypeHelperRegistry, n as ExecutionContext, r as ResolvedSqlAggregate, t as CodecDescriptorRegistry } from "./query-lane-context-C2AXsoFa-COSQOvZz.mjs";
2
- import "./query-lane-context-BsZs5lvB.mjs";
1
+ import { a as SqlAggregateDescriptorRegistry, c as TypeHelperRegistry, n as ExecutionContext, r as ResolvedSqlAggregate, t as CodecDescriptorRegistry } from "./query-lane-context-C42-u9L1-Bxa4DkI_.mjs";
2
+ import "./query-lane-context-DW5q2RAY.mjs";
3
3
  export { CodecDescriptorRegistry, ExecutionContext, ResolvedSqlAggregate, SqlAggregateDescriptorRegistry, TypeHelperRegistry };
@@ -1,3 +1,3 @@
1
- import { S as TablesOf, _ as SqlOrmPlan, a as ColumnsOf, b as TableKey, c as META, d as ModelMetadata, f as OperationTypeSignature, g as SqlBuilderOptions, h as RuntimeScope, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as SqlPlan, x as TableMetadata, y as TableDef } from "./types-D09NAayg-CNrpjo7Z.mjs";
2
- import "./types-DAkmn9FV.mjs";
1
+ import { S as TablesOf, _ as SqlOrmPlan, a as ColumnsOf, b as TableKey, c as META, d as ModelMetadata, f as OperationTypeSignature, g as SqlBuilderOptions, h as RuntimeScope, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as SqlPlan, x as TableMetadata, y as TableDef } from "./types-Cl4MLNrS-lbf-K25i.mjs";
2
+ import "./types-BkA6tyT-.mjs";
3
3
  export { BuildOptions, BuildParamsMap, CodecTypes, ColumnResolutionContract, ColumnsOf, ComputeColumnJsType, Expr, META, Meta, ModelDef, ModelMetadata, OperationTypeSignature, OperationTypes, OperationsForTypeId, type RuntimeScope, SqlBuilderOptions, type SqlOrmPlan, SqlPlan, TableDef, TableKey, TableMetadata, TablesOf };
@@ -1,5 +1,5 @@
1
1
  import { m as MarkerReadResult } from "./ast-Dp6lQXUX.mjs";
2
- import { c as TypeHelperRegistry, n as ExecutionContext } from "./query-lane-context-C2AXsoFa-COSQOvZz.mjs";
3
- import { A as SqlMiddleware, B as TelemetryOutcome, C as RuntimeParameterizedCodecDescriptor, E as RuntimeTransaction, F as SqlRuntimeDriverInstance, G as VerifyMarkerOption, I as SqlRuntimeExtensionDescriptor, K as createExecutionContext, L as SqlRuntimeExtensionInstance, M as SqlRuntimeAdapterDescriptor, N as SqlRuntimeAdapterInstance, O as SqlExecutionStack, P as SqlRuntimeBase, R as SqlRuntimeTargetDescriptor, S as RuntimeOptions, T as RuntimeTelemetryEvent, V as TransactionContext, X as encodeParamsWithMetadata, Y as deriveParamMetadata, _ as PreparedStatementInternals, a as DeclaredCodecId, b as RuntimeConnection, c as ParamSpec, d as PreparedExecution, f as PreparedExecutionImpl, g as PreparedStatementImpl, i as Declaration, j as SqlMiddlewareContext, k as SqlExecutionStackWithDriver, l as ParamsFromDeclaration, m as PreparedStatement, n as CloseRefusal, nt as withTransaction, o as DeclaredNullable, p as PreparedFor, q as createSqlExecutionStack, r as ConnectionProvider, s as MarkerReader, t as BindSiteParams, u as PrepareCallback, w as RuntimeQueryable, x as RuntimeFamilyAdapter, y as Runtime, z as SqlStaticContributions } from "./prepared-statement-Bs9TKj5u-CInk8vXF.mjs";
4
- import { _ as lowerSqlPlan, a as LintsOptions, c as RuntimeActivity, d as TransactionActivity, f as TransactionEnded, g as lints, h as extractCodecIds, i as ExecuteInterceptResult, l as StatementActivity, m as createAstCodecRegistry, n as ActivityFinalizedResult, o as Log, p as budgets, r as BudgetsOptions, s as QueryInterceptResult, t as ActivityEndedResult, u as StatementEnded, v as validateCodecRegistryCompleteness, y as validateContractCodecMappings } from "./index-qr6LA3dl.mjs";
2
+ import { c as TypeHelperRegistry, n as ExecutionContext } from "./query-lane-context-C42-u9L1-Bxa4DkI_.mjs";
3
+ import { A as SqlMiddleware, B as TelemetryOutcome, C as RuntimeParameterizedCodecDescriptor, E as RuntimeTransaction, F as SqlRuntimeDriverInstance, G as VerifyMarkerOption, I as SqlRuntimeExtensionDescriptor, K as createExecutionContext, L as SqlRuntimeExtensionInstance, M as SqlRuntimeAdapterDescriptor, N as SqlRuntimeAdapterInstance, O as SqlExecutionStack, P as SqlRuntimeBase, R as SqlRuntimeTargetDescriptor, S as RuntimeOptions, T as RuntimeTelemetryEvent, V as TransactionContext, X as encodeParamsWithMetadata, Y as deriveParamMetadata, _ as PreparedStatementInternals, a as DeclaredCodecId, b as RuntimeConnection, c as ParamSpec, d as PreparedExecution, f as PreparedExecutionImpl, g as PreparedStatementImpl, i as Declaration, j as SqlMiddlewareContext, k as SqlExecutionStackWithDriver, l as ParamsFromDeclaration, m as PreparedStatement, n as CloseRefusal, nt as withTransaction, o as DeclaredNullable, p as PreparedFor, q as createSqlExecutionStack, r as ConnectionProvider, s as MarkerReader, t as BindSiteParams, u as PrepareCallback, w as RuntimeQueryable, x as RuntimeFamilyAdapter, y as Runtime, z as SqlStaticContributions } from "./prepared-statement-BwHkxfuI-CKkkrS6r.mjs";
4
+ import { _ as lowerSqlPlan, a as LintsOptions, c as RuntimeActivity, d as TransactionActivity, f as TransactionEnded, g as lints, h as extractCodecIds, i as ExecuteInterceptResult, l as StatementActivity, m as createAstCodecRegistry, n as ActivityFinalizedResult, o as Log, p as budgets, r as BudgetsOptions, s as QueryInterceptResult, t as ActivityEndedResult, u as StatementEnded, v as validateCodecRegistryCompleteness, y as validateContractCodecMappings } from "./index-CmKqLvvO.mjs";
5
5
  export { type ActivityEndedResult, type ActivityFinalizedResult, type BindSiteParams, type BudgetsOptions, type CloseRefusal, type ConnectionProvider, type Declaration, type DeclaredCodecId, type DeclaredNullable, type ExecuteInterceptResult, type ExecutionContext, type LintsOptions, type Log, type MarkerReadResult, type MarkerReader, type ParamSpec, type ParamsFromDeclaration, type PrepareCallback, type PreparedExecution, PreparedExecutionImpl, type PreparedFor, type PreparedStatement, PreparedStatementImpl, type PreparedStatementInternals, type QueryInterceptResult, type Runtime, type RuntimeActivity, type RuntimeConnection, type RuntimeFamilyAdapter, type RuntimeOptions, type RuntimeParameterizedCodecDescriptor, type RuntimeQueryable, type RuntimeTelemetryEvent, type RuntimeTransaction, type SqlExecutionStack, type SqlExecutionStackWithDriver, type SqlMiddleware, type SqlMiddlewareContext, type SqlRuntimeAdapterDescriptor, type SqlRuntimeAdapterInstance, SqlRuntimeBase, type SqlRuntimeDriverInstance, type SqlRuntimeExtensionDescriptor, type SqlRuntimeExtensionInstance, type SqlRuntimeTargetDescriptor, type SqlStaticContributions, type StatementActivity, type StatementEnded, type TelemetryOutcome, type TransactionActivity, type TransactionContext, type TransactionEnded, type TypeHelperRegistry, type VerifyMarkerOption, budgets, createAstCodecRegistry, createExecutionContext, createSqlExecutionStack, deriveParamMetadata, encodeParamsWithMetadata, extractCodecIds, lints, lowerSqlPlan, validateCodecRegistryCompleteness, validateContractCodecMappings, withTransaction };
package/dist/runtime.mjs CHANGED
@@ -17,7 +17,7 @@ import { AsyncIterableResult, RuntimeCore, applyMutationDefaults, assertMutation
17
17
  import { canonicalizeJson } from "@prisma/orm-framework/components/utils";
18
18
  import { createExecutionStack } from "@prisma/orm-framework/components/execution";
19
19
  import { hashContent } from "@prisma/orm-framework/utils/hash-content";
20
- //#region ../../../2-sql/5-runtime/dist/exports-BxFmkVE5.mjs
20
+ //#region ../../../2-sql/5-runtime/dist/exports-DrqX-jwZ.mjs
21
21
  /**
22
22
  * Build an {@link AstCodecResolver} bound to a descriptor registry and a per-call instance-context factory.
23
23
  *
@@ -794,6 +794,7 @@ function createExecutionContext(options) {
794
794
  queryOperations: queryOperationRegistry,
795
795
  types,
796
796
  rawCodecInferer: stack.adapter.rawCodecInferer,
797
+ collectionMethods: contributors.flatMap((contributor) => contributor.collectionMethods?.() ?? []),
797
798
  applyMutationDefaults: (options) => applyMutationDefaults(contract.execution, mutationDefaultGeneratorRegistry, options)
798
799
  };
799
800
  }