@prisma/orm-framework 8.0.0-rc.20-dev.14 → 8.0.0-rc.21
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-C9wgJCNs.d.mts → authoring-C2UAuRfN.d.mts} +4 -14
- package/dist/{authoring-C9wgJCNs.d.mts.map → authoring-C2UAuRfN.d.mts.map} +1 -1
- package/dist/{authoring-BNzxszPO.mjs → authoring-CuGQP7_1.mjs} +4 -26
- package/dist/authoring-CuGQP7_1.mjs.map +1 -0
- package/dist/{binder-DJRPMfsD-D7PEvJOJ.d.mts → binder-BszqDG1t-icu83_4f.d.mts} +16 -12
- package/dist/{binder-DJRPMfsD-D7PEvJOJ.d.mts.map → binder-BszqDG1t-icu83_4f.d.mts.map} +1 -1
- package/dist/{components-Cl5lB_Iw.d.mts → components-BenCVFk4.d.mts} +3 -3
- package/dist/{components-Cl5lB_Iw.d.mts.map → components-BenCVFk4.d.mts.map} +1 -1
- package/dist/components.d.mts +10 -10
- package/dist/components.mjs +4 -4
- package/dist/components__authoring.d.mts +4 -4
- package/dist/components__authoring.mjs +3 -3
- package/dist/components__components.d.mts +3 -3
- package/dist/components__control.d.mts +3 -3
- package/dist/components__control.mjs +2 -2
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/{config-types-j3Elycru.d.mts → config-types-BJ79TZCl.d.mts} +5 -5
- package/dist/{config-types-j3Elycru.d.mts.map → config-types-BJ79TZCl.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 +19 -54
- package/dist/contract-authoring.d.mts.map +1 -1
- package/dist/contract-authoring.mjs +15 -28
- package/dist/contract-authoring.mjs.map +1 -1
- package/dist/control-B3OS8JEw.d.mts +1 -0
- package/dist/{control-BeXOxtXA-DRX60Yu3.d.mts → control-BeXOxtXA-BU8y-LiK.d.mts} +2 -2
- package/dist/{control-BeXOxtXA-DRX60Yu3.d.mts.map → control-BeXOxtXA-BU8y-LiK.d.mts.map} +1 -1
- package/dist/{control-Df-HE5e4.d.mts → control-CS1uqJj_.d.mts} +8 -9
- package/dist/{control-Df-HE5e4.d.mts.map → control-CS1uqJj_.d.mts.map} +1 -1
- package/dist/{control-DKOWXGUq.mjs → control-Dn1CMH6R.mjs} +8 -16
- package/dist/control-Dn1CMH6R.mjs.map +1 -0
- package/dist/{control-MllEQmML-tXi_WAy3.mjs → control-MllEQmML-BdhmgQVr.mjs} +2 -2
- package/dist/{control-MllEQmML-tXi_WAy3.mjs.map → control-MllEQmML-BdhmgQVr.mjs.map} +1 -1
- package/dist/{declarations-BgUAq1RG-Dz_-EI1Q.mjs → declarations-BgUAq1RG-DPNkVezv.mjs} +2 -2
- package/dist/{declarations-BgUAq1RG-Dz_-EI1Q.mjs.map → declarations-BgUAq1RG-DPNkVezv.mjs.map} +1 -1
- package/dist/errors.d.mts +4 -4
- package/dist/errors.mjs +3 -3
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__control.mjs +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__execution.mjs +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/errors__migration.mjs +1 -1
- package/dist/{execution-D5tvAHf4.d.mts → execution-BPJbNttJ.d.mts} +2 -2
- package/dist/{execution-D5tvAHf4.d.mts.map → execution-BPJbNttJ.d.mts.map} +1 -1
- package/dist/{execution-CgR7dFMU.d.mts → execution-BWR_z8XI.d.mts} +2 -2
- package/dist/{execution-CgR7dFMU.d.mts.map → execution-BWR_z8XI.d.mts.map} +1 -1
- package/dist/{execution-DMsDYKSr.mjs → execution-GInmnTZ9.mjs} +2 -2
- package/dist/{execution-DMsDYKSr.mjs.map → execution-GInmnTZ9.mjs.map} +1 -1
- package/dist/{expressions-CMQzbnHk-BL2zN0Iv.mjs → expressions-CMQzbnHk-FYhlr1aG.mjs} +2 -2
- package/dist/{expressions-CMQzbnHk-BL2zN0Iv.mjs.map → expressions-CMQzbnHk-FYhlr1aG.mjs.map} +1 -1
- package/dist/{framework-authoring-DSqNuI8w-BMQDwpgF.d.mts → framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts} +17 -97
- package/dist/framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts.map +1 -0
- package/dist/{framework-components-BhbsOiJc-BpDfGsqn.d.mts → framework-components-BqHA1V92-D9j8uXa-.d.mts} +3 -3
- package/dist/{framework-components-BhbsOiJc-BpDfGsqn.d.mts.map → framework-components-BqHA1V92-D9j8uXa-.d.mts.map} +1 -1
- package/dist/ids.d.mts +3 -98
- package/dist/ids.d.mts.map +1 -1
- package/dist/ids.mjs +12 -52
- package/dist/ids.mjs.map +1 -1
- package/dist/{migration-DpdvEAEC.mjs → migration-D57w8Uxv.mjs} +2 -2
- package/dist/{migration-DpdvEAEC.mjs.map → migration-D57w8Uxv.mjs.map} +1 -1
- package/dist/{migration-Ox7HWa_t.d.mts → migration-Dk1sYIvs.d.mts} +2 -2
- package/dist/{migration-Ox7HWa_t.d.mts.map → migration-Dk1sYIvs.d.mts.map} +1 -1
- package/dist/{parse-bZgfjovA-BNgYhylT.mjs → parse-bZgfjovA-gD3hVy3X.mjs} +3 -3
- package/dist/{parse-bZgfjovA-BNgYhylT.mjs.map → parse-bZgfjovA-gD3hVy3X.mjs.map} +1 -1
- package/dist/{parse-djL5wker-sY18Mt5K.d.mts → parse-djL5wker-DnMlKOii.d.mts} +6 -6
- package/dist/{parse-djL5wker-sY18Mt5K.d.mts.map → parse-djL5wker-DnMlKOii.d.mts.map} +1 -1
- package/dist/{psl-ast-C8W7AM1f-DYtFq1nP.d.mts → psl-ast-0oMzInxd-Nx9cHmcc.d.mts} +3 -3
- package/dist/{psl-ast-C8W7AM1f-DYtFq1nP.d.mts.map → psl-ast-0oMzInxd-Nx9cHmcc.d.mts.map} +1 -1
- package/dist/psl-ast-CFQfCJeM.d.mts +2 -0
- package/dist/psl-parser.d.mts +12 -12
- package/dist/psl-parser.mjs +17 -55
- package/dist/psl-parser.mjs.map +1 -1
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__format.mjs +3 -3
- package/dist/psl-parser__interpret.d.mts +30 -30
- package/dist/psl-parser__interpret.d.mts.map +1 -1
- package/dist/psl-parser__interpret.mjs +110 -298
- package/dist/psl-parser__interpret.mjs.map +1 -1
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-parser__syntax.mjs +3 -3
- package/dist/psl-printer.d.mts +4 -4
- package/dist/psl-printer.mjs +1 -1
- package/dist/temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts +133 -0
- package/dist/temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts.map +1 -0
- package/dist/{temporal-presets-5TK1pTYJ-DmhrnMP1.mjs → temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs} +29 -281
- package/dist/temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs.map +1 -0
- package/dist/{type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs → type-constructor-calls-CNd1Xlw2-DjyX5mKn.mjs} +52 -7
- package/dist/type-constructor-calls-CNd1Xlw2-DjyX5mKn.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/authoring-BNzxszPO.mjs.map +0 -1
- package/dist/control-CV9doMHb.d.mts +0 -1
- package/dist/control-DKOWXGUq.mjs.map +0 -1
- package/dist/framework-authoring-DSqNuI8w-BMQDwpgF.d.mts.map +0 -1
- package/dist/psl-ast-sZ1tAYRc.d.mts +0 -2
- package/dist/temporal-presets-5TK1pTYJ-DmhrnMP1.mjs.map +0 -1
- package/dist/temporal-presets-De4oKG36-DlGYQgF1.d.mts +0 -258
- package/dist/temporal-presets-De4oKG36-DlGYQgF1.d.mts.map +0 -1
- package/dist/type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs.map +0 -1
package/dist/components.mjs
CHANGED
|
@@ -5,12 +5,12 @@ import { C as readJsonString, D as requiredSchemaKeys, E as requiredParamKeys, O
|
|
|
5
5
|
import { a as resolveCodecDescriptorOrThrow, i as materializeCodec, o as validateCodecTypeParams, r as codecForRef, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from "./resolve-codec-qqMjZrmn-Cok8elAo.mjs";
|
|
6
6
|
import { t as emptyCodecLookup } from "./codec-types-BXLUbk-Y-DpGfKGK0.mjs";
|
|
7
7
|
import { a as isAggregateDescriptor, c as mergeCapabilityMatrices, l as singleGeneratorBinding, n as aggregateDescriptorKey, o as isAnyInputAggregateDescriptor, r as assembleGeneratorFunctions, s as isNoInputAggregateDescriptor, t as EMPTY_GENERATOR_FUNCTIONS } from "./generator-functions-CXbQfvYu-BIFU1Ryx.mjs";
|
|
8
|
-
import { A as
|
|
8
|
+
import { A as mergeAuthoringNamespaces, B as tsTaggedTemplateSource, C as isAuthoringEntityTypeDescriptor, D as isAuthoringTypeConstructorDescriptor, E as isAuthoringTypeAliasDescriptor, F as resolvePslBacktickEscapes, H as validateAuthoringTypeParams, I as resolveTemplateTagEscapes, L as resolveTypeAliasGenerators, M as printedTaggedLiteralReadsBack, N as resolveAuthoringTemplateValue, O as isAuthoringTypeDescriptor, P as resolveEnumCodecId, R as temporalTypeAliases, S as isAuthoringArgRef, T as isAuthoringPslBlockDescriptor, V as validateAuthoringHelperArguments, _ as getAuthoringTypeConstructor, a as assembleDataTypeSupport, b as instantiateAuthoringTypeConstructor, c as assertResolvableTypeConstructorTemplates, d as classifyEnumMemberType, g as flushAuthoringWarnings, h as describeTaggedLiteralFailure, i as assembleAuthoringDataTypes, j as printTaggedLiteral, l as assertTypeAliasesValid, n as TAGGED_LITERAL_MAX_BYTES, o as assertNoAuthoringFieldNamespace, p as collectScalarTypeConstructors, r as TIMESTAMP_NOW_GENERATOR_ID, s as assertNoCrossRegistryCollisions, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as canonicalizeTaggedLiteralBody, v as instantiateAuthoringEntityType, w as isAuthoringModelAttributeDescriptor, x as instantiateAuthoringTypeConstructorFromValues, y as instantiateAuthoringTypeAlias, z as timestampNowControlDescriptor } from "./temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs";
|
|
9
9
|
import { i as freezeNode, n as NamespaceBase, r as UNBOUND_NAMESPACE_ID, t as IRNodeBase } from "./namespace-VUH2dgnS-By5y75h9.mjs";
|
|
10
|
-
import { $ as schemaIssuesWhy, A as failedPostcheckWhy, B as isStorageHashHex, C as expectAbsent, D as extractComponentIds, E as extractCodecTypeImports, F as hasPslContractBuild, G as migrationSubjectJson, H as issueOutcome, I as hasPslContractInfer, J as modelStatementText, K as migrationSubjectKey, L as hasSchemaSubjectClassifier, M as fieldStatementText, N as hasMigrations, O as extractParameterizedOutputTypeImports, P as hasOperationPreview, Q as schemaCheckWhy, R as hasSchemaView, S as enumValueStatementText, T as extractCodecLookup, U as migrationRunnerFailure, V as issueLabel, W as migrationStatementJson, X as planOriginOf, Y as orderIssuesByDependencies, Z as sameMarkerHashes, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as enumValueCoordinateFromJson, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, et as storageHashHex, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as failedPrecheckWhy, k as extractQueryOperationTypeImports, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, nt as withFailingSpace, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as modelDisplayName, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, tt as withDatabaseUnchanged, u as assembleControlMutationDefaults, v as dispositionForCategory, w as expectPresent, x as enumValueCoordinateJson, y as enforceHelperCodecInvariants, z as isRenameStatement } from "./control-
|
|
10
|
+
import { $ as schemaIssuesWhy, A as failedPostcheckWhy, B as isStorageHashHex, C as expectAbsent, D as extractComponentIds, E as extractCodecTypeImports, F as hasPslContractBuild, G as migrationSubjectJson, H as issueOutcome, I as hasPslContractInfer, J as modelStatementText, K as migrationSubjectKey, L as hasSchemaSubjectClassifier, M as fieldStatementText, N as hasMigrations, O as extractParameterizedOutputTypeImports, P as hasOperationPreview, Q as schemaCheckWhy, R as hasSchemaView, S as enumValueStatementText, T as extractCodecLookup, U as migrationRunnerFailure, V as issueLabel, W as migrationStatementJson, X as planOriginOf, Y as orderIssuesByDependencies, Z as sameMarkerHashes, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as enumValueCoordinateFromJson, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, et as storageHashHex, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as failedPrecheckWhy, k as extractQueryOperationTypeImports, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, nt as withFailingSpace, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as modelDisplayName, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, tt as withDatabaseUnchanged, u as assembleControlMutationDefaults, v as dispositionForCategory, w as expectPresent, x as enumValueCoordinateJson, y as enforceHelperCodecInvariants, z as isRenameStatement } from "./control-Dn1CMH6R.mjs";
|
|
11
11
|
import { a as elementCoordinates, c as promoteBuiltinKinds, i as domainElementCoordinates, n as buildSingleNamespaceView, o as entityAt, r as coordinateKey, s as hydrateNamespaceEntities, t as buildNamespacedEntities } from "./ir-uDGU9vaj.mjs";
|
|
12
12
|
import { a as numeralText, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, o as readContractValue, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-CPSGZunM-DxrbRHX1.mjs";
|
|
13
|
-
import { C as
|
|
13
|
+
import { C as readWrittenValueIntoCodec, S as readWrittenValueAs, _ as exactRewrite, a as authoringTypeConstructors, b as readEnumBlockMembers, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as findAuthoringTypeConstructorCall, w as tagForm, x as readWrittenValue, y as knownTags } from "./authoring-CuGQP7_1.mjs";
|
|
14
14
|
import { _ as signedRange, a as createNumberClassifier, c as decimalTextEqualityKey, d as isNumeralText, f as isoDateStringText, g as renderTsLiteral, h as refuseWrongShape, i as column, l as decimalTextNumberLiteral, m as printJsonText, n as asNumeralText, o as dateTimeStoredText, p as parseJsonText, r as castUnchanged, s as decimalTextBigintLiteral, t as asFloat, u as floatNumberLiteral, v as storedNumeralText } from "./codec-yFwW7XRh.mjs";
|
|
15
15
|
import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
|
|
16
16
|
import { n as settleAggregateOverloads, t as createGeneratorHelpers } from "./components-BaV9iCkq.mjs";
|
|
@@ -18,4 +18,4 @@ import { n as resolveRequirementSpecifiers, t as keepInternalSpecifiers } from "
|
|
|
18
18
|
import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-DJDqCoRU.mjs";
|
|
19
19
|
import { a as flatPslModels, c as namespacePslExtensionBlocks, i as flatPslCompositeTypes, n as UNBOUND_PSL_NAMESPACE_NAME, o as makePslNamespace, r as UNSPECIFIED_PSL_NAMESPACE_ID, s as makePslNamespaceEntries, t as BUILTIN_PSL_KIND_KEYS } from "./psl-ast-CyvE6CR-.mjs";
|
|
20
20
|
import { _ as runtimeAborted, a as applyMutationDefaults, b as streamStatement, c as checkAborted, d as createContextBeneath, f as createMetaBuilder, g as raceAgainstAbort, h as executeStatement, i as RuntimeCore, l as checkMiddlewareCompatibility, m as defineAnnotation, n as RUNTIME_ABORTED, o as assertAnnotationsApplicable, p as createStateStore, r as RelationKeys, s as assertMutationDefaultGeneratorsAvailable, t as AsyncIterableResult, u as collectMutationDefaultGenerators, v as startClientActivity, y as startTransactionActivity } from "./runtime-DiBFiGVw.mjs";
|
|
21
|
-
export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATA_TYPE_ID_PATTERN, EMPTY_GENERATOR_FUNCTIONS, INT32_RANGE, INT64_RANGE, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES,
|
|
21
|
+
export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATA_TYPE_ID_PATTERN, EMPTY_GENERATOR_FUNCTIONS, INT32_RANGE, INT64_RANGE, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams, withDatabaseUnchanged, withFailingSpace };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as
|
|
2
|
-
import {
|
|
3
|
-
import { C as
|
|
4
|
-
export { AUTHORING_TYPE_DESCRIPTOR_KINDS, type AssembledDataTypeSupport, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type
|
|
1
|
+
import { $t as mergeAuthoringNamespaces, A as AuthoringWarning, At as classifyEnumMemberType, B as DataTypeWrittenForm, Bt as getAuthoringTypeConstructor, C as AuthoringTemplateValue, Ct as admittedTags, D as AuthoringTypeConstructorEntityRef, Dt as assertResolvableTypeConstructorTemplates, E as AuthoringTypeConstructorDescriptor, Et as assertNoCrossRegistryCollisions, Ft as describeRefusedValueType, Gt as isAuthoringArgRef, Ht as instantiateAuthoringTypeAlias, It as entryForPlain, Jt as isAuthoringPslBlockDescriptor, Kt as isAuthoringEntityTypeDescriptor, Lt as entryForTag, Mt as describeAdmittedForms, N as CastRefusal, Nt as describeExpected, O as AuthoringTypeNamespace, Ot as assertTypeAliasesValid, Pt as describeRefusal, Qt as knownTags, R as DataTypeAuthoringEntry, Rt as exactRewrite, S as AuthoringStorageTypeTemplate, St as admittedForms, T as AuthoringTypeAliasOutput, Tt as assertNoAuthoringFieldNamespace, Ut as instantiateAuthoringTypeConstructor, Vt as instantiateAuthoringEntityType, Wt as instantiateAuthoringTypeConstructorFromValues, Xt as isAuthoringTypeConstructorDescriptor, Yt as isAuthoringTypeAliasDescriptor, Zt as isAuthoringTypeDescriptor, _ as AuthoringModelAttributeEntityOutput, a as AuthoringAttributeSpecContributions, an as resolveTypeAliasGenerators, at as PslExtensionBlock, b as AuthoringPslBlockDescriptor, bt as WrittenScalar, c as AuthoringDiagnosticSink, cn as validateAuthoringHelperArguments, ct as PslExtensionBlockParsedAttribute, d as AuthoringEntityTypeFactoryOutput, en as readWrittenValue, f as AuthoringEntityTypeNamespace, ft as ReadRefusal, g as AuthoringModelAttributeDescriptorNamespace, h as AuthoringModelAttributeDescriptor, ht as ScalarTypeConstructorOutput, i as AuthoringArgumentDescriptor, in as resolveEnumCodecId, j as AuthoringWarningSink, jt as collectScalarTypeConstructors, k as AuthoringTypeParamsIssue, kt as castTypedValue, l as AuthoringEntityContext, ln as validateAuthoringTypeParams, lt as PslExtensionBlockPrintEntry, m as AuthoringModelAttributeContext, mt as RefusalGuidance, nn as readWrittenValueIntoCodec, o as AuthoringContributions, p as AuthoringEntityTypeTemplateOutput, pt as RefusalDescription, qt as isAuthoringModelAttributeDescriptor, r as AuthoringArgRef, rn as resolveAuthoringTemplateValue, s as AuthoringDescriptorKinds, sn as tagForm, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, tn as readWrittenValueAs, tt as ParsedPslExtensionBlock, u as AuthoringEntityTypeDescriptor, v as AuthoringModelAttributeIndexOutput, w as AuthoringTypeAliasDescriptor, x as AuthoringPslBlockDescriptorNamespace, xt as WrittenValue, y as AuthoringModelAttributeLoweringOutput, yt as WrittenForm, z as DataTypeSupport, zt as flushAuthoringWarnings } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
|
|
2
|
+
import { _ as tsTaggedTemplateSource, a as TIMESTAMP_NOW_GENERATOR_ID, c as assembleDataTypeSupport, d as printTaggedLiteral, f as printedTaggedLiteralReadsBack, h as temporalTypeAliases, l as canonicalizeTaggedLiteralBody, m as resolveTemplateTagEscapes, o as TaggedLiteralCanonicalization, r as DataTypeComponent, s as assembleAuthoringDataTypes, t as AssembledDataTypeSupport, u as describeTaggedLiteralFailure } from "./temporal-type-aliases-BIiamFSH-BrpK13hf.mjs";
|
|
3
|
+
import { C as findAuthoringTypeConstructorCall, S as enumMemberProblemDiagnostic, _ as authoringTypeConstructorArguments, a as DiscriminatorField, b as duplicateStoredMembers, c as DiscriminatorVariantRefusal, d as EnumBlockDiagnostic, f as EnumBlockMember, g as applyDiscriminatorRule, h as StoredEnumMember, i as DiscriminatorDecision, l as DuplicateStoredValue, m as EnumMemberProblem, n as AuthoringTypeConstructorOutput, o as DiscriminatorFieldRefusal, p as EnumBlockSite, r as DecodedEnum, s as DiscriminatorRefusal, t as AuthoringTypeConstructorCall, u as EncodedEnumMember, v as authoringTypeConstructors, w as readEnumBlockMembers, x as encodeEnumMembers, y as describeDiscriminatorRefusal } from "./authoring-C2UAuRfN.mjs";
|
|
4
|
+
export { AUTHORING_TYPE_DESCRIPTOR_KINDS, type AssembledDataTypeSupport, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringWarning, type AuthoringWarningSink, type CastRefusal, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeSupport, type DataTypeWrittenForm, type DecodedEnum, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DuplicateStoredValue, type EncodedEnumMember, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type ParsedPslExtensionBlock, type PslExtensionBlock, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, type ReadRefusal, type RefusalDescription, type RefusalGuidance, type ScalarTypeConstructorOutput, type StoredEnumMember, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, applyDiscriminatorRule, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertTypeAliasesValid, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, resolveTypeAliasGenerators, tagForm, temporalTypeAliases, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { C as
|
|
3
|
-
export { AUTHORING_TYPE_DESCRIPTOR_KINDS,
|
|
1
|
+
import { A as mergeAuthoringNamespaces, B as tsTaggedTemplateSource, C as isAuthoringEntityTypeDescriptor, D as isAuthoringTypeConstructorDescriptor, E as isAuthoringTypeAliasDescriptor, H as validateAuthoringTypeParams, I as resolveTemplateTagEscapes, L as resolveTypeAliasGenerators, M as printedTaggedLiteralReadsBack, N as resolveAuthoringTemplateValue, O as isAuthoringTypeDescriptor, P as resolveEnumCodecId, R as temporalTypeAliases, S as isAuthoringArgRef, T as isAuthoringPslBlockDescriptor, V as validateAuthoringHelperArguments, _ as getAuthoringTypeConstructor, a as assembleDataTypeSupport, b as instantiateAuthoringTypeConstructor, c as assertResolvableTypeConstructorTemplates, d as classifyEnumMemberType, g as flushAuthoringWarnings, h as describeTaggedLiteralFailure, i as assembleAuthoringDataTypes, j as printTaggedLiteral, l as assertTypeAliasesValid, o as assertNoAuthoringFieldNamespace, p as collectScalarTypeConstructors, r as TIMESTAMP_NOW_GENERATOR_ID, s as assertNoCrossRegistryCollisions, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as canonicalizeTaggedLiteralBody, v as instantiateAuthoringEntityType, w as isAuthoringModelAttributeDescriptor, x as instantiateAuthoringTypeConstructorFromValues, y as instantiateAuthoringTypeAlias } from "./temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs";
|
|
2
|
+
import { C as readWrittenValueIntoCodec, S as readWrittenValueAs, _ as exactRewrite, a as authoringTypeConstructors, b as readEnumBlockMembers, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as findAuthoringTypeConstructorCall, w as tagForm, x as readWrittenValue, y as knownTags } from "./authoring-CuGQP7_1.mjs";
|
|
3
|
+
export { AUTHORING_TYPE_DESCRIPTOR_KINDS, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, applyDiscriminatorRule, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertTypeAliasesValid, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, resolveTypeAliasGenerators, tagForm, temporalTypeAliases, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as GeneratorFunctionComponent, H as EMPTY_GENERATOR_FUNCTIONS, J as GeneratorFunctionRegistry, K as GeneratorFunctionContribution, M as BindingResolution, U as GeneratorFunctionBinding, W as GeneratorFunctionCall, X as GeneratorFunctionSummary, Y as GeneratorFunctionResolution, Z as GeneratorPhase, et as MutationDefaultGeneratorDescriptor, nt as PrintedArguments, on as singleGeneratorBinding, q as GeneratorFunctionField, rt as PrintedGeneratorCall, wt as assembleGeneratorFunctions } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
|
|
2
2
|
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-Bkh243Hv-B-fdw0Wl.mjs";
|
|
3
3
|
import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
4
|
-
import { C as checkContractComponentRequirements, S as TargetPackRef, _ as PackRefBase, a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as SessionSettings, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-
|
|
4
|
+
import { C as checkContractComponentRequirements, S as TargetPackRef, _ as PackRefBase, a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as SessionSettings, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-BqHA1V92-D9j8uXa-.mjs";
|
|
5
5
|
import { n as isRuntimeError, r as runtimeError, t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
|
|
6
|
-
import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGeneratorHelpers, f as settleAggregateOverloads, i as ExtensionPackValues, l as SignatureArgumentOutput, n as AggregateOverloadAmbiguity, o as GeneratorHelpersOf, r as AggregateOverloadDuplicate, s as SettledAggregateOperation, t as AggregateCodecTraits, u as SignatureOptionalArgument } from "./components-
|
|
6
|
+
import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGeneratorHelpers, f as settleAggregateOverloads, i as ExtensionPackValues, l as SignatureArgumentOutput, n as AggregateOverloadAmbiguity, o as GeneratorHelpersOf, r as AggregateOverloadDuplicate, s as SettledAggregateOperation, t as AggregateCodecTraits, u as SignatureOptionalArgument } from "./components-BenCVFk4.mjs";
|
|
7
7
|
export { type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnyInputAggregateDescriptor, type BindingResolution, type CapabilityMatrix, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type DriverDescriptor, type DriverInstance, type DriverPackRef, EMPTY_GENERATOR_FUNCTIONS, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type NoInputAggregateDescriptor, type PackRefBase, type PrintedArguments, type PrintedGeneratorCall, type RuntimeErrorEnvelope, type SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type SignatureArgumentOutput, type SignatureOptionalArgument, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetPackRef, type ValueInputAggregateDescriptor, aggregateDescriptorKey, assembleGeneratorFunctions, checkContractComponentRequirements, createGeneratorHelpers, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, isRuntimeError, mergeCapabilityMatrices, runtimeError, settleAggregateOverloads, singleGeneratorBinding };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { $ as LoweredDefaultValue, F as ControlMutationDefaultEntry, I as ControlMutationDefaultRegistry, L as ControlMutationDefaults, Q as LoweredDefaultResult, V as DefaultFunctionLoweringContext, _t as SourceSpan, et as MutationDefaultGeneratorDescriptor, gt as SourceDiagnostic, n as AssembledControlMutationDefaults, vt as TypedDefaultFunctionCall } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
|
|
2
|
+
import { g as timestampNowControlDescriptor, i as TAGGED_LITERAL_MAX_BYTES, m as resolveTemplateTagEscapes, p as resolvePslBacktickEscapes, u as describeTaggedLiteralFailure } from "./temporal-type-aliases-BIiamFSH-BrpK13hf.mjs";
|
|
3
3
|
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
4
|
-
import { $ as MigrationPlanWithAuthoringSurface, $n as migrationStatementJson, $t as SchemaVerifier, A as FailedCast, An as enumValueCoordinateJson, At as PslContractInferCapable, B as MigratableTargetDescriptor, Bn as failedPrecheckWhy, Bt as RowsHoldingValue, C as CreateControlStackInput, Cn as contractSnapshotTypesSpecifier, Ct as OperationContext, D as EnumValueCoordinate, Dn as dispositionForCategory, Dt as PlanOrigin, E as EmitContractResult, En as diffSchemas, Et as OperationPreviewStatement, F as FieldCoordinateJson, Fn as extractCodecTypeImports, Ft as ResolvedFieldRenameStatement, G as MigrationOperationClass, Gn as hasPslContractInfer, Gt as SchemaLabelPart, H as MigrationDataLoss, Hn as hasMigrations, Ht as SchemaDiff, I as HelperCodecInvariantInput, In as extractComponentIds, It as ResolvedMigrationStatement, J as MigrationPackage, Jn as isRenameStatement, Jt as SchemaOwnership, K as MigrationOperationPolicy, Kn as hasSchemaSubjectClassifier, Kt as SchemaLabelPartRole, L as IntrospectSchemaResult, Ln as extractParameterizedOutputTypeImports, Lt as ResolvedModelRenameStatement, M as FailedConversion, Mn as expectAbsent, Mt as ResolvedEnumValueRenameStatement, N as FailedTypeChange, Nn as expectPresent, Nt as ResolvedFieldBackfillStatement, O as EnumValueCoordinateJson, On as enforceHelperCodecInvariants, Ot as PslContractBuildCapable, P as FieldCoordinate, Pn as extractCodecLookup, Pt as ResolvedFieldConvertStatement, Q as MigrationPlanSubjects, Qn as migrationRunnerFailure, Qt as SchemaTreeVisitor, R as KeepDataEdit, Rn as extractQueryOperationTypeImports, Rt as ResolvedNamespaceRenameStatement, S as CoreSchemaView, Sn as contractSnapshotJsonSpecifier, St as OpFactoryCall, T as DiffableNode, Tn as describeMigrationStatement, Tt as OperationPreviewCapable, U as MigrationDataLossKind, Un as hasOperationPreview, Ut as SchemaDiffIssue, V as MigrationAccessChange, Vn as fieldStatementText, Vt as RowsWithoutValue, W as MigrationMetadata, Wn as hasPslContractBuild, Wt as SchemaEntityCoordinate, X as MigrationPlanNamespaces, Xn as issueLabel, Xt as SchemaTreeNode, Y as MigrationPlan, Yn as isStorageHashHex, Yt as SchemaSubjectClassifierCapable, Z as MigrationPlanOperation, Zn as issueOutcome, Zt as SchemaTreeNodeOptions, _ as ControlFamilyDescriptor, _n as VerifyDatabaseSchemaResult, _t as MigrationTemporaryValue, a as CONTRACT_SNAPSHOTS_DIRNAME, an as SpaceSignature, ar as planOriginOf, at as MigrationRunner, b as ControlTargetDescriptor, bn as assertUniqueCodecOwner, bt as ModelCoordinate, c as ContractSpace, cn as TargetMigrationsCapability, cr as schemaIssuesWhy, ct as MigrationRunnerFailureMeta, d as ControlAdapterInstance, dn as VERIFY_CODE_SCHEMA_FAILURE, dr as withFailingSpace, dt as MigrationRunnerResult, en as SchemaVerifyOptions, er as migrationSubjectJson, et as MigrationPlanner, f as ControlDriverConnectOptions, fn as VERIFY_CODE_TARGET_MISMATCH, ft as MigrationRunnerSuccessValue, g as ControlExtensionInstance, gn as VerifyDatabaseResult, gt as MigrationSubjectJson, h as ControlExtensionDescriptor, hn as VerifierOutcome, ht as MigrationSubject, i as BlockingObject, in as SpaceMarkerConflict, ir as orderIssuesByDependencies, it as MigrationPlannerSuccessResult, j as FailedCheck, jn as enumValueStatementText, jt as PslSourceSettings, k as ExpectationFailureReason, kn as enumValueCoordinateFromJson, kt as PslContractDocument, l as ContractSpaceHeadRef, ln as VERIFY_CODE_HASH_MISMATCH, lr as storageHashHex, lt as MigrationRunnerPerSpaceOptions, m as ControlDriverInstance, mn as VerifierIssueCategory, mt as MigrationStatementJson, n as AppliedMigrationStatement, nn as SchemaViewCapable, nr as modelDisplayName, nt as MigrationPlannerFailureResult, o as CheckExpectation, on as SpaceSigned, or as sameMarkerHashes, ot as MigrationRunnerExecutionChecks, p as ControlDriverDescriptor, pn as VerificationStatus, pt as MigrationScaffoldContext, q as MigrationOperationSubject, qn as hasSchemaView, qt as SchemaNodeRef, r as AssembledAuthoringContributions, rn as SchemaViewNodeKind, rr as modelStatementText, rt as MigrationPlannerResult, s as ContractSerializer, sn as SpaceToSign, sr as schemaCheckWhy, st as MigrationRunnerFailure, t as APP_SPACE_ID, tn as SchemaVerifyResult, tr as migrationSubjectKey, tt as MigrationPlannerConflict, u as ControlAdapterDescriptor, un as VERIFY_CODE_MARKER_MISSING, ur as withDatabaseUnchanged, ut as MigrationRunnerPerSpaceSuccessValue, v as ControlFamilyInstance, vn as assembleAuthoringContributions, vt as MismatchCause, w as DiffSubjectGranularity, wn as createControlStack, wt as OperationPreview, x as ControlTargetInstance, xn as buildExtensionLoadOrder, xt as ModelCoordinateJson, y as ControlStack, yn as assembleControlMutationDefaults, yt as MismatchExplanation, z as MarkerHashes, zn as failedPostcheckWhy, zt as ResolvedRenameStatement } from "./control-
|
|
4
|
+
import { $ as MigrationPlanWithAuthoringSurface, $n as migrationStatementJson, $t as SchemaVerifier, A as FailedCast, An as enumValueCoordinateJson, At as PslContractInferCapable, B as MigratableTargetDescriptor, Bn as failedPrecheckWhy, Bt as RowsHoldingValue, C as CreateControlStackInput, Cn as contractSnapshotTypesSpecifier, Ct as OperationContext, D as EnumValueCoordinate, Dn as dispositionForCategory, Dt as PlanOrigin, E as EmitContractResult, En as diffSchemas, Et as OperationPreviewStatement, F as FieldCoordinateJson, Fn as extractCodecTypeImports, Ft as ResolvedFieldRenameStatement, G as MigrationOperationClass, Gn as hasPslContractInfer, Gt as SchemaLabelPart, H as MigrationDataLoss, Hn as hasMigrations, Ht as SchemaDiff, I as HelperCodecInvariantInput, In as extractComponentIds, It as ResolvedMigrationStatement, J as MigrationPackage, Jn as isRenameStatement, Jt as SchemaOwnership, K as MigrationOperationPolicy, Kn as hasSchemaSubjectClassifier, Kt as SchemaLabelPartRole, L as IntrospectSchemaResult, Ln as extractParameterizedOutputTypeImports, Lt as ResolvedModelRenameStatement, M as FailedConversion, Mn as expectAbsent, Mt as ResolvedEnumValueRenameStatement, N as FailedTypeChange, Nn as expectPresent, Nt as ResolvedFieldBackfillStatement, O as EnumValueCoordinateJson, On as enforceHelperCodecInvariants, Ot as PslContractBuildCapable, P as FieldCoordinate, Pn as extractCodecLookup, Pt as ResolvedFieldConvertStatement, Q as MigrationPlanSubjects, Qn as migrationRunnerFailure, Qt as SchemaTreeVisitor, R as KeepDataEdit, Rn as extractQueryOperationTypeImports, Rt as ResolvedNamespaceRenameStatement, S as CoreSchemaView, Sn as contractSnapshotJsonSpecifier, St as OpFactoryCall, T as DiffableNode, Tn as describeMigrationStatement, Tt as OperationPreviewCapable, U as MigrationDataLossKind, Un as hasOperationPreview, Ut as SchemaDiffIssue, V as MigrationAccessChange, Vn as fieldStatementText, Vt as RowsWithoutValue, W as MigrationMetadata, Wn as hasPslContractBuild, Wt as SchemaEntityCoordinate, X as MigrationPlanNamespaces, Xn as issueLabel, Xt as SchemaTreeNode, Y as MigrationPlan, Yn as isStorageHashHex, Yt as SchemaSubjectClassifierCapable, Z as MigrationPlanOperation, Zn as issueOutcome, Zt as SchemaTreeNodeOptions, _ as ControlFamilyDescriptor, _n as VerifyDatabaseSchemaResult, _t as MigrationTemporaryValue, a as CONTRACT_SNAPSHOTS_DIRNAME, an as SpaceSignature, ar as planOriginOf, at as MigrationRunner, b as ControlTargetDescriptor, bn as assertUniqueCodecOwner, bt as ModelCoordinate, c as ContractSpace, cn as TargetMigrationsCapability, cr as schemaIssuesWhy, ct as MigrationRunnerFailureMeta, d as ControlAdapterInstance, dn as VERIFY_CODE_SCHEMA_FAILURE, dr as withFailingSpace, dt as MigrationRunnerResult, en as SchemaVerifyOptions, er as migrationSubjectJson, et as MigrationPlanner, f as ControlDriverConnectOptions, fn as VERIFY_CODE_TARGET_MISMATCH, ft as MigrationRunnerSuccessValue, g as ControlExtensionInstance, gn as VerifyDatabaseResult, gt as MigrationSubjectJson, h as ControlExtensionDescriptor, hn as VerifierOutcome, ht as MigrationSubject, i as BlockingObject, in as SpaceMarkerConflict, ir as orderIssuesByDependencies, it as MigrationPlannerSuccessResult, j as FailedCheck, jn as enumValueStatementText, jt as PslSourceSettings, k as ExpectationFailureReason, kn as enumValueCoordinateFromJson, kt as PslContractDocument, l as ContractSpaceHeadRef, ln as VERIFY_CODE_HASH_MISMATCH, lr as storageHashHex, lt as MigrationRunnerPerSpaceOptions, m as ControlDriverInstance, mn as VerifierIssueCategory, mt as MigrationStatementJson, n as AppliedMigrationStatement, nn as SchemaViewCapable, nr as modelDisplayName, nt as MigrationPlannerFailureResult, o as CheckExpectation, on as SpaceSigned, or as sameMarkerHashes, ot as MigrationRunnerExecutionChecks, p as ControlDriverDescriptor, pn as VerificationStatus, pt as MigrationScaffoldContext, q as MigrationOperationSubject, qn as hasSchemaView, qt as SchemaNodeRef, r as AssembledAuthoringContributions, rn as SchemaViewNodeKind, rr as modelStatementText, rt as MigrationPlannerResult, s as ContractSerializer, sn as SpaceToSign, sr as schemaCheckWhy, st as MigrationRunnerFailure, t as APP_SPACE_ID, tn as SchemaVerifyResult, tr as migrationSubjectKey, tt as MigrationPlannerConflict, u as ControlAdapterDescriptor, un as VERIFY_CODE_MARKER_MISSING, ur as withDatabaseUnchanged, ut as MigrationRunnerPerSpaceSuccessValue, v as ControlFamilyInstance, vn as assembleAuthoringContributions, vt as MismatchCause, w as DiffSubjectGranularity, wn as createControlStack, wt as OperationPreview, x as ControlTargetInstance, xn as buildExtensionLoadOrder, xt as ModelCoordinateJson, y as ControlStack, yn as assembleControlMutationDefaults, yt as MismatchExplanation, z as MarkerHashes, zn as failedPostcheckWhy, zt as ResolvedRenameStatement } from "./control-CS1uqJj_.mjs";
|
|
5
5
|
export { APP_SPACE_ID, type AppliedMigrationStatement, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type BlockingObject, CONTRACT_SNAPSHOTS_DIRNAME, type CheckExpectation, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, 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 EnumValueCoordinate, type EnumValueCoordinateJson, type ExpectationFailureReason, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FieldCoordinate, type FieldCoordinateJson, type HelperCodecInvariantInput, type ImportRequirement, type IntrospectSchemaResult, type KeepDataEdit, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PlanOrigin, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, type PslSourceSettings, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type RowsHoldingValue, type RowsWithoutValue, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isRenameStatement, isStorageHashHex, issueLabel, issueOutcome, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, orderIssuesByDependencies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, timestampNowControlDescriptor, withDatabaseUnchanged, withFailingSpace };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as schemaIssuesWhy, A as failedPostcheckWhy, B as isStorageHashHex, C as expectAbsent, D as extractComponentIds, E as extractCodecTypeImports, F as hasPslContractBuild, G as migrationSubjectJson, H as issueOutcome, I as hasPslContractInfer, J as modelStatementText, K as migrationSubjectKey, L as hasSchemaSubjectClassifier, M as fieldStatementText, N as hasMigrations, O as extractParameterizedOutputTypeImports, P as hasOperationPreview, Q as schemaCheckWhy, R as hasSchemaView, S as enumValueStatementText, T as extractCodecLookup, U as migrationRunnerFailure, V as issueLabel, W as migrationStatementJson, X as planOriginOf, Y as orderIssuesByDependencies, Z as sameMarkerHashes, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as enumValueCoordinateFromJson, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, et as storageHashHex, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as failedPrecheckWhy, k as extractQueryOperationTypeImports, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, nt as withFailingSpace, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as modelDisplayName, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, tt as withDatabaseUnchanged, u as assembleControlMutationDefaults, v as dispositionForCategory, w as expectPresent, x as enumValueCoordinateJson, y as enforceHelperCodecInvariants, z as isRenameStatement } from "./control-
|
|
1
|
+
import { F as resolvePslBacktickEscapes, I as resolveTemplateTagEscapes, h as describeTaggedLiteralFailure, n as TAGGED_LITERAL_MAX_BYTES, z as timestampNowControlDescriptor } from "./temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs";
|
|
2
|
+
import { $ as schemaIssuesWhy, A as failedPostcheckWhy, B as isStorageHashHex, C as expectAbsent, D as extractComponentIds, E as extractCodecTypeImports, F as hasPslContractBuild, G as migrationSubjectJson, H as issueOutcome, I as hasPslContractInfer, J as modelStatementText, K as migrationSubjectKey, L as hasSchemaSubjectClassifier, M as fieldStatementText, N as hasMigrations, O as extractParameterizedOutputTypeImports, P as hasOperationPreview, Q as schemaCheckWhy, R as hasSchemaView, S as enumValueStatementText, T as extractCodecLookup, U as migrationRunnerFailure, V as issueLabel, W as migrationStatementJson, X as planOriginOf, Y as orderIssuesByDependencies, Z as sameMarkerHashes, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as enumValueCoordinateFromJson, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, et as storageHashHex, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as failedPrecheckWhy, k as extractQueryOperationTypeImports, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, nt as withFailingSpace, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as modelDisplayName, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, tt as withDatabaseUnchanged, u as assembleControlMutationDefaults, v as dispositionForCategory, w as expectPresent, x as enumValueCoordinateJson, y as enforceHelperCodecInvariants, z as isRenameStatement } from "./control-Dn1CMH6R.mjs";
|
|
3
3
|
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, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isRenameStatement, isStorageHashHex, issueLabel, issueOutcome, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, orderIssuesByDependencies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, timestampNowControlDescriptor, withDatabaseUnchanged, withFailingSpace };
|
|
@@ -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-BWR_z8XI.mjs";
|
|
2
2
|
export { type ExecutionStack, type ExecutionStackInstance, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeTargetDescriptor, type RuntimeTargetInstance, assertRuntimeContractRequirementsSatisfied, createExecutionStack, instantiateExecutionStack };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-
|
|
3
|
-
import "./psl-ast-
|
|
1
|
+
import { P as ContributedPslDiagnosticCode, at as PslExtensionBlock, ct as PslExtensionBlockParsedAttribute, dt as PslSpan, it as PslDiagnosticCode, lt as PslExtensionBlockPrintEntry, ot as PslExtensionBlockAttribute, st as PslExtensionBlockAttributeArg, tt as ParsedPslExtensionBlock, ut as PslPosition, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
|
|
2
|
+
import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-0oMzInxd-Nx9cHmcc.mjs";
|
|
3
|
+
import "./psl-ast-CFQfCJeM.mjs";
|
|
4
4
|
export { type AuthoringPslBlockDescriptorNamespace, BUILTIN_PSL_KIND_KEYS, type ContributedPslDiagnosticCode, type ParsedPslExtensionBlock, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, flatPslCompositeTypes, flatPslModels, makePslNamespace, makePslNamespaceEntries, namespacePslExtensionBlocks };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as Contract } from "./contract-types-DEIEpzU_-DvAVuBr5.mjs";
|
|
2
2
|
import { p as CodecLookupWithDescriptors } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
|
|
3
3
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import "./authoring-
|
|
4
|
+
import { J as GeneratorFunctionRegistry, L as ControlMutationDefaults, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
|
|
5
|
+
import "./authoring-C2UAuRfN.mjs";
|
|
6
6
|
import "./codec-CZ3VQq7G.mjs";
|
|
7
7
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
8
|
-
import "./components-
|
|
9
|
-
import { _ as ControlFamilyDescriptor, b as ControlTargetDescriptor, h as ControlExtensionDescriptor, m as ControlDriverInstance, p as ControlDriverDescriptor, r as AssembledAuthoringContributions, u as ControlAdapterDescriptor } from "./control-
|
|
8
|
+
import "./components-BenCVFk4.mjs";
|
|
9
|
+
import { _ as ControlFamilyDescriptor, b as ControlTargetDescriptor, h as ControlExtensionDescriptor, m as ControlDriverInstance, p as ControlDriverDescriptor, r as AssembledAuthoringContributions, u as ControlAdapterDescriptor } from "./control-CS1uqJj_.mjs";
|
|
10
10
|
//#region ../../../1-framework/1-core/config/dist/config-types.d.mts
|
|
11
11
|
//#region src/contract-source-types.d.ts
|
|
12
12
|
interface ContractSourceDiagnosticPosition {
|
|
@@ -205,4 +205,4 @@ declare function defineConfig<TFamilyId extends string = string, TTargetId exten
|
|
|
205
205
|
declare function defaultContractOutputPath(contractPath: string): string;
|
|
206
206
|
//#endregion
|
|
207
207
|
export { defaultContractOutputPath as _, ContractSourceDiagnosticSpan as a, ContractSourceProvider as c, FormatterConfig as d, PrismaNextConfig as f, TypeScriptContractSourceProvider as g, PslParserOptions as h, ContractSourceDiagnosticPosition as i, ContractSourceProviderBase as l, PslGrammar as m, ContractSourceContext as n, ContractSourceDiagnostics as o, PslContractSourceProvider as p, ContractSourceDiagnostic as r, ContractSourceFormat as s, ContractConfig as t, DEFAULT_CONTRACT_SOURCE_DIR as u, defineConfig as v, normalizeContractConfig as y };
|
|
208
|
-
//# sourceMappingURL=config-types-
|
|
208
|
+
//# sourceMappingURL=config-types-BJ79TZCl.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-types-
|
|
1
|
+
{"version":3,"file":"config-types-BJ79TZCl.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;UAOU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;WAEP;;;;;;WAMA,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;;WAEb,WAAW;WACX,yBAAyB;;WAEzB,oBAAoB;;;;;;;WAOpB;WACA,cAAc;WACd;;;;WAIA,iBAAiB,YAAY;WAC7B;aACE;aACA;;;;;;;;KAQR;UACK;;;;;;WAMC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;;KAGzE;;UAEK;;WAEC,UAAU;;UAEX,kCAAkC;WACjC;WACA,gBAAgB;;UAEjB,yCAAyC;WACxC;;KAEN,yBAAyB,4BAA4B;;;;;;UAMhD;;;;;WAKC,QAAQ;;;;;;;WAOR;;UAED;WACC;WACA;;;;;;;cAOG;iBACG,wBAAwB,UAAU,iBAAiB;WACzD;;;;;;;;;;UAUD,iBAAiB,mCAAmC,mCAAmC;WACtF,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,sBAAsB,2BAA2B,WAAW;;;;;;;WAO5D,SAAS,wBAAwB,WAAW,WAAW,sBAAsB,WAAW,YAAY;;;;;WAKpG;;;;;;aAME,aAAa;;;;;;WAMf,WAAW;;;;WAIX;;aAEE;;WAEF,YAAY;;;;;;;WAOZ;;;;;;;;;;;;;;;iBAeM,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW;;;;;;;;iBAQhK,0BAA0B"}
|
package/dist/config.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-
|
|
1
|
+
import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-BJ79TZCl.mjs";
|
|
2
2
|
export { type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type PrismaNextConfig, type PslContractSourceProvider, type PslGrammar, type PslParserOptions, type TypeScriptContractSourceProvider, defaultContractOutputPath, defineConfig, normalizeContractConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-
|
|
1
|
+
import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-BJ79TZCl.mjs";
|
|
2
2
|
export { type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type PrismaNextConfig, type PslContractSourceProvider, type PslGrammar, type PslParserOptions, type TypeScriptContractSourceProvider, defaultContractOutputPath, defineConfig, normalizeContractConfig };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as ContractToOneRelation, g as ContractModelBase, n as ApplicationDomain } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
|
|
2
2
|
import { o as ParameterizedOutputTypesFunction } from "./types-GNXJ7xW2.mjs";
|
|
3
3
|
import { p as CodecLookupWithDescriptors } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { m as EnumMemberProblem, u as EncodedEnumMember } from "./authoring-
|
|
4
|
+
import { O as AuthoringTypeNamespace, f as AuthoringEntityTypeNamespace, i as AuthoringArgumentDescriptor, l as AuthoringEntityContext, u as AuthoringEntityTypeDescriptor } from "./framework-authoring-ebqZ8M_M-DIDpVcUB.mjs";
|
|
5
|
+
import { m as EnumMemberProblem, u as EncodedEnumMember } from "./authoring-C2UAuRfN.mjs";
|
|
6
6
|
import { s as ColumnTypeDescriptor } from "./codec-CZ3VQq7G.mjs";
|
|
7
7
|
import { a as StructuredError } from "./structured-error-Cc7AIRsp.mjs";
|
|
8
8
|
//#region ../../../1-framework/2-authoring/contract/dist/index.d.mts
|
|
@@ -17,42 +17,15 @@ type DataTypeArgumentTypes = {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
type NoDataTypeArgumentTypes = Record<never, never>;
|
|
20
|
-
type
|
|
21
|
-
|
|
22
|
-
} ? K : never; }[keyof Properties];
|
|
23
|
-
type RequiredObjectArgumentKeys<Properties extends Record<string, AuthoringArgumentDescriptor>> = Exclude<keyof Properties, OptionalObjectArgumentKeys<Properties>>;
|
|
24
|
-
/**
|
|
25
|
-
* When every property is optional the result must be a plain weak type rather
|
|
26
|
-
* than `{} & { … }`: TypeScript's weak-type check rejects an object sharing
|
|
27
|
-
* none of the target's properties, but only when the target is weak — and an
|
|
28
|
-
* intersection with `{}` is not. The TS authoring surface runs no runtime
|
|
29
|
-
* argument validation, so this check is the only thing rejecting a foreign key
|
|
30
|
-
* such as `field.nanoid({ bogus: 1 })`.
|
|
31
|
-
*/
|
|
32
|
-
type ObjectArgumentType<Properties extends Record<string, AuthoringArgumentDescriptor>, ValueTypes extends DataTypeArgumentTypes = NoDataTypeArgumentTypes> = [RequiredObjectArgumentKeys<Properties>] extends [never] ? { readonly [K in OptionalObjectArgumentKeys<Properties>]?: ArgTypeFromDescriptor<Properties[K], ValueTypes>; } : { readonly [K in RequiredObjectArgumentKeys<Properties>]: ArgTypeFromDescriptor<Properties[K], ValueTypes>; } & { readonly [K in OptionalObjectArgumentKeys<Properties>]?: ArgTypeFromDescriptor<Properties[K], ValueTypes>; };
|
|
33
|
-
/** The TypeScript type of one argument. A `value` argument takes what `ValueTypes` declares for its data type, and nothing when no pack declares it. */
|
|
34
|
-
type ArgTypeFromDescriptor<Arg extends AuthoringArgumentDescriptor, ValueTypes extends DataTypeArgumentTypes = NoDataTypeArgumentTypes> = Arg extends {
|
|
35
|
-
readonly kind: 'value';
|
|
36
|
-
readonly dataType: infer DataType extends string;
|
|
37
|
-
} ? DataType extends keyof ValueTypes ? ValueTypes[DataType]['argument'] : never : Arg extends {
|
|
38
|
-
readonly kind: 'number';
|
|
39
|
-
} ? number : Arg extends {
|
|
40
|
-
readonly kind: 'option';
|
|
41
|
-
readonly values: infer Values extends readonly string[];
|
|
42
|
-
} ? Values[number] : Arg extends {
|
|
43
|
-
readonly kind: 'object';
|
|
44
|
-
readonly properties: infer Properties extends Record<string, AuthoringArgumentDescriptor>;
|
|
45
|
-
} ? ObjectArgumentType<Properties, ValueTypes> : never;
|
|
20
|
+
/** The TypeScript type of one argument: what `ValueTypes` declares for its data type, and nothing when no pack declares it. */
|
|
21
|
+
type ArgTypeFromDescriptor<Arg extends AuthoringArgumentDescriptor, ValueTypes extends DataTypeArgumentTypes = NoDataTypeArgumentTypes> = Arg['dataType'] extends keyof ValueTypes ? ValueTypes[Arg['dataType']]['argument'] : never;
|
|
46
22
|
/**
|
|
47
23
|
* Recursive rewrite (not a mapped tuple type) so a descriptor marked `optional: true` gets an optional tuple slot (`(Type | undefined)?`), letting callers omit it and every optional arg after it, or pass `undefined` to skip it and still give a later one. Required args must precede optional args in a descriptor's `args` list — TypeScript rejects an optional tuple element followed by a required one, and the runtime (`validateAuthoringHelperArguments`'s `minimumArgs`) already treats an optional-before-required arg as effectively required.
|
|
48
24
|
*/
|
|
49
25
|
type TupleFromArgumentDescriptors<Args extends readonly AuthoringArgumentDescriptor[], ValueTypes extends DataTypeArgumentTypes = NoDataTypeArgumentTypes> = Args extends readonly [infer Head extends AuthoringArgumentDescriptor, ...infer Tail extends readonly AuthoringArgumentDescriptor[]] ? Head extends {
|
|
50
26
|
readonly optional: true;
|
|
51
27
|
} ? readonly [(ArgTypeFromDescriptor<Head, ValueTypes> | undefined)?, ...TupleFromArgumentDescriptors<Tail, ValueTypes>] : readonly [ArgTypeFromDescriptor<Head, ValueTypes>, ...TupleFromArgumentDescriptors<Tail, ValueTypes>] : readonly [];
|
|
52
|
-
type CanonicalArgument<Arg extends AuthoringArgumentDescriptor, Param, ValueTypes extends DataTypeArgumentTypes> = Arg extends
|
|
53
|
-
readonly kind: 'value';
|
|
54
|
-
readonly dataType: infer DataType extends string;
|
|
55
|
-
} ? DataType extends keyof ValueTypes ? Param extends ValueTypes[DataType]['parameter'] | undefined ? Param : ValueTypes[DataType]['parameter'] | Extract<Param, undefined> : Param : Param;
|
|
28
|
+
type CanonicalArgument<Arg extends AuthoringArgumentDescriptor, Param, ValueTypes extends DataTypeArgumentTypes> = Arg['dataType'] extends keyof ValueTypes ? Param extends ValueTypes[Arg['dataType']]['parameter'] | undefined ? Param : ValueTypes[Arg['dataType']]['parameter'] | Extract<Param, undefined> : Param;
|
|
56
29
|
/**
|
|
57
30
|
* The arguments of a call as the constructor receives them: each `value` argument as the canonical value of its data type, kept literal when the written value already is one, so `VarChar(255)` still gives `255` and `` Raw(sql`circle`) `` gives a `string`.
|
|
58
31
|
*/
|
|
@@ -60,12 +33,7 @@ type CanonicalArguments<Args extends readonly AuthoringArgumentDescriptor[], Par
|
|
|
60
33
|
type ResolveTemplateValue<Template, Args extends readonly unknown[]> = Template extends {
|
|
61
34
|
readonly kind: 'arg';
|
|
62
35
|
readonly index: infer Index extends number;
|
|
63
|
-
|
|
64
|
-
readonly default?: infer Default;
|
|
65
|
-
} ? ResolveTemplateArgValue<Args[Index], Path, Default, Args> : Template extends readonly unknown[] ? { readonly [K in keyof Template]: ResolveTemplateValue<Template[K], Args>; } : Template extends Record<string, unknown> ? { readonly [K in keyof Template]: ResolveTemplateValue<Template[K], Args>; } : Template;
|
|
66
|
-
type ResolveTemplatePathValue<Value, Path extends readonly string[] | undefined> = Path extends readonly [infer Segment extends string, ...infer Rest extends readonly string[]] ? Segment extends keyof NonNullable<Value> ? ResolveTemplatePathValue<NonNullable<Value>[Segment], Rest> : never : Value;
|
|
67
|
-
type ResolveTemplateDefaultValue<Value, Default, Args extends readonly unknown[]> = Default extends undefined ? Value : [Value] extends [never] ? ResolveTemplateValue<Default, Args> : undefined extends Value ? Exclude<Value, undefined> | ResolveTemplateValue<Default, Args> : Value;
|
|
68
|
-
type ResolveTemplateArgValue<Value, Path extends readonly string[] | undefined, Default, Args extends readonly unknown[]> = ResolveTemplateDefaultValue<ResolveTemplatePathValue<Value, Path>, Default, Args>;
|
|
36
|
+
} ? Args[Index] : Template extends readonly unknown[] ? { readonly [K in keyof Template]: ResolveTemplateValue<Template[K], Args>; } : Template extends Record<string, unknown> ? { readonly [K in keyof Template]: ResolveTemplateValue<Template[K], Args>; } : Template;
|
|
69
37
|
//#endregion
|
|
70
38
|
//#region src/capability-registry.d.ts
|
|
71
39
|
type CapabilityMatrix = Readonly<Record<string, Readonly<Record<string, boolean>>>>;
|
|
@@ -86,7 +54,7 @@ declare function mergeCapabilityMatrices(...sources: ReadonlyArray<CapabilityMat
|
|
|
86
54
|
//#region src/composed-helpers-scaffolding.d.ts
|
|
87
55
|
/**
|
|
88
56
|
* Family-agnostic merge / instantiation scaffolding for pack-bag-driven
|
|
89
|
-
* authoring contributions. The per-namespace shape (`
|
|
57
|
+
* authoring contributions. The per-namespace shape (`type`,
|
|
90
58
|
* `entityTypes`) is parameterized by the discriminator key so each
|
|
91
59
|
* namespace can reuse the same extractor + cross-pack merger without
|
|
92
60
|
* re-deriving the template per family. Call sites flatten merged
|
|
@@ -102,15 +70,13 @@ declare function mergeCapabilityMatrices(...sources: ReadonlyArray<CapabilityMat
|
|
|
102
70
|
* package and imports from here.
|
|
103
71
|
*/
|
|
104
72
|
type UnionToIntersection<U> = (U extends unknown ? (value: U) => void : never) extends ((value: infer I) => void) ? I : never;
|
|
105
|
-
type AuthoringNamespaceKey = '
|
|
73
|
+
type AuthoringNamespaceKey = 'type' | 'entityTypes';
|
|
106
74
|
type ExtractAuthoringNamespaceFromPack<Pack, Key extends AuthoringNamespaceKey, EmptyNamespace> = Pack extends {
|
|
107
75
|
readonly authoring?: { readonly [P in Key]?: infer Namespace; };
|
|
108
76
|
} ? Namespace extends Record<string, unknown> ? Namespace : EmptyNamespace : EmptyNamespace;
|
|
109
77
|
type MergeExtensionAuthoringNamespaces<Extensions, Key extends AuthoringNamespaceKey, EmptyNamespace = Record<never, never>> = Extensions extends Record<string, unknown> ? keyof Extensions extends never ? EmptyNamespace : UnionToIntersection<{ [K in keyof Extensions]: ExtractAuthoringNamespaceFromPack<Extensions[K], Key, EmptyNamespace>; }[keyof Extensions]> : EmptyNamespace;
|
|
110
78
|
/**
|
|
111
|
-
* Entity-helper shape derivation. Mirrors `
|
|
112
|
-
* `TypeHelpersFromNamespace` in the SQL package: leaf descriptors become
|
|
113
|
-
* callable helpers; nested namespaces recurse.
|
|
79
|
+
* Entity-helper shape derivation. Mirrors `TypeHelpersFromNamespace` in the SQL package: leaf descriptors become callable helpers; nested namespaces recurse.
|
|
114
80
|
*/
|
|
115
81
|
type ExtractFactoryInputAndOutput<Descriptor extends AuthoringEntityTypeDescriptor> = Descriptor['output'] extends {
|
|
116
82
|
readonly factory: (input: infer Input, ctx: AuthoringEntityContext) => infer Output;
|
|
@@ -227,7 +193,7 @@ type CodecInput<CodecTypes extends CodecTypeMap, Codec extends {
|
|
|
227
193
|
*
|
|
228
194
|
* - The codec is an explicit required argument — the `codecId` is taken
|
|
229
195
|
* from the passed `ColumnTypeDescriptor` (e.g. `{ codecId: 'pg/text@1' }`
|
|
230
|
-
* from a
|
|
196
|
+
* from a column type constant or a direct inline object).
|
|
231
197
|
* - `const` generics on the members spread preserve the ordered literal
|
|
232
198
|
* value tuple so `Role.values` is `readonly ['user','admin']`, not
|
|
233
199
|
* `string[]`.
|
|
@@ -282,24 +248,23 @@ declare function enumMemberError(handle: Pick<EnumTypeHandle, 'enumName' | 'code
|
|
|
282
248
|
*/
|
|
283
249
|
declare function encodeEnumTypeMembers(handle: EnumTypeHandle, codecLookup: CodecLookupWithDescriptors, storedBy: string): readonly EncodedEnumMember[];
|
|
284
250
|
//#endregion
|
|
285
|
-
//#region src/
|
|
286
|
-
declare function assertSafeAuthoringHelperKey(key: string, path: readonly string[]): void;
|
|
251
|
+
//#region src/missing-property-reads.d.ts
|
|
287
252
|
/**
|
|
288
|
-
*
|
|
253
|
+
* `object`, where a read of one of `names` that `object` does not have returns what `read` returns for it, or throws what `read` throws. Every other read and every other operation behaves as on `object`, which is not changed.
|
|
289
254
|
*/
|
|
290
|
-
declare function
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
255
|
+
declare function answerMissingPropertyReads<T extends object>(object: T, names: ReadonlySet<string>, read: (name: string) => unknown): T;
|
|
256
|
+
//#endregion
|
|
257
|
+
//#region src/pack-authoring-namespaces.d.ts
|
|
258
|
+
declare function assertSafeAuthoringHelperKey(key: string, path: readonly string[]): void;
|
|
294
259
|
interface AuthoringNamespaceByKey {
|
|
295
260
|
readonly type: AuthoringTypeNamespace;
|
|
296
|
-
readonly field: AuthoringFieldNamespace;
|
|
297
261
|
readonly entityTypes: AuthoringEntityTypeNamespace;
|
|
298
262
|
}
|
|
299
263
|
/**
|
|
300
|
-
* Merges one authoring namespace (`type
|
|
264
|
+
* Merges one authoring namespace (`type` or `entityTypes`) across the family, target and extension packs, in order. A duplicate helper path across packs throws, and so does a pack that still contributes `authoring.field`.
|
|
301
265
|
*/
|
|
302
266
|
declare function composePackAuthoringNamespace<Key extends AuthoringNamespaceKey>(components: readonly {
|
|
267
|
+
readonly id?: string;
|
|
303
268
|
readonly authoring?: { readonly [K in AuthoringNamespaceKey]?: unknown; };
|
|
304
269
|
}[], key: Key): AuthoringNamespaceByKey[Key];
|
|
305
270
|
//#endregion
|
|
@@ -347,5 +312,5 @@ type LocalFieldNullabilityLookup = (input: {
|
|
|
347
312
|
*/
|
|
348
313
|
declare function withDerivedToOneRelationNullability<TDomain extends ApplicationDomain>(domain: TDomain, localFieldNullability: LocalFieldNullabilityLookup): TDomain;
|
|
349
314
|
//#endregion
|
|
350
|
-
export { type ArgTypeFromDescriptor, type AuthoringNamespaceKey, type BoundEnumType, type CanonicalArguments, type CapabilityMatrix, type CodecInput, type CodecTypeMap, type DataTypeArgumentTypes, ENUM_TYPE_HANDLE_BRAND, type EntityHelperFactoryOptions, type EntityHelperFunction, type EntityHelpersFromNamespace, type EnumMember, type EnumTypeHandle, type ExtractAuthoringNamespaceFromPack, type ExtractDataTypeArgumentTypesFromPack, type ExtractParameterizedOutputTypesFromPack, type ForeignKeyDefaultsState, type IndexDef, type LocalFieldNullabilityLookup, type MergeExtensionAuthoringNamespaces, type
|
|
315
|
+
export { type ArgTypeFromDescriptor, type AuthoringNamespaceKey, type BoundEnumType, type CanonicalArguments, type CapabilityMatrix, type CodecInput, type CodecTypeMap, type DataTypeArgumentTypes, ENUM_TYPE_HANDLE_BRAND, type EntityHelperFactoryOptions, type EntityHelperFunction, type EntityHelpersFromNamespace, type EnumMember, type EnumTypeHandle, type ExtractAuthoringNamespaceFromPack, type ExtractDataTypeArgumentTypesFromPack, type ExtractParameterizedOutputTypesFromPack, type ForeignKeyDefaultsState, type IndexDef, type LocalFieldNullabilityLookup, type MergeExtensionAuthoringNamespaces, type ResolveTemplateValue, type ToOneRelationNullability, type ToOneRelationNullabilityContradiction, type TupleFromArgumentDescriptors, type UnionToIntersection, answerMissingPropertyReads, assertSafeAuthoringHelperKey, bindEnumType, composePackAuthoringNamespace, createEntityHelpersFromNamespace, encodeEnumTypeMembers, enumMemberError, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };
|
|
351
316
|
//# sourceMappingURL=contract-authoring.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-authoring.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/contract/dist/index.d.mts"],"mappings":";;;;;;;;;;;;KAQK;YACO;aACC;aACA;;;KAGR,0BAA0B
|
|
1
|
+
{"version":3,"file":"contract-authoring.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/contract/dist/index.d.mts"],"mappings":";;;;;;;;;;;;KAQK;YACO;aACC;aACA;;;KAGR,0BAA0B;;KAE1B,sBAAsB,YAAY,6BAA6B,mBAAmB,wBAAwB,2BAA2B,8BAA8B,aAAa,WAAW;;;;KAI3L,6BAA6B,sBAAsB,+BAA+B,mBAAmB,wBAAwB,2BAA2B,6BAA6B,aAAa,sCAAsC,sBAAsB,iCAAiC;WACzR;eACI,sBAAsB,MAAM,8BAA8B,6BAA6B,MAAM,yBAAyB,sBAAsB,MAAM,gBAAgB,6BAA6B,MAAM;KAC/M,kBAAkB,YAAY,6BAA6B,OAAO,mBAAmB,yBAAyB,8BAA8B,aAAa,cAAc,WAAW,4CAA4C,QAAQ,WAAW,gCAAgC,QAAQ,oBAAoB;;;;KAI7S,mBAAmB,sBAAsB,+BAA+B,mCAAmC,mBAAmB,wBAAwB,uCAAuC,eAAe,SAAS,uBAAuB,4BAA4B,KAAK,yBAAyB,YAAY,+BAA+B,kBAAkB,KAAK,OAAO,QAAQ,cAAc,OAAO,SAAS,OAAO;KAC5Z,qBAAqB,UAAU,mCAAmC;WAC5D;WACA,aAAa;IACpB,KAAK,SAAS,kDAAkD,WAAW,WAAW,qBAAqB,SAAS,IAAI,WAAW,iBAAiB,sCAAsC,WAAW,WAAW,qBAAqB,SAAS,IAAI,WAAW;;;KAG5P,mBAAmB,SAAS,eAAe,SAAS;;;;;;;;;;;;;iBAaxC,2BAA2B,SAAS,cAAc,gCAAgC,eAAe;;;;;;;;;;;;;;;;;;;;KAoB7G,oBAAoB,MAAM,qBAAqB,OAAO,8BAA8B,aAAa,cAAc;KAC/G;KACA,kCAAkC,MAAM,YAAY,uBAAuB,kBAAkB;WACvF,wBAAwB,KAAK,aAAa;IACjD,kBAAkB,0BAA0B,YAAY,iBAAiB;KACxE,kCAAkC,YAAY,YAAY,uBAAuB,iBAAiB,wBAAwB,mBAAmB,gCAAgC,2BAA2B,iBAAiB,uBAAuB,WAAW,aAAa,kCAAkC,WAAW,IAAI,KAAK,yBAAyB,eAAe;;;;KAItW,6BAA6B,mBAAmB,iCAAiC;WAC3E,UAAU,aAAa,OAAO,KAAK,iCAAiC;;EAE7E,OAAO;EACP,QAAQ;;EAER;EACA;;KAEG,qBAAqB,mBAAmB,iCAAiC,6BAA6B;EACzG,aAAa;EACb,cAAc;KACX,OAAO,UAAU;KACjB,2BAA2B,yBAAyB,WAAW,YAAY,UAAU,WAAW,gCAAgC,qBAAqB,UAAU,MAAM,UAAU,WAAW,0BAA0B,2BAA2B,UAAU;UACpP;WACC,KAAK;;;;;;;;iBAQC,iCAAiC,WAAW,8BAA8B,SAAS,4BAA4B,2BAA2B;;;UAGjJ;WACC;WACA;WACA;WACA,UAAU;;UAEX;WACC;WACA;;;;;;;;;;UAUD,WAAW,qBAAqB;WAC/B,MAAM;WACN,OAAO;;;;;;;;;iBASD,aAAa,qBAAqB,MAAM,OAAO,WAAW,MAAM;iBAChE,aAAa,2BAA2B,OAAO,MAAM,MAAM,OAAO,QAAQ,WAAW,MAAM;KACvG,gBAAgB,yBAAyB,6CAA6C,WAAW,UAAU,QAAQ,WAAW,yBAAyB,KAAK;KAC5J,eAAe,yBAAyB,6CAA6C,WAAW,UAAU,QAAQ,WAAW,iBAAiB,cAAc;KAC5J,mBAAmB,yBAAyB,6CAA6C,KAAK,mBAAmB,YAAY;cACpH;;UAEJ,eAAe,8BAA8B,wDAAwD,qDAAqD,mBAAmB,0BAA0B,yBAAyB;;YAE9N;;WAED,UAAU;;WAEV,SAAS;;WAET;aACE;aACA,OAAO;;;WAGT,QAAQ;;WAER,OAAO;;;;;WAKP,SAAS;;EAElB,IAAI,GAAG;;EAEP,OAAO,GAAG;;EAEV,UAAU,GAAG;;;;;;;;KAQV,eAAe;WACT;;;;;;;;KAQN,WAAW,mBAAmB,cAAc;WACtC;KACN,+BAA+B,aAAa,WAAW;WACjD,aAAa;IACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6Ba,SAAS,mBAAmB,eAAe,6BAA6B,oCAAoC,cAAc,KAAK,mCAAmC,KAAK,wCAAwC,0BAA0B,mBAAmB,WAAW,YAAY,YAAY,mBAAmB,WAAW,YAAY,uBAAuB,mBAAmB,WAAW,YAAY,UAAU,MAAM,MAAM,OAAO,UAAU,SAAS,UAAU,eAAe,MAAM,oBAAoB,WAAW,mBAAmB,WAAW,uBAAuB,WAAW;iBACxjB,SAAS,cAAc,OAAO,KAAK,qCAAqC,SAAS,gCAAgC;;;;;;;;KAQ7H,cAAc,mBAAmB,uBAAuB,2BAA2B,cAAc,KAAK,wCAAwC,0BAA0B,mBAAmB,WAAW,YAAY,YAAY,mBAAmB,WAAW,YAAY,YAAY,MAAM,MAAM,OAAO,UAAU,SAAS,YAAY,eAAe,MAAM,oBAAoB,WAAW,mBAAmB,WAAW,uBAAuB,WAAW;;;;;;;iBAO9a,aAAa,mBAAmB,iBAAiB,cAAc;;;;;;iBAM/D,iBAAiB,iBAAiB,SAAS;;;;iBAI3C,gBAAgB,QAAQ,KAAK,yCAAyC,SAAS,mBAAmB,mBAAmB;;;;iBAIrH,sBAAsB,QAAQ,gBAAgB,aAAa,4BAA4B,4BAA4B;;;;;;iBAMnH,2BAA2B,kBAAkB,QAAQ,GAAG,OAAO,qBAAqB,OAAO,2BAA2B;;;iBAGtH,6BAA6B,aAAa;UACjD;WACC,MAAM;WACN,aAAa;;;;;iBAKP,8BAA8B,YAAY,uBAAuB;WACvE;WACA,wBAAwB,KAAK;KACnC,KAAK,MAAM,wBAAwB;;;;KAInC,wCAAwC,QAAQ;WAC1C,mCAAmC;IAC1C,QAAQ,wCAAwC,gBAAgB,oCAAoC;;KAEnG,qCAAqC,QAAQ;WACvC,4BAA4B;IACnC,QAAQ,oCAAoC,gBAAgB,yBAAyB,UAAU,uBAAuB;;;KAGrH;KACA;WACM;WACA,eAAe;;;;;;;;;iBAST,6BAA6B;WACnC;WACA;WACA;IACP;KACC,+BAA+B;WACzB;WACA;WACA,OAAO;WACP,UAAU;;WAEV;WACA;;;;;;;iBAOM,oCAAoC,gBAAgB,mBAAmB,QAAQ,SAAS,uBAAuB,8BAA8B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
2
|
import { o as structuredError } from "./structured-error-BXbihKQ-.mjs";
|
|
3
3
|
import { t as assertDefined } from "./assertions-Dw1lZz_Q.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { f as errorEnumCodecNotInPackStack } from "./control-MllEQmML-
|
|
6
|
-
import { p as encodeEnumMembers } from "./authoring-
|
|
4
|
+
import { A as mergeAuthoringNamespaces, o as assertNoAuthoringFieldNamespace, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, v as instantiateAuthoringEntityType } from "./temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs";
|
|
5
|
+
import { f as errorEnumCodecNotInPackStack } from "./control-MllEQmML-BdhmgQVr.mjs";
|
|
6
|
+
import { p as encodeEnumMembers } from "./authoring-CuGQP7_1.mjs";
|
|
7
7
|
//#region ../../../1-framework/2-authoring/contract/dist/index.mjs
|
|
8
8
|
/**
|
|
9
9
|
* Deep-merges any number of capability matrices into a single matrix.
|
|
@@ -187,6 +187,15 @@ function encodeEnumTypeMembers(handle, codecLookup, storedBy) {
|
|
|
187
187
|
assertDefined(problem, "encodeEnumMembers fails with at least one problem");
|
|
188
188
|
throw enumMemberError(handle, problem, storedBy);
|
|
189
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* `object`, where a read of one of `names` that `object` does not have returns what `read` returns for it, or throws what `read` throws. Every other read and every other operation behaves as on `object`, which is not changed.
|
|
192
|
+
*/
|
|
193
|
+
function answerMissingPropertyReads(object, names, read) {
|
|
194
|
+
return new Proxy(object, { get(target, key, receiver) {
|
|
195
|
+
if (typeof key === "string" && names.has(key) && !(key in target)) return read(key);
|
|
196
|
+
return Reflect.get(target, key, receiver);
|
|
197
|
+
} });
|
|
198
|
+
}
|
|
190
199
|
const blockedSegments = /* @__PURE__ */ new Set([
|
|
191
200
|
"__proto__",
|
|
192
201
|
"constructor",
|
|
@@ -198,25 +207,6 @@ function assertSafeAuthoringHelperKey(key, path) {
|
|
|
198
207
|
segment: key
|
|
199
208
|
} });
|
|
200
209
|
}
|
|
201
|
-
/**
|
|
202
|
-
* Walks a field-preset namespace and produces the callable surface mirroring its tree shape. Each leaf descriptor becomes the helper `createLeafHelper` returns; nested namespaces recurse.
|
|
203
|
-
*/
|
|
204
|
-
function createFieldHelpersFromNamespace(namespace, createLeafHelper, path = []) {
|
|
205
|
-
const helpers = {};
|
|
206
|
-
for (const [key, value] of Object.entries(namespace)) {
|
|
207
|
-
assertSafeAuthoringHelperKey(key, path);
|
|
208
|
-
const currentPath = [...path, key];
|
|
209
|
-
if (isAuthoringFieldPresetDescriptor(value)) {
|
|
210
|
-
helpers[key] = createLeafHelper({
|
|
211
|
-
helperPath: currentPath.join("."),
|
|
212
|
-
descriptor: value
|
|
213
|
-
});
|
|
214
|
-
continue;
|
|
215
|
-
}
|
|
216
|
-
helpers[key] = createFieldHelpersFromNamespace(value, createLeafHelper, currentPath);
|
|
217
|
-
}
|
|
218
|
-
return helpers;
|
|
219
|
-
}
|
|
220
210
|
function isNonEmptyRecord(value) {
|
|
221
211
|
return typeof value === "object" && value !== null && Object.keys(value).length > 0;
|
|
222
212
|
}
|
|
@@ -225,22 +215,19 @@ const descriptorKindByNamespace = {
|
|
|
225
215
|
descriptorKind: AUTHORING_TYPE_DESCRIPTOR_KINDS,
|
|
226
216
|
label: "type"
|
|
227
217
|
},
|
|
228
|
-
field: {
|
|
229
|
-
descriptorKind: "fieldPreset",
|
|
230
|
-
label: "field"
|
|
231
|
-
},
|
|
232
218
|
entityTypes: {
|
|
233
219
|
descriptorKind: "entity",
|
|
234
220
|
label: "entity"
|
|
235
221
|
}
|
|
236
222
|
};
|
|
237
223
|
/**
|
|
238
|
-
* Merges one authoring namespace (`type
|
|
224
|
+
* Merges one authoring namespace (`type` or `entityTypes`) across the family, target and extension packs, in order. A duplicate helper path across packs throws, and so does a pack that still contributes `authoring.field`.
|
|
239
225
|
*/
|
|
240
226
|
function composePackAuthoringNamespace(components, key) {
|
|
241
227
|
const { descriptorKind, label } = descriptorKindByNamespace[key];
|
|
242
228
|
const merged = {};
|
|
243
229
|
for (const component of components) {
|
|
230
|
+
assertNoAuthoringFieldNamespace(component.id ?? "<unknown>", component.authoring);
|
|
244
231
|
const namespace = component.authoring?.[key];
|
|
245
232
|
if (isNonEmptyRecord(namespace)) mergeAuthoringNamespaces(merged, namespace, [], descriptorKind, label);
|
|
246
233
|
}
|
|
@@ -310,6 +297,6 @@ function withDerivedModel(namespaceId, modelName, model, localFieldNullability)
|
|
|
310
297
|
};
|
|
311
298
|
}
|
|
312
299
|
//#endregion
|
|
313
|
-
export { ENUM_TYPE_HANDLE_BRAND, assertSafeAuthoringHelperKey, bindEnumType, composePackAuthoringNamespace, createEntityHelpersFromNamespace,
|
|
300
|
+
export { ENUM_TYPE_HANDLE_BRAND, answerMissingPropertyReads, assertSafeAuthoringHelperKey, bindEnumType, composePackAuthoringNamespace, createEntityHelpersFromNamespace, encodeEnumTypeMembers, enumMemberError, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };
|
|
314
301
|
|
|
315
302
|
//# sourceMappingURL=contract-authoring.mjs.map
|