@prisma/orm-family-sql 0.17.0-dev.10 → 0.17.0-dev.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ast--BZUAzN1.d.mts → ast-Bb6loOw9.d.mts} +13 -16
- package/dist/ast-Bb6loOw9.d.mts.map +1 -0
- package/dist/builder.d.mts +1 -1
- package/dist/builder__runtime.d.mts +2 -2
- package/dist/builder__types.d.mts +1 -1
- package/dist/{control-BqrVERXN.d.mts → control-BWngBFMj.d.mts} +4 -4
- package/dist/{control-BqrVERXN.d.mts.map → control-BWngBFMj.d.mts.map} +1 -1
- package/dist/{control-adapter-C99J7aEF-mjOpiO_9.d.mts → control-adapter-C99J7aEF-Cmay9zFj.d.mts} +2 -2
- package/dist/{control-adapter-C99J7aEF-mjOpiO_9.d.mts.map → control-adapter-C99J7aEF-Cmay9zFj.d.mts.map} +1 -1
- package/dist/control-adapter-DrCAQQpa.d.mts +1 -0
- package/dist/{db-B5PMfDDd-BiWfkubp.d.mts → db-B5PMfDDd-BsvBY8Wh.d.mts} +2 -2
- package/dist/{db-B5PMfDDd-BiWfkubp.d.mts.map → db-B5PMfDDd-BsvBY8Wh.d.mts.map} +1 -1
- package/dist/{diff-CIIMSaVD.d.mts → diff-DnLtQXpg.d.mts} +3 -3
- package/dist/{diff-CIIMSaVD.d.mts.map → diff-DnLtQXpg.d.mts.map} +1 -1
- package/dist/family.d.mts +7 -7
- package/dist/family__control-adapter.d.mts +2 -2
- package/dist/family__control.d.mts +2 -2
- package/dist/family__diff.d.mts +2 -2
- package/dist/family__migration.d.mts +1 -1
- package/dist/family__runtime.d.mts +1 -1
- package/dist/{index-D_QTT11u.d.mts → index-BOhWLVvH.d.mts} +2 -2
- package/dist/{index-D_QTT11u.d.mts.map → index-BOhWLVvH.d.mts.map} +1 -1
- package/dist/{migration-Dtyw2JeL.d.mts → migration-BvCT6g2N.d.mts} +2 -2
- package/dist/{migration-Dtyw2JeL.d.mts.map → migration-BvCT6g2N.d.mts.map} +1 -1
- package/dist/orm-client.d.mts +1 -1
- package/dist/relational-core.d.mts +2 -2
- package/dist/relational-core__ast.d.mts +2 -2
- package/dist/{runtime-DXPO2ytG.d.mts → runtime-AvfMMERk.d.mts} +2 -2
- package/dist/{runtime-DXPO2ytG.d.mts.map → runtime-AvfMMERk.d.mts.map} +1 -1
- package/dist/runtime.d.mts +2 -2
- package/dist/runtime.mjs +5 -5
- package/dist/runtime.mjs.map +1 -1
- package/dist/{types-IqZMLrFC-C1Zu2oo9.d.mts → types-IqZMLrFC-D8PN7ygS.d.mts} +2 -2
- package/dist/{types-IqZMLrFC-C1Zu2oo9.d.mts.map → types-IqZMLrFC-D8PN7ygS.d.mts.map} +1 -1
- package/package.json +18 -18
- package/dist/ast--BZUAzN1.d.mts.map +0 -1
- package/dist/control-adapter-xEtAQKd9.d.mts +0 -1
|
@@ -13,22 +13,20 @@ import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
|
13
13
|
* clauses) carry no param; `params` holds the wire values for the `$N`/`?`
|
|
14
14
|
* positions, in order.
|
|
15
15
|
*/
|
|
16
|
+
interface PreparedStatementHandle {
|
|
17
|
+
get(): unknown;
|
|
18
|
+
set(value: unknown): void;
|
|
19
|
+
}
|
|
16
20
|
interface SqlExecuteRequest {
|
|
17
21
|
readonly sql: string;
|
|
18
22
|
readonly params?: readonly unknown[];
|
|
23
|
+
readonly preparedStatementHandle?: PreparedStatementHandle;
|
|
19
24
|
}
|
|
20
|
-
interface PreparedExecuteRequest {
|
|
21
|
-
readonly
|
|
22
|
-
readonly params: readonly unknown[];
|
|
23
|
-
readonly handle: {
|
|
24
|
-
get(): unknown;
|
|
25
|
-
set(value: unknown): void;
|
|
26
|
-
};
|
|
25
|
+
interface PreparedExecuteRequest extends SqlExecuteRequest {
|
|
26
|
+
readonly preparedStatementHandle: PreparedStatementHandle;
|
|
27
27
|
}
|
|
28
|
-
interface
|
|
29
|
-
readonly
|
|
30
|
-
readonly rowCount?: number | null;
|
|
31
|
-
readonly [key: string]: unknown;
|
|
28
|
+
interface SqlStatementStats {
|
|
29
|
+
readonly affectedRows: number;
|
|
32
30
|
}
|
|
33
31
|
interface SqlExplainResult<Row = Record<string, unknown>> {
|
|
34
32
|
readonly rows: ReadonlyArray<Row>;
|
|
@@ -79,10 +77,9 @@ interface SqlTransaction extends SqlQueryable {
|
|
|
79
77
|
rollback(): Promise<void>;
|
|
80
78
|
}
|
|
81
79
|
interface SqlQueryable {
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
query<Row = Record<string, unknown>>(request: SqlExecuteRequest): AsyncIterable<Row>;
|
|
81
|
+
execute(request: SqlExecuteRequest): Promise<SqlStatementStats>;
|
|
84
82
|
explain?(request: SqlExecuteRequest): Promise<SqlExplainResult>;
|
|
85
|
-
query<Row = Record<string, unknown>>(sql: string, params?: readonly unknown[]): Promise<SqlQueryResult<Row>>;
|
|
86
83
|
}
|
|
87
84
|
//#endregion
|
|
88
85
|
//#region src/ast/adapter-types.d.ts
|
|
@@ -282,5 +279,5 @@ declare function compact<T extends Record<string, unknown>>(o: T): T;
|
|
|
282
279
|
*/
|
|
283
280
|
declare function collectOrderedParamRefs(ast: AnyQueryAst): ReadonlyArray<AnyParamRef>;
|
|
284
281
|
//#endregion
|
|
285
|
-
export {
|
|
286
|
-
//# sourceMappingURL=ast
|
|
282
|
+
export { sqlTextDecode as $, SqlTimestampCodec as A, sqlCharEncode as B, SqlFloatDescriptor as C, SqlStatementStats as D, SqlQueryable as E, collectOrderedParamRefs as F, sqlFloatDescriptor as G, sqlFloatColumn as H, compact as I, sqlIntColumn as J, sqlFloatEncode as K, sqlCharColumn as L, SqlTransaction as M, SqlVarcharCodec as N, SqlTextCodec as O, SqlVarcharDescriptor as P, sqlTextColumn as Q, sqlCharDecode as R, SqlFloatCodec as S, SqlIntDescriptor as T, sqlFloatDecode as U, sqlCharRenderOutputType as V, sqlFloatDecodeJson as W, sqlIntDescriptor as X, sqlIntDecode as Y, sqlIntEncode as Z, SqlConnection as _, LowererContext as a, sqlTimestampDescriptor as at, SqlExecuteRequest as b, PreparedStatementHandle as c, sqlTimestampRenderOutputType as ct, SQL_INT_CODEC_ID as d, sqlVarcharDescriptor as dt, sqlTextDescriptor as et, SQL_TEXT_CODEC_ID as f, sqlVarcharEncode as ft, SqlCharDescriptor as g, SqlCharCodec as h, Lowerer as i, sqlTimestampDecodeJson as it, SqlTimestampDescriptor as j, SqlTextDescriptor as k, SQL_CHAR_CODEC_ID as l, sqlVarcharColumn as lt, SQL_VARCHAR_CODEC_ID as m, AdapterProfile as n, sqlTimestampColumn as nt, MarkerReadResult as o, sqlTimestampEncode as ot, SQL_TIMESTAMP_CODEC_ID as p, sqlVarcharRenderOutputType as pt, sqlFloatEncodeJson as q, AdapterTarget as r, sqlTimestampDecode as rt, PreparedExecuteRequest as s, sqlTimestampEncodeJson as st, Adapter as t, sqlTextEncode as tt, SQL_FLOAT_CODEC_ID as u, sqlVarcharDecode as ut, SqlDriver as v, SqlIntCodec as w, SqlExplainResult as x, SqlDriverState as y, sqlCharDescriptor as z };
|
|
283
|
+
//# sourceMappingURL=ast-Bb6loOw9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ast-Bb6loOw9.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/ast.d.mts"],"mappings":";;;;;;;;;;;;;;;UAcU;EACR;EACA,IAAI;;UAEI;WACC;WACA;WACA,0BAA0B;;UAE3B,+BAA+B;WAC9B,yBAAyB;;UAE1B;WACC;;UAED,iBAAiB,MAAM;WACtB,MAAM,cAAc;;KAE1B;UACK,UAAU,yBAAyB;WAClC,QAAQ;EACjB,QAAQ,SAAS,WAAW;EAC5B,qBAAqB,QAAQ;EAC7B,SAAS;;UAED,sBAAsB;EAC9B,oBAAoB,QAAQ;;;;;;;EAO5B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;EAwBX,QAAQ,mBAAmB;;UAEnB,uBA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ACA;WACA;WACA,cAAc,iBAAiB;EACxC,iBAAiB,QAAQ;EACzB,QAAQ,SAAS,mBAAmB,KAAK,yBAAyB;;cAEtD,wBAAwB;cACxB,qBAAqB,SAAS,mEAAmE,WAAW,mBAAmB;;;iBAG5H,QAAQ,UAAU,yBAAyB,GAAG,IAAI;;;;;;;;;;;iBAWlD,wBAAwB,KAAK,cAAc,cAAc"}
|
package/dist/builder.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as Expression, u as ScopeField } from "./expression-KPBpeH4T.mjs";
|
|
2
|
-
import { c as GroupedQuery, d as QueryContext, f as ResolveRow, h as Subquery, i as DeleteQuery, l as InsertQuery, m as SelectQuery, o as Functions, p as Scope, r as Db, s as GatedMethod, t as AggregateFunctions, v as TableProxy, x as UpdateQuery } from "./db-B5PMfDDd-
|
|
2
|
+
import { c as GroupedQuery, d as QueryContext, f as ResolveRow, h as Subquery, i as DeleteQuery, l as InsertQuery, m as SelectQuery, o as Functions, p as Scope, r as Db, s as GatedMethod, t as AggregateFunctions, v as TableProxy, x as UpdateQuery } from "./db-B5PMfDDd-BsvBY8Wh.mjs";
|
|
3
3
|
export type { AggregateFunctions, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, InsertQuery, QueryContext, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableProxy, UpdateQuery };
|
|
@@ -2,9 +2,9 @@ import { c as SqlStorage } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
|
2
2
|
import "./types-wy2-Y8wQ.mjs";
|
|
3
3
|
import { i as SqlOperationEntry } from "./index-BZF7Wehu.mjs";
|
|
4
4
|
import { s as AnyExpression } from "./types-BwePDa3m-BVrPIi8V.mjs";
|
|
5
|
-
import "./ast
|
|
5
|
+
import "./ast-Bb6loOw9.mjs";
|
|
6
6
|
import { a as Expression, o as RawCodecInferer, u as ScopeField } from "./expression-KPBpeH4T.mjs";
|
|
7
|
-
import { a as FieldProxy, d as QueryContext, o as Functions, p as Scope, r as Db, t as AggregateFunctions, y as TableProxyContract } from "./db-B5PMfDDd-
|
|
7
|
+
import { a as FieldProxy, d as QueryContext, o as Functions, p as Scope, r as Db, t as AggregateFunctions, y as TableProxyContract } from "./db-B5PMfDDd-BsvBY8Wh.mjs";
|
|
8
8
|
import { c as SqlAggregateDescriptorRegistry, r as ExecutionContext } from "./query-lane-context-DjyAyYht-HDNYE_oF.mjs";
|
|
9
9
|
import "./query-lane-context-Dcj4eXUl.mjs";
|
|
10
10
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
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-
|
|
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-BsvBY8Wh.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 };
|
|
@@ -5,11 +5,11 @@ import "./types-wy2-Y8wQ.mjs";
|
|
|
5
5
|
import { r as SqlOperationDescriptors } from "./index-BZF7Wehu.mjs";
|
|
6
6
|
import { m as AnyQueryAst } from "./types-BwePDa3m-BVrPIi8V.mjs";
|
|
7
7
|
import { s as DdlNode } from "./ddl-types-h_3_pXmq-QBLq6WbP.mjs";
|
|
8
|
-
import { a as LowererContext,
|
|
8
|
+
import { a as LowererContext, b as SqlExecuteRequest } from "./ast-Bb6loOw9.mjs";
|
|
9
9
|
import { g as SqlSchemaIR, v as SqlSchemaIRNode } from "./types-CvbBw1Jo-3KQdErJY.mjs";
|
|
10
10
|
import "./types-TvBZ2Ne9.mjs";
|
|
11
|
-
import { i as SqlControlAdapter } from "./control-adapter-C99J7aEF-
|
|
12
|
-
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, O as SqlPlannerFailureResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, h as SqlMigrationPlanner, n as CodecControlHooks, r as CreateSqlMigrationPlanOptions, t as AnyRecord, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, x as SqlMigrationRunnerFailure } from "./types-IqZMLrFC-
|
|
11
|
+
import { i as SqlControlAdapter } from "./control-adapter-C99J7aEF-Cmay9zFj.mjs";
|
|
12
|
+
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, O as SqlPlannerFailureResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, h as SqlMigrationPlanner, n as CodecControlHooks, r as CreateSqlMigrationPlanOptions, t as AnyRecord, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, x as SqlMigrationRunnerFailure } from "./types-IqZMLrFC-D8PN7ygS.mjs";
|
|
13
13
|
import { t as SqlSchemaDiffFn } from "./schema-differ-DpG_gnur-zSwkxqxK.mjs";
|
|
14
14
|
import { ColumnDefault, Contract, ControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
15
15
|
import { NotOk, Ok } from "@prisma/orm-framework/utils/result";
|
|
@@ -945,4 +945,4 @@ declare function temporalCodecPreset<const CodecId extends string, const NativeT
|
|
|
945
945
|
declare const _default: SqlFamilyDescriptor;
|
|
946
946
|
//#endregion
|
|
947
947
|
export { partitionCallsByControlPolicy as A, temporalCodecPresetWithPrecision as B, buildNativeTypeExpander as C, createMigrationPlan as D, controlPolicyForCall as E, resolveValueSetValues as F, runnerFailure as I, runnerSuccess as L, planFieldEventOperations as M, plannerFailure as N, detectDestructiveChanges as O, plannerSuccess as P, temporalAuthoringPresets as R, assembleAuthoringContributions as S, contractToSchemaIR as T, timestampNowControlDescriptor as V, SqlControlTargetDescriptor as _, EnumNamespaceSchemaResolver as a, TargetMigrationsCapability as b, MigrationOperationPolicy$1 as c, MigrationPlanner as d, MigrationPlannerConflict$1 as f, SqlControlFamilyInstance as g, PlanFieldEventOperationsOptions as h, DefaultResolver as i, partitionIssuesByControlPolicy as j, extractCodecControlHooks as k, MigrationPlan$1 as l, NativeTypeExpander as m, ControlPolicySubject as n, INIT_ADDITIVE_POLICY as o, MigrationPlannerResult as p, DefaultRenderer as r, MigrationOperationClass as s, ContractToSchemaIROptions as t, MigrationPlanOperation$1 as u, SqlDescribedContractSpace as v, contractNamespaceToSchemaIR as w, _default as x, SuppressionRecord as y, temporalCodecPreset as z };
|
|
948
|
-
//# sourceMappingURL=control-
|
|
948
|
+
//# sourceMappingURL=control-BWngBFMj.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-BWngBFMj.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;UAcU;WACC;WACA;WACA;WACA;;KAEN,0BAA0B,YAAY;UACjC;WACC,kBAAkB,cAAc;WAChC,cAAc;WACd,sBAAsB;;UAEvB,iCAAiC,6BAA6B,kBAAkB,kBAAkB,kBAAkB,wBAAwB,kBAAkB,yBAAyB;;;;;;;;;EAS/L,oBAAoB,wBAAwB;EAC5C,OAAO;aACI,QAAQ;aACR;aACA;aACA;aACA;MACP,QAA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1D,cAAc;EAC7B;EACA;IACE,GAAG;;;;iBAIU,cAAc,MAAM,6BAA6B,iBAAiB;EACjF;EACA,OAAO;IACL,MAAM;;;;;;cAMI,sBAAsB;;;;;;;;;;;;;;iBAcnB,iCAAiC;;;;;;;;;;;iBAWjC,+BAA+B,8BAA8B,2BAA2B;WAC9F,SAAS;WACT,YAAY;;WAEZ;aACE;aACA;eACE,SAAS;eACT,YAAY;eACZ;iBACE;iBACA;;;;WAIN;aACE;aACA;eACE,SAAS;eACT,YAAY;eACZ;iBACE;mBACE;mBACA;;iBAEF;mBACE;mBACA;;;;;;;;;;;;;;;iBAeF,uCAAuC,8BAA8B,2BAA2B;WACtG,SAAS;WACT,YAAY;;WAEZ;WACA;aACE;aACA;aACA;aACA;aACA;;aAEA;aACA;aACA;aACA;;aAEA;aACA;aACA;aACA;;WAEF;aACE,SAAS;aACT,YAAY;aACZ;eACE;iBACE;iBACA;;;aAGJ;eACE;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA;;;;eAIN;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA;;;;;;;;;;;;iBAYJ,0BAA0B,8BAA8B,2BAA2B;WACzF,SAAS;WACT,YAAY;;WAEZ;WACA;aACE;aACA;aACA;aACA;;aAEA;aACA;aACA;aACA;;WAEF;aACE,SAAS;aACT,YAAY;aACZ;eACE;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA;;;;eAIN;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA;;;;;;;;;cASP,UAAU"}
|
package/dist/{control-adapter-C99J7aEF-mjOpiO_9.d.mts → control-adapter-C99J7aEF-Cmay9zFj.d.mts}
RENAMED
|
@@ -2,7 +2,7 @@ import { O as SqlControlDriverInstance } from "./types-D_plAPEe-DqK5It_K.mjs";
|
|
|
2
2
|
import "./types-wy2-Y8wQ.mjs";
|
|
3
3
|
import { m as AnyQueryAst, ut as LoweredStatement } from "./types-BwePDa3m-BVrPIi8V.mjs";
|
|
4
4
|
import { s as DdlNode } from "./ddl-types-h_3_pXmq-QBLq6WbP.mjs";
|
|
5
|
-
import { a as LowererContext,
|
|
5
|
+
import { a as LowererContext, b as SqlExecuteRequest } from "./ast-Bb6loOw9.mjs";
|
|
6
6
|
import { v as SqlSchemaIRNode } from "./types-CvbBw1Jo-3KQdErJY.mjs";
|
|
7
7
|
import "./types-TvBZ2Ne9.mjs";
|
|
8
8
|
import { ColumnDefault, ContractMarkerRecord, LedgerEntryRecord } from "@prisma/orm-framework/contract/types";
|
|
@@ -188,4 +188,4 @@ interface SqlControlAdapterDescriptor<TTarget extends string = string> {
|
|
|
188
188
|
}
|
|
189
189
|
//#endregion
|
|
190
190
|
export { SqlControlAdapterDescriptor as a, SqlControlAdapter as i, Lowerer as n, arraysEqual as o, NativeTypeNormalizer as r, ExecuteRequestLowerer as t };
|
|
191
|
-
//# sourceMappingURL=control-adapter-C99J7aEF-
|
|
191
|
+
//# sourceMappingURL=control-adapter-C99J7aEF-Cmay9zFj.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-adapter-C99J7aEF-
|
|
1
|
+
{"version":3,"file":"control-adapter-C99J7aEF-Cmay9zFj.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/control-adapter-C99J7aEF.d.mts"],"mappings":";;;;;;;;;;;;;;;KAUK,qBAAqB,oBAAoB,uBAAuB;;;;;;KAMhE,wBAAwB;;;;iBAIZ,YAAY,sBAAsB;;;;;;;;;;UAUzC;EACR,MAAM,KAAK,cAAc,SAAS,SAAS,0BAA0B;;;;;;;;UAQ7D,8BAA8B;EACtC,sBAAsB,KAAK,cAAc,SAAS,UAAU,0BAA0B,QAAQ;;;;;;;;UAQtF,kBAAkB,yCAAyC,8BAA8B,UAAU;;;;;;;;;;;;;;;;EAgB3G,WAAW,QAAQ,yBAAyB,UAAU,gBAAgB,QAAQ;;;;;;;;EAQ9E,eAAe,QAAQ,yBAAyB,WAAW,QAAQ,oBAAoB;;;;;EAKvF,WAAW,QAAQ,yBAAyB,UAAU,iBAAiB,iBAAiB;;;;;;;EAOxF,aAAa,QAAQ,yBAAyB,UAAU,eAAe;aAC5D;aACA;aACA;MACP;;;;;;;EAOJ,WAAW,QAAQ,yBAAyB,UAAU,eAAe;aAC1D;aACA;aACA;MACP;;;;;;;;EAQJ,aAAa,QAAQ,yBAAyB,UAAU,eAAe,sBAAsB;aAClF;aACA;aACA;MACP;;;;;;;EAOJ,iBAAiB,QAAQ,yBAAyB,UAAU,eAAe;aAChE;aACA;aACA;aACA;aACA;aACA;aACA;MACP;;;;;;;;;;;;;;;;;;EAkBJ,WAAW,QAAQ,yBAAyB,UAAU,oBAAoB,kBAAkB,QAAQ;;;;;;WAM3F,mBAAmB;;;;;;WAMnB,sBAAsB;;;;;EAK/B,yCAAyC;;;;;EAKzC,uCAAuC;;;;;;;;UAQ/B,4BAA4B;;;;;;;EAOpC,OAAO,OAAO,oBAAoB,WAAW,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./control-adapter-C99J7aEF-Cmay9zFj.mjs";
|
|
@@ -2,7 +2,7 @@ import { a as StorageTable } from "./storage-table-BBaAmanc-BwR37LMA.mjs";
|
|
|
2
2
|
import { T as QueryOperationTypesBase, h as ExtractStorageColumnTypes, l as ExtractAggregateTypes, m as ExtractStorageColumnInputTypes, p as ExtractQueryOperationTypes, r as AggregateTypesBase, u as ExtractCodecTypes } from "./types-D_plAPEe-DqK5It_K.mjs";
|
|
3
3
|
import { t as StorageColumnMapAt } from "./types-wy2-Y8wQ.mjs";
|
|
4
4
|
import { c as AnyFromSource, wt as SelectAst } from "./types-BwePDa3m-BVrPIi8V.mjs";
|
|
5
|
-
import "./ast
|
|
5
|
+
import "./ast-Bb6loOw9.mjs";
|
|
6
6
|
import { a as Expression, c as RawSqlTag, d as TraitExpression, n as CodecExpression, r as CodecTypesBase, u as ScopeField } from "./expression-KPBpeH4T.mjs";
|
|
7
7
|
import { t as SqlQueryPlan } from "./plan-Bmp5R9sq-DKMRkx6Z.mjs";
|
|
8
8
|
import "./plan-mKgmSe0R.mjs";
|
|
@@ -395,4 +395,4 @@ type Namespace<C extends TableProxyContract, NsId extends string & keyof C['stor
|
|
|
395
395
|
type Db<C extends TableProxyContract> = { readonly [Ns in keyof C['storage']['namespaces'] & string]: Namespace<C, Ns>; };
|
|
396
396
|
//#endregion
|
|
397
397
|
export { TableNamesAcrossNamespaces as _, FieldProxy as a, UnboundTables as b, GroupedQuery as c, QueryContext as d, ResolveRow as f, TableInAnyNamespace as g, Subquery as h, DeleteQuery as i, InsertQuery as l, SelectQuery as m, BooleanCodecType as n, Functions as o, Scope as p, Db as r, GatedMethod as s, AggregateFunctions as t, Namespace as u, TableProxy as v, UpdateQuery as x, TableProxyContract as y };
|
|
398
|
-
//# sourceMappingURL=db-B5PMfDDd-
|
|
398
|
+
//# sourceMappingURL=db-B5PMfDDd-BsvBY8Wh.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db-B5PMfDDd-
|
|
1
|
+
{"version":3,"file":"db-B5PMfDDd-BsvBY8Wh.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/sql-builder/dist/db-B5PMfDDd.d.mts"],"mappings":";;;;;;;;;;;KAMK,YAAY,cAAc,UAAU,UAAU,qBAAqB,WAAW;cACrE;cACA;KACT,OAAO,QAAQ,WAAW,IAAI,EAAE;KAChC,WAAW,cAAc;KACzB,aAAa,eAAe;KAC5B;EACH,UAAU;EACV,YAAY,eAAe;;KAExB,WAAW,YAAY,YAAY;YAC5B;IACR,UAAU;IACV,YAAY,OAAO,OAAO;;EAE5B,qBAAqB;EACrB,YAAY;;KAET,aAAa,qBAAqB,cAAc;EACnD,UAAU,yBAAyB;EACnC,eAAe,KAAK,OAAO,yBAAyB;;KAEjD,yBAAyB,UAAU,mBAAqB,WAAW;EACtE,SAAS,aAAa;EACtB,UAAU,aAAa;KACpB,aAAa;EAChB;;EAEA;IACE;KACC,YAAY,UAAU,OAAO,UAAU;EAC1C,U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E,YAAY,SAAS;eACnB,SAAS;;;WAGb,cAAc;;KAEpB,kBAAkB;WACZ,SAAS;KACf,+BAA+B,SAAS,eAAe,iBAAiB,yBAAyB,SAAS,eAAe;KACzH,cAAc,UAAU,kCAAkC,QAAQ,2BAA2B,KAAK,oBAAoB,GAAG;KACzH,2BAA2B,UAAU,yBAAyB,cAAc,mCAAmC,kBAAkB,2BAA2B,yBAAyB;KACrL,oBAAoB,UAAU,oBAAoB,0BAA0B,cAAc,6BAA6B,mBAAmB,kBAAkB,2BAA2B,SAAS,kBAAkB,2BAA2B,OAAO,uBAAuB;KAC3Q,eAAe,UAAU,oBAAoB,qBAAqB,uBAAuB,kBAAkB,2BAA2B,OAAO;KAC7I,UAAU,UAAU,oBAAoB,4BAA4B,0CAA0C,cAAc,kBAAkB,2BAA2B,kBAAkB,WAAW,GAAG,MAAM;KAC/M,GAAG,UAAU,kCAAkC,YAAY,sCAAsC,UAAU,GAAG"}
|
|
@@ -2,8 +2,8 @@ import { c as SqlStorage } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
|
2
2
|
import "./types-wy2-Y8wQ.mjs";
|
|
3
3
|
import { v as SqlSchemaIRNode } from "./types-CvbBw1Jo-3KQdErJY.mjs";
|
|
4
4
|
import "./types-TvBZ2Ne9.mjs";
|
|
5
|
-
import "./control-adapter-C99J7aEF-
|
|
6
|
-
import { n as CodecControlHooks } from "./types-IqZMLrFC-
|
|
5
|
+
import "./control-adapter-C99J7aEF-Cmay9zFj.mjs";
|
|
6
|
+
import { n as CodecControlHooks } from "./types-IqZMLrFC-D8PN7ygS.mjs";
|
|
7
7
|
import { t as SqlSchemaDiffFn } from "./schema-differ-DpG_gnur-zSwkxqxK.mjs";
|
|
8
8
|
import { Contract, ControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
9
9
|
import { TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
|
|
@@ -101,4 +101,4 @@ interface VerifySqlSchemaByDiffInput {
|
|
|
101
101
|
declare function verifySqlSchemaByDiff(input: VerifySqlSchemaByDiffInput): VerifyDatabaseSchemaResult;
|
|
102
102
|
//#endregion
|
|
103
103
|
export { VerifySqlSchemaByDiffInput as a, computeSqlDiffVerdict as c, StorageTypeVerdictInput as i, computeStorageTypeVerdict as l, SqlDiffVerdictInput as n, classifyDiffSubjectGranularity as o, StorageTypeVerdict as r, classifySqlDiffIssue as s, SqlDiffVerdict as t, verifySqlSchemaByDiff as u };
|
|
104
|
-
//# sourceMappingURL=diff-
|
|
104
|
+
//# sourceMappingURL=diff-DnLtQXpg.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff-
|
|
1
|
+
{"version":3,"file":"diff-DnLtQXpg.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/diff.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;iBAmBiB,+BAA+B,OAAO,iBAAiB,gBAAgB,qBAAqB,yBAAyB;;;;;;;;;;;;;iBAarH,qBAAqB,OAAO,iBAAiB,gBAAgB,qBAAqB,yBAAyB;UAClH;;WAEC,iBAAiB;;WAEjB,uBAAuB,OAAO,oBAAoB;WAClD;WACA,sBAAsB;;WAEtB,gBAAgB,qBAAqB;;UAEtC;WACC,mBAAmB;WACnB,mBAAmB;;;;;;;;;iBASb,sBAAsB,OAAO,sBAAsB;UAC1D;WACC,UAAU,SAAS;;;;;;;WAOnB,gBAAgB;aACd,QAAQ;;WAEV,YAAY,oBAAoB;;;;;;;;;UASjC;WACC,mBAAmB;WACnB,mBAAmB;;iBAEb,0BAA0B,OAAO,0BAA0B;UAClE;WACC,UAAU,SAAS;WACnB,QAAQ;WACR;WACA,qBAAqB,cAAc;;WAEnC,YAAY;;WAEZ,gBAAgB,qBAAqB;;;;;;;;;iBAS/B,sBAAsB,OAAO,6BAA6B"}
|
package/dist/family.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-DUwyRJmP.mjs";
|
|
2
|
-
import { i as SqlControlAdapter, n as Lowerer, o as arraysEqual, r as NativeTypeNormalizer, t as ExecuteRequestLowerer } from "./control-adapter-C99J7aEF-
|
|
3
|
-
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, D as SqlPlannerConflictLocation, E as SqlPlannerConflictKind, O as SqlPlannerFailureResult, S as SqlMigrationRunnerResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, a as FieldEvent, b as SqlMigrationRunnerExecuteOptions, c as SqlControlAdapterDescriptor, d as SqlMigrationPlanContractInfo, f as SqlMigrationPlanOperation, g as SqlMigrationPlannerPlanOptions, h as SqlMigrationPlanner, i as ExpandNativeTypeInput, j as StorageTypePlanResult, k as SqlPlannerResult, l as SqlControlExtensionDescriptor, m as SqlMigrationPlanOperationTarget, n as CodecControlHooks, o as FieldEventContext, p as SqlMigrationPlanOperationStep, r as CreateSqlMigrationPlanOptions, s as ResolveIdentityValueInput, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, w as SqlPlanTargetDetails, x as SqlMigrationRunnerFailure, y as SqlMigrationRunnerExecuteCallbacks } from "./types-IqZMLrFC-
|
|
2
|
+
import { i as SqlControlAdapter, n as Lowerer, o as arraysEqual, r as NativeTypeNormalizer, t as ExecuteRequestLowerer } from "./control-adapter-C99J7aEF-Cmay9zFj.mjs";
|
|
3
|
+
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, D as SqlPlannerConflictLocation, E as SqlPlannerConflictKind, O as SqlPlannerFailureResult, S as SqlMigrationRunnerResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, a as FieldEvent, b as SqlMigrationRunnerExecuteOptions, c as SqlControlAdapterDescriptor, d as SqlMigrationPlanContractInfo, f as SqlMigrationPlanOperation, g as SqlMigrationPlannerPlanOptions, h as SqlMigrationPlanner, i as ExpandNativeTypeInput, j as StorageTypePlanResult, k as SqlPlannerResult, l as SqlControlExtensionDescriptor, m as SqlMigrationPlanOperationTarget, n as CodecControlHooks, o as FieldEventContext, p as SqlMigrationPlanOperationStep, r as CreateSqlMigrationPlanOptions, s as ResolveIdentityValueInput, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, w as SqlPlanTargetDetails, x as SqlMigrationRunnerFailure, y as SqlMigrationRunnerExecuteCallbacks } from "./types-IqZMLrFC-D8PN7ygS.mjs";
|
|
4
4
|
import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DpG_gnur-zSwkxqxK.mjs";
|
|
5
|
-
import { A as partitionCallsByControlPolicy, B as temporalCodecPresetWithPrecision, C as buildNativeTypeExpander, D as createMigrationPlan, E as controlPolicyForCall, F as resolveValueSetValues, I as runnerFailure, L as runnerSuccess, M as planFieldEventOperations, N as plannerFailure, O as detectDestructiveChanges, P as plannerSuccess, R as temporalAuthoringPresets, S as assembleAuthoringContributions, T as contractToSchemaIR, V as timestampNowControlDescriptor, _ as SqlControlTargetDescriptor, a as EnumNamespaceSchemaResolver, b as TargetMigrationsCapability, c as MigrationOperationPolicy, d as MigrationPlanner, f as MigrationPlannerConflict, g as SqlControlFamilyInstance, h as PlanFieldEventOperationsOptions, i as DefaultResolver, j as partitionIssuesByControlPolicy, k as extractCodecControlHooks, l as MigrationPlan, m as NativeTypeExpander, n as ControlPolicySubject, o as INIT_ADDITIVE_POLICY, p as MigrationPlannerResult, r as DefaultRenderer, s as MigrationOperationClass, t as ContractToSchemaIROptions, u as MigrationPlanOperation, v as SqlDescribedContractSpace, w as contractNamespaceToSchemaIR, y as SuppressionRecord, z as temporalCodecPreset } from "./control-
|
|
6
|
-
import "./control-adapter-
|
|
7
|
-
import { a as VerifySqlSchemaByDiffInput, c as computeSqlDiffVerdict, i as StorageTypeVerdictInput, l as computeStorageTypeVerdict, n as SqlDiffVerdictInput, o as classifyDiffSubjectGranularity, r as StorageTypeVerdict, s as classifySqlDiffIssue, t as SqlDiffVerdict, u as verifySqlSchemaByDiff } from "./diff-
|
|
5
|
+
import { A as partitionCallsByControlPolicy, B as temporalCodecPresetWithPrecision, C as buildNativeTypeExpander, D as createMigrationPlan, E as controlPolicyForCall, F as resolveValueSetValues, I as runnerFailure, L as runnerSuccess, M as planFieldEventOperations, N as plannerFailure, O as detectDestructiveChanges, P as plannerSuccess, R as temporalAuthoringPresets, S as assembleAuthoringContributions, T as contractToSchemaIR, V as timestampNowControlDescriptor, _ as SqlControlTargetDescriptor, a as EnumNamespaceSchemaResolver, b as TargetMigrationsCapability, c as MigrationOperationPolicy, d as MigrationPlanner, f as MigrationPlannerConflict, g as SqlControlFamilyInstance, h as PlanFieldEventOperationsOptions, i as DefaultResolver, j as partitionIssuesByControlPolicy, k as extractCodecControlHooks, l as MigrationPlan, m as NativeTypeExpander, n as ControlPolicySubject, o as INIT_ADDITIVE_POLICY, p as MigrationPlannerResult, r as DefaultRenderer, s as MigrationOperationClass, t as ContractToSchemaIROptions, u as MigrationPlanOperation, v as SqlDescribedContractSpace, w as contractNamespaceToSchemaIR, y as SuppressionRecord, z as temporalCodecPreset } from "./control-BWngBFMj.mjs";
|
|
6
|
+
import "./control-adapter-DrCAQQpa.mjs";
|
|
7
|
+
import { a as VerifySqlSchemaByDiffInput, c as computeSqlDiffVerdict, i as StorageTypeVerdictInput, l as computeStorageTypeVerdict, n as SqlDiffVerdictInput, o as classifyDiffSubjectGranularity, r as StorageTypeVerdict, s as classifySqlDiffIssue, t as SqlDiffVerdict, u as verifySqlSchemaByDiff } from "./diff-DnLtQXpg.mjs";
|
|
8
8
|
import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-Cvj3eU-K.mjs";
|
|
9
|
-
import { t as SqlMigration } from "./migration-
|
|
9
|
+
import { t as SqlMigration } from "./migration-BvCT6g2N.mjs";
|
|
10
10
|
import { _ as toEnumMemberName, a as PslPrinterOptions, b as toModelName, c as PslTypeResolution, d as deriveBackRelationFieldName, f as deriveRelationFieldName, g as pluralize, h as parseRawDefault, i as InferredRelations, l as RelationField, m as mapDefault, n as DefaultMappingResult, o as PslTypeMap, p as inferRelations, r as EnumInfo, s as PslTypeReference, t as DefaultMappingOptions, u as buildChildRelationField, v as toEnumName, y as toFieldName } from "./psl-infer-6je61Z6J.mjs";
|
|
11
|
-
import { a as timestampNowRuntimeGenerator, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-
|
|
11
|
+
import { a as timestampNowRuntimeGenerator, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-AvfMMERk.mjs";
|
|
12
12
|
import { n as parseContractMarkerRow, t as ContractMarkerRow } from "./verify-zDRnw0Rn.mjs";
|
|
13
13
|
export { type CodecControlHooks, type ContractMarkerRow, type ContractToSchemaIROptions, type ControlPolicySubject, type CreateSqlMigrationPlanOptions, type DefaultMappingOptions, type DefaultMappingResult, type DefaultRenderer, type DefaultResolver, type EnumInfo, type EnumNamespaceSchemaResolver, type ExecuteRequestLowerer, type ExpandNativeTypeInput, type FieldEvent, type FieldEventContext, INIT_ADDITIVE_POLICY, type InferredRelations, type Lowerer, SqlMigration as Migration, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type NativeTypeExpander, type NativeTypeNormalizer, type PlanFieldEventOperationsOptions, type PslPrinterOptions, type PslTypeMap, type PslTypeReference, type PslTypeResolution, type RelationField, type ResolveIdentityValueInput, type ResolvedDomainModel, type ResolvedStorageTable, SqlContractSerializer, SqlContractSerializerBase, type SqlControlAdapter, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDescribedContractSpace, type SqlDiffVerdict, type SqlDiffVerdictInput, type SqlEntityHydrationFactory, type SqlMigrationPlan, type SqlMigrationPlanContractInfo, type SqlMigrationPlanOperation, type SqlMigrationPlanOperationStep, type SqlMigrationPlanOperationTarget, type SqlMigrationPlanner, type SqlMigrationPlannerPlanOptions, type SqlMigrationRunner, type SqlMigrationRunnerErrorCode, type SqlMigrationRunnerExecuteCallbacks, type SqlMigrationRunnerExecuteOptions, type SqlMigrationRunnerFailure, type SqlMigrationRunnerResult, type SqlMigrationRunnerSuccessValue, type SqlPlanTargetDetails, type SqlPlannerConflict, type SqlPlannerConflictKind, type SqlPlannerConflictLocation, type SqlPlannerFailureResult, type SqlPlannerResult, type SqlPlannerSuccessResult, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, SqlSchemaVerifierBase, type StorageTypePlanResult, type StorageTypeVerdict, type StorageTypeVerdictInput, type SuppressionRecord, type TargetMigrationsCapability, UNBOUND_DOMAIN_NAMESPACE_ID, type VerifySqlSchemaByDiffInput, arraysEqual, assembleAuthoringContributions, buildChildRelationField, buildNativeTypeExpander, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, contractNamespaceToSchemaIR, contractToSchemaIR, controlPolicyForCall, createMigrationPlan, deriveBackRelationFieldName, deriveRelationFieldName, detectDestructiveChanges, extractCodecControlHooks, inferRelations, mapDefault, parseContractMarkerRow, parseRawDefault, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventOperations, plannerFailure, plannerSuccess, pluralize, resolveDomainModel, resolveStorageTable, resolveValueSetValues, runnerFailure, runnerSuccess, temporalAuthoringPresets, temporalCodecPreset, temporalCodecPresetWithPrecision, timestampNowControlDescriptor, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, verifySqlSchemaByDiff };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SqlControlAdapterDescriptor, i as SqlControlAdapter, n as Lowerer, t as ExecuteRequestLowerer } from "./control-adapter-C99J7aEF-
|
|
2
|
-
import "./control-adapter-
|
|
1
|
+
import { a as SqlControlAdapterDescriptor, i as SqlControlAdapter, n as Lowerer, t as ExecuteRequestLowerer } from "./control-adapter-C99J7aEF-Cmay9zFj.mjs";
|
|
2
|
+
import "./control-adapter-DrCAQQpa.mjs";
|
|
3
3
|
export type { ExecuteRequestLowerer, Lowerer, SqlControlAdapter, SqlControlAdapterDescriptor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, D as SqlPlannerConflictLocation, E as SqlPlannerConflictKind, O as SqlPlannerFailureResult, S as SqlMigrationRunnerResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, a as FieldEvent, b as SqlMigrationRunnerExecuteOptions, c as SqlControlAdapterDescriptor, d as SqlMigrationPlanContractInfo, f as SqlMigrationPlanOperation, g as SqlMigrationPlannerPlanOptions, h as SqlMigrationPlanner, i as ExpandNativeTypeInput, j as StorageTypePlanResult, k as SqlPlannerResult, l as SqlControlExtensionDescriptor, m as SqlMigrationPlanOperationTarget, n as CodecControlHooks, o as FieldEventContext, p as SqlMigrationPlanOperationStep, r as CreateSqlMigrationPlanOptions, s as ResolveIdentityValueInput, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, w as SqlPlanTargetDetails, x as SqlMigrationRunnerFailure, y as SqlMigrationRunnerExecuteCallbacks } from "./types-IqZMLrFC-
|
|
1
|
+
import { A as SqlPlannerSuccessResult, C as SqlMigrationRunnerSuccessValue, D as SqlPlannerConflictLocation, E as SqlPlannerConflictKind, O as SqlPlannerFailureResult, S as SqlMigrationRunnerResult, T as SqlPlannerConflict, _ as SqlMigrationRunner, a as FieldEvent, b as SqlMigrationRunnerExecuteOptions, c as SqlControlAdapterDescriptor, d as SqlMigrationPlanContractInfo, f as SqlMigrationPlanOperation, g as SqlMigrationPlannerPlanOptions, h as SqlMigrationPlanner, i as ExpandNativeTypeInput, j as StorageTypePlanResult, k as SqlPlannerResult, l as SqlControlExtensionDescriptor, m as SqlMigrationPlanOperationTarget, n as CodecControlHooks, o as FieldEventContext, p as SqlMigrationPlanOperationStep, r as CreateSqlMigrationPlanOptions, s as ResolveIdentityValueInput, u as SqlMigrationPlan, v as SqlMigrationRunnerErrorCode, w as SqlPlanTargetDetails, x as SqlMigrationRunnerFailure, y as SqlMigrationRunnerExecuteCallbacks } from "./types-IqZMLrFC-D8PN7ygS.mjs";
|
|
2
2
|
import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DpG_gnur-zSwkxqxK.mjs";
|
|
3
|
-
import { A as partitionCallsByControlPolicy, B as temporalCodecPresetWithPrecision, C as buildNativeTypeExpander, D as createMigrationPlan, E as controlPolicyForCall, F as resolveValueSetValues, I as runnerFailure, L as runnerSuccess, M as planFieldEventOperations, N as plannerFailure, O as detectDestructiveChanges, P as plannerSuccess, R as temporalAuthoringPresets, S as assembleAuthoringContributions, T as contractToSchemaIR, V as timestampNowControlDescriptor, _ as SqlControlTargetDescriptor, a as EnumNamespaceSchemaResolver, b as TargetMigrationsCapability, c as MigrationOperationPolicy, d as MigrationPlanner, f as MigrationPlannerConflict, g as SqlControlFamilyInstance, h as PlanFieldEventOperationsOptions, i as DefaultResolver, j as partitionIssuesByControlPolicy, k as extractCodecControlHooks, l as MigrationPlan, m as NativeTypeExpander, n as ControlPolicySubject, o as INIT_ADDITIVE_POLICY, p as MigrationPlannerResult, r as DefaultRenderer, s as MigrationOperationClass, t as ContractToSchemaIROptions, u as MigrationPlanOperation, v as SqlDescribedContractSpace, w as contractNamespaceToSchemaIR, x as _default, y as SuppressionRecord, z as temporalCodecPreset } from "./control-
|
|
3
|
+
import { A as partitionCallsByControlPolicy, B as temporalCodecPresetWithPrecision, C as buildNativeTypeExpander, D as createMigrationPlan, E as controlPolicyForCall, F as resolveValueSetValues, I as runnerFailure, L as runnerSuccess, M as planFieldEventOperations, N as plannerFailure, O as detectDestructiveChanges, P as plannerSuccess, R as temporalAuthoringPresets, S as assembleAuthoringContributions, T as contractToSchemaIR, V as timestampNowControlDescriptor, _ as SqlControlTargetDescriptor, a as EnumNamespaceSchemaResolver, b as TargetMigrationsCapability, c as MigrationOperationPolicy, d as MigrationPlanner, f as MigrationPlannerConflict, g as SqlControlFamilyInstance, h as PlanFieldEventOperationsOptions, i as DefaultResolver, j as partitionIssuesByControlPolicy, k as extractCodecControlHooks, l as MigrationPlan, m as NativeTypeExpander, n as ControlPolicySubject, o as INIT_ADDITIVE_POLICY, p as MigrationPlannerResult, r as DefaultRenderer, s as MigrationOperationClass, t as ContractToSchemaIROptions, u as MigrationPlanOperation, v as SqlDescribedContractSpace, w as contractNamespaceToSchemaIR, x as _default, y as SuppressionRecord, z as temporalCodecPreset } from "./control-BWngBFMj.mjs";
|
|
4
4
|
export { type CodecControlHooks, type ContractToSchemaIROptions, type ControlPolicySubject, type CreateSqlMigrationPlanOptions, type DefaultRenderer, type DefaultResolver, type EnumNamespaceSchemaResolver, type ExpandNativeTypeInput, type FieldEvent, type FieldEventContext, INIT_ADDITIVE_POLICY, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type NativeTypeExpander, type PlanFieldEventOperationsOptions, type ResolveIdentityValueInput, type SqlControlAdapterDescriptor, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDescribedContractSpace, type SqlMigrationPlan, type SqlMigrationPlanContractInfo, type SqlMigrationPlanOperation, type SqlMigrationPlanOperationStep, type SqlMigrationPlanOperationTarget, type SqlMigrationPlanner, type SqlMigrationPlannerPlanOptions, type SqlMigrationRunner, type SqlMigrationRunnerErrorCode, type SqlMigrationRunnerExecuteCallbacks, type SqlMigrationRunnerExecuteOptions, type SqlMigrationRunnerFailure, type SqlMigrationRunnerResult, type SqlMigrationRunnerSuccessValue, type SqlPlanTargetDetails, type SqlPlannerConflict, type SqlPlannerConflictKind, type SqlPlannerConflictLocation, type SqlPlannerFailureResult, type SqlPlannerResult, type SqlPlannerSuccessResult, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, type StorageTypePlanResult, type SuppressionRecord, type TargetMigrationsCapability, assembleAuthoringContributions, buildNativeTypeExpander, contractNamespaceToSchemaIR, contractToSchemaIR, controlPolicyForCall, createMigrationPlan, _default as default, detectDestructiveChanges, extractCodecControlHooks, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventOperations, plannerFailure, plannerSuccess, resolveValueSetValues, runnerFailure, runnerSuccess, temporalAuthoringPresets, temporalCodecPreset, temporalCodecPresetWithPrecision, timestampNowControlDescriptor };
|
package/dist/family__diff.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { o as arraysEqual, r as NativeTypeNormalizer } from "./control-adapter-C99J7aEF-
|
|
2
|
-
import { a as VerifySqlSchemaByDiffInput, c as computeSqlDiffVerdict, i as StorageTypeVerdictInput, l as computeStorageTypeVerdict, n as SqlDiffVerdictInput, o as classifyDiffSubjectGranularity, r as StorageTypeVerdict, s as classifySqlDiffIssue, t as SqlDiffVerdict, u as verifySqlSchemaByDiff } from "./diff-
|
|
1
|
+
import { o as arraysEqual, r as NativeTypeNormalizer } from "./control-adapter-C99J7aEF-Cmay9zFj.mjs";
|
|
2
|
+
import { a as VerifySqlSchemaByDiffInput, c as computeSqlDiffVerdict, i as StorageTypeVerdictInput, l as computeStorageTypeVerdict, n as SqlDiffVerdictInput, o as classifyDiffSubjectGranularity, r as StorageTypeVerdict, s as classifySqlDiffIssue, t as SqlDiffVerdict, u as verifySqlSchemaByDiff } from "./diff-DnLtQXpg.mjs";
|
|
3
3
|
export { type NativeTypeNormalizer, type SqlDiffVerdict, type SqlDiffVerdictInput, type StorageTypeVerdict, type StorageTypeVerdictInput, type VerifySqlSchemaByDiffInput, arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SqlMigration } from "./migration-
|
|
1
|
+
import { t as SqlMigration } from "./migration-BvCT6g2N.mjs";
|
|
2
2
|
export { SqlMigration as Migration };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-DUwyRJmP.mjs";
|
|
2
|
-
import { a as timestampNowRuntimeGenerator, i as sqlRuntimeFamilyDescriptor, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-
|
|
2
|
+
import { a as timestampNowRuntimeGenerator, i as sqlRuntimeFamilyDescriptor, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-AvfMMERk.mjs";
|
|
3
3
|
export { type ResolvedDomainModel, type ResolvedStorageTable, UNBOUND_DOMAIN_NAMESPACE_ID, sqlRuntimeFamilyDescriptor as default, resolveDomainModel, resolveStorageTable, timestampNowRuntimeGenerator };
|
|
@@ -2,7 +2,7 @@ import { c as SqlStorage } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
|
2
2
|
import "./types-wy2-Y8wQ.mjs";
|
|
3
3
|
import { r as SqlOperationDescriptors } from "./index-BZF7Wehu.mjs";
|
|
4
4
|
import { Et as SqlCodecCallContext, O as ContractCodecRegistry, T as CodecRef$1, lt as LoweredParam, m as AnyQueryAst, ut as LoweredStatement, x as Codec$1 } from "./types-BwePDa3m-BVrPIi8V.mjs";
|
|
5
|
-
import { E as SqlQueryable, _ as
|
|
5
|
+
import { E as SqlQueryable, _ as SqlConnection, o as MarkerReadResult, t as Adapter, v as SqlDriver } from "./ast-Bb6loOw9.mjs";
|
|
6
6
|
import { a as Expression, i as CodecValue, o as RawCodecInferer, r as CodecTypesBase } from "./expression-KPBpeH4T.mjs";
|
|
7
7
|
import { t as SqlExecutionPlan } from "./sql-execution-plan-Da_d82pz-IHBEmGSa.mjs";
|
|
8
8
|
import { t as SqlQueryPlan } from "./plan-Bmp5R9sq-DKMRkx6Z.mjs";
|
|
@@ -507,4 +507,4 @@ interface LintsOptions {
|
|
|
507
507
|
declare function lints(options?: LintsOptions): SqlMiddleware;
|
|
508
508
|
//#endregion
|
|
509
509
|
export { RuntimeQueryable as A, SqlRuntimeDriverInstance as B, PreparedStatementImpl as C, RuntimeFamilyAdapter as D, RuntimeConnection as E, SqlMiddleware as F, TelemetryOutcome as G, SqlRuntimeExtensionInstance as H, SqlMiddlewareContext as I, createExecutionContext as J, TransactionContext as K, SqlRuntimeAdapterDescriptor as L, RuntimeTransaction as M, SqlExecutionStack as N, RuntimeMutationDefaultGenerator as O, SqlExecutionStackWithDriver as P, withTransaction as Q, SqlRuntimeAdapterInstance as R, PreparedStatement as S, Runtime as T, SqlRuntimeTargetDescriptor as U, SqlRuntimeExtensionDescriptor as V, SqlStaticContributions as W, deriveParamMetadata as X, createSqlExecutionStack as Y, encodeParamsWithMetadata as Z, GeneratorStability as _, budgets as a, ParamsFromDeclaration as b, lints as c, validateContractCodecMappings as d, BindSiteParams as f, DeclaredNullable as g, DeclaredCodecId as h, Log as i, RuntimeTelemetryEvent as j, RuntimeParameterizedCodecDescriptor as k, lowerSqlPlan as l, Declaration as m, BudgetsOptions as n, createAstCodecRegistry as o, ConnectionProvider as p, VerifyMarkerOption as q, LintsOptions as r, extractCodecIds as s, AfterExecuteResult$1 as t, validateCodecRegistryCompleteness as u, MarkerReader as v, PreparedStatementInternals as w, PrepareCallback as x, ParamSpec as y, SqlRuntimeBase as z };
|
|
510
|
-
//# sourceMappingURL=index-
|
|
510
|
+
//# sourceMappingURL=index-BOhWLVvH.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BOhWLVvH.d.mts","names":[],"sources":["../../../../2-sql/5-runtime/dist/prepared-statement-D4zOlprk.d.mts","../../../../2-sql/5-runtime/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;UAaU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A;;WAEF;;;;;;;;;;;;;;;;iBAgBM,MAAM,UAAU,eAAe"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as SqlStorage } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
2
2
|
import "./types-wy2-Y8wQ.mjs";
|
|
3
|
-
import { f as SqlMigrationPlanOperation, w as SqlPlanTargetDetails } from "./types-IqZMLrFC-
|
|
3
|
+
import { f as SqlMigrationPlanOperation, w as SqlPlanTargetDetails } from "./types-IqZMLrFC-D8PN7ygS.mjs";
|
|
4
4
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
5
5
|
import { Migration } from "@prisma/orm-toolchain/migration-tools/migration";
|
|
6
6
|
//#region ../../../2-sql/9-family/dist/migration.d.mts
|
|
@@ -41,4 +41,4 @@ declare abstract class SqlMigration<TDetails extends SqlPlanTargetDetails, TTarg
|
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
43
|
export { SqlMigration as t };
|
|
44
|
-
//# sourceMappingURL=migration-
|
|
44
|
+
//# sourceMappingURL=migration-BvCT6g2N.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration-
|
|
1
|
+
{"version":3,"file":"migration-BvCT6g2N.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/migration.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA0BuB,aAAa,iBAAiB,sBAAsB,mCAAmC,cAAc,SAAS,cAAc,SAAS,aAAa,YAAY,SAAS,cAAc,SAAS,qBAAqB,UAAU,0BAA0B,kBAAkB,WAAW,OAAO;;;;;;;;;;;MAW5S"}
|
package/dist/orm-client.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { c as SqlStorage } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
|
3
3
|
import { f as ExtractFieldOutputTypes, l as ExtractAggregateTypes, p as ExtractQueryOperationTypes, u as ExtractCodecTypes } from "./types-D_plAPEe-DqK5It_K.mjs";
|
|
4
4
|
import "./types-wy2-Y8wQ.mjs";
|
|
5
5
|
import { Pt as WhereArg, T as CodecRef$1, a as AndExpr, g as BinaryExpr, gt as OrderByItem, ht as OrExpr, pt as NullCheckExpr, s as AnyExpression } from "./types-BwePDa3m-BVrPIi8V.mjs";
|
|
6
|
-
import "./ast
|
|
6
|
+
import "./ast-Bb6loOw9.mjs";
|
|
7
7
|
import { a as Expression } from "./expression-KPBpeH4T.mjs";
|
|
8
8
|
import { r as ExecutionContext } from "./query-lane-context-DjyAyYht-HDNYE_oF.mjs";
|
|
9
9
|
import "./query-lane-context-Dcj4eXUl.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as JoinAst, A as DeleteAst, At as TableRef, B as ExistsExpr, Bt as queryAstKinds, C as CodecDescriptor$1, Ct as RawSqlLiteral, D as ColumnRef, Dt as SqlCodecInstanceContext, E as CodecTrait$1, Et as SqlCodecCallContext, F as DescriptorCodecTraits, Ft as WindowFn, G as ExtractCodecTypes, H as ExpressionFolder, I as Direction, It as WindowFuncExpr, J as FunctionSourceAlias, K as FunctionCallExpr, L as DoNothingConflictAction, Lt as frozenCodecRef, M as DescriptorCodecId, Mt as ToWhereExpr, N as DescriptorCodecInput, Nt as UpdateAst, O as ContractCodecRegistry, Ot as SqlColumnRef, P as DescriptorCodecJson, Pt as WhereArg, Q as InsertValue, R as DoUpdateSetConflictAction, Rt as isQueryAst, S as CodecCallContext$1, St as RawSqlExpr, T as CodecRef$1, Tt as SelectAstOptions, U as ExpressionRewriter, V as ExprVisitor, Vt as whereExprKinds, W as ExpressionSource, X as InsertAst, Y as IdentifierRef, Z as InsertOnConflict, _ as BinaryOp, _t as ParamRef, a as AndExpr, at as JsonValueProjectionVisitor, b as CastExpr, bt as ProjectionItem, c as AnyFromSource, ct as LiteralExpr, d as AnyJsonValueProjection, dt as NativeJsonValueProjection, et as JoinOnExpr, f as AnyOperationArg, ft as NotExpr, g as BinaryExpr, gt as OrderByItem, h as AstRewriter, ht as OrExpr, i as AggregateOpFn, it as JsonObjectExpr, j as DerivedTableSource, jt as TableSource, k as DefaultValueExpr, kt as SubqueryExpr, l as AnyInsertOnConflictAction, lt as LoweredParam, m as AnyQueryAst, mt as OperationExpr, n as AggregateExpr, nt as JsonDocumentProjection, o as AnyCodecDescriptor, ot as LimitOffsetValue, p as AnyParamRef, pt as NullCheckExpr, q as FunctionSource, r as AggregateFn, rt as JsonObjectEntry, s as AnyExpression, st as ListExpression, t as AggregateCountFn, tt as JsonArrayAggExpr, u as AnyInsertValue, ut as LoweredStatement, v as CaseBranch, vt as PreparedParamRef, w as CodecJsonValueProjection, wt as SelectAst, x as Codec$1, xt as RawExpr, y as CaseExpr, yt as ProjectionExpr, z as EqColJoinOn, zt as isWhereExpr } from "./types-BwePDa3m-BVrPIi8V.mjs";
|
|
2
2
|
import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-h_3_pXmq-QBLq6WbP.mjs";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as sqlTextDecode, A as SqlTimestampCodec, B as sqlCharEncode, C as SqlFloatDescriptor, D as SqlStatementStats, E as SqlQueryable, F as collectOrderedParamRefs, G as sqlFloatDescriptor, H as sqlFloatColumn, I as compact, J as sqlIntColumn, K as sqlFloatEncode, L as sqlCharColumn, M as SqlTransaction, N as SqlVarcharCodec, O as SqlTextCodec, P as SqlVarcharDescriptor, Q as sqlTextColumn, R as sqlCharDecode, S as SqlFloatCodec, T as SqlIntDescriptor, U as sqlFloatDecode, V as sqlCharRenderOutputType, W as sqlFloatDecodeJson, X as sqlIntDescriptor, Y as sqlIntDecode, Z as sqlIntEncode, _ as SqlConnection, a as LowererContext, at as sqlTimestampDescriptor, b as SqlExecuteRequest, c as PreparedStatementHandle, ct as sqlTimestampRenderOutputType, d as SQL_INT_CODEC_ID, dt as sqlVarcharDescriptor, et as sqlTextDescriptor, f as SQL_TEXT_CODEC_ID, ft as sqlVarcharEncode, g as SqlCharDescriptor, h as SqlCharCodec, i as Lowerer, it as sqlTimestampDecodeJson, j as SqlTimestampDescriptor, k as SqlTextDescriptor, l as SQL_CHAR_CODEC_ID, lt as sqlVarcharColumn, m as SQL_VARCHAR_CODEC_ID, n as AdapterProfile, nt as sqlTimestampColumn, o as MarkerReadResult, ot as sqlTimestampEncode, p as SQL_TIMESTAMP_CODEC_ID, pt as sqlVarcharRenderOutputType, q as sqlFloatEncodeJson, r as AdapterTarget, rt as sqlTimestampDecode, s as PreparedExecuteRequest, st as sqlTimestampEncodeJson, t as Adapter, tt as sqlTextEncode, u as SQL_FLOAT_CODEC_ID, ut as sqlVarcharDecode, v as SqlDriver, w as SqlIntCodec, x as SqlExplainResult, y as SqlDriverState, z as sqlCharDescriptor } from "./ast-Bb6loOw9.mjs";
|
|
4
4
|
import { a as Expression, c as RawSqlTag, d as TraitExpression, f as buildOperation, g as toExpr, h as param, i as CodecValue, l as ScalarListExpression, m as createRawSql, n as CodecExpression, o as RawCodecInferer, p as codecOf, r as CodecTypesBase, s as RawSqlBuilder, t as BuildOperationSpec, u as ScopeField } from "./expression-KPBpeH4T.mjs";
|
|
5
5
|
import { t as SqlExecutionPlan } from "./sql-execution-plan-Da_d82pz-IHBEmGSa.mjs";
|
|
6
6
|
import { n as planFromAst, t as SqlQueryPlan } from "./plan-Bmp5R9sq-DKMRkx6Z.mjs";
|
|
@@ -9,4 +9,4 @@ import { a as MutationDefaultsOptions, c as SqlAggregateDescriptorRegistry, d as
|
|
|
9
9
|
import "./query-lane-context-Dcj4eXUl.mjs";
|
|
10
10
|
import { a as SqlParamRefMutatorInternal, i as SqlParamRefMutator, n as ParamRefEntryUnion, o as createSqlParamRefMutator, r as ParamRefHandle, t as ParamRefEntry } from "./middleware-eb7YwdD4-D0M6ACQ-.mjs";
|
|
11
11
|
import { C as TableDef, E as TablesOf, S as SqlPlan, T as TableMetadata, _ as RawTemplateFactory, a as ColumnsOf, b as SqlBuilderOptions, c as META, d as ModelMetadata, f as OperationTypeSignature, g as RawFunctionOptions, h as RawFactory, 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 RawTemplateOptions, w as TableKey, x as SqlOrmPlan, y as RuntimeScope } from "./types-dD8JJfeD-BOvMw2Iu.mjs";
|
|
12
|
-
export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AppliedMutationDefault, AstRewriter, BinaryExpr, BinaryOp, BuildOperationSpec, BuildOptions, BuildParamsMap, 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, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExecutionContext, ExistsExpr, Expr, ExprVisitor, Expression, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, META, MarkerReadResult, Meta, ModelDef, ModelMetadata, MutationDefaultsOp, MutationDefaultsOptions, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OperationTypeSignature, OperationTypes, OperationsForTypeId, OrExpr, OrderByItem, ParamRef, type ParamRefEntry, type ParamRefEntryUnion, type ParamRefHandle, PreparedExecuteRequest, PreparedParamRef, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawCodecInferer, RawExpr, RawFactory, RawFunctionOptions, RawSqlBuilder, RawSqlExpr, RawSqlLiteral, RawSqlTag, RawTemplateFactory, RawTemplateOptions, ResolvedSqlAggregate, type RuntimeScope, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_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,
|
|
12
|
+
export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AppliedMutationDefault, AstRewriter, BinaryExpr, BinaryOp, BuildOperationSpec, BuildOptions, BuildParamsMap, 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, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExecutionContext, ExistsExpr, Expr, ExprVisitor, Expression, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, META, MarkerReadResult, Meta, ModelDef, ModelMetadata, MutationDefaultsOp, MutationDefaultsOptions, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OperationTypeSignature, OperationTypes, OperationsForTypeId, OrExpr, OrderByItem, ParamRef, type ParamRefEntry, type ParamRefEntryUnion, type ParamRefHandle, PreparedExecuteRequest, PreparedParamRef, PreparedStatementHandle, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawCodecInferer, RawExpr, RawFactory, RawFunctionOptions, RawSqlBuilder, RawSqlExpr, RawSqlLiteral, RawSqlTag, RawTemplateFactory, RawTemplateOptions, ResolvedSqlAggregate, type RuntimeScope, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_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, SqlTimestampCodec, SqlTimestampDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableDef, TableKey, TableMetadata, TableRef, TableSource, TablesOf, ToWhereExpr, TraitExpression, TypeHelperRegistry, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, buildOperation, codecOf, collectOrderedParamRefs, compact, createRawSql, createSqlParamRefMutator, frozenCodecRef, isDdlNode, isQueryAst, isWhereExpr, param, planFromAst, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { $ as JoinAst, A as DeleteAst, At as TableRef, B as ExistsExpr, Bt as queryAstKinds, C as CodecDescriptor$1, Ct as RawSqlLiteral, D as ColumnRef, Dt as SqlCodecInstanceContext, E as CodecTrait$1, Et as SqlCodecCallContext, F as DescriptorCodecTraits, Ft as WindowFn, G as ExtractCodecTypes, H as ExpressionFolder, I as Direction, It as WindowFuncExpr, J as FunctionSourceAlias, K as FunctionCallExpr, L as DoNothingConflictAction, Lt as frozenCodecRef, M as DescriptorCodecId, Mt as ToWhereExpr, N as DescriptorCodecInput, Nt as UpdateAst, O as ContractCodecRegistry, Ot as SqlColumnRef, P as DescriptorCodecJson, Pt as WhereArg, Q as InsertValue, R as DoUpdateSetConflictAction, Rt as isQueryAst, S as CodecCallContext$1, St as RawSqlExpr, T as CodecRef$1, Tt as SelectAstOptions, U as ExpressionRewriter, V as ExprVisitor, Vt as whereExprKinds, W as ExpressionSource, X as InsertAst, Y as IdentifierRef, Z as InsertOnConflict, _ as BinaryOp, _t as ParamRef, a as AndExpr, at as JsonValueProjectionVisitor, b as CastExpr, bt as ProjectionItem, c as AnyFromSource, ct as LiteralExpr, d as AnyJsonValueProjection, dt as NativeJsonValueProjection, et as JoinOnExpr, f as AnyOperationArg, ft as NotExpr, g as BinaryExpr, gt as OrderByItem, h as AstRewriter, ht as OrExpr, i as AggregateOpFn, it as JsonObjectExpr, j as DerivedTableSource, jt as TableSource, k as DefaultValueExpr, kt as SubqueryExpr, l as AnyInsertOnConflictAction, lt as LoweredParam, m as AnyQueryAst, mt as OperationExpr, n as AggregateExpr, nt as JsonDocumentProjection, o as AnyCodecDescriptor, ot as LimitOffsetValue, p as AnyParamRef, pt as NullCheckExpr, q as FunctionSource, r as AggregateFn, rt as JsonObjectEntry, s as AnyExpression, st as ListExpression, t as AggregateCountFn, tt as JsonArrayAggExpr, u as AnyInsertValue, ut as LoweredStatement, v as CaseBranch, vt as PreparedParamRef, w as CodecJsonValueProjection, wt as SelectAst, x as Codec$1, xt as RawExpr, y as CaseExpr, yt as ProjectionExpr, z as EqColJoinOn, zt as isWhereExpr } from "./types-BwePDa3m-BVrPIi8V.mjs";
|
|
2
2
|
import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-h_3_pXmq-QBLq6WbP.mjs";
|
|
3
|
-
import { $ as
|
|
4
|
-
export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AstRewriter, BinaryExpr, BinaryOp, CaseBranch, CaseExpr, CastExpr, CheckExpressionConstraint, Codec$1 as Codec, type CodecCallContext$1 as CodecCallContext, type CodecDescriptor$1 as CodecDescriptor, CodecJsonValueProjection, type CodecRef$1 as CodecRef, type CodecTrait$1 as CodecTrait, ColumnRef, ContractCodecRegistry, DdlColumn, DdlColumnDefault, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ExprVisitor, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, MarkerReadResult, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedExecuteRequest, PreparedParamRef, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawExpr, RawSqlExpr, RawSqlLiteral, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SelectAstOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor,
|
|
3
|
+
import { $ as sqlTextDecode, A as SqlTimestampCodec, B as sqlCharEncode, C as SqlFloatDescriptor, D as SqlStatementStats, E as SqlQueryable, F as collectOrderedParamRefs, G as sqlFloatDescriptor, H as sqlFloatColumn, I as compact, J as sqlIntColumn, K as sqlFloatEncode, L as sqlCharColumn, M as SqlTransaction, N as SqlVarcharCodec, O as SqlTextCodec, P as SqlVarcharDescriptor, Q as sqlTextColumn, R as sqlCharDecode, S as SqlFloatCodec, T as SqlIntDescriptor, U as sqlFloatDecode, V as sqlCharRenderOutputType, W as sqlFloatDecodeJson, X as sqlIntDescriptor, Y as sqlIntDecode, Z as sqlIntEncode, _ as SqlConnection, a as LowererContext, at as sqlTimestampDescriptor, b as SqlExecuteRequest, c as PreparedStatementHandle, ct as sqlTimestampRenderOutputType, d as SQL_INT_CODEC_ID, dt as sqlVarcharDescriptor, et as sqlTextDescriptor, f as SQL_TEXT_CODEC_ID, ft as sqlVarcharEncode, g as SqlCharDescriptor, h as SqlCharCodec, i as Lowerer, it as sqlTimestampDecodeJson, j as SqlTimestampDescriptor, k as SqlTextDescriptor, l as SQL_CHAR_CODEC_ID, lt as sqlVarcharColumn, m as SQL_VARCHAR_CODEC_ID, n as AdapterProfile, nt as sqlTimestampColumn, o as MarkerReadResult, ot as sqlTimestampEncode, p as SQL_TIMESTAMP_CODEC_ID, pt as sqlVarcharRenderOutputType, q as sqlFloatEncodeJson, r as AdapterTarget, rt as sqlTimestampDecode, s as PreparedExecuteRequest, st as sqlTimestampEncodeJson, t as Adapter, tt as sqlTextEncode, u as SQL_FLOAT_CODEC_ID, ut as sqlVarcharDecode, v as SqlDriver, w as SqlIntCodec, x as SqlExplainResult, y as SqlDriverState, z as sqlCharDescriptor } from "./ast-Bb6loOw9.mjs";
|
|
4
|
+
export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AstRewriter, BinaryExpr, BinaryOp, CaseBranch, CaseExpr, CastExpr, CheckExpressionConstraint, Codec$1 as Codec, type CodecCallContext$1 as CodecCallContext, type CodecDescriptor$1 as CodecDescriptor, CodecJsonValueProjection, type CodecRef$1 as CodecRef, type CodecTrait$1 as CodecTrait, ColumnRef, ContractCodecRegistry, DdlColumn, DdlColumnDefault, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ExprVisitor, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, MarkerReadResult, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedExecuteRequest, PreparedParamRef, PreparedStatementHandle, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawExpr, RawSqlExpr, RawSqlLiteral, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SelectAstOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlQueryable, SqlStatementStats, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableRef, TableSource, ToWhereExpr, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, collectOrderedParamRefs, compact, frozenCodecRef, isDdlNode, isQueryAst, isWhereExpr, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, whereExprKinds };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./resolve-storage-table-DUwyRJmP.mjs";
|
|
2
|
-
import { O as RuntimeMutationDefaultGenerator } from "./index-
|
|
2
|
+
import { O as RuntimeMutationDefaultGenerator } from "./index-BOhWLVvH.mjs";
|
|
3
3
|
import { ResolvedDomainModel, UNBOUND_DOMAIN_NAMESPACE_ID, resolveDomainModel } from "@prisma/orm-framework/contract/types";
|
|
4
4
|
import { RuntimeFamilyDescriptor, RuntimeFamilyInstance } from "@prisma/orm-framework/components/execution";
|
|
5
5
|
//#region ../../../2-sql/9-family/dist/runtime.d.mts
|
|
@@ -43,4 +43,4 @@ declare const sqlRuntimeFamilyDescriptor: RuntimeFamilyDescriptor<'sql', SqlRunt
|
|
|
43
43
|
declare function timestampNowRuntimeGenerator(): RuntimeMutationDefaultGenerator;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { timestampNowRuntimeGenerator as a, sqlRuntimeFamilyDescriptor as i, UNBOUND_DOMAIN_NAMESPACE_ID as n, resolveDomainModel as r, ResolvedDomainModel as t };
|
|
46
|
-
//# sourceMappingURL=runtime-
|
|
46
|
+
//# sourceMappingURL=runtime-AvfMMERk.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-
|
|
1
|
+
{"version":3,"file":"runtime-AvfMMERk.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/runtime.d.mts"],"mappings":";;;;;;;;;;;;;;UAaU,iCAAiC;;;;;;;;;;;cAW7B,4BAA4B,+BAA+B;;;;;;;;;;;;;;;;;iBAiBxD,gCAAgC"}
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as MarkerReadResult } from "./ast
|
|
1
|
+
import { o as MarkerReadResult } from "./ast-Bb6loOw9.mjs";
|
|
2
2
|
import { d as TypeHelperRegistry, r as ExecutionContext } from "./query-lane-context-DjyAyYht-HDNYE_oF.mjs";
|
|
3
|
-
import { A as RuntimeQueryable, B as SqlRuntimeDriverInstance, C as PreparedStatementImpl, D as RuntimeFamilyAdapter, E as RuntimeConnection, F as SqlMiddleware, G as TelemetryOutcome, H as SqlRuntimeExtensionInstance, I as SqlMiddlewareContext, J as createExecutionContext, K as TransactionContext, L as SqlRuntimeAdapterDescriptor, M as RuntimeTransaction, N as SqlExecutionStack, O as RuntimeMutationDefaultGenerator, P as SqlExecutionStackWithDriver, Q as withTransaction, R as SqlRuntimeAdapterInstance, S as PreparedStatement, T as Runtime, U as SqlRuntimeTargetDescriptor, V as SqlRuntimeExtensionDescriptor, W as SqlStaticContributions, X as deriveParamMetadata, Y as createSqlExecutionStack, Z as encodeParamsWithMetadata, _ as GeneratorStability, a as budgets, b as ParamsFromDeclaration, c as lints, d as validateContractCodecMappings, f as BindSiteParams, g as DeclaredNullable, h as DeclaredCodecId, i as Log, j as RuntimeTelemetryEvent, k as RuntimeParameterizedCodecDescriptor, l as lowerSqlPlan, m as Declaration, n as BudgetsOptions, o as createAstCodecRegistry, p as ConnectionProvider, q as VerifyMarkerOption, r as LintsOptions, s as extractCodecIds, t as AfterExecuteResult, u as validateCodecRegistryCompleteness, v as MarkerReader, w as PreparedStatementInternals, x as PrepareCallback, y as ParamSpec, z as SqlRuntimeBase } from "./index-
|
|
3
|
+
import { A as RuntimeQueryable, B as SqlRuntimeDriverInstance, C as PreparedStatementImpl, D as RuntimeFamilyAdapter, E as RuntimeConnection, F as SqlMiddleware, G as TelemetryOutcome, H as SqlRuntimeExtensionInstance, I as SqlMiddlewareContext, J as createExecutionContext, K as TransactionContext, L as SqlRuntimeAdapterDescriptor, M as RuntimeTransaction, N as SqlExecutionStack, O as RuntimeMutationDefaultGenerator, P as SqlExecutionStackWithDriver, Q as withTransaction, R as SqlRuntimeAdapterInstance, S as PreparedStatement, T as Runtime, U as SqlRuntimeTargetDescriptor, V as SqlRuntimeExtensionDescriptor, W as SqlStaticContributions, X as deriveParamMetadata, Y as createSqlExecutionStack, Z as encodeParamsWithMetadata, _ as GeneratorStability, a as budgets, b as ParamsFromDeclaration, c as lints, d as validateContractCodecMappings, f as BindSiteParams, g as DeclaredNullable, h as DeclaredCodecId, i as Log, j as RuntimeTelemetryEvent, k as RuntimeParameterizedCodecDescriptor, l as lowerSqlPlan, m as Declaration, n as BudgetsOptions, o as createAstCodecRegistry, p as ConnectionProvider, q as VerifyMarkerOption, r as LintsOptions, s as extractCodecIds, t as AfterExecuteResult, u as validateCodecRegistryCompleteness, v as MarkerReader, w as PreparedStatementInternals, x as PrepareCallback, y as ParamSpec, z as SqlRuntimeBase } from "./index-BOhWLVvH.mjs";
|
|
4
4
|
export { type AfterExecuteResult, type BindSiteParams, type BudgetsOptions, type ConnectionProvider, type Declaration, type DeclaredCodecId, type DeclaredNullable, type ExecutionContext, type GeneratorStability, type LintsOptions, type Log, type MarkerReadResult, type MarkerReader, type ParamSpec, type ParamsFromDeclaration, type PrepareCallback, type PreparedStatement, PreparedStatementImpl, type PreparedStatementInternals, type Runtime, type RuntimeConnection, type RuntimeFamilyAdapter, type RuntimeMutationDefaultGenerator, 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 TelemetryOutcome, type TransactionContext, type TypeHelperRegistry, type VerifyMarkerOption, budgets, createAstCodecRegistry, createExecutionContext, createSqlExecutionStack, deriveParamMetadata, encodeParamsWithMetadata, extractCodecIds, lints, lowerSqlPlan, validateCodecRegistryCompleteness, validateContractCodecMappings, withTransaction };
|