@prisma/orm-framework 8.0.0-rc.11-dev.41 → 8.0.0-rc.11-dev.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring-BAkAELU9.d.mts +1 -0
- package/dist/{codec-DgHW_ymr.d.mts → codec-CNyDiibx.d.mts} +5 -5
- package/dist/{codec-DgHW_ymr.d.mts.map → codec-CNyDiibx.d.mts.map} +1 -1
- package/dist/{codec-DWYH-Ra4.mjs → codec-Dn37lyN3.mjs} +12 -3
- package/dist/codec-Dn37lyN3.mjs.map +1 -0
- package/dist/{codec-types-kYJyrqbr-Svq8WsGL.d.mts → codec-types-CUHzY47p-BGExkYMT.d.mts} +80 -7
- package/dist/codec-types-CUHzY47p-BGExkYMT.d.mts.map +1 -0
- package/dist/{components-Ba7BbT88.d.mts → components-mjP-NiPI.d.mts} +4 -4
- package/dist/{components-Ba7BbT88.d.mts.map → components-mjP-NiPI.d.mts.map} +1 -1
- package/dist/components.d.mts +15 -15
- package/dist/components.mjs +5 -5
- package/dist/components__authoring.d.mts +3 -3
- package/dist/components__authoring.mjs +2 -2
- package/dist/components__codec.d.mts +3 -3
- package/dist/components__codec.mjs +3 -3
- package/dist/components__components.d.mts +3 -3
- package/dist/components__control.d.mts +3 -3
- package/dist/components__control.mjs +2 -2
- package/dist/components__emission.d.mts +3 -3
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/components__runtime.d.mts +1 -1
- package/dist/{config-types-B-iTeXpN.d.mts → config-types-BO7wmV7m.d.mts} +9 -7
- package/dist/config-types-BO7wmV7m.d.mts.map +1 -0
- package/dist/{config-types-D_UCRNbm.mjs → config-types-BZjCZ4qx.mjs} +2 -2
- package/dist/config-types-BZjCZ4qx.mjs.map +1 -0
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/config__config-types.mjs +1 -1
- package/dist/contract-authoring.d.mts +3 -3
- package/dist/contract-authoring.mjs +1 -1
- package/dist/{control-Dqz1O00q-CNy6vLdH.mjs → control-DF8jHnId-DtQyLTBV.mjs} +6 -6
- package/dist/control-DF8jHnId-DtQyLTBV.mjs.map +1 -0
- package/dist/{control-B0PqMgKg.d.mts → control-Drb1PraC.d.mts} +54 -8
- package/dist/{control-B0PqMgKg.d.mts.map → control-Drb1PraC.d.mts.map} +1 -1
- package/dist/{control-tJzRbhcm-FZPs7pf9.d.mts → control-DxiV2F-o-BYFWr0js.d.mts} +3 -3
- package/dist/{control-tJzRbhcm-FZPs7pf9.d.mts.map → control-DxiV2F-o-BYFWr0js.d.mts.map} +1 -1
- package/dist/{control-Bg1GXcqy.mjs → control-GHcHV_wC.mjs} +121 -14
- package/dist/control-GHcHV_wC.mjs.map +1 -0
- package/dist/{declarations-SwNXosDu-D39d5EQ-.mjs → declarations-SwNXosDu-CmiTwvc9.mjs} +2 -2
- package/dist/{declarations-SwNXosDu-D39d5EQ-.mjs.map → declarations-SwNXosDu-CmiTwvc9.mjs.map} +1 -1
- package/dist/emission-CjBzhxw9.d.mts +2 -0
- package/dist/{emission-types-x7JU6FRk-DEDfBxIG.d.mts → emission-types-DNZaV1ZD-m0p3ggXz.d.mts} +4 -4
- package/dist/{emission-types-x7JU6FRk-DEDfBxIG.d.mts.map → emission-types-DNZaV1ZD-m0p3ggXz.d.mts.map} +1 -1
- package/dist/errors.d.mts +3 -3
- package/dist/errors.mjs +3 -3
- package/dist/errors__control.d.mts +1 -1
- package/dist/errors__control.mjs +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__execution.mjs +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/errors__migration.mjs +1 -1
- package/dist/{execution-CzKkooKs.d.mts → execution-DAbEHe-I.d.mts} +3 -3
- package/dist/{execution-CzKkooKs.d.mts.map → execution-DAbEHe-I.d.mts.map} +1 -1
- package/dist/{execution-BRNA-BjF.mjs → execution-DBMzfziV.mjs} +2 -2
- package/dist/{execution-BRNA-BjF.mjs.map → execution-DBMzfziV.mjs.map} +1 -1
- package/dist/{execution-BFMcFLtU.d.mts → execution-DbBow4tN.d.mts} +2 -2
- package/dist/{execution-BFMcFLtU.d.mts.map → execution-DbBow4tN.d.mts.map} +1 -1
- package/dist/{framework-authoring-BvxZnsPY-DlD1nwU5.mjs → framework-authoring-CJMqNFpW-zTV9yCxx.mjs} +18 -3
- package/dist/framework-authoring-CJMqNFpW-zTV9yCxx.mjs.map +1 -0
- package/dist/{framework-authoring-3NOnOdDj-D1fs_v7v.d.mts → framework-authoring-Co1079uY-BbMaaDFN.d.mts} +163 -5
- package/dist/framework-authoring-Co1079uY-BbMaaDFN.d.mts.map +1 -0
- package/dist/{framework-components-Bjrri0MO-B8scNd0G.d.mts → framework-components-5NDIE2bw-BEUhp0I_.d.mts} +13 -103
- package/dist/framework-components-5NDIE2bw-BEUhp0I_.d.mts.map +1 -0
- package/dist/ids.d.mts +1 -1
- package/dist/{migration-xidzvvbN.mjs → migration-B-vxpJrb.mjs} +2 -2
- package/dist/{migration-xidzvvbN.mjs.map → migration-B-vxpJrb.mjs.map} +1 -1
- package/dist/{migration-BLWAkEWP.d.mts → migration-D4svpE2x.d.mts} +2 -2
- package/dist/{migration-BLWAkEWP.d.mts.map → migration-D4svpE2x.d.mts.map} +1 -1
- package/dist/{parse-5HXALb4y-B4NflAYD.d.mts → parse-5HXALb4y-DqeDMhhu.d.mts} +5 -5
- package/dist/{parse-5HXALb4y-B4NflAYD.d.mts.map → parse-5HXALb4y-DqeDMhhu.d.mts.map} +1 -1
- package/dist/{parse-Cu6B62PC-BAPPRuso.mjs → parse-Cu6B62PC-Cn_Sj_oR.mjs} +2 -2
- package/dist/{parse-Cu6B62PC-BAPPRuso.mjs.map → parse-Cu6B62PC-Cn_Sj_oR.mjs.map} +1 -1
- package/dist/{psl-ast-CYAtex8A.d.mts → psl-ast-B4EnAqNe.d.mts} +4 -4
- package/dist/{psl-ast-CYAtex8A.d.mts.map → psl-ast-B4EnAqNe.d.mts.map} +1 -1
- package/dist/{psl-ast-B2fz3C8J-ThGHYpLN.d.mts → psl-ast-COX_BDIK-Db5b89j9.d.mts} +4 -4
- package/dist/{psl-ast-B2fz3C8J-ThGHYpLN.d.mts.map → psl-ast-COX_BDIK-Db5b89j9.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +11 -10
- package/dist/psl-parser.d.mts.map +1 -1
- package/dist/psl-parser.mjs +3 -3
- package/dist/psl-parser.mjs.map +1 -1
- package/dist/psl-parser__format.mjs +2 -2
- package/dist/psl-parser__interpret.d.mts +3 -3
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-parser__syntax.mjs +2 -2
- package/dist/psl-printer.d.mts +6 -6
- package/dist/psl-printer.mjs +1 -1
- package/dist/{resolve-codec-BLRGmP1f-CydhIhLP.mjs → resolve-codec-C13hn-14-DfFGo-7T.mjs} +30 -3
- package/dist/resolve-codec-C13hn-14-DfFGo-7T.mjs.map +1 -0
- package/dist/{runtime-TlGBi-DH.d.mts → runtime-BF7FbnSQ.d.mts} +2 -2
- package/dist/{runtime-TlGBi-DH.d.mts.map → runtime-BF7FbnSQ.d.mts.map} +1 -1
- package/dist/{symbol-table-CDtpZvfM-BFJgmN1_.d.mts → symbol-table-CDtpZvfM-CWLLXuSI.d.mts} +5 -5
- package/dist/{symbol-table-CDtpZvfM-BFJgmN1_.d.mts.map → symbol-table-CDtpZvfM-CWLLXuSI.d.mts.map} +1 -1
- package/dist/{types-import-spec-CzOtW57G-C3xwIiiM.d.mts → types-import-spec-fliHHCFF-B1yF0Xw3.d.mts} +3 -3
- package/dist/{types-import-spec-CzOtW57G-C3xwIiiM.d.mts.map → types-import-spec-fliHHCFF-B1yF0Xw3.d.mts.map} +1 -1
- package/package.json +15 -15
- package/dist/authoring-BQ6N2aqm.d.mts +0 -1
- package/dist/codec-DWYH-Ra4.mjs.map +0 -1
- package/dist/codec-types-kYJyrqbr-Svq8WsGL.d.mts.map +0 -1
- package/dist/config-types-B-iTeXpN.d.mts.map +0 -1
- package/dist/config-types-D_UCRNbm.mjs.map +0 -1
- package/dist/control-Bg1GXcqy.mjs.map +0 -1
- package/dist/control-Dqz1O00q-CNy6vLdH.mjs.map +0 -1
- package/dist/emission-CPJf0TyD.d.mts +0 -2
- package/dist/framework-authoring-3NOnOdDj-D1fs_v7v.d.mts.map +0 -1
- package/dist/framework-authoring-BvxZnsPY-DlD1nwU5.mjs.map +0 -1
- package/dist/framework-components-Bjrri0MO-B8scNd0G.d.mts.map +0 -1
- package/dist/resolve-codec-BLRGmP1f-CydhIhLP.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as TypesImportSpec } from "./types-import-spec-
|
|
2
|
-
import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-
|
|
3
|
-
import "./emission-
|
|
1
|
+
import { l as TypesImportSpec } from "./types-import-spec-fliHHCFF-B1yF0Xw3.mjs";
|
|
2
|
+
import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-DNZaV1ZD-m0p3ggXz.mjs";
|
|
3
|
+
import "./emission-CjBzhxw9.mjs";
|
|
4
4
|
export { type EmissionSpi, type GenerateContractTypesOptions, type ImportSpecifierResolver, type TypesImportSpec, type ValidationContext, keepInternalSpecifiers, resolveRequirementSpecifiers };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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-DbBow4tN.mjs";
|
|
2
2
|
export { type ExecutionStack, type ExecutionStackInstance, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeTargetDescriptor, type RuntimeTargetInstance, assertRuntimeContractRequirementsSatisfied, createExecutionStack, instantiateExecutionStack };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-
|
|
3
|
-
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-
|
|
1
|
+
import { $ as PslExtensionBlockAttributeArg, G as PslBlockParam, J as PslBlockParamRef, K as PslBlockParamList, N as ContributedPslDiagnosticCode, Q as PslExtensionBlockAttribute, X as PslDiagnosticCode, Y as PslBlockParamValue, Z as PslExtensionBlock, at as PslExtensionBlockParamValue, ct as PslSpan, et as PslExtensionBlockParamBare, it as PslExtensionBlockParamScalarValue, nt as PslExtensionBlockParamOption, ot as PslExtensionBlockParsedAttribute, q as PslBlockParamOption, rt as PslExtensionBlockParamRef, st as PslPosition, tt as PslExtensionBlockParamList, w as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-Co1079uY-BbMaaDFN.mjs";
|
|
2
|
+
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-COX_BDIK-Db5b89j9.mjs";
|
|
3
|
+
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-B4EnAqNe.mjs";
|
|
4
4
|
export { type AuthoringPslBlockDescriptorNamespace, BUILTIN_PSL_KIND_KEYS, type ContributedPslDiagnosticCode, type ExtensionBlockRefResolutionContext, ParsePslDocumentInput, ParsePslDocumentResult, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslExtensionBlockParsedAttribute, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, UNSPECIFIED_PSL_NAMESPACE_ID, flatPslCompositeTypes, flatPslModels, makePslNamespace, makePslNamespaceEntries, namespacePslExtensionBlocks, validateExtensionBlock };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as Scalars, B as raceAgainstAbort, C as RuntimeErrorEnvelope, D as RuntimeMiddleware, E as RuntimeLog, F as checkAborted, G as runtimeAborted, H as runBeforeQueryChain, I as checkMiddlewareCompatibility, K as runtimeError, L as createMetaBuilder, M as ShapeSpec, N as ValidAnnotations, O as RuntimeMiddlewareContext, P as assertAnnotationsApplicable, R as defineAnnotation, S as RuntimeCoreOptions, T as RuntimeExecutor, U as runExecuteWithMiddleware, V as runBeforeExecuteChain, W as runQueryWithMiddleware, _ as RelationKeys, a as AsyncIterableResult, b as RuntimeAbortedPhase, c as ExecuteInterceptResult, d as MetaBuilder, f as OperationKind, g as RUNTIME_ABORTED, h as QueryPlan, i as AnnotationValue, j as Shape, k as RuntimeStatementStats, l as ExecutionPlan, m as QueryInterceptResult, n as AfterQueryResult, o as CrossFamilyMiddleware, p as ParamRefMutator, r as AnnotationHandle, s as DefineAnnotationOptions, t as AfterExecuteResult, u as LaneMetaBuilder, v as RelationNamesOf, w as RuntimeExecuteOptions, x as RuntimeCore, y as ResultType, z as isRuntimeError } from "./runtime-
|
|
1
|
+
import { A as Scalars, B as raceAgainstAbort, C as RuntimeErrorEnvelope, D as RuntimeMiddleware, E as RuntimeLog, F as checkAborted, G as runtimeAborted, H as runBeforeQueryChain, I as checkMiddlewareCompatibility, K as runtimeError, L as createMetaBuilder, M as ShapeSpec, N as ValidAnnotations, O as RuntimeMiddlewareContext, P as assertAnnotationsApplicable, R as defineAnnotation, S as RuntimeCoreOptions, T as RuntimeExecutor, U as runExecuteWithMiddleware, V as runBeforeExecuteChain, W as runQueryWithMiddleware, _ as RelationKeys, a as AsyncIterableResult, b as RuntimeAbortedPhase, c as ExecuteInterceptResult, d as MetaBuilder, f as OperationKind, g as RUNTIME_ABORTED, h as QueryPlan, i as AnnotationValue, j as Shape, k as RuntimeStatementStats, l as ExecutionPlan, m as QueryInterceptResult, n as AfterQueryResult, o as CrossFamilyMiddleware, p as ParamRefMutator, r as AnnotationHandle, s as DefineAnnotationOptions, t as AfterExecuteResult, u as LaneMetaBuilder, v as RelationNamesOf, w as RuntimeExecuteOptions, x as RuntimeCore, y as ResultType, z as isRuntimeError } from "./runtime-BF7FbnSQ.mjs";
|
|
2
2
|
export { type AfterExecuteResult, type AfterQueryResult, type AnnotationHandle, type AnnotationValue, AsyncIterableResult, type CrossFamilyMiddleware, type DefineAnnotationOptions, type ExecuteInterceptResult, type ExecutionPlan, type LaneMetaBuilder, type MetaBuilder, type OperationKind, type ParamRefMutator, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, RelationKeys, type RelationNamesOf, type ResultType, type RuntimeAbortedPhase, RuntimeCore, type RuntimeCoreOptions, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeLog, type RuntimeMiddleware, type RuntimeMiddlewareContext, type RuntimeStatementStats, type Scalars, type Shape, type ShapeSpec, type ValidAnnotations, assertAnnotationsApplicable, checkAborted, checkMiddlewareCompatibility, createMetaBuilder, defineAnnotation, isRuntimeError, raceAgainstAbort, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as Contract } from "./contract-types-Bje5yT4f-0D1Z41Lq.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
2
|
+
import { f as CodecLookup, v as DataTypeLookup } from "./codec-types-CUHzY47p-BGExkYMT.mjs";
|
|
3
|
+
import { L as ControlMutationDefaults } from "./framework-authoring-Co1079uY-BbMaaDFN.mjs";
|
|
4
|
+
import "./codec-CNyDiibx.mjs";
|
|
4
5
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
5
|
-
import
|
|
6
|
-
import "./components-Ba7BbT88.mjs";
|
|
6
|
+
import "./components-mjP-NiPI.mjs";
|
|
7
7
|
import { r as Result } from "./result-Bpupv5vO.mjs";
|
|
8
|
-
import { d as ControlExtensionDescriptor, g as ControlTargetDescriptor, l as ControlDriverDescriptor, n as AssembledAuthoringContributions, p as ControlFamilyDescriptor, s as ControlAdapterDescriptor, u as ControlDriverInstance } from "./control-
|
|
8
|
+
import { d as ControlExtensionDescriptor, g as ControlTargetDescriptor, l as ControlDriverDescriptor, n as AssembledAuthoringContributions, p as ControlFamilyDescriptor, s as ControlAdapterDescriptor, u as ControlDriverInstance } from "./control-Drb1PraC.mjs";
|
|
9
9
|
//#region ../../../1-framework/1-core/config/dist/config-types.d.mts
|
|
10
10
|
//#region src/contract-source-types.d.ts
|
|
11
11
|
interface ContractSourceDiagnosticPosition {
|
|
@@ -40,6 +40,8 @@ interface ContractSourceContext {
|
|
|
40
40
|
readonly composedExtensionContracts: ReadonlyMap<string, Contract>;
|
|
41
41
|
readonly authoringContributions: AssembledAuthoringContributions;
|
|
42
42
|
readonly codecLookup: CodecLookup;
|
|
43
|
+
/** The stack's data types, so a written default can be cast into a column's type. ADR 254. */
|
|
44
|
+
readonly dataTypeLookup: DataTypeLookup;
|
|
43
45
|
readonly controlMutationDefaults: ControlMutationDefaults;
|
|
44
46
|
readonly resolvedInputs: readonly string[];
|
|
45
47
|
readonly capabilities: CapabilityMatrix;
|
|
@@ -146,7 +148,7 @@ interface PrismaNextConfig<TFamilyId extends string = string, TTargetId extends
|
|
|
146
148
|
}
|
|
147
149
|
/**
|
|
148
150
|
* Builds the ORM section of `prisma.config.ts`. The result nests under the
|
|
149
|
-
* `orm` key of the engine's `
|
|
151
|
+
* `orm` key of the engine's `definePrismaConfig` — the marker lives on the envelope,
|
|
150
152
|
* not here. Structural validation happens in the config loader, which reports
|
|
151
153
|
* per-section diagnostics instead of failing the whole load.
|
|
152
154
|
*
|
|
@@ -160,4 +162,4 @@ interface PrismaNextConfig<TFamilyId extends string = string, TTargetId extends
|
|
|
160
162
|
declare function defineConfig<TFamilyId extends string = string, TTargetId extends string = string>(config: PrismaNextConfig<TFamilyId, TTargetId>): PrismaNextConfig<TFamilyId, TTargetId>;
|
|
161
163
|
//#endregion
|
|
162
164
|
export { normalizeContractConfig as _, ContractSourceDiagnosticSpan as a, ContractSourceProvider as c, FormatterConfig as d, OpaqueContractSourceProvider as f, defineConfig as g, TypeScriptContractSourceProvider as h, ContractSourceDiagnosticPosition as i, ContractSourceProviderBase as l, PslContractSourceProvider as m, ContractSourceContext as n, ContractSourceDiagnostics as o, PrismaNextConfig as p, ContractSourceDiagnostic as r, ContractSourceFormat as s, ContractConfig as t, DEFAULT_CONTRACT_SOURCE_DIR as u };
|
|
163
|
-
//# sourceMappingURL=config-types-
|
|
165
|
+
//# sourceMappingURL=config-types-BO7wmV7m.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-types-BO7wmV7m.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;UAMU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;;;;;WAMP,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;;WAEb,gBAAgB;WAChB,yBAAyB;WACzB;WACA,cAAc;;;KAGpB;UACK;WACC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;UAEpE,kCAAkC;WACjC;;UAED,yCAAyC;WACxC;;;;;;;;UAQD,qCAAqC;WACpC;;KAEN,yBAAyB,4BAA4B,mCAAmC;;;;;;UAMnF;;;;;WAKC,QAAQ;;;;;;;WAOR;;UAED;WACC;WACA;;;;;;;cAOG;iBACG,wBAAwB,UAAU,iBAAiB;WACzD;;;;;;;;;;UAUD,iBAAiB,mCAAmC,mCAAmC;WACtF,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,sBAAsB,2BAA2B,WAAW;;;;;;;WAO5D,SAAS,wBAAwB,WAAW,WAAW,sBAAsB,WAAW,YAAY;;;;;WAKpG;;;;;;aAME,aAAa;;;;;;WAMf,WAAW;;;;WAIX;;aAEE;;WAEF,YAAY;;;;;;;;;;;;;;;iBAeN,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW"}
|
|
@@ -14,7 +14,7 @@ function normalizeContractConfig(contract) {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Builds the ORM section of `prisma.config.ts`. The result nests under the
|
|
17
|
-
* `orm` key of the engine's `
|
|
17
|
+
* `orm` key of the engine's `definePrismaConfig` — the marker lives on the envelope,
|
|
18
18
|
* not here. Structural validation happens in the config loader, which reports
|
|
19
19
|
* per-section diagnostics instead of failing the whole load.
|
|
20
20
|
*
|
|
@@ -35,4 +35,4 @@ function defineConfig(config) {
|
|
|
35
35
|
//#endregion
|
|
36
36
|
export { defineConfig as n, normalizeContractConfig as r, DEFAULT_CONTRACT_SOURCE_DIR as t };
|
|
37
37
|
|
|
38
|
-
//# sourceMappingURL=config-types-
|
|
38
|
+
//# sourceMappingURL=config-types-BZjCZ4qx.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-types-BZjCZ4qx.mjs","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.mjs"],"sourcesContent":["//#region src/config-types.ts\n/**\n* Default *source* directory for the contract file the user authors at `init`\n* time. Output artefacts colocate with source per the same rule path-bearing\n* providers apply.\n*/\nconst DEFAULT_CONTRACT_SOURCE_DIR = \"src/prisma\";\nfunction normalizeContractConfig(contract) {\n\tconst inMemoryFallbackOutput = `${DEFAULT_CONTRACT_SOURCE_DIR}/contract.json`;\n\treturn {\n\t\tsource: contract.source,\n\t\toutput: contract.output ?? inMemoryFallbackOutput\n\t};\n}\n/**\n* Builds the ORM section of `prisma.config.ts`. The result nests under the\n* `orm` key of the engine's `definePrismaConfig` — the marker lives on the envelope,\n* not here. Structural validation happens in the config loader, which reports\n* per-section diagnostics instead of failing the whole load.\n*\n* Normalization:\n* - contract.output defaults to a path colocated with DEFAULT_CONTRACT_SOURCE_DIR\n* when missing (in-memory-only providers)\n*\n* @param config - Raw config input from user\n* @returns Normalized config IR with defaults applied\n*/\nfunction defineConfig(config) {\n\tif (config.contract) return {\n\t\t...config,\n\t\tcontract: normalizeContractConfig(config.contract)\n\t};\n\treturn config;\n}\n//#endregion\nexport { DEFAULT_CONTRACT_SOURCE_DIR, defineConfig, normalizeContractConfig };\n\n//# sourceMappingURL=config-types.mjs.map"],"mappings":";;;;;;AAMA,MAAM,8BAA8B;AACpC,SAAS,wBAAwB,UAAU;CAC1C,MAAM,yBAAyB,GAAG,4BAA4B;CAC9D,OAAO;EACN,QAAQ,SAAS;EACjB,QAAQ,SAAS,UAAU;CAC5B;AACD;;;;;;;;;;;;;;AAcA,SAAS,aAAa,QAAQ;CAC7B,IAAI,OAAO,UAAU,OAAO;EAC3B,GAAG;EACH,UAAU,wBAAwB,OAAO,QAAQ;CAClD;CACA,OAAO;AACR"}
|
package/dist/config.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as normalizeContractConfig, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as OpaqueContractSourceProvider, g as defineConfig, h as TypeScriptContractSourceProvider, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PrismaNextConfig, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-
|
|
1
|
+
import { _ as normalizeContractConfig, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as OpaqueContractSourceProvider, g as defineConfig, h as TypeScriptContractSourceProvider, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PrismaNextConfig, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-BO7wmV7m.mjs";
|
|
2
2
|
import { n as ConfigValidationIssue, r as collectConfigIssues, t as ConfigSection } from "./config-validation-Wiqew2J9.mjs";
|
|
3
3
|
export { type ConfigSection, type ConfigValidationIssue, type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type OpaqueContractSourceProvider, type PrismaNextConfig, type PslContractSourceProvider, type TypeScriptContractSourceProvider, collectConfigIssues, defineConfig, normalizeContractConfig };
|
package/dist/config.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as defineConfig, r as normalizeContractConfig, t as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-
|
|
1
|
+
import { n as defineConfig, r as normalizeContractConfig, t as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-BZjCZ4qx.mjs";
|
|
2
2
|
import { t as collectConfigIssues } from "./config-validation-DPt5hwQx.mjs";
|
|
3
3
|
export { DEFAULT_CONTRACT_SOURCE_DIR, collectConfigIssues, defineConfig, normalizeContractConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as normalizeContractConfig, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as OpaqueContractSourceProvider, g as defineConfig, h as TypeScriptContractSourceProvider, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PrismaNextConfig, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-
|
|
1
|
+
import { _ as normalizeContractConfig, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as OpaqueContractSourceProvider, g as defineConfig, h as TypeScriptContractSourceProvider, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PrismaNextConfig, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-BO7wmV7m.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 OpaqueContractSourceProvider, type PrismaNextConfig, type PslContractSourceProvider, type TypeScriptContractSourceProvider, defineConfig, normalizeContractConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as defineConfig, r as normalizeContractConfig, t as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-
|
|
1
|
+
import { n as defineConfig, r as normalizeContractConfig, t as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-BZjCZ4qx.mjs";
|
|
2
2
|
export { DEFAULT_CONTRACT_SOURCE_DIR, defineConfig, normalizeContractConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ContractToOneRelation, g as ContractModelBase, n as ApplicationDomain } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
-
import { c as
|
|
3
|
-
import "./authoring-
|
|
4
|
-
import { a as ColumnTypeDescriptor } from "./codec-
|
|
2
|
+
import { c as AuthoringEntityContext, d as AuthoringEntityTypeNamespace, l as AuthoringEntityTypeDescriptor } from "./framework-authoring-Co1079uY-BbMaaDFN.mjs";
|
|
3
|
+
import "./authoring-BAkAELU9.mjs";
|
|
4
|
+
import { a as ColumnTypeDescriptor } from "./codec-CNyDiibx.mjs";
|
|
5
5
|
//#region ../../../1-framework/2-authoring/contract/dist/index.d.mts
|
|
6
6
|
//#region src/capability-registry.d.ts
|
|
7
7
|
type CapabilityMatrix = Readonly<Record<string, Readonly<Record<string, boolean>>>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
2
|
import { o as structuredError } from "./structured-error-BXbihKQ-.mjs";
|
|
3
|
-
import { c as instantiateAuthoringEntityType } from "./framework-authoring-
|
|
3
|
+
import { c as instantiateAuthoringEntityType } from "./framework-authoring-CJMqNFpW-zTV9yCxx.mjs";
|
|
4
4
|
//#region ../../../1-framework/2-authoring/contract/dist/index.mjs
|
|
5
5
|
/**
|
|
6
6
|
* Deep-merges any number of capability matrices into a single matrix.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ifDefined } from "./defined-BQWA85QH-BRSBMULx.mjs";
|
|
2
2
|
import { r as docsUrlFor } from "./structured-error-BXbihKQ-.mjs";
|
|
3
|
-
//#region ../../../1-framework/1-core/errors/dist/control-
|
|
3
|
+
//#region ../../../1-framework/1-core/errors/dist/control-DF8jHnId.mjs
|
|
4
4
|
/**
|
|
5
5
|
* Structured CLI error that contains all information needed for error envelopes.
|
|
6
6
|
* Call sites throw these errors with full context.
|
|
@@ -95,14 +95,14 @@ function errorConfigEvaluationFailed(configPath, options) {
|
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
|
-
* Config module evaluated, but its export does not carry the
|
|
98
|
+
* Config module evaluated, but its export does not carry the definePrismaConfig
|
|
99
99
|
* version marker (plain object export, or a config produced by a different
|
|
100
100
|
* defineConfig such as classic Prisma's).
|
|
101
101
|
*/
|
|
102
102
|
function errorConfigVersionMarkerMissing(configPath) {
|
|
103
|
-
return new CliStructuredError("CONFIG.VERSION_MARKER_MISSING", "Config is not a
|
|
104
|
-
why: "The config module evaluated, but its default export was not created by a current
|
|
105
|
-
fix: "Create the config with
|
|
103
|
+
return new CliStructuredError("CONFIG.VERSION_MARKER_MISSING", "Config is not a definePrismaConfig result", {
|
|
104
|
+
why: "The config module evaluated, but its default export was not created by a current definePrismaConfig",
|
|
105
|
+
fix: "Create the config with definePrismaConfig from '@prisma/cli-engine', nest your settings under its `orm` section, and export its return value directly",
|
|
106
106
|
docsUrl: docsUrlFor("CONFIG.VERSION_MARKER_MISSING"),
|
|
107
107
|
...configPath ? { where: { path: configPath } } : {}
|
|
108
108
|
});
|
|
@@ -334,4 +334,4 @@ function errorUnexpected(message, options) {
|
|
|
334
334
|
//#endregion
|
|
335
335
|
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 };
|
|
336
336
|
|
|
337
|
-
//# sourceMappingURL=control-
|
|
337
|
+
//# sourceMappingURL=control-DF8jHnId-DtQyLTBV.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-DF8jHnId-DtQyLTBV.mjs","names":[],"sources":["../../../../1-framework/1-core/errors/dist/control-DF8jHnId.mjs"],"sourcesContent":["import { 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}\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 },\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(\"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-DF8jHnId.mjs.map"],"mappings":";;;;;;;;;;;;;;AAcA,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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ntryRecord, m as ContractMarkerRecord } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
2
|
import { i as ControlPolicy, t as Contract } from "./contract-types-Bje5yT4f-0D1Z41Lq.mjs";
|
|
3
|
-
import { t as AnyCodecDescriptor,
|
|
4
|
-
import {
|
|
5
|
-
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-
|
|
3
|
+
import { _ as DataTypeId, g as DataType, m as CodecRegistry, t as AnyCodecDescriptor, v as DataTypeLookup } from "./codec-types-CUHzY47p-BGExkYMT.mjs";
|
|
4
|
+
import { A as AuthoringTypeNamespace, L as ControlMutationDefaults, a as AuthoringContributions, d as AuthoringEntityTypeNamespace, o as AuthoringDataTypeEntry, p as AuthoringFieldNamespace, r as AuthoringAttributeSpecContributions, v as AuthoringModelAttributeDescriptorNamespace, w as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-Co1079uY-BbMaaDFN.mjs";
|
|
5
|
+
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-fliHHCFF-B1yF0Xw3.mjs";
|
|
6
6
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-
|
|
9
|
-
import { m as PslDocumentAst } from "./psl-ast-
|
|
7
|
+
import { a as ComponentMetadata, b as TargetInstance, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, h as FamilyInstance, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, t as AdapterDescriptor, v as TargetBoundComponentDescriptor, y as TargetDescriptor } from "./framework-components-5NDIE2bw-BEUhp0I_.mjs";
|
|
8
|
+
import { r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-DNZaV1ZD-m0p3ggXz.mjs";
|
|
9
|
+
import { m as PslDocumentAst } from "./psl-ast-COX_BDIK-Db5b89j9.mjs";
|
|
10
10
|
import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
|
|
11
11
|
import { n as JsonObject } from "./json-Dkqr3say.mjs";
|
|
12
12
|
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-BAvRuZ2i-IwsqxGme.mjs";
|
|
@@ -1072,6 +1072,8 @@ interface AssembledAuthoringContributions {
|
|
|
1072
1072
|
readonly pslBlockDescriptors: AuthoringPslBlockDescriptorNamespace;
|
|
1073
1073
|
readonly modelAttributes: AuthoringModelAttributeDescriptorNamespace;
|
|
1074
1074
|
readonly attributeSpecs: AuthoringAttributeSpecContributions;
|
|
1075
|
+
/** PSL support for every registered data type, merged across the composed components. ADR 254. */
|
|
1076
|
+
readonly dataTypes: Readonly<Record<string, AuthoringDataTypeEntry>>;
|
|
1075
1077
|
/** The single {@link AuthoringContributions.valueObjectStorageType} declared across the composed components, validated at assembly against the merged `type` namespace. */
|
|
1076
1078
|
readonly valueObjectStorageType?: string;
|
|
1077
1079
|
}
|
|
@@ -1091,6 +1093,8 @@ interface ControlStack<TFamilyId extends string = string, TTargetId extends stri
|
|
|
1091
1093
|
/** Every aggregate overload the composed components declare, validated for shape and single ownership at assembly. */
|
|
1092
1094
|
readonly aggregateDescriptors: ReadonlyArray<AggregateDescriptor>;
|
|
1093
1095
|
readonly authoringContributions: AssembledAuthoringContributions;
|
|
1096
|
+
/** Every data type the composed components register, by id. ADR 254. */
|
|
1097
|
+
readonly dataTypeLookup: DataTypeLookup;
|
|
1094
1098
|
/** Names of the top-level zero-arg type constructors in the assembled authoring namespace — the base scalars of the composed stack. */
|
|
1095
1099
|
readonly scalarTypes: ReadonlyArray<string>;
|
|
1096
1100
|
readonly controlMutationDefaults: ControlMutationDefaults;
|
|
@@ -1125,6 +1129,48 @@ declare function assembleAuthoringContributions(descriptors: ReadonlyArray<{
|
|
|
1125
1129
|
readonly id?: string;
|
|
1126
1130
|
readonly authoring?: AuthoringContributions;
|
|
1127
1131
|
}>): AssembledAuthoringContributions;
|
|
1132
|
+
/** Collect every data type the composed components register, refusing two declarations of one id. */
|
|
1133
|
+
declare function assembleDataTypes(descriptors: ReadonlyArray<Pick<ComponentMetadata, 'dataTypes'> & {
|
|
1134
|
+
readonly id?: string;
|
|
1135
|
+
}>): {
|
|
1136
|
+
readonly lookup: DataTypeLookup;
|
|
1137
|
+
readonly declared: ReadonlyArray<{
|
|
1138
|
+
readonly type: DataType;
|
|
1139
|
+
readonly contributedBy: string;
|
|
1140
|
+
}>;
|
|
1141
|
+
};
|
|
1142
|
+
/** Merge every component's PSL support for its data types, refusing two claims on one key. */
|
|
1143
|
+
declare function assembleAuthoringDataTypes(descriptors: ReadonlyArray<{
|
|
1144
|
+
readonly id?: string;
|
|
1145
|
+
readonly authoring?: AuthoringContributions;
|
|
1146
|
+
}>): Readonly<Record<string, AuthoringDataTypeEntry>>;
|
|
1147
|
+
interface DataTypeInvariantInput {
|
|
1148
|
+
readonly lookup: DataTypeLookup;
|
|
1149
|
+
readonly declaredTypes: ReadonlyArray<{
|
|
1150
|
+
readonly type: DataType;
|
|
1151
|
+
readonly contributedBy: string;
|
|
1152
|
+
}>;
|
|
1153
|
+
readonly codecs: ReadonlyArray<{
|
|
1154
|
+
readonly codecId: string;
|
|
1155
|
+
readonly dataType: DataTypeId;
|
|
1156
|
+
readonly contributedBy: string;
|
|
1157
|
+
}>;
|
|
1158
|
+
readonly authoringEntries: ReadonlyArray<{
|
|
1159
|
+
readonly key: string;
|
|
1160
|
+
readonly entry: AuthoringDataTypeEntry;
|
|
1161
|
+
readonly contributedBy: string;
|
|
1162
|
+
}>;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* The four things assembly checks across packs, each naming the component and the id at fault:
|
|
1166
|
+
*
|
|
1167
|
+
* 1. every codec names a registered data type;
|
|
1168
|
+
* 2. every authoring entry, and every type a cast takes values of, names a registered data type;
|
|
1169
|
+
* 3. no two entries claim one tag or one plain form;
|
|
1170
|
+
* 4. every type a cast takes values of can be written, because a cast from a type nobody can write
|
|
1171
|
+
* is never exercised.
|
|
1172
|
+
*/
|
|
1173
|
+
declare function enforceDataTypeInvariants(input: DataTypeInvariantInput): void;
|
|
1128
1174
|
declare function assembleControlMutationDefaults(descriptors: ReadonlyArray<Pick<ComponentMetadata, 'controlMutationDefaults'> & {
|
|
1129
1175
|
readonly id?: string;
|
|
1130
1176
|
}>): ControlMutationDefaults;
|
|
@@ -1437,5 +1483,5 @@ declare function resolveTemplateTagEscapes(raw: string): string;
|
|
|
1437
1483
|
*/
|
|
1438
1484
|
declare function canonicalizeTaggedLiteralBody(resolved: string): TaggedLiteralCanonicalization;
|
|
1439
1485
|
//#endregion
|
|
1440
|
-
export {
|
|
1441
|
-
//# sourceMappingURL=control-
|
|
1486
|
+
export { SchemaDiff as $, storageHashHex as $t, MigrationPackage as A, assertUniqueCodecOwner as At, MigrationRunnerExecutionChecks as B, extractCodecLookup as Bt, EmitContractResult as C, VerifierOutcome as Ct, MigrationMetadata as D, assembleAuthoringDataTypes as Dt, MigratableTargetDescriptor as E, assembleAuthoringContributions as Et, MigrationPlannerConflict as F, createControlStack as Ft, MigrationRunnerSuccessValue as G, hasOperationPreview as Gt, MigrationRunnerPerSpaceOptions as H, extractComponentIds as Ht, MigrationPlannerFailureResult as I, describeTaggedLiteralFailure as It, OperationContext as J, hasSchemaView as Jt, MigrationScaffoldContext as K, hasPslContractInfer as Kt, MigrationPlannerResult as L, diffSchemas as Lt, MigrationPlanOperation as M, canonicalizeTaggedLiteralBody as Mt, MigrationPlanWithAuthoringSurface as N, contractSnapshotJsonSpecifier as Nt, MigrationOperationClass as O, assembleControlMutationDefaults as Ot, MigrationPlanner as P, contractSnapshotTypesSpecifier as Pt, PslContractInferCapable as Q, resolveTemplateTagEscapes as Qt, MigrationPlannerSuccessResult as R, dispositionForCategory as Rt, DiffableNode as S, VerifierIssueCategory as St, IntrospectSchemaResult as T, VerifyDatabaseSchemaResult as Tt, MigrationRunnerPerSpaceSuccessValue as U, extractQueryOperationTypeImports as Ut, MigrationRunnerFailure as V, extractCodecTypeImports as Vt, MigrationRunnerResult as W, hasMigrations as Wt, OperationPreviewCapable as X, orderIssuesByDependencies as Xt, OperationPreview as Y, issueOutcome as Yt, OperationPreviewStatement as Z, resolvePslBacktickEscapes as Zt, ControlTargetInstance as _, VERIFY_CODE_HASH_MISMATCH as _t, ContractSpace as a, SchemaTreeNode as at, DataTypeInvariantInput as b, VERIFY_CODE_TARGET_MISMATCH as bt, ControlAdapterInstance as c, SchemaVerifier as ct, ControlExtensionDescriptor as d, SchemaViewCapable as dt, SchemaDiffIssue as et, ControlExtensionInstance as f, SchemaViewNodeKind as ft, ControlTargetDescriptor as g, TargetMigrationsCapability as gt, ControlStack as h, TaggedLiteralCanonicalization as ht, ContractSerializer as i, SchemaSubjectClassifierCapable as it, MigrationPlan as j, buildExtensionLoadOrder as jt, MigrationOperationPolicy as k, assembleDataTypes as kt, ControlDriverDescriptor as l, SchemaVerifyOptions as lt, ControlFamilyInstance as m, TAGGED_LITERAL_MAX_BYTES as mt, AssembledAuthoringContributions as n, SchemaNodeRef as nt, ContractSpaceHeadRef as o, SchemaTreeNodeOptions as ot, ControlFamilyDescriptor as p, SignDatabaseResult as pt, OpFactoryCall as q, hasSchemaSubjectClassifier as qt, CONTRACT_SNAPSHOTS_DIRNAME as r, SchemaOwnership as rt, ControlAdapterDescriptor as s, SchemaTreeVisitor as st, APP_SPACE_ID as t, SchemaEntityCoordinate as tt, ControlDriverInstance as u, SchemaVerifyResult as ut, CoreSchemaView as v, VERIFY_CODE_MARKER_MISSING as vt, ExpectationFailureReason as w, VerifyDatabaseResult as wt, DiffSubjectGranularity as x, VerificationStatus as xt, CreateControlStackInput as y, VERIFY_CODE_SCHEMA_FAILURE as yt, MigrationRunner as z, enforceDataTypeInvariants as zt };
|
|
1487
|
+
//# sourceMappingURL=control-Drb1PraC.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-Drb1PraC.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA6BU,mBAAmB;;;;;;;;;;;;EAY3B,oBAAoB,UAAU,YAAY,WAAW,gBAAgB;;;;;;;;;;EAUrE,kBAAkB,UAAU,YAAY;;;;;;;;WAQ/B,sBAAsB;;;;;;;;WAQtB,cAAc;;;;;;;;;;;;;;;WAed;aACE,sBAAsB;aACtB,cAAc;;;;;cAKb;;iBAEG,eAAe;;iBAEf,8BAA8B,6BAA6B;;iBAE3D,+BAA+B,6BAA6B;;;;;;;;;;KAUxE;WACM;WACA;;UAED,gBAAgB,cAAc,eAAe;;WAE5C;;WAEA,WAAW;;WAEX,SAAS;;;;;;;;WAQT;;;;;;;;;;;;;;;;KAgBN;;;;;;;iBAOY,aAAa,OAAO,kBAAkB;;;;;;;;;;;;;;;UAe7C;WACC;WACA;;;;;;;WAOA,qBAAqB;EAC9B,UAAU,OAAO;EACjB,qBAAqB;;;;;;;;;;;iBAWN,YAAY,UAAU,cAAc,QAAQ,wBAAwB;;;;;;;;;;;;cAYvE,WAAW,cAAc,eAAe;WAC3C,iBAAiB,gBAAgB;EAC1C,YAAY,iBAAiB,gBAAgB;;EAE7C,OAAO,OAAO,OAAO,gBAAgB,qBAAqB,WAAW;;;;cAIzD;cACA;cACA;cACA;UACJ;WACC;WACA;WACA,OAAO,SAAS;;UAEjB;WACC;WACA;WACA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE;aACA;;WAEF;WACA;WACA;aACE;aACA;;WAEF;aACE;;;;;;;;;;;;;;;UAeH;WACC;WACA;WACA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;aACE,iBAAiB;aACjB;eACE,iBAAiB;;;WAGrB;aACE;aACA;aACA;;WAEF;aACE;;;UAGH;WACC;WACA;WACA;WACA;WACA;;UAED,uBAAuB;WACtB;WACA;WACA;aACE;aACA;;WAEF,QAAQ;WACR;aACE;aACA;;WAEF;aACE;;;U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AAW,aAAa,YAAY,sBAAsB,WAAW,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BlL,0BAA0B,cAAc,eAAe,cAAc,iBAAiB,gBAAgB,oBAAoB,gBAAgB;;;;;;;;;;;;;;;;;;UAkBjJ,eAAe,WAAW;EAClC,aAAa,SAAS,oBAAoB,WAAW,WAAW;;;;;;;;UAQxD,oBAAoB,WAAW;WAC9B,UAAU;WACV,QAAQ;;;;;;;;UAQT;WACC;WACA,iBAAiB;;;;KAIvB;KACA,kBAAkB;;;;;;;;;;;;;;;;;KAiBlB;;;;;;;;;;iBAUY,uBAAuB,eAAe,eAAe,UAAU,wBAAwB;;;;;;;KAOnG;WACM;WACA;;WAEA;WACA;WACA;;cAEG;;iBAEG,6BAA6B;;iBAE7B,0BAA0B;;iBAE1B,0BAA0B;;;;;;;;iBAQ1B,8BAA8B,mBAAmB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as StructuredError, i as NextAction, r as Diagnostic } from "./structured-error-Cc7AIRsp.mjs";
|
|
2
|
-
//#region ../../../1-framework/1-core/errors/dist/control-
|
|
2
|
+
//#region ../../../1-framework/1-core/errors/dist/control-DxiV2F-o.d.mts
|
|
3
3
|
//#region src/control.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* CLI error envelope for output formatting.
|
|
@@ -102,7 +102,7 @@ declare function errorConfigEvaluationFailed(configPath: string | undefined, opt
|
|
|
102
102
|
readonly cause?: unknown;
|
|
103
103
|
}): CliStructuredError;
|
|
104
104
|
/**
|
|
105
|
-
* Config module evaluated, but its export does not carry the
|
|
105
|
+
* Config module evaluated, but its export does not carry the definePrismaConfig
|
|
106
106
|
* version marker (plain object export, or a config produced by a different
|
|
107
107
|
* defineConfig such as classic Prisma's).
|
|
108
108
|
*/
|
|
@@ -245,4 +245,4 @@ declare function errorUnexpected(message: string, options?: {
|
|
|
245
245
|
}): CliStructuredError;
|
|
246
246
|
//#endregion
|
|
247
247
|
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 };
|
|
248
|
-
//# sourceMappingURL=control-
|
|
248
|
+
//# sourceMappingURL=control-DxiV2F-o-BYFWr0js.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-DxiV2F-o-BYFWr0js.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/control-DxiV2F-o.d.mts"],"mappings":";;;;;;;;;;;;;;;UAcU;WACC;WACA;WACA;WACA;WACA;WACA;WACA,sBAAsB;WACtB,uBAAuB;WACvB;aACE;aACA;;WAEF,OAAO;WACP;;;;;UAKD;WACC;WACA;WACA;;;;;;;;;;;;;cAaG,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;;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