@prisma/orm-family-sql 8.0.0-rc.24-dev.23 → 8.0.0-rc.24-dev.25

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 (35) hide show
  1. package/dist/{control-DAy47VdX.d.mts → control-Cb6YoQ8j.d.mts} +15 -15
  2. package/dist/control-Cb6YoQ8j.d.mts.map +1 -0
  3. package/dist/{control-adapter-BfyLe7rh-evCd4Qt7.d.mts → control-adapter-0z3ce44U-CLj4kqLI.d.mts} +6 -18
  4. package/dist/control-adapter-0z3ce44U-CLj4kqLI.d.mts.map +1 -0
  5. package/dist/{control-adapter-B0UU7Mk7.d.mts → control-adapter-DIwBUSs6.d.mts} +2 -2
  6. package/dist/{control-adapter-B0UU7Mk7.d.mts.map → control-adapter-DIwBUSs6.d.mts.map} +1 -1
  7. package/dist/{control-C9mYI0zS.mjs → control-kHFMtE8A.mjs} +52 -8
  8. package/dist/control-kHFMtE8A.mjs.map +1 -0
  9. package/dist/{diff-BkF95ZnP.d.mts → diff-DbkXUf4C.d.mts} +2 -2
  10. package/dist/{diff-BkF95ZnP.d.mts.map → diff-DbkXUf4C.d.mts.map} +1 -1
  11. package/dist/{exports-BE9wmKAn-DI9rC9jC.mjs → exports-BR5ctYYI-C_-aedbr.mjs} +36 -31
  12. package/dist/exports-BR5ctYYI-C_-aedbr.mjs.map +1 -0
  13. package/dist/family.d.mts +7 -7
  14. package/dist/family.mjs +2 -2
  15. package/dist/family__control-adapter.d.mts +2 -2
  16. package/dist/family__control.d.mts +3 -3
  17. package/dist/family__control.mjs +2 -2
  18. package/dist/family__diff.d.mts +1 -1
  19. package/dist/family__migration.d.mts +1 -1
  20. package/dist/{index-BoxqxQ3G.d.mts → index-DA1EEz4y.d.mts} +6 -3
  21. package/dist/index-DA1EEz4y.d.mts.map +1 -0
  22. package/dist/{migration-QS2FXNb_.d.mts → migration-DctFInNJ.d.mts} +2 -2
  23. package/dist/{migration-QS2FXNb_.d.mts.map → migration-DctFInNJ.d.mts.map} +1 -1
  24. package/dist/orm-client.d.mts +1 -1
  25. package/dist/orm-client.mjs +1 -1
  26. package/dist/runtime.d.mts +1 -1
  27. package/dist/runtime.mjs +1 -1
  28. package/dist/{types-COXfSNOP-CWJkgMR8.d.mts → types-CWvmfrfd-DLQYhSUx.d.mts} +6 -5
  29. package/dist/{types-COXfSNOP-CWJkgMR8.d.mts.map → types-CWvmfrfd-DLQYhSUx.d.mts.map} +1 -1
  30. package/package.json +18 -18
  31. package/dist/control-C9mYI0zS.mjs.map +0 -1
  32. package/dist/control-DAy47VdX.d.mts.map +0 -1
  33. package/dist/control-adapter-BfyLe7rh-evCd4Qt7.d.mts.map +0 -1
  34. package/dist/exports-BE9wmKAn-DI9rC9jC.mjs.map +0 -1
  35. package/dist/index-BoxqxQ3G.d.mts.map +0 -1
@@ -1,4 +1,4 @@
1
1
  import { n as checkSqlDefaultText } from "./validators-CWcdf_jZ.mjs";
2
2
  import { s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-nQ4tG9N7.mjs";
3
- import { $ as requiredColumnsOfMigration, A as jsonPathText, B as planFieldEventOperations, C as fieldEventStorage, D as fillKeyProblem, E as fieldStatementColumns, F as parseJsonPath, G as planVariantRowRewrites, H as planStoredRewrites, I as partitionCallsByControlPolicy, J as readColumnDefault, K as plannerFailure, L as partitionIssuesByControlPolicy, M as keyPathOf, N as modelRenameStorageEffect, O as fillValueProblem, P as otherSpaceDeclaring, Q as requiredColumnOf, R as planEnumValueRewrites, S as encodeStoredValue, St as unnamedFieldFillOf, T as fieldRenameStorageEffect, U as planValueObjectFieldFills, V as planStatements, W as planValueObjectFieldRewrites, X as removalsOfMigration, Y as readReportedDefault, Z as requiredColumnMeta, _ as convertedColumnOf, _t as subjectsOfCalls, a as UnfilledValue, at as rowsWithoutValueFailure, b as detectDestructiveChanges, bt as unmatchedColumnRename, c as assembleAuthoringContributions, ct as runnerSuccess, d as columnTakesTemporaryValue, dt as sqlDefaultFunctions, et as resolveColumnRenameAgainst, f as contractColumns, ft as sqlOfSlot, g as convertedColumnMeta, gt as storedValueSubjects, h as control_default, ht as storedValueOperationIndexes, i as TABLE_NAME_CASE_CHANGED_CODE, it as rowsHoldingValueOf, j as keepRowsEdit, k as isUnfilledSlot, l as backfillOfDefaultedField, lt as scalarTypeNamesOf, m as contractToSchemaIR, mt as storageNameOfOperation, n as INIT_ADDITIVE_POLICY, nt as rowsHoldingValueFailure, o as acceptedByDataType, ot as rowsWithoutValueSummary, p as contractNamespaceToSchemaIR, pt as sqlTypeLookupsOf, q as plannerSuccess, r as NO_RENAMED_ORIGINS, rt as rowsHoldingValueMeta, s as appliedStatementsInOrder, st as runnerFailure, t as COLUMN_RENAME_UNMATCHED_CODE, tt as resolveTableRenameAgainst, u as checkSqlExpressionText, ut as slotSource, v as createMigrationPlan, vt as unconvertedFieldOf, w as fieldOfColumn, x as detectTableNameCaseChanges, xt as unmatchedTableRename, y as createSqlTextSources, yt as unknownCallNames, z as planFieldEventCalls } from "./control-C9mYI0zS.mjs";
4
- export { COLUMN_RENAME_UNMATCHED_CODE, INIT_ADDITIVE_POLICY, NO_RENAMED_ORIGINS, TABLE_NAME_CASE_CHANGED_CODE, UnfilledValue, acceptedByDataType, appliedStatementsInOrder, assembleAuthoringContributions, backfillOfDefaultedField, checkSqlDefaultText, checkSqlExpressionText, columnTakesTemporaryValue, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, control_default as default, detectDestructiveChanges, detectTableNameCaseChanges, encodeStoredValue, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, fillKeyProblem, fillValueProblem, isUnfilledSlot, jsonPathText, keepRowsEdit, keyPathOf, modelRenameStorageEffect, otherSpaceDeclaring, parseJsonPath, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planEnumValueRewrites, planFieldEventCalls, planFieldEventOperations, planStatements, planStoredRewrites, planValueObjectFieldFills, planValueObjectFieldRewrites, planVariantRowRewrites, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, removalsOfMigration, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsHoldingValueFailure, rowsHoldingValueMeta, rowsHoldingValueOf, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, scalarTypeNamesOf, slotSource, sqlDefaultFunctions, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, storedValueOperationIndexes, storedValueSubjects, subjectsOfCalls, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, unnamedFieldFillOf };
3
+ import { $ as requiredColumnOf, A as isUnfilledSlot, B as planFieldEventCalls, C as encodeStoredValue, Ct as unnamedFieldFillOf, D as fieldStatementColumns, E as fieldRenameStorageEffect, F as otherSpaceDeclaring, G as planValueObjectFieldRewrites, H as planStatements, I as parseJsonPath, J as plannerSuccess, K as planVariantRowRewrites, L as partitionCallsByControlPolicy, M as keepRowsEdit, N as keyPathOf, O as fillKeyProblem, P as modelRenameStorageEffect, Q as requiredColumnMeta, R as partitionIssuesByControlPolicy, S as detectTableNameCaseChanges, St as unmatchedTableRename, T as fieldOfColumn, U as planStoredRewrites, V as planFieldEventOperations, W as planValueObjectFieldFills, X as readReportedDefault, Y as readColumnDefault, Z as removalsOfMigration, _ as convertedColumnMeta, _t as storedValueSubjects, a as UnfilledValue, at as rowsHoldingValueOf, b as createSqlTextSources, bt as unknownCallNames, c as assembleAuthoringContributions, ct as runnerFailure, d as checkSqlExpressionText, dt as slotSource, et as requiredColumnsOfMigration, f as columnTakesTemporaryValue, ft as sqlDefaultFunctions, g as control_default, gt as storedValueOperationIndexes, h as contractToSchemaIR, ht as storageNameOfOperation, i as TABLE_NAME_CASE_CHANGED_CODE, it as rowsHoldingValueMeta, j as jsonPathText, k as fillValueProblem, l as backfillOfDefaultedField, lt as runnerSuccess, m as contractNamespaceToSchemaIR, mt as sqlTypeLookupsOf, n as INIT_ADDITIVE_POLICY, nt as resolveTableRenameAgainst, o as acceptedByDataType, ot as rowsWithoutValueFailure, p as contractColumns, pt as sqlOfSlot, q as plannerFailure, r as NO_RENAMED_ORIGINS, rt as rowsHoldingValueFailure, s as appliedStatementsInOrder, st as rowsWithoutValueSummary, t as COLUMN_RENAME_UNMATCHED_CODE, tt as resolveColumnRenameAgainst, u as checkDatabasePoliciesHeld, ut as scalarTypeNamesOf, v as convertedColumnOf, vt as subjectsOfCalls, w as fieldEventStorage, x as detectDestructiveChanges, xt as unmatchedColumnRename, y as createMigrationPlan, yt as unconvertedFieldOf, z as planEnumValueRewrites } from "./control-kHFMtE8A.mjs";
4
+ export { COLUMN_RENAME_UNMATCHED_CODE, INIT_ADDITIVE_POLICY, NO_RENAMED_ORIGINS, TABLE_NAME_CASE_CHANGED_CODE, UnfilledValue, acceptedByDataType, appliedStatementsInOrder, assembleAuthoringContributions, backfillOfDefaultedField, checkDatabasePoliciesHeld, checkSqlDefaultText, checkSqlExpressionText, columnTakesTemporaryValue, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, control_default as default, detectDestructiveChanges, detectTableNameCaseChanges, encodeStoredValue, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, fillKeyProblem, fillValueProblem, isUnfilledSlot, jsonPathText, keepRowsEdit, keyPathOf, modelRenameStorageEffect, otherSpaceDeclaring, parseJsonPath, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planEnumValueRewrites, planFieldEventCalls, planFieldEventOperations, planStatements, planStoredRewrites, planValueObjectFieldFills, planValueObjectFieldRewrites, planVariantRowRewrites, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, removalsOfMigration, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsHoldingValueFailure, rowsHoldingValueMeta, rowsHoldingValueOf, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, scalarTypeNamesOf, slotSource, sqlDefaultFunctions, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, storedValueOperationIndexes, storedValueSubjects, subjectsOfCalls, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, unnamedFieldFillOf };
@@ -1,2 +1,2 @@
1
- import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-BkF95ZnP.mjs";
1
+ import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-DbkXUf4C.mjs";
2
2
  export { 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-QS2FXNb_.mjs";
1
+ import { t as SqlMigration } from "./migration-DctFInNJ.mjs";
2
2
  export { SqlMigration as Migration };
@@ -22,7 +22,7 @@ import { Contract, PlanMeta } from "@prisma/orm-framework/contract/types";
22
22
  import { AnyCodecDescriptor, CodecDescriptor } from "@prisma/orm-framework/components/codec";
23
23
  import { Activity, Activity as Activity$1, ActivityContext, ActivityEndedResult, ActivityEndedResult as ActivityEndedResult$1, ActivityFinalizedResult, ActivityFinalizedResult as ActivityFinalizedResult$1, ActivityInterceptResult, ActivityInterceptResult as ActivityInterceptResult$1, ActivityParent, ActivityParent as ActivityParent$1, AsyncIterableResult, ClientActivity, ClientActivity as ClientActivity$1, ClientActivityEnd, ClientActivityEnd as ClientActivityEnd$1, ClientActivityEnded, ClientActivityKind, ClientActivityKind as ClientActivityKind$1, ClientActivityResult, ClientActivityResult as ClientActivityResult$1, ExecuteInterceptResult, ExecuteInterceptResult as ExecuteInterceptResult$1, ExecutionPlan, MutationDefaultGeneratorContributor, QueryInterceptResult, QueryInterceptResult as QueryInterceptResult$1, RuntimeCore, RuntimeExecuteOptions, RuntimeLog, RuntimeLog as Log, RuntimeMiddleware, RuntimeMode, RuntimeMode as RuntimeMode$1, StartActivity, StartActivity as StartActivity$1, StatementActivity, StatementEnded, TransactionActivity, TransactionEnded } from "@prisma/orm-framework/components/runtime";
24
24
  import { RuntimeAdapterDescriptor, RuntimeAdapterInstance, RuntimeDriverDescriptor, RuntimeDriverInstance, RuntimeExtensionDescriptor, RuntimeExtensionInstance, RuntimeTargetDescriptor, RuntimeTargetInstance } from "@prisma/orm-framework/components/execution";
25
- //#region ../../../2-sql-family/5-runtime/dist/activity-handle-DZXN5uyw.d.mts
25
+ //#region ../../../2-sql-family/5-runtime/dist/activity-handle-CW0Mg8QS.d.mts
26
26
  //#region src/codecs/decoding.d.ts
27
27
  type ColumnRef = {
28
28
  table: string;
@@ -305,6 +305,9 @@ interface RuntimeConnection extends RuntimeQueryable {
305
305
  */
306
306
  destroy(reason?: unknown): Promise<void>;
307
307
  }
308
+ /**
309
+ * A transaction on a runtime connection, or a savepoint that `transaction()` opens on one. Once `commit()` or `rollback()` is called, or the transaction it is in closes, it refuses statements, including one started earlier that has not reached the driver yet.
310
+ */
308
311
  interface RuntimeTransaction extends RuntimeQueryable {
309
312
  readonly signal: AbortSignal;
310
313
  commit(): Promise<void>;
@@ -450,7 +453,7 @@ declare abstract class SqlRuntimeBase<TContract extends Contract<SqlStorage> = C
450
453
  connection(): Promise<RuntimeConnection>;
451
454
  private openConnection;
452
455
  /**
453
- * Begins a transaction on `connection`, which `owner` wraps, as a transaction activity. When the transaction's `activityStarted` hooks refuse the start, no `BEGIN` is sent, `owner` is recorded as clean, and `withTransaction` releases it; after any other start failure it destroys it. The transaction's `activityStarted` hooks run before `BEGIN`. Every statement sent on the transaction, or on `connection`, from the end of `BEGIN` until `commit()` or `rollback()` is called is the transaction's child, and is finalized when the transaction ends, with its outcome. `commit()` and `rollback()` resolve after every finalization hook has run. A subclass that holds its own connection begins its transactions here.
456
+ * Begins a transaction on `connection`, which `owner` wraps, as a transaction activity. When the transaction's `activityStarted` hooks refuse the start, no `BEGIN` is sent, `owner` is recorded as clean, and `withTransaction` releases it; after any other start failure it destroys it. The transaction's `activityStarted` hooks run before `BEGIN`. Every statement sent on the transaction, or on `connection`, from the end of `BEGIN` until `commit()` or `rollback()` is called is the transaction's child, and is finalized when the transaction ends, with its outcome. Once `commit()` or `rollback()` is called, a statement sent on the transaction is refused when it starts, and one started earlier that has not reached the driver yet is refused with `RUNTIME.TRANSACTION_CLOSED`, so neither runs after the `COMMIT` or `ROLLBACK`. `commit()` and `rollback()` resolve after every finalization hook has run. A subclass that holds its own connection begins its transactions here.
454
457
  */
455
458
  protected beginTransactionOn(connection: SqlConnection, owner: TransactionStartTarget, parent: ActivityParent | undefined, options?: RuntimeTransactionOptions): Promise<RuntimeTransaction>;
456
459
  telemetry(): RuntimeTelemetryEvent | null;
@@ -623,4 +626,4 @@ interface ToSqlMember {
623
626
  declare function createToSql<TTargetId extends string>(stack: SqlExecutionStack<TTargetId>, contract: Contract<SqlStorage>): ToSqlMember['toSql'];
624
627
  //#endregion
625
628
  export { RuntimeOptions as $, extractCodecIds as A, withTransaction as At, ActivitySourceTarget as B, ToSqlMember as C, delegatingActivitySource as Ct, createAstCodecRegistry as D, lazyActivitySource as Dt, budgets as E, findActivitySource as Et, validateContractCodecMappings as F, MarkerReader as G, CloseRefusal as H, ActivityExecuteOptions as I, PreparedStatementInternals as J, PreparedExecutionImpl as K, ActivityHandle as L, lowerSqlPlan as M, toRuntimeOptions as N, createToSql as O, planContentHashOn as Ot, validateCodecRegistryCompleteness as P, RuntimeFamilyAdapter as Q, ActivityRoute as R, StatementEnded as S, createSqlExecutionStack as St, TransactionEnded as T, encodeParamsWithMetadata as Tt, ConnectionProvider as U, BoundPreparedStatement as V, HashablePlan as W, RuntimeConnection as X, Runtime as Y, RuntimeExecutionOptions as Z, RenderedSql as _, TelemetryOutcome as _t, ActivityParent$1 as a, SqlExecutionStack as at, StartActivity$1 as b, activitySource as bt, ClientActivityEnd$1 as c, SqlMiddlewareContext as ct, ClientActivityResult$1 as d, SqlRuntimeBase as dt, RuntimeParameterizedCodecDescriptor as et, DelegatingRuntime as f, SqlRuntimeDriverInstance as ft, QueryInterceptResult$1 as g, SqlStaticContributions as gt, Log as h, SqlRuntimeTargetDescriptor as ht, ActivityInterceptResult$1 as i, RuntimeTransactionOptions as it, lints as j, withTransactionMembers as jt, delegatingRuntime as k, startActivityOn as kt, ClientActivityEnded as l, SqlRuntimeAdapterDescriptor as lt, LintsOptions as m, SqlRuntimeExtensionInstance as mt, ActivityEndedResult$1 as n, RuntimeTelemetryEvent as nt, BudgetsOptions as o, SqlExecutionStackWithDriver as ot, ExecuteInterceptResult$1 as p, SqlRuntimeExtensionDescriptor as pt, PreparedStatementImpl as q, ActivityFinalizedResult$1 as r, RuntimeTransaction as rt, ClientActivity$1 as s, SqlMiddleware as st, Activity$1 as t, RuntimeQueryable as tt, ClientActivityKind$1 as u, SqlRuntimeAdapterInstance as ut, RuntimeMode$1 as v, TransactionContext as vt, TransactionActivity as w, deriveParamMetadata as wt, StatementActivity as x, createExecutionContext as xt, SqlExecutionOptions as y, VerifyMarkerOption as yt, ActivitySource as z };
626
- //# sourceMappingURL=index-BoxqxQ3G.d.mts.map
629
+ //# sourceMappingURL=index-DA1EEz4y.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-DA1EEz4y.d.mts","names":[],"sources":["../../../../2-sql-family/5-runtime/dist/activity-handle-CW0Mg8QS.d.mts","../../../../2-sql-family/5-runtime/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;KAeK;EACH;EACA;;KAEG,eAAe,oBAAoB,gBAAgB,mBAAmB,qBAAqB;UAEtF;WACC,SAAS;WACT,QAAQ,oBAAoB;WAC5B,YAAY,oBAAoB;WAChC,gBAAgB;WAChB,aAAa;;;;;;;WAOb;;;;UAeD,6BAA6B;WAC5B,UAAU,SAAS;;;;;;UAMpB;WACC,KAAK;WACL,MAAM;;UAEP,cAAc,kBAAkB,0BAA0B,iCAAiC,kBAAkB,kBAAkB,mBAAmB;WACjJ;EACT,iBAAiB,UAAU,UAAU,KAAK,uBAAuB;EACjE,eAAe,UAAU,UAAU,QAAQ,qBAAqB,KAAK,uBAAuB;EAC5F,mBAAmB,UAAU,UAAU,QAAQ,yBAAyB,KAAK,uBAAuB;;;;;;;;;;;;;;;;;;;EAmBpG,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;IACvE,YAAY,UAAU,gBAAgB,KAAK,uBAAuB,QAAQ;;EAE5E,OAAO,KAAK,yBAAyB,MAAM,kBAAkB,KAAK,uBAAuB;;;;UAIjF;WACC,OAAO;WACP;;iBAEM,oBAAoB,KAAK,uBAAuB;iBAChD,yBAAyB,4BAA4B,mBAAmB,iBAAiB,KAAK,qBAAqB,iBAAiB,wBAAwB;;;UAGnK;WACC;WACA,KAAK;WACL,MAAM;WACN,gBAAgB;WAChB,eAAe;WACf,wBAAwB;;cAErB,sBAAsB,QAAQ,gBAAgB,kBAAkB,QAAQ,MAAM;WACjF;WACA,KA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anOperation } from "./types-COXfSNOP-CWJkgMR8.mjs";
3
+ import { S as SqlPlanTargetDetails, u as SqlMigrationPlanOperation } from "./types-CWvmfrfd-DLQYhSUx.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-family/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-QS2FXNb_.d.mts.map
44
+ //# sourceMappingURL=migration-DctFInNJ.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"migration-QS2FXNb_.d.mts","names":[],"sources":["../../../../2-sql-family/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"}
1
+ {"version":3,"file":"migration-DctFInNJ.d.mts","names":[],"sources":["../../../../2-sql-family/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"}
@@ -19,7 +19,7 @@ import { h as RuntimeScope, o as ComputeColumnJsType } from "./types-C6r7Myrr-3W
19
19
  import "./types-ChjF67Fc.mjs";
20
20
  import { l as PreparedFor, n as Declaration, o as ParamsFromDeclaration, t as BindSiteParams, u as PreparedStatement } from "./transaction-state-CEe4TlC1-C8vX6Ror.mjs";
21
21
  import "./collection-methods-B-md3Mu9.mjs";
22
- import { B as ActivitySourceTarget, Y as Runtime, tt as RuntimeQueryable$1 } from "./index-BoxqxQ3G.mjs";
22
+ import { B as ActivitySourceTarget, Y as Runtime, tt as RuntimeQueryable$1 } from "./index-DA1EEz4y.mjs";
23
23
  import { Contract } from "@prisma/orm-framework/contract/types";
24
24
  import { CodecDescriptorRef, ScalarFieldDeclarationBuilder } from "@prisma/orm-framework/components/codec";
25
25
  import { AsyncIterableResult, MetaBuilder, ResultType, RuntimeExecuteOptions } from "@prisma/orm-framework/components/runtime";
@@ -7,7 +7,7 @@ import { n as codecRefForStorageColumn } from "./codec-descriptor-registry-UiFDv
7
7
  import { t as createFunctions } from "./functions-Cl_egJ2w.mjs";
8
8
  import { t as createIndexReferences } from "./index-reference-BQSrkRfT.mjs";
9
9
  import { o as settlementOf } from "./transaction-state-BfXhs7D7-DhmbySW9.mjs";
10
- import { h as findActivitySource } from "./exports-BE9wmKAn-DI9rC9jC.mjs";
10
+ import { h as findActivitySource } from "./exports-BR5ctYYI-C_-aedbr.mjs";
11
11
  import { isStructuredError, structuredError } from "@prisma/orm-framework/utils/structured-error";
12
12
  import { ifDefined } from "@prisma/orm-framework/utils/defined";
13
13
  import { domainModelsAtDefaultNamespace } from "@prisma/orm-framework/contract/types";
@@ -1,5 +1,5 @@
1
1
  import { m as MarkerReadResult } from "./ast-D0yJ7Yf0.mjs";
2
2
  import { n as ExecutionContext } from "./query-lane-context-DIJU7Owj-CAZQq4AD.mjs";
3
3
  import { a as ParamSpec, c as PreparedExecution, i as DeclaredNullable, l as PreparedFor, n as Declaration, o as ParamsFromDeclaration, r as DeclaredCodecId, s as PrepareCallback, t as BindSiteParams, u as PreparedStatement } from "./transaction-state-CEe4TlC1-C8vX6Ror.mjs";
4
- import { $ as RuntimeOptions, A as extractCodecIds, At as withTransaction, B as ActivitySourceTarget, C as ToSqlMember, Ct as delegatingActivitySource, D as createAstCodecRegistry, Dt as lazyActivitySource, E as budgets, Et as findActivitySource, F as validateContractCodecMappings, G as MarkerReader, H as CloseRefusal, I as ActivityExecuteOptions, J as PreparedStatementInternals, K as PreparedExecutionImpl, L as ActivityHandle, M as lowerSqlPlan, N as toRuntimeOptions, O as createToSql, Ot as planContentHashOn, P as validateCodecRegistryCompleteness, Q as RuntimeFamilyAdapter, R as ActivityRoute, S as StatementEnded, St as createSqlExecutionStack, T as TransactionEnded, Tt as encodeParamsWithMetadata, U as ConnectionProvider, V as BoundPreparedStatement, W as HashablePlan, X as RuntimeConnection, Y as Runtime, Z as RuntimeExecutionOptions, _ as RenderedSql, _t as TelemetryOutcome, a as ActivityParent, at as SqlExecutionStack, b as StartActivity, bt as activitySource, c as ClientActivityEnd, ct as SqlMiddlewareContext, d as ClientActivityResult, dt as SqlRuntimeBase, et as RuntimeParameterizedCodecDescriptor, f as DelegatingRuntime, ft as SqlRuntimeDriverInstance, g as QueryInterceptResult, gt as SqlStaticContributions, h as Log, ht as SqlRuntimeTargetDescriptor, i as ActivityInterceptResult, it as RuntimeTransactionOptions, j as lints, jt as withTransactionMembers, k as delegatingRuntime, kt as startActivityOn, l as ClientActivityEnded, lt as SqlRuntimeAdapterDescriptor, m as LintsOptions, mt as SqlRuntimeExtensionInstance, n as ActivityEndedResult, nt as RuntimeTelemetryEvent, o as BudgetsOptions, ot as SqlExecutionStackWithDriver, p as ExecuteInterceptResult, pt as SqlRuntimeExtensionDescriptor, q as PreparedStatementImpl, r as ActivityFinalizedResult, rt as RuntimeTransaction, s as ClientActivity, st as SqlMiddleware, t as Activity, tt as RuntimeQueryable, u as ClientActivityKind, ut as SqlRuntimeAdapterInstance, v as RuntimeMode, vt as TransactionContext, w as TransactionActivity, wt as deriveParamMetadata, x as StatementActivity, xt as createExecutionContext, y as SqlExecutionOptions, yt as VerifyMarkerOption, z as ActivitySource } from "./index-BoxqxQ3G.mjs";
4
+ import { $ as RuntimeOptions, A as extractCodecIds, At as withTransaction, B as ActivitySourceTarget, C as ToSqlMember, Ct as delegatingActivitySource, D as createAstCodecRegistry, Dt as lazyActivitySource, E as budgets, Et as findActivitySource, F as validateContractCodecMappings, G as MarkerReader, H as CloseRefusal, I as ActivityExecuteOptions, J as PreparedStatementInternals, K as PreparedExecutionImpl, L as ActivityHandle, M as lowerSqlPlan, N as toRuntimeOptions, O as createToSql, Ot as planContentHashOn, P as validateCodecRegistryCompleteness, Q as RuntimeFamilyAdapter, R as ActivityRoute, S as StatementEnded, St as createSqlExecutionStack, T as TransactionEnded, Tt as encodeParamsWithMetadata, U as ConnectionProvider, V as BoundPreparedStatement, W as HashablePlan, X as RuntimeConnection, Y as Runtime, Z as RuntimeExecutionOptions, _ as RenderedSql, _t as TelemetryOutcome, a as ActivityParent, at as SqlExecutionStack, b as StartActivity, bt as activitySource, c as ClientActivityEnd, ct as SqlMiddlewareContext, d as ClientActivityResult, dt as SqlRuntimeBase, et as RuntimeParameterizedCodecDescriptor, f as DelegatingRuntime, ft as SqlRuntimeDriverInstance, g as QueryInterceptResult, gt as SqlStaticContributions, h as Log, ht as SqlRuntimeTargetDescriptor, i as ActivityInterceptResult, it as RuntimeTransactionOptions, j as lints, jt as withTransactionMembers, k as delegatingRuntime, kt as startActivityOn, l as ClientActivityEnded, lt as SqlRuntimeAdapterDescriptor, m as LintsOptions, mt as SqlRuntimeExtensionInstance, n as ActivityEndedResult, nt as RuntimeTelemetryEvent, o as BudgetsOptions, ot as SqlExecutionStackWithDriver, p as ExecuteInterceptResult, pt as SqlRuntimeExtensionDescriptor, q as PreparedStatementImpl, r as ActivityFinalizedResult, rt as RuntimeTransaction, s as ClientActivity, st as SqlMiddleware, t as Activity, tt as RuntimeQueryable, u as ClientActivityKind, ut as SqlRuntimeAdapterInstance, v as RuntimeMode, vt as TransactionContext, w as TransactionActivity, wt as deriveParamMetadata, x as StatementActivity, xt as createExecutionContext, y as SqlExecutionOptions, yt as VerifyMarkerOption, z as ActivitySource } from "./index-DA1EEz4y.mjs";
5
5
  export { type Activity, type ActivityEndedResult, type ActivityExecuteOptions, type ActivityFinalizedResult, type ActivityHandle, type ActivityInterceptResult, type ActivityParent, type ActivityRoute, type ActivitySource, type ActivitySourceTarget, type BindSiteParams, type BoundPreparedStatement, type BudgetsOptions, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityResult, type CloseRefusal, type ConnectionProvider, type Declaration, type DeclaredCodecId, type DeclaredNullable, type DelegatingRuntime, type ExecuteInterceptResult, type ExecutionContext, type HashablePlan, 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 RenderedSql, type Runtime, type RuntimeConnection, type RuntimeExecutionOptions, type RuntimeFamilyAdapter, type RuntimeMode, type RuntimeOptions, type RuntimeParameterizedCodecDescriptor, type RuntimeQueryable, type RuntimeTelemetryEvent, type RuntimeTransaction, type RuntimeTransactionOptions, type SqlExecutionOptions, type SqlExecutionStack, type SqlExecutionStackWithDriver, type SqlMiddleware, type SqlMiddlewareContext, type SqlRuntimeAdapterDescriptor, type SqlRuntimeAdapterInstance, SqlRuntimeBase, type SqlRuntimeDriverInstance, type SqlRuntimeExtensionDescriptor, type SqlRuntimeExtensionInstance, type SqlRuntimeTargetDescriptor, type SqlStaticContributions, type StartActivity, type StatementActivity, type StatementEnded, type TelemetryOutcome, type ToSqlMember, type TransactionActivity, type TransactionContext, type TransactionEnded, type VerifyMarkerOption, activitySource, budgets, createAstCodecRegistry, createExecutionContext, createSqlExecutionStack, createToSql, delegatingActivitySource, delegatingRuntime, deriveParamMetadata, encodeParamsWithMetadata, extractCodecIds, findActivitySource, lazyActivitySource, lints, lowerSqlPlan, planContentHashOn, startActivityOn, toRuntimeOptions, validateCodecRegistryCompleteness, validateContractCodecMappings, withTransaction, withTransactionMembers };
package/dist/runtime.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { C as validateContractCodecMappings, S as validateCodecRegistryCompleteness, T as withTransactionMembers, _ as lints, a as budgets, b as startActivityOn, c as createSqlExecutionStack, d as delegatingRuntime, f as deriveParamMetadata, g as lazyActivitySource, h as findActivitySource, i as activitySource, l as createToSql, m as extractCodecIds, n as PreparedStatementImpl, o as createAstCodecRegistry, p as encodeParamsWithMetadata, r as SqlRuntimeBase, s as createExecutionContext, t as PreparedExecutionImpl, u as delegatingActivitySource, v as lowerSqlPlan, w as withTransaction, x as toRuntimeOptions, y as planContentHashOn } from "./exports-BE9wmKAn-DI9rC9jC.mjs";
1
+ import { C as validateContractCodecMappings, S as validateCodecRegistryCompleteness, T as withTransactionMembers, _ as lints, a as budgets, b as startActivityOn, c as createSqlExecutionStack, d as delegatingRuntime, f as deriveParamMetadata, g as lazyActivitySource, h as findActivitySource, i as activitySource, l as createToSql, m as extractCodecIds, n as PreparedStatementImpl, o as createAstCodecRegistry, p as encodeParamsWithMetadata, r as SqlRuntimeBase, s as createExecutionContext, t as PreparedExecutionImpl, u as delegatingActivitySource, v as lowerSqlPlan, w as withTransaction, x as toRuntimeOptions, y as planContentHashOn } from "./exports-BR5ctYYI-C_-aedbr.mjs";
2
2
  export { PreparedExecutionImpl, PreparedStatementImpl, SqlRuntimeBase, activitySource, budgets, createAstCodecRegistry, createExecutionContext, createSqlExecutionStack, createToSql, delegatingActivitySource, delegatingRuntime, deriveParamMetadata, encodeParamsWithMetadata, extractCodecIds, findActivitySource, lazyActivitySource, lints, lowerSqlPlan, planContentHashOn, startActivityOn, toRuntimeOptions, validateCodecRegistryCompleteness, validateContractCodecMappings, withTransaction, withTransactionMembers };
@@ -5,13 +5,13 @@ import "./types-CXRxo_TK.mjs";
5
5
  import { r as SqlOperationDescriptors } from "./index-BWWwt5hB.mjs";
6
6
  import { S as SqlSchemaIRNode } from "./types-fmtEmvj3-B0fQaVes.mjs";
7
7
  import "./types-B-dwfOwQ.mjs";
8
- import { r as SqlControlAdapter } from "./control-adapter-BfyLe7rh-evCd4Qt7.mjs";
8
+ import { r as SqlControlAdapter } from "./control-adapter-0z3ce44U-CLj4kqLI.mjs";
9
9
  import { Contract } from "@prisma/orm-framework/contract/types";
10
10
  import { TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
11
11
  import { Result } from "@prisma/orm-framework/utils/result";
12
- import { CheckExpectation, ContractSpace, ControlAdapterDescriptor, ControlExtensionDescriptor, MigrationOperationPolicy, MigrationPlan, MigrationPlanOperation, MigrationPlannerConflict, MigrationPlannerFailureResult, MigrationPlannerSuccessResult, MigrationRunnerExecutionChecks, MigrationRunnerFailure, MigrationRunnerPerSpaceSuccessValue, MigrationRunnerResult, OpFactoryCall, OperationContext, PlanOrigin, ResolvedMigrationStatement, SchemaDiffIssue, SchemaOwnership } from "@prisma/orm-framework/components/control";
12
+ import { CheckExpectation, ContractSpace, ControlAdapterDescriptor, ControlExtensionDescriptor, DatabasePolicies, MigrationOperationPolicy, MigrationPlan, MigrationPlanOperation, MigrationPlannerConflict, MigrationPlannerFailureResult, MigrationPlannerSuccessResult, MigrationRunnerExecutionChecks, MigrationRunnerFailure, MigrationRunnerPerSpaceOptions, MigrationRunnerPerSpaceSuccessValue, MigrationRunnerResult, OpFactoryCall, OperationContext, PlanOrigin, ResolvedMigrationStatement, SchemaDiffIssue, SchemaOwnership } from "@prisma/orm-framework/components/control";
13
13
  import { AggregateMigrationEdgeRef } from "@prisma/orm-toolchain/migration-tools/aggregate";
14
- //#region ../../../2-sql-family/9-family/dist/types-COXfSNOP.d.mts
14
+ //#region ../../../2-sql-family/9-family/dist/types-CWvmfrfd.d.mts
15
15
  //#region src/core/migrations/types.d.ts
16
16
  type AnyRecord = Readonly<Record<string, unknown>>;
17
17
  interface StorageTypePlanResult<TTargetDetails> {
@@ -312,7 +312,7 @@ interface SqlMigrationRunnerExecuteCallbacks<TTargetDetails> {
312
312
  onOperationStart?(operation: SqlMigrationPlanOperation<TTargetDetails>): void;
313
313
  onOperationComplete?(operation: SqlMigrationPlanOperation<TTargetDetails>): void;
314
314
  }
315
- interface SqlMigrationRunnerExecuteOptions<TTargetDetails> {
315
+ interface SqlMigrationRunnerExecuteOptions<TTargetDetails> extends Pick<MigrationRunnerPerSpaceOptions, 'databasePolicies'> {
316
316
  readonly plan: SqlMigrationPlan<TTargetDetails>;
317
317
  readonly driver: SqlControlDriverInstance<string>;
318
318
  /**
@@ -379,6 +379,7 @@ interface SqlMigrationRunner<TTargetDetails> {
379
379
  execute(options: {
380
380
  readonly driver: SqlControlDriverInstance<string>;
381
381
  readonly perSpaceOptions: ReadonlyArray<SqlMigrationRunnerExecuteOptions<TTargetDetails>>;
382
+ readonly expectedDatabasePolicies?: DatabasePolicies;
382
383
  }): Promise<MigrationRunnerResult>;
383
384
  /**
384
385
  * Apply a single migration plan against an already-open connection **without** opening a
@@ -409,4 +410,4 @@ interface CreateSqlMigrationPlanOptions<TTargetDetails> {
409
410
  }
410
411
  //#endregion
411
412
  export { SqlPlannerConflict as C, SqlPlannerResult as D, SqlPlannerFailureResult as E, SqlPlannerSuccessResult as O, SqlPlanTargetDetails as S, SqlPlannerConflictLocation as T, SqlMigrationRunnerExecuteCallbacks as _, ResolveIdentityValueInput as a, SqlMigrationRunnerResult as b, SqlMigrationPlan as c, SqlMigrationPlanOperationStep as d, SqlMigrationPlanOperationTarget as f, SqlMigrationRunnerErrorCode as g, SqlMigrationRunner as h, FieldEventContext as i, StorageTypePlanResult as k, SqlMigrationPlanContractInfo as l, SqlMigrationPlannerPlanOptions as m, CreateSqlMigrationPlanOptions as n, SqlControlAdapterDescriptor as o, SqlMigrationPlanner as p, FieldEvent as r, SqlControlExtensionDescriptor as s, CodecControlHooks as t, SqlMigrationPlanOperation as u, SqlMigrationRunnerExecuteOptions as v, SqlPlannerConflictKind as w, SqlMigrationRunnerSuccessValue as x, SqlMigrationRunnerFailure as y };
412
- //# sourceMappingURL=types-COXfSNOP-CWJkgMR8.d.mts.map
413
+ //# sourceMappingURL=types-CWvmfrfd-DLQYhSUx.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-COXfSNOP-CWJkgMR8.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/types-COXfSNOP.d.mts"],"mappings":";;;;;;;;;;;;;;;KAUK,YAAY,SAAS;UAChB,sBAAsB;WACrB,qBAAqB,0BAA0B;;;;;;;;;UAShD;;WAEC;WACA;WACA,aAAa;;;;;;;;;;;;;;;;KAgBnB;;;;;;;;;;;;;UAaK;WACC;WACA;WACA;WACA,aAAa;WACb,WAAW;WACX,aAAa;WACb,WAAW;;UAEZ,kBAAkB;;;;;;;;;EAS1B,sBAAsB;aACX;aACA,cAAc;aACd,UAAU,SAAS;aACnB,QAAQ;aACR;aACA,QAAQ;QACb,sBAAsB;EAC5B,cAAc;aACH;aACA,cAAc;aACd,QAAQ;aACR;iBACI;EACf,mBAAmB;aACR,QAAQ;aACR;QACL,QAAQ,eAAe;;;;;;;;;;EAU7B,wBAAwB,OAAO;;;;;;;;;;;;;;;EAe/B,gBAAgB,OAAO,YAAY,KAAK,+BAA+B;;UAE/D,8BAA8B,kCAAkC,kCAAkC;WACjG,wBAAwB;;;;;;;;;;;;WAYxB,gBAAgB,cAAc,SAAS;;UAExC,4BAA4B,kCAAkC,gCAAgC,WAAW,kBAAkB;WAC1H,wBAAwB;;UAEzB;WACC;WACA;;;;;;;;;WASA;WACA,OAAO;;WAEP,cAAc;;;;;;;;;UASf;WACC;WACA;;UAED,gCAAgC;WAC/B;WACA,UAAU;;UAEX,0BAA0B,wBAAwB;WACjD;WACA,QAAQ,gCAAgC;WACxC,mBAAmB;WACnB,kBAAkB;WAClB,oBAAoB;WACpB,OAAO;;UAER;WACC;WACA;;UAED,iBAAiB,wBAAwB;;;;;;;;;;;;;;;WAexC;;;;;WAKA,SAAS;;;;WAIT,aAAa;WACb,sBAAsB,0BAA0B,kBAAkB,QAAQ,0BAA0B;;;;;;;;;WASpG;WACA,OAAO;;KAEb;UACK;WACC;WACA;WACA;WACA;WACA;WACA;WACA;;UAED,2BAA2B;WAC1B,MAAM;WACN,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S;;;;;;WAMnB,QAAQ;WACR,QAAQ;WACR;;;;;;;;WAQA;;;;;;;;;;;;;;WAcA,cAAc,SAAS;;WAEvB,QAAQ;;;;;WAKR,qBAAqB;;;;;;;WAOrB;;;;;;;WAOA,qBAAqB,cAAc;;;;;;;;;;WAUnC,YAAY;;UAEb,oBAAoB;EAC5B,KAAK,SAAS,iCAAiC,iBAAiB;;UAExD,mCAAmC;EAC3C,kBAAkB,WAAW,0BAA0B;EACvD,qBAAqB,WAAW,0BAA0B;;UAElD,iCAAiC,wBAAwB,KAAK;WAC7D,MAAM,iBAAiB;WACvB,QAAQ;;;;;;;;WAQR;;;;;WAKA,qBAAqB,SAAS;;;;;WAK9B,QAAQ;WACR;WACA,YAAY,mCAAmC;WAC/C,UAAU;;;;;WAKV,kBAAkB;;;;;;;WAOlB,qBAAqB,cAAc;;;;;WAKnC,yBAAyB;;KAE/B;UACK,kCAAkC;WACjC,MAAM;;UAEP,uCAAuC;KAC5C,2BAA2B,OAAO,gCAAgC;UAC7D,mBAAmB;;;;;;;;;;;;;;;;EAgB3B,QAAQ;aACG,QAAQ;aACR,iBAAiB,cAAc,iCAAiC;aAChE,2BAA2B;MAClC,QAAQ;;;;;;;;;EASZ,oBAAoB,SAAS,iCAAiC,kBAAkB,QAAQ;;UAEhF,8BAA8B;WAC7B;;;;WAIA;WACA,SAAS;WACT,aAAa;WACb,qBAAqB,0BAA0B;;;;;;WAM/C;WACA,OAAO"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/orm-family-sql",
3
- "version": "8.0.0-rc.24-dev.23",
3
+ "version": "8.0.0-rc.24-dev.25",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -9,8 +9,8 @@
9
9
  "dist"
10
10
  ],
11
11
  "dependencies": {
12
- "@prisma/orm-framework": "8.0.0-rc.24-dev.23",
13
- "@prisma/orm-toolchain": "8.0.0-rc.24-dev.23",
12
+ "@prisma/orm-framework": "8.0.0-rc.24-dev.25",
13
+ "@prisma/orm-toolchain": "8.0.0-rc.24-dev.25",
14
14
  "@standard-schema/spec": "^1.1.0",
15
15
  "arktype": "^2.2.2",
16
16
  "pathe": "^2.0.3",
@@ -19,21 +19,21 @@
19
19
  "ts-toolbelt": "^9.6.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@internal/family-sql": "8.0.0-rc.24-dev.23",
23
- "@internal/sql-builder": "8.0.0-rc.24-dev.23",
24
- "@internal/sql-contract": "8.0.0-rc.24-dev.23",
25
- "@internal/sql-contract-emitter": "8.0.0-rc.24-dev.23",
26
- "@internal/sql-contract-prisma7": "8.0.0-rc.24-dev.23",
27
- "@internal/sql-contract-psl": "8.0.0-rc.24-dev.23",
28
- "@internal/sql-contract-ts": "8.0.0-rc.24-dev.23",
29
- "@internal/sql-errors": "8.0.0-rc.24-dev.23",
30
- "@internal/sql-operations": "8.0.0-rc.24-dev.23",
31
- "@internal/sql-orm-client": "8.0.0-rc.24-dev.23",
32
- "@internal/sql-relational-core": "8.0.0-rc.24-dev.23",
33
- "@internal/sql-runtime": "8.0.0-rc.24-dev.23",
34
- "@internal/sql-schema-ir": "8.0.0-rc.24-dev.23",
35
- "@repo/tsconfig": "8.0.0-rc.24-dev.23",
36
- "@repo/tsdown": "8.0.0-rc.24-dev.23",
22
+ "@internal/family-sql": "8.0.0-rc.24-dev.25",
23
+ "@internal/sql-builder": "8.0.0-rc.24-dev.25",
24
+ "@internal/sql-contract": "8.0.0-rc.24-dev.25",
25
+ "@internal/sql-contract-emitter": "8.0.0-rc.24-dev.25",
26
+ "@internal/sql-contract-prisma7": "8.0.0-rc.24-dev.25",
27
+ "@internal/sql-contract-psl": "8.0.0-rc.24-dev.25",
28
+ "@internal/sql-contract-ts": "8.0.0-rc.24-dev.25",
29
+ "@internal/sql-errors": "8.0.0-rc.24-dev.25",
30
+ "@internal/sql-operations": "8.0.0-rc.24-dev.25",
31
+ "@internal/sql-orm-client": "8.0.0-rc.24-dev.25",
32
+ "@internal/sql-relational-core": "8.0.0-rc.24-dev.25",
33
+ "@internal/sql-runtime": "8.0.0-rc.24-dev.25",
34
+ "@internal/sql-schema-ir": "8.0.0-rc.24-dev.25",
35
+ "@repo/tsconfig": "8.0.0-rc.24-dev.25",
36
+ "@repo/tsdown": "8.0.0-rc.24-dev.25",
37
37
  "tsdown": "0.22.14",
38
38
  "typescript": "5.9.3"
39
39
  },