@prisma/orm-framework 8.0.0-rc.11-dev.29 → 8.0.0-rc.11-dev.30
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-SDt_yd7K.d.mts +1 -0
- package/dist/{components-DDqd0vap.d.mts → components-CIlPUXgy.d.mts} +2 -2
- package/dist/{components-DDqd0vap.d.mts.map → components-CIlPUXgy.d.mts.map} +1 -1
- package/dist/components.d.mts +9 -9
- package/dist/components.mjs +2 -2
- package/dist/components__authoring.d.mts +2 -2
- package/dist/components__components.d.mts +2 -2
- package/dist/components__control.d.mts +3 -3
- package/dist/components__control.mjs +2 -2
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/{config-types-DrtGQDEz.d.mts → config-types-BiBG9LUM.d.mts} +4 -4
- package/dist/{config-types-DrtGQDEz.d.mts.map → config-types-BiBG9LUM.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +2 -2
- package/dist/{control-CjjQjy_6.d.mts → control-FO0yGN-e.d.mts} +36 -5
- package/dist/{control-CjjQjy_6.d.mts.map → control-FO0yGN-e.d.mts.map} +1 -1
- package/dist/{control-DR0zF1b7.mjs → control-LZyLwXWd.mjs} +126 -2
- package/dist/control-LZyLwXWd.mjs.map +1 -0
- package/dist/{declarations-C8gJnWQp-CnufYOCF.mjs → declarations-ApW55O9s-DmbPATJi.mjs} +47 -5
- package/dist/declarations-ApW55O9s-DmbPATJi.mjs.map +1 -0
- package/dist/errors.d.mts +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/{execution-B2UDS4t7.d.mts → execution-DU2yN6tS.d.mts} +2 -2
- package/dist/{execution-B2UDS4t7.d.mts.map → execution-DU2yN6tS.d.mts.map} +1 -1
- package/dist/{execution-DEt8KBE9.d.mts → execution-DfMCQMDy.d.mts} +2 -2
- package/dist/{execution-DEt8KBE9.d.mts.map → execution-DfMCQMDy.d.mts.map} +1 -1
- package/dist/{framework-authoring-Cs5_Ovws-C3gC-7Ln.d.mts → framework-authoring-b__TyQDU-C9cYpYdv.d.mts} +15 -6
- package/dist/framework-authoring-b__TyQDU-C9cYpYdv.d.mts.map +1 -0
- package/dist/{framework-components-CukAi30h-DMnprolg.d.mts → framework-components-Bu5LfryO-CAg5kbVT.d.mts} +24 -4
- package/dist/framework-components-Bu5LfryO-CAg5kbVT.d.mts.map +1 -0
- package/dist/{parse-BPOOpARs-COpO0wc7.mjs → parse-BRwiZ0nC-B9AArxQM.mjs} +28 -5
- package/dist/parse-BRwiZ0nC-B9AArxQM.mjs.map +1 -0
- package/dist/{parse-Di31RMVM-DJPkmFtA.d.mts → parse-D6t27bbJ-CBRfL6kk.d.mts} +27 -7
- package/dist/parse-D6t27bbJ-CBRfL6kk.d.mts.map +1 -0
- package/dist/{psl-ast-Dv4jFRE5-TV1K0L2x.d.mts → psl-ast-26UDyLzV-D0CaiBMi.d.mts} +3 -3
- package/dist/{psl-ast-Dv4jFRE5-TV1K0L2x.d.mts.map → psl-ast-26UDyLzV-D0CaiBMi.d.mts.map} +1 -1
- package/dist/{psl-ast-CcBU8yUe.d.mts → psl-ast-Cfiro8sP.d.mts} +3 -3
- package/dist/{psl-ast-CcBU8yUe.d.mts.map → psl-ast-Cfiro8sP.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +35 -12
- package/dist/psl-parser.d.mts.map +1 -1
- package/dist/psl-parser.mjs +23 -2
- package/dist/psl-parser.mjs.map +1 -1
- package/dist/psl-parser__format.mjs +3 -2
- package/dist/psl-parser__format.mjs.map +1 -1
- package/dist/psl-parser__interpret.d.mts +3 -3
- package/dist/psl-parser__syntax.d.mts +2 -2
- package/dist/psl-parser__syntax.mjs +3 -3
- package/dist/psl-parser__syntax.mjs.map +1 -1
- package/dist/psl-parser__tokenizer.mjs +1 -1
- package/dist/psl-printer.d.mts +4 -4
- package/dist/{symbol-table-BsJpsMzi-BpjAGtCb.d.mts → symbol-table-C89kknSX-Zd4K4m_B.d.mts} +6 -6
- package/dist/{symbol-table-BsJpsMzi-BpjAGtCb.d.mts.map → symbol-table-C89kknSX-Zd4K4m_B.d.mts.map} +1 -1
- package/dist/{tokenizer-1hAHZzmp-QGPORvmA.mjs → tokenizer-D4sywyzm-gPsD7tYP.mjs} +40 -6
- package/dist/tokenizer-D4sywyzm-gPsD7tYP.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/authoring-D-YstG17.d.mts +0 -1
- package/dist/control-DR0zF1b7.mjs.map +0 -1
- package/dist/declarations-C8gJnWQp-CnufYOCF.mjs.map +0 -1
- package/dist/framework-authoring-Cs5_Ovws-C3gC-7Ln.d.mts.map +0 -1
- package/dist/framework-components-CukAi30h-DMnprolg.d.mts.map +0 -1
- package/dist/parse-BPOOpARs-COpO0wc7.mjs.map +0 -1
- package/dist/parse-Di31RMVM-DJPkmFtA.d.mts.map +0 -1
- package/dist/tokenizer-1hAHZzmp-QGPORvmA.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./framework-authoring-b__TyQDU-C9cYpYdv.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as CodecTrait } from "./codec-types-kYJyrqbr-Svq8WsGL.mjs";
|
|
2
2
|
import { t as AggregateDescriptor } from "./types-import-spec-CzOtW57G-C3xwIiiM.mjs";
|
|
3
|
-
import "./framework-components-
|
|
3
|
+
import "./framework-components-Bu5LfryO-CAg5kbVT.mjs";
|
|
4
4
|
//#region ../../../1-framework/1-core/framework-components/dist/components.d.mts
|
|
5
5
|
//#region src/shared/aggregate-overloads.d.ts
|
|
6
6
|
/** What settling needs to know about a codec: its id, and the traits an overload can claim it by. */
|
|
@@ -47,4 +47,4 @@ interface SettledAggregateOverloads<TDescriptor extends AggregateDescriptor> {
|
|
|
47
47
|
declare function settleAggregateOverloads<TDescriptor extends AggregateDescriptor>(descriptors: readonly TDescriptor[], codecs: Iterable<AggregateCodecTraits>): SettledAggregateOverloads<TDescriptor>;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { SettledAggregateOverloads as a, SettledAggregateOperation as i, AggregateOverloadAmbiguity as n, settleAggregateOverloads as o, AggregateOverloadDuplicate as r, AggregateCodecTraits as t };
|
|
50
|
-
//# sourceMappingURL=components-
|
|
50
|
+
//# sourceMappingURL=components-CIlPUXgy.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-
|
|
1
|
+
{"version":3,"file":"components-CIlPUXgy.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;UAMU;WACC;WACA,iBAAiB;;;UAGlB,0BAA0B,oBAAoB;;WAE7C,WAAW,oBAAoB;;WAE/B,SAAS;;WAET,UAAU;;;UAGX;WACC;WACA;WACA,iBAAiB;;;UAGlB,2BAA2B,oBAAoB;WAC9C;WACA;WACA,OAAO;WACP,QAAQ;;UAET,0BAA0B,oBAAoB;WAC7C,YAAY,oBAAoB,0BAA0B;WAC1D,sBAAsB;WACtB,qBAAqB,2BAA2B;;;;;;;;;;;iBAW1C,yBAAyB,oBAAoB,qBAAqB,sBAAsB,eAAe,QAAQ,SAAS,wBAAwB,0BAA0B"}
|
package/dist/components.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { a as CodecDescriptorImpl, c as CodecLookup, d as CodecTrait, f as emptyCodecLookup, i as CodecDescriptor, l as CodecRef, n as Codec, o as CodecImpl, p as voidParamsSchema, r as CodecCallContext, s as CodecInstanceContext, t as AnyCodecDescriptor, u as CodecRegistry } from "./codec-types-kYJyrqbr-Svq8WsGL.mjs";
|
|
2
|
-
import { $ as collectScalarTypeConstructors, A as ContributedPslDiagnosticCode, B as PslExtensionBlockParamBare, C as AuthoringStorageTypeTemplate, D as AuthoringTypeNamespace, E as AuthoringTypeConstructorEntityRef, F as PslBlockParamValue, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, J as PslSpan, K as PslExtensionBlockParsedAttribute, L as PslExtensionBlock, M as PslBlockParamList, N as PslBlockParamOption, O as AuthoringWarning, P as PslBlockParamRef, Q as classifyEnumMemberType, R as PslExtensionBlockAttribute, S as AuthoringSelectRef, T as AuthoringTypeConstructorDescriptor, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, X as assertNoCrossRegistryCollisions, Y as ScalarTypeConstructorOutput, Z as assertResolvableTypeConstructorTemplates, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, at as isAuthoringArgRef, b as AuthoringPslBlockDescriptor, c as AuthoringEntityTypeDescriptor, ct as isAuthoringModelAttributeDescriptor, d as AuthoringEntityTypeTemplateOutput, dt as mergeAuthoringNamespaces, et as flushAuthoringWarnings, f as AuthoringFieldNamespace, ft as resolveAuthoringTemplateValue, g as AuthoringModelAttributeDescriptor, h as AuthoringModelAttributeContext, i as AuthoringColumnDefaultTemplate, it as instantiateAuthoringTypeConstructor, j as PslBlockParam, k as AuthoringWarningSink, l as AuthoringEntityTypeFactoryOutput, lt as isAuthoringPslBlockDescriptor, m as AuthoringFieldPresetOutput, mt as validateAuthoringHelperArguments, n as AuthoringArgumentDescriptor, nt as instantiateAuthoringEntityType, o as AuthoringDiagnosticSink, ot as isAuthoringEntityTypeDescriptor, p as AuthoringFieldPresetDescriptor, pt as resolveEnumCodecId, q as PslPosition, r as AuthoringAttributeSpecContributions, rt as instantiateAuthoringFieldPreset, s as AuthoringEntityContext, st as isAuthoringFieldPresetDescriptor, t as AuthoringArgRef, tt as hasRegisteredFieldNamespace, u as AuthoringEntityTypeNamespace, ut as isAuthoringTypeConstructorDescriptor, v as AuthoringModelAttributeLoweringOutput, w as AuthoringTemplateValue, x as AuthoringPslBlockDescriptorNamespace, y as AuthoringOption, z as PslExtensionBlockAttributeArg } from "./framework-authoring-
|
|
3
|
-
import "./authoring-
|
|
2
|
+
import { $ as collectScalarTypeConstructors, A as ContributedPslDiagnosticCode, B as PslExtensionBlockParamBare, C as AuthoringStorageTypeTemplate, D as AuthoringTypeNamespace, E as AuthoringTypeConstructorEntityRef, F as PslBlockParamValue, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, J as PslSpan, K as PslExtensionBlockParsedAttribute, L as PslExtensionBlock, M as PslBlockParamList, N as PslBlockParamOption, O as AuthoringWarning, P as PslBlockParamRef, Q as classifyEnumMemberType, R as PslExtensionBlockAttribute, S as AuthoringSelectRef, T as AuthoringTypeConstructorDescriptor, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, X as assertNoCrossRegistryCollisions, Y as ScalarTypeConstructorOutput, Z as assertResolvableTypeConstructorTemplates, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, at as isAuthoringArgRef, b as AuthoringPslBlockDescriptor, c as AuthoringEntityTypeDescriptor, ct as isAuthoringModelAttributeDescriptor, d as AuthoringEntityTypeTemplateOutput, dt as mergeAuthoringNamespaces, et as flushAuthoringWarnings, f as AuthoringFieldNamespace, ft as resolveAuthoringTemplateValue, g as AuthoringModelAttributeDescriptor, h as AuthoringModelAttributeContext, i as AuthoringColumnDefaultTemplate, it as instantiateAuthoringTypeConstructor, j as PslBlockParam, k as AuthoringWarningSink, l as AuthoringEntityTypeFactoryOutput, lt as isAuthoringPslBlockDescriptor, m as AuthoringFieldPresetOutput, mt as validateAuthoringHelperArguments, n as AuthoringArgumentDescriptor, nt as instantiateAuthoringEntityType, o as AuthoringDiagnosticSink, ot as isAuthoringEntityTypeDescriptor, p as AuthoringFieldPresetDescriptor, pt as resolveEnumCodecId, q as PslPosition, r as AuthoringAttributeSpecContributions, rt as instantiateAuthoringFieldPreset, s as AuthoringEntityContext, st as isAuthoringFieldPresetDescriptor, t as AuthoringArgRef, tt as hasRegisteredFieldNamespace, u as AuthoringEntityTypeNamespace, ut as isAuthoringTypeConstructorDescriptor, v as AuthoringModelAttributeLoweringOutput, w as AuthoringTemplateValue, x as AuthoringPslBlockDescriptorNamespace, y as AuthoringOption, z as PslExtensionBlockAttributeArg } from "./framework-authoring-b__TyQDU-C9cYpYdv.mjs";
|
|
3
|
+
import "./authoring-SDt_yd7K.mjs";
|
|
4
4
|
import { a as ColumnTypeDescriptor, c as renderTsLiteral, i as ColumnSpec, l as resolveCodecDescriptorOrThrow, n as ColumnHelperFor, o as column, r as ColumnHelperForStrict, s as materializeCodec, t as CONTRACT_CODEC_DESCRIPTOR_MISSING, u as validateCodecTypeParams } from "./codec-DgHW_ymr.mjs";
|
|
5
5
|
import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, l as TypesImportSpec, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-CzOtW57G-C3xwIiiM.mjs";
|
|
6
6
|
import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
7
|
-
import { A as
|
|
8
|
-
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-
|
|
7
|
+
import { A as TaggedLiteralValue, C as FamilyPackRef, D as PackRefBase, E as MutationDefaultGeneratorDescriptor, F as TypedDefaultFunctionCall, I as checkContractComponentRequirements, M as TargetDescriptor, N as TargetInstance, O as SourceDiagnostic, P as TargetPackRef, S as FamilyInstance, T as LoweredDefaultValue, _ as DriverPackRef, a as ComponentMetadata, b as ExtensionPackRef, c as ControlDefaultLiteralTagEntry, d as ControlMutationDefaultEntry, f as ControlMutationDefaultRegistry, g as DriverInstance, h as DriverDescriptor, i as ComponentDescriptor, j as TargetBoundComponentDescriptor, k as SourceSpan, l as ControlDefaultLiteralTagRegistry, m as DefaultFunctionLoweringContext, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ControlMutationDefaults, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as ControlDefaultRegistries, v as ExtensionDescriptor, w as LoweredDefaultResult, x as FamilyDescriptor, y as ExtensionInstance } from "./framework-components-Bu5LfryO-CAg5kbVT.mjs";
|
|
8
|
+
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-CIlPUXgy.mjs";
|
|
9
9
|
import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-x7JU6FRk-DEDfBxIG.mjs";
|
|
10
|
-
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-
|
|
10
|
+
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-26UDyLzV-D0CaiBMi.mjs";
|
|
11
11
|
import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
|
|
12
|
-
import { $ as SchemaDiffIssue, A as MigrationPlan, At as
|
|
12
|
+
import { $ as SchemaDiffIssue, A as MigrationPlan, At as contractSnapshotJsonSpecifier, B as MigrationRunnerFailure, Bt as hasMigrations, C as ExpectationFailureReason, Ct as VerifyDatabaseResult, D as MigrationOperationClass, Dt as assertUniqueCodecOwner, E as MigrationMetadata, Et as assembleControlMutationDefaults, F as MigrationPlannerFailureResult, Ft as dispositionForCategory, G as MigrationScaffoldContext, Gt as issueOutcome, H as MigrationRunnerPerSpaceSuccessValue, Ht as hasPslContractInfer, I as MigrationPlannerResult, It as extractCodecLookup, J as OperationPreview, Jt as storageHashHex, K as OpFactoryCall, Kt as orderIssuesByDependencies, L as MigrationPlannerSuccessResult, Lt as extractCodecTypeImports, M as MigrationPlanWithAuthoringSurface, Mt as createControlStack, N as MigrationPlanner, Nt as describeTaggedLiteralFailure, O as MigrationOperationPolicy, Ot as buildExtensionLoadOrder, P as MigrationPlannerConflict, Pt as diffSchemas, Q as SchemaDiff, R as MigrationRunner, Rt as extractComponentIds, S as EmitContractResult, St as VerifierOutcome, T as MigratableTargetDescriptor, Tt as assembleAuthoringContributions, U as MigrationRunnerResult, Ut as hasSchemaSubjectClassifier, V as MigrationRunnerPerSpaceOptions, Vt as hasOperationPreview, W as MigrationRunnerSuccessValue, Wt as hasSchemaView, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_MARKER_MISSING, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerificationStatus, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_HASH_MISMATCH, h as ControlStack, ht as TargetMigrationsCapability, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as contractSnapshotTypesSpecifier, k as MigrationPackage, kt as canonicalizeTaggedLiteralBody, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as TaggedLiteralCanonicalization, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TAGGED_LITERAL_MAX_BYTES, q as OperationContext, qt as resolveBacktickEscapes, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VERIFY_CODE_SCHEMA_FAILURE, w as IntrospectSchemaResult, wt as VerifyDatabaseSchemaResult, x as DiffableNode, xt as VerifierIssueCategory, y as CreateControlStackInput, yt as VERIFY_CODE_TARGET_MISMATCH, z as MigrationRunnerExecutionChecks, zt as extractQueryOperationTypeImports } from "./control-FO0yGN-e.mjs";
|
|
13
13
|
import "./emission-CPJf0TyD.mjs";
|
|
14
|
-
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-
|
|
14
|
+
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-DfMCQMDy.mjs";
|
|
15
15
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
16
16
|
import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b as freezeNode, c as NamespaceBase, d as Storage, f as StorageType, g as coordinateKey, h as buildSingleNamespaceView, i as EntityKindDescriptor, l as NamespacedEntities, m as buildNamespacedEntities, n as DefaultNamespaceEntries, o as IRNodeBase, p as UNBOUND_NAMESPACE_ID, r as EntityCoordinate, s as Namespace, t as AnyEntityKindDescriptor, u as SingleNamespaceView, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-BGaPKem0.mjs";
|
|
17
|
-
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-
|
|
17
|
+
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-Cfiro8sP.mjs";
|
|
18
18
|
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-TlGBi-DH.mjs";
|
|
19
19
|
import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
|
|
20
|
-
export { APP_SPACE_ID, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AfterExecuteResult, type AfterQueryResult, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationValue, type AnyCodecDescriptor, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, 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 AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, 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, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionBlockRefResolutionContext, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GenerateContractTypesOptions, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntrospectSchemaResult, type LaneMetaBuilder, type LoweredDefaultResult, type LoweredDefaultValue, type MetaBuilder, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, ParsePslDocumentInput, ParsePslDocumentResult, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, type PslContractInferCapable, 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, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, RelationKeys, type RelationNamesOf, type ResultType, type RuntimeAbortedPhase, 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 RuntimeMiddlewareContext, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, 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 SignDatabaseResult, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type Storage, type StorageType, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, 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, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
|
20
|
+
export { APP_SPACE_ID, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AfterExecuteResult, type AfterQueryResult, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationValue, type AnyCodecDescriptor, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, 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 AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, 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 ControlDefaultLiteralTagEntry, type ControlDefaultLiteralTagRegistry, type ControlDefaultRegistries, 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, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionBlockRefResolutionContext, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GenerateContractTypesOptions, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntrospectSchemaResult, type LaneMetaBuilder, type LoweredDefaultResult, type LoweredDefaultValue, type MetaBuilder, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, ParsePslDocumentInput, ParsePslDocumentResult, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, type PslContractInferCapable, 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, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, RelationKeys, type RelationNamesOf, type ResultType, type RuntimeAbortedPhase, 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 RuntimeMiddlewareContext, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, 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 SignDatabaseResult, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type Storage, type StorageType, TAGGED_LITERAL_MAX_BYTES, type TaggedLiteralCanonicalization, type TaggedLiteralValue, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, 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, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveBacktickEscapes, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
package/dist/components.mjs
CHANGED
|
@@ -7,11 +7,11 @@ import { i as renderTsLiteral, n as CodecImpl, r as column, t as CodecDescriptor
|
|
|
7
7
|
import { a as mergeCapabilityMatrices, i as isNoInputAggregateDescriptor, n as isAggregateDescriptor, r as isAnyInputAggregateDescriptor, t as aggregateDescriptorKey } from "./capabilities-BzwH_XMZ-CkgWaxF9.mjs";
|
|
8
8
|
import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
|
|
9
9
|
import { t as settleAggregateOverloads } from "./components-CnV-6irM.mjs";
|
|
10
|
-
import { C as
|
|
10
|
+
import { A as issueOutcome, C as extractComponentIds, D as hasPslContractInfer, E as hasOperationPreview, M as resolveBacktickEscapes, N as storageHashHex, O as hasSchemaSubjectClassifier, S as extractCodecTypeImports, T as hasMigrations, _ as createControlStack, a as TAGGED_LITERAL_MAX_BYTES, b as dispositionForCategory, c as VERIFY_CODE_SCHEMA_FAILURE, d as assembleControlMutationDefaults, f as assertUniqueCodecOwner, g as contractSnapshotTypesSpecifier, h as contractSnapshotJsonSpecifier, i as SchemaTreeNode, j as orderIssuesByDependencies, k as hasSchemaView, l as VERIFY_CODE_TARGET_MISMATCH, m as canonicalizeTaggedLiteralBody, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_HASH_MISMATCH, p as buildExtensionLoadOrder, r as SchemaDiff, s as VERIFY_CODE_MARKER_MISSING, t as APP_SPACE_ID, u as assembleAuthoringContributions, v as describeTaggedLiteralFailure, w as extractQueryOperationTypeImports, x as extractCodecLookup, y as diffSchemas } from "./control-LZyLwXWd.mjs";
|
|
11
11
|
import { n as resolveRequirementSpecifiers, t as keepInternalSpecifiers } from "./emission-CeoAV9mj.mjs";
|
|
12
12
|
import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-BNwBzmRd.mjs";
|
|
13
13
|
import { a as buildSingleNamespaceView, c as elementCoordinates, d as hydrateNamespaceEntities, f as promoteBuiltinKinds, i as buildNamespacedEntities, l as entityAt, n as NamespaceBase, o as coordinateKey, r as UNBOUND_NAMESPACE_ID, s as domainElementCoordinates, t as IRNodeBase, u as freezeNode } from "./ir-CV5d1FJ0.mjs";
|
|
14
14
|
import { a as makePslNamespace, c as validateExtensionBlock, i as flatPslModels, n as UNSPECIFIED_PSL_NAMESPACE_ID, o as makePslNamespaceEntries, r as flatPslCompositeTypes, s as namespacePslExtensionBlocks, t as BUILTIN_PSL_KIND_KEYS } from "./psl-ast-DUCvVXbB.mjs";
|
|
15
15
|
import { a as assertAnnotationsApplicable, c as createMetaBuilder, d as runBeforeExecuteChain, f as runBeforeQueryChain, h as runtimeAborted, i as RuntimeCore, l as defineAnnotation, m as runQueryWithMiddleware, n as RUNTIME_ABORTED, o as checkAborted, p as runExecuteWithMiddleware, r as RelationKeys, s as checkMiddlewareCompatibility, t as AsyncIterableResult, u as raceAgainstAbort } from "./runtime-DXmHIbAr.mjs";
|
|
16
16
|
import { t as canonicalizeJson } from "./utils-DMAM0unR.mjs";
|
|
17
|
-
export { APP_SPACE_ID, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecImpl, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SchemaDiff, SchemaTreeNode, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
|
17
|
+
export { APP_SPACE_ID, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecImpl, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveBacktickEscapes, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as collectScalarTypeConstructors, C as AuthoringStorageTypeTemplate, D as AuthoringTypeNamespace, E as AuthoringTypeConstructorEntityRef, F as PslBlockParamValue, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, K as PslExtensionBlockParsedAttribute, L as PslExtensionBlock, M as PslBlockParamList, N as PslBlockParamOption, O as AuthoringWarning, P as PslBlockParamRef, Q as classifyEnumMemberType, S as AuthoringSelectRef, T as AuthoringTypeConstructorDescriptor, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, X as assertNoCrossRegistryCollisions, Y as ScalarTypeConstructorOutput, Z as assertResolvableTypeConstructorTemplates, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, at as isAuthoringArgRef, b as AuthoringPslBlockDescriptor, c as AuthoringEntityTypeDescriptor, ct as isAuthoringModelAttributeDescriptor, d as AuthoringEntityTypeTemplateOutput, dt as mergeAuthoringNamespaces, et as flushAuthoringWarnings, f as AuthoringFieldNamespace, ft as resolveAuthoringTemplateValue, g as AuthoringModelAttributeDescriptor, h as AuthoringModelAttributeContext, i as AuthoringColumnDefaultTemplate, it as instantiateAuthoringTypeConstructor, j as PslBlockParam, k as AuthoringWarningSink, l as AuthoringEntityTypeFactoryOutput, lt as isAuthoringPslBlockDescriptor, m as AuthoringFieldPresetOutput, mt as validateAuthoringHelperArguments, n as AuthoringArgumentDescriptor, nt as instantiateAuthoringEntityType, o as AuthoringDiagnosticSink, ot as isAuthoringEntityTypeDescriptor, p as AuthoringFieldPresetDescriptor, pt as resolveEnumCodecId, r as AuthoringAttributeSpecContributions, rt as instantiateAuthoringFieldPreset, s as AuthoringEntityContext, st as isAuthoringFieldPresetDescriptor, t as AuthoringArgRef, tt as hasRegisteredFieldNamespace, u as AuthoringEntityTypeNamespace, ut as isAuthoringTypeConstructorDescriptor, v as AuthoringModelAttributeLoweringOutput, w as AuthoringTemplateValue, x as AuthoringPslBlockDescriptorNamespace, y as AuthoringOption } from "./framework-authoring-
|
|
2
|
-
import "./authoring-
|
|
1
|
+
import { $ as collectScalarTypeConstructors, C as AuthoringStorageTypeTemplate, D as AuthoringTypeNamespace, E as AuthoringTypeConstructorEntityRef, F as PslBlockParamValue, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, K as PslExtensionBlockParsedAttribute, L as PslExtensionBlock, M as PslBlockParamList, N as PslBlockParamOption, O as AuthoringWarning, P as PslBlockParamRef, Q as classifyEnumMemberType, S as AuthoringSelectRef, T as AuthoringTypeConstructorDescriptor, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, X as assertNoCrossRegistryCollisions, Y as ScalarTypeConstructorOutput, Z as assertResolvableTypeConstructorTemplates, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, at as isAuthoringArgRef, b as AuthoringPslBlockDescriptor, c as AuthoringEntityTypeDescriptor, ct as isAuthoringModelAttributeDescriptor, d as AuthoringEntityTypeTemplateOutput, dt as mergeAuthoringNamespaces, et as flushAuthoringWarnings, f as AuthoringFieldNamespace, ft as resolveAuthoringTemplateValue, g as AuthoringModelAttributeDescriptor, h as AuthoringModelAttributeContext, i as AuthoringColumnDefaultTemplate, it as instantiateAuthoringTypeConstructor, j as PslBlockParam, k as AuthoringWarningSink, l as AuthoringEntityTypeFactoryOutput, lt as isAuthoringPslBlockDescriptor, m as AuthoringFieldPresetOutput, mt as validateAuthoringHelperArguments, n as AuthoringArgumentDescriptor, nt as instantiateAuthoringEntityType, o as AuthoringDiagnosticSink, ot as isAuthoringEntityTypeDescriptor, p as AuthoringFieldPresetDescriptor, pt as resolveEnumCodecId, r as AuthoringAttributeSpecContributions, rt as instantiateAuthoringFieldPreset, s as AuthoringEntityContext, st as isAuthoringFieldPresetDescriptor, t as AuthoringArgRef, tt as hasRegisteredFieldNamespace, u as AuthoringEntityTypeNamespace, ut as isAuthoringTypeConstructorDescriptor, v as AuthoringModelAttributeLoweringOutput, w as AuthoringTemplateValue, x as AuthoringPslBlockDescriptorNamespace, y as AuthoringOption } from "./framework-authoring-b__TyQDU-C9cYpYdv.mjs";
|
|
2
|
+
import "./authoring-SDt_yd7K.mjs";
|
|
3
3
|
export { 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 AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, type PslExtensionBlock, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslExtensionBlockParsedAttribute, type ScalarTypeConstructorOutput, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, validateAuthoringHelperArguments };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-CzOtW57G-C3xwIiiM.mjs";
|
|
2
2
|
import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-
|
|
3
|
+
import { C as FamilyPackRef, D as PackRefBase, I as checkContractComponentRequirements, M as TargetDescriptor, N as TargetInstance, P as TargetPackRef, S as FamilyInstance, _ as DriverPackRef, a as ComponentMetadata, b as ExtensionPackRef, g as DriverInstance, h as DriverDescriptor, i as ComponentDescriptor, j as TargetBoundComponentDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, v as ExtensionDescriptor, x as FamilyDescriptor, y as ExtensionInstance } from "./framework-components-Bu5LfryO-CAg5kbVT.mjs";
|
|
4
|
+
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-CIlPUXgy.mjs";
|
|
5
5
|
export { type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnyInputAggregateDescriptor, type CapabilityMatrix, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type DriverDescriptor, type DriverInstance, type DriverPackRef, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type NamedAggregateOutput, type NoInputAggregateDescriptor, type PackRefBase, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetPackRef, type ValueInputAggregateDescriptor, aggregateDescriptorKey, checkContractComponentRequirements, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, mergeCapabilityMatrices, settleAggregateOverloads };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as TaggedLiteralValue, E as MutationDefaultGeneratorDescriptor, F as TypedDefaultFunctionCall, O as SourceDiagnostic, T as LoweredDefaultValue, c as ControlDefaultLiteralTagEntry, d as ControlMutationDefaultEntry, f as ControlMutationDefaultRegistry, k as SourceSpan, l as ControlDefaultLiteralTagRegistry, m as DefaultFunctionLoweringContext, p as ControlMutationDefaults, u as ControlDefaultRegistries, w as LoweredDefaultResult } from "./framework-components-Bu5LfryO-CAg5kbVT.mjs";
|
|
2
2
|
import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
|
|
3
|
-
import { $ as SchemaDiffIssue, A as MigrationPlan, At as
|
|
4
|
-
export { APP_SPACE_ID, type AssembledAuthoringContributions, CONTRACT_SNAPSHOTS_DIRNAME, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type ExpectationFailureReason, type ImportRequirement, type IntrospectSchemaResult, type LoweredDefaultResult, type LoweredDefaultValue, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PslContractInferCapable, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SignDatabaseResult, type SourceDiagnostic, type SourceSpan, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, diffSchemas, dispositionForCategory, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, storageHashHex };
|
|
3
|
+
import { $ as SchemaDiffIssue, A as MigrationPlan, At as contractSnapshotJsonSpecifier, B as MigrationRunnerFailure, Bt as hasMigrations, C as ExpectationFailureReason, Ct as VerifyDatabaseResult, D as MigrationOperationClass, Dt as assertUniqueCodecOwner, E as MigrationMetadata, Et as assembleControlMutationDefaults, F as MigrationPlannerFailureResult, Ft as dispositionForCategory, G as MigrationScaffoldContext, Gt as issueOutcome, H as MigrationRunnerPerSpaceSuccessValue, Ht as hasPslContractInfer, I as MigrationPlannerResult, It as extractCodecLookup, J as OperationPreview, Jt as storageHashHex, K as OpFactoryCall, Kt as orderIssuesByDependencies, L as MigrationPlannerSuccessResult, Lt as extractCodecTypeImports, M as MigrationPlanWithAuthoringSurface, Mt as createControlStack, N as MigrationPlanner, Nt as describeTaggedLiteralFailure, O as MigrationOperationPolicy, Ot as buildExtensionLoadOrder, P as MigrationPlannerConflict, Pt as diffSchemas, Q as SchemaDiff, R as MigrationRunner, Rt as extractComponentIds, S as EmitContractResult, St as VerifierOutcome, T as MigratableTargetDescriptor, Tt as assembleAuthoringContributions, U as MigrationRunnerResult, Ut as hasSchemaSubjectClassifier, V as MigrationRunnerPerSpaceOptions, Vt as hasOperationPreview, W as MigrationRunnerSuccessValue, Wt as hasSchemaView, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_MARKER_MISSING, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerificationStatus, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_HASH_MISMATCH, h as ControlStack, ht as TargetMigrationsCapability, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as contractSnapshotTypesSpecifier, k as MigrationPackage, kt as canonicalizeTaggedLiteralBody, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as TaggedLiteralCanonicalization, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TAGGED_LITERAL_MAX_BYTES, q as OperationContext, qt as resolveBacktickEscapes, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VERIFY_CODE_SCHEMA_FAILURE, w as IntrospectSchemaResult, wt as VerifyDatabaseSchemaResult, x as DiffableNode, xt as VerifierIssueCategory, y as CreateControlStackInput, yt as VERIFY_CODE_TARGET_MISMATCH, z as MigrationRunnerExecutionChecks, zt as extractQueryOperationTypeImports } from "./control-FO0yGN-e.mjs";
|
|
4
|
+
export { APP_SPACE_ID, type AssembledAuthoringContributions, CONTRACT_SNAPSHOTS_DIRNAME, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDefaultLiteralTagEntry, type ControlDefaultLiteralTagRegistry, type ControlDefaultRegistries, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type ExpectationFailureReason, type ImportRequirement, type IntrospectSchemaResult, type LoweredDefaultResult, type LoweredDefaultValue, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PslContractInferCapable, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SignDatabaseResult, type SourceDiagnostic, type SourceSpan, TAGGED_LITERAL_MAX_BYTES, type TaggedLiteralCanonicalization, type TaggedLiteralValue, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, canonicalizeTaggedLiteralBody, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, resolveBacktickEscapes, storageHashHex };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
export { APP_SPACE_ID, CONTRACT_SNAPSHOTS_DIRNAME, SchemaDiff, SchemaTreeNode, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, diffSchemas, dispositionForCategory, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, storageHashHex };
|
|
1
|
+
import { A as issueOutcome, C as extractComponentIds, D as hasPslContractInfer, E as hasOperationPreview, M as resolveBacktickEscapes, N as storageHashHex, O as hasSchemaSubjectClassifier, S as extractCodecTypeImports, T as hasMigrations, _ as createControlStack, a as TAGGED_LITERAL_MAX_BYTES, b as dispositionForCategory, c as VERIFY_CODE_SCHEMA_FAILURE, d as assembleControlMutationDefaults, f as assertUniqueCodecOwner, g as contractSnapshotTypesSpecifier, h as contractSnapshotJsonSpecifier, i as SchemaTreeNode, j as orderIssuesByDependencies, k as hasSchemaView, l as VERIFY_CODE_TARGET_MISMATCH, m as canonicalizeTaggedLiteralBody, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_HASH_MISMATCH, p as buildExtensionLoadOrder, r as SchemaDiff, s as VERIFY_CODE_MARKER_MISSING, t as APP_SPACE_ID, u as assembleAuthoringContributions, v as describeTaggedLiteralFailure, w as extractQueryOperationTypeImports, x as extractCodecLookup, y as diffSchemas } from "./control-LZyLwXWd.mjs";
|
|
2
|
+
export { APP_SPACE_ID, CONTRACT_SNAPSHOTS_DIRNAME, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, canonicalizeTaggedLiteralBody, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, resolveBacktickEscapes, storageHashHex };
|
|
@@ -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-DfMCQMDy.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 { A as ContributedPslDiagnosticCode, B as PslExtensionBlockParamBare, F as PslBlockParamValue, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, J as PslSpan, K as PslExtensionBlockParsedAttribute, L as PslExtensionBlock, M as PslBlockParamList, N as PslBlockParamOption, P as PslBlockParamRef, R as PslExtensionBlockAttribute, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, j as PslBlockParam, q as PslPosition, x as AuthoringPslBlockDescriptorNamespace, z as PslExtensionBlockAttributeArg } from "./framework-authoring-
|
|
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 { A as ContributedPslDiagnosticCode, B as PslExtensionBlockParamBare, F as PslBlockParamValue, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, J as PslSpan, K as PslExtensionBlockParsedAttribute, L as PslExtensionBlock, M as PslBlockParamList, N as PslBlockParamOption, P as PslBlockParamRef, R as PslExtensionBlockAttribute, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, j as PslBlockParam, q as PslPosition, x as AuthoringPslBlockDescriptorNamespace, z as PslExtensionBlockAttributeArg } from "./framework-authoring-b__TyQDU-C9cYpYdv.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-26UDyLzV-D0CaiBMi.mjs";
|
|
3
|
+
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-Cfiro8sP.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 };
|
|
@@ -2,10 +2,10 @@ import { t as Contract } from "./contract-types-Bje5yT4f-0D1Z41Lq.mjs";
|
|
|
2
2
|
import { c as CodecLookup } from "./codec-types-kYJyrqbr-Svq8WsGL.mjs";
|
|
3
3
|
import "./codec-DgHW_ymr.mjs";
|
|
4
4
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import "./components-
|
|
5
|
+
import { p as ControlMutationDefaults } from "./framework-components-Bu5LfryO-CAg5kbVT.mjs";
|
|
6
|
+
import "./components-CIlPUXgy.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-FO0yGN-e.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 {
|
|
@@ -160,4 +160,4 @@ interface PrismaNextConfig<TFamilyId extends string = string, TTargetId extends
|
|
|
160
160
|
declare function defineConfig<TFamilyId extends string = string, TTargetId extends string = string>(config: PrismaNextConfig<TFamilyId, TTargetId>): PrismaNextConfig<TFamilyId, TTargetId>;
|
|
161
161
|
//#endregion
|
|
162
162
|
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-
|
|
163
|
+
//# sourceMappingURL=config-types-BiBG9LUM.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-types-
|
|
1
|
+
{"version":3,"file":"config-types-BiBG9LUM.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;UAMU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;;;;;WAMP,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;WACb,yBAAyB;WACzB;WACA,cAAc;;;KAGpB;UACK;WACC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;UAEpE,kCAAkC;WACjC;;UAED,yCAAyC;WACxC;;;;;;;;UAQD,qCAAqC;WACpC;;KAEN,yBAAyB,4BAA4B,mCAAmC;;;;;;UAMnF;;;;;WAKC,QAAQ;;;;;;;WAOR;;UAED;WACC;WACA;;;;;;;cAOG;iBACG,wBAAwB,UAAU,iBAAiB;WACzD;;;;;;;;;;UAUD,iBAAiB,mCAAmC,mCAAmC;WACtF,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,sBAAsB,2BAA2B,WAAW;;;;;;;WAO5D,SAAS,wBAAwB,WAAW,WAAW,sBAAsB,WAAW,YAAY;;;;;WAKpG;;;;;;aAME,aAAa;;;;;;WAMf,WAAW;;;;WAIX;;aAEE;;WAEF,YAAY;;;;;;;;;;;;;;;iBAeN,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW"}
|
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-BiBG9LUM.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 };
|
|
@@ -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-BiBG9LUM.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,6 +1,6 @@
|
|
|
1
1
|
import { C as ContractToOneRelation, g as ContractModelBase, n as ApplicationDomain } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
-
import { c as AuthoringEntityTypeDescriptor, s as AuthoringEntityContext, u as AuthoringEntityTypeNamespace } from "./framework-authoring-
|
|
3
|
-
import "./authoring-
|
|
2
|
+
import { c as AuthoringEntityTypeDescriptor, s as AuthoringEntityContext, u as AuthoringEntityTypeNamespace } from "./framework-authoring-b__TyQDU-C9cYpYdv.mjs";
|
|
3
|
+
import "./authoring-SDt_yd7K.mjs";
|
|
4
4
|
import { a as ColumnTypeDescriptor } from "./codec-DgHW_ymr.mjs";
|
|
5
5
|
//#region ../../../1-framework/2-authoring/contract/dist/index.d.mts
|
|
6
6
|
//#region src/capability-registry.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { H as LedgerEntryRecord, 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
3
|
import { t as AnyCodecDescriptor, u as CodecRegistry } from "./codec-types-kYJyrqbr-Svq8WsGL.mjs";
|
|
4
|
-
import { D as AuthoringTypeNamespace, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, f as AuthoringFieldNamespace, r as AuthoringAttributeSpecContributions, u as AuthoringEntityTypeNamespace, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-
|
|
4
|
+
import { D as AuthoringTypeNamespace, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, f as AuthoringFieldNamespace, r as AuthoringAttributeSpecContributions, u as AuthoringEntityTypeNamespace, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-b__TyQDU-C9cYpYdv.mjs";
|
|
5
5
|
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-CzOtW57G-C3xwIiiM.mjs";
|
|
6
6
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { M as TargetDescriptor, N as TargetInstance, S as FamilyInstance, a as ComponentMetadata, g as DriverInstance, h as DriverDescriptor, j as TargetBoundComponentDescriptor, n as AdapterInstance, p as ControlMutationDefaults, t as AdapterDescriptor, v as ExtensionDescriptor, x as FamilyDescriptor, y as ExtensionInstance } from "./framework-components-Bu5LfryO-CAg5kbVT.mjs";
|
|
8
8
|
import { r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-x7JU6FRk-DEDfBxIG.mjs";
|
|
9
|
-
import { m as PslDocumentAst } from "./psl-ast-
|
|
9
|
+
import { m as PslDocumentAst } from "./psl-ast-26UDyLzV-D0CaiBMi.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";
|
|
@@ -1390,5 +1390,36 @@ type VerifierIssueCategory = 'declaredMissing' | 'declaredIncompatible' | 'value
|
|
|
1390
1390
|
*/
|
|
1391
1391
|
declare function dispositionForCategory(controlPolicy: ControlPolicy, category: VerifierIssueCategory): VerifierOutcome;
|
|
1392
1392
|
//#endregion
|
|
1393
|
-
|
|
1394
|
-
|
|
1393
|
+
//#region src/shared/tagged-literal.d.ts
|
|
1394
|
+
/**
|
|
1395
|
+
* Every failure `offset` is an index into the resolved text the function was
|
|
1396
|
+
* given, including `too-large`, whose limit is measured on the canonical body.
|
|
1397
|
+
*/
|
|
1398
|
+
type TaggedLiteralCanonicalization = {
|
|
1399
|
+
readonly ok: true;
|
|
1400
|
+
readonly body: string;
|
|
1401
|
+
} | {
|
|
1402
|
+
readonly ok: false;
|
|
1403
|
+
readonly reason: 'nul' | 'too-large';
|
|
1404
|
+
readonly offset: number;
|
|
1405
|
+
};
|
|
1406
|
+
declare const TAGGED_LITERAL_MAX_BYTES = 65536;
|
|
1407
|
+
/** The message a tagged literal's canonicalization failure is reported with, in PSL and in TypeScript. */
|
|
1408
|
+
declare function describeTaggedLiteralFailure(reason: 'nul' | 'too-large'): string;
|
|
1409
|
+
/**
|
|
1410
|
+
* Resolves the escapes a backtick string understands, in PSL and in the TypeScript `sql` tag's raw
|
|
1411
|
+
* text: `` \` `` is a backtick and `\\` one backslash. Every other backslash sequence is kept as
|
|
1412
|
+
* written, both characters, so a SQL body may contain `E'\n'` unchanged.
|
|
1413
|
+
*/
|
|
1414
|
+
declare function resolveBacktickEscapes(raw: string): string;
|
|
1415
|
+
/**
|
|
1416
|
+
* Turns the escape-resolved text of a tagged literal into its canonical body:
|
|
1417
|
+
* newlines become `\n`, a blank first and last line are dropped, common leading
|
|
1418
|
+
* whitespace is removed, internal blank lines become empty, and no trailing
|
|
1419
|
+
* newline is added. Fails on a NUL character or when the result is larger than
|
|
1420
|
+
* 65536 UTF-8 bytes.
|
|
1421
|
+
*/
|
|
1422
|
+
declare function canonicalizeTaggedLiteralBody(resolved: string): TaggedLiteralCanonicalization;
|
|
1423
|
+
//#endregion
|
|
1424
|
+
export { SchemaDiffIssue as $, MigrationPlan as A, contractSnapshotJsonSpecifier as At, MigrationRunnerFailure as B, hasMigrations as Bt, ExpectationFailureReason as C, VerifyDatabaseResult as Ct, MigrationOperationClass as D, assertUniqueCodecOwner as Dt, MigrationMetadata as E, assembleControlMutationDefaults as Et, MigrationPlannerFailureResult as F, dispositionForCategory as Ft, MigrationScaffoldContext as G, issueOutcome as Gt, MigrationRunnerPerSpaceSuccessValue as H, hasPslContractInfer as Ht, MigrationPlannerResult as I, extractCodecLookup as It, OperationPreview as J, storageHashHex as Jt, OpFactoryCall as K, orderIssuesByDependencies as Kt, MigrationPlannerSuccessResult as L, extractCodecTypeImports as Lt, MigrationPlanWithAuthoringSurface as M, createControlStack as Mt, MigrationPlanner as N, describeTaggedLiteralFailure as Nt, MigrationOperationPolicy as O, buildExtensionLoadOrder as Ot, MigrationPlannerConflict as P, diffSchemas as Pt, SchemaDiff as Q, MigrationRunner as R, extractComponentIds as Rt, EmitContractResult as S, VerifierOutcome as St, MigratableTargetDescriptor as T, assembleAuthoringContributions as Tt, MigrationRunnerResult as U, hasSchemaSubjectClassifier as Ut, MigrationRunnerPerSpaceOptions as V, hasOperationPreview as Vt, MigrationRunnerSuccessValue as W, hasSchemaView as Wt, OperationPreviewStatement as X, OperationPreviewCapable as Y, PslContractInferCapable as Z, ControlTargetInstance as _, VERIFY_CODE_MARKER_MISSING as _t, ContractSpace as a, SchemaTreeNodeOptions as at, DiffSubjectGranularity as b, VerificationStatus as bt, ControlAdapterInstance as c, SchemaVerifyOptions as ct, ControlExtensionDescriptor as d, SchemaViewNodeKind as dt, SchemaEntityCoordinate as et, ControlExtensionInstance as f, SignDatabaseResult as ft, ControlTargetDescriptor as g, VERIFY_CODE_HASH_MISMATCH as gt, ControlStack as h, TargetMigrationsCapability as ht, ContractSerializer as i, SchemaTreeNode as it, MigrationPlanOperation as j, contractSnapshotTypesSpecifier as jt, MigrationPackage as k, canonicalizeTaggedLiteralBody as kt, ControlDriverDescriptor as l, SchemaVerifyResult as lt, ControlFamilyInstance as m, TaggedLiteralCanonicalization as mt, AssembledAuthoringContributions as n, SchemaOwnership as nt, ContractSpaceHeadRef as o, SchemaTreeVisitor as ot, ControlFamilyDescriptor as p, TAGGED_LITERAL_MAX_BYTES as pt, OperationContext as q, resolveBacktickEscapes as qt, CONTRACT_SNAPSHOTS_DIRNAME as r, SchemaSubjectClassifierCapable as rt, ControlAdapterDescriptor as s, SchemaVerifier as st, APP_SPACE_ID as t, SchemaNodeRef as tt, ControlDriverInstance as u, SchemaViewCapable as ut, CoreSchemaView as v, VERIFY_CODE_SCHEMA_FAILURE as vt, IntrospectSchemaResult as w, VerifyDatabaseSchemaResult as wt, DiffableNode as x, VerifierIssueCategory as xt, CreateControlStackInput as y, VERIFY_CODE_TARGET_MISMATCH as yt, MigrationRunnerExecutionChecks as z, extractQueryOperationTypeImports as zt };
|
|
1425
|
+
//# sourceMappingURL=control-FO0yGN-e.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-FO0yGN-e.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/control.d.mts"],"mappings":"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"}
|
|
@@ -184,6 +184,8 @@ function assembleAuthoringContributions(descriptors) {
|
|
|
184
184
|
function assembleControlMutationDefaults(descriptors) {
|
|
185
185
|
const defaultFunctionRegistry = /* @__PURE__ */ new Map();
|
|
186
186
|
const functionOwners = /* @__PURE__ */ new Map();
|
|
187
|
+
const defaultLiteralTagRegistry = /* @__PURE__ */ new Map();
|
|
188
|
+
const tagOwners = /* @__PURE__ */ new Map();
|
|
187
189
|
const generatorMap = /* @__PURE__ */ new Map();
|
|
188
190
|
const generatorOwners = /* @__PURE__ */ new Map();
|
|
189
191
|
for (const descriptor of descriptors) {
|
|
@@ -202,9 +204,16 @@ function assembleControlMutationDefaults(descriptors) {
|
|
|
202
204
|
defaultFunctionRegistry.set(functionName, handler);
|
|
203
205
|
functionOwners.set(functionName, descriptorId);
|
|
204
206
|
}
|
|
207
|
+
for (const [tag, entry] of contributions.defaultLiteralTagRegistry) {
|
|
208
|
+
const existingOwner = tagOwners.get(tag);
|
|
209
|
+
if (existingOwner !== void 0) throw new InternalError(`Duplicate default literal tag "${tag}". Descriptor "${descriptorId}" conflicts with "${existingOwner}".`);
|
|
210
|
+
defaultLiteralTagRegistry.set(tag, entry);
|
|
211
|
+
tagOwners.set(tag, descriptorId);
|
|
212
|
+
}
|
|
205
213
|
}
|
|
206
214
|
return {
|
|
207
215
|
defaultFunctionRegistry,
|
|
216
|
+
defaultLiteralTagRegistry,
|
|
208
217
|
generatorDescriptors: Array.from(generatorMap.values())
|
|
209
218
|
};
|
|
210
219
|
}
|
|
@@ -661,7 +670,122 @@ function dispositionForCategory(controlPolicy, category) {
|
|
|
661
670
|
}
|
|
662
671
|
return "fail";
|
|
663
672
|
}
|
|
673
|
+
const TAGGED_LITERAL_MAX_BYTES = 65536;
|
|
674
|
+
/** The message a tagged literal's canonicalization failure is reported with, in PSL and in TypeScript. */
|
|
675
|
+
function describeTaggedLiteralFailure(reason) {
|
|
676
|
+
switch (reason) {
|
|
677
|
+
case "nul": return "Tagged literals must not contain NUL characters.";
|
|
678
|
+
case "too-large": return `Tagged literal exceeds ${TAGGED_LITERAL_MAX_BYTES} bytes.`;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
const BACKTICK_ESCAPES = /* @__PURE__ */ new Set(["`", "\\"]);
|
|
682
|
+
/**
|
|
683
|
+
* Resolves the escapes a backtick string understands, in PSL and in the TypeScript `sql` tag's raw
|
|
684
|
+
* text: `` \` `` is a backtick and `\\` one backslash. Every other backslash sequence is kept as
|
|
685
|
+
* written, both characters, so a SQL body may contain `E'\n'` unchanged.
|
|
686
|
+
*/
|
|
687
|
+
function resolveBacktickEscapes(raw) {
|
|
688
|
+
let out = "";
|
|
689
|
+
let i = 0;
|
|
690
|
+
while (i < raw.length) {
|
|
691
|
+
const ch = raw.charAt(i);
|
|
692
|
+
const next = raw.charAt(i + 1);
|
|
693
|
+
if (ch === "\\" && BACKTICK_ESCAPES.has(next)) {
|
|
694
|
+
out += next;
|
|
695
|
+
i += 2;
|
|
696
|
+
continue;
|
|
697
|
+
}
|
|
698
|
+
out += ch;
|
|
699
|
+
i++;
|
|
700
|
+
}
|
|
701
|
+
return out;
|
|
702
|
+
}
|
|
703
|
+
const BLANK_LINE = /^[ \t]*$/;
|
|
704
|
+
const LEADING_INDENT = /^[ \t]*/;
|
|
705
|
+
const LINE_BREAK = /\r\n|\r|\n/g;
|
|
706
|
+
/**
|
|
707
|
+
* Turns the escape-resolved text of a tagged literal into its canonical body:
|
|
708
|
+
* newlines become `\n`, a blank first and last line are dropped, common leading
|
|
709
|
+
* whitespace is removed, internal blank lines become empty, and no trailing
|
|
710
|
+
* newline is added. Fails on a NUL character or when the result is larger than
|
|
711
|
+
* 65536 UTF-8 bytes.
|
|
712
|
+
*/
|
|
713
|
+
function canonicalizeTaggedLiteralBody(resolved) {
|
|
714
|
+
const nul = resolved.indexOf("\0");
|
|
715
|
+
if (nul !== -1) return {
|
|
716
|
+
ok: false,
|
|
717
|
+
reason: "nul",
|
|
718
|
+
offset: nul
|
|
719
|
+
};
|
|
720
|
+
const lines = splitLines(resolved);
|
|
721
|
+
if (lines.length > 0 && BLANK_LINE.test(lines[0]?.text ?? "")) lines.shift();
|
|
722
|
+
if (lines.length > 0 && BLANK_LINE.test(lines.at(-1)?.text ?? "")) lines.pop();
|
|
723
|
+
const indent = commonIndent(lines);
|
|
724
|
+
const bodyLines = lines.map((line) => BLANK_LINE.test(line.text) ? {
|
|
725
|
+
text: "",
|
|
726
|
+
start: line.start
|
|
727
|
+
} : {
|
|
728
|
+
text: line.text.slice(indent),
|
|
729
|
+
start: line.start + indent
|
|
730
|
+
});
|
|
731
|
+
const excess = offsetWhereBytesExceed(bodyLines, TAGGED_LITERAL_MAX_BYTES);
|
|
732
|
+
if (excess !== void 0) return {
|
|
733
|
+
ok: false,
|
|
734
|
+
reason: "too-large",
|
|
735
|
+
offset: excess
|
|
736
|
+
};
|
|
737
|
+
return {
|
|
738
|
+
ok: true,
|
|
739
|
+
body: bodyLines.map((line) => line.text).join("\n")
|
|
740
|
+
};
|
|
741
|
+
}
|
|
742
|
+
function splitLines(text) {
|
|
743
|
+
const lines = [];
|
|
744
|
+
let start = 0;
|
|
745
|
+
for (const match of text.matchAll(LINE_BREAK)) {
|
|
746
|
+
lines.push({
|
|
747
|
+
text: text.slice(start, match.index),
|
|
748
|
+
start
|
|
749
|
+
});
|
|
750
|
+
start = match.index + match[0].length;
|
|
751
|
+
}
|
|
752
|
+
lines.push({
|
|
753
|
+
text: text.slice(start),
|
|
754
|
+
start
|
|
755
|
+
});
|
|
756
|
+
return lines;
|
|
757
|
+
}
|
|
758
|
+
function commonIndent(lines) {
|
|
759
|
+
let indent = Number.POSITIVE_INFINITY;
|
|
760
|
+
for (const line of lines) {
|
|
761
|
+
if (BLANK_LINE.test(line.text)) continue;
|
|
762
|
+
indent = Math.min(indent, LEADING_INDENT.exec(line.text)?.[0].length ?? 0);
|
|
763
|
+
}
|
|
764
|
+
return Number.isFinite(indent) ? indent : 0;
|
|
765
|
+
}
|
|
766
|
+
/** The resolved-text offset of the first character that pushes the body past `limit` bytes. */
|
|
767
|
+
function offsetWhereBytesExceed(lines, limit) {
|
|
768
|
+
let bytes = 0;
|
|
769
|
+
for (const [index, line] of lines.entries()) {
|
|
770
|
+
if (index > 0) {
|
|
771
|
+
bytes += 1;
|
|
772
|
+
if (bytes > limit) return line.start;
|
|
773
|
+
}
|
|
774
|
+
let offsetInLine = 0;
|
|
775
|
+
for (const char of line.text) {
|
|
776
|
+
bytes += utf8Length(char.codePointAt(0) ?? 0);
|
|
777
|
+
if (bytes > limit) return line.start + offsetInLine;
|
|
778
|
+
offsetInLine += char.length;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
function utf8Length(codePoint) {
|
|
783
|
+
if (codePoint < 128) return 1;
|
|
784
|
+
if (codePoint < 2048) return 2;
|
|
785
|
+
if (codePoint < 65536) return 3;
|
|
786
|
+
return 4;
|
|
787
|
+
}
|
|
664
788
|
//#endregion
|
|
665
|
-
export {
|
|
789
|
+
export { issueOutcome as A, extractComponentIds as C, hasPslContractInfer as D, hasOperationPreview as E, resolveBacktickEscapes as M, storageHashHex as N, hasSchemaSubjectClassifier as O, extractCodecTypeImports as S, hasMigrations as T, createControlStack as _, TAGGED_LITERAL_MAX_BYTES as a, dispositionForCategory as b, VERIFY_CODE_SCHEMA_FAILURE as c, assembleControlMutationDefaults as d, assertUniqueCodecOwner as f, contractSnapshotTypesSpecifier as g, contractSnapshotJsonSpecifier as h, SchemaTreeNode as i, orderIssuesByDependencies as j, hasSchemaView as k, VERIFY_CODE_TARGET_MISMATCH as l, canonicalizeTaggedLiteralBody as m, CONTRACT_SNAPSHOTS_DIRNAME as n, VERIFY_CODE_HASH_MISMATCH as o, buildExtensionLoadOrder as p, SchemaDiff as r, VERIFY_CODE_MARKER_MISSING as s, APP_SPACE_ID as t, assembleAuthoringContributions as u, describeTaggedLiteralFailure as v, extractQueryOperationTypeImports as w, extractCodecLookup as x, diffSchemas as y };
|
|
666
790
|
|
|
667
|
-
//# sourceMappingURL=control-
|
|
791
|
+
//# sourceMappingURL=control-LZyLwXWd.mjs.map
|