@prisma/orm-framework 8.0.0-rc.1-dev.37 → 8.0.0-rc.1-dev.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.d.mts +1 -1
- package/dist/components__control.d.mts +1 -1
- package/dist/{config-types-gou0jUAD.d.mts → config-types-Dw7Nvsbm.d.mts} +2 -2
- package/dist/{config-types-gou0jUAD.d.mts.map → config-types-Dw7Nvsbm.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/{control-tgMv-peQ.d.mts → control-2lID5ISA.d.mts} +7 -1
- package/dist/control-2lID5ISA.d.mts.map +1 -0
- package/dist/errors.d.mts +2 -2
- package/dist/errors.mjs +2 -2
- package/dist/errors__execution.d.mts +2 -2
- package/dist/errors__execution.mjs +2 -2
- package/dist/{execution-CXy93CMh.mjs → execution-B22Eq7-n.mjs} +17 -2
- package/dist/{execution-CXy93CMh.mjs.map → execution-B22Eq7-n.mjs.map} +1 -1
- package/dist/{execution-Cs6rxLIE.d.mts → execution-Dpiw50TH.d.mts} +13 -3
- package/dist/{execution-Cs6rxLIE.d.mts.map → execution-Dpiw50TH.d.mts.map} +1 -1
- package/dist/psl-parser__interpret.d.mts +1 -1
- package/package.json +15 -15
- package/dist/control-tgMv-peQ.d.mts.map +0 -1
package/dist/components.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as Ag
|
|
|
9
9
|
import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-BY5gWxhC-DcGn4rl_.mjs";
|
|
10
10
|
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-GTXfHjAV-HsPDAkQr.mjs";
|
|
11
11
|
import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
|
|
12
|
-
import { $ as SchemaDiffIssue, A as MigrationPlan, At as diffSchemas, B as MigrationRunnerFailure, Bt as hasSchemaView, C as ExpectationFailureReason, Ct as assembleAuthoringContributions, D as MigrationOperationClass, Dt as contractSnapshotJsonSpecifier, E as MigrationMetadata, Et as buildExtensionLoadOrder, F as MigrationPlannerFailureResult, Ft as extractQueryOperationTypeImports, G as MigrationScaffoldContext, H as MigrationRunnerPerSpaceSuccessValue, Ht as orderIssuesByDependencies, I as MigrationPlannerResult, It as hasMigrations, J as OperationPreview, K as OpFactoryCall, L as MigrationPlannerSuccessResult, Lt as hasOperationPreview, M as MigrationPlanWithAuthoringSurface, Mt as extractCodecLookup, N as MigrationPlanner, Nt as extractCodecTypeImports, O as MigrationOperationPolicy, Ot as contractSnapshotTypesSpecifier, P as MigrationPlannerConflict, Pt as extractComponentIds, Q as SchemaDiff, R as MigrationRunner, Rt as hasPslContractInfer, S as EmitContractResult, St as VerifyDatabaseSchemaResult, T as MigratableTargetDescriptor, Tt as assertUniqueCodecOwner, U as MigrationRunnerResult, Ut as storageHashHex, V as MigrationRunnerPerSpaceOptions, Vt as issueOutcome, W as MigrationRunnerSuccessValue, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_TARGET_MISMATCH, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerifierOutcome, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_SCHEMA_FAILURE, h as ControlStack, ht as VERIFY_CODE_MARKER_MISSING, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as dispositionForCategory, k as MigrationPackage, kt as createControlStack, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as VERIFY_CODE_HASH_MISMATCH, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TargetMigrationsCapability, q as OperationContext, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VerificationStatus, w as IntrospectSchemaResult, wt as assembleControlMutationDefaults, x as DiffableNode, xt as VerifyDatabaseResult, y as CreateControlStackInput, yt as VerifierIssueCategory, z as MigrationRunnerExecutionChecks, zt as hasSchemaSubjectClassifier } from "./control-
|
|
12
|
+
import { $ as SchemaDiffIssue, A as MigrationPlan, At as diffSchemas, B as MigrationRunnerFailure, Bt as hasSchemaView, C as ExpectationFailureReason, Ct as assembleAuthoringContributions, D as MigrationOperationClass, Dt as contractSnapshotJsonSpecifier, E as MigrationMetadata, Et as buildExtensionLoadOrder, F as MigrationPlannerFailureResult, Ft as extractQueryOperationTypeImports, G as MigrationScaffoldContext, H as MigrationRunnerPerSpaceSuccessValue, Ht as orderIssuesByDependencies, I as MigrationPlannerResult, It as hasMigrations, J as OperationPreview, K as OpFactoryCall, L as MigrationPlannerSuccessResult, Lt as hasOperationPreview, M as MigrationPlanWithAuthoringSurface, Mt as extractCodecLookup, N as MigrationPlanner, Nt as extractCodecTypeImports, O as MigrationOperationPolicy, Ot as contractSnapshotTypesSpecifier, P as MigrationPlannerConflict, Pt as extractComponentIds, Q as SchemaDiff, R as MigrationRunner, Rt as hasPslContractInfer, S as EmitContractResult, St as VerifyDatabaseSchemaResult, T as MigratableTargetDescriptor, Tt as assertUniqueCodecOwner, U as MigrationRunnerResult, Ut as storageHashHex, V as MigrationRunnerPerSpaceOptions, Vt as issueOutcome, W as MigrationRunnerSuccessValue, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_TARGET_MISMATCH, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerifierOutcome, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_SCHEMA_FAILURE, h as ControlStack, ht as VERIFY_CODE_MARKER_MISSING, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as dispositionForCategory, k as MigrationPackage, kt as createControlStack, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as VERIFY_CODE_HASH_MISMATCH, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TargetMigrationsCapability, q as OperationContext, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VerificationStatus, w as IntrospectSchemaResult, wt as assembleControlMutationDefaults, x as DiffableNode, xt as VerifyDatabaseResult, y as CreateControlStackInput, yt as VerifierIssueCategory, z as MigrationRunnerExecutionChecks, zt as hasSchemaSubjectClassifier } from "./control-2lID5ISA.mjs";
|
|
13
13
|
import "./emission-aQb87dEn.mjs";
|
|
14
14
|
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-j0w6KfPD.mjs";
|
|
15
15
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { C as MutationDefaultGeneratorDescriptor, E as SourceSpan, S as LoweredDefaultValue, T as SourceDiagnostic, c as ControlMutationDefaultEntry, d as DefaultFunctionLoweringContext, j as TypedDefaultFunctionCall, l as ControlMutationDefaultRegistry, u as ControlMutationDefaults, x as LoweredDefaultResult } from "./framework-components-p8N1lyvE-Cgl21LGI.mjs";
|
|
2
2
|
import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
|
|
3
|
-
import { $ as SchemaDiffIssue, A as MigrationPlan, At as diffSchemas, B as MigrationRunnerFailure, Bt as hasSchemaView, C as ExpectationFailureReason, Ct as assembleAuthoringContributions, D as MigrationOperationClass, Dt as contractSnapshotJsonSpecifier, E as MigrationMetadata, Et as buildExtensionLoadOrder, F as MigrationPlannerFailureResult, Ft as extractQueryOperationTypeImports, G as MigrationScaffoldContext, H as MigrationRunnerPerSpaceSuccessValue, Ht as orderIssuesByDependencies, I as MigrationPlannerResult, It as hasMigrations, J as OperationPreview, K as OpFactoryCall, L as MigrationPlannerSuccessResult, Lt as hasOperationPreview, M as MigrationPlanWithAuthoringSurface, Mt as extractCodecLookup, N as MigrationPlanner, Nt as extractCodecTypeImports, O as MigrationOperationPolicy, Ot as contractSnapshotTypesSpecifier, P as MigrationPlannerConflict, Pt as extractComponentIds, Q as SchemaDiff, R as MigrationRunner, Rt as hasPslContractInfer, S as EmitContractResult, St as VerifyDatabaseSchemaResult, T as MigratableTargetDescriptor, Tt as assertUniqueCodecOwner, U as MigrationRunnerResult, Ut as storageHashHex, V as MigrationRunnerPerSpaceOptions, Vt as issueOutcome, W as MigrationRunnerSuccessValue, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_TARGET_MISMATCH, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerifierOutcome, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_SCHEMA_FAILURE, h as ControlStack, ht as VERIFY_CODE_MARKER_MISSING, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as dispositionForCategory, k as MigrationPackage, kt as createControlStack, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as VERIFY_CODE_HASH_MISMATCH, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TargetMigrationsCapability, q as OperationContext, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VerificationStatus, w as IntrospectSchemaResult, wt as assembleControlMutationDefaults, x as DiffableNode, xt as VerifyDatabaseResult, y as CreateControlStackInput, yt as VerifierIssueCategory, z as MigrationRunnerExecutionChecks, zt as hasSchemaSubjectClassifier } from "./control-
|
|
3
|
+
import { $ as SchemaDiffIssue, A as MigrationPlan, At as diffSchemas, B as MigrationRunnerFailure, Bt as hasSchemaView, C as ExpectationFailureReason, Ct as assembleAuthoringContributions, D as MigrationOperationClass, Dt as contractSnapshotJsonSpecifier, E as MigrationMetadata, Et as buildExtensionLoadOrder, F as MigrationPlannerFailureResult, Ft as extractQueryOperationTypeImports, G as MigrationScaffoldContext, H as MigrationRunnerPerSpaceSuccessValue, Ht as orderIssuesByDependencies, I as MigrationPlannerResult, It as hasMigrations, J as OperationPreview, K as OpFactoryCall, L as MigrationPlannerSuccessResult, Lt as hasOperationPreview, M as MigrationPlanWithAuthoringSurface, Mt as extractCodecLookup, N as MigrationPlanner, Nt as extractCodecTypeImports, O as MigrationOperationPolicy, Ot as contractSnapshotTypesSpecifier, P as MigrationPlannerConflict, Pt as extractComponentIds, Q as SchemaDiff, R as MigrationRunner, Rt as hasPslContractInfer, S as EmitContractResult, St as VerifyDatabaseSchemaResult, T as MigratableTargetDescriptor, Tt as assertUniqueCodecOwner, U as MigrationRunnerResult, Ut as storageHashHex, V as MigrationRunnerPerSpaceOptions, Vt as issueOutcome, W as MigrationRunnerSuccessValue, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_TARGET_MISMATCH, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerifierOutcome, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_SCHEMA_FAILURE, h as ControlStack, ht as VERIFY_CODE_MARKER_MISSING, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as dispositionForCategory, k as MigrationPackage, kt as createControlStack, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as VERIFY_CODE_HASH_MISMATCH, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TargetMigrationsCapability, q as OperationContext, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VerificationStatus, w as IntrospectSchemaResult, wt as assembleControlMutationDefaults, x as DiffableNode, xt as VerifyDatabaseResult, y as CreateControlStackInput, yt as VerifierIssueCategory, z as MigrationRunnerExecutionChecks, zt as hasSchemaSubjectClassifier } from "./control-2lID5ISA.mjs";
|
|
4
4
|
export { APP_SPACE_ID, type AssembledAuthoringContributions, CONTRACT_SNAPSHOTS_DIRNAME, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type ExpectationFailureReason, type ImportRequirement, type IntrospectSchemaResult, type LoweredDefaultResult, type LoweredDefaultValue, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PslContractInferCapable, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SignDatabaseResult, type SourceDiagnostic, type SourceSpan, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, diffSchemas, dispositionForCategory, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, storageHashHex };
|
|
@@ -5,7 +5,7 @@ import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
|
5
5
|
import { u as ControlMutationDefaults } from "./framework-components-p8N1lyvE-Cgl21LGI.mjs";
|
|
6
6
|
import "./components-CS6Hvdt6.mjs";
|
|
7
7
|
import { r as Result } from "./result-Bpupv5vO.mjs";
|
|
8
|
-
import { d as ControlExtensionDescriptor, g as ControlTargetDescriptor, l as ControlDriverDescriptor, n as AssembledAuthoringContributions, p as ControlFamilyDescriptor, s as ControlAdapterDescriptor, u as ControlDriverInstance } from "./control-
|
|
8
|
+
import { d as ControlExtensionDescriptor, g as ControlTargetDescriptor, l as ControlDriverDescriptor, n as AssembledAuthoringContributions, p as ControlFamilyDescriptor, s as ControlAdapterDescriptor, u as ControlDriverInstance } from "./control-2lID5ISA.mjs";
|
|
9
9
|
//#region ../../../1-framework/1-core/config/dist/config-types.d.mts
|
|
10
10
|
//#region src/contract-source-types.d.ts
|
|
11
11
|
interface ContractSourceDiagnosticPosition {
|
|
@@ -173,4 +173,4 @@ declare function hasCurrentConfigFormatVersion(value: unknown): boolean;
|
|
|
173
173
|
declare function defineConfig<TFamilyId extends string = string, TTargetId extends string = string>(config: PrismaNextConfig<TFamilyId, TTargetId>): PrismaNextConfig<TFamilyId, TTargetId>;
|
|
174
174
|
//#endregion
|
|
175
175
|
export { defineConfig as _, ContractSourceDiagnosticPosition as a, readConfigFormatVersion as b, ContractSourceFormat as c, DEFAULT_CONTRACT_SOURCE_DIR as d, FormatterConfig as f, TypeScriptContractSourceProvider as g, PslContractSourceProvider as h, ContractSourceDiagnostic as i, ContractSourceProvider as l, PrismaNextConfig as m, ContractConfig as n, ContractSourceDiagnosticSpan as o, OpaqueContractSourceProvider as p, ContractSourceContext as r, ContractSourceDiagnostics as s, CONFIG_FORMAT_VERSION as t, ContractSourceProviderBase as u, hasCurrentConfigFormatVersion as v, normalizeContractConfig as y };
|
|
176
|
-
//# sourceMappingURL=config-types-
|
|
176
|
+
//# sourceMappingURL=config-types-Dw7Nvsbm.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-types-
|
|
1
|
+
{"version":3,"file":"config-types-Dw7Nvsbm.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;UAMU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;;;;;WAMP,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;WACb,yBAAyB;WACzB;WACA,cAAc;;;KAGpB;UACK;WACC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;UAEpE,kCAAkC;WACjC;;UAED,yCAAyC;WACxC;;;;;;;;UAQD,qCAAqC;WACpC;;KAEN,yBAAyB,4BAA4B,mCAAmC;;;;;;UAMnF;;;;;WAKC,QAAQ;;;;;;;WAOR;;UAED;WACC;WACA;;;;;;;cAOG;iBACG,wBAAwB,UAAU,iBAAiB;WACzD;;;;;;;;;;UAUD,iBAAiB,mCAAmC,mCAAmC;WACtF,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,sBAAsB,2BAA2B,WAAW;;;;;;;WAO5D,SAAS,wBAAwB,WAAW,WAAW,sBAAsB,WAAW,YAAY;;;;;WAKpG;;;;;;aAME,aAAa;;;;;;WAMf,WAAW;;;;WAIX;;aAEE;;WAEF,YAAY;;;;;;cAMT;;;;;;;iBAOG,wBAAwB;iBACxB,8BAA8B;;;;;;;;;;;;;;iBAc9B,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW"}
|
package/dist/config.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as defineConfig, a as ContractSourceDiagnosticPosition, b as readConfigFormatVersion, c as ContractSourceFormat, d as DEFAULT_CONTRACT_SOURCE_DIR, f as FormatterConfig, g as TypeScriptContractSourceProvider, h as PslContractSourceProvider, i as ContractSourceDiagnostic, l as ContractSourceProvider, m as PrismaNextConfig, n as ContractConfig, o as ContractSourceDiagnosticSpan, p as OpaqueContractSourceProvider, r as ContractSourceContext, s as ContractSourceDiagnostics, t as CONFIG_FORMAT_VERSION, u as ContractSourceProviderBase, v as hasCurrentConfigFormatVersion, y as normalizeContractConfig } from "./config-types-
|
|
1
|
+
import { _ as defineConfig, a as ContractSourceDiagnosticPosition, b as readConfigFormatVersion, c as ContractSourceFormat, d as DEFAULT_CONTRACT_SOURCE_DIR, f as FormatterConfig, g as TypeScriptContractSourceProvider, h as PslContractSourceProvider, i as ContractSourceDiagnostic, l as ContractSourceProvider, m as PrismaNextConfig, n as ContractConfig, o as ContractSourceDiagnosticSpan, p as OpaqueContractSourceProvider, r as ContractSourceContext, s as ContractSourceDiagnostics, t as CONFIG_FORMAT_VERSION, u as ContractSourceProviderBase, v as hasCurrentConfigFormatVersion, y as normalizeContractConfig } from "./config-types-Dw7Nvsbm.mjs";
|
|
2
2
|
import { n as ConfigValidationIssue, r as collectConfigIssues, t as ConfigSection } from "./config-validation-Wiqew2J9.mjs";
|
|
3
3
|
export { CONFIG_FORMAT_VERSION, type ConfigSection, type ConfigValidationIssue, type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type OpaqueContractSourceProvider, type PrismaNextConfig, type PslContractSourceProvider, type TypeScriptContractSourceProvider, collectConfigIssues, defineConfig, hasCurrentConfigFormatVersion, normalizeContractConfig, readConfigFormatVersion };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as defineConfig, a as ContractSourceDiagnosticPosition, b as readConfigFormatVersion, c as ContractSourceFormat, d as DEFAULT_CONTRACT_SOURCE_DIR, f as FormatterConfig, g as TypeScriptContractSourceProvider, h as PslContractSourceProvider, i as ContractSourceDiagnostic, l as ContractSourceProvider, m as PrismaNextConfig, n as ContractConfig, o as ContractSourceDiagnosticSpan, p as OpaqueContractSourceProvider, r as ContractSourceContext, s as ContractSourceDiagnostics, t as CONFIG_FORMAT_VERSION, u as ContractSourceProviderBase, v as hasCurrentConfigFormatVersion, y as normalizeContractConfig } from "./config-types-
|
|
1
|
+
import { _ as defineConfig, a as ContractSourceDiagnosticPosition, b as readConfigFormatVersion, c as ContractSourceFormat, d as DEFAULT_CONTRACT_SOURCE_DIR, f as FormatterConfig, g as TypeScriptContractSourceProvider, h as PslContractSourceProvider, i as ContractSourceDiagnostic, l as ContractSourceProvider, m as PrismaNextConfig, n as ContractConfig, o as ContractSourceDiagnosticSpan, p as OpaqueContractSourceProvider, r as ContractSourceContext, s as ContractSourceDiagnostics, t as CONFIG_FORMAT_VERSION, u as ContractSourceProviderBase, v as hasCurrentConfigFormatVersion, y as normalizeContractConfig } from "./config-types-Dw7Nvsbm.mjs";
|
|
2
2
|
export { CONFIG_FORMAT_VERSION, type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type OpaqueContractSourceProvider, type PrismaNextConfig, type PslContractSourceProvider, type TypeScriptContractSourceProvider, defineConfig, hasCurrentConfigFormatVersion, normalizeContractConfig, readConfigFormatVersion };
|
|
@@ -399,6 +399,12 @@ interface ControlTargetInstance<TFamilyId extends string, TTargetId extends stri
|
|
|
399
399
|
interface ControlAdapterInstance<TFamilyId extends string, TTargetId extends string> extends AdapterInstance<TFamilyId, TTargetId> {}
|
|
400
400
|
interface ControlDriverInstance<TFamilyId extends string, TTargetId extends string> extends DriverInstance<TFamilyId, TTargetId> {
|
|
401
401
|
close(): Promise<void>;
|
|
402
|
+
/**
|
|
403
|
+
* Name of the database this connection is bound to, when the target names
|
|
404
|
+
* one. `db update` asks the user to type it before applying destructive
|
|
405
|
+
* operations, so it names where the data would be lost.
|
|
406
|
+
*/
|
|
407
|
+
databaseName?(): Promise<string | undefined>;
|
|
402
408
|
}
|
|
403
409
|
interface ControlExtensionInstance<TFamilyId extends string, TTargetId extends string> extends ExtensionInstance<TFamilyId, TTargetId> {}
|
|
404
410
|
//#endregion
|
|
@@ -1384,4 +1390,4 @@ type VerifierIssueCategory = 'declaredMissing' | 'declaredIncompatible' | 'value
|
|
|
1384
1390
|
declare function dispositionForCategory(controlPolicy: ControlPolicy, category: VerifierIssueCategory): VerifierOutcome;
|
|
1385
1391
|
//#endregion
|
|
1386
1392
|
export { SchemaDiffIssue as $, MigrationPlan as A, diffSchemas as At, MigrationRunnerFailure as B, hasSchemaView as Bt, ExpectationFailureReason as C, assembleAuthoringContributions as Ct, MigrationOperationClass as D, contractSnapshotJsonSpecifier as Dt, MigrationMetadata as E, buildExtensionLoadOrder as Et, MigrationPlannerFailureResult as F, extractQueryOperationTypeImports as Ft, MigrationScaffoldContext as G, MigrationRunnerPerSpaceSuccessValue as H, orderIssuesByDependencies as Ht, MigrationPlannerResult as I, hasMigrations as It, OperationPreview as J, OpFactoryCall as K, MigrationPlannerSuccessResult as L, hasOperationPreview as Lt, MigrationPlanWithAuthoringSurface as M, extractCodecLookup as Mt, MigrationPlanner as N, extractCodecTypeImports as Nt, MigrationOperationPolicy as O, contractSnapshotTypesSpecifier as Ot, MigrationPlannerConflict as P, extractComponentIds as Pt, SchemaDiff as Q, MigrationRunner as R, hasPslContractInfer as Rt, EmitContractResult as S, VerifyDatabaseSchemaResult as St, MigratableTargetDescriptor as T, assertUniqueCodecOwner as Tt, MigrationRunnerResult as U, storageHashHex as Ut, MigrationRunnerPerSpaceOptions as V, issueOutcome as Vt, MigrationRunnerSuccessValue as W, OperationPreviewStatement as X, OperationPreviewCapable as Y, PslContractInferCapable as Z, ControlTargetInstance as _, VERIFY_CODE_TARGET_MISMATCH as _t, ContractSpace as a, SchemaTreeNodeOptions as at, DiffSubjectGranularity as b, VerifierOutcome as bt, ControlAdapterInstance as c, SchemaVerifyOptions as ct, ControlExtensionDescriptor as d, SchemaViewNodeKind as dt, SchemaEntityCoordinate as et, ControlExtensionInstance as f, SignDatabaseResult as ft, ControlTargetDescriptor as g, VERIFY_CODE_SCHEMA_FAILURE as gt, ControlStack as h, VERIFY_CODE_MARKER_MISSING as ht, ContractSerializer as i, SchemaTreeNode as it, MigrationPlanOperation as j, dispositionForCategory as jt, MigrationPackage as k, createControlStack as kt, ControlDriverDescriptor as l, SchemaVerifyResult as lt, ControlFamilyInstance as m, VERIFY_CODE_HASH_MISMATCH as mt, AssembledAuthoringContributions as n, SchemaOwnership as nt, ContractSpaceHeadRef as o, SchemaTreeVisitor as ot, ControlFamilyDescriptor as p, TargetMigrationsCapability as pt, OperationContext as q, CONTRACT_SNAPSHOTS_DIRNAME as r, SchemaSubjectClassifierCapable as rt, ControlAdapterDescriptor as s, SchemaVerifier as st, APP_SPACE_ID as t, SchemaNodeRef as tt, ControlDriverInstance as u, SchemaViewCapable as ut, CoreSchemaView as v, VerificationStatus as vt, IntrospectSchemaResult as w, assembleControlMutationDefaults as wt, DiffableNode as x, VerifyDatabaseResult as xt, CreateControlStackInput as y, VerifierIssueCategory as yt, MigrationRunnerExecutionChecks as z, hasSchemaSubjectClassifier as zt };
|
|
1387
|
-
//# sourceMappingURL=control-
|
|
1393
|
+
//# sourceMappingURL=control-2lID5ISA.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-2lID5ISA.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA6BU,mBAAmB;;;;;;;;;;;;EAY3B,oBAAoB,UAAU,YAAY,WAAW,gBAAgB;;;;;;;;;;EAUrE,kBAAkB,UAAU,YAAY;;;;;;;;WAQ/B,sBAAsB;;;;;;;;WAQtB,cAAc;;;;cAIX;;iBAEG,eAAe;;iBAEf,8BAA8B,6BAA6B;;iBAE3D,+BAA+B,6BAA6B;;;;;;;;;;KAUxE;WACM;WACA;;UAED,gBAAgB,cAAc,eAAe;;WAE5C;;WAEA,WAAW;;WAEX,SAAS;;;;;;;;WAQT;;;;;;;;;;;;;;;;KAg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wBAAwB;EAChC,iBAAiB,UAAU,YAAY;;iBAExB,oBAAoB,0BAA0B,WAAW,UAAU,sBAAsB,WAAW,aAAa,YAAY,sBAAsB,WAAW,aAAa,wBAAwB;;;;;;UAM1M;EACR,mBAAmB,qBAAqB,2BAA2B;;iBAEpD,oBAAoB,0BAA0B,WAAW,UAAU,sBAAsB,WAAW,aAAa,YAAY,sBAAsB,WAAW,aAAa;;;;;;;;;;;;;KAavL;;;;;;;;;;;;;;;;;UAiBK;EACR,2BAA2B,OAAO,kBAAkB;EACpD,mBAAmB,OAAO;;iBAEX,2BAA2B,0BAA0B,WAAW,UAAU,sBAAsB,WAAW,aAAa,YAAY,sBAAsB,WAAW,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BlL,0BAA0B,cAAc,eAAe,cAAc,iBAAiB,gBAAgB,oBAAoB,gBAAgB;;;;;;;;;;;;;;;;;;UAkBjJ,eAAe,WAAW;EAClC,aAAa,SAAS,oBAAoB,WAAW,WAAW;;;;;;;;UAQxD,oBAAoB,WAAW;WAC9B,UAAU;WACV,QAAQ;;;;;;;;UAQT;WACC;WACA,iBAAiB;;;;KAIvB;KACA,kBAAkB;;;;;;;;;;;;;;;;;KAiBlB;;;;;;;;;;iBAUY,uBAAuB,eAAe,eAAe,UAAU,wBAAwB"}
|
package/dist/errors.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { C as errorTargetMigrationNotSupported, S as errorQueryRunnerFactoryRequired, _ as errorJsonFormatNotSupported, a as errorConfigFileNotFound, b as errorMigrationPlanningFailed, c as errorContractConfigMissing, d as errorDatabaseConnectionRequired, f as errorDriverRequired, g as errorInvalidOutputFormat, h as errorFileNotFound, i as errorConfigEvaluationFailed, l as errorContractMissingExtensions, m as errorFamilyReadMarkerSqlRequired, n as CliErrorEnvelope, o as errorConfigValidation, p as errorEnumCodecNotInPackStack, r as CliStructuredError, s as errorConfigVersionMarkerMissing, t as CliErrorConflict, u as errorContractValidationFailed, v as errorMigrationCliInvalidConfigArg, w as errorUnexpected, x as errorOutputFormatMutex, y as errorMigrationCliUnknownFlag } from "./control-ql9N9u4f-Dz4QqSR1.mjs";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as errorHashMismatch, c as errorMarkerRequired, d as errorRuntime, f as errorSchemaVerificationFailed, g as withMarkerReadErrorHandling, h as rethrowMarkerReadError, i as errorDestructiveChanges, l as errorMarkerRowCorrupt, m as parseMarkerRowSafely, n as ERROR_CODE_DESTRUCTIVE_CHANGES, o as errorMarkerMissing, p as errorTargetMismatch, r as errorConsentPlanMismatch, s as errorMarkerReadFailed, t as ERROR_CODE_CONSENT_PLAN_MISMATCH, u as errorRunnerFailed } from "./execution-Dpiw50TH.mjs";
|
|
3
3
|
import { a as errorMigrationTargetMismatch, i as errorMigrationPlanNotArray, n as errorMigrationFileMissing, o as errorUnfilledPlaceholder, r as errorMigrationInvalidDefaultExport, s as placeholder, t as errorDataTransformContractMismatch } from "./migration-CSc3ZZK3.mjs";
|
|
4
|
-
export { type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDestructiveChanges, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
4
|
+
export { type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, ERROR_CODE_CONSENT_PLAN_MISMATCH, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorConsentPlanMismatch, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDestructiveChanges, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
package/dist/errors.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { S as errorUnexpected, _ as errorMigrationCliUnknownFlag, a as errorConfigVersionMarkerMissing, b as errorQueryRunnerFactoryRequired, c as errorContractValidationFailed, d as errorEnumCodecNotInPackStack, f as errorFamilyReadMarkerSqlRequired, g as errorMigrationCliInvalidConfigArg, h as errorJsonFormatNotSupported, i as errorConfigValidation, l as errorDatabaseConnectionRequired, m as errorInvalidOutputFormat, n as errorConfigEvaluationFailed, o as errorContractConfigMissing, p as errorFileNotFound, r as errorConfigFileNotFound, s as errorContractMissingExtensions, t as CliStructuredError, u as errorDriverRequired, v as errorMigrationPlanningFailed, x as errorTargetMigrationNotSupported, y as errorOutputFormatMutex } from "./control-C9JfxzPo-C4JAdFMg.mjs";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as errorHashMismatch, c as errorMarkerRequired, d as errorRuntime, f as errorSchemaVerificationFailed, g as withMarkerReadErrorHandling, h as rethrowMarkerReadError, i as errorDestructiveChanges, l as errorMarkerRowCorrupt, m as parseMarkerRowSafely, n as ERROR_CODE_DESTRUCTIVE_CHANGES, o as errorMarkerMissing, p as errorTargetMismatch, r as errorConsentPlanMismatch, s as errorMarkerReadFailed, t as ERROR_CODE_CONSENT_PLAN_MISMATCH, u as errorRunnerFailed } from "./execution-B22Eq7-n.mjs";
|
|
3
3
|
import { a as errorMigrationTargetMismatch, i as errorMigrationPlanNotArray, n as errorMigrationFileMissing, o as errorUnfilledPlaceholder, r as errorMigrationInvalidDefaultExport, s as placeholder, t as errorDataTransformContractMismatch } from "./migration-jmLnbo_A.mjs";
|
|
4
|
-
export { CliStructuredError, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDestructiveChanges, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
4
|
+
export { CliStructuredError, ERROR_CODE_CONSENT_PLAN_MISMATCH, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorConsentPlanMismatch, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDestructiveChanges, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { ERROR_CODE_DESTRUCTIVE_CHANGES, errorDestructiveChanges, errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
1
|
+
import { a as errorHashMismatch, c as errorMarkerRequired, d as errorRuntime, f as errorSchemaVerificationFailed, g as withMarkerReadErrorHandling, h as rethrowMarkerReadError, i as errorDestructiveChanges, l as errorMarkerRowCorrupt, m as parseMarkerRowSafely, n as ERROR_CODE_DESTRUCTIVE_CHANGES, o as errorMarkerMissing, p as errorTargetMismatch, r as errorConsentPlanMismatch, s as errorMarkerReadFailed, t as ERROR_CODE_CONSENT_PLAN_MISMATCH, u as errorRunnerFailed } from "./execution-Dpiw50TH.mjs";
|
|
2
|
+
export { ERROR_CODE_CONSENT_PLAN_MISMATCH, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConsentPlanMismatch, errorDestructiveChanges, errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { ERROR_CODE_DESTRUCTIVE_CHANGES, errorDestructiveChanges, errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
1
|
+
import { a as errorHashMismatch, c as errorMarkerRequired, d as errorRuntime, f as errorSchemaVerificationFailed, g as withMarkerReadErrorHandling, h as rethrowMarkerReadError, i as errorDestructiveChanges, l as errorMarkerRowCorrupt, m as parseMarkerRowSafely, n as ERROR_CODE_DESTRUCTIVE_CHANGES, o as errorMarkerMissing, p as errorTargetMismatch, r as errorConsentPlanMismatch, s as errorMarkerReadFailed, t as ERROR_CODE_CONSENT_PLAN_MISMATCH, u as errorRunnerFailed } from "./execution-B22Eq7-n.mjs";
|
|
2
|
+
export { ERROR_CODE_CONSENT_PLAN_MISMATCH, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConsentPlanMismatch, errorDestructiveChanges, errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
|
|
@@ -186,6 +186,21 @@ function errorDestructiveChanges(summary, options) {
|
|
|
186
186
|
...options?.meta ? { meta: options.meta } : {}
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
|
+
const ERROR_CODE_CONSENT_PLAN_MISMATCH = "MIGRATION.CONSENT_PLAN_MISMATCH";
|
|
190
|
+
/**
|
|
191
|
+
* An apply carrying consent was refused because the plan recomputed for it is
|
|
192
|
+
* not the plan that was consented to.
|
|
193
|
+
*/
|
|
194
|
+
function errorConsentPlanMismatch(options) {
|
|
195
|
+
return new CliStructuredError(ERROR_CODE_CONSENT_PLAN_MISMATCH, "The plan changed between consent and apply", {
|
|
196
|
+
why: options.why ?? "The plan recomputed for the consented apply is not the plan that was consented to, so applying it could destroy something nobody agreed to.",
|
|
197
|
+
fix: "Re-run the command and review the freshly planned operations before consenting again",
|
|
198
|
+
meta: {
|
|
199
|
+
consentedPlanHash: options.consentedPlanHash,
|
|
200
|
+
planHash: options.planHash
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
}
|
|
189
204
|
/**
|
|
190
205
|
* Generic runtime error carrying a caller-provided dotted code.
|
|
191
206
|
*/
|
|
@@ -198,6 +213,6 @@ function errorRuntime(code, summary, options) {
|
|
|
198
213
|
});
|
|
199
214
|
}
|
|
200
215
|
//#endregion
|
|
201
|
-
export {
|
|
216
|
+
export { errorHashMismatch as a, errorMarkerRequired as c, errorRuntime as d, errorSchemaVerificationFailed as f, withMarkerReadErrorHandling as g, rethrowMarkerReadError as h, errorDestructiveChanges as i, errorMarkerRowCorrupt as l, parseMarkerRowSafely as m, ERROR_CODE_DESTRUCTIVE_CHANGES as n, errorMarkerMissing as o, errorTargetMismatch as p, errorConsentPlanMismatch as r, errorMarkerReadFailed as s, ERROR_CODE_CONSENT_PLAN_MISMATCH as t, errorRunnerFailed as u };
|
|
202
217
|
|
|
203
|
-
//# sourceMappingURL=execution-
|
|
218
|
+
//# sourceMappingURL=execution-B22Eq7-n.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-CXy93CMh.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.mjs"],"sourcesContent":["import { t as CliStructuredError } from \"./control-C9JfxzPo.mjs\";\nimport { ifDefined } from \"@internal/utils/defined\";\n//#region src/execution.ts\n/**\n* Contract marker not found in database.\n*/\nfunction errorMarkerMissing(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_MISSING\", \"Database not signed\", {\n\t\twhy: options?.why ?? \"No database signature (marker) found\",\n\t\tfix: \"Run `prisma-next db sign --db <url>` to sign the database\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Sign the database\",\n\t\t\tcommand: \"{bin} db sign --db <url>\"\n\t\t}]\n\t});\n}\n/**\n* Contract hash does not match database marker.\n*/\nfunction errorHashMismatch(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_MISMATCH\", \"Hash mismatch\", {\n\t\twhy: options?.why ?? \"Contract hash does not match database marker\",\n\t\tfix: \"Migrate database or re-sign if intentional\",\n\t\t...options?.expected !== void 0 || options?.actual !== void 0 ? { meta: {\n\t\t\t...ifDefined(\"expected\", options?.expected),\n\t\t\t...ifDefined(\"actual\", options?.actual)\n\t\t} } : {}\n\t});\n}\n/**\n* Contract target does not match config target.\n*/\nfunction errorTargetMismatch(expected, actual, options) {\n\treturn new CliStructuredError(\"CONTRACT.TARGET_MISMATCH\", \"Target mismatch\", {\n\t\twhy: options?.why ?? `Contract target does not match config target (expected: ${expected}, actual: ${actual})`,\n\t\tfix: \"Align contract target and config target\",\n\t\tmeta: {\n\t\t\texpected,\n\t\t\tactual\n\t\t}\n\t});\n}\n/**\n* Marker row exists but column values fail schema validation.\n*/\nfunction errorMarkerRowCorrupt(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_ROW_CORRUPT\", \"Marker row is corrupt or incompatible\", {\n\t\twhy: options.why,\n\t\tfix: `The ${options.markerLocation} row for space \"${options.space}\" contains invalid data. Delete the row, then run \\`prisma-next db sign --db <url>\\` to write a fresh marker.`,\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Write a fresh marker\",\n\t\t\tcommand: \"{bin} db sign --db <url>\",\n\t\t\treason: `Delete the invalid ${options.markerLocation} row for space \"${options.space}\" first — this command then writes a valid one.`\n\t\t}],\n\t\tmeta: { space: options.space },\n\t\t...ifDefined(\"cause\", options.cause)\n\t});\n}\n/**\n* Driver-level failure while reading the contract marker table.\n*/\nfunction errorMarkerReadFailed(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_READ_FAILED\", \"Database error while reading contract marker\", {\n\t\twhy: options.why,\n\t\tfix: `Could not read marker at ${options.markerLocation} for space \"${options.space}\". Verify read permissions, connectivity, and locks, then retry.`,\n\t\tmeta: { space: options.space },\n\t\t...ifDefined(\"cause\", options.cause)\n\t});\n}\nfunction isMarkerRowParseError(err) {\n\treturn err instanceof Error && (err.message.startsWith(\"Invalid contract marker row:\") || err.message.startsWith(\"Invalid marker doc on\"));\n}\nfunction isLegacyMarkerShapeReadError(message) {\n\tconst normalized = message.toLowerCase();\n\treturn normalized.includes(\"column \\\"space\\\" does not exist\") || normalized.includes(\"no such column: space\");\n}\nfunction errorLegacyMarkerShape(options) {\n\treturn errorRunnerFailed(`Legacy marker-table shape detected on ${options.markerLocation} (no \\`space\\` column). Prisma Next is in pre-1.0; the previous transitional auto-migration to the per-space-row schema has been removed. Drop \\`${options.markerLocation}\\` and re-run \\`prisma-next db init\\` to reinitialise from a clean baseline.`, {\n\t\twhy: options.why,\n\t\tfix: \"Legacy marker-table shape detected. Drop `prisma_contract.marker` (Postgres) or `_prisma_marker` (SQLite) and re-run `prisma-next db init` to recreate it with the current per-space schema.\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Reinitialise the marker table from a clean baseline\",\n\t\t\tcommand: \"{bin} db init\",\n\t\t\treason: `Drop \\`${options.markerLocation}\\` first — it has the legacy shape (no \\`space\\` column) and this command recreates it with the current per-space schema.`\n\t\t}],\n\t\tmeta: { runnerErrorCode: \"MIGRATION.LEGACY_MARKER_SHAPE\" },\n\t\t...ifDefined(\"cause\", options.cause)\n\t});\n}\nfunction rethrowMarkerReadError(err, context) {\n\tif (CliStructuredError.is(err)) throw err;\n\tif (isMarkerRowParseError(err)) throw errorMarkerRowCorrupt({\n\t\twhy: err.message,\n\t\tspace: context.space,\n\t\tmarkerLocation: context.markerLocation,\n\t\tcause: err\n\t});\n\tconst message = err instanceof Error ? err.message : String(err);\n\tif (isLegacyMarkerShapeReadError(message)) throw errorLegacyMarkerShape({\n\t\twhy: message,\n\t\tmarkerLocation: context.markerLocation,\n\t\tcause: err\n\t});\n\tthrow errorMarkerReadFailed({\n\t\twhy: message,\n\t\tspace: context.space,\n\t\tmarkerLocation: context.markerLocation,\n\t\tcause: err\n\t});\n}\nasync function withMarkerReadErrorHandling(operation, context) {\n\ttry {\n\t\treturn await operation();\n\t} catch (err) {\n\t\trethrowMarkerReadError(err, context);\n\t}\n}\nfunction parseMarkerRowSafely(row, parse, context) {\n\ttry {\n\t\treturn parse(row);\n\t} catch (err) {\n\t\trethrowMarkerReadError(err, context);\n\t}\n}\n/**\n* Database marker is required but not found.\n* Used by commands that require a pre-existing marker as a precondition.\n*/\nfunction errorMarkerRequired(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_REQUIRED\", \"Database must be signed first\", {\n\t\twhy: options?.why ?? \"No database signature (marker) found\",\n\t\tfix: options?.fix ?? \"Run `prisma-next db init` first to sign the database\",\n\t\tnextActions: options?.nextActions ?? [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Sign the database\",\n\t\t\tcommand: \"{bin} db init\"\n\t\t}]\n\t});\n}\n/**\n* Schema verification found mismatches between the database and the contract.\n* The full verification result is preserved in `meta.verificationResult`.\n*/\nfunction errorSchemaVerificationFailed(options) {\n\treturn new CliStructuredError(\"CONTRACT.SCHEMA_VERIFICATION_FAILED\", options.summary, {\n\t\twhy: \"Database schema does not satisfy the contract\",\n\t\tfix: \"Run `prisma-next db update` to reconcile, or adjust your contract to match the database\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Reconcile the database\",\n\t\t\tcommand: \"{bin} db update\"\n\t\t}, {\n\t\t\tkind: \"edit-file\",\n\t\t\tlabel: \"Adjust your contract to match the database\"\n\t\t}],\n\t\tmeta: {\n\t\t\tverificationResult: options.verificationResult,\n\t\t\t...ifDefined(\"issues\", options.issues)\n\t\t}\n\t});\n}\n/**\n* Migration runner failed during execution.\n*/\nfunction errorRunnerFailed(summary, options) {\n\treturn new CliStructuredError(\"MIGRATION.RUNNER_FAILED\", summary, {\n\t\twhy: options?.why ?? \"Migration runner failed\",\n\t\tfix: options?.fix ?? \"Inspect the reported conflict and reconcile schema drift\",\n\t\t...ifDefined(\"nextActions\", options?.nextActions),\n\t\t...options?.meta ? { meta: options.meta } : {},\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n/** Error code for destructive changes that require explicit confirmation. */\nconst ERROR_CODE_DESTRUCTIVE_CHANGES = \"MIGRATION.DESTRUCTIVE_CHANGES\";\n/**\n* Destructive operations require explicit confirmation via -y/--yes.\n*/\nfunction errorDestructiveChanges(summary, options) {\n\treturn new CliStructuredError(ERROR_CODE_DESTRUCTIVE_CHANGES, summary, {\n\t\twhy: options?.why ?? \"Planned operations include destructive changes that require confirmation\",\n\t\tfix: options?.fix ?? \"Re-run with `-y` to apply, or use `--dry-run` to preview first\",\n\t\t...options?.meta ? { meta: options.meta } : {}\n\t});\n}\n/**\n* Generic runtime error carrying a caller-provided dotted code.\n*/\nfunction errorRuntime(code, summary, options) {\n\treturn new CliStructuredError(code, summary, {\n\t\t...ifDefined(\"why\", options?.why),\n\t\t...ifDefined(\"fix\", options?.fix),\n\t\t...ifDefined(\"meta\", options?.meta),\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n//#endregion\nexport { ERROR_CODE_DESTRUCTIVE_CHANGES, errorDestructiveChanges, errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };\n\n//# sourceMappingURL=execution.mjs.map"],"mappings":";;;;;;AAMA,SAAS,mBAAmB,SAAS;CACpC,OAAO,IAAI,mBAAmB,2BAA2B,uBAAuB;EAC/E,KAAK,SAAS,OAAO;EACrB,KAAK;EACL,aAAa,CAAC;GACb,MAAM;GACN,OAAO;GACP,SAAS;EACV,CAAC;CACF,CAAC;AACF;;;;AAIA,SAAS,kBAAkB,SAAS;CACnC,OAAO,IAAI,mBAAmB,4BAA4B,iBAAiB;EAC1E,KAAK,SAAS,OAAO;EACrB,KAAK;EACL,GAAG,SAAS,aAAa,KAAK,KAAK,SAAS,WAAW,KAAK,IAAI,EAAE,MAAM;GACvE,GAAG,UAAU,YAAY,SAAS,QAAQ;GAC1C,GAAG,UAAU,UAAU,SAAS,MAAM;EACvC,EAAE,IAAI,CAAC;CACR,CAAC;AACF;;;;AAIA,SAAS,oBAAoB,UAAU,QAAQ,SAAS;CACvD,OAAO,IAAI,mBAAmB,4BAA4B,mBAAmB;EAC5E,KAAK,SAAS,OAAO,2DAA2D,SAAS,YAAY,OAAO;EAC5G,KAAK;EACL,MAAM;GACL;GACA;EACD;CACD,CAAC;AACF;;;;AAIA,SAAS,sBAAsB,SAAS;CACvC,OAAO,IAAI,mBAAmB,+BAA+B,yCAAyC;EACrG,KAAK,QAAQ;EACb,KAAK,OAAO,QAAQ,eAAe,kBAAkB,QAAQ,MAAM;EACnE,aAAa,CAAC;GACb,MAAM;GACN,OAAO;GACP,SAAS;GACT,QAAQ,sBAAsB,QAAQ,eAAe,kBAAkB,QAAQ,MAAM;EACtF,CAAC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SAAS;EACtE,KAAK,SAAS,OAAO;EACrB,KAAK,SAAS,OAAO;EACrB,GAAG,SAAS,OAAO,EAAE,MAAM,QAAQ,KAAK,IAAI,CAAC;CAC9C,CAAC;AACF;;;;AAIA,SAAS,aAAa,MAAM,SAAS,SAAS;CAC7C,OAAO,IAAI,mBAAmB,MAAM,SAAS;EAC5C,GAAG,UAAU,OAAO,SAAS,GAAG;EAChC,GAAG,UAAU,OAAO,SAAS,GAAG;EAChC,GAAG,UAAU,QAAQ,SAAS,IAAI;EAClC,GAAG,UAAU,SAAS,SAAS,KAAK;CACrC,CAAC;AACF"}
|
|
1
|
+
{"version":3,"file":"execution-B22Eq7-n.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.mjs"],"sourcesContent":["import { t as CliStructuredError } from \"./control-C9JfxzPo.mjs\";\nimport { ifDefined } from \"@internal/utils/defined\";\n//#region src/execution.ts\n/**\n* Contract marker not found in database.\n*/\nfunction errorMarkerMissing(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_MISSING\", \"Database not signed\", {\n\t\twhy: options?.why ?? \"No database signature (marker) found\",\n\t\tfix: \"Run `prisma-next db sign --db <url>` to sign the database\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Sign the database\",\n\t\t\tcommand: \"{bin} db sign --db <url>\"\n\t\t}]\n\t});\n}\n/**\n* Contract hash does not match database marker.\n*/\nfunction errorHashMismatch(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_MISMATCH\", \"Hash mismatch\", {\n\t\twhy: options?.why ?? \"Contract hash does not match database marker\",\n\t\tfix: \"Migrate database or re-sign if intentional\",\n\t\t...options?.expected !== void 0 || options?.actual !== void 0 ? { meta: {\n\t\t\t...ifDefined(\"expected\", options?.expected),\n\t\t\t...ifDefined(\"actual\", options?.actual)\n\t\t} } : {}\n\t});\n}\n/**\n* Contract target does not match config target.\n*/\nfunction errorTargetMismatch(expected, actual, options) {\n\treturn new CliStructuredError(\"CONTRACT.TARGET_MISMATCH\", \"Target mismatch\", {\n\t\twhy: options?.why ?? `Contract target does not match config target (expected: ${expected}, actual: ${actual})`,\n\t\tfix: \"Align contract target and config target\",\n\t\tmeta: {\n\t\t\texpected,\n\t\t\tactual\n\t\t}\n\t});\n}\n/**\n* Marker row exists but column values fail schema validation.\n*/\nfunction errorMarkerRowCorrupt(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_ROW_CORRUPT\", \"Marker row is corrupt or incompatible\", {\n\t\twhy: options.why,\n\t\tfix: `The ${options.markerLocation} row for space \"${options.space}\" contains invalid data. Delete the row, then run \\`prisma-next db sign --db <url>\\` to write a fresh marker.`,\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Write a fresh marker\",\n\t\t\tcommand: \"{bin} db sign --db <url>\",\n\t\t\treason: `Delete the invalid ${options.markerLocation} row for space \"${options.space}\" first — this command then writes a valid one.`\n\t\t}],\n\t\tmeta: { space: options.space },\n\t\t...ifDefined(\"cause\", options.cause)\n\t});\n}\n/**\n* Driver-level failure while reading the contract marker table.\n*/\nfunction errorMarkerReadFailed(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_READ_FAILED\", \"Database error while reading contract marker\", {\n\t\twhy: options.why,\n\t\tfix: `Could not read marker at ${options.markerLocation} for space \"${options.space}\". Verify read permissions, connectivity, and locks, then retry.`,\n\t\tmeta: { space: options.space },\n\t\t...ifDefined(\"cause\", options.cause)\n\t});\n}\nfunction isMarkerRowParseError(err) {\n\treturn err instanceof Error && (err.message.startsWith(\"Invalid contract marker row:\") || err.message.startsWith(\"Invalid marker doc on\"));\n}\nfunction isLegacyMarkerShapeReadError(message) {\n\tconst normalized = message.toLowerCase();\n\treturn normalized.includes(\"column \\\"space\\\" does not exist\") || normalized.includes(\"no such column: space\");\n}\nfunction errorLegacyMarkerShape(options) {\n\treturn errorRunnerFailed(`Legacy marker-table shape detected on ${options.markerLocation} (no \\`space\\` column). Prisma Next is in pre-1.0; the previous transitional auto-migration to the per-space-row schema has been removed. Drop \\`${options.markerLocation}\\` and re-run \\`prisma-next db init\\` to reinitialise from a clean baseline.`, {\n\t\twhy: options.why,\n\t\tfix: \"Legacy marker-table shape detected. Drop `prisma_contract.marker` (Postgres) or `_prisma_marker` (SQLite) and re-run `prisma-next db init` to recreate it with the current per-space schema.\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Reinitialise the marker table from a clean baseline\",\n\t\t\tcommand: \"{bin} db init\",\n\t\t\treason: `Drop \\`${options.markerLocation}\\` first — it has the legacy shape (no \\`space\\` column) and this command recreates it with the current per-space schema.`\n\t\t}],\n\t\tmeta: { runnerErrorCode: \"MIGRATION.LEGACY_MARKER_SHAPE\" },\n\t\t...ifDefined(\"cause\", options.cause)\n\t});\n}\nfunction rethrowMarkerReadError(err, context) {\n\tif (CliStructuredError.is(err)) throw err;\n\tif (isMarkerRowParseError(err)) throw errorMarkerRowCorrupt({\n\t\twhy: err.message,\n\t\tspace: context.space,\n\t\tmarkerLocation: context.markerLocation,\n\t\tcause: err\n\t});\n\tconst message = err instanceof Error ? err.message : String(err);\n\tif (isLegacyMarkerShapeReadError(message)) throw errorLegacyMarkerShape({\n\t\twhy: message,\n\t\tmarkerLocation: context.markerLocation,\n\t\tcause: err\n\t});\n\tthrow errorMarkerReadFailed({\n\t\twhy: message,\n\t\tspace: context.space,\n\t\tmarkerLocation: context.markerLocation,\n\t\tcause: err\n\t});\n}\nasync function withMarkerReadErrorHandling(operation, context) {\n\ttry {\n\t\treturn await operation();\n\t} catch (err) {\n\t\trethrowMarkerReadError(err, context);\n\t}\n}\nfunction parseMarkerRowSafely(row, parse, context) {\n\ttry {\n\t\treturn parse(row);\n\t} catch (err) {\n\t\trethrowMarkerReadError(err, context);\n\t}\n}\n/**\n* Database marker is required but not found.\n* Used by commands that require a pre-existing marker as a precondition.\n*/\nfunction errorMarkerRequired(options) {\n\treturn new CliStructuredError(\"CONTRACT.MARKER_REQUIRED\", \"Database must be signed first\", {\n\t\twhy: options?.why ?? \"No database signature (marker) found\",\n\t\tfix: options?.fix ?? \"Run `prisma-next db init` first to sign the database\",\n\t\tnextActions: options?.nextActions ?? [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Sign the database\",\n\t\t\tcommand: \"{bin} db init\"\n\t\t}]\n\t});\n}\n/**\n* Schema verification found mismatches between the database and the contract.\n* The full verification result is preserved in `meta.verificationResult`.\n*/\nfunction errorSchemaVerificationFailed(options) {\n\treturn new CliStructuredError(\"CONTRACT.SCHEMA_VERIFICATION_FAILED\", options.summary, {\n\t\twhy: \"Database schema does not satisfy the contract\",\n\t\tfix: \"Run `prisma-next db update` to reconcile, or adjust your contract to match the database\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Reconcile the database\",\n\t\t\tcommand: \"{bin} db update\"\n\t\t}, {\n\t\t\tkind: \"edit-file\",\n\t\t\tlabel: \"Adjust your contract to match the database\"\n\t\t}],\n\t\tmeta: {\n\t\t\tverificationResult: options.verificationResult,\n\t\t\t...ifDefined(\"issues\", options.issues)\n\t\t}\n\t});\n}\n/**\n* Migration runner failed during execution.\n*/\nfunction errorRunnerFailed(summary, options) {\n\treturn new CliStructuredError(\"MIGRATION.RUNNER_FAILED\", summary, {\n\t\twhy: options?.why ?? \"Migration runner failed\",\n\t\tfix: options?.fix ?? \"Inspect the reported conflict and reconcile schema drift\",\n\t\t...ifDefined(\"nextActions\", options?.nextActions),\n\t\t...options?.meta ? { meta: options.meta } : {},\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n/** Error code for destructive changes that require explicit confirmation. */\nconst ERROR_CODE_DESTRUCTIVE_CHANGES = \"MIGRATION.DESTRUCTIVE_CHANGES\";\n/**\n* Destructive operations require explicit confirmation via -y/--yes.\n*/\nfunction errorDestructiveChanges(summary, options) {\n\treturn new CliStructuredError(ERROR_CODE_DESTRUCTIVE_CHANGES, summary, {\n\t\twhy: options?.why ?? \"Planned operations include destructive changes that require confirmation\",\n\t\tfix: options?.fix ?? \"Re-run with `-y` to apply, or use `--dry-run` to preview first\",\n\t\t...options?.meta ? { meta: options.meta } : {}\n\t});\n}\nconst ERROR_CODE_CONSENT_PLAN_MISMATCH = \"MIGRATION.CONSENT_PLAN_MISMATCH\";\n/**\n* An apply carrying consent was refused because the plan recomputed for it is\n* not the plan that was consented to.\n*/\nfunction errorConsentPlanMismatch(options) {\n\treturn new CliStructuredError(ERROR_CODE_CONSENT_PLAN_MISMATCH, \"The plan changed between consent and apply\", {\n\t\twhy: options.why ?? \"The plan recomputed for the consented apply is not the plan that was consented to, so applying it could destroy something nobody agreed to.\",\n\t\tfix: \"Re-run the command and review the freshly planned operations before consenting again\",\n\t\tmeta: {\n\t\t\tconsentedPlanHash: options.consentedPlanHash,\n\t\t\tplanHash: options.planHash\n\t\t}\n\t});\n}\n/**\n* Generic runtime error carrying a caller-provided dotted code.\n*/\nfunction errorRuntime(code, summary, options) {\n\treturn new CliStructuredError(code, summary, {\n\t\t...ifDefined(\"why\", options?.why),\n\t\t...ifDefined(\"fix\", options?.fix),\n\t\t...ifDefined(\"meta\", options?.meta),\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n//#endregion\nexport { ERROR_CODE_CONSENT_PLAN_MISMATCH, ERROR_CODE_DESTRUCTIVE_CHANGES, errorConsentPlanMismatch, errorDestructiveChanges, errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };\n\n//# sourceMappingURL=execution.mjs.map"],"mappings":";;;;;;AAMA,SAAS,mBAAmB,SAAS;CACpC,OAAO,IAAI,mBAAmB,2BAA2B,uBAAuB;EAC/E,KAAK,SAAS,OAAO;EACrB,KAAK;EACL,aAAa,CAAC;GACb,MAAM;GACN,OAAO;GACP,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S,GAAG;EAChC,GAAG,UAAU,OAAO,SAAS,GAAG;EAChC,GAAG,UAAU,QAAQ,SAAS,IAAI;EAClC,GAAG,UAAU,SAAS,SAAS,KAAK;CACrC,CAAC;AACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SchemaDiffIssue, St as VerifyDatabaseSchemaResult } from "./control-
|
|
1
|
+
import { $ as SchemaDiffIssue, St as VerifyDatabaseSchemaResult } from "./control-2lID5ISA.mjs";
|
|
2
2
|
import { r as NextAction } from "./structured-error-BBdCpY44.mjs";
|
|
3
3
|
import { r as CliStructuredError } from "./control-ql9N9u4f-Dz4QqSR1.mjs";
|
|
4
4
|
//#region ../../../1-framework/1-core/errors/dist/execution.d.mts
|
|
@@ -91,6 +91,16 @@ declare function errorDestructiveChanges(summary: string, options?: {
|
|
|
91
91
|
readonly fix?: string;
|
|
92
92
|
readonly meta?: Record<string, unknown>;
|
|
93
93
|
}): CliStructuredError;
|
|
94
|
+
declare const ERROR_CODE_CONSENT_PLAN_MISMATCH = "MIGRATION.CONSENT_PLAN_MISMATCH";
|
|
95
|
+
/**
|
|
96
|
+
* An apply carrying consent was refused because the plan recomputed for it is
|
|
97
|
+
* not the plan that was consented to.
|
|
98
|
+
*/
|
|
99
|
+
declare function errorConsentPlanMismatch(options: {
|
|
100
|
+
readonly consentedPlanHash: string;
|
|
101
|
+
readonly planHash: string;
|
|
102
|
+
readonly why?: string;
|
|
103
|
+
}): CliStructuredError;
|
|
94
104
|
/**
|
|
95
105
|
* Generic runtime error carrying a caller-provided dotted code.
|
|
96
106
|
*/
|
|
@@ -101,5 +111,5 @@ declare function errorRuntime(code: `${string}.${string}`, summary: string, opti
|
|
|
101
111
|
readonly cause?: unknown;
|
|
102
112
|
}): CliStructuredError;
|
|
103
113
|
//#endregion
|
|
104
|
-
export {
|
|
105
|
-
//# sourceMappingURL=execution-
|
|
114
|
+
export { errorHashMismatch as a, errorMarkerRequired as c, errorRuntime as d, errorSchemaVerificationFailed as f, withMarkerReadErrorHandling as g, rethrowMarkerReadError as h, errorDestructiveChanges as i, errorMarkerRowCorrupt as l, parseMarkerRowSafely as m, ERROR_CODE_DESTRUCTIVE_CHANGES as n, errorMarkerMissing as o, errorTargetMismatch as p, errorConsentPlanMismatch as r, errorMarkerReadFailed as s, ERROR_CODE_CONSENT_PLAN_MISMATCH as t, errorRunnerFailed as u };
|
|
115
|
+
//# sourceMappingURL=execution-Dpiw50TH.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-
|
|
1
|
+
{"version":3,"file":"execution-Dpiw50TH.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.d.mts"],"mappings":";;;;;;;;iBAOiB,mBAAmB;WACzB;IACP;;;;iBAIa,kBAAkB;WACxB;WACA;WACA;IACP;;;;iBAIa,oBAAoB,kBAAkB,gBAAgB;WAC5D;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;iBACa,uBAAuB,cAAc;WAC3C;WACA;;iBAEM,4BAA4B,GAAG,iBAAiB,QAAQ,IAAI;WAClE;WACA;IACP,QAAQ;iBACK,qBAAqB,GAAG,cAAc,QAAQ,mBAAmB,GAAG;WAC1E;WACA;IACP;;;;;iBAKa,oBAAoB;WAC1B;WACA;WACA,uBAAuB;IAC9B;;;;;iBAKa,8BAA8B;WACpC;WACA,oBAAoB;WACpB,kBAAkB;IACzB;;;;iBAIa,kBAAkB,iBAAiB;WACzC;WACA;WACA,uBAAuB;WACvB,OAAO;WACP;IACP;;cAEU;;;;iBAIG,wBAAwB,iBAAiB;WAC/C;WACA;WACA,OAAO;IACd;cACU;;;;;iBAKG,yBAAyB;WAC/B;WACA;WACA;IACP;;;;iBAIa,aAAa,6BAA6B,iBAAiB;WACjE;WACA;WACA,OAAO;WACP;IACP"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Contract } from "./contract-types-CkdMH7F7-9EHXSwbH.mjs";
|
|
2
2
|
import { r as Result } from "./result-Bpupv5vO.mjs";
|
|
3
|
-
import { h as PslContractSourceProvider, i as ContractSourceDiagnostic, l as ContractSourceProvider, r as ContractSourceContext, s as ContractSourceDiagnostics } from "./config-types-
|
|
3
|
+
import { h as PslContractSourceProvider, i as ContractSourceDiagnostic, l as ContractSourceProvider, r as ContractSourceContext, s as ContractSourceDiagnostics } from "./config-types-Dw7Nvsbm.mjs";
|
|
4
4
|
import { I as SourceFile, d as DocumentAst } from "./parse-0ZJjj_2N-Ds7oY9eP.mjs";
|
|
5
5
|
import { f as SymbolTable } from "./symbol-table-CZ7EVCTL-HNuzTvNC.mjs";
|
|
6
6
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/interpret.d.mts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/orm-framework",
|
|
3
|
-
"version": "8.0.0-rc.1-dev.
|
|
3
|
+
"version": "8.0.0-rc.1-dev.38",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
"uniku": "^0.5.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@internal/config": "8.0.0-rc.1-dev.
|
|
19
|
-
"@internal/contract": "8.0.0-rc.1-dev.
|
|
20
|
-
"@internal/contract-authoring": "8.0.0-rc.1-dev.
|
|
21
|
-
"@internal/errors": "8.0.0-rc.1-dev.
|
|
22
|
-
"@internal/framework-components": "8.0.0-rc.1-dev.
|
|
23
|
-
"@internal/ids": "8.0.0-rc.1-dev.
|
|
24
|
-
"@internal/operations": "8.0.0-rc.1-dev.
|
|
25
|
-
"@internal/psl-parser": "8.0.0-rc.1-dev.
|
|
26
|
-
"@internal/psl-printer": "8.0.0-rc.1-dev.
|
|
27
|
-
"@internal/ts-render": "8.0.0-rc.1-dev.
|
|
28
|
-
"@repo/tsconfig": "8.0.0-rc.1-dev.
|
|
29
|
-
"@internal/publish-surface": "8.0.0-rc.1-dev.
|
|
30
|
-
"@repo/tsdown": "8.0.0-rc.1-dev.
|
|
31
|
-
"@internal/utils": "8.0.0-rc.1-dev.
|
|
18
|
+
"@internal/config": "8.0.0-rc.1-dev.38",
|
|
19
|
+
"@internal/contract": "8.0.0-rc.1-dev.38",
|
|
20
|
+
"@internal/contract-authoring": "8.0.0-rc.1-dev.38",
|
|
21
|
+
"@internal/errors": "8.0.0-rc.1-dev.38",
|
|
22
|
+
"@internal/framework-components": "8.0.0-rc.1-dev.38",
|
|
23
|
+
"@internal/ids": "8.0.0-rc.1-dev.38",
|
|
24
|
+
"@internal/operations": "8.0.0-rc.1-dev.38",
|
|
25
|
+
"@internal/psl-parser": "8.0.0-rc.1-dev.38",
|
|
26
|
+
"@internal/psl-printer": "8.0.0-rc.1-dev.38",
|
|
27
|
+
"@internal/ts-render": "8.0.0-rc.1-dev.38",
|
|
28
|
+
"@repo/tsconfig": "8.0.0-rc.1-dev.38",
|
|
29
|
+
"@internal/publish-surface": "8.0.0-rc.1-dev.38",
|
|
30
|
+
"@repo/tsdown": "8.0.0-rc.1-dev.38",
|
|
31
|
+
"@internal/utils": "8.0.0-rc.1-dev.38",
|
|
32
32
|
"tsdown": "0.22.14",
|
|
33
33
|
"typescript": "5.9.3",
|
|
34
34
|
"vitest": "4.1.10"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"control-tgMv-peQ.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA6BU,mBAAmB;;;;;;;;;;;;EAY3B,oBAAoB,UAAU,YAAY,WAAW,gBAAgB;;;;;;;;;;EAUrE,kBAAkB,UAAU,YAAY;;;;;;;;WAQ/B,sBAAsB;;;;;;;;WAQtB,cAAc;;;;cAIX;;iBAEG,eAAe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