@prisma/orm-framework 8.0.0-rc.17-dev.27 → 8.0.0-rc.17-dev.29

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 (41) hide show
  1. package/dist/{binder-BUBLuGg4-CQbIZyym.d.mts → binder-BUBLuGg4-FHQS0pec.d.mts} +4 -4
  2. package/dist/{binder-BUBLuGg4-CQbIZyym.d.mts.map → binder-BUBLuGg4-FHQS0pec.d.mts.map} +1 -1
  3. package/dist/components.d.mts +2 -2
  4. package/dist/components__control.d.mts +2 -2
  5. package/dist/{config-types-DDmOiupw.d.mts → config-types-Cuc-EN7j.d.mts} +2 -2
  6. package/dist/{config-types-DDmOiupw.d.mts.map → config-types-Cuc-EN7j.d.mts.map} +1 -1
  7. package/dist/config.d.mts +1 -1
  8. package/dist/config__config-types.d.mts +1 -1
  9. package/dist/control-9n-RIQmw.d.mts +1 -0
  10. package/dist/{control-DhWsAbYJ-CrtxR4UW.d.mts → control-C11hV6zc-CmvCmO2f.d.mts} +17 -4
  11. package/dist/{control-DhWsAbYJ-CrtxR4UW.d.mts.map → control-C11hV6zc-CmvCmO2f.d.mts.map} +1 -1
  12. package/dist/{control-C4Q85sT5-Dv75I30R.mjs → control-CVGlbj6c-Diz54IbU.mjs} +18 -3
  13. package/dist/control-CVGlbj6c-Diz54IbU.mjs.map +1 -0
  14. package/dist/{control-DsRyU-u2.d.mts → control-DOgahg69.d.mts} +8 -12
  15. package/dist/control-DOgahg69.d.mts.map +1 -0
  16. package/dist/errors.d.mts +5 -5
  17. package/dist/errors.mjs +4 -4
  18. package/dist/errors__control.d.mts +3 -3
  19. package/dist/errors__control.mjs +2 -2
  20. package/dist/errors__execution.d.mts +1 -1
  21. package/dist/errors__execution.mjs +1 -1
  22. package/dist/errors__migration.d.mts +1 -1
  23. package/dist/errors__migration.mjs +1 -1
  24. package/dist/{execution-CodDd-o0.d.mts → execution-CjxzAKhc.d.mts} +3 -3
  25. package/dist/{execution-CodDd-o0.d.mts.map → execution-CjxzAKhc.d.mts.map} +1 -1
  26. package/dist/{execution-C19mSmeN.mjs → execution-DVjTAxDI.mjs} +2 -2
  27. package/dist/{execution-C19mSmeN.mjs.map → execution-DVjTAxDI.mjs.map} +1 -1
  28. package/dist/{migration-BBoKodRM.mjs → migration-DvxSQrJW.mjs} +2 -2
  29. package/dist/{migration-BBoKodRM.mjs.map → migration-DvxSQrJW.mjs.map} +1 -1
  30. package/dist/{migration-IPciO0V7.d.mts → migration-JAgA63Ce.d.mts} +2 -2
  31. package/dist/{migration-IPciO0V7.d.mts.map → migration-JAgA63Ce.d.mts.map} +1 -1
  32. package/dist/{parse-By_H285C-2bZhTomA.d.mts → parse-By_H285C-ddnkFvv5.d.mts} +2 -2
  33. package/dist/{parse-By_H285C-2bZhTomA.d.mts.map → parse-By_H285C-ddnkFvv5.d.mts.map} +1 -1
  34. package/dist/psl-parser.d.mts +3 -3
  35. package/dist/psl-parser__format.d.mts +1 -1
  36. package/dist/psl-parser__interpret.d.mts +3 -3
  37. package/dist/psl-parser__syntax.d.mts +1 -1
  38. package/package.json +15 -15
  39. package/dist/control-C4Q85sT5-Dv75I30R.mjs.map +0 -1
  40. package/dist/control-DsRyU-u2.d.mts.map +0 -1
  41. package/dist/control-JlpGbz6x.d.mts +0 -1
@@ -6,10 +6,10 @@ import { r as Result } from "./result-BYCOANWy.mjs";
6
6
  import { d as TaggedLiteralCanonicalization, f as TypedValue } from "./written-value--KnOpj99-DByhg5hX.mjs";
7
7
  import "./authoring-Cdm02TLT.mjs";
8
8
  import "./codec-CBvtmEz2.mjs";
9
- import "./control-DsRyU-u2.mjs";
9
+ import "./control-DOgahg69.mjs";
10
10
  import "./psl-ast-DqB4Tq08.mjs";
11
- import { n as ContractSourceContext } from "./config-types-DDmOiupw.mjs";
12
- import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-By_H285C-2bZhTomA.mjs";
11
+ import { n as ContractSourceContext } from "./config-types-Cuc-EN7j.mjs";
12
+ import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-By_H285C-ddnkFvv5.mjs";
13
13
  import { n as UnionToIntersection, t as Simplify } from "./types-DGxlljKG.mjs";
14
14
  //#region ../../../1-framework/2-authoring/psl-parser/dist/binder-BUBLuGg4.d.mts
15
15
  //#region src/resolve.d.ts
@@ -495,4 +495,4 @@ declare function contributedTypeOf(resolution: Resolution | undefined, binder: B
495
495
  declare function createBinder(input: CreateBinderInput): BinderResult;
496
496
  //#endregion
497
497
  export { NamedOut as $, DescribeUnresolvedType as A, TaggedLiteralArgType as At, FixedStrArgType as B, createBinder as Bt, ContributedTypeNamespace as C, ResolvedEntityReference as Ct, CtxOf as D, ScopeResolution as Dt, CreateBinderInput as E, Scope as Et, FieldAttributeCtx as F, UnrestrictedNumArgType as Ft, InferAttr as G, memberEntries as Gt, FuncCallSig as H, isNamespaceLike as Ht, FieldRefArgType as I, UnrestrictedStrArgType as It, JsonArgType as J, readResolvedAttributes as Jt, InspectableArgType as K, nodePslSpan as Kt, FieldSymbol as L, UnsupportedAttribute as Lt, EntityDeclaration as M, TypedFuncCall as Mt, EntityRefArgType as N, UnresolvedTypeReference as Nt, DataTypeValueArgType as O, SymbolTable as Ot, EntitySelector as P, UnrestrictedIdentifierArgType as Pt, ModelSymbol as Q, FixedIdentifierArgType as R, buildSymbolTable as Rt, ContributedTypeDescriptor as S, ResolvedAttributeArg as St, ContributedTypeSymbol as T, ResolvedTypeConstructorCall as Tt, FunctionSymbol as U, keywordPslSpan as Ut, FuncCallArgType as V, entityReference as Vt, IdentifierArgType as W, matchesSelector as Wt, ListArgType as X, typeReferenceNode as Xt, JsonValueArgType as Y, readResolvedConstructorCall as Yt, ModelAttributeCtx as Z, CompositeTypeSymbol as _, ReferencedFieldRefArgType as _t, AttributeLevel as a, OneOfArgType as at, ContributedMember as b, Resolution as bt, AttributeSymbol as c, PSL_UNRESOLVED_REFERENCE as ct, BinderResult as d, ParsedTaggedLiteral as dt, NamedTypeSymbol as et, BlockAttributeCtx as f, ParsedTypedValue as ft, BuildSymbolTableOptions as g, RecordArgType as gt, BoundSpec as h, PslSymbol as ht, AttributeCtx as i, NumLiteralArgType as it, DescribeUnsupportedAttribute as j, TopLevelScope as jt, DeclarationFor as k, SymbolTableResult as kt, Binder as l, Param as lt, BoolArgType as m, PositionalParam as mt, ArgType as n, NullArgType as nt, AttributeOut as o, OptionalArgType as ot, BlockSymbol as p, PosOut as pt, IntArgType as q, readResolvedAttribute as qt, ArgTypeKind as r, NumLiteral as rt, AttributeSpec as s, OutOf as st, AnyArgType as t, NamespaceSymbol as tt, BinderContext as u, ParameterSymbol as ut, ConstantSymbol as v, RejectingArgType as vt, ContributedTypeScope as w, ResolvedNamedTypeBinding as wt, ContributedNamespaceSymbol as x, ResolvedAttribute as xt, ContextForRequirement as y, RequiredContextFor as yt, FixedNumArgType as z, contributedTypeOf as zt };
498
- //# sourceMappingURL=binder-BUBLuGg4-CQbIZyym.d.mts.map
498
+ //# sourceMappingURL=binder-BUBLuGg4-FHQS0pec.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"binder-BUBLuGg4-CQbIZyym.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/binder-BUBLuGg4.d.mts"],"mappings":";;;;;;;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ACA,QAAQ;;WAER;WACA,QAAQ;;WAER;;WAEA;WACA;;UAED;EACR,eAAe,MAAM,aAAa;EAClC,cAAc,MAAM,aAAa;EACjC,QAAQ,MAAM,aAAa;;UAEnB;WACC,WAAW;WACX;WACA,OAAO,cAAc;WACrB,OAAO;;KAEb,gCAAgC,aAAa,yBAAyB;UACjE;WACC,OAAO;WACP,OAAO,cAAc;WACrB;;KAEN,0BAA0B,YAAY;UACjC,sBAAsB,KAAK;WAC1B,yBAAyB,KAAK;;UAE/B;WACC,SAAS;WACT,aAAa;WACb,SAAS;;UAEV;WACC,QAAQ;WACR,sBAAsB;;iBAEhB,kBAAkB,QAAQ,cAAc,kBAAkB;iBAC1D,kBAAkB,YAAY,wBAAwB,QAAQ,SAAS;iBACvE,aAAa,OAAO,oBAAoB"}
1
+ {"version":3,"file":"binder-BUBLuGg4-FHQS0pec.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/binder-BUBLuGg4.d.mts"],"mappings":";;;;;;;;;;;;;;;UAUU;WACC;WACA;WACA;WACA,aAAa;WACb,MAAM;;UAEP,kBAAkB,cAAc,oBAAoB,oBAAoB,oBAAoB;WAC3F;WACA,eAAe;WACf,MAAM;WACN,MAAM;;UAEP;WACC;WACA,eAAe;WACf,MAAM;;iBAEA,sBAAsB,cAAc,oBAAoB,mBAAmB,WAAW,OAAO,SAAS,aAAa,kBAAkB;iBACrI,uBAAuB,cAAc,oBAAoB,mBAAmB,YAAY,SAAS,QAAQ,SAAS,sBAAsB,kBAAkB;iBAC1J,4BAA4B,YAAY,+BAA+B,SAAS,aAAa;iBAC7F,YAAY,MAAM,YAAY,SAAS,aAAa;;iBAEpD,eAAe,MAAM,YAAY,iBAAiB,SAAS,aAAa;;;UAG/E;WACC,UAAU;;UAEX;WACC,YAAY,eAAe;WAC3B,YAAY,eAAe;WAC3B,QAAQ,eAAe;WACvB,QAAQ,eAAe;WACvB,gBAAgB,eAAe;;UAEhC;WACC,MAAM;WACN,MAAM;;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AAQ;WACR,YAAY;;WAEZ;WACA,QAAQ;WACR,YAAY;;WAEZ;WACA,QAAQ;WACR,YAAY;;WAEZ;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;uBAEI;qBACF,QAAQ;EAC3B,YAAY,QAAQ;WACX,OAAO,eAAe;qBACZ,YAAY;EAC/B,WAAW,2BAA2B;;iBAEvB,gBAAgB,YAAY,kBAAkB,cAAc,QAAQ;EACnF;;iBAEe,cAAc,WAAW,QAAQ;EAChD;KACG,2BAA2B;;;cAGlB;KACT,YAAY,qBAAqB,qBAAqB,qBAAqB,qBAAqB,qBAAqB;UAChH;WACC;WACA;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA,OAAO;;UAER;WACC;WACA;WACA,WAAW;;UAEZ;WACC;WACA;WACA;;KAEN,YAAY,cAAc,sBAAsB,kBAAkB,cAAc,kBAAkB;KAClG,aAAa;WACP;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;;WAEA;WACA;;UAED;EACR,eAAe,MAAM,aAAa;EAClC,cAAc,MAAM,aAAa;EACjC,QAAQ,MAAM,aAAa;;UAEnB;WACC,WAAW;WACX;WACA,OAAO,cAAc;WACrB,OAAO;;KAEb,gCAAgC,aAAa,yBAAyB;UACjE;WACC,OAAO;WACP,OAAO,cAAc;WACrB;;KAEN,0BAA0B,YAAY;UACjC,sBAAsB,KAAK;WAC1B,yBAAyB,KAAK;;UAE/B;WACC,SAAS;WACT,aAAa;WACb,SAAS;;UAEV;WACC,QAAQ;WACR,sBAAsB;;iBAEhB,kBAAkB,QAAQ,cAAc,kBAAkB;iBAC1D,kBAAkB,YAAY,wBAAwB,QAAQ,SAAS;iBACvE,aAAa,OAAO,oBAAoB"}
@@ -12,7 +12,7 @@ import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as Ag
12
12
  import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-BUsuub7a-C1o5t0Nk.mjs";
13
13
  import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-BER6m646-RXgNvJDn.mjs";
14
14
  import { t as ImportRequirement } from "./index-wEX7G1Bv.mjs";
15
- import { $ as MigrationScaffoldContext, $t as createControlStack, A as MigratableTargetDescriptor, At as SchemaViewCapable, B as MigrationPlanWithAuthoringSurface, Bt as VERIFY_CODE_TARGET_MISMATCH, C as DiffableNode, Cn as storageHashHex, Ct as SchemaSubjectClassifierCapable, D as FieldCoordinateJson, Dt as SchemaVerifier, E as FieldCoordinate, Et as SchemaTreeVisitor, F as MigrationOperationSubject, Ft as SpaceToSign, G as MigrationPlannerSuccessResult, Gt as VerifyDatabaseSchemaResult, H as MigrationPlannerConflict, Ht as VerifierIssueCategory, I as MigrationPackage, It as TargetMigrationsCapability, J as MigrationRunnerFailure, Jt as assembleControlMutationDefaults, K as MigrationRunner, Kt as assembleAuthoringContributions, L as MigrationPlan, Lt as VERIFY_CODE_HASH_MISMATCH, M as MigrationMetadata, Mt as SpaceMarkerConflict, N as MigrationOperationClass, Nt as SpaceSignature, O as IntrospectSchemaResult, Ot as SchemaVerifyOptions, P as MigrationOperationPolicy, Pt as SpaceSigned, Q as MigrationRunnerSuccessValue, Qt as contractSnapshotTypesSpecifier, R as MigrationPlanOperation, Rt as VERIFY_CODE_MARKER_MISSING, S as DiffSubjectGranularity, Sn as sameMarkerHashes, St as SchemaOwnership, T as ExpectationFailureReason, Tt as SchemaTreeNodeOptions, U as MigrationPlannerFailureResult, Ut as VerifierOutcome, V as MigrationPlanner, Vt as VerificationStatus, W as MigrationPlannerResult, Wt as VerifyDatabaseResult, X as MigrationRunnerPerSpaceSuccessValue, Xt as buildExtensionLoadOrder, Y as MigrationRunnerPerSpaceOptions, Yt as assertUniqueCodecOwner, Z as MigrationRunnerResult, Zt as contractSnapshotJsonSpecifier, _ as ControlTargetDescriptor, _n as migrationSubjectJson, _t as ResolvedModelRenameStatement, a as ContractSerializer, an as extractCodecTypeImports, at as OpFactoryCall, b as CreateControlStackInput, bn as orderIssuesByDependencies, bt as SchemaEntityCoordinate, c as ControlAdapterDescriptor, cn as hasMigrations, ct as OperationPreviewCapable, d as ControlDriverInstance, dn as hasPslContractInfer, dt as PslContractBuildCapable, en as describeMigrationStatement, et as MigrationStatementJson, f as ControlExtensionDescriptor, fn as hasSchemaSubjectClassifier, ft as PslContractDocument, g as ControlStack, gn as migrationStatementJson, gt as ResolvedMigrationStatement, h as ControlFamilyInstance, hn as issueOutcome, ht as ResolvedFieldRenameStatement, i as CONTRACT_SNAPSHOTS_DIRNAME, in as extractCodecLookup, it as ModelCoordinateJson, j as MigrationAccessChange, jt as SchemaViewNodeKind, k as MarkerHashes, kt as SchemaVerifyResult, l as ControlAdapterInstance, ln as hasOperationPreview, lt as OperationPreviewStatement, m as ControlFamilyDescriptor, mn as isStorageHashHex, mt as PslSourceSettings, n as AppliedMigrationStatement, nn as dispositionForCategory, nt as MigrationSubjectJson, o as ContractSpace, on as extractComponentIds, ot as OperationContext, p as ControlExtensionInstance, pn as hasSchemaView, pt as PslContractInferCapable, q as MigrationRunnerExecutionChecks, qt as assembleAuthoringDataTypes, r as AssembledAuthoringContributions, rn as enforceDataTypeInvariants, rt as ModelCoordinate, s as ContractSpaceHeadRef, sn as extractQueryOperationTypeImports, st as OperationPreview, t as APP_SPACE_ID, tn as diffSchemas, tt as MigrationSubject, u as ControlDriverDescriptor, un as hasPslContractBuild, ut as PlanOrigin, v as ControlTargetInstance, vn as migrationSubjectKey, vt as SchemaDiff, w as EmitContractResult, wt as SchemaTreeNode, x as DataTypeInvariantInput, xn as planOriginOf, xt as SchemaNodeRef, y as CoreSchemaView, yn as modelDisplayName, yt as SchemaDiffIssue, z as MigrationPlanSubjects, zt as VERIFY_CODE_SCHEMA_FAILURE } from "./control-DsRyU-u2.mjs";
15
+ import { $ as MigrationRunnerSuccessValue, $t as contractSnapshotTypesSpecifier, A as MigratableTargetDescriptor, At as SchemaVerifyResult, B as MigrationPlanSubjects, Bt as VERIFY_CODE_SCHEMA_FAILURE, C as DiffableNode, Cn as sameMarkerHashes, Ct as SchemaOwnership, D as FieldCoordinateJson, Dt as SchemaTreeVisitor, E as FieldCoordinate, Et as SchemaTreeNodeOptions, F as MigrationOperationPolicy, Ft as SpaceSigned, G as MigrationPlannerResult, Gt as VerifyDatabaseResult, H as MigrationPlanner, Ht as VerificationStatus, I as MigrationOperationSubject, It as SpaceToSign, J as MigrationRunnerExecutionChecks, Jt as assembleAuthoringDataTypes, K as MigrationPlannerSuccessResult, Kt as VerifyDatabaseSchemaResult, L as MigrationPackage, Lt as TargetMigrationsCapability, M as MigrationDataLoss, Mt as SchemaViewNodeKind, N as MigrationMetadata, Nt as SpaceMarkerConflict, O as IntrospectSchemaResult, Ot as SchemaVerifier, P as MigrationOperationClass, Pt as SpaceSignature, Q as MigrationRunnerResult, Qt as contractSnapshotJsonSpecifier, R as MigrationPlan, Rt as VERIFY_CODE_HASH_MISMATCH, S as DiffSubjectGranularity, Sn as planOriginOf, St as SchemaNodeRef, T as ExpectationFailureReason, Tt as SchemaTreeNode, U as MigrationPlannerConflict, Ut as VerifierIssueCategory, V as MigrationPlanWithAuthoringSurface, Vt as VERIFY_CODE_TARGET_MISMATCH, W as MigrationPlannerFailureResult, Wt as VerifierOutcome, X as MigrationRunnerPerSpaceOptions, Xt as assertUniqueCodecOwner, Y as MigrationRunnerFailure, Yt as assembleControlMutationDefaults, Z as MigrationRunnerPerSpaceSuccessValue, Zt as buildExtensionLoadOrder, _ as ControlTargetDescriptor, _n as migrationStatementJson, _t as ResolvedMigrationStatement, a as ContractSerializer, an as extractCodecLookup, at as ModelCoordinateJson, b as CreateControlStackInput, bn as modelDisplayName, bt as SchemaDiffIssue, c as ControlAdapterDescriptor, cn as extractQueryOperationTypeImports, ct as OperationPreview, d as ControlDriverInstance, dn as hasPslContractBuild, dt as PlanOrigin, en as createControlStack, et as MigrationScaffoldContext, f as ControlExtensionDescriptor, fn as hasPslContractInfer, ft as PslContractBuildCapable, g as ControlStack, gn as issueOutcome, gt as ResolvedFieldRenameStatement, h as ControlFamilyInstance, hn as isStorageHashHex, ht as PslSourceSettings, i as CONTRACT_SNAPSHOTS_DIRNAME, in as enforceDataTypeInvariants, it as ModelCoordinate, j as MigrationAccessChange, jt as SchemaViewCapable, k as MarkerHashes, kt as SchemaVerifyOptions, l as ControlAdapterInstance, ln as hasMigrations, lt as OperationPreviewCapable, m as ControlFamilyDescriptor, mn as hasSchemaView, mt as PslContractInferCapable, n as AppliedMigrationStatement, nn as diffSchemas, nt as MigrationSubject, o as ContractSpace, on as extractCodecTypeImports, ot as OpFactoryCall, p as ControlExtensionInstance, pn as hasSchemaSubjectClassifier, pt as PslContractDocument, q as MigrationRunner, qt as assembleAuthoringContributions, r as AssembledAuthoringContributions, rn as dispositionForCategory, rt as MigrationSubjectJson, s as ContractSpaceHeadRef, sn as extractComponentIds, st as OperationContext, t as APP_SPACE_ID, tn as describeMigrationStatement, tt as MigrationStatementJson, u as ControlDriverDescriptor, un as hasOperationPreview, ut as OperationPreviewStatement, v as ControlTargetInstance, vn as migrationSubjectJson, vt as ResolvedModelRenameStatement, w as EmitContractResult, wn as storageHashHex, wt as SchemaSubjectClassifierCapable, x as DataTypeInvariantInput, xn as orderIssuesByDependencies, xt as SchemaEntityCoordinate, y as CoreSchemaView, yn as migrationSubjectKey, yt as SchemaDiff, z as MigrationPlanOperation, zt as VERIFY_CODE_MARKER_MISSING } from "./control-DOgahg69.mjs";
16
16
  import "./emission-eRvj-w_I.mjs";
17
17
  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-TiUa7G25.mjs";
18
18
  import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
@@ -20,4 +20,4 @@ import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b
20
20
  import "./psl-ast-DqB4Tq08.mjs";
21
21
  import { $ as TransactionActivityRun, A as RUNTIME_ABORTED, B as RuntimeLog, C as MutationDefaults, D as ParamRefMutator, E as OperationKind, F as RuntimeActivity, G as Shape, H as RuntimeMutationDefaultGenerator, I as RuntimeCore, J as StatementActivityRun, K as ShapeSpec, L as RuntimeCoreOptions, M as RelationNamesOf, N as ResultType, O as QueryInterceptResult, P as RuntimeAbortedPhase, Q as TransactionActivityOptions, R as RuntimeExecuteOptions, S as MutationDefaultGeneratorContributor, T as MutationDefaultsOptions, U as RuntimeStatementStats, V as RuntimeMiddleware, W as Scalars, X as StatementOptions, Y as StatementEnded, Z as TransactionActivity, _ as ExecuteInterceptResult, a as ActivityEndedResult, at as assertMutationDefaultGeneratorsAvailable, b as LaneMetaBuilder, c as ActivityParent, ct as collectMutationDefaultGenerators, d as AnnotationSource, dt as defineAnnotation, et as TransactionEnded, f as AnnotationValue, ft as executeStatement, g as DefineAnnotationOptions, gt as streamStatement, h as CrossFamilyMiddleware, ht as startTransactionActivity, i as ActivityContextFields, it as assertAnnotationsApplicable, j as RelationKeys, k as QueryPlan, l as ActivityStateStore, lt as createMetaBuilder, m as AsyncIterableResult, mt as runtimeAborted, n as ActivityChild, nt as ValidAnnotations, o as ActivityFinalizedResult, ot as checkAborted, p as AppliedMutationDefault, pt as raceAgainstAbort, q as StatementActivity, r as ActivityContext, rt as applyMutationDefaults, s as ActivityObserver, st as checkMiddlewareCompatibility, t as ActivityBase, tt as TransactionSettlement, u as AnnotationHandle, ut as createStateStore, v as ExecutionPlan, w as MutationDefaultsOp, x as MetaBuilder, y as GeneratorStability, z as RuntimeExecutor } from "./runtime-Bl61xROB.mjs";
22
22
  import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
23
- export { APP_SPACE_ID, type ActivityBase, type ActivityChild, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, 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 CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeId, type DataTypeInvariantInput, type DataTypeLookup, type DataTypeSpec, type DataTypeSupport, type DataTypeWrittenForm, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockMember, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorStability, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntrospectSchemaResult, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, 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 MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResultType, type RuntimeAbortedPhase, type RuntimeActivity, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, 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 SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type ToCanonicalForm, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypedDefaultFunctionCall, type TypedValue, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValidationContext, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyMutationDefaults, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertAnnotationsApplicable, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, authoringEntryType, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalFormOf, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, createStateStore, dataType, dataTypeId, decodeJsonBoolean, decodeJsonFloat, decodeJsonInteger, decodeJsonIntegerText, decodeJsonMatching, decodeJsonString, defineAnnotation, describeAdmittedForms, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeJsonFloat, enforceDataTypeInvariants, entityAt, entryForPlain, entryForTag, enumRefusalOf, exactRewrite, executeStatement, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, fieldPresetSpellings, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isPlainRecord, isRuntimeError, isStorageHashHex, isTagEntryKey, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, namespacePslExtensionBlocks, objectSchemaKeys, orderIssuesByDependencies, planOriginOf, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readEnumBlockMembers, readWrittenValue, refuseJsonValue, renderTsLiteral, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runtimeAborted, runtimeError, sameMarkerHashes, settleAggregateOverloads, startTransactionActivity, storageHashHex, streamStatement, tagEntryKey, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams };
23
+ export { APP_SPACE_ID, type ActivityBase, type ActivityChild, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, 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 CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeId, type DataTypeInvariantInput, type DataTypeLookup, type DataTypeSpec, type DataTypeSupport, type DataTypeWrittenForm, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockMember, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorStability, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntrospectSchemaResult, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, 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 MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResultType, type RuntimeAbortedPhase, type RuntimeActivity, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, 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 SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type ToCanonicalForm, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypedDefaultFunctionCall, type TypedValue, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValidationContext, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyMutationDefaults, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertAnnotationsApplicable, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, authoringEntryType, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalFormOf, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, createStateStore, dataType, dataTypeId, decodeJsonBoolean, decodeJsonFloat, decodeJsonInteger, decodeJsonIntegerText, decodeJsonMatching, decodeJsonString, defineAnnotation, describeAdmittedForms, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeJsonFloat, enforceDataTypeInvariants, entityAt, entryForPlain, entryForTag, enumRefusalOf, exactRewrite, executeStatement, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, fieldPresetSpellings, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isPlainRecord, isRuntimeError, isStorageHashHex, isTagEntryKey, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, namespacePslExtensionBlocks, objectSchemaKeys, orderIssuesByDependencies, planOriginOf, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readEnumBlockMembers, readWrittenValue, refuseJsonValue, renderTsLiteral, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runtimeAborted, runtimeError, sameMarkerHashes, settleAggregateOverloads, startTransactionActivity, storageHashHex, streamStatement, tagEntryKey, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams };
@@ -1,5 +1,5 @@
1
1
  import { a as LoweredDefaultResult, c as SourceDiagnostic, i as DefaultFunctionLoweringContext, l as SourceSpan, n as ControlMutationDefaultRegistry, o as LoweredDefaultValue, r as ControlMutationDefaults, s as MutationDefaultGeneratorDescriptor, t as ControlMutationDefaultEntry, u as TypedDefaultFunctionCall } from "./mutation-default-types-DCgdIlXt-C6Sc9h16.mjs";
2
2
  import { M as resolvePslBacktickEscapes, N as resolveTemplateTagEscapes, R as timestampNowControlDescriptor, s as TAGGED_LITERAL_MAX_BYTES, w as describeTaggedLiteralFailure } from "./written-value--KnOpj99-DByhg5hX.mjs";
3
3
  import { t as ImportRequirement } from "./index-wEX7G1Bv.mjs";
4
- import { $ as MigrationScaffoldContext, $t as createControlStack, A as MigratableTargetDescriptor, At as SchemaViewCapable, B as MigrationPlanWithAuthoringSurface, Bt as VERIFY_CODE_TARGET_MISMATCH, C as DiffableNode, Cn as storageHashHex, Ct as SchemaSubjectClassifierCapable, D as FieldCoordinateJson, Dt as SchemaVerifier, E as FieldCoordinate, Et as SchemaTreeVisitor, F as MigrationOperationSubject, Ft as SpaceToSign, G as MigrationPlannerSuccessResult, Gt as VerifyDatabaseSchemaResult, H as MigrationPlannerConflict, Ht as VerifierIssueCategory, I as MigrationPackage, It as TargetMigrationsCapability, J as MigrationRunnerFailure, Jt as assembleControlMutationDefaults, K as MigrationRunner, Kt as assembleAuthoringContributions, L as MigrationPlan, Lt as VERIFY_CODE_HASH_MISMATCH, M as MigrationMetadata, Mt as SpaceMarkerConflict, N as MigrationOperationClass, Nt as SpaceSignature, O as IntrospectSchemaResult, Ot as SchemaVerifyOptions, P as MigrationOperationPolicy, Pt as SpaceSigned, Q as MigrationRunnerSuccessValue, Qt as contractSnapshotTypesSpecifier, R as MigrationPlanOperation, Rt as VERIFY_CODE_MARKER_MISSING, S as DiffSubjectGranularity, Sn as sameMarkerHashes, St as SchemaOwnership, T as ExpectationFailureReason, Tt as SchemaTreeNodeOptions, U as MigrationPlannerFailureResult, Ut as VerifierOutcome, V as MigrationPlanner, Vt as VerificationStatus, W as MigrationPlannerResult, Wt as VerifyDatabaseResult, X as MigrationRunnerPerSpaceSuccessValue, Xt as buildExtensionLoadOrder, Y as MigrationRunnerPerSpaceOptions, Yt as assertUniqueCodecOwner, Z as MigrationRunnerResult, Zt as contractSnapshotJsonSpecifier, _ as ControlTargetDescriptor, _n as migrationSubjectJson, _t as ResolvedModelRenameStatement, a as ContractSerializer, an as extractCodecTypeImports, at as OpFactoryCall, b as CreateControlStackInput, bn as orderIssuesByDependencies, bt as SchemaEntityCoordinate, c as ControlAdapterDescriptor, cn as hasMigrations, ct as OperationPreviewCapable, d as ControlDriverInstance, dn as hasPslContractInfer, dt as PslContractBuildCapable, en as describeMigrationStatement, et as MigrationStatementJson, f as ControlExtensionDescriptor, fn as hasSchemaSubjectClassifier, ft as PslContractDocument, g as ControlStack, gn as migrationStatementJson, gt as ResolvedMigrationStatement, h as ControlFamilyInstance, hn as issueOutcome, ht as ResolvedFieldRenameStatement, i as CONTRACT_SNAPSHOTS_DIRNAME, in as extractCodecLookup, it as ModelCoordinateJson, j as MigrationAccessChange, jt as SchemaViewNodeKind, k as MarkerHashes, kt as SchemaVerifyResult, l as ControlAdapterInstance, ln as hasOperationPreview, lt as OperationPreviewStatement, m as ControlFamilyDescriptor, mn as isStorageHashHex, mt as PslSourceSettings, n as AppliedMigrationStatement, nn as dispositionForCategory, nt as MigrationSubjectJson, o as ContractSpace, on as extractComponentIds, ot as OperationContext, p as ControlExtensionInstance, pn as hasSchemaView, pt as PslContractInferCapable, q as MigrationRunnerExecutionChecks, qt as assembleAuthoringDataTypes, r as AssembledAuthoringContributions, rn as enforceDataTypeInvariants, rt as ModelCoordinate, s as ContractSpaceHeadRef, sn as extractQueryOperationTypeImports, st as OperationPreview, t as APP_SPACE_ID, tn as diffSchemas, tt as MigrationSubject, u as ControlDriverDescriptor, un as hasPslContractBuild, ut as PlanOrigin, v as ControlTargetInstance, vn as migrationSubjectKey, vt as SchemaDiff, w as EmitContractResult, wt as SchemaTreeNode, x as DataTypeInvariantInput, xn as planOriginOf, xt as SchemaNodeRef, y as CoreSchemaView, yn as modelDisplayName, yt as SchemaDiffIssue, z as MigrationPlanSubjects, zt as VERIFY_CODE_SCHEMA_FAILURE } from "./control-DsRyU-u2.mjs";
5
- export { APP_SPACE_ID, type AppliedMigrationStatement, 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 DataTypeInvariantInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type ExpectationFailureReason, type FieldCoordinate, type FieldCoordinateJson, type ImportRequirement, type IntrospectSchemaResult, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, 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 MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PlanOrigin, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, type PslSourceSettings, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, 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 SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, 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, assembleAuthoringDataTypes, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceDataTypeInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isStorageHashHex, issueOutcome, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, orderIssuesByDependencies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, storageHashHex, timestampNowControlDescriptor };
4
+ import { $ as MigrationRunnerSuccessValue, $t as contractSnapshotTypesSpecifier, A as MigratableTargetDescriptor, At as SchemaVerifyResult, B as MigrationPlanSubjects, Bt as VERIFY_CODE_SCHEMA_FAILURE, C as DiffableNode, Cn as sameMarkerHashes, Ct as SchemaOwnership, D as FieldCoordinateJson, Dt as SchemaTreeVisitor, E as FieldCoordinate, Et as SchemaTreeNodeOptions, F as MigrationOperationPolicy, Ft as SpaceSigned, G as MigrationPlannerResult, Gt as VerifyDatabaseResult, H as MigrationPlanner, Ht as VerificationStatus, I as MigrationOperationSubject, It as SpaceToSign, J as MigrationRunnerExecutionChecks, Jt as assembleAuthoringDataTypes, K as MigrationPlannerSuccessResult, Kt as VerifyDatabaseSchemaResult, L as MigrationPackage, Lt as TargetMigrationsCapability, M as MigrationDataLoss, Mt as SchemaViewNodeKind, N as MigrationMetadata, Nt as SpaceMarkerConflict, O as IntrospectSchemaResult, Ot as SchemaVerifier, P as MigrationOperationClass, Pt as SpaceSignature, Q as MigrationRunnerResult, Qt as contractSnapshotJsonSpecifier, R as MigrationPlan, Rt as VERIFY_CODE_HASH_MISMATCH, S as DiffSubjectGranularity, Sn as planOriginOf, St as SchemaNodeRef, T as ExpectationFailureReason, Tt as SchemaTreeNode, U as MigrationPlannerConflict, Ut as VerifierIssueCategory, V as MigrationPlanWithAuthoringSurface, Vt as VERIFY_CODE_TARGET_MISMATCH, W as MigrationPlannerFailureResult, Wt as VerifierOutcome, X as MigrationRunnerPerSpaceOptions, Xt as assertUniqueCodecOwner, Y as MigrationRunnerFailure, Yt as assembleControlMutationDefaults, Z as MigrationRunnerPerSpaceSuccessValue, Zt as buildExtensionLoadOrder, _ as ControlTargetDescriptor, _n as migrationStatementJson, _t as ResolvedMigrationStatement, a as ContractSerializer, an as extractCodecLookup, at as ModelCoordinateJson, b as CreateControlStackInput, bn as modelDisplayName, bt as SchemaDiffIssue, c as ControlAdapterDescriptor, cn as extractQueryOperationTypeImports, ct as OperationPreview, d as ControlDriverInstance, dn as hasPslContractBuild, dt as PlanOrigin, en as createControlStack, et as MigrationScaffoldContext, f as ControlExtensionDescriptor, fn as hasPslContractInfer, ft as PslContractBuildCapable, g as ControlStack, gn as issueOutcome, gt as ResolvedFieldRenameStatement, h as ControlFamilyInstance, hn as isStorageHashHex, ht as PslSourceSettings, i as CONTRACT_SNAPSHOTS_DIRNAME, in as enforceDataTypeInvariants, it as ModelCoordinate, j as MigrationAccessChange, jt as SchemaViewCapable, k as MarkerHashes, kt as SchemaVerifyOptions, l as ControlAdapterInstance, ln as hasMigrations, lt as OperationPreviewCapable, m as ControlFamilyDescriptor, mn as hasSchemaView, mt as PslContractInferCapable, n as AppliedMigrationStatement, nn as diffSchemas, nt as MigrationSubject, o as ContractSpace, on as extractCodecTypeImports, ot as OpFactoryCall, p as ControlExtensionInstance, pn as hasSchemaSubjectClassifier, pt as PslContractDocument, q as MigrationRunner, qt as assembleAuthoringContributions, r as AssembledAuthoringContributions, rn as dispositionForCategory, rt as MigrationSubjectJson, s as ContractSpaceHeadRef, sn as extractComponentIds, st as OperationContext, t as APP_SPACE_ID, tn as describeMigrationStatement, tt as MigrationStatementJson, u as ControlDriverDescriptor, un as hasOperationPreview, ut as OperationPreviewStatement, v as ControlTargetInstance, vn as migrationSubjectJson, vt as ResolvedModelRenameStatement, w as EmitContractResult, wn as storageHashHex, wt as SchemaSubjectClassifierCapable, x as DataTypeInvariantInput, xn as orderIssuesByDependencies, xt as SchemaEntityCoordinate, y as CoreSchemaView, yn as migrationSubjectKey, yt as SchemaDiff, z as MigrationPlanOperation, zt as VERIFY_CODE_MARKER_MISSING } from "./control-DOgahg69.mjs";
5
+ export { APP_SPACE_ID, type AppliedMigrationStatement, 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 DataTypeInvariantInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type ExpectationFailureReason, type FieldCoordinate, type FieldCoordinateJson, type ImportRequirement, type IntrospectSchemaResult, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, 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 MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PlanOrigin, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, type PslSourceSettings, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, 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 SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, 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, assembleAuthoringDataTypes, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceDataTypeInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isStorageHashHex, issueOutcome, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, orderIssuesByDependencies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, storageHashHex, timestampNowControlDescriptor };
@@ -7,7 +7,7 @@ import "./authoring-Cdm02TLT.mjs";
7
7
  import "./codec-CBvtmEz2.mjs";
8
8
  import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
9
9
  import "./components-cAWnlT7V.mjs";
10
- import { _ as ControlTargetDescriptor, c as ControlAdapterDescriptor, d as ControlDriverInstance, f as ControlExtensionDescriptor, m as ControlFamilyDescriptor, r as AssembledAuthoringContributions, u as ControlDriverDescriptor } from "./control-DsRyU-u2.mjs";
10
+ import { _ as ControlTargetDescriptor, c as ControlAdapterDescriptor, d as ControlDriverInstance, f as ControlExtensionDescriptor, m as ControlFamilyDescriptor, r as AssembledAuthoringContributions, u as ControlDriverDescriptor } from "./control-DOgahg69.mjs";
11
11
  //#region ../../../1-framework/1-core/config/dist/config-types.d.mts
12
12
  //#region src/contract-source-types.d.ts
13
13
  interface ContractSourceDiagnosticPosition {
@@ -203,4 +203,4 @@ declare function defineConfig<TFamilyId extends string = string, TTargetId exten
203
203
  declare function defaultContractOutputPath(contractPath: string): string;
204
204
  //#endregion
205
205
  export { defaultContractOutputPath as _, ContractSourceDiagnosticSpan as a, ContractSourceProvider as c, FormatterConfig as d, PrismaNextConfig as f, TypeScriptContractSourceProvider as g, PslParserOptions as h, ContractSourceDiagnosticPosition as i, ContractSourceProviderBase as l, PslGrammar as m, ContractSourceContext as n, ContractSourceDiagnostics as o, PslContractSourceProvider as p, ContractSourceDiagnostic as r, ContractSourceFormat as s, ContractConfig as t, DEFAULT_CONTRACT_SOURCE_DIR as u, defineConfig as v, normalizeContractConfig as y };
206
- //# sourceMappingURL=config-types-DDmOiupw.d.mts.map
206
+ //# sourceMappingURL=config-types-Cuc-EN7j.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-types-DDmOiupw.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;;UAOU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;WAEP;;;;;;WAMA,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;;WAEb,WAAW;WACX,yBAAyB;;;;;;;WAOzB;WACA,cAAc;;;;WAId,iBAAiB,YAAY;WAC7B;aACE;aACA;;;;;;;;KAQR;UACK;;;;;;WAMC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;;KAGzE;;UAEK;;WAEC,UAAU;;UAEX,kCAAkC;WACjC;WACA,gBAAgB;;UAEjB,yCAAyC;WACxC;;KAEN,yBAAyB,4BAA4B;;;;;;UAMhD;;;;;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;;;;;;;WAOZ;;;;;;;;;;;;;;;iBAeM,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW;;;;;;;;iBAQhK,0BAA0B"}
1
+ {"version":3,"file":"config-types-Cuc-EN7j.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;;UAOU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;WAEP;;;;;;WAMA,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;;WAEb,WAAW;WACX,yBAAyB;;;;;;;WAOzB;WACA,cAAc;;;;WAId,iBAAiB,YAAY;WAC7B;aACE;aACA;;;;;;;;KAQR;UACK;;;;;;WAMC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;;KAGzE;;UAEK;;WAEC,UAAU;;UAEX,kCAAkC;WACjC;WACA,gBAAgB;;UAEjB,yCAAyC;WACxC;;KAEN,yBAAyB,4BAA4B;;;;;;UAMhD;;;;;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;;;;;;;WAOZ;;;;;;;;;;;;;;;iBAeM,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW;;;;;;;;iBAQhK,0BAA0B"}
package/dist/config.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-DDmOiupw.mjs";
1
+ import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-Cuc-EN7j.mjs";
2
2
  export { 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 PrismaNextConfig, type PslContractSourceProvider, type PslGrammar, type PslParserOptions, type TypeScriptContractSourceProvider, defaultContractOutputPath, defineConfig, normalizeContractConfig };
@@ -1,2 +1,2 @@
1
- import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-DDmOiupw.mjs";
1
+ import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-Cuc-EN7j.mjs";
2
2
  export { 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 PrismaNextConfig, type PslContractSourceProvider, type PslGrammar, type PslParserOptions, type TypeScriptContractSourceProvider, defaultContractOutputPath, defineConfig, normalizeContractConfig };
@@ -0,0 +1 @@
1
+ import "./control-C11hV6zc-CmvCmO2f.mjs";
@@ -1,6 +1,6 @@
1
- import { gt as ResolvedMigrationStatement } from "./control-DsRyU-u2.mjs";
1
+ import { _t as ResolvedMigrationStatement } from "./control-DOgahg69.mjs";
2
2
  import { a as StructuredError, i as NextAction, r as Diagnostic } from "./structured-error-Cc7AIRsp.mjs";
3
- //#region ../../../1-framework/1-core/errors/dist/control-DhWsAbYJ.d.mts
3
+ //#region ../../../1-framework/1-core/errors/dist/control-C11hV6zc.d.mts
4
4
  //#region src/control.d.ts
5
5
  /**
6
6
  * CLI error envelope for output formatting.
@@ -194,6 +194,19 @@ declare function errorMigrationPlanningFailed(options: {
194
194
  declare function errorTargetMigrationNotSupported(options?: {
195
195
  readonly why?: string;
196
196
  }): CliStructuredError;
197
+ /** A config the migration-file CLI checked while looking for the one that owns the migration. */
198
+ interface CheckedMigrationConfig {
199
+ readonly configPath: string;
200
+ readonly migrationsDir?: string;
201
+ readonly loadFailure?: string;
202
+ }
203
+ /**
204
+ * Without `--config`, the migration-file CLI found no config whose migrations directory holds the migration.
205
+ */
206
+ declare function errorMigrationCliConfigNotFound(options: {
207
+ readonly migrationDir: string;
208
+ readonly checked: readonly CheckedMigrationConfig[];
209
+ }): CliStructuredError;
197
210
  /**
198
211
  * The migration-file CLI received `--config` without a path argument (either
199
212
  * a bare trailing `--config`, or `--config` followed by another flag like
@@ -252,5 +265,5 @@ declare function errorUnexpected(message: string, options?: {
252
265
  readonly cause?: unknown;
253
266
  }): CliStructuredError;
254
267
  //#endregion
255
- export { errorTargetMigrationNotSupported as C, errorQueryRunnerFactoryRequired as S, errorJsonFormatNotSupported as _, errorConfigFileNotFound as a, errorMigrationPlanningFailed as b, errorContractConfigMissing as c, errorDatabaseConnectionRequired as d, errorDriverRequired as f, errorInvalidOutputFormat as g, errorFileNotFound as h, errorConfigEvaluationFailed as i, errorContractMissingExtensions as l, errorFamilyReadMarkerSqlRequired as m, CliErrorEnvelope as n, errorConfigValidation as o, errorEnumCodecNotInPackStack as p, CliStructuredError as r, errorConfigVersionMarkerMissing as s, CliErrorConflict as t, errorContractValidationFailed as u, errorMigrationCliInvalidConfigArg as v, errorUnexpected as w, errorOutputFormatMutex as x, errorMigrationCliUnknownFlag as y };
256
- //# sourceMappingURL=control-DhWsAbYJ-CrtxR4UW.d.mts.map
268
+ export { errorOutputFormatMutex as C, errorUnexpected as E, errorMigrationPlanningFailed as S, errorTargetMigrationNotSupported as T, errorInvalidOutputFormat as _, errorConfigEvaluationFailed as a, errorMigrationCliInvalidConfigArg as b, errorConfigVersionMarkerMissing as c, errorContractValidationFailed as d, errorDatabaseConnectionRequired as f, errorFileNotFound as g, errorFamilyReadMarkerSqlRequired as h, CliStructuredError as i, errorContractConfigMissing as l, errorEnumCodecNotInPackStack as m, CliErrorConflict as n, errorConfigFileNotFound as o, errorDriverRequired as p, CliErrorEnvelope as r, errorConfigValidation as s, CheckedMigrationConfig as t, errorContractMissingExtensions as u, errorJsonFormatNotSupported as v, errorQueryRunnerFactoryRequired as w, errorMigrationCliUnknownFlag as x, errorMigrationCliConfigNotFound as y };
269
+ //# sourceMappingURL=control-C11hV6zc-CmvCmO2f.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"control-DhWsAbYJ-CrtxR4UW.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/control-DhWsAbYJ.d.mts"],"mappings":";;;;;;;;;;;;;;;;UAeU;WACC;WACA;WACA;WACA;WACA;WACA;WACA,sBAAsB;WACtB,uBAAuB;WACvB;aACE;aACA;;WAEF,OAAO;WACP;;;;;UAKD;WACC;WACA;WACA;;WAEA,mBAAmB;;WAEnB,WAAW,SAAS;aAClB;;;;;;;;;;;;;;cAcC,2BAA2B,iBAAiB;WAC/C;WACA;WACA;WACA;WACA,uBAAuB;WACvB,uBAAuB;WACvB;aACE;aACA;;WAEF,OAAO;WACP;EACT,YAAY,6BAA6B,iBAAiB;aAC/C;aACA;aACA;aACA,uBAAuB;aACvB,uBAAuB;aACvB;eACE;eACA;;aAEF,OAAO;aACP;aACA;;;;;;;;EAQX,cAAc;;;;;SAKP,GAAG,iBAAiB,SAAS;;;;;iBAKrB,wBAAwB,qBAAqB;WACnD;IACP;;;;iBAIa,4BAA4B,gCAAgC;WAClE;WACA;IACP;;;;;;iBAMa,gCAAgC,sBAAsB;;;;iBAItD,2BAA2B;WACjC;IACP;;;;iBAIa,8BAA8B,gBAAgB;WACpD;aACE;aACA;;WAEF;IACP;;;;iBAIa,kBAAkB,kBAAkB;WAC1C;WACA;WACA;WACA;IACP;;;;iBAIa,gCAAgC;WACtC;WACA;WACA;WACA;IACP;;;;iBAIa,gCAAgC;WACtC;IACP;;;;iBAIa,iCAAiC;WACvC;IACP;;;;iBAIa,4BAA4B;WAClC;WACA;WACA;IACP;;;;iBAIa,oBAAoB;WAC1B;IACP;;;;iBAIa,+BAA+B;WACrC;WACA;IACP;;;;iBAIa,6BAA6B;WACnC,oBAAoB;WACpB;IACP;;;;iBAIa,iCAAiC;WACvC;IACP;;;;;;;;iBAQa,kCAAkC;WACxC;IACP;;;;;;;;;;iBAUa,6BAA6B;WACnC;WACA;IACP;;;;iBAIa,yBAAyB,gBAAgB;;;;;iBAKzC,0BAA0B;;;;iBAI1B,sBAAsB,eAAe;WAC3C;WACA;IACP;;;;;;;iBAOa,6BAA6B;WACnC;IACP;;;;iBAIa,gBAAgB,iBAAiB;WACvC;WACA;WACA,OAAO;WACP;IACP"}
1
+ {"version":3,"file":"control-C11hV6zc-CmvCmO2f.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/control-C11hV6zc.d.mts"],"mappings":";;;;;;;;;;;;;;;;UAeU;WACC;WACA;WACA;WACA;WACA;WACA;WACA,sBAAsB;WACtB,uBAAuB;WACvB;aACE;aACA;;WAEF,OAAO;WACP;;;;;UAKD;WACC;WACA;WACA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./defined-BQWA85QH-BRSBMULx.mjs";
2
2
  import { r as docsUrlFor } from "./structured-error-BXbihKQ-.mjs";
3
3
  import "./namespace-VUH2dgnS-By5y75h9.mjs";
4
4
  import { N as migrationStatementJson } from "./control-c9xjy4Jm.mjs";
5
- //#region ../../../1-framework/1-core/errors/dist/control-C4Q85sT5.mjs
5
+ //#region ../../../1-framework/1-core/errors/dist/control-CVGlbj6c.mjs
6
6
  /**
7
7
  * Structured CLI error that contains all information needed for error envelopes.
8
8
  * Call sites throw these errors with full context.
@@ -259,6 +259,21 @@ function errorTargetMigrationNotSupported(options) {
259
259
  });
260
260
  }
261
261
  /**
262
+ * Without `--config`, the migration-file CLI found no config whose migrations directory holds the migration.
263
+ */
264
+ function errorMigrationCliConfigNotFound(options) {
265
+ const rule = `Without --config, a migration.ts uses the prisma.config.ts whose migrations directory holds it: the nearest one above ${options.migrationDir}, else the one in the working directory.`;
266
+ const found = options.checked.map(({ configPath, migrationsDir, loadFailure }) => loadFailure === void 0 ? `${configPath} keeps migrations in ${migrationsDir}` : `${configPath} failed to load (${loadFailure})`);
267
+ return new CliStructuredError("CLI.MIGRATION_CONFIG_NOT_FOUND", "No config found for this migration", {
268
+ why: found.length === 0 ? `${rule} There is neither.` : `${rule} None of them does: ${found.join("; ")}.`,
269
+ fix: "Run it again with `--config <path to the config of the project this migration belongs to>`.",
270
+ meta: {
271
+ migrationDir: options.migrationDir,
272
+ checked: options.checked.map(({ configPath }) => configPath)
273
+ }
274
+ });
275
+ }
276
+ /**
262
277
  * The migration-file CLI received `--config` without a path argument (either
263
278
  * a bare trailing `--config`, or `--config` followed by another flag like
264
279
  * `--config --dry-run`). Surfacing this as a structured error fails fast
@@ -347,6 +362,6 @@ function errorUnexpected(message, options) {
347
362
  });
348
363
  }
349
364
  //#endregion
350
- export { errorUnexpected as S, errorMigrationCliUnknownFlag as _, errorConfigVersionMarkerMissing as a, errorQueryRunnerFactoryRequired as b, errorContractValidationFailed as c, errorEnumCodecNotInPackStack as d, errorFamilyReadMarkerSqlRequired as f, errorMigrationCliInvalidConfigArg as g, errorJsonFormatNotSupported as h, errorConfigValidation as i, errorDatabaseConnectionRequired as l, errorInvalidOutputFormat as m, errorConfigEvaluationFailed as n, errorContractConfigMissing as o, errorFileNotFound as p, errorConfigFileNotFound as r, errorContractMissingExtensions as s, CliStructuredError as t, errorDriverRequired as u, errorMigrationPlanningFailed as v, errorTargetMigrationNotSupported as x, errorOutputFormatMutex as y };
365
+ export { errorUnexpected as C, errorTargetMigrationNotSupported as S, errorMigrationCliInvalidConfigArg as _, errorConfigVersionMarkerMissing as a, errorOutputFormatMutex as b, errorContractValidationFailed as c, errorEnumCodecNotInPackStack as d, errorFamilyReadMarkerSqlRequired as f, errorMigrationCliConfigNotFound as g, errorJsonFormatNotSupported as h, errorConfigValidation as i, errorDatabaseConnectionRequired as l, errorInvalidOutputFormat as m, errorConfigEvaluationFailed as n, errorContractConfigMissing as o, errorFileNotFound as p, errorConfigFileNotFound as r, errorContractMissingExtensions as s, CliStructuredError as t, errorDriverRequired as u, errorMigrationCliUnknownFlag as v, errorQueryRunnerFactoryRequired as x, errorMigrationPlanningFailed as y };
351
366
 
352
- //# sourceMappingURL=control-C4Q85sT5-Dv75I30R.mjs.map
367
+ //# sourceMappingURL=control-CVGlbj6c-Diz54IbU.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-CVGlbj6c-Diz54IbU.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/control-CVGlbj6c.mjs"],"sourcesContent":["import { migrationStatementJson } from \"@internal/framework-components/control\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { docsUrlFor } from \"@internal/utils/structured-error\";\n//#region src/control.ts\n/**\n* Structured CLI error that contains all information needed for error envelopes.\n* Call sites throw these errors with full context.\n*\n* A `CliStructuredError` is a `StructuredError` (see\n* `@internal/utils/structured-error`): `code` is a dotted\n* `NAMESPACE.SUBCODE` string, and the namespace prefix is the error's\n* category — there is no separate `domain` field. See\n* [ADR 239](../../../../../docs/architecture%20docs/adrs/ADR%20239%20-%20Errors%20are%20structural%20envelopes%20with%20dotted%20namespace%20codes.md)\n* for the namespace taxonomy.\n*/\nvar CliStructuredError = class extends Error {\n\tcode;\n\tseverity;\n\tconstructor(code, summary, options) {\n\t\tsuper(summary, options?.cause !== void 0 ? { cause: options.cause } : void 0);\n\t\tthis.name = \"CliStructuredError\";\n\t\tthis.code = code;\n\t\tthis.severity = options?.severity ?? \"error\";\n\t\tconst fix = options?.fix === options?.why ? void 0 : options?.fix;\n\t\tconst where = options?.where ? {\n\t\t\t...ifDefined(\"path\", options.where.path),\n\t\t\t...ifDefined(\"line\", options.where.line)\n\t\t} : void 0;\n\t\tObject.assign(this, {\n\t\t\t...ifDefined(\"why\", options?.why),\n\t\t\t...ifDefined(\"fix\", fix),\n\t\t\t...ifDefined(\"nextActions\", options?.nextActions),\n\t\t\t...ifDefined(\"diagnostics\", options?.diagnostics),\n\t\t\t...ifDefined(\"where\", where),\n\t\t\t...ifDefined(\"meta\", options?.meta),\n\t\t\t...ifDefined(\"docsUrl\", options?.docsUrl)\n\t\t});\n\t}\n\t/**\n\t* Converts this error to a CLI error envelope for output formatting.\n\t*\n\t* This is the boundary that emits the envelope, so it is where a missing\n\t* `nextActions` becomes `[]`.\n\t*/\n\ttoEnvelope() {\n\t\treturn {\n\t\t\tok: false,\n\t\t\tcode: this.code,\n\t\t\tseverity: this.severity,\n\t\t\tsummary: this.message,\n\t\t\t...ifDefined(\"why\", this.why),\n\t\t\t...ifDefined(\"fix\", this.fix),\n\t\t\tnextActions: this.nextActions ?? [],\n\t\t\t...ifDefined(\"diagnostics\", this.diagnostics),\n\t\t\t...ifDefined(\"where\", this.where),\n\t\t\t...ifDefined(\"meta\", this.meta),\n\t\t\t...ifDefined(\"docsUrl\", this.docsUrl)\n\t\t};\n\t}\n\t/**\n\t* Type guard to check if an error is a CliStructuredError.\n\t* Uses duck-typing to work across module boundaries where instanceof may fail.\n\t*/\n\tstatic is(error) {\n\t\tif (!(error instanceof Error)) return false;\n\t\tconst candidate = error;\n\t\treturn candidate.name === \"CliStructuredError\" && typeof candidate.code === \"string\" && typeof candidate.toEnvelope === \"function\";\n\t}\n};\n/**\n* Config file not found or missing.\n*/\nfunction errorConfigFileNotFound(configPath, options) {\n\treturn new CliStructuredError(\"CONFIG.FILE_NOT_FOUND\", \"Config file not found\", {\n\t\t...options?.why ? { why: options.why } : { why: \"Config file not found\" },\n\t\tfix: \"Run '{bin} orm init' to create a config file\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Create a config file\",\n\t\t\tcommand: \"{bin} orm init\"\n\t\t}],\n\t\tdocsUrl: docsUrlFor(\"CONFIG.FILE_NOT_FOUND\"),\n\t\t...configPath ? { where: { path: configPath } } : {}\n\t});\n}\n/**\n* Config module failed to evaluate (syntax error, module threw during import).\n*/\nfunction errorConfigEvaluationFailed(configPath, options) {\n\treturn new CliStructuredError(\"CONFIG.EVALUATION_FAILED\", \"Config file could not be evaluated\", {\n\t\twhy: options.why,\n\t\tfix: \"Fix the error in your prisma.config.ts so the module evaluates, then rerun the command\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.EVALUATION_FAILED\"),\n\t\t...configPath ? { where: { path: configPath } } : {},\n\t\t...options.cause !== void 0 ? { cause: options.cause } : {}\n\t});\n}\n/**\n* Config module evaluated, but its export does not carry the definePrismaConfig\n* version marker (plain object export, or a config produced by a different\n* defineConfig such as classic Prisma's).\n*/\nfunction errorConfigVersionMarkerMissing(configPath) {\n\treturn new CliStructuredError(\"CONFIG.VERSION_MARKER_MISSING\", \"Config is not a definePrismaConfig result\", {\n\t\twhy: \"The config module evaluated, but its default export was not created by a current definePrismaConfig\",\n\t\tfix: \"Create the config with definePrismaConfig from '@prisma/cli-engine', nest your settings under its `orm` section, and export its return value directly\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.VERSION_MARKER_MISSING\"),\n\t\t...configPath ? { where: { path: configPath } } : {}\n\t});\n}\n/**\n* Contract configuration missing from config.\n*/\nfunction errorContractConfigMissing(options) {\n\treturn new CliStructuredError(\"CONFIG.CONTRACT_MISSING\", \"Contract configuration missing\", {\n\t\twhy: options?.why ?? \"The contract configuration is required for emit\",\n\t\tfix: \"Add contract configuration to your prisma.config.ts\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.CONTRACT_MISSING\")\n\t});\n}\n/**\n* Contract validation failed.\n*/\nfunction errorContractValidationFailed(reason, options) {\n\treturn new CliStructuredError(\"CONTRACT.VALIDATION_FAILED\", \"Contract validation failed\", {\n\t\twhy: reason,\n\t\tfix: \"Re-run `{bin} contract emit`, or fix the contract file and try again\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Re-emit the contract\",\n\t\t\tcommand: \"{bin} contract emit\"\n\t\t}, {\n\t\t\tkind: \"edit-file\",\n\t\t\tlabel: \"Fix the contract file, then re-run the command\",\n\t\t\treason\n\t\t}],\n\t\tdocsUrl: docsUrlFor(\"CONTRACT.VALIDATION_FAILED\"),\n\t\t...options?.where ? { where: options.where } : {},\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n/**\n* File not found.\n*/\nfunction errorFileNotFound(filePath, options) {\n\treturn new CliStructuredError(\"CLI.FILE_NOT_FOUND\", \"File not found\", {\n\t\twhy: options?.why ?? `File not found: ${filePath}`,\n\t\tfix: options?.fix ?? \"Check that the file path is correct\",\n\t\twhere: { path: filePath },\n\t\t...options?.docsUrl ? { docsUrl: options.docsUrl } : {},\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n/**\n* Database connection is required but not provided.\n*/\nfunction errorDatabaseConnectionRequired(options) {\n\tconst runHint = options?.retryCommand ? `Run \\`${options.retryCommand}\\`` : options?.commandName ? `Run \\`{bin} ${options.commandName} --db <url>\\`` : \"Provide `--db <url>`\";\n\treturn new CliStructuredError(\"CONFIG.DB_CONNECTION_REQUIRED\", \"Database connection is required\", {\n\t\twhy: options?.why ?? \"Database connection is required for this command\",\n\t\tfix: `${runHint}, or set \\`db: { connection: \"postgres://…\" }\\` in prisma.config.ts`,\n\t\t...options?.missingFlags !== void 0 ? { meta: { missingFlags: [...options.missingFlags] } } : {}\n\t});\n}\n/**\n* Query runner factory is required but not provided in config.\n*/\nfunction errorQueryRunnerFactoryRequired(options) {\n\treturn new CliStructuredError(\"CONFIG.QUERY_RUNNER_FACTORY_REQUIRED\", \"Query runner factory is required\", {\n\t\twhy: options?.why ?? \"Config.db.queryRunnerFactory is required for db verify\",\n\t\tfix: \"Add db.queryRunnerFactory to prisma.config.ts\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.QUERY_RUNNER_FACTORY_REQUIRED\")\n\t});\n}\n/**\n* Family verify.readMarker is required but not provided.\n*/\nfunction errorFamilyReadMarkerSqlRequired(options) {\n\treturn new CliStructuredError(\"CONFIG.FAMILY_READ_MARKER_REQUIRED\", \"Family readMarker() is required\", {\n\t\twhy: options?.why ?? \"Family verify.readMarker is required for db verify\",\n\t\tfix: \"Ensure family.verify.readMarker() is exported by your family package\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.FAMILY_READ_MARKER_REQUIRED\")\n\t});\n}\n/**\n* JSON output format not supported.\n*/\nfunction errorJsonFormatNotSupported(options) {\n\treturn new CliStructuredError(\"CLI.JSON_FORMAT_UNSUPPORTED\", \"Unsupported JSON format\", {\n\t\twhy: `The ${options.command} command does not support --json ${options.format}`,\n\t\tfix: `Use --json ${options.supportedFormats.join(\" or \")}, or omit --json for human output`,\n\t\tmeta: {\n\t\t\tcommand: options.command,\n\t\t\tformat: options.format,\n\t\t\tsupportedFormats: options.supportedFormats\n\t\t}\n\t});\n}\n/**\n* Driver is required for DB-connected commands but not provided.\n*/\nfunction errorDriverRequired(options) {\n\treturn new CliStructuredError(\"CONFIG.DRIVER_REQUIRED\", \"Driver is required for DB-connected commands\", {\n\t\twhy: options?.why ?? \"Config.driver is required for DB-connected commands\",\n\t\tfix: \"Add a control-plane driver to prisma.config.ts (e.g. import a driver descriptor and set `driver: postgresDriver`)\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.DRIVER_REQUIRED\")\n\t});\n}\n/**\n* Contract requires extension packs that are not provided by config descriptors.\n*/\nfunction errorContractMissingExtensions(options) {\n\tconst missing = [...options.missingExtensions].sort();\n\treturn new CliStructuredError(\"CONFIG.MISSING_EXTENSION_PACKS\", \"Missing extension packs in config\", {\n\t\twhy: missing.length === 1 ? `Contract requires extension pack '${missing[0]}', but CLI config does not provide a matching descriptor.` : `Contract requires extension packs ${missing.map((p) => `'${p}'`).join(\", \")}, but CLI config does not provide matching descriptors.`,\n\t\tfix: \"Add the missing extension descriptors to `extensions` in prisma.config.ts\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.MISSING_EXTENSION_PACKS\"),\n\t\tmeta: {\n\t\t\tmissingExtensions: missing,\n\t\t\tprovidedComponentIds: [...options.providedComponentIds].sort()\n\t\t}\n\t});\n}\nfunction locationJson(location) {\n\tif (location.namespaceId !== UNBOUND_NAMESPACE_ID) return location;\n\tconst { namespaceId: _unbound, ...rest } = location;\n\treturn rest;\n}\nfunction conflictJson(conflict) {\n\treturn {\n\t\t...conflict,\n\t\t...conflict.location === void 0 ? {} : { location: locationJson(conflict.location) },\n\t\t...conflict.refusedStatement === void 0 ? {} : { refusedStatement: migrationStatementJson(conflict.refusedStatement) }\n\t};\n}\n/**\n* Migration planning failed due to conflicts.\n*/\nfunction errorMigrationPlanningFailed(options) {\n\tconst conflictSummaries = options.conflicts.map((c) => c.summary);\n\tconst computedWhy = options.why ?? conflictSummaries.join(\"\\n\");\n\tconst conflictFixes = options.conflicts.map((c) => c.why).filter((why) => typeof why === \"string\");\n\treturn new CliStructuredError(\"MIGRATION.PLANNING_FAILED\", \"Migration planning failed\", {\n\t\twhy: computedWhy,\n\t\tfix: conflictFixes.length > 0 ? conflictFixes.join(\"\\n\") : \"Use `db verify --schema-only` to inspect conflicts, or ensure the database is empty\",\n\t\tmeta: { conflicts: options.conflicts.map(conflictJson) },\n\t\tdocsUrl: docsUrlFor(\"MIGRATION.PLANNING_FAILED\")\n\t});\n}\n/**\n* Target does not support migrations (missing createPlanner/createRunner).\n*/\nfunction errorTargetMigrationNotSupported(options) {\n\treturn new CliStructuredError(\"MIGRATION.TARGET_UNSUPPORTED\", \"Target does not support migrations\", {\n\t\twhy: options?.why ?? \"The configured target does not provide migration planner/runner\",\n\t\tfix: \"Select a target that provides migrations (it must export `target.migrations` for db init)\",\n\t\tdocsUrl: docsUrlFor(\"MIGRATION.TARGET_UNSUPPORTED\")\n\t});\n}\n/**\n* Without `--config`, the migration-file CLI found no config whose migrations directory holds the migration.\n*/\nfunction errorMigrationCliConfigNotFound(options) {\n\tconst rule = `Without --config, a migration.ts uses the prisma.config.ts whose migrations directory holds it: the nearest one above ${options.migrationDir}, else the one in the working directory.`;\n\tconst found = options.checked.map(({ configPath, migrationsDir, loadFailure }) => loadFailure === void 0 ? `${configPath} keeps migrations in ${migrationsDir}` : `${configPath} failed to load (${loadFailure})`);\n\treturn new CliStructuredError(\"CLI.MIGRATION_CONFIG_NOT_FOUND\", \"No config found for this migration\", {\n\t\twhy: found.length === 0 ? `${rule} There is neither.` : `${rule} None of them does: ${found.join(\"; \")}.`,\n\t\tfix: \"Run it again with `--config <path to the config of the project this migration belongs to>`.\",\n\t\tmeta: {\n\t\t\tmigrationDir: options.migrationDir,\n\t\t\tchecked: options.checked.map(({ configPath }) => configPath)\n\t\t}\n\t});\n}\n/**\n* The migration-file CLI received `--config` without a path argument (either\n* a bare trailing `--config`, or `--config` followed by another flag like\n* `--config --dry-run`). Surfacing this as a structured error fails fast\n* rather than silently consuming the next flag as the config path or\n* falling back to default discovery against the wrong project.\n*/\nfunction errorMigrationCliInvalidConfigArg(options) {\n\treturn new CliStructuredError(\"CLI.CONFIG_ARG_MISSING_PATH\", \"--config flag requires a path argument\", {\n\t\twhy: options?.nextToken !== void 0 ? `\\`--config\\` was followed by another flag (\\`${options.nextToken}\\`) instead of a path argument.` : \"`--config` was passed without a following path argument.\",\n\t\tfix: \"Pass a config path: `--config <path>` or `--config=<path>`.\",\n\t\tmeta: options?.nextToken !== void 0 ? { nextToken: options.nextToken } : {}\n\t});\n}\n/**\n* The migration-file CLI received a flag it does not recognise. Surfaced as a\n* structured error so consumers can render their own \"did you mean\"\n* suggestions from `meta.knownFlags` rather than parsing the message.\n*\n* Designed to wrap clipanion's `UnknownSyntaxError` at the parser boundary:\n* pass the offending token as `flag` and the option declarations as\n* `knownFlags`.\n*/\nfunction errorMigrationCliUnknownFlag(options) {\n\tconst knownList = options.knownFlags.join(\", \");\n\treturn new CliStructuredError(\"CLI.UNKNOWN_FLAG\", \"Unknown migration CLI flag\", {\n\t\twhy: `Unknown flag \\`${options.flag}\\`.`,\n\t\tfix: `Known flags: ${knownList}. Run with \\`--help\\` to see the full list.`,\n\t\tmeta: {\n\t\t\tflag: options.flag,\n\t\t\tknownFlags: options.knownFlags\n\t\t}\n\t});\n}\n/**\n* The main CLI received an unsupported `--format` value.\n*/\nfunction errorInvalidOutputFormat(value) {\n\treturn new CliStructuredError(\"CLI.INVALID_OUTPUT_FORMAT\", `Invalid --format value \"${value}\". Allowed values: pretty, json.`, { meta: {\n\t\tvalue,\n\t\tallowed: [\"pretty\", \"json\"]\n\t} });\n}\n/**\n* The main CLI received mutually exclusive output format flags\n* (`--format pretty` together with `--json`).\n*/\nfunction errorOutputFormatMutex() {\n\treturn new CliStructuredError(\"CLI.OUTPUT_FORMAT_CONFLICT\", \"Cannot use --format pretty together with --json. Use --format json or --json alone for JSON output.\");\n}\n/**\n* Config validation error (missing required fields).\n*/\nfunction errorConfigValidation(field, options) {\n\treturn new CliStructuredError(\"CONFIG.VALIDATION_FAILED\", \"Config validation error\", {\n\t\twhy: options?.why ?? `Config must have a \"${field}\" field`,\n\t\tfix: \"Check your prisma.config.ts and ensure all required fields are provided\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.VALIDATION_FAILED\"),\n\t\tmeta: {\n\t\t\tfield,\n\t\t\t...options?.section !== void 0 ? { section: options.section } : {}\n\t\t}\n\t});\n}\n/**\n* An enum declares a codecId that no component in the contract's pack stack provides,\n* so its member values cannot be encoded. Thrown by both authoring paths (TS `defineContract`\n* and PSL interpretation) when the codec lookup built from the contract's packs has no\n* descriptor for the codecId.\n*/\nfunction errorEnumCodecNotInPackStack(options) {\n\treturn new CliStructuredError(\"CONTRACT.ENUM_CODEC_NOT_IN_PACK_STACK\", `Enum codec \"${options.codecId}\" is not part of the contract's pack stack`, {\n\t\twhy: `An enum uses codec \"${options.codecId}\", but no family, target, or extension pack in the contract provides it.`,\n\t\tfix: \"Use a codec provided by the contract's target/extension packs, or add the pack that supplies this codec.\",\n\t\tmeta: { codecId: options.codecId }\n\t});\n}\n/**\n* Generic unexpected error.\n*/\nfunction errorUnexpected(message, options) {\n\treturn new CliStructuredError(\"CLI.UNEXPECTED\", \"Unexpected error\", {\n\t\twhy: options?.why ?? message,\n\t\tfix: options?.fix ?? \"Check the error message and try again\",\n\t\t...ifDefined(\"meta\", options?.meta),\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n//#endregion\nexport { errorUnexpected as C, errorTargetMigrationNotSupported as S, errorMigrationCliInvalidConfigArg as _, errorConfigVersionMarkerMissing as a, errorOutputFormatMutex as b, errorContractValidationFailed as c, errorEnumCodecNotInPackStack as d, errorFamilyReadMarkerSqlRequired as f, errorMigrationCliConfigNotFound as g, errorJsonFormatNotSupported as h, errorConfigValidation as i, errorDatabaseConnectionRequired as l, errorInvalidOutputFormat as m, errorConfigEvaluationFailed as n, errorContractConfigMissing as o, errorFileNotFound as p, errorConfigFileNotFound as r, errorContractMissingExtensions as s, CliStructuredError as t, errorDriverRequired as u, errorMigrationCliUnknownFlag as v, errorQueryRunnerFactoryRequired as x, errorMigrationPlanningFailed as y };\n\n//# sourceMappingURL=control-CVGlbj6c.mjs.map"],"mappings":";;;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I,mBAAmB,oBAAoB,8BAA8B;EAC/E,KAAK,kBAAkB,QAAQ,KAAK;EACpC,KAAK,gBAAgB,UAAU;EAC/B,MAAM;GACL,MAAM,QAAQ;GACd,YAAY,QAAQ;EACrB;CACD,CAAC;AACF;;;;AAIA,SAAS,yBAAyB,OAAO;CACxC,OAAO,IAAI,mBAAmB,6BAA6B,2BAA2B,MAAM,mCAAmC,EAAE,MAAM;EACtI;EACA,SAAS,CAAC,UAAU,MAAM;CAC3B,EAAE,CAAC;AACJ;;;;;AAKA,SAAS,yBAAyB;CACjC,OAAO,IAAI,mBAAmB,8BAA8B,qGAAqG;AAClK;;;;AAIA,SAAS,sBAAsB,OAAO,SAAS;CAC9C,OAAO,IAAI,mBAAmB,4BAA4B,2BAA2B;EACpF,KAAK,SAAS,OAAO,uBAAuB,MAAM;EAClD,KAAK;EACL,SAAS,WAAW,0BAA0B;EAC9C,MAAM;GACL;GACA,GAAG,SAAS,YAAY,KAAK,IAAI,EAAE,SAAS,QAAQ,QAAQ,IAAI,CAAC;EAClE;CACD,CAAC;AACF;;;;;;;AAOA,SAAS,6BAA6B,SAAS;CAC9C,OAAO,IAAI,mBAAmB,yCAAyC,eAAe,QAAQ,QAAQ,6CAA6C;EAClJ,KAAK,uBAAuB,QAAQ,QAAQ;EAC5C,KAAK;EACL,MAAM,EAAE,SAAS,QAAQ,QAAQ;CAClC,CAAC;AACF;;;;AAIA,SAAS,gBAAgB,SAAS,SAAS;CAC1C,OAAO,IAAI,mBAAmB,kBAAkB,oBAAoB;EACnE,KAAK,SAAS,OAAO;EACrB,KAAK,SAAS,OAAO;EACrB,GAAG,UAAU,QAAQ,SAAS,IAAI;EAClC,GAAG,UAAU,SAAS,SAAS,KAAK;CACrC,CAAC;AACF"}
@@ -407,6 +407,11 @@ interface MigrationOperationSubject {
407
407
  readonly operationIndex: number;
408
408
  readonly subject: MigrationSubject;
409
409
  }
410
+ /** An operation that loses the data of its subject. */
411
+ interface MigrationDataLoss extends MigrationOperationSubject {
412
+ /** How to keep the data instead, in the target's words, when no statement can say so. */
413
+ readonly keepDataAdvice?: string;
414
+ }
410
415
  /** An operation that changes who can read or write the rows of its subject. */
411
416
  interface MigrationAccessChange extends MigrationOperationSubject {
412
417
  /**
@@ -416,7 +421,7 @@ interface MigrationAccessChange extends MigrationOperationSubject {
416
421
  readonly widens: boolean;
417
422
  }
418
423
  /** What the operations of a plan lose and whose access they change, each by its position in the plan. */
419
- interface MigrationPlanSubjects<TEntry extends MigrationOperationSubject = MigrationOperationSubject, TAccess extends MigrationAccessChange = MigrationAccessChange> {
424
+ interface MigrationPlanSubjects<TEntry extends MigrationOperationSubject = MigrationDataLoss, TAccess extends MigrationAccessChange = MigrationAccessChange> {
420
425
  /** Each operation that loses data, in plan order, with what it loses. */
421
426
  readonly dataLoss: readonly TEntry[];
422
427
  /** Each operation that changes who can read or write data, in plan order, with what it is about. */
@@ -1018,15 +1023,6 @@ interface MigrationRunner<TFamilyId extends string = string, TTargetId extends s
1018
1023
  interface TargetMigrationsCapability<TFamilyId extends string = string, TTargetId extends string = string, TFamilyInstance extends ControlFamilyInstance<TFamilyId, unknown> = ControlFamilyInstance<TFamilyId, unknown>> {
1019
1024
  createPlanner(adapter: ControlAdapterInstance<TFamilyId, TTargetId>): MigrationPlanner<TFamilyId, TTargetId>;
1020
1025
  createRunner(family: TFamilyInstance): MigrationRunner<TFamilyId, TTargetId>;
1021
- /**
1022
- * Set when the target's planner carries out no rename statement: a data-loss question then
1023
- * offers no rename, and says instead how to keep the data by hand.
1024
- */
1025
- readonly renameStatements?: {
1026
- readonly refused: true;
1027
- /** How to keep the data of `subject` by hand, so that the plan made afterwards loses nothing. */
1028
- readonly keepDataByHand: (subject: MigrationSubject, fromContract: ContractWithDomain) => string;
1029
- };
1030
1026
  /**
1031
1027
  * Synthesizes a family-specific schema IR from a contract for offline planning.
1032
1028
  * The returned schema can be passed to `planner.plan({ schema })` as the "from" state.
@@ -1681,5 +1677,5 @@ type VerifierIssueCategory = 'declaredMissing' | 'declaredIncompatible' | 'value
1681
1677
  */
1682
1678
  declare function dispositionForCategory(controlPolicy: ControlPolicy, category: VerifierIssueCategory): VerifierOutcome;
1683
1679
  //#endregion
1684
- export { MigrationScaffoldContext as $, createControlStack as $t, MigratableTargetDescriptor as A, SchemaViewCapable as At, MigrationPlanWithAuthoringSurface as B, VERIFY_CODE_TARGET_MISMATCH as Bt, DiffableNode as C, storageHashHex as Cn, SchemaSubjectClassifierCapable as Ct, FieldCoordinateJson as D, SchemaVerifier as Dt, FieldCoordinate as E, SchemaTreeVisitor as Et, MigrationOperationSubject as F, SpaceToSign as Ft, MigrationPlannerSuccessResult as G, VerifyDatabaseSchemaResult as Gt, MigrationPlannerConflict as H, VerifierIssueCategory as Ht, MigrationPackage as I, TargetMigrationsCapability as It, MigrationRunnerFailure as J, assembleControlMutationDefaults as Jt, MigrationRunner as K, assembleAuthoringContributions as Kt, MigrationPlan as L, VERIFY_CODE_HASH_MISMATCH as Lt, MigrationMetadata as M, SpaceMarkerConflict as Mt, MigrationOperationClass as N, SpaceSignature as Nt, IntrospectSchemaResult as O, SchemaVerifyOptions as Ot, MigrationOperationPolicy as P, SpaceSigned as Pt, MigrationRunnerSuccessValue as Q, contractSnapshotTypesSpecifier as Qt, MigrationPlanOperation as R, VERIFY_CODE_MARKER_MISSING as Rt, DiffSubjectGranularity as S, sameMarkerHashes as Sn, SchemaOwnership as St, ExpectationFailureReason as T, SchemaTreeNodeOptions as Tt, MigrationPlannerFailureResult as U, VerifierOutcome as Ut, MigrationPlanner as V, VerificationStatus as Vt, MigrationPlannerResult as W, VerifyDatabaseResult as Wt, MigrationRunnerPerSpaceSuccessValue as X, buildExtensionLoadOrder as Xt, MigrationRunnerPerSpaceOptions as Y, assertUniqueCodecOwner as Yt, MigrationRunnerResult as Z, contractSnapshotJsonSpecifier as Zt, ControlTargetDescriptor as _, migrationSubjectJson as _n, ResolvedModelRenameStatement as _t, ContractSerializer as a, extractCodecTypeImports as an, OpFactoryCall as at, CreateControlStackInput as b, orderIssuesByDependencies as bn, SchemaEntityCoordinate as bt, ControlAdapterDescriptor as c, hasMigrations as cn, OperationPreviewCapable as ct, ControlDriverInstance as d, hasPslContractInfer as dn, PslContractBuildCapable as dt, describeMigrationStatement as en, MigrationStatementJson as et, ControlExtensionDescriptor as f, hasSchemaSubjectClassifier as fn, PslContractDocument as ft, ControlStack as g, migrationStatementJson as gn, ResolvedMigrationStatement as gt, ControlFamilyInstance as h, issueOutcome as hn, ResolvedFieldRenameStatement as ht, CONTRACT_SNAPSHOTS_DIRNAME as i, extractCodecLookup as in, ModelCoordinateJson as it, MigrationAccessChange as j, SchemaViewNodeKind as jt, MarkerHashes as k, SchemaVerifyResult as kt, ControlAdapterInstance as l, hasOperationPreview as ln, OperationPreviewStatement as lt, ControlFamilyDescriptor as m, isStorageHashHex as mn, PslSourceSettings as mt, AppliedMigrationStatement as n, dispositionForCategory as nn, MigrationSubjectJson as nt, ContractSpace as o, extractComponentIds as on, OperationContext as ot, ControlExtensionInstance as p, hasSchemaView as pn, PslContractInferCapable as pt, MigrationRunnerExecutionChecks as q, assembleAuthoringDataTypes as qt, AssembledAuthoringContributions as r, enforceDataTypeInvariants as rn, ModelCoordinate as rt, ContractSpaceHeadRef as s, extractQueryOperationTypeImports as sn, OperationPreview as st, APP_SPACE_ID as t, diffSchemas as tn, MigrationSubject as tt, ControlDriverDescriptor as u, hasPslContractBuild as un, PlanOrigin as ut, ControlTargetInstance as v, migrationSubjectKey as vn, SchemaDiff as vt, EmitContractResult as w, SchemaTreeNode as wt, DataTypeInvariantInput as x, planOriginOf as xn, SchemaNodeRef as xt, CoreSchemaView as y, modelDisplayName as yn, SchemaDiffIssue as yt, MigrationPlanSubjects as z, VERIFY_CODE_SCHEMA_FAILURE as zt };
1685
- //# sourceMappingURL=control-DsRyU-u2.d.mts.map
1680
+ export { MigrationRunnerSuccessValue as $, contractSnapshotTypesSpecifier as $t, MigratableTargetDescriptor as A, SchemaVerifyResult as At, MigrationPlanSubjects as B, VERIFY_CODE_SCHEMA_FAILURE as Bt, DiffableNode as C, sameMarkerHashes as Cn, SchemaOwnership as Ct, FieldCoordinateJson as D, SchemaTreeVisitor as Dt, FieldCoordinate as E, SchemaTreeNodeOptions as Et, MigrationOperationPolicy as F, SpaceSigned as Ft, MigrationPlannerResult as G, VerifyDatabaseResult as Gt, MigrationPlanner as H, VerificationStatus as Ht, MigrationOperationSubject as I, SpaceToSign as It, MigrationRunnerExecutionChecks as J, assembleAuthoringDataTypes as Jt, MigrationPlannerSuccessResult as K, VerifyDatabaseSchemaResult as Kt, MigrationPackage as L, TargetMigrationsCapability as Lt, MigrationDataLoss as M, SchemaViewNodeKind as Mt, MigrationMetadata as N, SpaceMarkerConflict as Nt, IntrospectSchemaResult as O, SchemaVerifier as Ot, MigrationOperationClass as P, SpaceSignature as Pt, MigrationRunnerResult as Q, contractSnapshotJsonSpecifier as Qt, MigrationPlan as R, VERIFY_CODE_HASH_MISMATCH as Rt, DiffSubjectGranularity as S, planOriginOf as Sn, SchemaNodeRef as St, ExpectationFailureReason as T, SchemaTreeNode as Tt, MigrationPlannerConflict as U, VerifierIssueCategory as Ut, MigrationPlanWithAuthoringSurface as V, VERIFY_CODE_TARGET_MISMATCH as Vt, MigrationPlannerFailureResult as W, VerifierOutcome as Wt, MigrationRunnerPerSpaceOptions as X, assertUniqueCodecOwner as Xt, MigrationRunnerFailure as Y, assembleControlMutationDefaults as Yt, MigrationRunnerPerSpaceSuccessValue as Z, buildExtensionLoadOrder as Zt, ControlTargetDescriptor as _, migrationStatementJson as _n, ResolvedMigrationStatement as _t, ContractSerializer as a, extractCodecLookup as an, ModelCoordinateJson as at, CreateControlStackInput as b, modelDisplayName as bn, SchemaDiffIssue as bt, ControlAdapterDescriptor as c, extractQueryOperationTypeImports as cn, OperationPreview as ct, ControlDriverInstance as d, hasPslContractBuild as dn, PlanOrigin as dt, createControlStack as en, MigrationScaffoldContext as et, ControlExtensionDescriptor as f, hasPslContractInfer as fn, PslContractBuildCapable as ft, ControlStack as g, issueOutcome as gn, ResolvedFieldRenameStatement as gt, ControlFamilyInstance as h, isStorageHashHex as hn, PslSourceSettings as ht, CONTRACT_SNAPSHOTS_DIRNAME as i, enforceDataTypeInvariants as in, ModelCoordinate as it, MigrationAccessChange as j, SchemaViewCapable as jt, MarkerHashes as k, SchemaVerifyOptions as kt, ControlAdapterInstance as l, hasMigrations as ln, OperationPreviewCapable as lt, ControlFamilyDescriptor as m, hasSchemaView as mn, PslContractInferCapable as mt, AppliedMigrationStatement as n, diffSchemas as nn, MigrationSubject as nt, ContractSpace as o, extractCodecTypeImports as on, OpFactoryCall as ot, ControlExtensionInstance as p, hasSchemaSubjectClassifier as pn, PslContractDocument as pt, MigrationRunner as q, assembleAuthoringContributions as qt, AssembledAuthoringContributions as r, dispositionForCategory as rn, MigrationSubjectJson as rt, ContractSpaceHeadRef as s, extractComponentIds as sn, OperationContext as st, APP_SPACE_ID as t, describeMigrationStatement as tn, MigrationStatementJson as tt, ControlDriverDescriptor as u, hasOperationPreview as un, OperationPreviewStatement as ut, ControlTargetInstance as v, migrationSubjectJson as vn, ResolvedModelRenameStatement as vt, EmitContractResult as w, storageHashHex as wn, SchemaSubjectClassifierCapable as wt, DataTypeInvariantInput as x, orderIssuesByDependencies as xn, SchemaEntityCoordinate as xt, CoreSchemaView as y, migrationSubjectKey as yn, SchemaDiff as yt, MigrationPlanOperation as z, VERIFY_CODE_MARKER_MISSING as zt };
1681
+ //# sourceMappingURL=control-DOgahg69.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-DOgahg69.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA+BU,mBAAmB;;;;;;;;;;;;EAY3B,oBAAoB,UAAU,YAAY,WAAW,gBAAgB;;;;;;;;;;EAUrE,kBAAkB,UAAU,YAAY;;;;;;;;WAQ/B,sBAAsB;;;;;;;;WAQ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,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,5 +1,5 @@
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-DhWsAbYJ-CrtxR4UW.mjs";
2
- import "./control-JlpGbz6x.mjs";
3
- import { a as errorMarkerRowCorrupt, c as errorSchemaVerificationFailed, d as rethrowMarkerReadError, f as withMarkerReadErrorHandling, i as errorMarkerRequired, l as errorTargetMismatch, n as errorMarkerMissing, o as errorRunnerFailed, r as errorMarkerReadFailed, s as errorRuntime, t as errorHashMismatch, u as parseMarkerRowSafely } from "./execution-CodDd-o0.mjs";
4
- import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-IPciO0V7.mjs";
5
- export { type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, unfilledPlaceholderOperation, withMarkerReadErrorHandling };
1
+ import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-C11hV6zc-CmvCmO2f.mjs";
2
+ import "./control-9n-RIQmw.mjs";
3
+ import { a as errorMarkerRowCorrupt, c as errorSchemaVerificationFailed, d as rethrowMarkerReadError, f as withMarkerReadErrorHandling, i as errorMarkerRequired, l as errorTargetMismatch, n as errorMarkerMissing, o as errorRunnerFailed, r as errorMarkerReadFailed, s as errorRuntime, t as errorHashMismatch, u as parseMarkerRowSafely } from "./execution-CjxzAKhc.mjs";
4
+ import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-JAgA63Ce.mjs";
5
+ export { type CheckedMigrationConfig, type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, unfilledPlaceholderOperation, withMarkerReadErrorHandling };
package/dist/errors.mjs CHANGED
@@ -1,4 +1,4 @@
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-C4Q85sT5-Dv75I30R.mjs";
2
- import { a as errorMarkerRowCorrupt, c as errorSchemaVerificationFailed, d as rethrowMarkerReadError, f as withMarkerReadErrorHandling, i as errorMarkerRequired, l as errorTargetMismatch, n as errorMarkerMissing, o as errorRunnerFailed, r as errorMarkerReadFailed, s as errorRuntime, t as errorHashMismatch, u as parseMarkerRowSafely } from "./execution-C19mSmeN.mjs";
3
- import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-BBoKodRM.mjs";
4
- export { CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, unfilledPlaceholderOperation, withMarkerReadErrorHandling };
1
+ import { C as errorUnexpected, S as errorTargetMigrationNotSupported, _ as errorMigrationCliInvalidConfigArg, a as errorConfigVersionMarkerMissing, b as errorOutputFormatMutex, c as errorContractValidationFailed, d as errorEnumCodecNotInPackStack, f as errorFamilyReadMarkerSqlRequired, g as errorMigrationCliConfigNotFound, 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 errorMigrationCliUnknownFlag, x as errorQueryRunnerFactoryRequired, y as errorMigrationPlanningFailed } from "./control-CVGlbj6c-Diz54IbU.mjs";
2
+ import { a as errorMarkerRowCorrupt, c as errorSchemaVerificationFailed, d as rethrowMarkerReadError, f as withMarkerReadErrorHandling, i as errorMarkerRequired, l as errorTargetMismatch, n as errorMarkerMissing, o as errorRunnerFailed, r as errorMarkerReadFailed, s as errorRuntime, t as errorHashMismatch, u as parseMarkerRowSafely } from "./execution-DVjTAxDI.mjs";
3
+ import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-DvxSQrJW.mjs";
4
+ export { CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, unfilledPlaceholderOperation, withMarkerReadErrorHandling };
@@ -1,3 +1,3 @@
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-DhWsAbYJ-CrtxR4UW.mjs";
2
- import "./control-JlpGbz6x.mjs";
3
- export { type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationPlanningFailed, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorTargetMigrationNotSupported, errorUnexpected };
1
+ import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-C11hV6zc-CmvCmO2f.mjs";
2
+ import "./control-9n-RIQmw.mjs";
3
+ export { type CheckedMigrationConfig, type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationPlanningFailed, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorTargetMigrationNotSupported, errorUnexpected };
@@ -1,2 +1,2 @@
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-C4Q85sT5-Dv75I30R.mjs";
2
- export { CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationPlanningFailed, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorTargetMigrationNotSupported, errorUnexpected };
1
+ import { C as errorUnexpected, S as errorTargetMigrationNotSupported, _ as errorMigrationCliInvalidConfigArg, a as errorConfigVersionMarkerMissing, b as errorOutputFormatMutex, c as errorContractValidationFailed, d as errorEnumCodecNotInPackStack, f as errorFamilyReadMarkerSqlRequired, g as errorMigrationCliConfigNotFound, 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 errorMigrationCliUnknownFlag, x as errorQueryRunnerFactoryRequired, y as errorMigrationPlanningFailed } from "./control-CVGlbj6c-Diz54IbU.mjs";
2
+ export { CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationPlanningFailed, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorTargetMigrationNotSupported, errorUnexpected };
@@ -1,2 +1,2 @@
1
- import { a as errorMarkerRowCorrupt, c as errorSchemaVerificationFailed, d as rethrowMarkerReadError, f as withMarkerReadErrorHandling, i as errorMarkerRequired, l as errorTargetMismatch, n as errorMarkerMissing, o as errorRunnerFailed, r as errorMarkerReadFailed, s as errorRuntime, t as errorHashMismatch, u as parseMarkerRowSafely } from "./execution-CodDd-o0.mjs";
1
+ import { a as errorMarkerRowCorrupt, c as errorSchemaVerificationFailed, d as rethrowMarkerReadError, f as withMarkerReadErrorHandling, i as errorMarkerRequired, l as errorTargetMismatch, n as errorMarkerMissing, o as errorRunnerFailed, r as errorMarkerReadFailed, s as errorRuntime, t as errorHashMismatch, u as parseMarkerRowSafely } from "./execution-CjxzAKhc.mjs";
2
2
  export { errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
@@ -1,2 +1,2 @@
1
- import { a as errorMarkerRowCorrupt, c as errorSchemaVerificationFailed, d as rethrowMarkerReadError, f as withMarkerReadErrorHandling, i as errorMarkerRequired, l as errorTargetMismatch, n as errorMarkerMissing, o as errorRunnerFailed, r as errorMarkerReadFailed, s as errorRuntime, t as errorHashMismatch, u as parseMarkerRowSafely } from "./execution-C19mSmeN.mjs";
1
+ import { a as errorMarkerRowCorrupt, c as errorSchemaVerificationFailed, d as rethrowMarkerReadError, f as withMarkerReadErrorHandling, i as errorMarkerRequired, l as errorTargetMismatch, n as errorMarkerMissing, o as errorRunnerFailed, r as errorMarkerReadFailed, s as errorRuntime, t as errorHashMismatch, u as parseMarkerRowSafely } from "./execution-DVjTAxDI.mjs";
2
2
  export { errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
@@ -1,2 +1,2 @@
1
- import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-IPciO0V7.mjs";
1
+ import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-JAgA63Ce.mjs";
2
2
  export { errorDataTransformContractMismatch, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationTargetMismatch, errorUnfilledPlaceholder, placeholder, unfilledPlaceholderOperation };
@@ -1,2 +1,2 @@
1
- import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-BBoKodRM.mjs";
1
+ import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-DvxSQrJW.mjs";
2
2
  export { errorDataTransformContractMismatch, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationTargetMismatch, errorUnfilledPlaceholder, placeholder, unfilledPlaceholderOperation };
@@ -1,6 +1,6 @@
1
- import { Gt as VerifyDatabaseSchemaResult, yt as SchemaDiffIssue } from "./control-DsRyU-u2.mjs";
1
+ import { Kt as VerifyDatabaseSchemaResult, bt as SchemaDiffIssue } from "./control-DOgahg69.mjs";
2
2
  import { i as NextAction, r as Diagnostic } from "./structured-error-Cc7AIRsp.mjs";
3
- import { r as CliStructuredError } from "./control-DhWsAbYJ-CrtxR4UW.mjs";
3
+ import { i as CliStructuredError } from "./control-C11hV6zc-CmvCmO2f.mjs";
4
4
  //#region ../../../1-framework/1-core/errors/dist/execution.d.mts
5
5
  //#region src/execution.d.ts
6
6
  /**
@@ -93,4 +93,4 @@ declare function errorRuntime(code: `${string}.${string}`, summary: string, opti
93
93
  }): CliStructuredError;
94
94
  //#endregion
95
95
  export { errorMarkerRowCorrupt as a, errorSchemaVerificationFailed as c, rethrowMarkerReadError as d, withMarkerReadErrorHandling as f, errorMarkerRequired as i, errorTargetMismatch as l, errorMarkerMissing as n, errorRunnerFailed as o, errorMarkerReadFailed as r, errorRuntime as s, errorHashMismatch as t, parseMarkerRowSafely as u };
96
- //# sourceMappingURL=execution-CodDd-o0.d.mts.map
96
+ //# sourceMappingURL=execution-CjxzAKhc.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"execution-CodDd-o0.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;;;;iBAIa,aAAa,6BAA6B,iBAAiB;WACjE;WACA;WACA,uBAAuB;WACvB,OAAO;WACP;IACP"}
1
+ {"version":3,"file":"execution-CjxzAKhc.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;;;;iBAIa,aAAa,6BAA6B,iBAAiB;WACjE;WACA;WACA,uBAAuB;WACvB,OAAO;WACP;IACP"}
@@ -1,6 +1,6 @@
1
1
  import { t as ifDefined } from "./defined-BQWA85QH-BRSBMULx.mjs";
2
2
  import { i as isStructuredError } from "./structured-error-BXbihKQ-.mjs";
3
- import { t as CliStructuredError } from "./control-C4Q85sT5-Dv75I30R.mjs";
3
+ import { t as CliStructuredError } from "./control-CVGlbj6c-Diz54IbU.mjs";
4
4
  //#region ../../../1-framework/1-core/errors/dist/execution.mjs
5
5
  /**
6
6
  * Contract marker not found in database.
@@ -193,4 +193,4 @@ function errorRuntime(code, summary, options) {
193
193
  //#endregion
194
194
  export { errorMarkerRowCorrupt as a, errorSchemaVerificationFailed as c, rethrowMarkerReadError as d, withMarkerReadErrorHandling as f, errorMarkerRequired as i, errorTargetMismatch as l, errorMarkerMissing as n, errorRunnerFailed as o, errorMarkerReadFailed as r, errorRuntime as s, errorHashMismatch as t, parseMarkerRowSafely as u };
195
195
 
196
- //# sourceMappingURL=execution-C19mSmeN.mjs.map
196
+ //# sourceMappingURL=execution-DVjTAxDI.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"execution-C19mSmeN.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.mjs"],"sourcesContent":["import { t as CliStructuredError } from \"./control-C4Q85sT5.mjs\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { isStructuredError } from \"@internal/utils/structured-error\";\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 `{bin} 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 \\`{bin} 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 isDriverError(err) {\n\treturn isStructuredError(err) && err.code.startsWith(\"DRIVER.\");\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 8 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 \\`{bin} 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 `{bin} 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) || isDriverError(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 `{bin} 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 `{bin} 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/**\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(\"diagnostics\", options?.diagnostics),\n\t\t...ifDefined(\"meta\", options?.meta),\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n//#endregion\nexport { errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };\n\n//# sourceMappingURL=execution.mjs.map"],"mappings":";;;;;;;AAOA,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,OAA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;EACV,GAAG;GACF,MAAM;GACN,OAAO;EACR,CAAC;EACD,MAAM;GACL,oBAAoB,QAAQ;GAC5B,GAAG,UAAU,UAAU,QAAQ,MAAM;EACtC;CACD,CAAC;AACF;;;;AAIA,SAAS,kBAAkB,SAAS,SAAS;CAC5C,OAAO,IAAI,mBAAmB,2BAA2B,SAAS;EACjE,KAAK,SAAS,OAAO;EACrB,KAAK,SAAS,OAAO;EACrB,GAAG,UAAU,eAAe,SAAS,WAAW;EAChD,GAAG,SAAS,OAAO,EAAE,MAAM,QAAQ,KAAK,IAAI,CAAC;EAC7C,GAAG,UAAU,SAAS,SAAS,KAAK;CACrC,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,eAAe,SAAS,WAAW;EAChD,GAAG,UAAU,QAAQ,SAAS,IAAI;EAClC,GAAG,UAAU,SAAS,SAAS,KAAK;CACrC,CAAC;AACF"}
1
+ {"version":3,"file":"execution-DVjTAxDI.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.mjs"],"sourcesContent":["import { t as CliStructuredError } from \"./control-CVGlbj6c.mjs\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { isStructuredError } from \"@internal/utils/structured-error\";\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 `{bin} 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 \\`{bin} 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 isDriverError(err) {\n\treturn isStructuredError(err) && err.code.startsWith(\"DRIVER.\");\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 8 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 \\`{bin} 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 `{bin} 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) || isDriverError(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 `{bin} 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 `{bin} 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/**\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(\"diagnostics\", options?.diagnostics),\n\t\t...ifDefined(\"meta\", options?.meta),\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n//#endregion\nexport { errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRunnerFailed, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };\n\n//# sourceMappingURL=execution.mjs.map"],"mappings":";;;;;;;AAOA,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,KAA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EACD,MAAM;GACL,oBAAoB,QAAQ;GAC5B,GAAG,UAAU,UAAU,QAAQ,MAAM;EACtC;CACD,CAAC;AACF;;;;AAIA,SAAS,kBAAkB,SAAS,SAAS;CAC5C,OAAO,IAAI,mBAAmB,2BAA2B,SAAS;EACjE,KAAK,SAAS,OAAO;EACrB,KAAK,SAAS,OAAO;EACrB,GAAG,UAAU,eAAe,SAAS,WAAW;EAChD,GAAG,SAAS,OAAO,EAAE,MAAM,QAAQ,KAAK,IAAI,CAAC;EAC7C,GAAG,UAAU,SAAS,SAAS,KAAK;CACrC,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,eAAe,SAAS,WAAW;EAChD,GAAG,UAAU,QAAQ,SAAS,IAAI;EAClC,GAAG,UAAU,SAAS,SAAS,KAAK;CACrC,CAAC;AACF"}
@@ -1,4 +1,4 @@
1
- import { t as CliStructuredError } from "./control-C4Q85sT5-Dv75I30R.mjs";
1
+ import { t as CliStructuredError } from "./control-CVGlbj6c-Diz54IbU.mjs";
2
2
  //#region ../../../1-framework/1-core/errors/dist/migration.mjs
3
3
  /**
4
4
  * A scaffolded migration contains a placeholder slot that was never filled in.
@@ -151,4 +151,4 @@ function errorMigrationOperationOptionRemoved(options) {
151
151
  //#endregion
152
152
  export { errorMigrationPlanNotArray as a, placeholder as c, errorMigrationOperationOptionRemoved as i, unfilledPlaceholderOperation as l, errorMigrationFileMissing as n, errorMigrationTargetMismatch as o, errorMigrationInvalidDefaultExport as r, errorUnfilledPlaceholder as s, errorDataTransformContractMismatch as t };
153
153
 
154
- //# sourceMappingURL=migration-BBoKodRM.mjs.map
154
+ //# sourceMappingURL=migration-DvxSQrJW.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"migration-BBoKodRM.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/migration.mjs"],"sourcesContent":["import { t as CliStructuredError } from \"./control-C4Q85sT5.mjs\";\n//#region src/migration.ts\n/**\n* A scaffolded migration contains a placeholder slot that was never filled in.\n*\n* Thrown at emit time (when `check.source()` or `run()` is invoked) via the\n* `placeholder(...)` utility. The `slot` identifies the exact location the\n* author still needs to edit, e.g. `\"backfill-product-status:check.source\"`.\n*/\nfunction errorUnfilledPlaceholder(slot) {\n\treturn new CliStructuredError(\"MIGRATION.UNFILLED_PLACEHOLDER\", \"Unfilled migration placeholder\", {\n\t\twhy: `The migration contains a placeholder that has not been filled in: ${slot}`,\n\t\tfix: \"Open migration.ts and replace the `placeholder(...)` call with your actual query.\",\n\t\tmeta: { slot }\n\t});\n}\n/**\n* The operation of a planner-stubbed data transform: a promise that rejects with\n* `MIGRATION.UNFILLED_PLACEHOLDER`. A plan's other operations stay readable beside it. The\n* rejection is marked handled, and so is any promise a target wraps it in, so reading a plan's\n* operations without awaiting each one does not raise an unhandled rejection.\n*/\nfunction unfilledPlaceholderOperation(slot) {\n\tconst operation = Promise.reject(errorUnfilledPlaceholder(slot));\n\toperation.catch(() => void 0);\n\treturn operation;\n}\n/**\n* Scaffolded `migration.ts` files call this wherever the scaffolder couldn't\n* emit a real query and the author is expected to fill one in. Always throws\n* a structured migration error (`MIGRATION.UNFILLED_PLACEHOLDER`).\n*\n* The return type `never` makes it assignable to any expected return type, so\n* a scaffolded `() => placeholder('...')` satisfies signatures like\n* `() => MongoQueryPlan` without polluting them with a sentinel union arm.\n*/\nfunction placeholder(slot) {\n\tthrow errorUnfilledPlaceholder(slot);\n}\n/**\n* A `dataTransform(endContract, …)` factory was handed a `SqlQueryPlan` whose\n* `meta.storageHash` does not match the `endContract.storage.storageHash` it\n* was configured with. This almost always means the user's query-builder\n* (`sql({ context: createExecutionContext({ contract: endContract, … }) })`)\n* was instantiated from a different contract reference than the one passed\n* to `dataTransform(endContract, …)`.\n*\n* Distinct from `errorHashMismatch` (`CONTRACT.MARKER_MISMATCH`) which\n* rejects a plan at runtime execution; this is an authoring-time rejection\n* so it lives in the `MIGRATION` namespace.\n*/\nfunction errorDataTransformContractMismatch(options) {\n\treturn new CliStructuredError(\"MIGRATION.DATA_TRANSFORM_CONTRACT_MISMATCH\", \"dataTransform query plan built against wrong contract\", {\n\t\twhy: `Data transform \"${options.dataTransformName}\" produced a query plan whose storage hash (${options.actual}) does not match the migration's contract (${options.expected}). The query builder was configured with a different contract than the one passed to dataTransform(endContract, ...).`,\n\t\tfix: \"Ensure the `endContract` imported at module scope (used for both `dataTransform(endContract, …)` and `sql({ context: createExecutionContext({ contract: endContract, … }) })`) is the same reference.\",\n\t\tmeta: {\n\t\t\tdataTransformName: options.dataTransformName,\n\t\t\texpected: options.expected,\n\t\t\tactual: options.actual\n\t\t}\n\t});\n}\n/**\n* `migration.ts` was expected at the given package directory but could not be\n* located. Thrown when consumers attempt to read a migration package that is\n* missing its source file.\n*/\nfunction errorMigrationFileMissing(dir) {\n\treturn new CliStructuredError(\"MIGRATION.FILE_MISSING\", \"migration.ts not found\", {\n\t\twhy: `No migration.ts file was found at \"${dir}\"`,\n\t\tfix: \"Scaffold one with `{bin} migration new` or `{bin} migration plan`.\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Scaffold an empty migration\",\n\t\t\tcommand: \"{bin} migration new\"\n\t\t}, {\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Scaffold a migration from a contract diff\",\n\t\t\tcommand: \"{bin} migration plan\"\n\t\t}],\n\t\tmeta: { dir }\n\t});\n}\n/**\n* The `migration.ts` at the given package directory does not default-export a\n* valid migration shape. Two shapes are accepted: a `Migration` subclass, or a\n* factory function returning a `MigrationPlan`-shaped object (with at least\n* an `operations` array, plus `targetId` and `destination`). Thrown when the\n* default export is missing, is not a constructor/function, does not extend\n* `Migration`, or (for factory functions) returns a value that is not\n* `MigrationPlan`-shaped.\n*/\nfunction errorMigrationInvalidDefaultExport(dir, actualExportDescription) {\n\treturn new CliStructuredError(\"MIGRATION.INVALID_DEFAULT_EXPORT\", \"migration.ts default export is not a valid migration\", {\n\t\twhy: actualExportDescription !== void 0 ? `migration.ts at \"${dir}\" must default-export a Migration subclass or a factory function returning a MigrationPlan-shaped object; got ${actualExportDescription}` : `migration.ts at \"${dir}\" must default-export a Migration subclass or a factory function returning a MigrationPlan-shaped object.`,\n\t\tfix: \"Use `export default class extends Migration { ... }` or `export default () => ({ targetId, destination, operations })`.\",\n\t\tmeta: {\n\t\t\tdir,\n\t\t\t...actualExportDescription !== void 0 ? { actualExport: actualExportDescription } : {}\n\t\t}\n\t});\n}\n/**\n* The migration class declares one `targetId` but the loaded\n* `prisma.config.ts` declares another. Thrown by `MigrationCLI.run`\n* when a migration script is invoked against a config whose target\n* descriptor disagrees with the migration's own `targetId`. Distinct from generic\n* config-validation errors because the mismatch is between two valid\n* artifacts (the script and the config), not a malformed input.\n*/\nfunction errorMigrationTargetMismatch(options) {\n\treturn new CliStructuredError(\"MIGRATION.TARGET_MISMATCH\", \"Migration target does not match config target\", {\n\t\twhy: `This migration is for target \"${options.migrationTargetId}\" but the loaded prisma.config.ts declares target \"${options.configTargetId}\". The migration script can only be run against a config that targets the same database.`,\n\t\tfix: \"Switch to a config whose `target` matches the migration's target, or pass `--config <path>` to point at the right config file.\",\n\t\tmeta: {\n\t\t\tmigrationTargetId: options.migrationTargetId,\n\t\t\tconfigTargetId: options.configTargetId\n\t\t}\n\t});\n}\n/**\n* A `Migration.operations` getter returned a value that is not an array. Used\n* by emit capabilities after instantiating the authored migration.\n*/\nfunction errorMigrationPlanNotArray(dir, actualValueDescription) {\n\treturn new CliStructuredError(\"MIGRATION.PLAN_NOT_ARRAY\", \"Migration.operations must be an array of operations\", {\n\t\twhy: actualValueDescription !== void 0 ? `Migration.operations for migration.ts at \"${dir}\" was ${actualValueDescription}; an array of operations is required.` : `Migration.operations for migration.ts at \"${dir}\" is not an array of operations.`,\n\t\tfix: \"Ensure your `operations` getter returns an array of operations; see the data-migrations authoring guide.\",\n\t\tmeta: {\n\t\t\tdir,\n\t\t\t...actualValueDescription !== void 0 ? { actualValue: actualValueDescription } : {}\n\t\t}\n\t});\n}\nconst UPGRADE_GUIDES_URL = \"https://github.com/prisma/orm/tree/main/skills/prisma-8/upgrading\";\n/**\n* A `migration.ts` passes an operation an option in the form an earlier version wrote, which this version no longer reads. `node migration.ts` strips types without checking them, so such a file runs; the operation refuses the option rather than leave out what it carries. `subject` names what the option was for, `rewrite` says how to write it now, and `upgradeEntry` is the id of the upgrade entry that shows the new form.\n*/\nfunction errorMigrationOperationOptionRemoved(options) {\n\tconst { operation, option, upgradeEntry } = options;\n\treturn new CliStructuredError(\"MIGRATION.OPERATION_OPTION_REMOVED\", `\\`${operation}\\` in migration.ts passes \\`${option}\\`, which this version no longer reads, for ${options.subject}`, {\n\t\twhy: \"An earlier version wrote this migration.ts. `node migration.ts` does not check its types, so the file runs, and this version would leave out what the option carries.\",\n\t\tfix: `${options.rewrite} Or, if the migration is not applied, delete its package and run \\`migration plan\\` again. The upgrade entry \\`${upgradeEntry}\\` shows the new shape: ${UPGRADE_GUIDES_URL}`,\n\t\tmeta: {\n\t\t\toperation,\n\t\t\toption,\n\t\t\tupgradeEntry\n\t\t}\n\t});\n}\n//#endregion\nexport { errorDataTransformContractMismatch, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationTargetMismatch, errorUnfilledPlaceholder, placeholder, unfilledPlaceholderOperation };\n\n//# sourceMappingURL=migration.mjs.map"],"mappings":";;;;;;;;;AASA,SAAS,yBAAyB,MAAM;CACvC,OAAO,IAAI,mBAAmB,kCAAkC,kCAAkC;EACjG,KAAK,qEAAqE;EAC1E,KAAK;EACL,MAAM,EAAE,KAAK;CACd,CAAC;AACF;;;;;;;AAOA,SAAS,6BAA6B,MAAM;CAC3C,MAAM,YAAY,QAAQ,OAAO,yBAAyB,IAAI,C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,uDAAuD;EAChH,KAAK,2BAA2B,KAAK,IAAI,6CAA6C,IAAI,QAAQ,uBAAuB,yCAAyC,6CAA6C,IAAI;EACnN,KAAK;EACL,MAAM;GACL;GACA,GAAG,2BAA2B,KAAK,IAAI,EAAE,aAAa,uBAAuB,IAAI,CAAC;EACnF;CACD,CAAC;AACF;AACA,MAAM,qBAAqB;;;;AAI3B,SAAS,qCAAqC,SAAS;CACtD,MAAM,EAAE,WAAW,QAAQ,iBAAiB;CAC5C,OAAO,IAAI,mBAAmB,sCAAsC,KAAK,UAAU,8BAA8B,OAAO,8CAA8C,QAAQ,WAAW;EACxL,KAAK;EACL,KAAK,GAAG,QAAQ,QAAQ,iHAAiH,aAAa,0BAA0B;EAChL,MAAM;GACL;GACA;GACA;EACD;CACD,CAAC;AACF"}
1
+ {"version":3,"file":"migration-DvxSQrJW.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/migration.mjs"],"sourcesContent":["import { t as CliStructuredError } from \"./control-CVGlbj6c.mjs\";\n//#region src/migration.ts\n/**\n* A scaffolded migration contains a placeholder slot that was never filled in.\n*\n* Thrown at emit time (when `check.source()` or `run()` is invoked) via the\n* `placeholder(...)` utility. The `slot` identifies the exact location the\n* author still needs to edit, e.g. `\"backfill-product-status:check.source\"`.\n*/\nfunction errorUnfilledPlaceholder(slot) {\n\treturn new CliStructuredError(\"MIGRATION.UNFILLED_PLACEHOLDER\", \"Unfilled migration placeholder\", {\n\t\twhy: `The migration contains a placeholder that has not been filled in: ${slot}`,\n\t\tfix: \"Open migration.ts and replace the `placeholder(...)` call with your actual query.\",\n\t\tmeta: { slot }\n\t});\n}\n/**\n* The operation of a planner-stubbed data transform: a promise that rejects with\n* `MIGRATION.UNFILLED_PLACEHOLDER`. A plan's other operations stay readable beside it. The\n* rejection is marked handled, and so is any promise a target wraps it in, so reading a plan's\n* operations without awaiting each one does not raise an unhandled rejection.\n*/\nfunction unfilledPlaceholderOperation(slot) {\n\tconst operation = Promise.reject(errorUnfilledPlaceholder(slot));\n\toperation.catch(() => void 0);\n\treturn operation;\n}\n/**\n* Scaffolded `migration.ts` files call this wherever the scaffolder couldn't\n* emit a real query and the author is expected to fill one in. Always throws\n* a structured migration error (`MIGRATION.UNFILLED_PLACEHOLDER`).\n*\n* The return type `never` makes it assignable to any expected return type, so\n* a scaffolded `() => placeholder('...')` satisfies signatures like\n* `() => MongoQueryPlan` without polluting them with a sentinel union arm.\n*/\nfunction placeholder(slot) {\n\tthrow errorUnfilledPlaceholder(slot);\n}\n/**\n* A `dataTransform(endContract, …)` factory was handed a `SqlQueryPlan` whose\n* `meta.storageHash` does not match the `endContract.storage.storageHash` it\n* was configured with. This almost always means the user's query-builder\n* (`sql({ context: createExecutionContext({ contract: endContract, … }) })`)\n* was instantiated from a different contract reference than the one passed\n* to `dataTransform(endContract, …)`.\n*\n* Distinct from `errorHashMismatch` (`CONTRACT.MARKER_MISMATCH`) which\n* rejects a plan at runtime execution; this is an authoring-time rejection\n* so it lives in the `MIGRATION` namespace.\n*/\nfunction errorDataTransformContractMismatch(options) {\n\treturn new CliStructuredError(\"MIGRATION.DATA_TRANSFORM_CONTRACT_MISMATCH\", \"dataTransform query plan built against wrong contract\", {\n\t\twhy: `Data transform \"${options.dataTransformName}\" produced a query plan whose storage hash (${options.actual}) does not match the migration's contract (${options.expected}). The query builder was configured with a different contract than the one passed to dataTransform(endContract, ...).`,\n\t\tfix: \"Ensure the `endContract` imported at module scope (used for both `dataTransform(endContract, …)` and `sql({ context: createExecutionContext({ contract: endContract, … }) })`) is the same reference.\",\n\t\tmeta: {\n\t\t\tdataTransformName: options.dataTransformName,\n\t\t\texpected: options.expected,\n\t\t\tactual: options.actual\n\t\t}\n\t});\n}\n/**\n* `migration.ts` was expected at the given package directory but could not be\n* located. Thrown when consumers attempt to read a migration package that is\n* missing its source file.\n*/\nfunction errorMigrationFileMissing(dir) {\n\treturn new CliStructuredError(\"MIGRATION.FILE_MISSING\", \"migration.ts not found\", {\n\t\twhy: `No migration.ts file was found at \"${dir}\"`,\n\t\tfix: \"Scaffold one with `{bin} migration new` or `{bin} migration plan`.\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Scaffold an empty migration\",\n\t\t\tcommand: \"{bin} migration new\"\n\t\t}, {\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Scaffold a migration from a contract diff\",\n\t\t\tcommand: \"{bin} migration plan\"\n\t\t}],\n\t\tmeta: { dir }\n\t});\n}\n/**\n* The `migration.ts` at the given package directory does not default-export a\n* valid migration shape. Two shapes are accepted: a `Migration` subclass, or a\n* factory function returning a `MigrationPlan`-shaped object (with at least\n* an `operations` array, plus `targetId` and `destination`). Thrown when the\n* default export is missing, is not a constructor/function, does not extend\n* `Migration`, or (for factory functions) returns a value that is not\n* `MigrationPlan`-shaped.\n*/\nfunction errorMigrationInvalidDefaultExport(dir, actualExportDescription) {\n\treturn new CliStructuredError(\"MIGRATION.INVALID_DEFAULT_EXPORT\", \"migration.ts default export is not a valid migration\", {\n\t\twhy: actualExportDescription !== void 0 ? `migration.ts at \"${dir}\" must default-export a Migration subclass or a factory function returning a MigrationPlan-shaped object; got ${actualExportDescription}` : `migration.ts at \"${dir}\" must default-export a Migration subclass or a factory function returning a MigrationPlan-shaped object.`,\n\t\tfix: \"Use `export default class extends Migration { ... }` or `export default () => ({ targetId, destination, operations })`.\",\n\t\tmeta: {\n\t\t\tdir,\n\t\t\t...actualExportDescription !== void 0 ? { actualExport: actualExportDescription } : {}\n\t\t}\n\t});\n}\n/**\n* The migration class declares one `targetId` but the loaded\n* `prisma.config.ts` declares another. Thrown by `MigrationCLI.run`\n* when a migration script is invoked against a config whose target\n* descriptor disagrees with the migration's own `targetId`. Distinct from generic\n* config-validation errors because the mismatch is between two valid\n* artifacts (the script and the config), not a malformed input.\n*/\nfunction errorMigrationTargetMismatch(options) {\n\treturn new CliStructuredError(\"MIGRATION.TARGET_MISMATCH\", \"Migration target does not match config target\", {\n\t\twhy: `This migration is for target \"${options.migrationTargetId}\" but the loaded prisma.config.ts declares target \"${options.configTargetId}\". The migration script can only be run against a config that targets the same database.`,\n\t\tfix: \"Switch to a config whose `target` matches the migration's target, or pass `--config <path>` to point at the right config file.\",\n\t\tmeta: {\n\t\t\tmigrationTargetId: options.migrationTargetId,\n\t\t\tconfigTargetId: options.configTargetId\n\t\t}\n\t});\n}\n/**\n* A `Migration.operations` getter returned a value that is not an array. Used\n* by emit capabilities after instantiating the authored migration.\n*/\nfunction errorMigrationPlanNotArray(dir, actualValueDescription) {\n\treturn new CliStructuredError(\"MIGRATION.PLAN_NOT_ARRAY\", \"Migration.operations must be an array of operations\", {\n\t\twhy: actualValueDescription !== void 0 ? `Migration.operations for migration.ts at \"${dir}\" was ${actualValueDescription}; an array of operations is required.` : `Migration.operations for migration.ts at \"${dir}\" is not an array of operations.`,\n\t\tfix: \"Ensure your `operations` getter returns an array of operations; see the data-migrations authoring guide.\",\n\t\tmeta: {\n\t\t\tdir,\n\t\t\t...actualValueDescription !== void 0 ? { actualValue: actualValueDescription } : {}\n\t\t}\n\t});\n}\nconst UPGRADE_GUIDES_URL = \"https://github.com/prisma/orm/tree/main/skills/prisma-8/upgrading\";\n/**\n* A `migration.ts` passes an operation an option in the form an earlier version wrote, which this version no longer reads. `node migration.ts` strips types without checking them, so such a file runs; the operation refuses the option rather than leave out what it carries. `subject` names what the option was for, `rewrite` says how to write it now, and `upgradeEntry` is the id of the upgrade entry that shows the new form.\n*/\nfunction errorMigrationOperationOptionRemoved(options) {\n\tconst { operation, option, upgradeEntry } = options;\n\treturn new CliStructuredError(\"MIGRATION.OPERATION_OPTION_REMOVED\", `\\`${operation}\\` in migration.ts passes \\`${option}\\`, which this version no longer reads, for ${options.subject}`, {\n\t\twhy: \"An earlier version wrote this migration.ts. `node migration.ts` does not check its types, so the file runs, and this version would leave out what the option carries.\",\n\t\tfix: `${options.rewrite} Or, if the migration is not applied, delete its package and run \\`migration plan\\` again. The upgrade entry \\`${upgradeEntry}\\` shows the new shape: ${UPGRADE_GUIDES_URL}`,\n\t\tmeta: {\n\t\t\toperation,\n\t\t\toption,\n\t\t\tupgradeEntry\n\t\t}\n\t});\n}\n//#endregion\nexport { errorDataTransformContractMismatch, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationTargetMismatch, errorUnfilledPlaceholder, placeholder, unfilledPlaceholderOperation };\n\n//# sourceMappingURL=migration.mjs.map"],"mappings":";;;;;;;;;AASA,SAAS,yBAAyB,MAAM;CACvC,OAAO,IAAI,mBAAmB,kCAAkC,kCAAkC;EACjG,KAAK,qEAAqE;EAC1E,KAAK;EACL,MAAM,EAAE,KAAK;CACd,CAAC;AACF;;;;;;;AAOA,SAAS,6BAA6B,MAAM;CAC3C,MAAM,YAAY,QAAQ,OAAO,yBAAyB,IAAI,CAAC;CAC/D,UAAU,YAAY,KAAK,CAAC;CAC5B,OAAO;AACR;;;;;;;;;;AAUA,SAAS,YAAY,MAAM;CAC1B,MAAM,yBAAyB,IAAI;AACpC;;;;;;;;;;;;;AAaA,SAAS,mCAAmC,SAAS;CACpD,OAAO,IAAI,mBAAmB,8CAA8C,yDAAyD;EACpI,KAAK,mBAAmB,QAAQ,kBAAkB,8CAA8C,QAAQ,OAAO,6CAA6C,QAAQ,SAAS;EAC7K,KAAK;EACL,MAAM;GACL,mBAAmB,QAAQ;GAC3B,UAAU,QAAQ;GAClB,QAAQ,QAAQ;EACjB;CACD,CAAC;AACF;;;;;;AAMA,SAAS,0BAA0B,KAAK;CACvC,OAAO,IAAI,mBAAmB,0BAA0B,0BAA0B;EACjF,KAAK,sCAAsC,IAAI;EAC/C,KAAK;EACL,aAAa,CAAC;GACb,MAAM;GACN,OAAO;GACP,SAAS;EACV,GAAG;GACF,MAAM;GACN,OAAO;GACP,SAAS;EACV,CAAC;EACD,MAAM,EAAE,IAAI;CACb,CAAC;AACF;;;;;;;;;;AAUA,SAAS,mCAAmC,KAAK,yBAAyB;CACzE,OAAO,IAAI,mBAAmB,oCAAoC,wDAAwD;EACzH,KAAK,4BAA4B,KAAK,IAAI,oBAAoB,IAAI,gHAAgH,4BAA4B,oBAAoB,IAAI;EACtO,KAAK;EACL,MAAM;GACL;GACA,GAAG,4BAA4B,KAAK,IAAI,EAAE,cAAc,wBAAwB,IAAI,CAAC;EACtF;CACD,CAAC;AACF;;;;;;;;;AASA,SAAS,6BAA6B,SAAS;CAC9C,OAAO,IAAI,mBAAmB,6BAA6B,iDAAiD;EAC3G,KAAK,iCAAiC,QAAQ,kBAAkB,qDAAqD,QAAQ,eAAe;EAC5I,KAAK;EACL,MAAM;GACL,mBAAmB,QAAQ;GAC3B,gBAAgB,QAAQ;EACzB;CACD,CAAC;AACF;;;;;AAKA,SAAS,2BAA2B,KAAK,wBAAwB;CAChE,OAAO,IAAI,mBAAmB,4BAA4B,uDAAuD;EAChH,KAAK,2BAA2B,KAAK,IAAI,6CAA6C,IAAI,QAAQ,uBAAuB,yCAAyC,6CAA6C,IAAI;EACnN,KAAK;EACL,MAAM;GACL;GACA,GAAG,2BAA2B,KAAK,IAAI,EAAE,aAAa,uBAAuB,IAAI,CAAC;EACnF;CACD,CAAC;AACF;AACA,MAAM,qBAAqB;;;;AAI3B,SAAS,qCAAqC,SAAS;CACtD,MAAM,EAAE,WAAW,QAAQ,iBAAiB;CAC5C,OAAO,IAAI,mBAAmB,sCAAsC,KAAK,UAAU,8BAA8B,OAAO,8CAA8C,QAAQ,WAAW;EACxL,KAAK;EACL,KAAK,GAAG,QAAQ,QAAQ,iHAAiH,aAAa,0BAA0B;EAChL,MAAM;GACL;GACA;GACA;EACD;CACD,CAAC;AACF"}
@@ -1,4 +1,4 @@
1
- import { r as CliStructuredError } from "./control-DhWsAbYJ-CrtxR4UW.mjs";
1
+ import { i as CliStructuredError } from "./control-C11hV6zc-CmvCmO2f.mjs";
2
2
  //#region ../../../1-framework/1-core/errors/dist/migration.d.mts
3
3
  //#region src/migration.d.ts
4
4
  /**
@@ -88,4 +88,4 @@ declare function errorMigrationOperationOptionRemoved(options: {
88
88
  }): CliStructuredError;
89
89
  //#endregion
90
90
  export { errorMigrationPlanNotArray as a, placeholder as c, errorMigrationOperationOptionRemoved as i, unfilledPlaceholderOperation as l, errorMigrationFileMissing as n, errorMigrationTargetMismatch as o, errorMigrationInvalidDefaultExport as r, errorUnfilledPlaceholder as s, errorDataTransformContractMismatch as t };
91
- //# sourceMappingURL=migration-IPciO0V7.d.mts.map
91
+ //# sourceMappingURL=migration-JAgA63Ce.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"migration-IPciO0V7.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/migration.d.mts"],"mappings":";;;;;;;;;;iBASiB,yBAAyB,eAAe;;;;;;;iBAOxC,6BAA6B,eAAe;;;;;;;;;;iBAU5C,YAAY;;;;;;;;;;;;;iBAaZ,mCAAmC;WACzC;WACA;WACA;IACP;;;;;;iBAMa,0BAA0B,cAAc;;;;;;;;;;iBAUxC,mCAAmC,aAAa,mCAAmC;;;;;;;;;iBASnF,6BAA6B;WACnC;WACA;IACP;;;;;iBAKa,2BAA2B,aAAa,kCAAkC;;;;iBAI1E,qCAAqC;WAC3C;WACA;WACA;WACA;WACA;IACP"}
1
+ {"version":3,"file":"migration-JAgA63Ce.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/migration.d.mts"],"mappings":";;;;;;;;;;iBASiB,yBAAyB,eAAe;;;;;;;iBAOxC,6BAA6B,eAAe;;;;;;;;;;iBAU5C,YAAY;;;;;;;;;;;;;iBAaZ,mCAAmC;WACzC;WACA;WACA;IACP;;;;;;iBAMa,0BAA0B,cAAc;;;;;;;;;;iBAUxC,mCAAmC,aAAa,mCAAmC;;;;;;;;;iBASnF,6BAA6B;WACnC;WACA;IACP;;;;;iBAKa,2BAA2B,aAAa,kCAAkC;;;;iBAI1E,qCAAqC;WAC3C;WACA;WACA;WACA;WACA;IACP"}
@@ -2,7 +2,7 @@ import { U as PslSpan } from "./framework-authoring-BaBmrcxi-9J-ebDLU.mjs";
2
2
  import { d as TaggedLiteralCanonicalization } from "./written-value--KnOpj99-DByhg5hX.mjs";
3
3
  import "./authoring-Cdm02TLT.mjs";
4
4
  import "./psl-ast-DqB4Tq08.mjs";
5
- import { h as PslParserOptions, r as ContractSourceDiagnostic } from "./config-types-DDmOiupw.mjs";
5
+ import { h as PslParserOptions, r as ContractSourceDiagnostic } from "./config-types-Cuc-EN7j.mjs";
6
6
  import { n as TokenKind, t as Token } from "./tokenizer-i8RaVWVa-7fRwlCPP.mjs";
7
7
  //#region ../../../1-framework/2-authoring/psl-parser/dist/parse-By_H285C.d.mts
8
8
  //#region src/syntax/syntax-kind.d.ts
@@ -552,4 +552,4 @@ interface ParseResult {
552
552
  declare function parse(source: string, filename: string, options?: PslParserOptions): ParseResult;
553
553
  //#endregion
554
554
  export { TypeAnnotationAst as $, NamespaceDeclarationAst as A, PslDiagnosticCollector as B, IdentifierAst as C, ModelAttributeAst as D, MixinInclusionAst as E, ParseDiagnostic as F, StringLiteralExprAst as G, QualifiedNameAst as H, ParseResult as I, SyntaxKind as J, StringLiteralQuote as K, PathExprAst as L, NumberLiteralExprAst as M, ObjectFieldAst as N, ModelDeclarationAst as O, ObjectLiteralExprAst as P, TokenAtOffset as Q, Position as R, HasDocComment as S, MixinDeclarationAst as T, Range as U, PslSources as V, SourceFile as W, SyntaxToken as X, SyntaxNode as Y, TaggedLiteralExprAst as Z, GenericBlockDeclarationAst as _, AttributeAst as a, diagnosticFromSpan as at, GreenNode as b, BracedBlock as c, filterChildren as ct, DiagnosticSource as d, greenNode as dt, TypesBlockAst as et, DocumentAst as f, greenToken as ft, FunctionCallAst as g, FieldDeclarationAst as h, printSyntax as ht, AttributeArgListAst as i, createSyntaxTree as it, NamespaceMemberAst as j, NamedTypeDeclarationAst as k, CompositeTypeDeclarationAst as l, findChildToken as lt, FieldAttributeAst as m, parse as mt, AstNode as n, castExpression as nt, BlockMemberAst as o, diagnosticSource as ot, ExpressionAst as p, mapPslDiagnostics as pt, SyntaxElement as q, AttributeArgAst as r, createPslDiagnosticCollector as rt, BooleanLiteralExprAst as s, dottedPathsIn as st, ArrayLiteralAst as t, any as tt, DeclarationAst as u, findFirstChild as ut, GenericBlockMemberAst as v, KeyValuePairAst as w, GreenToken as x, GreenElement as y, PslDiagnostic as z };
555
- //# sourceMappingURL=parse-By_H285C-2bZhTomA.d.mts.map
555
+ //# sourceMappingURL=parse-By_H285C-ddnkFvv5.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parse-By_H285C-2bZhTomA.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/parse-By_H285C.d.mts"],"mappings":";;;;;;;;KAKK;;;UAGK;WACC;WACA,MAAM;WACN;;UAED;WACC;WACA,MAAM;WACN,UAAU,cAAc;WACxB;;KAEN,eAAe,YAAY;iBACf,WAAW,MAAM,WAAW,eAAe;iBAC3C,UAAU,MAAM,YAAY,UAAU,cAAc,gBAAgB;;;;;;;;;;cAUvE,uBAAuB;WAC1B,OAAO;WACP,MAAM;WACN;WACA;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,YAAY,gBAAgB,QAAQ,YAAY;MAC/D;MACA;;EAEJ,SAAS;EACT,UAAU;;MAEN,sBAAsB;;MAEtB,sBAAsB;;MAEtB,aAAa;;MAEb,aAAa;;KAEd,gBAAgB,aAAa;cACpB;;UAEJ;SACD,QAAQ;SACR,OAAO,OAAO,cAAc;SAC5B,QAAQ,MAAM,aAAa,OAAO,cAAc;MACnD;MACA;EACJ,cAAc;EACd,eAAe;;cAEH;;WAEH,OAAO;WACP;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,WAAW,gBAAgB,QAAQ,wBAAwB;EAC9E,QAAQ,gBAAgB;MACpB,QAAQ;MACR;MACA;;EAEJ,SAAS;EACT,UAAU;MACN,cAAc;MACd,aAAa;MACb,eAAe;MACf,eAAe;;MAEf,sBAAsB;;MAEtB,sBAAsB;;MAEtB,c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EACP,UAAU;EACV,SAAS;;EAET,cAAc,SAAS;SAChB,KAAK,MAAM,aAAa;;cAEnB,+BAA+B,SAAS;WAC3C,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,kBAAkB;EAClB,cAAc,SAAS;EACvB;SACO,KAAK,MAAM,aAAa;;cAEnB,mCAAmC,SAAS;WAC/C,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,UAAU;EACV,kBAAkB;EAClB,cAAc,SAAS;EACvB;SACO,KAAK,MAAM,aAAa;;;;KAI5B,kBAAkB;UACb;WACC,UAAU;WACV,sBAAsB;WACtB,SAAS;;;;;;iBAMH,MAAM,gBAAgB,kBAAkB,UAAU,mBAAmB"}
1
+ {"version":3,"file":"parse-By_H285C-ddnkFvv5.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/parse-By_H285C.d.mts"],"mappings":";;;;;;;;KAKK;;;UAGK;WACC;WACA,MAAM;WACN;;UAED;WACC;WACA,MAAM;WACN,UAAU,cAAc;WACxB;;KAEN,eAAe,YAAY;iBACf,WAAW,MAAM,WAAW,eAAe;iBAC3C,UAAU,MAAM,YAAY,UAAU,cAAc,gBAAgB;;;;;;;;;;cAUvE,uBAAuB;WAC1B,OAAO;WACP,MAAM;WACN;WACA;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,YAAY,gBAAgB,QAAQ,YAAY;MAC/D;MACA;;EAEJ,SAAS;EACT,UAAU;;MAEN,sBAAsB;;MAEtB,sBAAsB;;MAEtB,aAAa;;MAEb,aAAa;;KAEd,gBAAgB,aAAa;cACpB;;UAEJ;SACD,QAAQ;SACR,OAAO,OAAO,cAAc;SAC5B,QAAQ,MAAM,aAAa,OAAO,cAAc;MACnD;MACA;EACJ,cAAc;EACd,eAAe;;cAEH;;WAEH,OAAO;WACP;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,WAAW,gBAAgB,QAAQ,wBAAwB;EAC9E,QAAQ,gBAAgB;MACpB,QAAQ;M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,QAAQ;EACpB,QAAQ;EACR,QAAQ;SACD,KAAK,MAAM,aAAa;;cAEnB,2BAA2B;WAC9B,QAAQ;EACjB,YAAY,QAAQ;EACpB,OAAO;EACP,UAAU;EACV,SAAS;;EAET,cAAc,SAAS;SAChB,KAAK,MAAM,aAAa;;cAEnB,+BAA+B,SAAS;WAC3C,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,kBAAkB;EAClB,cAAc,SAAS;EACvB;SACO,KAAK,MAAM,aAAa;;cAEnB,mCAAmC,SAAS;WAC/C,QAAQ;EACjB,YAAY,QAAQ;EACpB,QAAQ;EACR,UAAU;EACV,kBAAkB;EAClB,cAAc,SAAS;EACvB;SACO,KAAK,MAAM,aAAa;;;;KAI5B,kBAAkB;UACb;WACC,UAAU;WACV,sBAAsB;WACtB,SAAS;;;;;;iBAMH,MAAM,gBAAgB,kBAAkB,UAAU,mBAAmB"}
@@ -6,11 +6,11 @@ import { m as WrittenScalar, n as DataTypeSupport } from "./written-value--KnOpj
6
6
  import "./authoring-Cdm02TLT.mjs";
7
7
  import "./codec-CBvtmEz2.mjs";
8
8
  import { C as PslTypesBlock, O as flatPslModels, S as PslTypeConstructorCall, _ as PslModelAttribute, a as PslAttributePositionalArgument, c as PslDefaultFunctionValue, f as PslDocumentAst, g as PslModel, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, u as PslDefaultValue, v as PslNamedTypeDeclaration, y as PslNamespace } from "./psl-ast-BER6m646-RXgNvJDn.mjs";
9
- import { r as AssembledAuthoringContributions } from "./control-DsRyU-u2.mjs";
9
+ import { r as AssembledAuthoringContributions } from "./control-DOgahg69.mjs";
10
10
  import "./psl-ast-DqB4Tq08.mjs";
11
11
  import { i as isPslIdentifier } from "./tokenizer-i8RaVWVa-7fRwlCPP.mjs";
12
- import { B as PslDiagnosticCollector, D as ModelAttributeAst, V as PslSources, Y as SyntaxNode, at as diagnosticFromSpan, d as DiagnosticSource, m as FieldAttributeAst, n as AstNode, ot as diagnosticSource, p as ExpressionAst, pt as mapPslDiagnostics, r as AttributeArgAst, rt as createPslDiagnosticCollector, z as PslDiagnostic } from "./parse-By_H285C-2bZhTomA.mjs";
13
- import { $ as NamedOut, A as DescribeUnresolvedType, At as TaggedLiteralArgType, B as FixedStrArgType, Bt as createBinder, C as ContributedTypeNamespace, Ct as ResolvedEntityReference, D as CtxOf, Dt as ScopeResolution, E as CreateBinderInput, Et as Scope, F as FieldAttributeCtx, Ft as UnrestrictedNumArgType, G as InferAttr, Gt as memberEntries, H as FuncCallSig, Ht as isNamespaceLike, I as FieldRefArgType, It as UnrestrictedStrArgType, J as JsonArgType, Jt as readResolvedAttributes, K as InspectableArgType, Kt as nodePslSpan, L as FieldSymbol, Lt as UnsupportedAttribute, M as EntityDeclaration, Mt as TypedFuncCall, N as EntityRefArgType, Nt as UnresolvedTypeReference, O as DataTypeValueArgType, Ot as SymbolTable, P as EntitySelector, Pt as UnrestrictedIdentifierArgType, Q as ModelSymbol, R as FixedIdentifierArgType, Rt as buildSymbolTable, S as ContributedTypeDescriptor, St as ResolvedAttributeArg, T as ContributedTypeSymbol, Tt as ResolvedTypeConstructorCall, U as FunctionSymbol, Ut as keywordPslSpan, V as FuncCallArgType, Vt as entityReference, W as IdentifierArgType, Wt as matchesSelector, X as ListArgType, Xt as typeReferenceNode, Y as JsonValueArgType, Yt as readResolvedConstructorCall, Z as ModelAttributeCtx, _ as CompositeTypeSymbol, _t as ReferencedFieldRefArgType, a as AttributeLevel, at as OneOfArgType, b as ContributedMember, bt as Resolution, c as AttributeSymbol, ct as PSL_UNRESOLVED_REFERENCE, d as BinderResult, dt as ParsedTaggedLiteral, et as NamedTypeSymbol, f as BlockAttributeCtx, ft as ParsedTypedValue, g as BuildSymbolTableOptions, gt as RecordArgType, h as BoundSpec, ht as PslSymbol, i as AttributeCtx, it as NumLiteralArgType, j as DescribeUnsupportedAttribute, jt as TopLevelScope, k as DeclarationFor, kt as SymbolTableResult, l as Binder, lt as Param, m as BoolArgType, mt as PositionalParam, n as ArgType, nt as NullArgType, o as AttributeOut, ot as OptionalArgType, p as BlockSymbol, pt as PosOut, q as IntArgType, qt as readResolvedAttribute, r as ArgTypeKind, rt as NumLiteral, s as AttributeSpec, st as OutOf, t as AnyArgType, tt as NamespaceSymbol, u as BinderContext, ut as ParameterSymbol, v as ConstantSymbol, vt as RejectingArgType, w as ContributedTypeScope, wt as ResolvedNamedTypeBinding, x as ContributedNamespaceSymbol, xt as ResolvedAttribute, y as ContextForRequirement, yt as RequiredContextFor, z as FixedNumArgType, zt as contributedTypeOf } from "./binder-BUBLuGg4-CQbIZyym.mjs";
12
+ import { B as PslDiagnosticCollector, D as ModelAttributeAst, V as PslSources, Y as SyntaxNode, at as diagnosticFromSpan, d as DiagnosticSource, m as FieldAttributeAst, n as AstNode, ot as diagnosticSource, p as ExpressionAst, pt as mapPslDiagnostics, r as AttributeArgAst, rt as createPslDiagnosticCollector, z as PslDiagnostic } from "./parse-By_H285C-ddnkFvv5.mjs";
13
+ import { $ as NamedOut, A as DescribeUnresolvedType, At as TaggedLiteralArgType, B as FixedStrArgType, Bt as createBinder, C as ContributedTypeNamespace, Ct as ResolvedEntityReference, D as CtxOf, Dt as ScopeResolution, E as CreateBinderInput, Et as Scope, F as FieldAttributeCtx, Ft as UnrestrictedNumArgType, G as InferAttr, Gt as memberEntries, H as FuncCallSig, Ht as isNamespaceLike, I as FieldRefArgType, It as UnrestrictedStrArgType, J as JsonArgType, Jt as readResolvedAttributes, K as InspectableArgType, Kt as nodePslSpan, L as FieldSymbol, Lt as UnsupportedAttribute, M as EntityDeclaration, Mt as TypedFuncCall, N as EntityRefArgType, Nt as UnresolvedTypeReference, O as DataTypeValueArgType, Ot as SymbolTable, P as EntitySelector, Pt as UnrestrictedIdentifierArgType, Q as ModelSymbol, R as FixedIdentifierArgType, Rt as buildSymbolTable, S as ContributedTypeDescriptor, St as ResolvedAttributeArg, T as ContributedTypeSymbol, Tt as ResolvedTypeConstructorCall, U as FunctionSymbol, Ut as keywordPslSpan, V as FuncCallArgType, Vt as entityReference, W as IdentifierArgType, Wt as matchesSelector, X as ListArgType, Xt as typeReferenceNode, Y as JsonValueArgType, Yt as readResolvedConstructorCall, Z as ModelAttributeCtx, _ as CompositeTypeSymbol, _t as ReferencedFieldRefArgType, a as AttributeLevel, at as OneOfArgType, b as ContributedMember, bt as Resolution, c as AttributeSymbol, ct as PSL_UNRESOLVED_REFERENCE, d as BinderResult, dt as ParsedTaggedLiteral, et as NamedTypeSymbol, f as BlockAttributeCtx, ft as ParsedTypedValue, g as BuildSymbolTableOptions, gt as RecordArgType, h as BoundSpec, ht as PslSymbol, i as AttributeCtx, it as NumLiteralArgType, j as DescribeUnsupportedAttribute, jt as TopLevelScope, k as DeclarationFor, kt as SymbolTableResult, l as Binder, lt as Param, m as BoolArgType, mt as PositionalParam, n as ArgType, nt as NullArgType, o as AttributeOut, ot as OptionalArgType, p as BlockSymbol, pt as PosOut, q as IntArgType, qt as readResolvedAttribute, r as ArgTypeKind, rt as NumLiteral, s as AttributeSpec, st as OutOf, t as AnyArgType, tt as NamespaceSymbol, u as BinderContext, ut as ParameterSymbol, v as ConstantSymbol, vt as RejectingArgType, w as ContributedTypeScope, wt as ResolvedNamedTypeBinding, x as ContributedNamespaceSymbol, xt as ResolvedAttribute, y as ContextForRequirement, yt as RequiredContextFor, z as FixedNumArgType, zt as contributedTypeOf } from "./binder-BUBLuGg4-FHQS0pec.mjs";
14
14
  //#region ../../../1-framework/2-authoring/psl-parser/dist/index.d.mts
15
15
  //#region src/attribute-helpers.d.ts
16
16
  declare function getPositionalArgument(attribute: PslAttribute, index?: number): string | undefined;
@@ -1,4 +1,4 @@
1
- import { h as PslParserOptions } from "./config-types-DDmOiupw.mjs";
1
+ import { h as PslParserOptions } from "./config-types-Cuc-EN7j.mjs";
2
2
  //#region ../../../1-framework/2-authoring/psl-parser/dist/format.d.mts
3
3
  //#region src/format/options.d.ts
4
4
  interface FormatOptions {
@@ -3,9 +3,9 @@ import { $ as instantiateAuthoringFieldPreset, C as AuthoringPslBlockDescriptorN
3
3
  import { r as Result } from "./result-BYCOANWy.mjs";
4
4
  import "./authoring-Cdm02TLT.mjs";
5
5
  import "./psl-ast-DqB4Tq08.mjs";
6
- import { c as ContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic } from "./config-types-DDmOiupw.mjs";
7
- import { B as PslDiagnosticCollector, V as PslSources, d as DiagnosticSource, f as DocumentAst, z as PslDiagnostic } from "./parse-By_H285C-2bZhTomA.mjs";
8
- import { L as FieldSymbol, Ot as SymbolTable, St as ResolvedAttributeArg, Tt as ResolvedTypeConstructorCall, l as Binder, p as BlockSymbol } from "./binder-BUBLuGg4-CQbIZyym.mjs";
6
+ import { c as ContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic } from "./config-types-Cuc-EN7j.mjs";
7
+ import { B as PslDiagnosticCollector, V as PslSources, d as DiagnosticSource, f as DocumentAst, z as PslDiagnostic } from "./parse-By_H285C-ddnkFvv5.mjs";
8
+ import { L as FieldSymbol, Ot as SymbolTable, St as ResolvedAttributeArg, Tt as ResolvedTypeConstructorCall, l as Binder, p as BlockSymbol } from "./binder-BUBLuGg4-FHQS0pec.mjs";
9
9
  //#region ../../../1-framework/2-authoring/psl-parser/dist/interpret.d.mts
10
10
  //#region src/authoring-arguments.d.ts
11
11
  /**
@@ -1,5 +1,5 @@
1
1
  import { n as TokenKind } from "./tokenizer-i8RaVWVa-7fRwlCPP.mjs";
2
- import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, C as IdentifierAst, D as ModelAttributeAst, E as MixinInclusionAst, F as ParseDiagnostic, G as StringLiteralExprAst, H as QualifiedNameAst, I as ParseResult, J as SyntaxKind, K as StringLiteralQuote, L as PathExprAst, M as NumberLiteralExprAst, N as ObjectFieldAst, O as ModelDeclarationAst, P as ObjectLiteralExprAst, Q as TokenAtOffset, R as Position, S as HasDocComment, T as MixinDeclarationAst, U as Range, V as PslSources, W as SourceFile, X as SyntaxToken, Y as SyntaxNode, Z as TaggedLiteralExprAst, _ as GenericBlockDeclarationAst, a as AttributeAst, b as GreenNode, c as BracedBlock, ct as filterChildren, dt as greenNode, et as TypesBlockAst, f as DocumentAst, ft as greenToken, g as FunctionCallAst, h as FieldDeclarationAst, ht as printSyntax, i as AttributeArgListAst, it as createSyntaxTree, j as NamespaceMemberAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, lt as findChildToken, m as FieldAttributeAst, mt as parse, n as AstNode, nt as castExpression, o as BlockMemberAst, p as ExpressionAst, q as SyntaxElement, r as AttributeArgAst, s as BooleanLiteralExprAst, st as dottedPathsIn, t as ArrayLiteralAst, tt as any, u as DeclarationAst, ut as findFirstChild, v as GenericBlockMemberAst, w as KeyValuePairAst, x as GreenToken, y as GreenElement } from "./parse-By_H285C-2bZhTomA.mjs";
2
+ import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, C as IdentifierAst, D as ModelAttributeAst, E as MixinInclusionAst, F as ParseDiagnostic, G as StringLiteralExprAst, H as QualifiedNameAst, I as ParseResult, J as SyntaxKind, K as StringLiteralQuote, L as PathExprAst, M as NumberLiteralExprAst, N as ObjectFieldAst, O as ModelDeclarationAst, P as ObjectLiteralExprAst, Q as TokenAtOffset, R as Position, S as HasDocComment, T as MixinDeclarationAst, U as Range, V as PslSources, W as SourceFile, X as SyntaxToken, Y as SyntaxNode, Z as TaggedLiteralExprAst, _ as GenericBlockDeclarationAst, a as AttributeAst, b as GreenNode, c as BracedBlock, ct as filterChildren, dt as greenNode, et as TypesBlockAst, f as DocumentAst, ft as greenToken, g as FunctionCallAst, h as FieldDeclarationAst, ht as printSyntax, i as AttributeArgListAst, it as createSyntaxTree, j as NamespaceMemberAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, lt as findChildToken, m as FieldAttributeAst, mt as parse, n as AstNode, nt as castExpression, o as BlockMemberAst, p as ExpressionAst, q as SyntaxElement, r as AttributeArgAst, s as BooleanLiteralExprAst, st as dottedPathsIn, t as ArrayLiteralAst, tt as any, u as DeclarationAst, ut as findFirstChild, v as GenericBlockMemberAst, w as KeyValuePairAst, x as GreenToken, y as GreenElement } from "./parse-By_H285C-ddnkFvv5.mjs";
3
3
  //#region ../../../1-framework/2-authoring/psl-parser/dist/syntax.d.mts
4
4
  //#region src/syntax/green-builder.d.ts
5
5
  declare class GreenNodeBuilder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/orm-framework",
3
- "version": "8.0.0-rc.17-dev.27",
3
+ "version": "8.0.0-rc.17-dev.29",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -16,20 +16,20 @@
16
16
  "uniku": "^0.5.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@internal/config": "8.0.0-rc.17-dev.27",
20
- "@internal/contract": "8.0.0-rc.17-dev.27",
21
- "@internal/contract-authoring": "8.0.0-rc.17-dev.27",
22
- "@internal/errors": "8.0.0-rc.17-dev.27",
23
- "@internal/framework-components": "8.0.0-rc.17-dev.27",
24
- "@internal/ids": "8.0.0-rc.17-dev.27",
25
- "@internal/operations": "8.0.0-rc.17-dev.27",
26
- "@internal/psl-parser": "8.0.0-rc.17-dev.27",
27
- "@internal/psl-printer": "8.0.0-rc.17-dev.27",
28
- "@internal/ts-render": "8.0.0-rc.17-dev.27",
29
- "@repo/tsconfig": "8.0.0-rc.17-dev.27",
30
- "@internal/publish-surface": "8.0.0-rc.17-dev.27",
31
- "@repo/tsdown": "8.0.0-rc.17-dev.27",
32
- "@internal/utils": "8.0.0-rc.17-dev.27",
19
+ "@internal/config": "8.0.0-rc.17-dev.29",
20
+ "@internal/contract": "8.0.0-rc.17-dev.29",
21
+ "@internal/contract-authoring": "8.0.0-rc.17-dev.29",
22
+ "@internal/errors": "8.0.0-rc.17-dev.29",
23
+ "@internal/framework-components": "8.0.0-rc.17-dev.29",
24
+ "@internal/ids": "8.0.0-rc.17-dev.29",
25
+ "@internal/operations": "8.0.0-rc.17-dev.29",
26
+ "@internal/psl-parser": "8.0.0-rc.17-dev.29",
27
+ "@internal/psl-printer": "8.0.0-rc.17-dev.29",
28
+ "@internal/ts-render": "8.0.0-rc.17-dev.29",
29
+ "@repo/tsconfig": "8.0.0-rc.17-dev.29",
30
+ "@internal/publish-surface": "8.0.0-rc.17-dev.29",
31
+ "@repo/tsdown": "8.0.0-rc.17-dev.29",
32
+ "@internal/utils": "8.0.0-rc.17-dev.29",
33
33
  "tsdown": "0.22.14",
34
34
  "typescript": "5.9.3",
35
35
  "vitest": "5.0.0-rc.2"
@@ -1 +0,0 @@
1
- {"version":3,"file":"control-C4Q85sT5-Dv75I30R.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/control-C4Q85sT5.mjs"],"sourcesContent":["import { migrationStatementJson } from \"@internal/framework-components/control\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { docsUrlFor } from \"@internal/utils/structured-error\";\n//#region src/control.ts\n/**\n* Structured CLI error that contains all information needed for error envelopes.\n* Call sites throw these errors with full context.\n*\n* A `CliStructuredError` is a `StructuredError` (see\n* `@internal/utils/structured-error`): `code` is a dotted\n* `NAMESPACE.SUBCODE` string, and the namespace prefix is the error's\n* category — there is no separate `domain` field. See\n* [ADR 239](../../../../../docs/architecture%20docs/adrs/ADR%20239%20-%20Errors%20are%20structural%20envelopes%20with%20dotted%20namespace%20codes.md)\n* for the namespace taxonomy.\n*/\nvar CliStructuredError = class extends Error {\n\tcode;\n\tseverity;\n\tconstructor(code, summary, options) {\n\t\tsuper(summary, options?.cause !== void 0 ? { cause: options.cause } : void 0);\n\t\tthis.name = \"CliStructuredError\";\n\t\tthis.code = code;\n\t\tthis.severity = options?.severity ?? \"error\";\n\t\tconst fix = options?.fix === options?.why ? void 0 : options?.fix;\n\t\tconst where = options?.where ? {\n\t\t\t...ifDefined(\"path\", options.where.path),\n\t\t\t...ifDefined(\"line\", options.where.line)\n\t\t} : void 0;\n\t\tObject.assign(this, {\n\t\t\t...ifDefined(\"why\", options?.why),\n\t\t\t...ifDefined(\"fix\", fix),\n\t\t\t...ifDefined(\"nextActions\", options?.nextActions),\n\t\t\t...ifDefined(\"diagnostics\", options?.diagnostics),\n\t\t\t...ifDefined(\"where\", where),\n\t\t\t...ifDefined(\"meta\", options?.meta),\n\t\t\t...ifDefined(\"docsUrl\", options?.docsUrl)\n\t\t});\n\t}\n\t/**\n\t* Converts this error to a CLI error envelope for output formatting.\n\t*\n\t* This is the boundary that emits the envelope, so it is where a missing\n\t* `nextActions` becomes `[]`.\n\t*/\n\ttoEnvelope() {\n\t\treturn {\n\t\t\tok: false,\n\t\t\tcode: this.code,\n\t\t\tseverity: this.severity,\n\t\t\tsummary: this.message,\n\t\t\t...ifDefined(\"why\", this.why),\n\t\t\t...ifDefined(\"fix\", this.fix),\n\t\t\tnextActions: this.nextActions ?? [],\n\t\t\t...ifDefined(\"diagnostics\", this.diagnostics),\n\t\t\t...ifDefined(\"where\", this.where),\n\t\t\t...ifDefined(\"meta\", this.meta),\n\t\t\t...ifDefined(\"docsUrl\", this.docsUrl)\n\t\t};\n\t}\n\t/**\n\t* Type guard to check if an error is a CliStructuredError.\n\t* Uses duck-typing to work across module boundaries where instanceof may fail.\n\t*/\n\tstatic is(error) {\n\t\tif (!(error instanceof Error)) return false;\n\t\tconst candidate = error;\n\t\treturn candidate.name === \"CliStructuredError\" && typeof candidate.code === \"string\" && typeof candidate.toEnvelope === \"function\";\n\t}\n};\n/**\n* Config file not found or missing.\n*/\nfunction errorConfigFileNotFound(configPath, options) {\n\treturn new CliStructuredError(\"CONFIG.FILE_NOT_FOUND\", \"Config file not found\", {\n\t\t...options?.why ? { why: options.why } : { why: \"Config file not found\" },\n\t\tfix: \"Run '{bin} orm init' to create a config file\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Create a config file\",\n\t\t\tcommand: \"{bin} orm init\"\n\t\t}],\n\t\tdocsUrl: docsUrlFor(\"CONFIG.FILE_NOT_FOUND\"),\n\t\t...configPath ? { where: { path: configPath } } : {}\n\t});\n}\n/**\n* Config module failed to evaluate (syntax error, module threw during import).\n*/\nfunction errorConfigEvaluationFailed(configPath, options) {\n\treturn new CliStructuredError(\"CONFIG.EVALUATION_FAILED\", \"Config file could not be evaluated\", {\n\t\twhy: options.why,\n\t\tfix: \"Fix the error in your prisma.config.ts so the module evaluates, then rerun the command\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.EVALUATION_FAILED\"),\n\t\t...configPath ? { where: { path: configPath } } : {},\n\t\t...options.cause !== void 0 ? { cause: options.cause } : {}\n\t});\n}\n/**\n* Config module evaluated, but its export does not carry the definePrismaConfig\n* version marker (plain object export, or a config produced by a different\n* defineConfig such as classic Prisma's).\n*/\nfunction errorConfigVersionMarkerMissing(configPath) {\n\treturn new CliStructuredError(\"CONFIG.VERSION_MARKER_MISSING\", \"Config is not a definePrismaConfig result\", {\n\t\twhy: \"The config module evaluated, but its default export was not created by a current definePrismaConfig\",\n\t\tfix: \"Create the config with definePrismaConfig from '@prisma/cli-engine', nest your settings under its `orm` section, and export its return value directly\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.VERSION_MARKER_MISSING\"),\n\t\t...configPath ? { where: { path: configPath } } : {}\n\t});\n}\n/**\n* Contract configuration missing from config.\n*/\nfunction errorContractConfigMissing(options) {\n\treturn new CliStructuredError(\"CONFIG.CONTRACT_MISSING\", \"Contract configuration missing\", {\n\t\twhy: options?.why ?? \"The contract configuration is required for emit\",\n\t\tfix: \"Add contract configuration to your prisma.config.ts\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.CONTRACT_MISSING\")\n\t});\n}\n/**\n* Contract validation failed.\n*/\nfunction errorContractValidationFailed(reason, options) {\n\treturn new CliStructuredError(\"CONTRACT.VALIDATION_FAILED\", \"Contract validation failed\", {\n\t\twhy: reason,\n\t\tfix: \"Re-run `{bin} contract emit`, or fix the contract file and try again\",\n\t\tnextActions: [{\n\t\t\tkind: \"run-command\",\n\t\t\tlabel: \"Re-emit the contract\",\n\t\t\tcommand: \"{bin} contract emit\"\n\t\t}, {\n\t\t\tkind: \"edit-file\",\n\t\t\tlabel: \"Fix the contract file, then re-run the command\",\n\t\t\treason\n\t\t}],\n\t\tdocsUrl: docsUrlFor(\"CONTRACT.VALIDATION_FAILED\"),\n\t\t...options?.where ? { where: options.where } : {},\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n/**\n* File not found.\n*/\nfunction errorFileNotFound(filePath, options) {\n\treturn new CliStructuredError(\"CLI.FILE_NOT_FOUND\", \"File not found\", {\n\t\twhy: options?.why ?? `File not found: ${filePath}`,\n\t\tfix: options?.fix ?? \"Check that the file path is correct\",\n\t\twhere: { path: filePath },\n\t\t...options?.docsUrl ? { docsUrl: options.docsUrl } : {},\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n/**\n* Database connection is required but not provided.\n*/\nfunction errorDatabaseConnectionRequired(options) {\n\tconst runHint = options?.retryCommand ? `Run \\`${options.retryCommand}\\`` : options?.commandName ? `Run \\`{bin} ${options.commandName} --db <url>\\`` : \"Provide `--db <url>`\";\n\treturn new CliStructuredError(\"CONFIG.DB_CONNECTION_REQUIRED\", \"Database connection is required\", {\n\t\twhy: options?.why ?? \"Database connection is required for this command\",\n\t\tfix: `${runHint}, or set \\`db: { connection: \"postgres://…\" }\\` in prisma.config.ts`,\n\t\t...options?.missingFlags !== void 0 ? { meta: { missingFlags: [...options.missingFlags] } } : {}\n\t});\n}\n/**\n* Query runner factory is required but not provided in config.\n*/\nfunction errorQueryRunnerFactoryRequired(options) {\n\treturn new CliStructuredError(\"CONFIG.QUERY_RUNNER_FACTORY_REQUIRED\", \"Query runner factory is required\", {\n\t\twhy: options?.why ?? \"Config.db.queryRunnerFactory is required for db verify\",\n\t\tfix: \"Add db.queryRunnerFactory to prisma.config.ts\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.QUERY_RUNNER_FACTORY_REQUIRED\")\n\t});\n}\n/**\n* Family verify.readMarker is required but not provided.\n*/\nfunction errorFamilyReadMarkerSqlRequired(options) {\n\treturn new CliStructuredError(\"CONFIG.FAMILY_READ_MARKER_REQUIRED\", \"Family readMarker() is required\", {\n\t\twhy: options?.why ?? \"Family verify.readMarker is required for db verify\",\n\t\tfix: \"Ensure family.verify.readMarker() is exported by your family package\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.FAMILY_READ_MARKER_REQUIRED\")\n\t});\n}\n/**\n* JSON output format not supported.\n*/\nfunction errorJsonFormatNotSupported(options) {\n\treturn new CliStructuredError(\"CLI.JSON_FORMAT_UNSUPPORTED\", \"Unsupported JSON format\", {\n\t\twhy: `The ${options.command} command does not support --json ${options.format}`,\n\t\tfix: `Use --json ${options.supportedFormats.join(\" or \")}, or omit --json for human output`,\n\t\tmeta: {\n\t\t\tcommand: options.command,\n\t\t\tformat: options.format,\n\t\t\tsupportedFormats: options.supportedFormats\n\t\t}\n\t});\n}\n/**\n* Driver is required for DB-connected commands but not provided.\n*/\nfunction errorDriverRequired(options) {\n\treturn new CliStructuredError(\"CONFIG.DRIVER_REQUIRED\", \"Driver is required for DB-connected commands\", {\n\t\twhy: options?.why ?? \"Config.driver is required for DB-connected commands\",\n\t\tfix: \"Add a control-plane driver to prisma.config.ts (e.g. import a driver descriptor and set `driver: postgresDriver`)\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.DRIVER_REQUIRED\")\n\t});\n}\n/**\n* Contract requires extension packs that are not provided by config descriptors.\n*/\nfunction errorContractMissingExtensions(options) {\n\tconst missing = [...options.missingExtensions].sort();\n\treturn new CliStructuredError(\"CONFIG.MISSING_EXTENSION_PACKS\", \"Missing extension packs in config\", {\n\t\twhy: missing.length === 1 ? `Contract requires extension pack '${missing[0]}', but CLI config does not provide a matching descriptor.` : `Contract requires extension packs ${missing.map((p) => `'${p}'`).join(\", \")}, but CLI config does not provide matching descriptors.`,\n\t\tfix: \"Add the missing extension descriptors to `extensions` in prisma.config.ts\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.MISSING_EXTENSION_PACKS\"),\n\t\tmeta: {\n\t\t\tmissingExtensions: missing,\n\t\t\tprovidedComponentIds: [...options.providedComponentIds].sort()\n\t\t}\n\t});\n}\nfunction locationJson(location) {\n\tif (location.namespaceId !== UNBOUND_NAMESPACE_ID) return location;\n\tconst { namespaceId: _unbound, ...rest } = location;\n\treturn rest;\n}\nfunction conflictJson(conflict) {\n\treturn {\n\t\t...conflict,\n\t\t...conflict.location === void 0 ? {} : { location: locationJson(conflict.location) },\n\t\t...conflict.refusedStatement === void 0 ? {} : { refusedStatement: migrationStatementJson(conflict.refusedStatement) }\n\t};\n}\n/**\n* Migration planning failed due to conflicts.\n*/\nfunction errorMigrationPlanningFailed(options) {\n\tconst conflictSummaries = options.conflicts.map((c) => c.summary);\n\tconst computedWhy = options.why ?? conflictSummaries.join(\"\\n\");\n\tconst conflictFixes = options.conflicts.map((c) => c.why).filter((why) => typeof why === \"string\");\n\treturn new CliStructuredError(\"MIGRATION.PLANNING_FAILED\", \"Migration planning failed\", {\n\t\twhy: computedWhy,\n\t\tfix: conflictFixes.length > 0 ? conflictFixes.join(\"\\n\") : \"Use `db verify --schema-only` to inspect conflicts, or ensure the database is empty\",\n\t\tmeta: { conflicts: options.conflicts.map(conflictJson) },\n\t\tdocsUrl: docsUrlFor(\"MIGRATION.PLANNING_FAILED\")\n\t});\n}\n/**\n* Target does not support migrations (missing createPlanner/createRunner).\n*/\nfunction errorTargetMigrationNotSupported(options) {\n\treturn new CliStructuredError(\"MIGRATION.TARGET_UNSUPPORTED\", \"Target does not support migrations\", {\n\t\twhy: options?.why ?? \"The configured target does not provide migration planner/runner\",\n\t\tfix: \"Select a target that provides migrations (it must export `target.migrations` for db init)\",\n\t\tdocsUrl: docsUrlFor(\"MIGRATION.TARGET_UNSUPPORTED\")\n\t});\n}\n/**\n* The migration-file CLI received `--config` without a path argument (either\n* a bare trailing `--config`, or `--config` followed by another flag like\n* `--config --dry-run`). Surfacing this as a structured error fails fast\n* rather than silently consuming the next flag as the config path or\n* falling back to default discovery against the wrong project.\n*/\nfunction errorMigrationCliInvalidConfigArg(options) {\n\treturn new CliStructuredError(\"CLI.CONFIG_ARG_MISSING_PATH\", \"--config flag requires a path argument\", {\n\t\twhy: options?.nextToken !== void 0 ? `\\`--config\\` was followed by another flag (\\`${options.nextToken}\\`) instead of a path argument.` : \"`--config` was passed without a following path argument.\",\n\t\tfix: \"Pass a config path: `--config <path>` or `--config=<path>`.\",\n\t\tmeta: options?.nextToken !== void 0 ? { nextToken: options.nextToken } : {}\n\t});\n}\n/**\n* The migration-file CLI received a flag it does not recognise. Surfaced as a\n* structured error so consumers can render their own \"did you mean\"\n* suggestions from `meta.knownFlags` rather than parsing the message.\n*\n* Designed to wrap clipanion's `UnknownSyntaxError` at the parser boundary:\n* pass the offending token as `flag` and the option declarations as\n* `knownFlags`.\n*/\nfunction errorMigrationCliUnknownFlag(options) {\n\tconst knownList = options.knownFlags.join(\", \");\n\treturn new CliStructuredError(\"CLI.UNKNOWN_FLAG\", \"Unknown migration CLI flag\", {\n\t\twhy: `Unknown flag \\`${options.flag}\\`.`,\n\t\tfix: `Known flags: ${knownList}. Run with \\`--help\\` to see the full list.`,\n\t\tmeta: {\n\t\t\tflag: options.flag,\n\t\t\tknownFlags: options.knownFlags\n\t\t}\n\t});\n}\n/**\n* The main CLI received an unsupported `--format` value.\n*/\nfunction errorInvalidOutputFormat(value) {\n\treturn new CliStructuredError(\"CLI.INVALID_OUTPUT_FORMAT\", `Invalid --format value \"${value}\". Allowed values: pretty, json.`, { meta: {\n\t\tvalue,\n\t\tallowed: [\"pretty\", \"json\"]\n\t} });\n}\n/**\n* The main CLI received mutually exclusive output format flags\n* (`--format pretty` together with `--json`).\n*/\nfunction errorOutputFormatMutex() {\n\treturn new CliStructuredError(\"CLI.OUTPUT_FORMAT_CONFLICT\", \"Cannot use --format pretty together with --json. Use --format json or --json alone for JSON output.\");\n}\n/**\n* Config validation error (missing required fields).\n*/\nfunction errorConfigValidation(field, options) {\n\treturn new CliStructuredError(\"CONFIG.VALIDATION_FAILED\", \"Config validation error\", {\n\t\twhy: options?.why ?? `Config must have a \"${field}\" field`,\n\t\tfix: \"Check your prisma.config.ts and ensure all required fields are provided\",\n\t\tdocsUrl: docsUrlFor(\"CONFIG.VALIDATION_FAILED\"),\n\t\tmeta: {\n\t\t\tfield,\n\t\t\t...options?.section !== void 0 ? { section: options.section } : {}\n\t\t}\n\t});\n}\n/**\n* An enum declares a codecId that no component in the contract's pack stack provides,\n* so its member values cannot be encoded. Thrown by both authoring paths (TS `defineContract`\n* and PSL interpretation) when the codec lookup built from the contract's packs has no\n* descriptor for the codecId.\n*/\nfunction errorEnumCodecNotInPackStack(options) {\n\treturn new CliStructuredError(\"CONTRACT.ENUM_CODEC_NOT_IN_PACK_STACK\", `Enum codec \"${options.codecId}\" is not part of the contract's pack stack`, {\n\t\twhy: `An enum uses codec \"${options.codecId}\", but no family, target, or extension pack in the contract provides it.`,\n\t\tfix: \"Use a codec provided by the contract's target/extension packs, or add the pack that supplies this codec.\",\n\t\tmeta: { codecId: options.codecId }\n\t});\n}\n/**\n* Generic unexpected error.\n*/\nfunction errorUnexpected(message, options) {\n\treturn new CliStructuredError(\"CLI.UNEXPECTED\", \"Unexpected error\", {\n\t\twhy: options?.why ?? message,\n\t\tfix: options?.fix ?? \"Check the error message and try again\",\n\t\t...ifDefined(\"meta\", options?.meta),\n\t\t...ifDefined(\"cause\", options?.cause)\n\t});\n}\n//#endregion\nexport { errorUnexpected as S, errorMigrationCliUnknownFlag as _, errorConfigVersionMarkerMissing as a, errorQueryRunnerFactoryRequired as b, errorContractValidationFailed as c, errorEnumCodecNotInPackStack as d, errorFamilyReadMarkerSqlRequired as f, errorMigrationCliInvalidConfigArg as g, errorJsonFormatNotSupported as h, errorConfigValidation as i, errorDatabaseConnectionRequired as l, errorInvalidOutputFormat as m, errorConfigEvaluationFailed as n, errorContractConfigMissing as o, errorFileNotFound as p, errorConfigFileNotFound as r, errorContractMissingExtensions as s, CliStructuredError as t, errorDriverRequired as u, errorMigrationPlanningFailed as v, errorTargetMigrationNotSupported as x, errorOutputFormatMutex as y };\n\n//# sourceMappingURL=control-C4Q85sT5.mjs.map"],"mappings":";;;;;;;;;;;;;;;;AAgBA,IAAI,qBAAqB,cAAc,MAAM;CAC5C;CACA;CACA,YAAY,MAAM,SAAS,SAAS;EACnC,MAAM,SAAS,SAAS,UAAU,KAAK,IAAI,EAAE,OAAO,QAAQ,MAAM,IAAI,KAAK,CAAC;EAC5E,KAAK,OAAO;EACZ,KAAK,OAAO;EACZ,KAAK,WAAW,SAAS,YAAY;EACrC,MAAM,MAAM,SAAS,QAAQ,SAAS,MAAM,KAAK,IAAI,SAAS;EAC9D,MAAM,QAAQ,SAAS,QAAQ;GAC9B,GAAG,UAAU,QAAQ,QAAQ,MAAM,IAAI;GACvC,GAAG,UAAU,QAAQ,QAAQ,MAAM,IAAI;EACxC,IAAI,KAAK;EACT,OAAO,OAAO,MAAM;GACnB,GAAG,UAAU,OAAO,SAAS,GAAG;GAChC,GAAG,UAAU,OAAO,GAAG;GACvB,GAAG,UAAU,eAAe,SAAS,WAAW;GAChD,GAAG,UAAU,eAAe,SAAS,WAAW;GAChD,GAAG,UAAU,SAAS,KAAK;GAC3B,GAAG,UAAU,QAAQ,SAAS,IAAI;GAClC,GAAG,UAAU,WAAW,SAAS,OAAO;EACzC,CAAC;CACF;;;;;;;CAOA,aAAa;EACZ,OAAO;GACN,IAAI;GACJ,MAAM,KAAK;GACX,UAAU,KAAK;GACf,SAAS,KAAK;GACd,GAAG,UAAU,OAAO,KAAK,GAAG;GAC5B,GAA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