@prisma/orm-framework 8.0.0-rc.19 → 8.0.0-rc.19-dev.3
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-BxyfEUyh.mjs → authoring-BMkyimEq.mjs} +3 -3
- package/dist/authoring-BMkyimEq.mjs.map +1 -0
- package/dist/{authoring-DWhPMprN.d.mts → authoring-CUZxY2RV.d.mts} +4 -4
- package/dist/{authoring-DWhPMprN.d.mts.map → authoring-CUZxY2RV.d.mts.map} +1 -1
- package/dist/{binder-63ozT0D8-D7n-9Uv4.d.mts → binder-D_4RBHbt-HJoM87MJ.d.mts} +16 -15
- package/dist/binder-D_4RBHbt-HJoM87MJ.d.mts.map +1 -0
- package/dist/{codec-DkiEF2cQ.d.mts → codec-B_KV-HpC.d.mts} +2 -3
- package/dist/codec-B_KV-HpC.d.mts.map +1 -0
- package/dist/{codec-types-DjozIOvT-BIcpyFea.d.mts → codec-types-CPgEZoIq-BL9hisr8.d.mts} +3 -3
- package/dist/{codec-types-DjozIOvT-BIcpyFea.d.mts.map → codec-types-CPgEZoIq-BL9hisr8.d.mts.map} +1 -1
- package/dist/{components-B3SnaxMU.d.mts → components-CJ5VhJT8.d.mts} +5 -4
- package/dist/components-CJ5VhJT8.d.mts.map +1 -0
- package/dist/components.d.mts +16 -17
- package/dist/components.mjs +4 -4
- package/dist/components__authoring.d.mts +4 -4
- package/dist/components__authoring.mjs +3 -3
- package/dist/components__codec.d.mts +2 -2
- package/dist/components__components.d.mts +4 -4
- package/dist/components__control.d.mts +4 -4
- package/dist/components__control.mjs +3 -3
- package/dist/components__emission.d.mts +3 -3
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/components__runtime.d.mts +1 -1
- package/dist/{config-types-Bs7GpaPJ.d.mts → config-types-B7pDUyu2.d.mts} +7 -9
- package/dist/config-types-B7pDUyu2.d.mts.map +1 -0
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +4 -4
- package/dist/contract-authoring.mjs +4 -4
- package/dist/contract-authoring.mjs.map +1 -1
- package/dist/{control-B5ezUWD2-DTWXJUHt.d.mts → control-B5ezUWD2-CWp9npSb.d.mts} +2 -2
- package/dist/{control-B5ezUWD2-DTWXJUHt.d.mts.map → control-B5ezUWD2-CWp9npSb.d.mts.map} +1 -1
- package/dist/{control-DnNh47Wd.d.mts → control-BC7a9D7N.d.mts} +219 -186
- package/dist/control-BC7a9D7N.d.mts.map +1 -0
- package/dist/control-BLmwnbM0.d.mts +1 -0
- package/dist/{control-xg2R0dXx.mjs → control-Bq9kKKJS.mjs} +57 -8
- package/dist/control-Bq9kKKJS.mjs.map +1 -0
- package/dist/{control-KsXr4fYD-DLPY47Il.mjs → control-KsXr4fYD-O9tIteNn.mjs} +2 -2
- package/dist/{control-KsXr4fYD-DLPY47Il.mjs.map → control-KsXr4fYD-O9tIteNn.mjs.map} +1 -1
- package/dist/{declarations-BgUAq1RG-CEN8W7dJ.mjs → declarations-BgUAq1RG-BOxzxoTR.mjs} +2 -2
- package/dist/{declarations-BgUAq1RG-CEN8W7dJ.mjs.map → declarations-BgUAq1RG-BOxzxoTR.mjs.map} +1 -1
- package/dist/emission-BtJvV97M.d.mts +2 -0
- package/dist/{emission-types-sz0-pyyS-D3-ssRUu.d.mts → emission-types-B-jKEbjI-D7BW8Gk1.d.mts} +4 -4
- package/dist/{emission-types-sz0-pyyS-D3-ssRUu.d.mts.map → emission-types-B-jKEbjI-D7BW8Gk1.d.mts.map} +1 -1
- package/dist/errors.d.mts +5 -5
- package/dist/errors.mjs +4 -4
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__control.mjs +1 -1
- package/dist/errors__execution.d.mts +2 -2
- package/dist/errors__execution.mjs +2 -2
- package/dist/errors__migration.d.mts +1 -1
- package/dist/errors__migration.mjs +1 -1
- package/dist/{execution-CktUHYP0.d.mts → execution-0Irooze3.d.mts} +2 -2
- package/dist/{execution-CktUHYP0.d.mts.map → execution-0Irooze3.d.mts.map} +1 -1
- package/dist/{execution-yrBEIzBV.d.mts → execution-CL5odLfv.d.mts} +3 -13
- package/dist/execution-CL5odLfv.d.mts.map +1 -0
- package/dist/{execution-BbpdDFYd.mjs → execution-D5ISN2Rt.mjs} +3 -25
- package/dist/{execution-BbpdDFYd.mjs.map → execution-D5ISN2Rt.mjs.map} +1 -1
- package/dist/{expressions-CMQzbnHk-D2oE4DzM.mjs → expressions-CMQzbnHk-CrNw_vqf.mjs} +2 -2
- package/dist/{expressions-CMQzbnHk-D2oE4DzM.mjs.map → expressions-CMQzbnHk-CrNw_vqf.mjs.map} +1 -1
- package/dist/{framework-authoring-Du7xSUmg-D85Toszi.d.mts → framework-authoring-C78etPdT-CeiBIBJ-.d.mts} +227 -10
- package/dist/framework-authoring-C78etPdT-CeiBIBJ-.d.mts.map +1 -0
- package/dist/{framework-components-DQFte83L-CIIcH8Bj.d.mts → framework-components-BmRQfvNS-KSEiBXXc.d.mts} +6 -103
- package/dist/framework-components-BmRQfvNS-KSEiBXXc.d.mts.map +1 -0
- package/dist/ids.d.mts +1 -1
- package/dist/{migration-DH3rxAoO.d.mts → migration-Db3N-7JB.d.mts} +2 -2
- package/dist/{migration-DH3rxAoO.d.mts.map → migration-Db3N-7JB.d.mts.map} +1 -1
- package/dist/{migration-BHhDtq__.mjs → migration-DkzPlgX1.mjs} +2 -2
- package/dist/{migration-BHhDtq__.mjs.map → migration-DkzPlgX1.mjs.map} +1 -1
- package/dist/{parse-bZgfjovA-D0MdY-kP.mjs → parse-bZgfjovA-sINnImkq.mjs} +3 -3
- package/dist/{parse-bZgfjovA-D0MdY-kP.mjs.map → parse-bZgfjovA-sINnImkq.mjs.map} +1 -1
- package/dist/{parse-djL5wker-BQzi1u4O.d.mts → parse-djL5wker-D6uXzzA7.d.mts} +6 -6
- package/dist/{parse-djL5wker-BQzi1u4O.d.mts.map → parse-djL5wker-D6uXzzA7.d.mts.map} +1 -1
- package/dist/{psl-ast-B6X_rlhZ-DCrq7Zie.d.mts → psl-ast-54cA0pl_-DrzGrcMF.d.mts} +3 -4
- package/dist/psl-ast-54cA0pl_-DrzGrcMF.d.mts.map +1 -0
- package/dist/psl-ast-BubQebay.d.mts +2 -0
- package/dist/psl-parser.d.mts +111 -16
- package/dist/psl-parser.d.mts.map +1 -1
- package/dist/psl-parser.mjs +278 -32
- 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 +6 -6
- package/dist/psl-parser__interpret.mjs +2 -24
- 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/{runtime-BXPhK_oW.d.mts → runtime-8WddX9H_.d.mts} +2 -2
- package/dist/{runtime-BXPhK_oW.d.mts.map → runtime-8WddX9H_.d.mts.map} +1 -1
- package/dist/{temporal-presets-DF8wiIwk-CZI3cLQZ.mjs → temporal-presets-CIFczljn-BrjropV6.mjs} +123 -27
- package/dist/temporal-presets-CIFczljn-BrjropV6.mjs.map +1 -0
- package/dist/{temporal-presets-9VgC1-FN-MoyINRBU.d.mts → temporal-presets-suGfXweJ-Cv2uijGj.d.mts} +36 -6
- package/dist/temporal-presets-suGfXweJ-Cv2uijGj.d.mts.map +1 -0
- package/dist/{read-expression-as-Dhyvx51C-BbNqJHAR.mjs → type-constructor-calls-BLf-HsFy-Z9ApP-kL.mjs} +28 -6
- package/dist/type-constructor-calls-BLf-HsFy-Z9ApP-kL.mjs.map +1 -0
- package/dist/{types-import-spec-hkPsnreE-C-fa8812.d.mts → types-import-spec-DQjfX-gM-zVncuzs0.d.mts} +3 -3
- package/dist/{types-import-spec-hkPsnreE-C-fa8812.d.mts.map → types-import-spec-DQjfX-gM-zVncuzs0.d.mts.map} +1 -1
- package/package.json +15 -15
- package/dist/authoring-BxyfEUyh.mjs.map +0 -1
- package/dist/binder-63ozT0D8-D7n-9Uv4.d.mts.map +0 -1
- package/dist/codec-DkiEF2cQ.d.mts.map +0 -1
- package/dist/components-B3SnaxMU.d.mts.map +0 -1
- package/dist/config-types-Bs7GpaPJ.d.mts.map +0 -1
- package/dist/control-Dhq4un61.d.mts +0 -1
- package/dist/control-DnNh47Wd.d.mts.map +0 -1
- package/dist/control-xg2R0dXx.mjs.map +0 -1
- package/dist/emission-XBYOUuHN.d.mts +0 -2
- package/dist/execution-yrBEIzBV.d.mts.map +0 -1
- package/dist/framework-authoring-Du7xSUmg-D85Toszi.d.mts.map +0 -1
- package/dist/framework-components-DQFte83L-CIIcH8Bj.d.mts.map +0 -1
- package/dist/mutation-default-types-js6llINX-WGmpaAAL.d.mts +0 -66
- package/dist/mutation-default-types-js6llINX-WGmpaAAL.d.mts.map +0 -1
- package/dist/psl-ast-B6X_rlhZ-DCrq7Zie.d.mts.map +0 -1
- package/dist/psl-ast-DlmFfwfZ.d.mts +0 -2
- package/dist/read-expression-as-Dhyvx51C-BbNqJHAR.mjs.map +0 -1
- package/dist/temporal-presets-9VgC1-FN-MoyINRBU.d.mts.map +0 -1
- package/dist/temporal-presets-DF8wiIwk-CZI3cLQZ.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 isAuthoringTypeAliasDescriptor, B as resolveTemplateTagEscapes, C as instantiateAuthoringTypeConstructorFromValues, D as isAuthoringModelAttributeDescriptor, E as isAuthoringFieldPresetDescriptor, F as printTaggedLiteral, G as temporalPhaseTemplateWithParams, H as temporalAuthoringPresets, I as printedTaggedLiteralReadsBack, J as tsTaggedTemplateSource, K as temporalTypeAliases, L as resolveAuthoringTemplateValue, M as isAuthoringTypeDescriptor, O as isAuthoringPslBlockDescriptor, P as mergeAuthoringNamespaces, R as resolveEnumCodecId, S as instantiateAuthoringTypeConstructor, T as isAuthoringEntityTypeDescriptor, U as temporalCodecPreset, V as resolveTypeAliasGenerators, W as temporalPhaseTemplate, X as validateAuthoringTypeParams, Y as validateAuthoringHelperArguments, _ as flushAuthoringWarnings, a as TIMESTAMP_NOW_GENERATOR_ID, b as instantiateAuthoringFieldPreset, c as assertNoCrossRegistryCollisions, d as canonicalizeTaggedLiteralBody, f as classifyEnumMemberType, g as describeTaggedLiteralFailure, i as TEMPORAL_ON_UPDATE_ARG, j as isAuthoringTypeConstructorDescriptor, k as isAuthoringSelectRef, l as assertResolvableTypeConstructorTemplates, m as collectScalarTypeConstructors, n as TAGGED_LITERAL_MAX_BYTES, o as assembleAuthoringDataTypes, q as timestampNowControlDescriptor, r as TEMPORAL_ON_CREATE_ARG, s as assembleDataTypeSupport, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeAliasesValid, v as getAuthoringTypeConstructor, w as isAuthoringArgRef, x as instantiateAuthoringTypeAlias, y as instantiateAuthoringEntityType, z as resolvePslBacktickEscapes } from "./temporal-presets-CIFczljn-BrjropV6.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 { A as
|
|
10
|
+
import { $ as withFailingSpace, A as hasMigrations, B as migrationRunnerFailure, C as extractCodecTypeImports, D as failedPostcheckWhy, E as extractQueryOperationTypeImports, F as hasSchemaView, G as modelStatementText, H as migrationSubjectJson, I as isRenameStatement, J as sameMarkerHashes, K as orderIssuesByDependencies, L as isStorageHashHex, M as hasPslContractBuild, N as hasPslContractInfer, O as failedPrecheckWhy, P as hasSchemaSubjectClassifier, Q as withDatabaseUnchanged, R as issueLabel, S as extractCodecLookup, T as extractParameterizedOutputTypeImports, U as migrationSubjectKey, V as migrationStatementJson, W as modelDisplayName, X as schemaIssuesWhy, Y as schemaCheckWhy, Z as storageHashHex, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as expectAbsent, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as hasOperationPreview, k as fieldStatementText, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as planOriginOf, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as dispositionForCategory, w as extractComponentIds, x as expectPresent, y as enforceHelperCodecInvariants, z as issueOutcome } from "./control-Bq9kKKJS.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 readContractValue, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-V2-N5Qmm-BR-5owl6.mjs";
|
|
13
|
-
import { C as tagForm, S as readWrittenValueAs, _ as findAuthoringTypeConstructorCall, a as castTypedValue, b as readEnumBlockMembers, c as describeRefusal, d as encodeEnumMembers, f as entryForPlain, g as fieldPresetSpellings, h as exactRewrite, i as authoringTypeConstructors, l as describeRefusedValueType, m as enumMemberProblemDiagnostic, n as admittedTags, o as describeAdmittedForms, p as entryForTag, r as authoringTypeConstructorArguments, s as describeExpected, t as admittedForms, u as duplicateStoredMembers, v as getAuthoringFieldPreset, x as readWrittenValue, y as knownTags } from "./authoring-
|
|
13
|
+
import { C as tagForm, S as readWrittenValueAs, _ as findAuthoringTypeConstructorCall, a as castTypedValue, b as readEnumBlockMembers, c as describeRefusal, d as encodeEnumMembers, f as entryForPlain, g as fieldPresetSpellings, h as exactRewrite, i as authoringTypeConstructors, l as describeRefusedValueType, m as enumMemberProblemDiagnostic, n as admittedTags, o as describeAdmittedForms, p as entryForTag, r as authoringTypeConstructorArguments, s as describeExpected, t as admittedForms, u as duplicateStoredMembers, v as getAuthoringFieldPreset, x as readWrittenValue, y as knownTags } from "./authoring-BMkyimEq.mjs";
|
|
14
14
|
import { a as floatNumberLiteral, i as decimalTextNumberLiteral, n as decimalTextBigintLiteral, o as renderTsLiteral, r as decimalTextEqualityKey, t as column } from "./codec-DGRG8oEH.mjs";
|
|
15
15
|
import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
|
|
16
16
|
import { n as settleAggregateOverloads, t as createGeneratorHelpers } from "./components-C83PWIWw.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-BNwBzmRd.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-DSYSc98Y.mjs";
|
|
21
|
-
export { APP_SPACE_ID, 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, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, 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, applyMutationDefaults, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, exactRewrite, executeStatement, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPrecheckWhy, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, objectSchemaKeys, orderIssuesByDependencies, planOriginOf, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, refuseJsonValue, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams, withFailingSpace };
|
|
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, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, 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, applyMutationDefaults, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, objectSchemaKeys, orderIssuesByDependencies, planOriginOf, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, refuseJsonValue, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams, withDatabaseUnchanged, withFailingSpace };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import {
|
|
3
|
-
import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-
|
|
4
|
-
export { type AssembledDataTypeSupport, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringValueArgument, type AuthoringWarning, type AuthoringWarningSink, type CastRefusal, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeSupport, type DataTypeWrittenForm, type DecodedEnum, type DuplicateStoredValue, type EncodedEnumMember, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type ParsedPslExtensionBlock, type PresetStorageTemplate, type PslExtensionBlock, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, type ReadRefusal, type RefusalDescription, type RefusalGuidance, type ScalarTypeConstructorOutput, type StoredEnumMember, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
|
|
1
|
+
import { $t as isAuthoringEntityTypeDescriptor, A as AuthoringTypeAliasDescriptor, At as admittedTags, B as CastRefusal, Bt as describeRefusal, C as AuthoringModelAttributeLoweringOutput, D as AuthoringSelectRef, Dt as WrittenScalar, E as AuthoringPslBlockDescriptorNamespace, Et as WrittenForm, F as AuthoringTypeParamsIssue, Ft as castTypedValue, G as DataTypeAuthoringEntry, Gt as flushAuthoringWarnings, Ht as entryForPlain, I as AuthoringValueArgument, It as classifyEnumMemberType, Jt as instantiateAuthoringFieldPreset, K as DataTypeSupport, Kt as getAuthoringTypeConstructor, L as AuthoringWarning, Lt as collectScalarTypeConstructors, M as AuthoringTypeConstructorDescriptor, Mt as assertNoCrossRegistryCollisions, N as AuthoringTypeConstructorEntityRef, Nt as assertResolvableTypeConstructorTemplates, O as AuthoringStorageTypeTemplate, Ot as WrittenValue, P as AuthoringTypeNamespace, Pt as assertTypeAliasesValid, Qt as isAuthoringArgRef, R as AuthoringWarningSink, Rt as describeAdmittedForms, S as AuthoringModelAttributeIndexOutput, St as ScalarTypeConstructorOutput, T as AuthoringPslBlockDescriptor, Ut as entryForTag, Vt as describeRefusedValueType, Wt as exactRewrite, Xt as instantiateAuthoringTypeConstructor, Yt as instantiateAuthoringTypeAlias, Zt as instantiateAuthoringTypeConstructorFromValues, _ as AuthoringFieldPresetOutput, _n as validateAuthoringTypeParams, a as AuthoringAttributeSpecContributions, an as isAuthoringTypeConstructorDescriptor, b as AuthoringModelAttributeDescriptorNamespace, bt as RefusalDescription, c as AuthoringDescriptorKinds, cn as mergeAuthoringNamespaces, ct as ParsedPslExtensionBlock, d as AuthoringEntityTypeDescriptor, dn as resolveAuthoringTemplateValue, en as isAuthoringFieldPresetDescriptor, f as AuthoringEntityTypeFactoryOutput, fn as resolveEnumCodecId, ft as PslExtensionBlock, g as AuthoringFieldPresetDescriptor, gn as validateAuthoringHelperArguments, gt as PslExtensionBlockPrintEntry, h as AuthoringFieldNamespace, hn as tagForm, ht as PslExtensionBlockParsedAttribute, i as AuthoringArgumentDescriptor, in as isAuthoringTypeAliasDescriptor, j as AuthoringTypeAliasOutput, k as AuthoringTemplateValue, kt as admittedForms, l as AuthoringDiagnosticSink, ln as readWrittenValue, m as AuthoringEntityTypeTemplateOutput, nn as isAuthoringPslBlockDescriptor, o as AuthoringColumnDefaultTemplate, on as isAuthoringTypeDescriptor, p as AuthoringEntityTypeNamespace, pn as resolveTypeAliasGenerators, q as DataTypeWrittenForm, qt as instantiateAuthoringEntityType, r as AuthoringArgRef, rn as isAuthoringSelectRef, s as AuthoringContributions, sn as knownTags, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, tn as isAuthoringModelAttributeDescriptor, u as AuthoringEntityContext, un as readWrittenValueAs, v as AuthoringModelAttributeContext, w as AuthoringOption, x as AuthoringModelAttributeEntityOutput, xt as RefusalGuidance, y as AuthoringModelAttributeDescriptor, yt as ReadRefusal, zt as describeExpected } from "./framework-authoring-C78etPdT-CeiBIBJ-.mjs";
|
|
2
|
+
import { S as temporalTypeAliases, _ as resolveTemplateTagEscapes, b as temporalPhaseTemplate, c as TIMESTAMP_NOW_GENERATOR_ID, d as assembleDataTypeSupport, f as canonicalizeTaggedLiteralBody, h as printedTaggedLiteralReadsBack, i as PresetStorageTemplate, l as TaggedLiteralCanonicalization, m as printTaggedLiteral, o as TEMPORAL_ON_CREATE_ARG, p as describeTaggedLiteralFailure, r as DataTypeComponent, s as TEMPORAL_ON_UPDATE_ARG, t as AssembledDataTypeSupport, u as assembleAuthoringDataTypes, v as temporalAuthoringPresets, w as tsTaggedTemplateSource, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-suGfXweJ-Cv2uijGj.mjs";
|
|
3
|
+
import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-CUZxY2RV.mjs";
|
|
4
|
+
export { AUTHORING_TYPE_DESCRIPTOR_KINDS, type AssembledDataTypeSupport, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringValueArgument, type AuthoringWarning, type AuthoringWarningSink, type CastRefusal, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeSupport, type DataTypeWrittenForm, type DecodedEnum, type DuplicateStoredValue, type EncodedEnumMember, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type ParsedPslExtensionBlock, type PresetStorageTemplate, type PslExtensionBlock, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, type ReadRefusal, type RefusalDescription, type RefusalGuidance, type ScalarTypeConstructorOutput, type StoredEnumMember, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertTypeAliasesValid, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, resolveTypeAliasGenerators, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { C as tagForm, S as readWrittenValueAs, _ as findAuthoringTypeConstructorCall, a as castTypedValue, b as readEnumBlockMembers, c as describeRefusal, d as encodeEnumMembers, f as entryForPlain, g as fieldPresetSpellings, h as exactRewrite, i as authoringTypeConstructors, l as describeRefusedValueType, m as enumMemberProblemDiagnostic, n as admittedTags, o as describeAdmittedForms, p as entryForTag, r as authoringTypeConstructorArguments, s as describeExpected, t as admittedForms, u as duplicateStoredMembers, v as getAuthoringFieldPreset, x as readWrittenValue, y as knownTags } from "./authoring-
|
|
3
|
-
export { TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
|
|
1
|
+
import { A as isAuthoringTypeAliasDescriptor, B as resolveTemplateTagEscapes, C as instantiateAuthoringTypeConstructorFromValues, D as isAuthoringModelAttributeDescriptor, E as isAuthoringFieldPresetDescriptor, F as printTaggedLiteral, G as temporalPhaseTemplateWithParams, H as temporalAuthoringPresets, I as printedTaggedLiteralReadsBack, J as tsTaggedTemplateSource, K as temporalTypeAliases, L as resolveAuthoringTemplateValue, M as isAuthoringTypeDescriptor, O as isAuthoringPslBlockDescriptor, P as mergeAuthoringNamespaces, R as resolveEnumCodecId, S as instantiateAuthoringTypeConstructor, T as isAuthoringEntityTypeDescriptor, U as temporalCodecPreset, V as resolveTypeAliasGenerators, W as temporalPhaseTemplate, X as validateAuthoringTypeParams, Y as validateAuthoringHelperArguments, _ as flushAuthoringWarnings, a as TIMESTAMP_NOW_GENERATOR_ID, b as instantiateAuthoringFieldPreset, c as assertNoCrossRegistryCollisions, d as canonicalizeTaggedLiteralBody, f as classifyEnumMemberType, g as describeTaggedLiteralFailure, i as TEMPORAL_ON_UPDATE_ARG, j as isAuthoringTypeConstructorDescriptor, k as isAuthoringSelectRef, l as assertResolvableTypeConstructorTemplates, m as collectScalarTypeConstructors, o as assembleAuthoringDataTypes, r as TEMPORAL_ON_CREATE_ARG, s as assembleDataTypeSupport, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeAliasesValid, v as getAuthoringTypeConstructor, w as isAuthoringArgRef, x as instantiateAuthoringTypeAlias, y as instantiateAuthoringEntityType } from "./temporal-presets-CIFczljn-BrjropV6.mjs";
|
|
2
|
+
import { C as tagForm, S as readWrittenValueAs, _ as findAuthoringTypeConstructorCall, a as castTypedValue, b as readEnumBlockMembers, c as describeRefusal, d as encodeEnumMembers, f as entryForPlain, g as fieldPresetSpellings, h as exactRewrite, i as authoringTypeConstructors, l as describeRefusedValueType, m as enumMemberProblemDiagnostic, n as admittedTags, o as describeAdmittedForms, p as entryForTag, r as authoringTypeConstructorArguments, s as describeExpected, t as admittedForms, u as duplicateStoredMembers, v as getAuthoringFieldPreset, x as readWrittenValue, y as knownTags } from "./authoring-BMkyimEq.mjs";
|
|
3
|
+
export { AUTHORING_TYPE_DESCRIPTOR_KINDS, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertTypeAliasesValid, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, resolveTypeAliasGenerators, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as createDataTypeLookup, B as requireValueOf, C as DataTypeSpec, D as TypeLookups, E as ListCast, F as dataTypeValuesEqual, H as requiredSchemaKeys, I as emptyCodecLookup, L as enumRefusalOf, M as dataTypeId, N as dataTypeParams, O as assembleDataTypes, P as dataTypeParamsProblem, R as objectSchemaKeys, S as DataTypeReader, T as DataTypeValue, U as schemaKeysAllowing, V as requiredParamKeys, _ as DataType, a as CodecCallContext, b as DataTypeParams, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as CodecTrait, h as CodecRegistry, i as Codec, j as dataType, k as assertDataTypeParams, l as CodecDescriptorTemplateImpl, m as CodecRef, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecLookupWithDescriptors, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeId, w as DataTypeSpelling, x as DataTypeParamsProblem, y as DataTypeLookup, z as readContractValue } from "./codec-types-
|
|
2
|
-
import { A as readJsonMatching, C as isIntegerIn, D as readJsonFloat, E as readJsonBoolean, F as validateCodecTypeParams, M as refuseJsonValue, N as renderTsLiteral, O as readJsonInteger, P as resolveCodecDescriptorOrThrow, S as floatToJson, T as materializeCodec, _ as column, a as ColumnHelperForStrict, b as decimalTextNumberLiteral, c as DATA_TYPE_ID_PATTERN, d as IntegerRange, f as SAFE_INTEGER_BIGINT_RANGE, g as codecForRef, h as ScalarFieldDeclarationBuilder, i as ColumnHelperFor, j as readJsonString, k as readJsonIntegerText, l as INT32_RANGE, m as ScalarFieldDeclaration, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as SAFE_INTEGER_RANGE, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as INT64_RANGE, v as decimalTextBigintLiteral, w as isNonFiniteText, x as floatNumberLiteral, y as decimalTextEqualityKey } from "./codec-
|
|
1
|
+
import { A as createDataTypeLookup, B as requireValueOf, C as DataTypeSpec, D as TypeLookups, E as ListCast, F as dataTypeValuesEqual, H as requiredSchemaKeys, I as emptyCodecLookup, L as enumRefusalOf, M as dataTypeId, N as dataTypeParams, O as assembleDataTypes, P as dataTypeParamsProblem, R as objectSchemaKeys, S as DataTypeReader, T as DataTypeValue, U as schemaKeysAllowing, V as requiredParamKeys, _ as DataType, a as CodecCallContext, b as DataTypeParams, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as CodecTrait, h as CodecRegistry, i as Codec, j as dataType, k as assertDataTypeParams, l as CodecDescriptorTemplateImpl, m as CodecRef, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecLookupWithDescriptors, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeId, w as DataTypeSpelling, x as DataTypeParamsProblem, y as DataTypeLookup, z as readContractValue } from "./codec-types-CPgEZoIq-BL9hisr8.mjs";
|
|
2
|
+
import { A as readJsonMatching, C as isIntegerIn, D as readJsonFloat, E as readJsonBoolean, F as validateCodecTypeParams, M as refuseJsonValue, N as renderTsLiteral, O as readJsonInteger, P as resolveCodecDescriptorOrThrow, S as floatToJson, T as materializeCodec, _ as column, a as ColumnHelperForStrict, b as decimalTextNumberLiteral, c as DATA_TYPE_ID_PATTERN, d as IntegerRange, f as SAFE_INTEGER_BIGINT_RANGE, g as codecForRef, h as ScalarFieldDeclarationBuilder, i as ColumnHelperFor, j as readJsonString, k as readJsonIntegerText, l as INT32_RANGE, m as ScalarFieldDeclaration, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as SAFE_INTEGER_RANGE, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as INT64_RANGE, v as decimalTextBigintLiteral, w as isNonFiniteText, x as floatNumberLiteral, y as decimalTextEqualityKey } from "./codec-B_KV-HpC.mjs";
|
|
3
3
|
export { type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type BigIntRange, CONTRACT_CODEC_DESCRIPTOR_MISSING, type Cast, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeValue, INT32_RANGE, INT64_RANGE, type IntegerRange, type ListCast, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type TypeLookups, assembleDataTypes, assertDataTypeParams, codecForRef, column, createDataTypeLookup, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, emptyCodecLookup, enumRefusalOf, floatNumberLiteral, floatToJson, isIntegerIn, isNonFiniteText, materializeCodec, objectSchemaKeys, readContractValue, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, refuseJsonValue, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveCodecDescriptorOrThrow, schemaKeysAllowing, validateCodecTypeParams };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
1
|
+
import { $ as GeneratorFunctionContribution, Q as GeneratorFunctionComponent, X as GeneratorFunctionBinding, Y as EMPTY_GENERATOR_FUNCTIONS, Z as GeneratorFunctionCall, et as GeneratorFunctionField, it as GeneratorPhase, jt as assembleGeneratorFunctions, lt as PrintedArguments, mn as singleGeneratorBinding, nt as GeneratorFunctionResolution, rt as GeneratorFunctionSummary, st as MutationDefaultGeneratorDescriptor, tt as GeneratorFunctionRegistry, ut as PrintedGeneratorCall, z as BindingResolution } from "./framework-authoring-C78etPdT-CeiBIBJ-.mjs";
|
|
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-DQjfX-gM-zVncuzs0.mjs";
|
|
3
3
|
import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { S as checkContractComponentRequirements, _ as PackRefBase, a as ComponentMetadata, b as TargetInstance, 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 TargetBoundComponentDescriptor, x as TargetPackRef, y as TargetDescriptor } from "./framework-components-BmRQfvNS-KSEiBXXc.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-CJ5VhJT8.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 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 { Ct as SourceDiagnostic, H as ControlMutationDefaultEntry, J as DefaultFunctionLoweringContext, Tt as TypedDefaultFunctionCall, U as ControlMutationDefaultRegistry, W as ControlMutationDefaults, at as LoweredDefaultResult, n as AssembledControlMutationDefaults, ot as LoweredDefaultValue, st as MutationDefaultGeneratorDescriptor, wt as SourceSpan } from "./framework-authoring-C78etPdT-CeiBIBJ-.mjs";
|
|
2
|
+
import { C as timestampNowControlDescriptor, _ as resolveTemplateTagEscapes, a as TAGGED_LITERAL_MAX_BYTES, g as resolvePslBacktickEscapes, p as describeTaggedLiteralFailure } from "./temporal-presets-suGfXweJ-Cv2uijGj.mjs";
|
|
3
3
|
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
4
|
-
import { $ as
|
|
5
|
-
export { APP_SPACE_ID, type AppliedMigrationStatement, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, CONTRACT_SNAPSHOTS_DIRNAME, 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 ExpectationFailureReason, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FieldCoordinate, type FieldCoordinateJson, type HelperCodecInvariantInput, type ImportRequirement, type IntrospectSchemaResult, 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 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 ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedRenameStatement, type RowsWithoutValue, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, 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, withFailingSpace };
|
|
4
|
+
import { $ as MigrationPlannerSuccessResult, $t as VERIFY_CODE_HASH_MISMATCH, A as FailedTypeChange, An as hasOperationPreview, At as ResolvedMigrationStatement, B as MigrationMetadata, Bn as migrationStatementJson, Bt as SchemaTreeNode, C as DiffSubjectGranularity, Cn as extractComponentIds, Ct as PslContractBuildCapable, D as FailedCast, Dn as failedPrecheckWhy, Dt as ResolvedFieldBackfillStatement, E as ExpectationFailureReason, En as failedPostcheckWhy, Et as PslSourceSettings, F as MarkerHashes, Fn as isRenameStatement, Ft as SchemaDiffIssue, G as MigrationPlan, Gn as orderIssuesByDependencies, Gt as SchemaVerifyResult, H as MigrationOperationPolicy, Hn as migrationSubjectKey, Ht as SchemaTreeVisitor, I as MigratableTargetDescriptor, In as isStorageHashHex, It as SchemaEntityCoordinate, J as MigrationPlanWithAuthoringSurface, Jn as schemaCheckWhy, Jt as SpaceMarkerConflict, K as MigrationPlanOperation, Kn as planOriginOf, Kt as SchemaViewCapable, L as MigrationAccessChange, Ln as issueLabel, Lt as SchemaNodeRef, M as FieldCoordinateJson, Mn as hasPslContractInfer, Mt as ResolvedRenameStatement, N as HelperCodecInvariantInput, Nn as hasSchemaSubjectClassifier, Nt as RowsWithoutValue, O as FailedCheck, On as fieldStatementText, Ot as ResolvedFieldConvertStatement, P as IntrospectSchemaResult, Pn as hasSchemaView, Pt as SchemaDiff, Q as MigrationPlannerResult, Qn as withFailingSpace, Qt as TargetMigrationsCapability, R as MigrationDataLoss, Rn as issueOutcome, Rt as SchemaOwnership, S as CreateControlStackInput, Sn as extractCodecTypeImports, St as PlanOrigin, T as EmitContractResult, Tn as extractQueryOperationTypeImports, Tt as PslContractInferCapable, U as MigrationOperationSubject, Un as modelDisplayName, Ut as SchemaVerifier, V as MigrationOperationClass, Vn as migrationSubjectJson, Vt as SchemaTreeNodeOptions, W as MigrationPackage, Wn as modelStatementText, Wt as SchemaVerifyOptions, X as MigrationPlannerConflict, Xn as storageHashHex, Xt as SpaceSigned, Y as MigrationPlanner, Yn as schemaIssuesWhy, Yt as SpaceSignature, Z as MigrationPlannerFailureResult, Zn as withDatabaseUnchanged, Zt as SpaceToSign, _ as ControlFamilyInstance, _n as dispositionForCategory, _t as OpFactoryCall, a as CheckExpectation, an as VerifierOutcome, at as MigrationRunnerPerSpaceSuccessValue, b as ControlTargetInstance, bn as expectPresent, bt as OperationPreviewCapable, c as ContractSpaceHeadRef, cn as assembleAuthoringContributions, ct as MigrationScaffoldContext, d as ControlDriverConnectOptions, dn as buildExtensionLoadOrder, dt as MigrationSubjectJson, en as VERIFY_CODE_MARKER_MISSING, et as MigrationRunner, f as ControlDriverDescriptor, fn as contractSnapshotJsonSpecifier, ft as MigrationTemporaryValue, g as ControlFamilyDescriptor, gn as diffSchemas, gt as ModelCoordinateJson, h as ControlExtensionInstance, hn as describeMigrationStatement, ht as ModelCoordinate, i as CONTRACT_SNAPSHOTS_DIRNAME, in as VerifierIssueCategory, it as MigrationRunnerPerSpaceOptions, j as FieldCoordinate, jn as hasPslContractBuild, jt as ResolvedModelRenameStatement, k as FailedConversion, kn as hasMigrations, kt as ResolvedFieldRenameStatement, l as ControlAdapterDescriptor, ln as assembleControlMutationDefaults, lt as MigrationStatementJson, m as ControlExtensionDescriptor, mn as createControlStack, mt as MismatchExplanation, n as AppliedMigrationStatement, nn as VERIFY_CODE_TARGET_MISMATCH, nt as MigrationRunnerFailure, o as ContractSerializer, on as VerifyDatabaseResult, ot as MigrationRunnerResult, p as ControlDriverInstance, pn as contractSnapshotTypesSpecifier, pt as MismatchCause, q as MigrationPlanSubjects, qn as sameMarkerHashes, qt as SchemaViewNodeKind, r as AssembledAuthoringContributions, rn as VerificationStatus, rt as MigrationRunnerFailureMeta, s as ContractSpace, sn as VerifyDatabaseSchemaResult, st as MigrationRunnerSuccessValue, t as APP_SPACE_ID, tn as VERIFY_CODE_SCHEMA_FAILURE, tt as MigrationRunnerExecutionChecks, u as ControlAdapterInstance, un as assertUniqueCodecOwner, ut as MigrationSubject, v as ControlStack, vn as enforceHelperCodecInvariants, vt as OperationContext, w as DiffableNode, wn as extractParameterizedOutputTypeImports, wt as PslContractDocument, x as CoreSchemaView, xn as extractCodecLookup, xt as OperationPreviewStatement, y as ControlTargetDescriptor, yn as expectAbsent, yt as OperationPreview, z as MigrationDataLossKind, zn as migrationRunnerFailure, zt as SchemaSubjectClassifierCapable } from "./control-BC7a9D7N.mjs";
|
|
5
|
+
export { APP_SPACE_ID, type AppliedMigrationStatement, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, 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 ExpectationFailureReason, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FieldCoordinate, type FieldCoordinateJson, type HelperCodecInvariantInput, type ImportRequirement, type IntrospectSchemaResult, 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 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 ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedRenameStatement, type RowsWithoutValue, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, 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 { B as
|
|
2
|
-
import { A as
|
|
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, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, 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, withFailingSpace };
|
|
1
|
+
import { B as resolveTemplateTagEscapes, g as describeTaggedLiteralFailure, n as TAGGED_LITERAL_MAX_BYTES, q as timestampNowControlDescriptor, z as resolvePslBacktickEscapes } from "./temporal-presets-CIFczljn-BrjropV6.mjs";
|
|
2
|
+
import { $ as withFailingSpace, A as hasMigrations, B as migrationRunnerFailure, C as extractCodecTypeImports, D as failedPostcheckWhy, E as extractQueryOperationTypeImports, F as hasSchemaView, G as modelStatementText, H as migrationSubjectJson, I as isRenameStatement, J as sameMarkerHashes, K as orderIssuesByDependencies, L as isStorageHashHex, M as hasPslContractBuild, N as hasPslContractInfer, O as failedPrecheckWhy, P as hasSchemaSubjectClassifier, Q as withDatabaseUnchanged, R as issueLabel, S as extractCodecLookup, T as extractParameterizedOutputTypeImports, U as migrationSubjectKey, V as migrationStatementJson, W as modelDisplayName, X as schemaIssuesWhy, Y as schemaCheckWhy, Z as storageHashHex, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as expectAbsent, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as hasOperationPreview, k as fieldStatementText, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as planOriginOf, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as dispositionForCategory, w as extractComponentIds, x as expectPresent, y as enforceHelperCodecInvariants, z as issueOutcome } from "./control-Bq9kKKJS.mjs";
|
|
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, 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,4 +1,4 @@
|
|
|
1
|
-
import { l as TypesImportSpec } from "./types-import-spec-
|
|
2
|
-
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-
|
|
3
|
-
import "./emission-
|
|
1
|
+
import { l as TypesImportSpec } from "./types-import-spec-DQjfX-gM-zVncuzs0.mjs";
|
|
2
|
+
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-B-jKEbjI-D7BW8Gk1.mjs";
|
|
3
|
+
import "./emission-BtJvV97M.mjs";
|
|
4
4
|
export { type EmissionSpi, type GenerateContractTypesOptions, type ImportSpecifierResolver, type TypesImportSpec, keepInternalSpecifiers, resolveRequirementSpecifiers };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-
|
|
1
|
+
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-0Irooze3.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 { E as AuthoringPslBlockDescriptorNamespace, V as ContributedPslDiagnosticCode, _t as PslPosition, ct as ParsedPslExtensionBlock, dt as PslDiagnosticCode, ft as PslExtensionBlock, gt as PslExtensionBlockPrintEntry, ht as PslExtensionBlockParsedAttribute, mt as PslExtensionBlockAttributeArg, pt as PslExtensionBlockAttribute, vt as PslSpan } from "./framework-authoring-C78etPdT-CeiBIBJ-.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-54cA0pl_-DrzGrcMF.mjs";
|
|
3
|
+
import "./psl-ast-BubQebay.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,3 +1,3 @@
|
|
|
1
1
|
import { n as isRuntimeError, r as runtimeError, t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
|
|
2
|
-
import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-
|
|
2
|
+
import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-8WddX9H_.mjs";
|
|
3
3
|
export { type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AppliedMutationDefault, AsyncIterableResult, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type CrossFamilyMiddleware, type DefineAnnotationOptions, type ExecuteInterceptResult, type ExecutionPlan, type GeneratorStability, type LaneMetaBuilder, type MetaBuilder, type MutationDefaultGeneratorContributor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type OperationKind, type ParamRefMutator, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, RelationKeys, type RelationNamesOf, type ResultType, type RuntimeAbortedPhase, RuntimeCore, type RuntimeCoreOptions, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type Scalars, type Shape, type ShapeSpec, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type ValidAnnotations, applyMutationDefaults, assertAnnotationsApplicable, assertMutationDefaultGeneratorsAvailable, checkAborted, checkMiddlewareCompatibility, collectMutationDefaultGenerators, createContextBeneath, createMetaBuilder, createStateStore, defineAnnotation, executeStatement, isRuntimeError, raceAgainstAbort, runtimeAborted, runtimeError, startClientActivity, startTransactionActivity, streamStatement };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { t as Contract } from "./contract-types-DEIEpzU_-DvAVuBr5.mjs";
|
|
2
|
-
import { p as CodecLookupWithDescriptors } from "./codec-types-
|
|
2
|
+
import { p as CodecLookupWithDescriptors } from "./codec-types-CPgEZoIq-BL9hisr8.mjs";
|
|
3
3
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./codec-DkiEF2cQ.mjs";
|
|
4
|
+
import { K as DataTypeSupport, W as ControlMutationDefaults, tt as GeneratorFunctionRegistry } from "./framework-authoring-C78etPdT-CeiBIBJ-.mjs";
|
|
5
|
+
import "./authoring-CUZxY2RV.mjs";
|
|
6
|
+
import "./codec-B_KV-HpC.mjs";
|
|
8
7
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import { c as ControlAdapterDescriptor, d as ControlDriverDescriptor, f as ControlDriverInstance, h as ControlFamilyDescriptor, p as ControlExtensionDescriptor, r as AssembledAuthoringContributions, v as ControlTargetDescriptor } from "./control-DnNh47Wd.mjs";
|
|
8
|
+
import "./components-CJ5VhJT8.mjs";
|
|
9
|
+
import { f as ControlDriverDescriptor, g as ControlFamilyDescriptor, l as ControlAdapterDescriptor, m as ControlExtensionDescriptor, p as ControlDriverInstance, r as AssembledAuthoringContributions, y as ControlTargetDescriptor } from "./control-BC7a9D7N.mjs";
|
|
12
10
|
//#region ../../../1-framework/1-core/config/dist/config-types.d.mts
|
|
13
11
|
//#region src/contract-source-types.d.ts
|
|
14
12
|
interface ContractSourceDiagnosticPosition {
|
|
@@ -207,4 +205,4 @@ declare function defineConfig<TFamilyId extends string = string, TTargetId exten
|
|
|
207
205
|
declare function defaultContractOutputPath(contractPath: string): string;
|
|
208
206
|
//#endregion
|
|
209
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 };
|
|
210
|
-
//# sourceMappingURL=config-types-
|
|
208
|
+
//# sourceMappingURL=config-types-B7pDUyu2.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-types-B7pDUyu2.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-B7pDUyu2.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-B7pDUyu2.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,9 +1,9 @@
|
|
|
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
|
-
import { p as CodecLookupWithDescriptors } from "./codec-types-
|
|
4
|
-
import {
|
|
5
|
-
import { a as EncodedEnumMember } from "./authoring-
|
|
6
|
-
import { s as ColumnTypeDescriptor } from "./codec-
|
|
3
|
+
import { p as CodecLookupWithDescriptors } from "./codec-types-CPgEZoIq-BL9hisr8.mjs";
|
|
4
|
+
import { P as AuthoringTypeNamespace, d as AuthoringEntityTypeDescriptor, g as AuthoringFieldPresetDescriptor, h as AuthoringFieldNamespace, i as AuthoringArgumentDescriptor, p as AuthoringEntityTypeNamespace, u as AuthoringEntityContext } from "./framework-authoring-C78etPdT-CeiBIBJ-.mjs";
|
|
5
|
+
import { a as EncodedEnumMember } from "./authoring-CUZxY2RV.mjs";
|
|
6
|
+
import { s as ColumnTypeDescriptor } from "./codec-B_KV-HpC.mjs";
|
|
7
7
|
//#region ../../../1-framework/2-authoring/contract/dist/index.d.mts
|
|
8
8
|
//#region src/authoring-argument-types.d.ts
|
|
9
9
|
/**
|
|
@@ -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-KsXr4fYD-
|
|
6
|
-
import { d as encodeEnumMembers } from "./authoring-
|
|
4
|
+
import { E as isAuthoringFieldPresetDescriptor, P as mergeAuthoringNamespaces, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, y as instantiateAuthoringEntityType } from "./temporal-presets-CIFczljn-BrjropV6.mjs";
|
|
5
|
+
import { f as errorEnumCodecNotInPackStack } from "./control-KsXr4fYD-O9tIteNn.mjs";
|
|
6
|
+
import { d as encodeEnumMembers } from "./authoring-BMkyimEq.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.
|
|
@@ -221,7 +221,7 @@ function isNonEmptyRecord(value) {
|
|
|
221
221
|
}
|
|
222
222
|
const descriptorKindByNamespace = {
|
|
223
223
|
type: {
|
|
224
|
-
descriptorKind:
|
|
224
|
+
descriptorKind: AUTHORING_TYPE_DESCRIPTOR_KINDS,
|
|
225
225
|
label: "type"
|
|
226
226
|
},
|
|
227
227
|
field: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-authoring.mjs","names":[],"sources":["../../../../1-framework/2-authoring/contract/dist/index.mjs"],"sourcesContent":["import { encodeEnumMembers, instantiateAuthoringEntityType, isAuthoringFieldPresetDescriptor, mergeAuthoringNamespaces } from \"@internal/framework-components/authoring\";\nimport { errorEnumCodecNotInPackStack } from \"@internal/errors/control\";\nimport { assertDefined } from \"@internal/utils/assertions\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/capability-registry.ts\n/**\n* Deep-merges any number of capability matrices into a single matrix.\n*\n* Merge is purely structural — namespaces and capability flags from later\n* sources overlay earlier ones. Undefined entries are skipped so callers\n* can pass optional sources without pre-filtering.\n*\n* The helper is target-agnostic: it contains no SQL or family-specific\n* knowledge. Higher layers contribute their own capability matrices (for\n* example, a target pack, an extension pack, or the contract author's\n* own `capabilities` block) and call this helper to fold them together.\n*/\nfunction mergeCapabilityMatrices(...sources) {\n\tconst result = {};\n\tfor (const source of sources) {\n\t\tif (source === void 0) continue;\n\t\tfor (const [namespace, capabilities] of Object.entries(source)) {\n\t\t\tconst existing = result[namespace];\n\t\t\tresult[namespace] = existing ? {\n\t\t\t\t...existing,\n\t\t\t\t...capabilities\n\t\t\t} : { ...capabilities };\n\t\t}\n\t}\n\treturn result;\n}\n//#endregion\n//#region src/composed-helpers-scaffolding.ts\n/**\n* Walks an entity-type namespace (after cross-pack merge) and produces the\n* runtime callable surface mirroring its tree shape. Each leaf\n* descriptor becomes a function `(input) => factory(input, ctx)`;\n* nested namespace objects recurse.\n*/\nfunction createEntityHelpersFromNamespace(namespace, options, path = []) {\n\tconst result = {};\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isLeafEntityDescriptor(value)) {\n\t\t\tresult[key] = createEntityHelper(currentPath.join(\".\"), value, options);\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) result[key] = createEntityHelpersFromNamespace(value, options, currentPath);\n\t}\n\treturn result;\n}\nfunction isLeafEntityDescriptor(value) {\n\tif (typeof value !== \"object\" || value === null || value.kind !== \"entity\") return false;\n\tconst discriminator = value.discriminator;\n\treturn typeof discriminator === \"string\" && discriminator.length > 0;\n}\nfunction createEntityHelper(helperPath, descriptor, options) {\n\treturn (...args) => instantiateAuthoringEntityType(helperPath, descriptor, args, options.ctx);\n}\n//#endregion\n//#region src/contract-errors.ts\nfunction contractError(code, message, options) {\n\treturn structuredError(code, message, options);\n}\n//#endregion\n//#region src/enum-type.ts\nfunction member(name, value) {\n\treturn {\n\t\tname,\n\t\tvalue: blindCast(value === void 0 ? name : value)\n\t};\n}\nconst ENUM_TYPE_HANDLE_BRAND = \"__prismaNextEnumTypeHandle__\";\nfunction describeValue(value) {\n\tif (typeof value === \"bigint\") return `${value}n`;\n\tif (typeof value === \"number\" && !Number.isFinite(value)) return String(value);\n\ttry {\n\t\treturn JSON.stringify(value) ?? String(value);\n\t} catch {\n\t\treturn String(value);\n\t}\n}\nfunction enumType(name, codec, ...members) {\n\tif (members.length === 0) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): must have at least one member.`, { meta: {\n\t\tenumName: name,\n\t\treason: \"no-members\"\n\t} });\n\tconst seenNames = /* @__PURE__ */ new Set();\n\tconst nameByValue = /* @__PURE__ */ new Map();\n\tfor (const m of members) {\n\t\tif (seenNames.has(m.name)) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): duplicate member name \"${m.name}\". Member names must be unique.`, { meta: {\n\t\t\tenumName: name,\n\t\t\tmember: m.name,\n\t\t\treason: \"duplicate-member-name\"\n\t\t} });\n\t\tseenNames.add(m.name);\n\t\tconst earlier = nameByValue.get(m.value);\n\t\tif (earlier !== void 0) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): members \"${earlier}\" and \"${m.name}\" have the same value ${describeValue(m.value)}. Member values must be unique.`, { meta: {\n\t\t\tenumName: name,\n\t\t\tmembers: [earlier, m.name],\n\t\t\treason: \"duplicate-member-value\"\n\t\t} });\n\t\tnameByValue.set(m.value, m.name);\n\t}\n\tconst values = Object.freeze(members.map((m) => m.value));\n\tconst names = Object.freeze(members.map((m) => m.name));\n\tconst enumMembers = Object.freeze(members.map((m) => ({\n\t\tname: m.name,\n\t\tvalue: m.value\n\t})));\n\tconst membersAccessor = Object.freeze(Object.fromEntries(members.map((m) => [m.name, m.value])));\n\tconst valueSet = new Set(values);\n\tconst valueToName = new Map(members.map((m) => [m.value, m.name]));\n\tconst valueToOrdinal = new Map(values.map((v, i) => [v, i]));\n\treturn {\n\t\t[ENUM_TYPE_HANDLE_BRAND]: true,\n\t\tenumName: name,\n\t\tcodecId: codec.codecId,\n\t\tenumMembers,\n\t\tvalues,\n\t\tnames,\n\t\tmembers: membersAccessor,\n\t\thas: (v) => valueSet.has(v),\n\t\tnameOf: (v) => valueToName.get(v),\n\t\tordinalOf: (v) => valueToOrdinal.get(v) ?? -1\n\t};\n}\n/** Two members of an `enumType` that store the same value, as `CONTRACT.ENUM_INVALID` naming both members and the stored value. */\nfunction duplicateMemberError(enumName, duplicate) {\n\treturn contractError(\"CONTRACT.ENUM_INVALID\", duplicate.earlierStored === void 0 ? `enumType(\"${enumName}\"): members \"${duplicate.earlier}\" and \"${duplicate.later}\" both store ${JSON.stringify(duplicate.stored)}. Member values must be unique as their codec stores them.` : `enumType(\"${enumName}\"): members \"${duplicate.earlier}\" and \"${duplicate.later}\" store ${JSON.stringify(duplicate.earlierStored)} and ${JSON.stringify(duplicate.stored)}, which the database holds equal. Member values must be unique as their data type compares them.`, { meta: {\n\t\tenumName,\n\t\tmembers: [duplicate.earlier, duplicate.later],\n\t\treason: \"duplicate-member-value\"\n\t} });\n}\n/**\n* Bind `enumType` to a target's codec typemap. The returned function is the\n* same runtime `enumType`, retyped so member values are constrained to the\n* codec's input type. Target packages call this with their pack's\n* `ExtractCodecTypesFromPack<Pack>` to expose a codec-aware `enumType`.\n*/\nfunction bindEnumType() {\n\treturn enumType;\n}\n/**\n* Returns true when the value is an `EnumTypeHandle` produced by\n* `enumType()`. Used in the lowering pipeline to detect enum handles\n* in field state without importing the brand key at every call site.\n*/\nfunction isEnumTypeHandle(value) {\n\treturn typeof value === \"object\" && value !== null && Reflect.get(value, \"__prismaNextEnumTypeHandle__\") === true;\n}\n//#endregion\n//#region src/enum-members.ts\nfunction enumMemberError(handle, problem, storedBy) {\n\tconst { enumName, codecId } = handle;\n\tswitch (problem.kind) {\n\t\tcase \"codec-not-for-enums\": return contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${enumName}\"): an enum cannot use the codec ${codecId}. ${problem.refusal}`, {\n\t\t\tfix: \"Type the enum with another codec.\",\n\t\t\tmeta: {\n\t\t\t\tenumName,\n\t\t\t\tcodecId,\n\t\t\t\treason: \"codec-not-for-enums\"\n\t\t\t}\n\t\t});\n\t\tcase \"codec-missing\": return errorEnumCodecNotInPackStack({ codecId });\n\t\tcase \"codec-refused-member\": return contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${enumName}\") member \"${problem.member}\" has a value its codec ${codecId} refuses: ${problem.reason}`, {\n\t\t\tfix: \"Give the member a value the codec takes, or type the enum with a codec that takes it.\",\n\t\t\tcause: problem.cause,\n\t\t\tmeta: {\n\t\t\t\tenumName,\n\t\t\t\tmember: problem.member,\n\t\t\t\tcodecId,\n\t\t\t\treason: \"codec-refused-member\"\n\t\t\t}\n\t\t});\n\t\tcase \"member-not-stored-as-written\": return contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${enumName}\"): member \"${problem.member}\" is written ${problem.written}, but ${storedBy} stores ${JSON.stringify(problem.stored)}. Write the member as ${problem.writeAs}.`, { meta: {\n\t\t\tenumName,\n\t\t\tmember: problem.member,\n\t\t\treason: \"member-not-stored-as-written\"\n\t\t} });\n\t\tcase \"duplicate-member-value\": return duplicateMemberError(enumName, problem);\n\t}\n}\n/**\n* Each member of an `enumType` in the form its codec stores it, which is how the contract holds it. Throws the first problem `encodeEnumMembers` finds: `CONTRACT.ENUM_CODEC_NOT_IN_PACK_STACK` for a codec no pack provides, and `CONTRACT.ENUM_INVALID` for the others. `storedBy` names what stores the value in the family's terms, such as `the column`.\n*/\nfunction encodeEnumTypeMembers(handle, codecLookup, storedBy) {\n\tconst encoded = encodeEnumMembers(handle, codecLookup);\n\tif (encoded.ok) return encoded.value;\n\tconst [problem] = encoded.failure;\n\tassertDefined(problem, \"encodeEnumMembers fails with at least one problem\");\n\tthrow enumMemberError(handle, problem, storedBy);\n}\n//#endregion\n//#region src/field-preset-helpers.ts\nconst blockedSegments = /* @__PURE__ */ new Set([\n\t\"__proto__\",\n\t\"constructor\",\n\t\"prototype\"\n]);\nfunction assertSafeAuthoringHelperKey(key, path) {\n\tif (blockedSegments.has(key)) throw contractError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Invalid authoring helper \"${[...path, key].join(\".\")}\". Helper path segments must not use \"${key}\".`, { meta: {\n\t\thelperPath: [...path, key].join(\".\"),\n\t\tsegment: key\n\t} });\n}\n/**\n* 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.\n*/\nfunction createFieldHelpersFromNamespace(namespace, createLeafHelper, path = []) {\n\tconst helpers = {};\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tassertSafeAuthoringHelperKey(key, path);\n\t\tconst currentPath = [...path, key];\n\t\tif (isAuthoringFieldPresetDescriptor(value)) {\n\t\t\thelpers[key] = createLeafHelper({\n\t\t\t\thelperPath: currentPath.join(\".\"),\n\t\t\t\tdescriptor: value\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\thelpers[key] = createFieldHelpersFromNamespace(value, createLeafHelper, currentPath);\n\t}\n\treturn helpers;\n}\nfunction isNonEmptyRecord(value) {\n\treturn typeof value === \"object\" && value !== null && Object.keys(value).length > 0;\n}\nconst descriptorKindByNamespace = {\n\ttype: {\n\t\tdescriptorKind: \"typeConstructor\",\n\t\tlabel: \"type\"\n\t},\n\tfield: {\n\t\tdescriptorKind: \"fieldPreset\",\n\t\tlabel: \"field\"\n\t},\n\tentityTypes: {\n\t\tdescriptorKind: \"entity\",\n\t\tlabel: \"entity\"\n\t}\n};\n/**\n* Merges one authoring namespace (`type`, `field` or `entityTypes`) across the family, target and extension packs, in order. A duplicate helper path across packs throws.\n*/\nfunction composePackAuthoringNamespace(components, key) {\n\tconst { descriptorKind, label } = descriptorKindByNamespace[key];\n\tconst merged = {};\n\tfor (const component of components) {\n\t\tconst namespace = component.authoring?.[key];\n\t\tif (isNonEmptyRecord(namespace)) mergeAuthoringNamespaces(merged, namespace, [], descriptorKind, label);\n\t}\n\treturn blindCast(merged);\n}\n//#endregion\n//#region src/relation-nullability.ts\n/**\n* The one rule for whether a to-one relation may be absent. The side that holds the reference\n* (in SQL, the foreign key) is nullable exactly when one of its local fields is; the other side\n* is always nullable, because nothing in storage guarantees the related record exists. A\n* declaration that disagrees is reported as a contradiction; `nullable` is always the derived\n* value.\n*/\nfunction resolveToOneRelationNullable(input) {\n\tconst nullable = input.ownsReference ? input.localFieldNullability.some(Boolean) : true;\n\tconst declared = input.declaredNullable;\n\tif (declared === void 0 || declared === nullable) return {\n\t\tnullable,\n\t\tcontradiction: void 0\n\t};\n\treturn {\n\t\tnullable,\n\t\tcontradiction: declared ? \"declared-optional\" : \"declared-required\"\n\t};\n}\nfunction isToOneReference(relation) {\n\treturn \"on\" in relation && (relation.cardinality === \"1:1\" || relation.cardinality === \"N:1\");\n}\n/**\n* Fills in `nullable` on every same-space to-one relation that lacks it from the ownership and\n* local-field nullability the lookup reports. A cross-space relation defaults to nullable.\n* Relations that already carry the flag are left as they are.\n*/\nfunction withDerivedToOneRelationNullability(domain, localFieldNullability) {\n\tconst namespaces = Object.fromEntries(Object.entries(domain.namespaces).map(([namespaceId, namespace]) => [namespaceId, withDerivedNamespace(namespaceId, namespace, localFieldNullability)]));\n\treturn {\n\t\t...domain,\n\t\tnamespaces\n\t};\n}\nfunction withDerivedNamespace(namespaceId, namespace, localFieldNullability) {\n\tconst models = Object.fromEntries(Object.entries(namespace.models).map(([modelName, model]) => [modelName, withDerivedModel(namespaceId, modelName, model, localFieldNullability)]));\n\treturn {\n\t\t...namespace,\n\t\tmodels\n\t};\n}\nfunction withDerivedModel(namespaceId, modelName, model, localFieldNullability) {\n\tconst relations = Object.fromEntries(Object.entries(model.relations ?? {}).map(([relationName, relation]) => {\n\t\tif (!isToOneReference(relation) || relation.nullable !== void 0) return [relationName, relation];\n\t\tconst nullable = relation.to.space !== void 0 ? true : resolveToOneRelationNullable({\n\t\t\tdeclaredNullable: void 0,\n\t\t\t...localFieldNullability({\n\t\t\t\tnamespaceId,\n\t\t\t\tmodelName,\n\t\t\t\tmodel,\n\t\t\t\trelation\n\t\t\t})\n\t\t}).nullable;\n\t\treturn [relationName, {\n\t\t\t...relation,\n\t\t\tnullable\n\t\t}];\n\t}));\n\treturn {\n\t\t...model,\n\t\trelations\n\t};\n}\n//#endregion\nexport { ENUM_TYPE_HANDLE_BRAND, assertSafeAuthoringHelperKey, bindEnumType, composePackAuthoringNamespace, createEntityHelpersFromNamespace, createFieldHelpersFromNamespace, encodeEnumTypeMembers, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };\n\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,SAAS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ACD;AACA,SAAS,iBAAiB,UAAU;CACnC,OAAO,QAAQ,aAAa,SAAS,gBAAgB,SAAS,SAAS,gBAAgB;AACxF;;;;;;AAMA,SAAS,oCAAoC,QAAQ,uBAAuB;CAC3E,MAAM,aAAa,OAAO,YAAY,OAAO,QAAQ,OAAO,UAAU,CAAC,CAAC,KAAK,CAAC,aAAa,eAAe,CAAC,aAAa,qBAAqB,aAAa,WAAW,qBAAqB,CAAC,CAAC,CAAC;CAC7L,OAAO;EACN,GAAG;EACH;CACD;AACD;AACA,SAAS,qBAAqB,aAAa,WAAW,uBAAuB;CAC5E,MAAM,SAAS,OAAO,YAAY,OAAO,QAAQ,UAAU,MAAM,CAAC,CAAC,KAAK,CAAC,WAAW,WAAW,CAAC,WAAW,iBAAiB,aAAa,WAAW,OAAO,qBAAqB,CAAC,CAAC,CAAC;CACnL,OAAO;EACN,GAAG;EACH;CACD;AACD;AACA,SAAS,iBAAiB,aAAa,WAAW,OAAO,uBAAuB;CAC/E,MAAM,YAAY,OAAO,YAAY,OAAO,QAAQ,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,cAAc;EAC5G,IAAI,CAAC,iBAAiB,QAAQ,KAAK,SAAS,aAAa,KAAK,GAAG,OAAO,CAAC,cAAc,QAAQ;EAC/F,MAAM,WAAW,SAAS,GAAG,UAAU,KAAK,IAAI,OAAO,6BAA6B;GACnF,kBAAkB,KAAK;GACvB,GAAG,sBAAsB;IACxB;IACA;IACA;IACA;GACD,CAAC;EACF,CAAC,CAAC,CAAC;EACH,OAAO,CAAC,cAAc;GACrB,GAAG;GACH;EACD,CAAC;CACF,CAAC,CAAC;CACF,OAAO;EACN,GAAG;EACH;CACD;AACD"}
|
|
1
|
+
{"version":3,"file":"contract-authoring.mjs","names":[],"sources":["../../../../1-framework/2-authoring/contract/dist/index.mjs"],"sourcesContent":["import { AUTHORING_TYPE_DESCRIPTOR_KINDS, encodeEnumMembers, instantiateAuthoringEntityType, isAuthoringFieldPresetDescriptor, mergeAuthoringNamespaces } from \"@internal/framework-components/authoring\";\nimport { errorEnumCodecNotInPackStack } from \"@internal/errors/control\";\nimport { assertDefined } from \"@internal/utils/assertions\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/capability-registry.ts\n/**\n* Deep-merges any number of capability matrices into a single matrix.\n*\n* Merge is purely structural — namespaces and capability flags from later\n* sources overlay earlier ones. Undefined entries are skipped so callers\n* can pass optional sources without pre-filtering.\n*\n* The helper is target-agnostic: it contains no SQL or family-specific\n* knowledge. Higher layers contribute their own capability matrices (for\n* example, a target pack, an extension pack, or the contract author's\n* own `capabilities` block) and call this helper to fold them together.\n*/\nfunction mergeCapabilityMatrices(...sources) {\n\tconst result = {};\n\tfor (const source of sources) {\n\t\tif (source === void 0) continue;\n\t\tfor (const [namespace, capabilities] of Object.entries(source)) {\n\t\t\tconst existing = result[namespace];\n\t\t\tresult[namespace] = existing ? {\n\t\t\t\t...existing,\n\t\t\t\t...capabilities\n\t\t\t} : { ...capabilities };\n\t\t}\n\t}\n\treturn result;\n}\n//#endregion\n//#region src/composed-helpers-scaffolding.ts\n/**\n* Walks an entity-type namespace (after cross-pack merge) and produces the\n* runtime callable surface mirroring its tree shape. Each leaf\n* descriptor becomes a function `(input) => factory(input, ctx)`;\n* nested namespace objects recurse.\n*/\nfunction createEntityHelpersFromNamespace(namespace, options, path = []) {\n\tconst result = {};\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tconst currentPath = [...path, key];\n\t\tif (isLeafEntityDescriptor(value)) {\n\t\t\tresult[key] = createEntityHelper(currentPath.join(\".\"), value, options);\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof value === \"object\" && value !== null && !Array.isArray(value)) result[key] = createEntityHelpersFromNamespace(value, options, currentPath);\n\t}\n\treturn result;\n}\nfunction isLeafEntityDescriptor(value) {\n\tif (typeof value !== \"object\" || value === null || value.kind !== \"entity\") return false;\n\tconst discriminator = value.discriminator;\n\treturn typeof discriminator === \"string\" && discriminator.length > 0;\n}\nfunction createEntityHelper(helperPath, descriptor, options) {\n\treturn (...args) => instantiateAuthoringEntityType(helperPath, descriptor, args, options.ctx);\n}\n//#endregion\n//#region src/contract-errors.ts\nfunction contractError(code, message, options) {\n\treturn structuredError(code, message, options);\n}\n//#endregion\n//#region src/enum-type.ts\nfunction member(name, value) {\n\treturn {\n\t\tname,\n\t\tvalue: blindCast(value === void 0 ? name : value)\n\t};\n}\nconst ENUM_TYPE_HANDLE_BRAND = \"__prismaNextEnumTypeHandle__\";\nfunction describeValue(value) {\n\tif (typeof value === \"bigint\") return `${value}n`;\n\tif (typeof value === \"number\" && !Number.isFinite(value)) return String(value);\n\ttry {\n\t\treturn JSON.stringify(value) ?? String(value);\n\t} catch {\n\t\treturn String(value);\n\t}\n}\nfunction enumType(name, codec, ...members) {\n\tif (members.length === 0) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): must have at least one member.`, { meta: {\n\t\tenumName: name,\n\t\treason: \"no-members\"\n\t} });\n\tconst seenNames = /* @__PURE__ */ new Set();\n\tconst nameByValue = /* @__PURE__ */ new Map();\n\tfor (const m of members) {\n\t\tif (seenNames.has(m.name)) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): duplicate member name \"${m.name}\". Member names must be unique.`, { meta: {\n\t\t\tenumName: name,\n\t\t\tmember: m.name,\n\t\t\treason: \"duplicate-member-name\"\n\t\t} });\n\t\tseenNames.add(m.name);\n\t\tconst earlier = nameByValue.get(m.value);\n\t\tif (earlier !== void 0) throw contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${name}\"): members \"${earlier}\" and \"${m.name}\" have the same value ${describeValue(m.value)}. Member values must be unique.`, { meta: {\n\t\t\tenumName: name,\n\t\t\tmembers: [earlier, m.name],\n\t\t\treason: \"duplicate-member-value\"\n\t\t} });\n\t\tnameByValue.set(m.value, m.name);\n\t}\n\tconst values = Object.freeze(members.map((m) => m.value));\n\tconst names = Object.freeze(members.map((m) => m.name));\n\tconst enumMembers = Object.freeze(members.map((m) => ({\n\t\tname: m.name,\n\t\tvalue: m.value\n\t})));\n\tconst membersAccessor = Object.freeze(Object.fromEntries(members.map((m) => [m.name, m.value])));\n\tconst valueSet = new Set(values);\n\tconst valueToName = new Map(members.map((m) => [m.value, m.name]));\n\tconst valueToOrdinal = new Map(values.map((v, i) => [v, i]));\n\treturn {\n\t\t[ENUM_TYPE_HANDLE_BRAND]: true,\n\t\tenumName: name,\n\t\tcodecId: codec.codecId,\n\t\tenumMembers,\n\t\tvalues,\n\t\tnames,\n\t\tmembers: membersAccessor,\n\t\thas: (v) => valueSet.has(v),\n\t\tnameOf: (v) => valueToName.get(v),\n\t\tordinalOf: (v) => valueToOrdinal.get(v) ?? -1\n\t};\n}\n/** Two members of an `enumType` that store the same value, as `CONTRACT.ENUM_INVALID` naming both members and the stored value. */\nfunction duplicateMemberError(enumName, duplicate) {\n\treturn contractError(\"CONTRACT.ENUM_INVALID\", duplicate.earlierStored === void 0 ? `enumType(\"${enumName}\"): members \"${duplicate.earlier}\" and \"${duplicate.later}\" both store ${JSON.stringify(duplicate.stored)}. Member values must be unique as their codec stores them.` : `enumType(\"${enumName}\"): members \"${duplicate.earlier}\" and \"${duplicate.later}\" store ${JSON.stringify(duplicate.earlierStored)} and ${JSON.stringify(duplicate.stored)}, which the database holds equal. Member values must be unique as their data type compares them.`, { meta: {\n\t\tenumName,\n\t\tmembers: [duplicate.earlier, duplicate.later],\n\t\treason: \"duplicate-member-value\"\n\t} });\n}\n/**\n* Bind `enumType` to a target's codec typemap. The returned function is the\n* same runtime `enumType`, retyped so member values are constrained to the\n* codec's input type. Target packages call this with their pack's\n* `ExtractCodecTypesFromPack<Pack>` to expose a codec-aware `enumType`.\n*/\nfunction bindEnumType() {\n\treturn enumType;\n}\n/**\n* Returns true when the value is an `EnumTypeHandle` produced by\n* `enumType()`. Used in the lowering pipeline to detect enum handles\n* in field state without importing the brand key at every call site.\n*/\nfunction isEnumTypeHandle(value) {\n\treturn typeof value === \"object\" && value !== null && Reflect.get(value, \"__prismaNextEnumTypeHandle__\") === true;\n}\n//#endregion\n//#region src/enum-members.ts\nfunction enumMemberError(handle, problem, storedBy) {\n\tconst { enumName, codecId } = handle;\n\tswitch (problem.kind) {\n\t\tcase \"codec-not-for-enums\": return contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${enumName}\"): an enum cannot use the codec ${codecId}. ${problem.refusal}`, {\n\t\t\tfix: \"Type the enum with another codec.\",\n\t\t\tmeta: {\n\t\t\t\tenumName,\n\t\t\t\tcodecId,\n\t\t\t\treason: \"codec-not-for-enums\"\n\t\t\t}\n\t\t});\n\t\tcase \"codec-missing\": return errorEnumCodecNotInPackStack({ codecId });\n\t\tcase \"codec-refused-member\": return contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${enumName}\") member \"${problem.member}\" has a value its codec ${codecId} refuses: ${problem.reason}`, {\n\t\t\tfix: \"Give the member a value the codec takes, or type the enum with a codec that takes it.\",\n\t\t\tcause: problem.cause,\n\t\t\tmeta: {\n\t\t\t\tenumName,\n\t\t\t\tmember: problem.member,\n\t\t\t\tcodecId,\n\t\t\t\treason: \"codec-refused-member\"\n\t\t\t}\n\t\t});\n\t\tcase \"member-not-stored-as-written\": return contractError(\"CONTRACT.ENUM_INVALID\", `enumType(\"${enumName}\"): member \"${problem.member}\" is written ${problem.written}, but ${storedBy} stores ${JSON.stringify(problem.stored)}. Write the member as ${problem.writeAs}.`, { meta: {\n\t\t\tenumName,\n\t\t\tmember: problem.member,\n\t\t\treason: \"member-not-stored-as-written\"\n\t\t} });\n\t\tcase \"duplicate-member-value\": return duplicateMemberError(enumName, problem);\n\t}\n}\n/**\n* Each member of an `enumType` in the form its codec stores it, which is how the contract holds it. Throws the first problem `encodeEnumMembers` finds: `CONTRACT.ENUM_CODEC_NOT_IN_PACK_STACK` for a codec no pack provides, and `CONTRACT.ENUM_INVALID` for the others. `storedBy` names what stores the value in the family's terms, such as `the column`.\n*/\nfunction encodeEnumTypeMembers(handle, codecLookup, storedBy) {\n\tconst encoded = encodeEnumMembers(handle, codecLookup);\n\tif (encoded.ok) return encoded.value;\n\tconst [problem] = encoded.failure;\n\tassertDefined(problem, \"encodeEnumMembers fails with at least one problem\");\n\tthrow enumMemberError(handle, problem, storedBy);\n}\n//#endregion\n//#region src/field-preset-helpers.ts\nconst blockedSegments = /* @__PURE__ */ new Set([\n\t\"__proto__\",\n\t\"constructor\",\n\t\"prototype\"\n]);\nfunction assertSafeAuthoringHelperKey(key, path) {\n\tif (blockedSegments.has(key)) throw contractError(\"CONTRACT.PACK_CONTRIBUTION_INVALID\", `Invalid authoring helper \"${[...path, key].join(\".\")}\". Helper path segments must not use \"${key}\".`, { meta: {\n\t\thelperPath: [...path, key].join(\".\"),\n\t\tsegment: key\n\t} });\n}\n/**\n* 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.\n*/\nfunction createFieldHelpersFromNamespace(namespace, createLeafHelper, path = []) {\n\tconst helpers = {};\n\tfor (const [key, value] of Object.entries(namespace)) {\n\t\tassertSafeAuthoringHelperKey(key, path);\n\t\tconst currentPath = [...path, key];\n\t\tif (isAuthoringFieldPresetDescriptor(value)) {\n\t\t\thelpers[key] = createLeafHelper({\n\t\t\t\thelperPath: currentPath.join(\".\"),\n\t\t\t\tdescriptor: value\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\thelpers[key] = createFieldHelpersFromNamespace(value, createLeafHelper, currentPath);\n\t}\n\treturn helpers;\n}\nfunction isNonEmptyRecord(value) {\n\treturn typeof value === \"object\" && value !== null && Object.keys(value).length > 0;\n}\nconst descriptorKindByNamespace = {\n\ttype: {\n\t\tdescriptorKind: AUTHORING_TYPE_DESCRIPTOR_KINDS,\n\t\tlabel: \"type\"\n\t},\n\tfield: {\n\t\tdescriptorKind: \"fieldPreset\",\n\t\tlabel: \"field\"\n\t},\n\tentityTypes: {\n\t\tdescriptorKind: \"entity\",\n\t\tlabel: \"entity\"\n\t}\n};\n/**\n* Merges one authoring namespace (`type`, `field` or `entityTypes`) across the family, target and extension packs, in order. A duplicate helper path across packs throws.\n*/\nfunction composePackAuthoringNamespace(components, key) {\n\tconst { descriptorKind, label } = descriptorKindByNamespace[key];\n\tconst merged = {};\n\tfor (const component of components) {\n\t\tconst namespace = component.authoring?.[key];\n\t\tif (isNonEmptyRecord(namespace)) mergeAuthoringNamespaces(merged, namespace, [], descriptorKind, label);\n\t}\n\treturn blindCast(merged);\n}\n//#endregion\n//#region src/relation-nullability.ts\n/**\n* The one rule for whether a to-one relation may be absent. The side that holds the reference\n* (in SQL, the foreign key) is nullable exactly when one of its local fields is; the other side\n* is always nullable, because nothing in storage guarantees the related record exists. A\n* declaration that disagrees is reported as a contradiction; `nullable` is always the derived\n* value.\n*/\nfunction resolveToOneRelationNullable(input) {\n\tconst nullable = input.ownsReference ? input.localFieldNullability.some(Boolean) : true;\n\tconst declared = input.declaredNullable;\n\tif (declared === void 0 || declared === nullable) return {\n\t\tnullable,\n\t\tcontradiction: void 0\n\t};\n\treturn {\n\t\tnullable,\n\t\tcontradiction: declared ? \"declared-optional\" : \"declared-required\"\n\t};\n}\nfunction isToOneReference(relation) {\n\treturn \"on\" in relation && (relation.cardinality === \"1:1\" || relation.cardinality === \"N:1\");\n}\n/**\n* Fills in `nullable` on every same-space to-one relation that lacks it from the ownership and\n* local-field nullability the lookup reports. A cross-space relation defaults to nullable.\n* Relations that already carry the flag are left as they are.\n*/\nfunction withDerivedToOneRelationNullability(domain, localFieldNullability) {\n\tconst namespaces = Object.fromEntries(Object.entries(domain.namespaces).map(([namespaceId, namespace]) => [namespaceId, withDerivedNamespace(namespaceId, namespace, localFieldNullability)]));\n\treturn {\n\t\t...domain,\n\t\tnamespaces\n\t};\n}\nfunction withDerivedNamespace(namespaceId, namespace, localFieldNullability) {\n\tconst models = Object.fromEntries(Object.entries(namespace.models).map(([modelName, model]) => [modelName, withDerivedModel(namespaceId, modelName, model, localFieldNullability)]));\n\treturn {\n\t\t...namespace,\n\t\tmodels\n\t};\n}\nfunction withDerivedModel(namespaceId, modelName, model, localFieldNullability) {\n\tconst relations = Object.fromEntries(Object.entries(model.relations ?? {}).map(([relationName, relation]) => {\n\t\tif (!isToOneReference(relation) || relation.nullable !== void 0) return [relationName, relation];\n\t\tconst nullable = relation.to.space !== void 0 ? true : resolveToOneRelationNullable({\n\t\t\tdeclaredNullable: void 0,\n\t\t\t...localFieldNullability({\n\t\t\t\tnamespaceId,\n\t\t\t\tmodelName,\n\t\t\t\tmodel,\n\t\t\t\trelation\n\t\t\t})\n\t\t}).nullable;\n\t\treturn [relationName, {\n\t\t\t...relation,\n\t\t\tnullable\n\t\t}];\n\t}));\n\treturn {\n\t\t...model,\n\t\trelations\n\t};\n}\n//#endregion\nexport { ENUM_TYPE_HANDLE_BRAND, assertSafeAuthoringHelperKey, bindEnumType, composePackAuthoringNamespace, createEntityHelpersFromNamespace, createFieldHelpersFromNamespace, encodeEnumTypeMembers, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };\n\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,SAAS,wBAAwB,GAAG,SAAS;CAC5C,MAAM,SAAS,CAAC;CAChB,KAAK,MAAM,UAAU,SAAS;EAC7B,IAAI,WAAW,KAAK,GAAG;EACvB,KAAK,MAAM,CAAC,WAAW,iBAAiB,OAAO,QAAQ,MAAM,GAAG;GAC/D,MAAM,WAAW,OAAO;GACxB,OAAO,aAAa,WAAW;IAC9B,GAAG;IACH,GAAG;GACJ,IAAI,EAAE,GAAG,aAAa;EACvB;CACD;CACA,OAAO;AACR;;;;;;;AASA,SAAS,iCAAiC,WAAW,SAAS,OAAO,CAAC,GAAG;CACxE,MAAM,SAAS,CAAC;CAChB,KAAK,MAAM,CAAC,KAAK,UAAU,OAAO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CAAC,CAAC,KAAK,CAAC,WAAW,WAAW,CAAC,WAAW,iBAAiB,aAAa,WAAW,OAAO,qBAAqB,CAAC,CAAC,CAAC;CACnL,OAAO;EACN,GAAG;EACH;CACD;AACD;AACA,SAAS,iBAAiB,aAAa,WAAW,OAAO,uBAAuB;CAC/E,MAAM,YAAY,OAAO,YAAY,OAAO,QAAQ,MAAM,aAAa,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,cAAc;EAC5G,IAAI,CAAC,iBAAiB,QAAQ,KAAK,SAAS,aAAa,KAAK,GAAG,OAAO,CAAC,cAAc,QAAQ;EAC/F,MAAM,WAAW,SAAS,GAAG,UAAU,KAAK,IAAI,OAAO,6BAA6B;GACnF,kBAAkB,KAAK;GACvB,GAAG,sBAAsB;IACxB;IACA;IACA;IACA;GACD,CAAC;EACF,CAAC,CAAC,CAAC;EACH,OAAO,CAAC,cAAc;GACrB,GAAG;GACH;EACD,CAAC;CACF,CAAC,CAAC;CACF,OAAO;EACN,GAAG;EACH;CACD;AACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as StructuredError, i as NextAction, r as Diagnostic } from "./structured-error-Cc7AIRsp.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { At as ResolvedMigrationStatement } from "./control-BC7a9D7N.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/errors/dist/control-B5ezUWD2.d.mts
|
|
4
4
|
//#region src/control.d.ts
|
|
5
5
|
/**
|
|
@@ -270,4 +270,4 @@ declare function errorUnexpected(message: string, options?: {
|
|
|
270
270
|
}): CliStructuredError;
|
|
271
271
|
//#endregion
|
|
272
272
|
export { errorOutputFormatMutex as C, errorUnexpected as E, errorMigrationPlanningFailed as S, errorTargetMigrationNotSupported as T, errorInvalidOutputFormat as _, errorConfigEvaluationFailed as a, errorMigrationCliInvalidConfigArg as b, errorConfigVersionMarkerMissing as c, errorContractValidationFailed as d, errorDatabaseConnectionRequired as f, errorFileNotFound as g, errorFamilyReadMarkerSqlRequired as h, CliStructuredError as i, errorContractConfigMissing as l, errorEnumCodecNotInPackStack as m, CliErrorConflict as n, errorConfigFileNotFound as o, errorDriverRequired as p, CliErrorEnvelope as r, errorConfigValidation as s, CheckedMigrationConfig as t, errorContractMissingExtensions as u, errorJsonFormatNotSupported as v, errorQueryRunnerFactoryRequired as w, errorMigrationCliUnknownFlag as x, errorMigrationCliConfigNotFound as y };
|
|
273
|
-
//# sourceMappingURL=control-B5ezUWD2-
|
|
273
|
+
//# sourceMappingURL=control-B5ezUWD2-CWp9npSb.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-B5ezUWD2-
|
|
1
|
+
{"version":3,"file":"control-B5ezUWD2-CWp9npSb.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/control-B5ezUWD2.d.mts"],"mappings":";;;;;;;;;;;;;;;;UAeU;WACC;WACA;WACA;WACA;WACA;WACA;WACA,sBAAsB;WACtB,uBAAuB;WACvB;aACE;aACA;;WAEF,OAAO;WACP;;;;;UAKD;WACC;WACA;WACA;;WAEA,mBAAmB;;WAEnB,WAAW,SAAS;aAClB;;;;;;;;;;;;;;cAcC,2BAA2B,iBAAiB;WAC/C;WACA;WACA;WACA;WACA,uBAAuB;WACvB,uBAAuB;WACvB;aACE;aACA;;WAEF,OAAO;WACP;EACT,YAAY,6BAA6B,iBAAiB;aAC/C;aACA;aACA;aACA,uBAAuB;aACvB,uBAAuB;aACvB;eACE;eACA;;aAEF,OAAO;aACP;aACA;;;;;;;;EAQX,cAAc;;;;;SAKP,GAAG,iBAAiB,SAAS;;;;;iBAKrB,wBAAwB,qBAAqB;WACnD;IACP;;;;iBAIa,4BAA4B,gCAAgC;WAClE;WACA;IACP;;;;;;iBAMa,gCAAgC,sBAAsB;;;;iBAItD,2BAA2B;WACjC;IACP;;;;iBAIa,8BAA8B,gBAAgB;WACpD;aACE;aACA;;WAEF;;WAEA,OAAO;IACd;;;;iBAIa,kBAAkB,kBAAk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