@prisma/orm-framework 8.0.0-rc.21-dev.4 → 8.0.0-rc.21-dev.6
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/{apply-specifier-default-control-policy-Dlz0iwnK.d.mts → apply-specifier-default-control-policy-BSgLNgKj.d.mts} +2 -2
- package/dist/apply-specifier-default-control-policy-BSgLNgKj.d.mts.map +1 -0
- package/dist/{authoring-C2UAuRfN.d.mts → authoring-D75oR8Nt.d.mts} +5 -5
- package/dist/{authoring-C2UAuRfN.d.mts.map → authoring-D75oR8Nt.d.mts.map} +1 -1
- package/dist/{binder-BszqDG1t-icu83_4f.d.mts → binder-BszqDG1t-pSH-fXt5.d.mts} +12 -12
- package/dist/{binder-BszqDG1t-icu83_4f.d.mts.map → binder-BszqDG1t-pSH-fXt5.d.mts.map} +1 -1
- package/dist/{canonicalization-CyrrXGmj-CeKUkht1.d.mts → canonicalization-BIS6ONYT-VttZI7M4.d.mts} +3 -3
- package/dist/{canonicalization-CyrrXGmj-CeKUkht1.d.mts.map → canonicalization-BIS6ONYT-VttZI7M4.d.mts.map} +1 -1
- package/dist/{codec-CZ3VQq7G.d.mts → codec-h0kvF5B8.d.mts} +4 -3
- package/dist/codec-h0kvF5B8.d.mts.map +1 -0
- package/dist/{codec-types-B4wPvO-K-BqcGrCE-.d.mts → codec-types-B4wPvO-K-BIPFT7EP.d.mts} +2 -2
- package/dist/{codec-types-B4wPvO-K-BqcGrCE-.d.mts.map → codec-types-B4wPvO-K-BIPFT7EP.d.mts.map} +1 -1
- package/dist/{components-BenCVFk4.d.mts → components-CHWGZJ5q.d.mts} +5 -5
- package/dist/{components-BenCVFk4.d.mts.map → components-CHWGZJ5q.d.mts.map} +1 -1
- package/dist/components.d.mts +17 -17
- package/dist/components.mjs +2 -2
- package/dist/components__authoring.d.mts +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__emission.d.mts +3 -3
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__ir.d.mts +2 -2
- package/dist/components__ir.mjs +2 -2
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/components__runtime.d.mts +1 -1
- package/dist/{config-types-BJ79TZCl.d.mts → config-types-B0JjhuaX.d.mts} +8 -8
- package/dist/{config-types-BJ79TZCl.d.mts.map → config-types-B0JjhuaX.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +6 -6
- package/dist/{contract-types-DEIEpzU_-DvAVuBr5.d.mts → contract-types-ib-VnKHG-l9vE5Vd-.d.mts} +22 -8
- package/dist/contract-types-ib-VnKHG-l9vE5Vd-.d.mts.map +1 -0
- package/dist/contract.d.mts +13 -11
- package/dist/contract.mjs +5 -3
- package/dist/contract__apply-specifier-default-control-policy.d.mts +1 -1
- package/dist/contract__enum-accessor.d.mts +1 -1
- package/dist/contract__hashing-utils.d.mts +1 -1
- package/dist/contract__hashing.d.mts +2 -2
- package/dist/contract__resolve-domain-model.d.mts +1 -1
- package/dist/contract__types.d.mts +6 -5
- package/dist/contract__types.mjs +3 -2
- package/dist/contract__validate-domain.d.mts +2 -2
- package/dist/contract__validate-domain.mjs +2 -2
- package/dist/contract__validate-storage.d.mts +2 -0
- package/dist/contract__validate-storage.mjs +2 -0
- package/dist/{control-BeXOxtXA-BU8y-LiK.d.mts → control-BeXOxtXA-DyPvQsqJ.d.mts} +2 -2
- package/dist/{control-BeXOxtXA-BU8y-LiK.d.mts.map → control-BeXOxtXA-DyPvQsqJ.d.mts.map} +1 -1
- package/dist/{control-CS1uqJj_.d.mts → control-BrO2h8ed.d.mts} +24 -12
- package/dist/control-BrO2h8ed.d.mts.map +1 -0
- package/dist/control-COPuZO7V.d.mts +1 -0
- package/dist/domain-envelope-CJNIHBn_-DBFAmkNL.d.mts +191 -0
- package/dist/domain-envelope-CJNIHBn_-DBFAmkNL.d.mts.map +1 -0
- package/dist/emission-DGYCaKjl.d.mts +2 -0
- package/dist/{emission-types-bX2HmNSC-C9vDMKbg.d.mts → emission-types-bX2HmNSC-vaRddb1_.d.mts} +6 -5
- package/dist/emission-types-bX2HmNSC-vaRddb1_.d.mts.map +1 -0
- package/dist/{enum-accessor-2OZgavDX.d.mts → enum-accessor-BXc2Jseo.d.mts} +4 -3
- package/dist/enum-accessor-BXc2Jseo.d.mts.map +1 -0
- package/dist/errors.d.mts +4 -4
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/{execution-BPJbNttJ.d.mts → execution-BhFeCTkt.d.mts} +2 -2
- package/dist/{execution-BPJbNttJ.d.mts.map → execution-BhFeCTkt.d.mts.map} +1 -1
- package/dist/{execution-BWR_z8XI.d.mts → execution-Cgkrs6UV.d.mts} +2 -2
- package/dist/{execution-BWR_z8XI.d.mts.map → execution-Cgkrs6UV.d.mts.map} +1 -1
- package/dist/field-problems-DMpmScuG-R70w-aDk.mjs +41 -0
- package/dist/field-problems-DMpmScuG-R70w-aDk.mjs.map +1 -0
- package/dist/{framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts → framework-authoring-ebqZ8M_M-Bdi8MutX.d.mts} +3 -3
- package/dist/{framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts.map → framework-authoring-ebqZ8M_M-Bdi8MutX.d.mts.map} +1 -1
- package/dist/{framework-components-BqHA1V92-D9j8uXa-.d.mts → framework-components-BqHA1V92-D_nUDFf9.d.mts} +4 -4
- package/dist/{framework-components-BqHA1V92-D9j8uXa-.d.mts.map → framework-components-BqHA1V92-D_nUDFf9.d.mts.map} +1 -1
- package/dist/{hashing-D-DHz0zl.d.mts → hashing-Ca2uTBmm.d.mts} +4 -4
- package/dist/{hashing-D-DHz0zl.d.mts.map → hashing-Ca2uTBmm.d.mts.map} +1 -1
- package/dist/{hashing-utils-DiGHKd3b.d.mts → hashing-utils-daflaalA.d.mts} +2 -2
- package/dist/{hashing-utils-DiGHKd3b.d.mts.map → hashing-utils-daflaalA.d.mts.map} +1 -1
- package/dist/ids__runtime.d.mts +1 -1
- package/dist/{ir-uDGU9vaj.mjs → ir-B7QKO3dq.mjs} +18 -2
- package/dist/ir-B7QKO3dq.mjs.map +1 -0
- package/dist/{ir-LV4tXsw3.d.mts → ir-DoVMhmqa.d.mts} +10 -25
- package/dist/ir-DoVMhmqa.d.mts.map +1 -0
- package/dist/{migration-Dk1sYIvs.d.mts → migration-CMMT3vcR.d.mts} +2 -2
- package/dist/{migration-Dk1sYIvs.d.mts.map → migration-CMMT3vcR.d.mts.map} +1 -1
- package/dist/{parse-djL5wker-DnMlKOii.d.mts → parse-djL5wker-Bf4uawTE.d.mts} +6 -6
- package/dist/{parse-djL5wker-DnMlKOii.d.mts.map → parse-djL5wker-Bf4uawTE.d.mts.map} +1 -1
- package/dist/{psl-ast-0oMzInxd-Nx9cHmcc.d.mts → psl-ast-0oMzInxd-BjKbrwNk.d.mts} +2 -2
- package/dist/{psl-ast-0oMzInxd-Nx9cHmcc.d.mts.map → psl-ast-0oMzInxd-BjKbrwNk.d.mts.map} +1 -1
- package/dist/psl-ast-DjTRQDW7.d.mts +2 -0
- package/dist/psl-parser.d.mts +10 -10
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__interpret.d.mts +7 -7
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-printer.d.mts +4 -4
- package/dist/{resolve-domain-model-BNr1glea-BLuR-phK.d.mts → resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts} +3 -3
- package/dist/resolve-domain-model-CZ5E6qxa-Caq2Becx.d.mts.map +1 -0
- package/dist/{runtime-CTJc8PII.d.mts → runtime-BERs-lBJ.d.mts} +4 -4
- package/dist/{runtime-CTJc8PII.d.mts.map → runtime-BERs-lBJ.d.mts.map} +1 -1
- package/dist/storage-value-objects-Di8Cowdl-QNqJXkk0.mjs +28 -0
- package/dist/storage-value-objects-Di8Cowdl-QNqJXkk0.mjs.map +1 -0
- package/dist/{temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts → temporal-type-aliases-BIiamFSH-DLxWO37e.d.mts} +3 -3
- package/dist/{temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts.map → temporal-type-aliases-BIiamFSH-DLxWO37e.d.mts.map} +1 -1
- package/dist/{types-B8ULzMAX.mjs → types-Boh5NGDz.mjs} +52 -9
- package/dist/types-Boh5NGDz.mjs.map +1 -0
- package/dist/types-CkFfDIud-C1u8M2UE.d.mts +196 -0
- package/dist/types-CkFfDIud-C1u8M2UE.d.mts.map +1 -0
- package/dist/{types-GNXJ7xW2.d.mts → types-Dh_AMVRf.d.mts} +145 -25
- package/dist/types-Dh_AMVRf.d.mts.map +1 -0
- package/dist/{types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts → types-import-spec-Bkh243Hv-BI9m5WFL.d.mts} +3 -3
- package/dist/{types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts.map → types-import-spec-Bkh243Hv-BI9m5WFL.d.mts.map} +1 -1
- package/dist/{validate-domain-CbXHDYpF.mjs → validate-domain-KUhPCj7i.mjs} +18 -35
- package/dist/validate-domain-KUhPCj7i.mjs.map +1 -0
- package/dist/{validate-domain-B5kmlBFB.d.mts → validate-domain-eU07L3vi.d.mts} +7 -3
- package/dist/{validate-domain-B5kmlBFB.d.mts.map → validate-domain-eU07L3vi.d.mts.map} +1 -1
- package/dist/validate-storage-CGeJ-62G.mjs +31 -0
- package/dist/validate-storage-CGeJ-62G.mjs.map +1 -0
- package/dist/validate-storage-ChcQuhTb.d.mts +10 -0
- package/dist/validate-storage-ChcQuhTb.d.mts.map +1 -0
- package/package.json +16 -15
- package/dist/apply-specifier-default-control-policy-Dlz0iwnK.d.mts.map +0 -1
- package/dist/codec-CZ3VQq7G.d.mts.map +0 -1
- package/dist/contract-types-DEIEpzU_-DvAVuBr5.d.mts.map +0 -1
- package/dist/control-B3OS8JEw.d.mts +0 -1
- package/dist/control-CS1uqJj_.d.mts.map +0 -1
- package/dist/domain-envelope-CN721GnP-4huRt7Wc.d.mts +0 -373
- package/dist/domain-envelope-CN721GnP-4huRt7Wc.d.mts.map +0 -1
- package/dist/emission-ByTWEe2j.d.mts +0 -2
- package/dist/emission-types-bX2HmNSC-C9vDMKbg.d.mts.map +0 -1
- package/dist/enum-accessor-2OZgavDX.d.mts.map +0 -1
- package/dist/ir-LV4tXsw3.d.mts.map +0 -1
- package/dist/ir-uDGU9vaj.mjs.map +0 -1
- package/dist/psl-ast-CFQfCJeM.d.mts +0 -2
- package/dist/resolve-domain-model-BNr1glea-BLuR-phK.d.mts.map +0 -1
- package/dist/types-B8ULzMAX.mjs.map +0 -1
- package/dist/types-GNXJ7xW2.d.mts.map +0 -1
- package/dist/validate-domain-CbXHDYpF.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as LoweredDefaultValue, F as ControlMutationDefaultEntry, I as ControlMutationDefaultRegistry, L as ControlMutationDefaults, Q as LoweredDefaultResult, V as DefaultFunctionLoweringContext, _t as SourceSpan, et as MutationDefaultGeneratorDescriptor, gt as SourceDiagnostic, n as AssembledControlMutationDefaults, vt as TypedDefaultFunctionCall } from "./framework-authoring-ebqZ8M_M-
|
|
2
|
-
import { g as timestampNowControlDescriptor, i as TAGGED_LITERAL_MAX_BYTES, m as resolveTemplateTagEscapes, p as resolvePslBacktickEscapes, u as describeTaggedLiteralFailure } from "./temporal-type-aliases-BIiamFSH-
|
|
1
|
+
import { $ as LoweredDefaultValue, F as ControlMutationDefaultEntry, I as ControlMutationDefaultRegistry, L as ControlMutationDefaults, Q as LoweredDefaultResult, V as DefaultFunctionLoweringContext, _t as SourceSpan, et as MutationDefaultGeneratorDescriptor, gt as SourceDiagnostic, n as AssembledControlMutationDefaults, vt as TypedDefaultFunctionCall } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
2
|
+
import { g as timestampNowControlDescriptor, i as TAGGED_LITERAL_MAX_BYTES, m as resolveTemplateTagEscapes, p as resolvePslBacktickEscapes, u as describeTaggedLiteralFailure } from "./temporal-type-aliases-BIiamFSH-DLxWO37e.mjs";
|
|
3
3
|
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
4
|
-
import { $ as MigrationPlanWithAuthoringSurface, $n as
|
|
5
|
-
export { APP_SPACE_ID, type AppliedMigrationStatement, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type BlockingObject, CONTRACT_SNAPSHOTS_DIRNAME, type CheckExpectation, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExpectationFailureReason, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FieldCoordinate, type FieldCoordinateJson, type HelperCodecInvariantInput, type ImportRequirement, type IntrospectSchemaResult, type KeepDataEdit, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PlanOrigin, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, type PslSourceSettings, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type RowsHoldingValue, type RowsWithoutValue, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isRenameStatement, isStorageHashHex, issueLabel, issueOutcome, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, orderIssuesByDependencies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, timestampNowControlDescriptor, withDatabaseUnchanged, withFailingSpace };
|
|
4
|
+
import { $ as MigrationPlanWithAuthoringSurface, $n as migrationRunnerFailure, $t as SchemaTreeVisitor, A as FailedCast, An as enumValueCoordinateFromJson, At as PslContractInferCapable, B as MigratableTargetDescriptor, Bn as failedPostcheckWhy, Bt as RowsFailingCheck, C as CreateControlStackInput, Cn as contractSnapshotJsonSpecifier, Ct as OperationContext, D as EnumValueCoordinate, Dn as diffSchemas, Dt as PlanOrigin, E as EmitContractResult, En as describeMigrationStatement, Et as OperationPreviewStatement, F as FieldCoordinateJson, Fn as extractCodecLookup, Ft as ResolvedFieldRenameStatement, G as MigrationOperationClass, Gn as hasPslContractBuild, Gt as SchemaEntityCoordinate, H as MigrationDataLoss, Hn as fieldStatementText, Ht as RowsWithoutValue, I as HelperCodecInvariantInput, In as extractCodecTypeImports, It as ResolvedMigrationStatement, J as MigrationPackage, Jn as hasSchemaView, Jt as SchemaNodeRef, K as MigrationOperationPolicy, Kn as hasPslContractInfer, Kt as SchemaLabelPart, L as IntrospectSchemaResult, Ln as extractComponentIds, Lt as ResolvedModelRenameStatement, M as FailedConversion, Mn as enumValueStatementText, Mt as ResolvedEnumValueRenameStatement, N as FailedTypeChange, Nn as expectAbsent, Nt as ResolvedFieldBackfillStatement, O as EnumValueCoordinateJson, On as dispositionForCategory, Ot as PslContractBuildCapable, P as FieldCoordinate, Pn as expectPresent, Pt as ResolvedFieldConvertStatement, Q as MigrationPlanSubjects, Qn as issueOutcome, Qt as SchemaTreeNodeOptions, R as KeepDataEdit, Rn as extractParameterizedOutputTypeImports, Rt as ResolvedNamespaceRenameStatement, S as CoreSchemaView, Sn as buildExtensionLoadOrder, St as OpFactoryCall, T as DiffableNode, Tn as createControlStack, Tt as OperationPreviewCapable, U as MigrationDataLossKind, Un as hasMigrations, Ut as SchemaDiff, V as MigrationAccessChange, Vn as failedPrecheckWhy, Vt as RowsHoldingValue, W as MigrationMetadata, Wn as hasOperationPreview, Wt as SchemaDiffIssue, X as MigrationPlanNamespaces, Xn as isStorageHashHex, Xt as SchemaSubjectClassifierCapable, Y as MigrationPlan, Yn as isRenameStatement, Yt as SchemaOwnership, Z as MigrationPlanOperation, Zn as issueLabel, Zt as SchemaTreeNode, _ as ControlFamilyDescriptor, _n as VerifyDatabaseResult, _t as MigrationTemporaryValue, a as CONTRACT_SNAPSHOTS_DIRNAME, an as SpaceMarkerConflict, ar as orderIssuesByDependencies, at as MigrationRunner, b as ControlTargetDescriptor, bn as assembleControlMutationDefaults, bt as ModelCoordinate, c as ContractSpace, cn as SpaceToSign, cr as schemaCheckWhy, ct as MigrationRunnerFailureMeta, d as ControlAdapterInstance, dn as VERIFY_CODE_MARKER_MISSING, dr as withDatabaseUnchanged, dt as MigrationRunnerResult, en as SchemaVerifier, er as migrationStatementJson, et as MigrationPlanner, f as ControlDriverConnectOptions, fn as VERIFY_CODE_SCHEMA_FAILURE, fr as withFailingSpace, ft as MigrationRunnerSuccessValue, g as ControlExtensionInstance, gn as VerifierOutcome, gt as MigrationSubjectJson, h as ControlExtensionDescriptor, hn as VerifierIssueCategory, ht as MigrationSubject, i as BlockingObject, in as SchemaViewNodeKind, ir as modelStatementText, it as MigrationPlannerSuccessResult, j as FailedCheck, jn as enumValueCoordinateJson, jt as PslSourceSettings, k as ExpectationFailureReason, kn as enforceHelperCodecInvariants, kt as PslContractDocument, l as ContractSpaceHeadRef, ln as TargetMigrationsCapability, lr as schemaIssuesWhy, lt as MigrationRunnerPerSpaceOptions, m as ControlDriverInstance, mn as VerificationStatus, mt as MigrationStatementJson, n as AppliedMigrationStatement, nn as SchemaVerifyResult, nr as migrationSubjectKey, nt as MigrationPlannerFailureResult, o as CheckExpectation, on as SpaceSignature, or as planOriginOf, ot as MigrationRunnerExecutionChecks, p as ControlDriverDescriptor, pn as VERIFY_CODE_TARGET_MISMATCH, pt as MigrationScaffoldContext, q as MigrationOperationSubject, qn as hasSchemaSubjectClassifier, qt as SchemaLabelPartRole, r as AssembledAuthoringContributions, rn as SchemaViewCapable, rr as modelDisplayName, rt as MigrationPlannerResult, s as ContractSerializer, sn as SpaceSigned, sr as sameMarkerHashes, st as MigrationRunnerFailure, t as APP_SPACE_ID, tn as SchemaVerifyOptions, tr as migrationSubjectJson, tt as MigrationPlannerConflict, u as ControlAdapterDescriptor, un as VERIFY_CODE_HASH_MISMATCH, ur as storageHashHex, ut as MigrationRunnerPerSpaceSuccessValue, v as ControlFamilyInstance, vn as VerifyDatabaseSchemaResult, vt as MismatchCause, w as DiffSubjectGranularity, wn as contractSnapshotTypesSpecifier, wt as OperationPreview, x as ControlTargetInstance, xn as assertUniqueCodecOwner, xt as ModelCoordinateJson, y as ControlStack, yn as assembleAuthoringContributions, yt as MismatchExplanation, z as MarkerHashes, zn as extractQueryOperationTypeImports, zt as ResolvedRenameStatement } from "./control-BrO2h8ed.mjs";
|
|
5
|
+
export { APP_SPACE_ID, type AppliedMigrationStatement, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type BlockingObject, CONTRACT_SNAPSHOTS_DIRNAME, type CheckExpectation, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExpectationFailureReason, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FieldCoordinate, type FieldCoordinateJson, type HelperCodecInvariantInput, type ImportRequirement, type IntrospectSchemaResult, type KeepDataEdit, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PlanOrigin, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, type PslSourceSettings, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type RowsFailingCheck, type RowsHoldingValue, type RowsWithoutValue, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isRenameStatement, isStorageHashHex, issueLabel, issueOutcome, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, orderIssuesByDependencies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, timestampNowControlDescriptor, withDatabaseUnchanged, withFailingSpace };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as TypesImportSpec } from "./types-import-spec-Bkh243Hv-
|
|
2
|
-
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-bX2HmNSC-
|
|
3
|
-
import "./emission-
|
|
1
|
+
import { l as TypesImportSpec } from "./types-import-spec-Bkh243Hv-BI9m5WFL.mjs";
|
|
2
|
+
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-bX2HmNSC-vaRddb1_.mjs";
|
|
3
|
+
import "./emission-DGYCaKjl.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-Cgkrs6UV.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,3 +1,3 @@
|
|
|
1
1
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
2
|
-
import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as
|
|
3
|
-
export { type AnyEntityKindDescriptor, type DefaultNamespaceEntries, type
|
|
2
|
+
import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNodeBase, b as freezeNode, c as NamespacedEntities, d as StorageType, f as UNBOUND_NAMESPACE_ID, g as coordinateKey, h as changedElementCoordinates, i as IRNode, l as SingleNamespaceView, m as buildSingleNamespaceView, n as DefaultNamespaceEntries, o as Namespace, p as buildNamespacedEntities, r as EntityKindDescriptor, s as NamespaceBase, t as AnyEntityKindDescriptor, u as Storage, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-DoVMhmqa.mjs";
|
|
3
|
+
export { type AnyEntityKindDescriptor, type DefaultNamespaceEntries, type EntityKindDescriptor, type IRNode, IRNodeBase, type Namespace, NamespaceBase, type NamespacedEntities, type SingleNamespaceView, type Storage, type StorageType, UNBOUND_NAMESPACE_ID, buildNamespacedEntities, buildSingleNamespaceView, changedElementCoordinates, coordinateKey, domainElementCoordinates, elementCoordinates, entityAt, freezeNode, hydrateNamespaceEntities, isPlainRecord, promoteBuiltinKinds };
|
package/dist/components__ir.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as isPlainRecord } from "./is-plain-record-CUofyVQ7-DWEzdhIx.mjs";
|
|
2
2
|
import { i as freezeNode, n as NamespaceBase, r as UNBOUND_NAMESPACE_ID, t as IRNodeBase } from "./namespace-VUH2dgnS-By5y75h9.mjs";
|
|
3
|
-
import { a as
|
|
4
|
-
export { IRNodeBase, NamespaceBase, UNBOUND_NAMESPACE_ID, buildNamespacedEntities, buildSingleNamespaceView, coordinateKey, domainElementCoordinates, elementCoordinates, entityAt, freezeNode, hydrateNamespaceEntities, isPlainRecord, promoteBuiltinKinds };
|
|
3
|
+
import { a as domainElementCoordinates, c as hydrateNamespaceEntities, i as coordinateKey, l as promoteBuiltinKinds, n as buildSingleNamespaceView, o as elementCoordinates, r as changedElementCoordinates, s as entityAt, t as buildNamespacedEntities } from "./ir-B7QKO3dq.mjs";
|
|
4
|
+
export { IRNodeBase, NamespaceBase, UNBOUND_NAMESPACE_ID, buildNamespacedEntities, buildSingleNamespaceView, changedElementCoordinates, coordinateKey, domainElementCoordinates, elementCoordinates, entityAt, freezeNode, hydrateNamespaceEntities, isPlainRecord, promoteBuiltinKinds };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as ContributedPslDiagnosticCode, at as PslExtensionBlock, ct as PslExtensionBlockParsedAttribute, dt as PslSpan, it as PslDiagnosticCode, lt as PslExtensionBlockPrintEntry, ot as PslExtensionBlockAttribute, st as PslExtensionBlockAttributeArg, tt as ParsedPslExtensionBlock, ut as PslPosition, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-ebqZ8M_M-
|
|
2
|
-
import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-0oMzInxd-
|
|
3
|
-
import "./psl-ast-
|
|
1
|
+
import { P as ContributedPslDiagnosticCode, at as PslExtensionBlock, ct as PslExtensionBlockParsedAttribute, dt as PslSpan, it as PslDiagnosticCode, lt as PslExtensionBlockPrintEntry, ot as PslExtensionBlockAttribute, st as PslExtensionBlockAttributeArg, tt as ParsedPslExtensionBlock, ut as PslPosition, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
2
|
+
import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-0oMzInxd-BjKbrwNk.mjs";
|
|
3
|
+
import "./psl-ast-DjTRQDW7.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-BERs-lBJ.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,12 +1,12 @@
|
|
|
1
|
-
import { t as Contract } from "./contract-types-
|
|
2
|
-
import { p as CodecLookupWithDescriptors } from "./codec-types-B4wPvO-K-
|
|
1
|
+
import { t as Contract } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
2
|
+
import { p as CodecLookupWithDescriptors } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
3
3
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
4
|
-
import { J as GeneratorFunctionRegistry, L as ControlMutationDefaults, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-
|
|
5
|
-
import "./authoring-
|
|
6
|
-
import "./codec-
|
|
4
|
+
import { J as GeneratorFunctionRegistry, L as ControlMutationDefaults, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
5
|
+
import "./authoring-D75oR8Nt.mjs";
|
|
6
|
+
import "./codec-h0kvF5B8.mjs";
|
|
7
7
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
8
|
-
import "./components-
|
|
9
|
-
import { _ as ControlFamilyDescriptor, b as ControlTargetDescriptor, h as ControlExtensionDescriptor, m as ControlDriverInstance, p as ControlDriverDescriptor, r as AssembledAuthoringContributions, u as ControlAdapterDescriptor } from "./control-
|
|
8
|
+
import "./components-CHWGZJ5q.mjs";
|
|
9
|
+
import { _ as ControlFamilyDescriptor, b as ControlTargetDescriptor, h as ControlExtensionDescriptor, m as ControlDriverInstance, p as ControlDriverDescriptor, r as AssembledAuthoringContributions, u as ControlAdapterDescriptor } from "./control-BrO2h8ed.mjs";
|
|
10
10
|
//#region ../../../1-framework/1-core/config/dist/config-types.d.mts
|
|
11
11
|
//#region src/contract-source-types.d.ts
|
|
12
12
|
interface ContractSourceDiagnosticPosition {
|
|
@@ -205,4 +205,4 @@ declare function defineConfig<TFamilyId extends string = string, TTargetId exten
|
|
|
205
205
|
declare function defaultContractOutputPath(contractPath: string): string;
|
|
206
206
|
//#endregion
|
|
207
207
|
export { defaultContractOutputPath as _, ContractSourceDiagnosticSpan as a, ContractSourceProvider as c, FormatterConfig as d, PrismaNextConfig as f, TypeScriptContractSourceProvider as g, PslParserOptions as h, ContractSourceDiagnosticPosition as i, ContractSourceProviderBase as l, PslGrammar as m, ContractSourceContext as n, ContractSourceDiagnostics as o, PslContractSourceProvider as p, ContractSourceDiagnostic as r, ContractSourceFormat as s, ContractConfig as t, DEFAULT_CONTRACT_SOURCE_DIR as u, defineConfig as v, normalizeContractConfig as y };
|
|
208
|
-
//# sourceMappingURL=config-types-
|
|
208
|
+
//# sourceMappingURL=config-types-B0JjhuaX.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-types-
|
|
1
|
+
{"version":3,"file":"config-types-B0JjhuaX.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-B0JjhuaX.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-B0JjhuaX.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
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { p as CodecLookupWithDescriptors } from "./codec-types-B4wPvO-K-
|
|
4
|
-
import { O as AuthoringTypeNamespace, f as AuthoringEntityTypeNamespace, i as AuthoringArgumentDescriptor, l as AuthoringEntityContext, u as AuthoringEntityTypeDescriptor } from "./framework-authoring-ebqZ8M_M-
|
|
5
|
-
import { m as EnumMemberProblem, u as EncodedEnumMember } from "./authoring-
|
|
6
|
-
import { s as ColumnTypeDescriptor } from "./codec-
|
|
1
|
+
import { _ as ContractToOneRelation, t as ApplicationDomain, u as ContractModelBase } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
2
|
+
import { l as ParameterizedOutputTypesFunction } from "./types-Dh_AMVRf.mjs";
|
|
3
|
+
import { p as CodecLookupWithDescriptors } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
4
|
+
import { O as AuthoringTypeNamespace, f as AuthoringEntityTypeNamespace, i as AuthoringArgumentDescriptor, l as AuthoringEntityContext, u as AuthoringEntityTypeDescriptor } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
5
|
+
import { m as EnumMemberProblem, u as EncodedEnumMember } from "./authoring-D75oR8Nt.mjs";
|
|
6
|
+
import { s as ColumnTypeDescriptor } from "./codec-h0kvF5B8.mjs";
|
|
7
7
|
import { a as StructuredError } from "./structured-error-Cc7AIRsp.mjs";
|
|
8
8
|
//#region ../../../1-framework/2-authoring/contract/dist/index.d.mts
|
|
9
9
|
//#region src/authoring-argument-types.d.ts
|
package/dist/{contract-types-DEIEpzU_-DvAVuBr5.d.mts → contract-types-ib-VnKHG-l9vE5Vd-.d.mts}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { C as StorageBase, l as ExecutionHashBase, u as ExecutionMutationDefault, x as ProfileHashBase } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { t as ApplicationDomain, v as ContractValueObject, x as CrossReference } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
3
|
+
//#region ../../../1-framework/0-foundation/contract/dist/contract-types-ib-VnKHG.d.mts
|
|
3
4
|
//#region src/control-policy.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Governance posture for a storage-plane node or for the contract as a whole.
|
|
@@ -61,7 +62,7 @@ interface Contract<TStorage extends StorageBase = StorageBase> {
|
|
|
61
62
|
readonly targetFamily: string;
|
|
62
63
|
readonly roots: Record<string, CrossReference>;
|
|
63
64
|
/**
|
|
64
|
-
* Application plane (ADR 221): `domain.namespaces.<nsId>.{ models,
|
|
65
|
+
* Application plane (ADR 221): `domain.namespaces.<nsId>.{ models, enum }`.
|
|
65
66
|
*/
|
|
66
67
|
readonly domain: ApplicationDomain;
|
|
67
68
|
readonly storage: TStorage;
|
|
@@ -74,10 +75,23 @@ interface Contract<TStorage extends StorageBase = StorageBase> {
|
|
|
74
75
|
}
|
|
75
76
|
type ExactlyOneNamespace<T extends Record<string, unknown>> = keyof T extends (infer Only extends keyof T) ? [keyof T] extends [Only] ? Only : never : never;
|
|
76
77
|
type NamespaceValueObjectsOf<TNamespace> = TNamespace extends {
|
|
77
|
-
readonly
|
|
78
|
+
readonly entries: {
|
|
79
|
+
readonly valueObject?: infer VO;
|
|
80
|
+
};
|
|
78
81
|
} ? VO extends Record<string, ContractValueObject> ? VO : Record<never, never> : Record<never, never>;
|
|
79
|
-
/**
|
|
80
|
-
type
|
|
82
|
+
/** The value object of `TStorage` that `TReference` names, at `namespaces[namespaceId].entries.valueObject[entityName]`, or `never` when storage does not have it. */
|
|
83
|
+
type ContractValueObjectAt<TStorage, TReference extends {
|
|
84
|
+
readonly namespaceId: string;
|
|
85
|
+
readonly entityName: string;
|
|
86
|
+
}> = TStorage extends {
|
|
87
|
+
readonly namespaces: infer Namespaces;
|
|
88
|
+
} ? TReference['namespaceId'] extends keyof Namespaces ? Namespaces[TReference['namespaceId']] extends {
|
|
89
|
+
readonly entries: {
|
|
90
|
+
readonly valueObject: infer VOs;
|
|
91
|
+
};
|
|
92
|
+
} ? TReference['entityName'] extends keyof VOs ? VOs[TReference['entityName']] : never : never : never : never;
|
|
93
|
+
/** Value-object map of the storage plane when the contract declares exactly one storage namespace. */
|
|
94
|
+
type ContractValueObjectDefinitions<TContract extends Contract> = NamespaceValueObjectsOf<TContract['storage']['namespaces'][ExactlyOneNamespace<TContract['storage']['namespaces']>]> extends (infer Projected) ? Projected extends Record<string, ContractValueObject> ? Projected : Record<never, never> : Record<never, never>;
|
|
81
95
|
//#endregion
|
|
82
|
-
export {
|
|
83
|
-
//# sourceMappingURL=contract-types-
|
|
96
|
+
export { ControlPolicy as a, ContractValueObjectDefinitions as i, ContractExecutionSection as n, effectiveControlPolicy as o, ContractValueObjectAt as r, governingControlPolicy as s, Contract as t };
|
|
97
|
+
//# sourceMappingURL=contract-types-ib-VnKHG-l9vE5Vd-.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract-types-ib-VnKHG-l9vE5Vd-.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/contract-types-ib-VnKHG.d.mts"],"mappings":";;;;;;;;;;;;;KAYK;;;;;;;;;iBASY,uBAAuB,aAAa,2BAA2B,sBAAsB,4BAA4B;;;;iBAIjH,uBAAuB;WAC7B,4BAA4B;eACxB,sBAAsB,4BAA4B;;;;;;;;;;;;KAY5D,yBAAyB;WACnB,eAAe,kBAAkB;WACjC;aACE,UAAU,cAAc;;;;;;;;;;;;;;;;UAgB3B,SAAS,iBAAiB,cAAc;WACvC;WACA;WACA,OAAO,eAAe;;;;WAItB,QAAQ;WACR,SAAS;WACT,cAAc,eAAe;WAC7B,YAAY;WACZ,YAAY;WACZ,aAAa;WACb,MAAM;WACN,uBAAuB;;KAE7B,oBAAoB,UAAU,iCAAiC,iBAAiB,mBAAmB,YAAY,YAAY,QAAQ;KACnI,wBAAwB,cAAc;WAChC;aACE,oBAAoB;;IAE7B,WAAW,eAAe,uBAAuB,KAAK,uBAAuB;;KAE5E,sBAAsB,UAAU;WAC1B;WACA;KACN;WACM,kBAAkB;IACzB,wCAAwC,aAAa,WAAW;WACzD;aACE,mBAAmB;;IAE5B,uCAAuC,MAAM,IAAI;;KAEhD,+BAA+B,kBAAkB,YAAY,wBAAwB,mCAAmC,oBAAoB,qDAAqD,aAAa,kBAAkB,eAAe,uBAAuB,YAAY,uBAAuB"}
|
package/dist/contract.d.mts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
1
|
+
import { A as isColumnDefaultLiteralInputValue, C as StorageBase, D as coreHash, E as StorageNamespace, M as profileHash, O as executionHash, S as Source, T as StorageHashBase, _ as JsonPrimitive, a as ColumnDefaultLiteralValue, b as PlanMeta, c as DocIndex, d as ExecutionMutationDefaultPhases, f as ExecutionMutationDefaultValue, g as GeneratedValueSpec, h as FieldType, i as ColumnDefaultLiteralInputValue, j as isExecutionMutationDefaultValue, k as isColumnDefault, l as ExecutionHashBase, m as Expr, n as Brand, o as ContractMarkerRecord, p as ExecutionSection, r as ColumnDefault, s as DocCollection, t as $, u as ExecutionMutationDefault, v as JsonValue, w as StorageEntitySlot, x as ProfileHashBase, y as LedgerEntryRecord } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { A as ValueObjectReference, C as EmbedRelationKeys, D as ReferenceRelationKeys, E as NamespaceId, M as asNamespaceId, N as crossRef, O as ScalarFieldType, S as CrossReferenceSchema, T as ModelStorageBase, _ as ContractToOneRelation, a as ContractEnum, b as ContractWithDomain, c as ContractManyToManyRelation, d as ContractNonJunctionRelation, f as ContractReferenceRelation, g as ContractToManyRelation, h as ContractRelationThrough, i as ContractEmbedRelation, j as ValueSetRef, k as UnionFieldType, l as ContractModel, m as ContractRelationOn, n as ApplicationDomainNamespace, o as ContractField, p as ContractRelation, r as ContractDiscriminator, s as ContractFieldType, t as ApplicationDomain, u as ContractModelBase, v as ContractValueObject, w as EntityCoordinate, x as CrossReference, y as ContractValueObjectField } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
3
|
+
import { a as ControlPolicy, i as ContractValueObjectDefinitions, n as ContractExecutionSection, o as effectiveControlPolicy, r as ContractValueObjectAt, s as governingControlPolicy, t as Contract } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
3
4
|
import { n as soleDomainNamespaceId, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./default-namespace-D5X_k6hJ-GH8P1ror.mjs";
|
|
4
|
-
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-
|
|
5
|
-
import { a as
|
|
6
|
-
import { a as canonicalizeContract, i as StorageSort, n as PreserveEmptyPredicate, o as canonicalizeContractToObject, r as SerializeContract, t as CanonicalizeContractOptions } from "./canonicalization-
|
|
7
|
-
import { i as computeStorageHash, n as computeExecutionHash, r as computeProfileHash, t as buildExecutionSection } from "./hashing-
|
|
5
|
+
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-CZ5E6qxa-Caq2Becx.mjs";
|
|
6
|
+
import { a as ContractValueObjectSchema, c as ParameterizedOutputType, d as ValueObjectTypesFromStorage, f as ValueTypeSide, h as valueObjectsWithCoordinates, i as ContractValueObjectFieldSchema, l as ParameterizedOutputTypesFunction, m as valueObjectAt, n as ContractExecutionSectionSchema, o as EnumMemberValueType, p as domainModelsAtDefaultNamespace, r as ContractFieldTypeSchema, s as FieldTypesFromDomain, t as ApplyParameterizedOutputTypes, u as StoredValueType } from "./types-Dh_AMVRf.mjs";
|
|
7
|
+
import { a as canonicalizeContract, i as StorageSort, n as PreserveEmptyPredicate, o as canonicalizeContractToObject, r as SerializeContract, t as CanonicalizeContractOptions } from "./canonicalization-BIS6ONYT-VttZI7M4.mjs";
|
|
8
|
+
import { i as computeStorageHash, n as computeExecutionHash, r as computeProfileHash, t as buildExecutionSection } from "./hashing-Ca2uTBmm.mjs";
|
|
8
9
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
9
|
-
import { t as applySpecifierDefaultControlPolicy } from "./apply-specifier-default-control-policy-
|
|
10
|
+
import { t as applySpecifierDefaultControlPolicy } from "./apply-specifier-default-control-policy-BSgLNgKj.mjs";
|
|
10
11
|
import { n as ContractValidationPhase, t as ContractValidationError } from "./contract-validation-error-D1QAeOh5.mjs";
|
|
11
|
-
import { a as EnumMemberCodecFor, c as NamespaceEnumAccessors, d as buildNamespacedEnums, f as createEnumAccessor, i as EnumMemberCodec, l as NamespacedEnums, n as EnumAccessor, o as EnumMemberNames, r as EnumEntriesToAccessors, s as EnumValues, t as ContractEnumAccessor, u as buildEnumsMapForNamespace } from "./enum-accessor-
|
|
12
|
-
import { a as compareByNameProperty, c as createStorageSort, i as PathSegment$1, l as matchesPathPattern, n as PathPattern, o as compareCodeUnits, r as PathSegment, s as createPreserveEmptyPredicate, t as NamedArraySortTarget } from "./hashing-utils-
|
|
13
|
-
import { n as DomainModelShape, r as
|
|
12
|
+
import { a as EnumMemberCodecFor, c as NamespaceEnumAccessors, d as buildNamespacedEnums, f as createEnumAccessor, i as EnumMemberCodec, l as NamespacedEnums, n as EnumAccessor, o as EnumMemberNames, r as EnumEntriesToAccessors, s as EnumValues, t as ContractEnumAccessor, u as buildEnumsMapForNamespace } from "./enum-accessor-BXc2Jseo.mjs";
|
|
13
|
+
import { a as compareByNameProperty, c as createStorageSort, i as PathSegment$1, l as matchesPathPattern, n as PathPattern, o as compareCodeUnits, r as PathSegment, s as createPreserveEmptyPredicate, t as NamedArraySortTarget } from "./hashing-utils-daflaalA.mjs";
|
|
14
|
+
import { i as validateContractDomain, n as DomainModelShape, r as removedDomainKeyProblems, t as DomainContractShape } from "./validate-domain-eU07L3vi.mjs";
|
|
14
15
|
import { t as validateContractOnce } from "./validate-once-gfCOHsDh.mjs";
|
|
15
|
-
|
|
16
|
+
import { t as validateStorageValueObjects } from "./validate-storage-ChcQuhTb.mjs";
|
|
17
|
+
export { type $, type ApplicationDomain, type ApplicationDomainNamespace, type ApplyParameterizedOutputTypes, type Brand, type CanonicalizeContractOptions, type ColumnDefault, type ColumnDefaultLiteralInputValue, type ColumnDefaultLiteralValue, type Contract, type ContractDiscriminator, type ContractEmbedRelation, type ContractEnum, type ContractEnumAccessor, type ContractExecutionSection, ContractExecutionSectionSchema, type ContractField, type ContractFieldType, ContractFieldTypeSchema, type ContractManyToManyRelation, type ContractMarkerRecord, type ContractModel, type ContractModelBase, type ContractNonJunctionRelation, type ContractReferenceRelation, type ContractRelation, type ContractRelationOn, type ContractRelationThrough, type ContractToManyRelation, type ContractToOneRelation, ContractValidationError, type ContractValidationPhase, type ContractValueObject, type ContractValueObjectAt, type ContractValueObjectDefinitions, type ContractValueObjectField, ContractValueObjectFieldSchema, ContractValueObjectSchema, type ContractWithDomain, type ControlPolicy, type CrossReference, CrossReferenceSchema, type DocCollection, type DocIndex, type DomainContractShape, type DomainModelShape, type EmbedRelationKeys, type EntityCoordinate, type EnumAccessor, type EnumEntriesToAccessors, type EnumMemberCodec, type EnumMemberCodecFor, type EnumMemberNames, type EnumMemberValueType, type EnumValues, type ExecutionHashBase, type ExecutionMutationDefault, type ExecutionMutationDefaultPhases, type ExecutionMutationDefaultValue, type ExecutionSection, type Expr, type FieldType, type FieldTypesFromDomain, type GeneratedValueSpec, type JsonPrimitive, type JsonValue, type LedgerEntryRecord, type ModelStorageBase, type NamedArraySortTarget, type NamespaceEnumAccessors, type NamespaceId, type NamespacedEnums, type ParameterizedOutputType, type ParameterizedOutputTypesFunction, type PathPattern, type PlanMeta, type PathSegment as PreserveEmptyPathSegment, type PreserveEmptyPredicate, type ProfileHashBase, type ReferenceRelationKeys, type ResolvedDomainModel, type ScalarFieldType, type SerializeContract, type Source, type StorageBase, type StorageEntitySlot, type StorageHashBase, type StorageNamespace, type StorageSort, type PathSegment$1 as StorageSortPathSegment, type StoredValueType, UNBOUND_DOMAIN_NAMESPACE_ID, type UnionFieldType, type ValueObjectReference, type ValueObjectTypesFromStorage, type ValueSetRef, type ValueTypeSide, applySpecifierDefaultControlPolicy, asNamespaceId, buildEnumsMapForNamespace, buildExecutionSection, buildNamespacedEnums, canonicalizeContract, canonicalizeContractToObject, compareByNameProperty, compareCodeUnits, computeExecutionHash, computeProfileHash, computeStorageHash, coreHash, createEnumAccessor, createPreserveEmptyPredicate, createStorageSort, crossRef, domainModelsAtDefaultNamespace, effectiveControlPolicy, executionHash, governingControlPolicy, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, isPlainRecord, matchesPathPattern, profileHash, removedDomainKeyProblems, resolveDomainModel, soleDomainNamespaceId, validateContractDomain, validateContractOnce, validateStorageValueObjects, valueObjectAt, valueObjectsWithCoordinates };
|
package/dist/contract.mjs
CHANGED
|
@@ -7,7 +7,9 @@ import { a as matchesPathPattern, i as createStorageSort, n as compareCodeUnits,
|
|
|
7
7
|
import { a as computeProfileHash, i as computeExecutionHash, n as canonicalizeContract, o as computeStorageHash, r as canonicalizeContractToObject, t as buildExecutionSection } from "./hashing-CLRfNAxh.mjs";
|
|
8
8
|
import { t as resolveDomainModel } from "./resolve-domain-model-BovPAsW2-8rwyzjxp.mjs";
|
|
9
9
|
import { t as asNamespaceId } from "./namespace-id-asbWpwMw-3yxn-tRe.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
10
|
+
import { n as valueObjectsWithCoordinates, t as valueObjectAt } from "./storage-value-objects-Di8Cowdl-QNqJXkk0.mjs";
|
|
11
|
+
import { a as CrossReferenceSchema, c as domainModelsAtDefaultNamespace, d as governingControlPolicy, f as isColumnDefault, h as profileHash, i as ContractValueObjectSchema, l as effectiveControlPolicy, m as isExecutionMutationDefaultValue, n as ContractFieldTypeSchema, o as coreHash, p as isColumnDefaultLiteralInputValue, r as ContractValueObjectFieldSchema, s as crossRef, t as ContractExecutionSectionSchema, u as executionHash } from "./types-Boh5NGDz.mjs";
|
|
12
|
+
import { n as validateContractDomain, t as removedDomainKeyProblems } from "./validate-domain-KUhPCj7i.mjs";
|
|
12
13
|
import { t as validateContractOnce } from "./validate-once-D-IwXHYP.mjs";
|
|
13
|
-
|
|
14
|
+
import { t as validateStorageValueObjects } from "./validate-storage-CGeJ-62G.mjs";
|
|
15
|
+
export { ContractExecutionSectionSchema, ContractFieldTypeSchema, ContractValidationError, ContractValueObjectFieldSchema, ContractValueObjectSchema, CrossReferenceSchema, UNBOUND_DOMAIN_NAMESPACE_ID, applySpecifierDefaultControlPolicy, asNamespaceId, buildEnumsMapForNamespace, buildExecutionSection, buildNamespacedEnums, canonicalizeContract, canonicalizeContractToObject, compareByNameProperty, compareCodeUnits, computeExecutionHash, computeProfileHash, computeStorageHash, coreHash, createEnumAccessor, createPreserveEmptyPredicate, createStorageSort, crossRef, domainModelsAtDefaultNamespace, effectiveControlPolicy, executionHash, governingControlPolicy, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, isPlainRecord, matchesPathPattern, profileHash, removedDomainKeyProblems, resolveDomainModel, soleDomainNamespaceId, validateContractDomain, validateContractOnce, validateStorageValueObjects, valueObjectAt, valueObjectsWithCoordinates };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as applySpecifierDefaultControlPolicy } from "./apply-specifier-default-control-policy-
|
|
1
|
+
import { t as applySpecifierDefaultControlPolicy } from "./apply-specifier-default-control-policy-BSgLNgKj.mjs";
|
|
2
2
|
export { applySpecifierDefaultControlPolicy };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EnumMemberCodecFor, c as NamespaceEnumAccessors, d as buildNamespacedEnums, f as createEnumAccessor, i as EnumMemberCodec, l as NamespacedEnums, n as EnumAccessor, o as EnumMemberNames, r as EnumEntriesToAccessors, s as EnumValues, t as ContractEnumAccessor, u as buildEnumsMapForNamespace } from "./enum-accessor-
|
|
1
|
+
import { a as EnumMemberCodecFor, c as NamespaceEnumAccessors, d as buildNamespacedEnums, f as createEnumAccessor, i as EnumMemberCodec, l as NamespacedEnums, n as EnumAccessor, o as EnumMemberNames, r as EnumEntriesToAccessors, s as EnumValues, t as ContractEnumAccessor, u as buildEnumsMapForNamespace } from "./enum-accessor-BXc2Jseo.mjs";
|
|
2
2
|
export { type ContractEnumAccessor, type EnumAccessor, type EnumEntriesToAccessors, type EnumMemberCodec, type EnumMemberCodecFor, type EnumMemberNames, type EnumValues, type NamespaceEnumAccessors, type NamespacedEnums, buildEnumsMapForNamespace, buildNamespacedEnums, createEnumAccessor };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as compareByNameProperty, c as createStorageSort, i as PathSegment$1, l as matchesPathPattern, n as PathPattern, o as compareCodeUnits, r as PathSegment, s as createPreserveEmptyPredicate, t as NamedArraySortTarget } from "./hashing-utils-
|
|
1
|
+
import { a as compareByNameProperty, c as createStorageSort, i as PathSegment$1, l as matchesPathPattern, n as PathPattern, o as compareCodeUnits, r as PathSegment, s as createPreserveEmptyPredicate, t as NamedArraySortTarget } from "./hashing-utils-daflaalA.mjs";
|
|
2
2
|
export { type NamedArraySortTarget, type PathPattern, type PathSegment as PreserveEmptyPathSegment, type PathSegment$1 as StorageSortPathSegment, compareByNameProperty, compareCodeUnits, createPreserveEmptyPredicate, createStorageSort, matchesPathPattern };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as canonicalizeContract, i as StorageSort, n as PreserveEmptyPredicate, o as canonicalizeContractToObject, r as SerializeContract, t as CanonicalizeContractOptions } from "./canonicalization-
|
|
2
|
-
import { i as computeStorageHash, n as computeExecutionHash, r as computeProfileHash, t as buildExecutionSection } from "./hashing-
|
|
1
|
+
import { a as canonicalizeContract, i as StorageSort, n as PreserveEmptyPredicate, o as canonicalizeContractToObject, r as SerializeContract, t as CanonicalizeContractOptions } from "./canonicalization-BIS6ONYT-VttZI7M4.mjs";
|
|
2
|
+
import { i as computeStorageHash, n as computeExecutionHash, r as computeProfileHash, t as buildExecutionSection } from "./hashing-Ca2uTBmm.mjs";
|
|
3
3
|
export { type CanonicalizeContractOptions, type PreserveEmptyPredicate, type SerializeContract, type StorageSort, buildExecutionSection, canonicalizeContract, canonicalizeContractToObject, computeExecutionHash, computeProfileHash, computeStorageHash };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-
|
|
1
|
+
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-CZ5E6qxa-Caq2Becx.mjs";
|
|
2
2
|
export { type ResolvedDomainModel, resolveDomainModel };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
1
|
+
import { A as isColumnDefaultLiteralInputValue, C as StorageBase, D as coreHash, E as StorageNamespace, M as profileHash, O as executionHash, S as Source, T as StorageHashBase, _ as JsonPrimitive, a as ColumnDefaultLiteralValue, b as PlanMeta, c as DocIndex, d as ExecutionMutationDefaultPhases, f as ExecutionMutationDefaultValue, g as GeneratedValueSpec, h as FieldType, i as ColumnDefaultLiteralInputValue, j as isExecutionMutationDefaultValue, k as isColumnDefault, l as ExecutionHashBase, m as Expr, n as Brand, o as ContractMarkerRecord, p as ExecutionSection, r as ColumnDefault, s as DocCollection, t as $, u as ExecutionMutationDefault, v as JsonValue, w as StorageEntitySlot, x as ProfileHashBase, y as LedgerEntryRecord } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { A as ValueObjectReference, C as EmbedRelationKeys, D as ReferenceRelationKeys, E as NamespaceId, M as asNamespaceId, N as crossRef, O as ScalarFieldType, S as CrossReferenceSchema, T as ModelStorageBase, _ as ContractToOneRelation, a as ContractEnum, b as ContractWithDomain, c as ContractManyToManyRelation, d as ContractNonJunctionRelation, f as ContractReferenceRelation, g as ContractToManyRelation, h as ContractRelationThrough, i as ContractEmbedRelation, j as ValueSetRef, k as UnionFieldType, l as ContractModel, m as ContractRelationOn, n as ApplicationDomainNamespace, o as ContractField, p as ContractRelation, r as ContractDiscriminator, s as ContractFieldType, t as ApplicationDomain, u as ContractModelBase, v as ContractValueObject, w as EntityCoordinate, x as CrossReference, y as ContractValueObjectField } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
3
|
+
import { a as ControlPolicy, i as ContractValueObjectDefinitions, n as ContractExecutionSection, o as effectiveControlPolicy, r as ContractValueObjectAt, s as governingControlPolicy, t as Contract } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
3
4
|
import { n as soleDomainNamespaceId, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./default-namespace-D5X_k6hJ-GH8P1ror.mjs";
|
|
4
|
-
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-
|
|
5
|
-
import { a as
|
|
6
|
-
export { type $, type ApplicationDomain, type ApplicationDomainNamespace, type ApplyParameterizedOutputTypes, type Brand, type ColumnDefault, type ColumnDefaultLiteralInputValue, type ColumnDefaultLiteralValue, type Contract, type ContractDiscriminator, type ContractEmbedRelation, type ContractEnum, type ContractExecutionSection, ContractExecutionSectionSchema, type ContractField, type ContractFieldType, type ContractManyToManyRelation, type ContractMarkerRecord, type ContractModel, type ContractModelBase, type ContractNonJunctionRelation, type ContractReferenceRelation, type ContractRelation, type ContractRelationOn, type ContractRelationThrough, type ContractToManyRelation, type ContractToOneRelation, type ContractValueObject, type ContractValueObjectDefinitions, type ContractWithDomain, type ControlPolicy, type CrossReference, CrossReferenceSchema, type DocCollection, type DocIndex, type EmbedRelationKeys, type EnumMemberValueType, type ExecutionHashBase, type ExecutionMutationDefault, type ExecutionMutationDefaultPhases, type ExecutionMutationDefaultValue, type ExecutionSection, type Expr, type FieldType, type FieldTypesFromDomain, type GeneratedValueSpec, type JsonPrimitive, type JsonValue, type LedgerEntryRecord, type ModelStorageBase, type NamespaceId, type ParameterizedOutputType, type ParameterizedOutputTypesFunction, type PlanMeta, type ProfileHashBase, type ReferenceRelationKeys, type ResolvedDomainModel, type ScalarFieldType, type Source, type StorageBase, type StorageEntitySlot, type StorageHashBase, type StorageNamespace, type StoredValueType, UNBOUND_DOMAIN_NAMESPACE_ID, type UnionFieldType, type
|
|
5
|
+
import { n as resolveDomainModel, t as ResolvedDomainModel } from "./resolve-domain-model-CZ5E6qxa-Caq2Becx.mjs";
|
|
6
|
+
import { a as ContractValueObjectSchema, c as ParameterizedOutputType, d as ValueObjectTypesFromStorage, f as ValueTypeSide, h as valueObjectsWithCoordinates, i as ContractValueObjectFieldSchema, l as ParameterizedOutputTypesFunction, m as valueObjectAt, n as ContractExecutionSectionSchema, o as EnumMemberValueType, p as domainModelsAtDefaultNamespace, r as ContractFieldTypeSchema, s as FieldTypesFromDomain, t as ApplyParameterizedOutputTypes, u as StoredValueType } from "./types-Dh_AMVRf.mjs";
|
|
7
|
+
export { type $, type ApplicationDomain, type ApplicationDomainNamespace, type ApplyParameterizedOutputTypes, type Brand, type ColumnDefault, type ColumnDefaultLiteralInputValue, type ColumnDefaultLiteralValue, type Contract, type ContractDiscriminator, type ContractEmbedRelation, type ContractEnum, type ContractExecutionSection, ContractExecutionSectionSchema, type ContractField, type ContractFieldType, ContractFieldTypeSchema, type ContractManyToManyRelation, type ContractMarkerRecord, type ContractModel, type ContractModelBase, type ContractNonJunctionRelation, type ContractReferenceRelation, type ContractRelation, type ContractRelationOn, type ContractRelationThrough, type ContractToManyRelation, type ContractToOneRelation, type ContractValueObject, type ContractValueObjectAt, type ContractValueObjectDefinitions, type ContractValueObjectField, ContractValueObjectFieldSchema, ContractValueObjectSchema, type ContractWithDomain, type ControlPolicy, type CrossReference, CrossReferenceSchema, type DocCollection, type DocIndex, type EmbedRelationKeys, type EntityCoordinate, type EnumMemberValueType, type ExecutionHashBase, type ExecutionMutationDefault, type ExecutionMutationDefaultPhases, type ExecutionMutationDefaultValue, type ExecutionSection, type Expr, type FieldType, type FieldTypesFromDomain, type GeneratedValueSpec, type JsonPrimitive, type JsonValue, type LedgerEntryRecord, type ModelStorageBase, type NamespaceId, type ParameterizedOutputType, type ParameterizedOutputTypesFunction, type PlanMeta, type ProfileHashBase, type ReferenceRelationKeys, type ResolvedDomainModel, type ScalarFieldType, type Source, type StorageBase, type StorageEntitySlot, type StorageHashBase, type StorageNamespace, type StoredValueType, UNBOUND_DOMAIN_NAMESPACE_ID, type UnionFieldType, type ValueObjectReference, type ValueObjectTypesFromStorage, type ValueSetRef, type ValueTypeSide, asNamespaceId, coreHash, crossRef, domainModelsAtDefaultNamespace, effectiveControlPolicy, executionHash, governingControlPolicy, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, profileHash, resolveDomainModel, soleDomainNamespaceId, valueObjectAt, valueObjectsWithCoordinates };
|
package/dist/contract__types.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as soleDomainNamespaceId, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./default-namespace-D4vCwkXg-BEZbN38y.mjs";
|
|
2
2
|
import { t as resolveDomainModel } from "./resolve-domain-model-BovPAsW2-8rwyzjxp.mjs";
|
|
3
3
|
import { t as asNamespaceId } from "./namespace-id-asbWpwMw-3yxn-tRe.mjs";
|
|
4
|
-
import {
|
|
5
|
-
|
|
4
|
+
import { n as valueObjectsWithCoordinates, t as valueObjectAt } from "./storage-value-objects-Di8Cowdl-QNqJXkk0.mjs";
|
|
5
|
+
import { a as CrossReferenceSchema, c as domainModelsAtDefaultNamespace, d as governingControlPolicy, f as isColumnDefault, h as profileHash, i as ContractValueObjectSchema, l as effectiveControlPolicy, m as isExecutionMutationDefaultValue, n as ContractFieldTypeSchema, o as coreHash, p as isColumnDefaultLiteralInputValue, r as ContractValueObjectFieldSchema, s as crossRef, t as ContractExecutionSectionSchema, u as executionHash } from "./types-Boh5NGDz.mjs";
|
|
6
|
+
export { ContractExecutionSectionSchema, ContractFieldTypeSchema, ContractValueObjectFieldSchema, ContractValueObjectSchema, CrossReferenceSchema, UNBOUND_DOMAIN_NAMESPACE_ID, asNamespaceId, coreHash, crossRef, domainModelsAtDefaultNamespace, effectiveControlPolicy, executionHash, governingControlPolicy, isColumnDefault, isColumnDefaultLiteralInputValue, isExecutionMutationDefaultValue, profileHash, resolveDomainModel, soleDomainNamespaceId, valueObjectAt, valueObjectsWithCoordinates };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as DomainModelShape, r as
|
|
2
|
-
export { type DomainContractShape, type DomainModelShape, validateContractDomain };
|
|
1
|
+
import { i as validateContractDomain, n as DomainModelShape, r as removedDomainKeyProblems, t as DomainContractShape } from "./validate-domain-eU07L3vi.mjs";
|
|
2
|
+
export { type DomainContractShape, type DomainModelShape, removedDomainKeyProblems, validateContractDomain };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { validateContractDomain };
|
|
1
|
+
import { n as validateContractDomain, t as removedDomainKeyProblems } from "./validate-domain-KUhPCj7i.mjs";
|
|
2
|
+
export { removedDomainKeyProblems, validateContractDomain };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as StructuredError, i as NextAction, r as Diagnostic } from "./structured-error-Cc7AIRsp.mjs";
|
|
2
|
-
import { It as ResolvedMigrationStatement } from "./control-
|
|
2
|
+
import { It as ResolvedMigrationStatement } from "./control-BrO2h8ed.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/errors/dist/control-BeXOxtXA.d.mts
|
|
4
4
|
//#region src/control.d.ts
|
|
5
5
|
/**
|
|
@@ -272,4 +272,4 @@ declare function errorUnexpected(message: string, options?: {
|
|
|
272
272
|
}): CliStructuredError;
|
|
273
273
|
//#endregion
|
|
274
274
|
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 };
|
|
275
|
-
//# sourceMappingURL=control-BeXOxtXA-
|
|
275
|
+
//# sourceMappingURL=control-BeXOxtXA-DyPvQsqJ.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-BeXOxtXA-
|
|
1
|
+
{"version":3,"file":"control-BeXOxtXA-DyPvQsqJ.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/control-BeXOxtXA.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,oBAAoB;;WAEpB,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,kBAAkB;WAC1C;WACA;WACA;WACA;IACP;;;;iBAIa,gCAAgC;WACtC;WACA;WACA;WACA;IACP;;;;iBAIa,gCAAgC;WACtC;IACP;;;;iBAIa,iCAAiC;WACvC;IACP;;;;iBAIa,4BAA4B;WAClC;WACA;WACA;IACP;;;;iBAIa,oBAAoB;WAC1B;IACP;;;;iBAIa,+BAA+B;WACrC;WACA;IACP;;;;iBAIa,6BAA6B;WACnC,oBAAoB;WACpB;IACP;WACO;;;;;iBAKM,iCAAiC;WACvC;IACP;;UAEM;WACC;WACA;WACA;;;;;iBAKM,gCAAgC;WACtC;WACA,kBAAkB;IACzB;;;;;;;;iBAQa,kCAAkC;WACxC;IACP;;;;;;;;;;iBAUa,6BAA6B;WACnC;WACA;IACP;;;;iBAIa,yBAAyB,gBAAgB;;;;;iBAKzC,0BAA0B;;;;iBAI1B,sBAAsB,eAAe;WAC3C;WACA;IACP;;;;;;;iBAOa,6BAA6B;WACnC;IACP;;;;iBAIa,gBAAgB,iBAAiB;WACvC;WACA;WACA,OAAO;WACP;IACP"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { o as ContractMarkerRecord, y as LedgerEntryRecord } from "./types-CkFfDIud-C1u8M2UE.mjs";
|
|
2
|
+
import { E as NamespaceId, b as ContractWithDomain } from "./domain-envelope-CJNIHBn_-DBFAmkNL.mjs";
|
|
3
|
+
import { a as ControlPolicy, t as Contract } from "./contract-types-ib-VnKHG-l9vE5Vd-.mjs";
|
|
4
|
+
import { _ as DataType, h as CodecRegistry, t as AnyCodecDescriptor, y as DataTypeLookup } from "./codec-types-B4wPvO-K-BIPFT7EP.mjs";
|
|
4
5
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
5
|
-
import { J as GeneratorFunctionRegistry, O as AuthoringTypeNamespace, R as DataTypeAuthoringEntry, a as AuthoringAttributeSpecContributions, f as AuthoringEntityTypeNamespace, g as AuthoringModelAttributeDescriptorNamespace, n as AssembledControlMutationDefaults, o as AuthoringContributions, q as GeneratorFunctionField, x as AuthoringPslBlockDescriptorNamespace, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-
|
|
6
|
-
import { n as ContributedHelper } from "./temporal-type-aliases-BIiamFSH-
|
|
7
|
-
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-Bkh243Hv-
|
|
6
|
+
import { J as GeneratorFunctionRegistry, O as AuthoringTypeNamespace, R as DataTypeAuthoringEntry, a as AuthoringAttributeSpecContributions, f as AuthoringEntityTypeNamespace, g as AuthoringModelAttributeDescriptorNamespace, n as AssembledControlMutationDefaults, o as AuthoringContributions, q as GeneratorFunctionField, x as AuthoringPslBlockDescriptorNamespace, z as DataTypeSupport } from "./framework-authoring-ebqZ8M_M-Bdi8MutX.mjs";
|
|
7
|
+
import { n as ContributedHelper } from "./temporal-type-aliases-BIiamFSH-DLxWO37e.mjs";
|
|
8
|
+
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-Bkh243Hv-BI9m5WFL.mjs";
|
|
8
9
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
9
|
-
import { a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, h as FamilyInstance, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, t as AdapterDescriptor, v as SessionSettings, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-BqHA1V92-
|
|
10
|
-
import { r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-bX2HmNSC-
|
|
11
|
-
import { f as PslDocumentAst } from "./psl-ast-0oMzInxd-
|
|
10
|
+
import { a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, h as FamilyInstance, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, t as AdapterDescriptor, v as SessionSettings, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-BqHA1V92-D_nUDFf9.mjs";
|
|
11
|
+
import { r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-bX2HmNSC-vaRddb1_.mjs";
|
|
12
|
+
import { f as PslDocumentAst } from "./psl-ast-0oMzInxd-BjKbrwNk.mjs";
|
|
12
13
|
import { a as StructuredError } from "./structured-error-Cc7AIRsp.mjs";
|
|
13
14
|
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
14
15
|
import { n as JsonObject } from "./json-Dkqr3say.mjs";
|
|
15
|
-
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-
|
|
16
|
+
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-BIS6ONYT-VttZI7M4.mjs";
|
|
16
17
|
//#region ../../../1-framework/1-core/framework-components/dist/control.d.mts
|
|
17
18
|
//#region src/control/schema-diff.d.ts
|
|
18
19
|
/**
|
|
@@ -966,6 +967,8 @@ interface MigrationRunnerFailureMeta {
|
|
|
966
967
|
readonly rowsWithoutValue?: readonly RowsWithoutValue[];
|
|
967
968
|
/** The data that still holds a stored enum value whose removal its storage cannot take, when that made a check fail. */
|
|
968
969
|
readonly rowsHoldingValue?: RowsHoldingValue;
|
|
970
|
+
/** The existing rows that a check the failed operation adds refuses, when that made the operation fail. */
|
|
971
|
+
readonly rowsFailingCheck?: RowsFailingCheck;
|
|
969
972
|
/** The objects in the database that kept the failed operation from running, such as a view on a table to drop. */
|
|
970
973
|
readonly blockingObjects?: readonly BlockingObject[];
|
|
971
974
|
/** The differences the schema check after apply found, when that check failed. */
|
|
@@ -1014,6 +1017,15 @@ interface RowsHoldingValue {
|
|
|
1014
1017
|
/** The edit to the migration's `migration.ts` that keeps the data, when the target can say it. */
|
|
1015
1018
|
readonly keepDataEdit?: KeepDataEdit;
|
|
1016
1019
|
}
|
|
1020
|
+
/** The existing rows that a check the failed operation adds refuses. The failure's message names where the check is and how to find the rows. */
|
|
1021
|
+
interface RowsFailingCheck {
|
|
1022
|
+
/** The check, as the database names it. */
|
|
1023
|
+
readonly check: string;
|
|
1024
|
+
/** The check the plan drops before it adds this one, when the plan replaces a check. While it holds, the rows cannot be changed to fit the new check. */
|
|
1025
|
+
readonly replacedCheck?: string;
|
|
1026
|
+
/** The position of the operation in the operations of the failing space's plan. */
|
|
1027
|
+
readonly operationIndex: number;
|
|
1028
|
+
}
|
|
1017
1029
|
/** A field that is to become required while existing rows have no value for it. */
|
|
1018
1030
|
interface RowsWithoutValue {
|
|
1019
1031
|
/** The field, when the destination contract names the storage that lacks the value. */
|
|
@@ -1948,5 +1960,5 @@ type VerifierIssueCategory = 'declaredMissing' | 'declaredIncompatible' | 'value
|
|
|
1948
1960
|
*/
|
|
1949
1961
|
declare function dispositionForCategory(controlPolicy: ControlPolicy, category: VerifierIssueCategory): VerifierOutcome;
|
|
1950
1962
|
//#endregion
|
|
1951
|
-
export { MigrationPlanWithAuthoringSurface as $,
|
|
1952
|
-
//# sourceMappingURL=control-
|
|
1963
|
+
export { MigrationPlanWithAuthoringSurface as $, migrationRunnerFailure as $n, SchemaTreeVisitor as $t, FailedCast as A, enumValueCoordinateFromJson as An, PslContractInferCapable as At, MigratableTargetDescriptor as B, failedPostcheckWhy as Bn, RowsFailingCheck as Bt, CreateControlStackInput as C, contractSnapshotJsonSpecifier as Cn, OperationContext as Ct, EnumValueCoordinate as D, diffSchemas as Dn, PlanOrigin as Dt, EmitContractResult as E, describeMigrationStatement as En, OperationPreviewStatement as Et, FieldCoordinateJson as F, extractCodecLookup as Fn, ResolvedFieldRenameStatement as Ft, MigrationOperationClass as G, hasPslContractBuild as Gn, SchemaEntityCoordinate as Gt, MigrationDataLoss as H, fieldStatementText as Hn, RowsWithoutValue as Ht, HelperCodecInvariantInput as I, extractCodecTypeImports as In, ResolvedMigrationStatement as It, MigrationPackage as J, hasSchemaView as Jn, SchemaNodeRef as Jt, MigrationOperationPolicy as K, hasPslContractInfer as Kn, SchemaLabelPart as Kt, IntrospectSchemaResult as L, extractComponentIds as Ln, ResolvedModelRenameStatement as Lt, FailedConversion as M, enumValueStatementText as Mn, ResolvedEnumValueRenameStatement as Mt, FailedTypeChange as N, expectAbsent as Nn, ResolvedFieldBackfillStatement as Nt, EnumValueCoordinateJson as O, dispositionForCategory as On, PslContractBuildCapable as Ot, FieldCoordinate as P, expectPresent as Pn, ResolvedFieldConvertStatement as Pt, MigrationPlanSubjects as Q, issueOutcome as Qn, SchemaTreeNodeOptions as Qt, KeepDataEdit as R, extractParameterizedOutputTypeImports as Rn, ResolvedNamespaceRenameStatement as Rt, CoreSchemaView as S, buildExtensionLoadOrder as Sn, OpFactoryCall as St, DiffableNode as T, createControlStack as Tn, OperationPreviewCapable as Tt, MigrationDataLossKind as U, hasMigrations as Un, SchemaDiff as Ut, MigrationAccessChange as V, failedPrecheckWhy as Vn, RowsHoldingValue as Vt, MigrationMetadata as W, hasOperationPreview as Wn, SchemaDiffIssue as Wt, MigrationPlanNamespaces as X, isStorageHashHex as Xn, SchemaSubjectClassifierCapable as Xt, MigrationPlan as Y, isRenameStatement as Yn, SchemaOwnership as Yt, MigrationPlanOperation as Z, issueLabel as Zn, SchemaTreeNode as Zt, ControlFamilyDescriptor as _, VerifyDatabaseResult as _n, MigrationTemporaryValue as _t, CONTRACT_SNAPSHOTS_DIRNAME as a, SpaceMarkerConflict as an, orderIssuesByDependencies as ar, MigrationRunner as at, ControlTargetDescriptor as b, assembleControlMutationDefaults as bn, ModelCoordinate as bt, ContractSpace as c, SpaceToSign as cn, schemaCheckWhy as cr, MigrationRunnerFailureMeta as ct, ControlAdapterInstance as d, VERIFY_CODE_MARKER_MISSING as dn, withDatabaseUnchanged as dr, MigrationRunnerResult as dt, SchemaVerifier as en, migrationStatementJson as er, MigrationPlanner as et, ControlDriverConnectOptions as f, VERIFY_CODE_SCHEMA_FAILURE as fn, withFailingSpace as fr, MigrationRunnerSuccessValue as ft, ControlExtensionInstance as g, VerifierOutcome as gn, MigrationSubjectJson as gt, ControlExtensionDescriptor as h, VerifierIssueCategory as hn, MigrationSubject as ht, BlockingObject as i, SchemaViewNodeKind as in, modelStatementText as ir, MigrationPlannerSuccessResult as it, FailedCheck as j, enumValueCoordinateJson as jn, PslSourceSettings as jt, ExpectationFailureReason as k, enforceHelperCodecInvariants as kn, PslContractDocument as kt, ContractSpaceHeadRef as l, TargetMigrationsCapability as ln, schemaIssuesWhy as lr, MigrationRunnerPerSpaceOptions as lt, ControlDriverInstance as m, VerificationStatus as mn, MigrationStatementJson as mt, AppliedMigrationStatement as n, SchemaVerifyResult as nn, migrationSubjectKey as nr, MigrationPlannerFailureResult as nt, CheckExpectation as o, SpaceSignature as on, planOriginOf as or, MigrationRunnerExecutionChecks as ot, ControlDriverDescriptor as p, VERIFY_CODE_TARGET_MISMATCH as pn, MigrationScaffoldContext as pt, MigrationOperationSubject as q, hasSchemaSubjectClassifier as qn, SchemaLabelPartRole as qt, AssembledAuthoringContributions as r, SchemaViewCapable as rn, modelDisplayName as rr, MigrationPlannerResult as rt, ContractSerializer as s, SpaceSigned as sn, sameMarkerHashes as sr, MigrationRunnerFailure as st, APP_SPACE_ID as t, SchemaVerifyOptions as tn, migrationSubjectJson as tr, MigrationPlannerConflict as tt, ControlAdapterDescriptor as u, VERIFY_CODE_HASH_MISMATCH as un, storageHashHex as ur, MigrationRunnerPerSpaceSuccessValue as ut, ControlFamilyInstance as v, VerifyDatabaseSchemaResult as vn, MismatchCause as vt, DiffSubjectGranularity as w, contractSnapshotTypesSpecifier as wn, OperationPreview as wt, ControlTargetInstance as x, assertUniqueCodecOwner as xn, ModelCoordinateJson as xt, ControlStack as y, assembleAuthoringContributions as yn, MismatchExplanation as yt, MarkerHashes as z, extractQueryOperationTypeImports as zn, ResolvedRenameStatement as zt };
|
|
1964
|
+
//# sourceMappingURL=control-BrO2h8ed.d.mts.map
|