@prisma/orm-family-sql 8.0.0-rc.20-dev.5 → 8.0.0-rc.20-dev.7

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 (24) hide show
  1. package/dist/{control-ChAUdOOu.d.mts → control-4J_KkH9m.d.mts} +3 -3
  2. package/dist/{control-ChAUdOOu.d.mts.map → control-4J_KkH9m.d.mts.map} +1 -1
  3. package/dist/{control-CtSZTCTp.mjs → control-D1Er9MJE.mjs} +16 -3
  4. package/dist/control-D1Er9MJE.mjs.map +1 -0
  5. package/dist/{control-adapter-Bn0uhplA-BzP2uPqJ.d.mts → control-adapter-BfyLe7rh-DKIl5Ft6.d.mts} +9 -3
  6. package/dist/control-adapter-BfyLe7rh-DKIl5Ft6.d.mts.map +1 -0
  7. package/dist/{control-adapter-NZ2kKc4x.d.mts → control-adapter-cNZNO0Nc.d.mts} +2 -2
  8. package/dist/{control-adapter-NZ2kKc4x.d.mts.map → control-adapter-cNZNO0Nc.d.mts.map} +1 -1
  9. package/dist/{diff-1qHOLoUB.d.mts → diff-Bh3cSTWM.d.mts} +2 -2
  10. package/dist/{diff-1qHOLoUB.d.mts.map → diff-Bh3cSTWM.d.mts.map} +1 -1
  11. package/dist/family.d.mts +6 -6
  12. package/dist/family.mjs +1 -1
  13. package/dist/family__control-adapter.d.mts +2 -2
  14. package/dist/family__control.d.mts +2 -2
  15. package/dist/family__control.mjs +1 -1
  16. package/dist/family__diff.d.mts +1 -1
  17. package/dist/family__migration.d.mts +1 -1
  18. package/dist/{migration-Cxmpzaz0.d.mts → migration-D7inCpXQ.d.mts} +2 -2
  19. package/dist/{migration-Cxmpzaz0.d.mts.map → migration-D7inCpXQ.d.mts.map} +1 -1
  20. package/dist/{types-Cq6ImLAB-RlU4jJAX.d.mts → types-COXfSNOP-GD5gtZcQ.d.mts} +23 -23
  21. package/dist/{types-Cq6ImLAB-RlU4jJAX.d.mts.map → types-COXfSNOP-GD5gtZcQ.d.mts.map} +1 -1
  22. package/package.json +18 -18
  23. package/dist/control-CtSZTCTp.mjs.map +0 -1
  24. package/dist/control-adapter-Bn0uhplA-BzP2uPqJ.d.mts.map +0 -1
@@ -8,7 +8,7 @@ import { S as SqlSchemaIRNode } from "./types-CuCxAQat-Dz8P4xyt.mjs";
8
8
  import "./types-ljUNyiWe.mjs";
9
9
  import { ContractMarkerRecord, LedgerEntryRecord } from "@prisma/orm-framework/contract/types";
10
10
  import { ControlAdapterInstance, ControlStack } from "@prisma/orm-framework/components/control";
11
- //#region ../../../2-sql-family/9-family/dist/control-adapter-Bn0uhplA.d.mts
11
+ //#region ../../../2-sql-family/9-family/dist/control-adapter-BfyLe7rh.d.mts
12
12
  //#region src/core/control-adapter.d.ts
13
13
  /**
14
14
  * Structural interface for anything that can lower a SQL/DDL AST node to a
@@ -40,6 +40,8 @@ interface ExecuteRequestLowerer extends Lowerer {
40
40
  * @template TTarget - The target ID (e.g., 'postgres', 'mysql')
41
41
  */
42
42
  interface SqlControlAdapter<TTarget extends string = string> extends ControlAdapterInstance<'sql', TTarget>, ExecuteRequestLowerer {
43
+ /** Where the database keeps the contract markers, as messages name it to the user, such as `prisma_contract.marker`. */
44
+ readonly markerLocation: string;
43
45
  /**
44
46
  * Reads the contract marker for `space` from the database, returning
45
47
  * `null` if no marker row exists for that space (or if the marker
@@ -123,9 +125,13 @@ interface SqlControlAdapter<TTarget extends string = string> extends ControlAdap
123
125
  */
124
126
  withTransaction<T>(driver: SqlControlDriverInstance<TTarget>, fn: () => Promise<T>): Promise<T>;
125
127
  /**
126
- * Inside a transaction `withTransaction` opened, takes the one lock the migration runner holds while it reads and writes markers, and holds it until the transaction ends. The lock covers the marker table, so it is the same for every space. A target whose `withTransaction` already takes a lock that excludes the runner does nothing here.
128
+ * Inside a transaction `withTransaction` opened, takes the marker lock for `db sign` while it reads and writes markers. Migration runners take the same lock themselves. The lock covers the marker table, so it is the same for every space. The adapter decides how long the lock lives and releases it no later than when that transaction ends, whether it commits or rolls back. A target that already holds the lock there, through `withTransaction` or {@link holdMarkerLock}, does nothing here.
127
129
  */
128
130
  lockMarker(driver: SqlControlDriverInstance<TTarget>): Promise<void>;
131
+ /**
132
+ * For a target whose DDL ends an open transaction: takes the marker lock outside any transaction, runs `work`, and releases the lock when `work` ends. `signSpaces` then creates the marker table inside `work`, under the lock, before the transaction that writes the markers. Without it, `signSpaces` takes the lock with {@link lockMarker} and creates the marker table inside that transaction.
133
+ */
134
+ holdMarkerLock?<T>(driver: SqlControlDriverInstance<TTarget>, work: () => Promise<T>): Promise<T>;
129
135
  /**
130
136
  * Introspects a database schema and returns the target's schema-IR node.
131
137
  *
@@ -172,4 +178,4 @@ interface SqlControlAdapterDescriptor<TTarget extends string = string> {
172
178
  }
173
179
  //#endregion
174
180
  export { SqlControlAdapterDescriptor as i, Lowerer as n, SqlControlAdapter as r, ExecuteRequestLowerer as t };
175
- //# sourceMappingURL=control-adapter-Bn0uhplA-BzP2uPqJ.d.mts.map
181
+ //# sourceMappingURL=control-adapter-BfyLe7rh-DKIl5Ft6.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-adapter-BfyLe7rh-DKIl5Ft6.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/control-adapter-BfyLe7rh.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;UAaU;EACR,MAAM,KAAK,cAAc,SAAS,SAAS,0BAA0B;;;;;;;;UAQ7D,8BAA8B;EACtC,sBAAsB,KAAK,cAAc,SAAS,UAAU,0BAA0B,QAAQ;;;;EAI9F,oBAAoB,QAAQ,WAAW,gBAAgB;;;;;;;;UAQ/C,kBAAkB,yCAAyC,8BAA8B,UAAU;;WAElG;;;;;;;;;;;;;;;;EAgBT,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;;;;EAIJ,gBAAgB,GAAG,QAAQ,yBAAyB,UAAU,UAAU,QAAQ,KAAK,QAAQ;;;;EAI7F,WAAW,QAAQ,yBAAyB,WAAW;;;;EAIvD,gBAAgB,GAAG,QAAQ,yBAAyB,UAAU,YAAY,QAAQ,KAAK,QAAQ;;;;;;;;;;;;;;;;;;EAkB/F,WAAW,QAAQ,yBAAyB,UAAU,oBAAoB,kBAAkB,QAAQ;;;;;EAKpG,yCAAyC;;;;;EAKzC,uCAAuC;;;;;;;;UAQ/B,4BAA4B;;;;;;;EAOpC,OAAO,OAAO,oBAAoB,WAAW,kBAAkB"}
@@ -1,6 +1,6 @@
1
1
  import { d as SqlColumnIRInput, i as ReportedSqlType } from "./types-CuCxAQat-Dz8P4xyt.mjs";
2
2
  import "./types-ljUNyiWe.mjs";
3
- import "./control-adapter-Bn0uhplA-BzP2uPqJ.mjs";
3
+ import "./control-adapter-BfyLe7rh-DKIl5Ft6.mjs";
4
4
  import { DataType } from "@prisma/orm-framework/components/codec";
5
5
  //#region ../../../2-sql-family/9-family/dist/control-adapter.d.mts
6
6
  //#region src/core/resolve-introspected-types.d.ts
@@ -10,4 +10,4 @@ import { DataType } from "@prisma/orm-framework/components/codec";
10
10
  declare function resolveIntrospectedColumnType(reported: ReportedSqlType, dataTypes: readonly DataType[]): Pick<SqlColumnIRInput, 'storedType' | 'storedTypeParams'>;
11
11
  //#endregion
12
12
  export { resolveIntrospectedColumnType as t };
13
- //# sourceMappingURL=control-adapter-NZ2kKc4x.d.mts.map
13
+ //# sourceMappingURL=control-adapter-cNZNO0Nc.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"control-adapter-NZ2kKc4x.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/control-adapter.d.mts"],"mappings":";;;;;;;;;iBAOiB,8BAA8B,UAAU,iBAAiB,oBAAoB,aAAa,KAAK"}
1
+ {"version":3,"file":"control-adapter-cNZNO0Nc.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/control-adapter.d.mts"],"mappings":";;;;;;;;;iBAOiB,8BAA8B,UAAU,iBAAiB,oBAAoB,aAAa,KAAK"}
@@ -2,7 +2,7 @@ import { l as SqlStorage } from "./sql-storage-DeCAh5Hi-CEM-m8cs.mjs";
2
2
  import "./types-CkAd8SWm.mjs";
3
3
  import { S as SqlSchemaIRNode } from "./types-CuCxAQat-Dz8P4xyt.mjs";
4
4
  import "./types-ljUNyiWe.mjs";
5
- import { t as CodecControlHooks } from "./types-Cq6ImLAB-RlU4jJAX.mjs";
5
+ import { t as CodecControlHooks } from "./types-COXfSNOP-GD5gtZcQ.mjs";
6
6
  import { t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-tqHKiJ88.mjs";
7
7
  import { Contract, ControlPolicy } from "@prisma/orm-framework/contract/types";
8
8
  import { TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
@@ -114,4 +114,4 @@ declare function verifySqlSchemaByDiff(input: VerifySqlSchemaByDiffInput): Verif
114
114
  declare function arraysEqual(a: readonly string[], b: readonly string[]): boolean;
115
115
  //#endregion
116
116
  export { VerifySqlSchemaByDiffInput as a, classifySqlDiffIssue as c, verifySqlSchemaByDiff as d, StorageTypeVerdictInput as i, computeSqlDiffVerdict as l, SqlDiffVerdictInput as n, arraysEqual as o, StorageTypeVerdict as r, classifyDiffSubjectGranularity as s, SqlDiffVerdict as t, computeStorageTypeVerdict as u };
117
- //# sourceMappingURL=diff-1qHOLoUB.d.mts.map
117
+ //# sourceMappingURL=diff-Bh3cSTWM.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"diff-1qHOLoUB.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/diff.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBAkBiB,+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;;;;;;;;;;;;;;iBAc1D,YAAY,sBAAsB"}
1
+ {"version":3,"file":"diff-Bh3cSTWM.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/diff.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBAkBiB,+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;;;;;;;;;;;;;;iBAc1D,YAAY,sBAAsB"}
package/dist/family.d.mts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-DCqtmnSU.mjs";
2
2
  import { h as checkSqlDefaultText } from "./validators-FJs8HvFr.mjs";
3
- import { n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-BzP2uPqJ.mjs";
4
- import { C as SqlPlannerConflict, D as SqlPlannerResult, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, S as SqlPlanTargetDetails, T as SqlPlannerConflictLocation, _ as SqlMigrationRunnerExecuteCallbacks, a as ResolveIdentityValueInput, b as SqlMigrationRunnerResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, f as SqlMigrationPlanOperationTarget, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, i as FieldEventContext, k as StorageTypePlanResult, l as SqlMigrationPlanContractInfo, m as SqlMigrationPlannerPlanOptions, n as CreateSqlMigrationPlanOptions, o as SqlControlAdapterDescriptor, p as SqlMigrationPlanner, r as FieldEvent, s as SqlControlExtensionDescriptor, t as CodecControlHooks, u as SqlMigrationPlanOperation, v as SqlMigrationRunnerExecuteOptions, w as SqlPlannerConflictKind, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-Cq6ImLAB-RlU4jJAX.mjs";
3
+ import { n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-BfyLe7rh-DKIl5Ft6.mjs";
4
+ import { C as SqlPlannerConflict, D as SqlPlannerResult, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, S as SqlPlanTargetDetails, T as SqlPlannerConflictLocation, _ as SqlMigrationRunnerExecuteCallbacks, a as ResolveIdentityValueInput, b as SqlMigrationRunnerResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, f as SqlMigrationPlanOperationTarget, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, i as FieldEventContext, k as StorageTypePlanResult, l as SqlMigrationPlanContractInfo, m as SqlMigrationPlannerPlanOptions, n as CreateSqlMigrationPlanOptions, o as SqlControlAdapterDescriptor, p as SqlMigrationPlanner, r as FieldEvent, s as SqlControlExtensionDescriptor, t as CodecControlHooks, u as SqlMigrationPlanOperation, v as SqlMigrationRunnerExecuteOptions, w as SqlPlannerConflictKind, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-COXfSNOP-GD5gtZcQ.mjs";
5
5
  import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-tqHKiJ88.mjs";
6
- import { $ as SubjectStorage, $t as sqlOfSlot, A as NoTable, At as isUnfilledSlot, B as SingleOperationCall, Bt as readColumnDefault, C as MigrationPlannerConflict, Ct as detectDestructiveChanges, D as NO_RENAMED_ORIGINS, Dt as fieldOfColumn, E as ModelTable, Et as fieldEventStorage, F as ReportedBody, Ft as planFieldEventCalls, G as SqlPslBuildContext, Gt as resolveColumnRenameAgainst, H as SqlControlTargetDescriptor, Ht as requiredColumnMeta, I as ReportedLiteralDefault, It as planFieldEventOperations, J as SqlSlot, Jt as rowsWithoutValueSummary, K as SqlQuote, Kt as resolveTableRenameAgainst, L as RequiredColumn, Lt as planStatements, M as PlannedStatements, Mt as otherSpaceDeclaring, N as ReadColumnDefault, Nt as partitionCallsByControlPolicy, O as NamespaceRename, Ot as fieldRenameStorageEffect, P as ReadReportedDefault, Pt as partitionIssuesByControlPolicy, Q as StatementPlanningTarget, Qt as sqlDefaultFunctions, R as RequiredColumnMark, Rt as plannerFailure, S as MigrationPlanner, St as createSqlTextSources, T as ModelStorageEffect, Tt as extractCodecControlHooks, U as SqlDefaultFunctionName, Ut as requiredColumnOf, V as SqlControlFamilyInstance, Vt as readReportedDefault, W as SqlDescribedContractSpace, Wt as requiredColumnsOfMigration, X as StatementColumn, Xt as runnerSuccess, Y as SqlTextSources, Yt as runnerFailure, Z as StatementOwnership, Zt as slotSource, _ as INIT_ADDITIVE_POLICY, _t as contractNamespaceToSchemaIR, a as ColumnRename, an as unmatchedColumnRename, at as TableRenameByHand, b as MigrationPlan, bt as convertedColumnOf, c as ContractColumns, ct as TargetRefusal, d as ConvertedColumn, dt as appliedStatementsInOrder, en as sqlTypeLookupsOf, et as SuppressionRecord, f as DefaultResolver, ft as assembleAuthoringContributions, g as FieldStorageEffect, gt as contractColumns, h as FieldStatementColumns, ht as columnTakesTemporaryValue, i as ColumnOnOneSide, in as unknownCallNames, it as TableRename, j as PlanFieldEventOperationsOptions, jt as modelRenameStorageEffect, k as NamespaceStatementTarget, kt as fieldStatementColumns, l as ContractToSchemaIROptions, lt as WorkingSchemaOrigins, m as FieldEventCall, mt as checkSqlExpressionText, n as CallSubjects, nn as subjectsOfCalls, nt as TableMove, o as ColumnRenameRequest, on as unmatchedTableRename, ot as TableRenameRequest, p as DefaultResolverColumn, pt as backfillOfDefaultedField, q as SqlQuotingRules, qt as rowsWithoutValueFailure, r as CallWithCompanions, rn as unconvertedFieldOf, rt as TableNameCaseGuardTable, s as ContractColumn, st as TargetMigrationsCapability, t as COLUMN_RENAME_UNMATCHED_CODE, tn as storageNameOfOperation, tt as TABLE_NAME_CASE_CHANGED_CODE, u as ControlPolicySubject, v as MigrationOperationClass, vt as contractToSchemaIR, w as MigrationPlannerResult, wt as detectTableNameCaseChanges, x as MigrationPlanOperation, xt as createMigrationPlan, y as MigrationOperationPolicy, yt as convertedColumnMeta, z as SchemaTables, zt as plannerSuccess } from "./control-ChAUdOOu.mjs";
7
- import { t as resolveIntrospectedColumnType } from "./control-adapter-NZ2kKc4x.mjs";
8
- 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-1qHOLoUB.mjs";
6
+ import { $ as SubjectStorage, $t as sqlOfSlot, A as NoTable, At as isUnfilledSlot, B as SingleOperationCall, Bt as readColumnDefault, C as MigrationPlannerConflict, Ct as detectDestructiveChanges, D as NO_RENAMED_ORIGINS, Dt as fieldOfColumn, E as ModelTable, Et as fieldEventStorage, F as ReportedBody, Ft as planFieldEventCalls, G as SqlPslBuildContext, Gt as resolveColumnRenameAgainst, H as SqlControlTargetDescriptor, Ht as requiredColumnMeta, I as ReportedLiteralDefault, It as planFieldEventOperations, J as SqlSlot, Jt as rowsWithoutValueSummary, K as SqlQuote, Kt as resolveTableRenameAgainst, L as RequiredColumn, Lt as planStatements, M as PlannedStatements, Mt as otherSpaceDeclaring, N as ReadColumnDefault, Nt as partitionCallsByControlPolicy, O as NamespaceRename, Ot as fieldRenameStorageEffect, P as ReadReportedDefault, Pt as partitionIssuesByControlPolicy, Q as StatementPlanningTarget, Qt as sqlDefaultFunctions, R as RequiredColumnMark, Rt as plannerFailure, S as MigrationPlanner, St as createSqlTextSources, T as ModelStorageEffect, Tt as extractCodecControlHooks, U as SqlDefaultFunctionName, Ut as requiredColumnOf, V as SqlControlFamilyInstance, Vt as readReportedDefault, W as SqlDescribedContractSpace, Wt as requiredColumnsOfMigration, X as StatementColumn, Xt as runnerSuccess, Y as SqlTextSources, Yt as runnerFailure, Z as StatementOwnership, Zt as slotSource, _ as INIT_ADDITIVE_POLICY, _t as contractNamespaceToSchemaIR, a as ColumnRename, an as unmatchedColumnRename, at as TableRenameByHand, b as MigrationPlan, bt as convertedColumnOf, c as ContractColumns, ct as TargetRefusal, d as ConvertedColumn, dt as appliedStatementsInOrder, en as sqlTypeLookupsOf, et as SuppressionRecord, f as DefaultResolver, ft as assembleAuthoringContributions, g as FieldStorageEffect, gt as contractColumns, h as FieldStatementColumns, ht as columnTakesTemporaryValue, i as ColumnOnOneSide, in as unknownCallNames, it as TableRename, j as PlanFieldEventOperationsOptions, jt as modelRenameStorageEffect, k as NamespaceStatementTarget, kt as fieldStatementColumns, l as ContractToSchemaIROptions, lt as WorkingSchemaOrigins, m as FieldEventCall, mt as checkSqlExpressionText, n as CallSubjects, nn as subjectsOfCalls, nt as TableMove, o as ColumnRenameRequest, on as unmatchedTableRename, ot as TableRenameRequest, p as DefaultResolverColumn, pt as backfillOfDefaultedField, q as SqlQuotingRules, qt as rowsWithoutValueFailure, r as CallWithCompanions, rn as unconvertedFieldOf, rt as TableNameCaseGuardTable, s as ContractColumn, st as TargetMigrationsCapability, t as COLUMN_RENAME_UNMATCHED_CODE, tn as storageNameOfOperation, tt as TABLE_NAME_CASE_CHANGED_CODE, u as ControlPolicySubject, v as MigrationOperationClass, vt as contractToSchemaIR, w as MigrationPlannerResult, wt as detectTableNameCaseChanges, x as MigrationPlanOperation, xt as createMigrationPlan, y as MigrationOperationPolicy, yt as convertedColumnMeta, z as SchemaTables, zt as plannerSuccess } from "./control-4J_KkH9m.mjs";
7
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-cNZNO0Nc.mjs";
8
+ 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-Bh3cSTWM.mjs";
9
9
  import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-BvptQsFW.mjs";
10
- import { t as SqlMigration } from "./migration-Cxmpzaz0.mjs";
10
+ import { t as SqlMigration } from "./migration-D7inCpXQ.mjs";
11
11
  import { a as temporalCodecPresetWithPrecision, i as sqlTargetTypeConstructors, o as temporalStringAuthoringPresets, r as sqlIntegerArgumentGeneratorFunctions, t as idGeneratorFunctionBindings } from "./pack-DA8HZ2mo.mjs";
12
12
  import { a as writeDefaultLiteral, i as writeDataTypeValue, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CAOONlKQ-4m07nb-O.mjs";
13
13
  import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as writtenTypeArguments, n as GeneratorCallRefusal, o as IntrospectedTable, p as toEnumMemberName, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-RelubU2E.mjs";
package/dist/family.mjs CHANGED
@@ -4,7 +4,7 @@ import { c as sqlIntegerArgumentGeneratorFunctions, l as sqlTargetTypeConstructo
4
4
  import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue, s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-DMjIubOr.mjs";
5
5
  import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs";
6
6
  import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-DhKm6hB3.mjs";
7
- import { $ as unmatchedColumnRename, A as planFieldEventOperations, B as resolveTableRenameAgainst, C as fieldStatementColumns, D as partitionCallsByControlPolicy, E as otherSpaceDeclaring, F as readReportedDefault, G as slotSource, H as rowsWithoutValueSummary, I as requiredColumnMeta, J as sqlTypeLookupsOf, K as sqlDefaultFunctions, L as requiredColumnOf, M as plannerFailure, N as plannerSuccess, O as partitionIssuesByControlPolicy, P as readColumnDefault, Q as unknownCallNames, R as requiredColumnsOfMigration, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerFailure, V as rowsWithoutValueFailure, W as runnerSuccess, X as subjectsOfCalls, Y as storageNameOfOperation, Z as unconvertedFieldOf, _ as createSqlTextSources, a as appliedStatementsInOrder, b as fieldEventStorage, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as unmatchedTableRename, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, j as planStatements, k as planFieldEventCalls, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as assembleAuthoringContributions, q as sqlOfSlot, r as NO_RENAMED_ORIGINS, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractColumns, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveColumnRenameAgainst } from "./control-CtSZTCTp.mjs";
7
+ import { $ as unmatchedColumnRename, A as planFieldEventOperations, B as resolveTableRenameAgainst, C as fieldStatementColumns, D as partitionCallsByControlPolicy, E as otherSpaceDeclaring, F as readReportedDefault, G as slotSource, H as rowsWithoutValueSummary, I as requiredColumnMeta, J as sqlTypeLookupsOf, K as sqlDefaultFunctions, L as requiredColumnOf, M as plannerFailure, N as plannerSuccess, O as partitionIssuesByControlPolicy, P as readColumnDefault, Q as unknownCallNames, R as requiredColumnsOfMigration, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerFailure, V as rowsWithoutValueFailure, W as runnerSuccess, X as subjectsOfCalls, Y as storageNameOfOperation, Z as unconvertedFieldOf, _ as createSqlTextSources, a as appliedStatementsInOrder, b as fieldEventStorage, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as unmatchedTableRename, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, j as planStatements, k as planFieldEventCalls, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as assembleAuthoringContributions, q as sqlOfSlot, r as NO_RENAMED_ORIGINS, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractColumns, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveColumnRenameAgainst } from "./control-D1Er9MJE.mjs";
8
8
  import { t as resolveIntrospectedColumnType } from "./control-adapter-SlQkTEwT.mjs";
9
9
  import { t as arraysEqual } from "./diff-C1rFOhek.mjs";
10
10
  import { t as SqlSchemaVerifierBase } from "./ir-DzsUDO8e.mjs";
@@ -1,3 +1,3 @@
1
- import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-BzP2uPqJ.mjs";
2
- import { t as resolveIntrospectedColumnType } from "./control-adapter-NZ2kKc4x.mjs";
1
+ import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-BfyLe7rh-DKIl5Ft6.mjs";
2
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-cNZNO0Nc.mjs";
3
3
  export { type ExecuteRequestLowerer, type Lowerer, type SqlControlAdapter, type SqlControlAdapterDescriptor, resolveIntrospectedColumnType };
@@ -1,5 +1,5 @@
1
1
  import { h as checkSqlDefaultText } from "./validators-FJs8HvFr.mjs";
2
- import { C as SqlPlannerConflict, D as SqlPlannerResult, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, S as SqlPlanTargetDetails, T as SqlPlannerConflictLocation, _ as SqlMigrationRunnerExecuteCallbacks, a as ResolveIdentityValueInput, b as SqlMigrationRunnerResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, f as SqlMigrationPlanOperationTarget, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, i as FieldEventContext, k as StorageTypePlanResult, l as SqlMigrationPlanContractInfo, m as SqlMigrationPlannerPlanOptions, n as CreateSqlMigrationPlanOptions, o as SqlControlAdapterDescriptor, p as SqlMigrationPlanner, r as FieldEvent, s as SqlControlExtensionDescriptor, t as CodecControlHooks, u as SqlMigrationPlanOperation, v as SqlMigrationRunnerExecuteOptions, w as SqlPlannerConflictKind, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-Cq6ImLAB-RlU4jJAX.mjs";
2
+ import { C as SqlPlannerConflict, D as SqlPlannerResult, E as SqlPlannerFailureResult, O as SqlPlannerSuccessResult, S as SqlPlanTargetDetails, T as SqlPlannerConflictLocation, _ as SqlMigrationRunnerExecuteCallbacks, a as ResolveIdentityValueInput, b as SqlMigrationRunnerResult, c as SqlMigrationPlan, d as SqlMigrationPlanOperationStep, f as SqlMigrationPlanOperationTarget, g as SqlMigrationRunnerErrorCode, h as SqlMigrationRunner, i as FieldEventContext, k as StorageTypePlanResult, l as SqlMigrationPlanContractInfo, m as SqlMigrationPlannerPlanOptions, n as CreateSqlMigrationPlanOptions, o as SqlControlAdapterDescriptor, p as SqlMigrationPlanner, r as FieldEvent, s as SqlControlExtensionDescriptor, t as CodecControlHooks, u as SqlMigrationPlanOperation, v as SqlMigrationRunnerExecuteOptions, w as SqlPlannerConflictKind, x as SqlMigrationRunnerSuccessValue, y as SqlMigrationRunnerFailure } from "./types-COXfSNOP-GD5gtZcQ.mjs";
3
3
  import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-tqHKiJ88.mjs";
4
- import { $ as SubjectStorage, $t as sqlOfSlot, A as NoTable, At as isUnfilledSlot, B as SingleOperationCall, Bt as readColumnDefault, C as MigrationPlannerConflict, Ct as detectDestructiveChanges, D as NO_RENAMED_ORIGINS, Dt as fieldOfColumn, E as ModelTable, Et as fieldEventStorage, F as ReportedBody, Ft as planFieldEventCalls, G as SqlPslBuildContext, Gt as resolveColumnRenameAgainst, H as SqlControlTargetDescriptor, Ht as requiredColumnMeta, I as ReportedLiteralDefault, It as planFieldEventOperations, J as SqlSlot, Jt as rowsWithoutValueSummary, K as SqlQuote, Kt as resolveTableRenameAgainst, L as RequiredColumn, Lt as planStatements, M as PlannedStatements, Mt as otherSpaceDeclaring, N as ReadColumnDefault, Nt as partitionCallsByControlPolicy, O as NamespaceRename, Ot as fieldRenameStorageEffect, P as ReadReportedDefault, Pt as partitionIssuesByControlPolicy, Q as StatementPlanningTarget, Qt as sqlDefaultFunctions, R as RequiredColumnMark, Rt as plannerFailure, S as MigrationPlanner, St as createSqlTextSources, T as ModelStorageEffect, Tt as extractCodecControlHooks, U as SqlDefaultFunctionName, Ut as requiredColumnOf, V as SqlControlFamilyInstance, Vt as readReportedDefault, W as SqlDescribedContractSpace, Wt as requiredColumnsOfMigration, X as StatementColumn, Xt as runnerSuccess, Y as SqlTextSources, Yt as runnerFailure, Z as StatementOwnership, Zt as slotSource, _ as INIT_ADDITIVE_POLICY, _t as contractNamespaceToSchemaIR, a as ColumnRename, an as unmatchedColumnRename, at as TableRenameByHand, b as MigrationPlan, bt as convertedColumnOf, c as ContractColumns, ct as TargetRefusal, d as ConvertedColumn, dt as appliedStatementsInOrder, en as sqlTypeLookupsOf, et as SuppressionRecord, f as DefaultResolver, ft as assembleAuthoringContributions, g as FieldStorageEffect, gt as contractColumns, h as FieldStatementColumns, ht as columnTakesTemporaryValue, i as ColumnOnOneSide, in as unknownCallNames, it as TableRename, j as PlanFieldEventOperationsOptions, jt as modelRenameStorageEffect, k as NamespaceStatementTarget, kt as fieldStatementColumns, l as ContractToSchemaIROptions, lt as WorkingSchemaOrigins, m as FieldEventCall, mt as checkSqlExpressionText, n as CallSubjects, nn as subjectsOfCalls, nt as TableMove, o as ColumnRenameRequest, on as unmatchedTableRename, ot as TableRenameRequest, p as DefaultResolverColumn, pt as backfillOfDefaultedField, q as SqlQuotingRules, qt as rowsWithoutValueFailure, r as CallWithCompanions, rn as unconvertedFieldOf, rt as TableNameCaseGuardTable, s as ContractColumn, st as TargetMigrationsCapability, t as COLUMN_RENAME_UNMATCHED_CODE, tn as storageNameOfOperation, tt as TABLE_NAME_CASE_CHANGED_CODE, u as ControlPolicySubject, ut as _default, v as MigrationOperationClass, vt as contractToSchemaIR, w as MigrationPlannerResult, wt as detectTableNameCaseChanges, x as MigrationPlanOperation, xt as createMigrationPlan, y as MigrationOperationPolicy, yt as convertedColumnMeta, z as SchemaTables, zt as plannerSuccess } from "./control-ChAUdOOu.mjs";
4
+ import { $ as SubjectStorage, $t as sqlOfSlot, A as NoTable, At as isUnfilledSlot, B as SingleOperationCall, Bt as readColumnDefault, C as MigrationPlannerConflict, Ct as detectDestructiveChanges, D as NO_RENAMED_ORIGINS, Dt as fieldOfColumn, E as ModelTable, Et as fieldEventStorage, F as ReportedBody, Ft as planFieldEventCalls, G as SqlPslBuildContext, Gt as resolveColumnRenameAgainst, H as SqlControlTargetDescriptor, Ht as requiredColumnMeta, I as ReportedLiteralDefault, It as planFieldEventOperations, J as SqlSlot, Jt as rowsWithoutValueSummary, K as SqlQuote, Kt as resolveTableRenameAgainst, L as RequiredColumn, Lt as planStatements, M as PlannedStatements, Mt as otherSpaceDeclaring, N as ReadColumnDefault, Nt as partitionCallsByControlPolicy, O as NamespaceRename, Ot as fieldRenameStorageEffect, P as ReadReportedDefault, Pt as partitionIssuesByControlPolicy, Q as StatementPlanningTarget, Qt as sqlDefaultFunctions, R as RequiredColumnMark, Rt as plannerFailure, S as MigrationPlanner, St as createSqlTextSources, T as ModelStorageEffect, Tt as extractCodecControlHooks, U as SqlDefaultFunctionName, Ut as requiredColumnOf, V as SqlControlFamilyInstance, Vt as readReportedDefault, W as SqlDescribedContractSpace, Wt as requiredColumnsOfMigration, X as StatementColumn, Xt as runnerSuccess, Y as SqlTextSources, Yt as runnerFailure, Z as StatementOwnership, Zt as slotSource, _ as INIT_ADDITIVE_POLICY, _t as contractNamespaceToSchemaIR, a as ColumnRename, an as unmatchedColumnRename, at as TableRenameByHand, b as MigrationPlan, bt as convertedColumnOf, c as ContractColumns, ct as TargetRefusal, d as ConvertedColumn, dt as appliedStatementsInOrder, en as sqlTypeLookupsOf, et as SuppressionRecord, f as DefaultResolver, ft as assembleAuthoringContributions, g as FieldStorageEffect, gt as contractColumns, h as FieldStatementColumns, ht as columnTakesTemporaryValue, i as ColumnOnOneSide, in as unknownCallNames, it as TableRename, j as PlanFieldEventOperationsOptions, jt as modelRenameStorageEffect, k as NamespaceStatementTarget, kt as fieldStatementColumns, l as ContractToSchemaIROptions, lt as WorkingSchemaOrigins, m as FieldEventCall, mt as checkSqlExpressionText, n as CallSubjects, nn as subjectsOfCalls, nt as TableMove, o as ColumnRenameRequest, on as unmatchedTableRename, ot as TableRenameRequest, p as DefaultResolverColumn, pt as backfillOfDefaultedField, q as SqlQuotingRules, qt as rowsWithoutValueFailure, r as CallWithCompanions, rn as unconvertedFieldOf, rt as TableNameCaseGuardTable, s as ContractColumn, st as TargetMigrationsCapability, t as COLUMN_RENAME_UNMATCHED_CODE, tn as storageNameOfOperation, tt as TABLE_NAME_CASE_CHANGED_CODE, u as ControlPolicySubject, ut as _default, v as MigrationOperationClass, vt as contractToSchemaIR, w as MigrationPlannerResult, wt as detectTableNameCaseChanges, x as MigrationPlanOperation, xt as createMigrationPlan, y as MigrationOperationPolicy, yt as convertedColumnMeta, z as SchemaTables, zt as plannerSuccess } from "./control-4J_KkH9m.mjs";
5
5
  export { COLUMN_RENAME_UNMATCHED_CODE, type CallSubjects, type CallWithCompanions, type CodecControlHooks, type ColumnOnOneSide, type ColumnRename, type ColumnRenameRequest, type ContractColumn, type ContractColumns, type ContractToSchemaIROptions, type ControlPolicySubject, type ConvertedColumn, type CreateSqlMigrationPlanOptions, type DefaultResolver, type DefaultResolverColumn, type FieldEvent, type FieldEventCall, type FieldEventContext, type FieldStatementColumns, type FieldStorageEffect, INIT_ADDITIVE_POLICY, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type ModelStorageEffect, type ModelTable, NO_RENAMED_ORIGINS, type NamespaceRename, type NamespaceStatementTarget, type NoTable, type PlanFieldEventOperationsOptions, type PlannedStatements, type ReadColumnDefault, type ReadReportedDefault, type ReportedBody, type ReportedLiteralDefault, type RequiredColumn, type RequiredColumnMark, type ResolveIdentityValueInput, type SchemaTables, type SingleOperationCall, type SqlControlAdapterDescriptor, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDefaultFunctionName, 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 SqlPslBuildContext, type SqlQuote, type SqlQuotingRules, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, type SqlSlot, type SqlTextSources, type StatementColumn, type StatementOwnership, type StatementPlanningTarget, type StorageTypePlanResult, type SubjectStorage, type SuppressionRecord, TABLE_NAME_CASE_CHANGED_CODE, type TableMove, type TableNameCaseGuardTable, type TableRename, type TableRenameByHand, type TableRenameRequest, type TargetMigrationsCapability, type TargetRefusal, type WorkingSchemaOrigins, appliedStatementsInOrder, assembleAuthoringContributions, backfillOfDefaultedField, checkSqlDefaultText, checkSqlExpressionText, columnTakesTemporaryValue, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, _default as default, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, isUnfilledSlot, modelRenameStorageEffect, otherSpaceDeclaring, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename };
@@ -1,4 +1,4 @@
1
1
  import { n as checkSqlDefaultText } from "./validators-BwA7ttZM.mjs";
2
2
  import { s as extractCodecControlHooks } from "./schema-verify-C3wbdviw-DMjIubOr.mjs";
3
- import { $ as unmatchedColumnRename, A as planFieldEventOperations, B as resolveTableRenameAgainst, C as fieldStatementColumns, D as partitionCallsByControlPolicy, E as otherSpaceDeclaring, F as readReportedDefault, G as slotSource, H as rowsWithoutValueSummary, I as requiredColumnMeta, J as sqlTypeLookupsOf, K as sqlDefaultFunctions, L as requiredColumnOf, M as plannerFailure, N as plannerSuccess, O as partitionIssuesByControlPolicy, P as readColumnDefault, Q as unknownCallNames, R as requiredColumnsOfMigration, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerFailure, V as rowsWithoutValueFailure, W as runnerSuccess, X as subjectsOfCalls, Y as storageNameOfOperation, Z as unconvertedFieldOf, _ as createSqlTextSources, a as appliedStatementsInOrder, b as fieldEventStorage, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as unmatchedTableRename, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, j as planStatements, k as planFieldEventCalls, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as assembleAuthoringContributions, p as control_default, q as sqlOfSlot, r as NO_RENAMED_ORIGINS, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractColumns, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveColumnRenameAgainst } from "./control-CtSZTCTp.mjs";
3
+ import { $ as unmatchedColumnRename, A as planFieldEventOperations, B as resolveTableRenameAgainst, C as fieldStatementColumns, D as partitionCallsByControlPolicy, E as otherSpaceDeclaring, F as readReportedDefault, G as slotSource, H as rowsWithoutValueSummary, I as requiredColumnMeta, J as sqlTypeLookupsOf, K as sqlDefaultFunctions, L as requiredColumnOf, M as plannerFailure, N as plannerSuccess, O as partitionIssuesByControlPolicy, P as readColumnDefault, Q as unknownCallNames, R as requiredColumnsOfMigration, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerFailure, V as rowsWithoutValueFailure, W as runnerSuccess, X as subjectsOfCalls, Y as storageNameOfOperation, Z as unconvertedFieldOf, _ as createSqlTextSources, a as appliedStatementsInOrder, b as fieldEventStorage, c as checkSqlExpressionText, d as contractNamespaceToSchemaIR, et as unmatchedTableRename, f as contractToSchemaIR, g as createMigrationPlan, h as convertedColumnOf, i as TABLE_NAME_CASE_CHANGED_CODE, j as planStatements, k as planFieldEventCalls, l as columnTakesTemporaryValue, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as assembleAuthoringContributions, p as control_default, q as sqlOfSlot, r as NO_RENAMED_ORIGINS, s as backfillOfDefaultedField, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractColumns, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveColumnRenameAgainst } from "./control-D1Er9MJE.mjs";
4
4
  export { COLUMN_RENAME_UNMATCHED_CODE, INIT_ADDITIVE_POLICY, NO_RENAMED_ORIGINS, TABLE_NAME_CASE_CHANGED_CODE, appliedStatementsInOrder, assembleAuthoringContributions, backfillOfDefaultedField, checkSqlDefaultText, checkSqlExpressionText, columnTakesTemporaryValue, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, control_default as default, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, isUnfilledSlot, modelRenameStorageEffect, otherSpaceDeclaring, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlDefaultFunctions, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename };
@@ -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-1qHOLoUB.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-Bh3cSTWM.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-Cxmpzaz0.mjs";
1
+ import { t as SqlMigration } from "./migration-D7inCpXQ.mjs";
2
2
  export { SqlMigration as Migration };
@@ -1,6 +1,6 @@
1
1
  import { l as SqlStorage } from "./sql-storage-DeCAh5Hi-CEM-m8cs.mjs";
2
2
  import "./types-CkAd8SWm.mjs";
3
- import { S as SqlPlanTargetDetails, u as SqlMigrationPlanOperation } from "./types-Cq6ImLAB-RlU4jJAX.mjs";
3
+ import { S as SqlPlanTargetDetails, u as SqlMigrationPlanOperation } from "./types-COXfSNOP-GD5gtZcQ.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-Cxmpzaz0.d.mts.map
44
+ //# sourceMappingURL=migration-D7inCpXQ.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"migration-Cxmpzaz0.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-D7inCpXQ.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"}
@@ -5,13 +5,13 @@ import "./types-CkAd8SWm.mjs";
5
5
  import { r as SqlOperationDescriptors } from "./index-Nqc3OHR_.mjs";
6
6
  import { S as SqlSchemaIRNode } from "./types-CuCxAQat-Dz8P4xyt.mjs";
7
7
  import "./types-ljUNyiWe.mjs";
8
- import { r as SqlControlAdapter } from "./control-adapter-Bn0uhplA-BzP2uPqJ.mjs";
8
+ import { r as SqlControlAdapter } from "./control-adapter-BfyLe7rh-DKIl5Ft6.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
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";
13
13
  import { AggregateMigrationEdgeRef } from "@prisma/orm-toolchain/migration-tools/aggregate";
14
- //#region ../../../2-sql-family/9-family/dist/types-Cq6ImLAB.d.mts
14
+ //#region ../../../2-sql-family/9-family/dist/types-COXfSNOP.d.mts
15
15
  //#region src/core/migrations/types.d.ts
16
16
  type AnyRecord = Readonly<Record<string, unknown>>;
17
17
  interface StorageTypePlanResult<TTargetDetails> {
@@ -156,12 +156,12 @@ interface SqlMigrationPlanOperationStep {
156
156
  /**
157
157
  * Minimal shape every SQL-family target must conform to for its per-operation
158
158
  * `target.details` payload. Each SQL operation addresses a named database
159
- * object in some schema; targets (Postgres, MySQL, SQLite, …) extend this
160
- * shape with their own fields (e.g. Postgres adds `objectType` and optional
161
- * `table`).
159
+ * object, in the schema `schema` names on a target whose database holds schemas;
160
+ * targets extend this shape with their own fields (e.g. Postgres adds
161
+ * `objectType` and optional `table`).
162
162
  */
163
163
  interface SqlPlanTargetDetails {
164
- readonly schema: string;
164
+ readonly schema?: string;
165
165
  readonly name: string;
166
166
  }
167
167
  interface SqlMigrationPlanOperationTarget<TTargetDetails> {
@@ -362,31 +362,31 @@ interface SqlMigrationRunnerSuccessValue extends MigrationRunnerPerSpaceSuccessV
362
362
  type SqlMigrationRunnerResult = Result<SqlMigrationRunnerSuccessValue, SqlMigrationRunnerFailure>;
363
363
  interface SqlMigrationRunner<TTargetDetails> {
364
364
  /**
365
- * Apply one or more per-space migration plans, opening and managing the
366
- * outer transaction (and any target-specific connection-level setup, e.g.
367
- * SQLite's `PRAGMA foreign_keys` toggle). An apply that targets one space
368
- * passes a one-element `perSpaceOptions` list.
365
+ * Apply one or more per-space migration plans, in the order the caller gives (typically the
366
+ * aggregate planner's `applyOrder`: extensions alphabetical, then app). An apply that targets one
367
+ * space passes a one-element `perSpaceOptions` list.
369
368
  *
370
- * The caller orders the input list (typically via the aggregate planner's
371
- * `applyOrder`: extensions alphabetical, then app). A failure on any space
372
- * rolls back every space's writes.
369
+ * A failure states what it left in `failingSpace` and `databaseUnchanged`. A target whose DDL is
370
+ * transactional opens one transaction around every space (with any connection-level setup it
371
+ * needs, such as SQLite's `PRAGMA foreign_keys` toggle), rolls back every space's writes on a
372
+ * failure and reports `databaseUnchanged: true`. A target whose DDL commits as it runs applies,
373
+ * verifies and writes the marker of each space in turn, so the operations that already ran stay
374
+ * applied, and it reports whether the database changed. Creating the marker and ledger tables does
375
+ * not count as a change.
373
376
  *
374
- * Each entry must reference the same `driver` as the top-level `driver`
375
- * (the connection the outer transaction is open on).
377
+ * Each entry must reference the same `driver` as the top-level `driver`.
376
378
  */
377
379
  execute(options: {
378
380
  readonly driver: SqlControlDriverInstance<string>;
379
381
  readonly perSpaceOptions: ReadonlyArray<SqlMigrationRunnerExecuteOptions<TTargetDetails>>;
380
382
  }): Promise<MigrationRunnerResult>;
381
383
  /**
382
- * Apply a single migration plan against an already-open connection
383
- * **without** opening a transaction. The caller is responsible for
384
- * wrapping the call (and any siblings) in `BEGIN` / `COMMIT` /
385
- * `ROLLBACK`. Used by {@link SqlMigrationRunner.execute} to fan out
386
- * across contract spaces inside one outer transaction.
384
+ * Apply a single migration plan against an already-open connection **without** opening a
385
+ * transaction. {@link SqlMigrationRunner.execute} calls it for each space; a target whose DDL is
386
+ * transactional calls it inside the transaction it opened.
387
387
  *
388
- * Idempotent control-table setup (`prisma_contract.*`) and marker
389
- * writes use `options.space` to address the per-space marker row.
388
+ * Idempotent control-table setup and marker writes use `options.space` to address the per-space
389
+ * marker row.
390
390
  */
391
391
  executeOnConnection(options: SqlMigrationRunnerExecuteOptions<TTargetDetails>): Promise<SqlMigrationRunnerResult>;
392
392
  }
@@ -409,4 +409,4 @@ interface CreateSqlMigrationPlanOptions<TTargetDetails> {
409
409
  }
410
410
  //#endregion
411
411
  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-Cq6ImLAB-RlU4jJAX.d.mts.map
412
+ //# sourceMappingURL=types-COXfSNOP-GD5gtZcQ.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-Cq6ImLAB-RlU4jJAX.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/types-Cq6ImLAB.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,WAAW;WACX,OAAO;;UAER,wBAAwB,wBAAwB,KAAK;WACpD;WACA,MAAM,iBAAiB;;UAExB,gCAAgC,KAAK;WACpC;WACA,oBAAoB;;KAE1B,iBAAiB,kBAAkB,wBAAwB,kBAAkB;UACxE;WACC,UAAU,SAAS;;;;;;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;WAChC,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;;;;;;;;;;;;;;EAc3B,QAAQ;aACG,QAAQ;aACR,iBAAiB,cAAc,iCAAiC;MACvE,QAAQ;;;;;;;;;;;EAWZ,oBAAoB,SAAS,iCAAiC,kBAAkB,QAAQ;;UAEhF,8BAA8B;WAC7B;;;;WAIA;WACA,SAAS;WACT,aAAa;WACb,qBAAqB,0BAA0B;;;;;;WAM/C;WACA,OAAO"}
1
+ {"version":3,"file":"types-COXfSNOP-GD5gtZcQ.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,WAAW;WACX,OAAO;;UAER,wBAAwB,wBAAwB,KAAK;WACpD;WACA,MAAM,iBAAiB;;UAExB,gCAAgC,KAAK;WACpC;WACA,oBAAoB;;KAE1B,iBAAiB,kBAAkB,wBAAwB,kBAAkB;UACxE;WACC,UAAU,SAAS;;;;;;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;WAChC,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;MACvE,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.20-dev.5",
3
+ "version": "8.0.0-rc.20-dev.7",
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.20-dev.5",
13
- "@prisma/orm-toolchain": "8.0.0-rc.20-dev.5",
12
+ "@prisma/orm-framework": "8.0.0-rc.20-dev.7",
13
+ "@prisma/orm-toolchain": "8.0.0-rc.20-dev.7",
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.20-dev.5",
23
- "@internal/sql-builder": "8.0.0-rc.20-dev.5",
24
- "@internal/sql-contract": "8.0.0-rc.20-dev.5",
25
- "@internal/sql-contract-emitter": "8.0.0-rc.20-dev.5",
26
- "@internal/sql-contract-prisma7": "8.0.0-rc.20-dev.5",
27
- "@internal/sql-contract-psl": "8.0.0-rc.20-dev.5",
28
- "@internal/sql-contract-ts": "8.0.0-rc.20-dev.5",
29
- "@internal/sql-errors": "8.0.0-rc.20-dev.5",
30
- "@internal/sql-operations": "8.0.0-rc.20-dev.5",
31
- "@internal/sql-orm-client": "8.0.0-rc.20-dev.5",
32
- "@internal/sql-relational-core": "8.0.0-rc.20-dev.5",
33
- "@internal/sql-runtime": "8.0.0-rc.20-dev.5",
34
- "@internal/sql-schema-ir": "8.0.0-rc.20-dev.5",
35
- "@repo/tsconfig": "8.0.0-rc.20-dev.5",
36
- "@repo/tsdown": "8.0.0-rc.20-dev.5",
22
+ "@internal/family-sql": "8.0.0-rc.20-dev.7",
23
+ "@internal/sql-builder": "8.0.0-rc.20-dev.7",
24
+ "@internal/sql-contract": "8.0.0-rc.20-dev.7",
25
+ "@internal/sql-contract-emitter": "8.0.0-rc.20-dev.7",
26
+ "@internal/sql-contract-prisma7": "8.0.0-rc.20-dev.7",
27
+ "@internal/sql-contract-psl": "8.0.0-rc.20-dev.7",
28
+ "@internal/sql-contract-ts": "8.0.0-rc.20-dev.7",
29
+ "@internal/sql-errors": "8.0.0-rc.20-dev.7",
30
+ "@internal/sql-operations": "8.0.0-rc.20-dev.7",
31
+ "@internal/sql-orm-client": "8.0.0-rc.20-dev.7",
32
+ "@internal/sql-relational-core": "8.0.0-rc.20-dev.7",
33
+ "@internal/sql-runtime": "8.0.0-rc.20-dev.7",
34
+ "@internal/sql-schema-ir": "8.0.0-rc.20-dev.7",
35
+ "@repo/tsconfig": "8.0.0-rc.20-dev.7",
36
+ "@repo/tsdown": "8.0.0-rc.20-dev.7",
37
37
  "tsdown": "0.22.14",
38
38
  "typescript": "5.9.3"
39
39
  },