@prisma/orm-framework 8.0.0-rc.24-dev.23 → 8.0.0-rc.24-dev.24
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/{binder-CMy3WM5A-Dvz7iZ2w.d.mts → binder-CMy3WM5A-gjYNJqla.d.mts} +4 -4
- package/dist/{binder-CMy3WM5A-Dvz7iZ2w.d.mts.map → binder-CMy3WM5A-gjYNJqla.d.mts.map} +1 -1
- package/dist/components.d.mts +2 -2
- package/dist/components.mjs +2 -2
- package/dist/components__control.d.mts +2 -2
- package/dist/components__control.mjs +2 -2
- package/dist/{config-types-BkGoZZm6.d.mts → config-types-Ck3UXVIU.d.mts} +2 -2
- package/dist/{config-types-BkGoZZm6.d.mts.map → config-types-Ck3UXVIU.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.mjs +1 -1
- package/dist/{control-DzRwUDn-.mjs → control-B0KO727Y.mjs} +166 -2
- package/dist/control-B0KO727Y.mjs.map +1 -0
- package/dist/control-B0WmeKXX.d.mts +1 -0
- package/dist/{control-D1zV_XXw.d.mts → control-B3QHYJcv.d.mts} +142 -3
- package/dist/control-B3QHYJcv.d.mts.map +1 -0
- package/dist/{control-BeXOxtXA-DWrnvd6v.d.mts → control-BeXOxtXA-CoPQgVyR.d.mts} +2 -2
- package/dist/{control-BeXOxtXA-DWrnvd6v.d.mts.map → control-BeXOxtXA-CoPQgVyR.d.mts.map} +1 -1
- package/dist/{control-MllEQmML-7F84gYuT.mjs → control-MllEQmML-IlhSvGbE.mjs} +2 -2
- package/dist/{control-MllEQmML-7F84gYuT.mjs.map → control-MllEQmML-IlhSvGbE.mjs.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-Dv2tEKdY.mjs → execution-DE_55Rj3.mjs} +19 -3
- package/dist/execution-DE_55Rj3.mjs.map +1 -0
- package/dist/{execution-C0jDSNao.d.mts → execution-DLAnWNAh.d.mts} +12 -3
- package/dist/execution-DLAnWNAh.d.mts.map +1 -0
- package/dist/{migration-LeIoXCp5.d.mts → migration-KEyQBpKF.d.mts} +2 -2
- package/dist/{migration-LeIoXCp5.d.mts.map → migration-KEyQBpKF.d.mts.map} +1 -1
- package/dist/{migration-DyafDAAZ.mjs → migration-rWN1KSXH.mjs} +2 -2
- package/dist/{migration-DyafDAAZ.mjs.map → migration-rWN1KSXH.mjs.map} +1 -1
- package/dist/{parse-djL5wker-DneRlVFY.d.mts → parse-djL5wker-Bx0JH2c_.d.mts} +2 -2
- package/dist/{parse-djL5wker-DneRlVFY.d.mts.map → parse-djL5wker-Bx0JH2c_.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +3 -3
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__interpret.d.mts +3 -3
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/package.json +16 -16
- package/dist/control-D1zV_XXw.d.mts.map +0 -1
- package/dist/control-Dx37wrOG.d.mts +0 -1
- package/dist/control-DzRwUDn-.mjs.map +0 -1
- package/dist/execution-C0jDSNao.d.mts.map +0 -1
- package/dist/execution-Dv2tEKdY.mjs.map +0 -1
|
@@ -6,10 +6,10 @@ import { o as TaggedLiteralCanonicalization } from "./temporal-type-aliases-D5QW
|
|
|
6
6
|
import "./authoring-BKOoGNxH.mjs";
|
|
7
7
|
import "./codec-h0kvF5B8.mjs";
|
|
8
8
|
import { l as SignatureArgumentOutput, u as SignatureOptionalArgument } from "./components-BvnVHOK3.mjs";
|
|
9
|
-
import "./control-
|
|
9
|
+
import "./control-B3QHYJcv.mjs";
|
|
10
10
|
import "./psl-ast-Dsf1-QLK.mjs";
|
|
11
|
-
import { n as ContractSourceContext } from "./config-types-
|
|
12
|
-
import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, T as MixinDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, r as AttributeArgAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-djL5wker-
|
|
11
|
+
import { n as ContractSourceContext } from "./config-types-Ck3UXVIU.mjs";
|
|
12
|
+
import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, T as MixinDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, r as AttributeArgAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-djL5wker-Bx0JH2c_.mjs";
|
|
13
13
|
import { n as UnionToIntersection, t as Simplify } from "./types-DGxlljKG.mjs";
|
|
14
14
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/binder-CMy3WM5A.d.mts
|
|
15
15
|
//#region src/resolve.d.ts
|
|
@@ -539,4 +539,4 @@ declare function contributedTypeOf(resolution: Resolution | undefined, binder: B
|
|
|
539
539
|
declare function createBinder(input: CreateBinderInput): BinderResult;
|
|
540
540
|
//#endregion
|
|
541
541
|
export { MixinSymbol as $, readResolvedAttribute as $t, DataTypeValueArgType as A, ScopeResolution as At, FixedIdentifierArgType as B, buildSymbolTable as Bt, ContributedTypeDescriptor as C, Resolution as Ct, ContributedTypeUse as D, ResolvedNamedTypeBinding as Dt, ContributedTypeSymbol as E, ResolvedEntityReference as Et, EntityRefArgType as F, UnresolvedTypeReference as Ft, FunctionSymbol as G, createBinder as Gt, FixedStrArgType as H, contributedTypeAt as Ht, EntitySelector as I, UnrestrictedIdentifierArgType as It, InspectableArgType as J, isNamespaceLike as Jt, IdentifierArgType as K, entityReference as Kt, FieldAttributeCtx as L, UnrestrictedNumArgType as Lt, DescribeUnresolvedType as M, SymbolTableResult as Mt, DescribeUnsupportedAttribute as N, TaggedLiteralArgType as Nt, CreateBinderInput as O, ResolvedTypeConstructorCall as Ot, EntityDeclaration as P, TypedFuncCall as Pt, ListArgType as Q, nodePslSpan as Qt, FieldRefArgType as R, UnrestrictedStrArgType as Rt, ContributedTypeChoiceSymbol as S, RequiredContextFor as St, ContributedTypeScope as T, ResolvedAttributeArg as Tt, FuncCallArgType as U, contributedTypeCodecId as Ut, FixedNumArgType as V, chosenTypeConstructor as Vt, FuncCallSig as W, contributedTypeOf as Wt, JsonArgType as X, matchesSelector as Xt, IntArgType as Y, keywordPslSpan as Yt, JsonValueArgType as Z, memberEntries as Zt, CompositeTypeSymbol as _, PositionalParam as _t, AttributeLevel as a, NullArgType as at, ContributedMember as b, ReferencedFieldRefArgType as bt, AttributeSymbol as c, OneOfArgType as ct, BinderResult as d, PSL_UNRESOLVED_REFERENCE as dt, readResolvedAttributes as en, ModelAttributeCtx as et, BlockAttributeCtx as f, Param as ft, BuildSymbolTableOptions as g, PosOut as gt, BoundSpec as h, ParsedTypedValue as ht, AttributeCtx as i, NamespaceSymbol as it, DeclarationFor as j, SymbolTable as jt, CtxOf as k, Scope as kt, Binder as l, OptionalArgType as lt, BoolArgType as m, ParsedTaggedLiteral as mt, ArgType as n, typeReferenceNode as nn, NamedOut as nt, AttributeOut as o, NumLiteral as ot, BlockSymbol as p, ParameterSymbol as pt, InferAttr as q, isContributedTypeChoice as qt, ArgTypeKind as r, NamedTypeSymbol as rt, AttributeSpec as s, NumLiteralArgType as st, AnyArgType as t, readResolvedConstructorCall as tn, ModelSymbol as tt, BinderContext as u, OutOf as ut, ConstantSymbol as v, PslSymbol as vt, ContributedTypeNamespace as w, ResolvedAttribute as wt, ContributedNamespaceSymbol as x, RejectingArgType as xt, ContextForRequirement as y, RecordArgType as yt, FieldSymbol as z, UnsupportedAttribute as zt };
|
|
542
|
-
//# sourceMappingURL=binder-CMy3WM5A-
|
|
542
|
+
//# sourceMappingURL=binder-CMy3WM5A-gjYNJqla.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binder-CMy3WM5A-
|
|
1
|
+
{"version":3,"file":"binder-CMy3WM5A-gjYNJqla.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/binder-CMy3WM5A.d.mts"],"mappings":"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"}
|
package/dist/components.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGenera
|
|
|
11
11
|
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-bX2HmNSC-vaRddb1_.mjs";
|
|
12
12
|
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-B4ZxpQdr-DT9LRqBC.mjs";
|
|
13
13
|
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
14
|
-
import { $ as
|
|
14
|
+
import { $ as MarkerDatabasePoliciesComparison, $n as databasePolicyDifferences, $t as ResolvedMigrationStatement, A as DATA_LOSS_LEVELS, An as SpaceToSign, Ar as migrationSubjectJson, At as MigrationScaffoldContext, B as EmitContractResult, Bn as VerifierOutcome, Br as schemaIssuesWhy, Bt as OperationContext, C as ControlStack, Cn as SchemaViewCapable, Cr as hasSchemaView, Ct as MigrationRunnerExecutionChecks, D as CreateControlStackInput, Dn as SpaceMarkerHashConflict, Dr as issueOutcome, Dt as MigrationRunnerPerSpaceSuccessValue, E as CoreSchemaView, En as SpaceMarkerConflict, Er as issueLabel, Et as MigrationRunnerPerSpaceOptions, F as DatabasePolicyDifference, Fn as VERIFY_CODE_TARGET_MISMATCH, Fr as orderIssuesByDependencies, Ft as MismatchCause, G as FailedCheck, Gn as assertUniqueCodecOwner, Gr as withDeclaredDatabasePolicies, Gt as PslContractBuildCapable, H as EnumValueCoordinateJson, Hn as VerifyDatabaseSchemaResult, Hr as storedDatabasePolicies, Ht as OperationPreviewCapable, I as DeclaredDatabasePolicies, In as ValueObjectFieldCoordinate, Ir as parseDeclaredDatabasePolicies, It as MismatchExplanation, J as FieldCoordinate, Jn as contractSnapshotJsonSpecifier, Jt as PslSourceSettings, K as FailedConversion, Kn as buildExtensionLoadOrder, Kr as withFailingSpace, Kt as PslContractDocument, L as DeclaredDatabasePoliciesIssue, Ln as ValueObjectFieldCoordinateJson, Lr as planOriginOf, Lt as ModelCoordinate, M as DEFAULT_DATABASE_POLICIES, Mn as VERIFY_CODE_HASH_MISMATCH, Mr as modelDisplayName, Mt as MigrationSubject, N as DataLossLevel, Nn as VERIFY_CODE_MARKER_MISSING, Nr as modelStatementText, Nt as MigrationSubjectJson, O as DATABASE_POLICIES_KEYS, On as SpaceSignature, Or as migrationRunnerFailure, Ot as MigrationRunnerResult, P as DatabasePolicies, Pn as VERIFY_CODE_SCHEMA_FAILURE, Pr as movedDatabasePoliciesWhy, Pt as MigrationTemporaryValue, Q as KeepDataEdit, Qn as databasePoliciesOf, Qt as ResolvedFieldRenameStatement, R as DiffSubjectGranularity, Rn as VerificationStatus, Rr as sameMarkerHashes, Rt as ModelCoordinateJson, S as ControlFamilyInstance, Sn as SchemaVerifyResult, Sr as hasSchemaSubjectClassifier, St as MigrationRunner, T as ControlTargetInstance, Tn as SpaceDatabasePoliciesConflict, Tr as isStorageHashHex, Tt as MigrationRunnerFailureMeta, U as ExpectationFailureReason, Un as assembleAuthoringContributions, Ur as valueObjectFieldStatementText, Ut as OperationPreviewStatement, V as EnumValueCoordinate, Vn as VerifyDatabaseResult, Vr as storageHashHex, Vt as OperationPreview, W as FailedCast, Wn as assembleControlMutationDefaults, Wr as withDatabaseUnchanged, Wt as PlanOrigin, X as HelperCodecInvariantInput, Xn as createControlStack, Xt as ResolvedFieldBackfillStatement, Y as FieldCoordinateJson, Yn as contractSnapshotTypesSpecifier, Yt as ResolvedEnumValueRenameStatement, Z as IntrospectSchemaResult, Zn as databasePoliciesMovedFailure, Zt as ResolvedFieldConvertStatement, _ as ControlDriverDescriptor, _n as SchemaTreeNode, _r as fieldStatementText, _t as MigrationPlanner, a as AssembledAuthoringContributions, an as ResolvedVariantConvertStatement, ar as enumValueCoordinateFromJson, at as MigrationDataLoss, b as ControlExtensionInstance, bn as SchemaVerifier, br as hasPslContractBuild, bt as MigrationPlannerResult, c as CONTRACT_SNAPSHOTS_DIRNAME, cn as RowsWithoutValue, cr as expectAbsent, ct as MigrationOperationClass, d as ContractSerializer, dn as SchemaEntityCoordinate, dr as extractCodecTypeImports, dt as MigrationPackage, en as ResolvedModelRenameStatement, er as databasePolicyValueText, et as MarkerDestination, f as ContractSpace, fn as SchemaLabelPart, fr as extractComponentIds, ft as MigrationPlan, g as ControlDriverConnectOptions, gn as SchemaSubjectClassifierCapable, gr as failedPrecheckWhy, gt as MigrationPlanWithAuthoringSurface, h as ControlAdapterInstance, hn as SchemaOwnership, hr as failedPostcheckWhy, ht as MigrationPlanSubjects, i as AppliedMigrationStatement, in as ResolvedValueObjectFieldRenameStatement, ir as enforceHelperCodecInvariants, it as MigrationAccessChange, j as DATA_PROTECTION_KEYS, jn as TargetMigrationsCapability, jr as migrationSubjectKey, jt as MigrationStatementJson, k as DATABASE_POLICIES_META_KEY, kn as SpaceSigned, kr as migrationStatementJson, kt as MigrationRunnerSuccessValue, l as ChangeStrategy, ln as SchemaDiff, lr as expectPresent, lt as MigrationOperationPolicy, m as ControlAdapterDescriptor, mn as SchemaNodeRef, mr as extractQueryOperationTypeImports, mt as MigrationPlanOperation, n as APP_SPACE_ID, nn as ResolvedRenameStatement, nr as diffSchemas, nt as MarkerInsert, o as BlockingObject, on as RowsFailingCheck, or as enumValueCoordinateJson, ot as MigrationDataLossKind, p as ContractSpaceHeadRef, pn as SchemaLabelPartRole, pr as extractParameterizedOutputTypeImports, pt as MigrationPlanNamespaces, q as FailedTypeChange, qn as compareMarkerDatabasePolicies, qt as PslContractInferCapable, r as AccessWideningLevel, rn as ResolvedValueObjectFieldBackfillStatement, rr as dispositionForCategory, rt as MigratableTargetDescriptor, s as CHANGE_STRATEGIES, sn as RowsHoldingValue, sr as enumValueStatementText, st as MigrationMetadata, t as ACCESS_WIDENING_LEVELS, tn as ResolvedNamespaceRenameStatement, tr as describeMigrationStatement, tt as MarkerHashes, u as CheckExpectation, un as SchemaDiffIssue, ur as extractCodecLookup, ut as MigrationOperationSubject, v as ControlDriverInstance, vn as SchemaTreeNodeOptions, vr as hasMigrations, vt as MigrationPlannerConflict, w as ControlTargetDescriptor, wn as SchemaViewNodeKind, wr as isRenameStatement, wt as MigrationRunnerFailure, x as ControlFamilyDescriptor, xn as SchemaVerifyOptions, xr as hasPslContractInfer, xt as MigrationPlannerSuccessResult, y as ControlExtensionDescriptor, yn as SchemaTreeVisitor, yr as hasOperationPreview, yt as MigrationPlannerFailureResult, z as DiffableNode, zn as VerifierIssueCategory, zr as schemaCheckWhy, zt as OpFactoryCall } from "./control-B3QHYJcv.mjs";
|
|
15
15
|
import "./emission-DGYCaKjl.mjs";
|
|
16
16
|
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-0NPar3Ng.mjs";
|
|
17
17
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
@@ -19,4 +19,4 @@ import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNodeBas
|
|
|
19
19
|
import "./psl-ast-Dsf1-QLK.mjs";
|
|
20
20
|
import { $ as RuntimeMutationDefaultGenerator, A as GeneratorStability, At as streamStatement, B as QueryPlan, C as ClientActivityRegistry, Ct as createStateStore, D as DefineAnnotationOptions, Dt as runtimeAborted, E as CrossFamilyMiddleware, Et as raceAgainstAbort, 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 startClientActivity, P as MutationDefaults, Q as RuntimeMode, R as ParamRefMutator, S as ClientActivityOptions, St as createMetaBuilder, T as ClientActivityRun, Tt as executeStatement, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as assertMutationDefaultGeneratorsAvailable, a as ActivityContext, at as StatementActivity, b as ClientActivityEnded, bt as collectMutationDefaultGenerators, c as ActivityFinalizedResult, ct as StatementOptions, d as ActivityParent, dt as TransactionActivityRun, et as RuntimeStatementStats, f as ActivityStateStore, ft as TransactionEnded, g as AppliedMutationDefault, gt as assertAnnotationsApplicable, h as AnnotationValue, ht as applyMutationDefaults, i as ActivityChildSlot, it as StartActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as startTransactionActivity, l as ActivityInterceptResult, lt as TransactionActivity, m as AnnotationSource, mt as ValidAnnotations, n as ActivityBase, nt as Shape, o as ActivityContextFields, ot as StatementActivityRun, p as AnnotationHandle, pt as TransactionSettlement, q as RuntimeCoreOptions, r as ActivityChild, rt as ShapeSpec, s as ActivityEndedResult, st as StatementEnded, t as Activity, tt as Scalars, u as ActivityObserver, ut as TransactionActivityOptions, v as ClientActivity, vt as checkAborted, w as ClientActivityResult, wt as defineAnnotation, x as ClientActivityKind, xt as createContextBeneath, y as ClientActivityEnd, yt as checkMiddlewareCompatibility, z as QueryInterceptResult } from "./runtime-BocJkRg4.mjs";
|
|
21
21
|
import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
|
|
22
|
-
export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, 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 AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type AssembledDataTypeSupport, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeChoiceArgument, type AuthoringTypeChoiceCall, type AuthoringTypeChoiceCallArgument, type AuthoringTypeChoiceDescriptor, type AuthoringTypeChoiceOption, type AuthoringTypeChoicePassedArgument, type AuthoringTypeChoiceRow, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeNamespaceMember, type AuthoringTypeParamsIssue, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, type BlockingObject, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type CheckExpectation, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, 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, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, 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 CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DateTimeShape, type DateTimeStoredTextOptions, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type GeneratorStability, type HelperCodecInvariantInput, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntegerStep, type IntrospectSchemaResult, type KeepDataEdit, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, 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 MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type NumberClassification, type NumberClassifierSpec, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, 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 PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedAuthoringTypeChoice, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResolvedValueObjectFieldBackfillStatement, type ResolvedValueObjectFieldRenameStatement, type ResolvedVariantConvertStatement, type ResultType, type RowsFailingCheck, type RowsHoldingValue, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMode, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, 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 SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypedLiteralOptions, type TypesImportSpec, 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, type ValidAnnotations, type ValueInputAggregateDescriptor, type ValueObjectFieldCoordinate, type ValueObjectFieldCoordinateJson, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertTypeChoicesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, changedElementCoordinates, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeChoice, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveAuthoringTypeChoice, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, typeChoiceArgumentsFromObject, typeChoiceCombinationText, typeConstructorLookup, unknownTypeChoiceArgumentMessage, validateAuthoringHelperArguments, validateAuthoringTypeChoiceParams, validateAuthoringTypeParams, validateCodecTypeParams, valueObjectFieldStatementText, withDatabaseUnchanged, withFailingSpace, writeDataTypeValue, writeTypedLiteral, writtenTypeArguments, writtenTypeConstructorCall };
|
|
22
|
+
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, type AccessWideningLevel, 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 AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type AssembledDataTypeSupport, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeChoiceArgument, type AuthoringTypeChoiceCall, type AuthoringTypeChoiceCallArgument, type AuthoringTypeChoiceDescriptor, type AuthoringTypeChoiceOption, type AuthoringTypeChoicePassedArgument, type AuthoringTypeChoiceRow, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeNamespaceMember, type AuthoringTypeParamsIssue, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, type BlockingObject, CHANGE_STRATEGIES, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type ChangeStrategy, type CheckExpectation, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, 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, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, 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 CrossFamilyMiddleware, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DATA_TYPE_ID_PATTERN, DEFAULT_DATABASE_POLICIES, type DataLossLevel, type DataType, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DatabasePolicies, type DatabasePolicyDifference, type DateTimeShape, type DateTimeStoredTextOptions, type DeclaredDatabasePolicies, type DeclaredDatabasePoliciesIssue, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type GeneratorStability, type HelperCodecInvariantInput, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntegerStep, type IntrospectSchemaResult, type KeepDataEdit, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerDatabasePoliciesComparison, type MarkerDestination, type MarkerHashes, type MarkerInsert, type MetaBuilder, 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 MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type NumberClassification, type NumberClassifierSpec, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, 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 PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedAuthoringTypeChoice, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResolvedValueObjectFieldBackfillStatement, type ResolvedValueObjectFieldRenameStatement, type ResolvedVariantConvertStatement, type ResultType, type RowsFailingCheck, type RowsHoldingValue, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMode, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, 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 SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceDatabasePoliciesConflict, type SpaceMarkerConflict, type SpaceMarkerHashConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypedLiteralOptions, type TypesImportSpec, 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, type ValidAnnotations, type ValueInputAggregateDescriptor, type ValueObjectFieldCoordinate, type ValueObjectFieldCoordinateJson, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertTypeChoicesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, changedElementCoordinates, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeChoice, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, movedDatabasePoliciesWhy, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseDeclaredDatabasePolicies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveAuthoringTypeChoice, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedDatabasePolicies, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, typeChoiceArgumentsFromObject, typeChoiceCombinationText, typeConstructorLookup, unknownTypeChoiceArgumentMessage, validateAuthoringHelperArguments, validateAuthoringTypeChoiceParams, validateAuthoringTypeParams, validateCodecTypeParams, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace, writeDataTypeValue, writeTypedLiteral, writtenTypeArguments, writtenTypeConstructorCall };
|
package/dist/components.mjs
CHANGED
|
@@ -7,7 +7,7 @@ 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
8
|
import { $ as validateAuthoringTypeChoiceParams, A as isAuthoringTypeAliasDescriptor, B as resolveAuthoringTypeChoice, C as instantiateAuthoringTypeCall, D as isAuthoringEntityTypeDescriptor, E as isAuthoringArgRef, G as temporalTypeAliases, H as resolvePslBacktickEscapes, I as mergeAuthoringNamespaces, J as typeChoiceArgumentsFromObject, K as timestampNowControlDescriptor, L as printTaggedLiteral, M as isAuthoringTypeChoiceOption, N as isAuthoringTypeConstructorDescriptor, O as isAuthoringModelAttributeDescriptor, P as isAuthoringTypeDescriptor, Q as validateAuthoringHelperArguments, R as printedTaggedLiteralReadsBack, S as instantiateAuthoringTypeAlias, T as instantiateAuthoringTypeConstructorFromValues, U as resolveTemplateTagEscapes, V as resolveEnumCodecId, W as resolveTypeAliasGenerators, X as typeConstructorLookup, Y as typeChoiceCombinationText, Z as unknownTypeChoiceArgumentMessage, _ as describeTaggedLiteralFailure, a as assembleDataTypeSupport, b as getAuthoringTypeConstructor, c as assertResolvableTypeConstructorTemplates, et as validateAuthoringTypeParams, f as canonicalizeTaggedLiteralBody, h as collectScalarTypeConstructors, i as assembleAuthoringDataTypes, j as isAuthoringTypeChoiceDescriptor, k as isAuthoringPslBlockDescriptor, l as assertTypeAliasesValid, n as TAGGED_LITERAL_MAX_BYTES, o as assertNoAuthoringFieldNamespace, p as classifyEnumMemberType, q as tsTaggedTemplateSource, r as TIMESTAMP_NOW_GENERATOR_ID, s as assertNoCrossRegistryCollisions, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeChoicesValid, v as flushAuthoringWarnings, w as instantiateAuthoringTypeConstructor, x as instantiateAuthoringEntityType, y as getAuthoringTypeChoice, z as resolveAuthoringTemplateValue } from "./temporal-type-aliases-CFh3BW2a-DOlmiuQn.mjs";
|
|
9
9
|
import { i as freezeNode, n as NamespaceBase, r as UNBOUND_NAMESPACE_ID, t as IRNodeBase } from "./namespace-VUH2dgnS-By5y75h9.mjs";
|
|
10
|
-
import { $ as
|
|
10
|
+
import { $ as issueLabel, A as dispositionForCategory, B as extractParameterizedOutputTypeImports, C as createControlStack, D as databasePolicyValueText, E as databasePolicyDifferences, F as expectAbsent, G as hasMigrations, H as failedPostcheckWhy, I as expectPresent, J as hasPslContractInfer, K as hasOperationPreview, L as extractCodecLookup, M as enumValueCoordinateFromJson, N as enumValueCoordinateJson, O as describeMigrationStatement, P as enumValueStatementText, Q as isStorageHashHex, R as extractCodecTypeImports, S as contractSnapshotTypesSpecifier, T as databasePoliciesOf, U as failedPrecheckWhy, V as extractQueryOperationTypeImports, W as fieldStatementText, X as hasSchemaView, Y as hasSchemaSubjectClassifier, Z as isRenameStatement, _ as assembleControlMutationDefaults, _t as withDatabaseUnchanged, a as DATABASE_POLICIES_KEYS, at as modelDisplayName, b as compareMarkerDatabasePolicies, c as DATA_PROTECTION_KEYS, ct as orderIssuesByDependencies, d as SchemaTreeNode, dt as sameMarkerHashes, et as issueOutcome, f as VERIFY_CODE_HASH_MISMATCH, ft as schemaCheckWhy, g as assembleAuthoringContributions, gt as valueObjectFieldStatementText, h as VERIFY_CODE_TARGET_MISMATCH, ht as storedDatabasePolicies, i as CONTRACT_SNAPSHOTS_DIRNAME, it as migrationSubjectKey, j as enforceHelperCodecInvariants, k as diffSchemas, l as DEFAULT_DATABASE_POLICIES, lt as parseDeclaredDatabasePolicies, m as VERIFY_CODE_SCHEMA_FAILURE, mt as storageHashHex, n as APP_SPACE_ID, nt as migrationStatementJson, o as DATABASE_POLICIES_META_KEY, ot as modelStatementText, p as VERIFY_CODE_MARKER_MISSING, pt as schemaIssuesWhy, q as hasPslContractBuild, r as CHANGE_STRATEGIES, rt as migrationSubjectJson, s as DATA_LOSS_LEVELS, st as movedDatabasePoliciesWhy, t as ACCESS_WIDENING_LEVELS, tt as migrationRunnerFailure, u as SchemaDiff, ut as planOriginOf, v as assertUniqueCodecOwner, vt as withDeclaredDatabasePolicies, w as databasePoliciesMovedFailure, x as contractSnapshotJsonSpecifier, y as buildExtensionLoadOrder, yt as withFailingSpace, z as extractComponentIds } from "./control-B0KO727Y.mjs";
|
|
11
11
|
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";
|
|
12
12
|
import { a as numeralText, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, o as readContractValue, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-CPSGZunM-DxrbRHX1.mjs";
|
|
13
13
|
import { C as readWrittenValueAs, D as writeTypedLiteral, E as writeDataTypeValue, O as writtenTypeArguments, S as readWrittenValue, T as tagForm, _ as exactRewrite, a as authoringTypeConstructors, b as knownTags, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, k as writtenTypeConstructorCall, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as findAuthoringTypeChoiceCall, w as readWrittenValueIntoCodec, x as readEnumBlockMembers, y as findAuthoringTypeConstructorCall } from "./authoring-DnYn5EZT.mjs";
|
|
@@ -18,4 +18,4 @@ import { n as resolveRequirementSpecifiers, t as keepInternalSpecifiers } from "
|
|
|
18
18
|
import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-DJDqCoRU.mjs";
|
|
19
19
|
import { a as flatPslModels, c as namespacePslExtensionBlocks, i as flatPslCompositeTypes, n as UNBOUND_PSL_NAMESPACE_NAME, o as makePslNamespace, r as UNSPECIFIED_PSL_NAMESPACE_ID, s as makePslNamespaceEntries, t as BUILTIN_PSL_KIND_KEYS } from "./psl-ast-CyvE6CR-.mjs";
|
|
20
20
|
import { _ as runtimeAborted, a as applyMutationDefaults, b as streamStatement, c as checkAborted, d as createContextBeneath, f as createMetaBuilder, g as raceAgainstAbort, h as executeStatement, i as RuntimeCore, l as checkMiddlewareCompatibility, m as defineAnnotation, n as RUNTIME_ABORTED, o as assertAnnotationsApplicable, p as createStateStore, r as RelationKeys, s as assertMutationDefaultGeneratorsAvailable, t as AsyncIterableResult, u as collectMutationDefaultGenerators, v as startClientActivity, y as startTransactionActivity } from "./runtime-BlY0wJT6.mjs";
|
|
21
|
-
export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATA_TYPE_ID_PATTERN, EMPTY_GENERATOR_FUNCTIONS, INT32_RANGE, INT64_RANGE, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertTypeChoicesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, changedElementCoordinates, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeChoice, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveAuthoringTypeChoice, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, typeChoiceArgumentsFromObject, typeChoiceCombinationText, typeConstructorLookup, unknownTypeChoiceArgumentMessage, validateAuthoringHelperArguments, validateAuthoringTypeChoiceParams, validateAuthoringTypeParams, validateCodecTypeParams, valueObjectFieldStatementText, withDatabaseUnchanged, withFailingSpace, writeDataTypeValue, writeTypedLiteral, writtenTypeArguments, writtenTypeConstructorCall };
|
|
21
|
+
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CHANGE_STRATEGIES, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DATA_TYPE_ID_PATTERN, DEFAULT_DATABASE_POLICIES, EMPTY_GENERATOR_FUNCTIONS, INT32_RANGE, INT64_RANGE, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertTypeChoicesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, changedElementCoordinates, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeChoice, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, movedDatabasePoliciesWhy, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseDeclaredDatabasePolicies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveAuthoringTypeChoice, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedDatabasePolicies, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, typeChoiceArgumentsFromObject, typeChoiceCombinationText, typeConstructorLookup, unknownTypeChoiceArgumentMessage, validateAuthoringHelperArguments, validateAuthoringTypeChoiceParams, validateAuthoringTypeParams, validateCodecTypeParams, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace, writeDataTypeValue, writeTypedLiteral, writtenTypeArguments, writtenTypeConstructorCall };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ct as SourceDiagnostic, H as ControlMutationDefaultRegistry, Tt as TypedDefaultFunctionCall, U as ControlMutationDefaults, V as ControlMutationDefaultEntry, at as LoweredDefaultValue, it as LoweredDefaultResult, n as AssembledControlMutationDefaults, ot as MutationDefaultGeneratorDescriptor, q as DefaultFunctionLoweringContext, wt as SourceSpan } from "./authoring-type-choice-CHcRX0RP-CkG1L8a9.mjs";
|
|
2
2
|
import { g as timestampNowControlDescriptor, i as TAGGED_LITERAL_MAX_BYTES, m as resolveTemplateTagEscapes, p as resolvePslBacktickEscapes, u as describeTaggedLiteralFailure } from "./temporal-type-aliases-D5QWPhYa-BNKiNvmd.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, 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 ResolvedValueObjectFieldBackfillStatement, type ResolvedValueObjectFieldRenameStatement, type ResolvedVariantConvertStatement, 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 ValueObjectFieldCoordinate, type ValueObjectFieldCoordinateJson, 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, valueObjectFieldStatementText, withDatabaseUnchanged, withFailingSpace };
|
|
4
|
+
import { $ as MarkerDatabasePoliciesComparison, $n as databasePolicyDifferences, $t as ResolvedMigrationStatement, A as DATA_LOSS_LEVELS, An as SpaceToSign, Ar as migrationSubjectJson, At as MigrationScaffoldContext, B as EmitContractResult, Bn as VerifierOutcome, Br as schemaIssuesWhy, Bt as OperationContext, C as ControlStack, Cn as SchemaViewCapable, Cr as hasSchemaView, Ct as MigrationRunnerExecutionChecks, D as CreateControlStackInput, Dn as SpaceMarkerHashConflict, Dr as issueOutcome, Dt as MigrationRunnerPerSpaceSuccessValue, E as CoreSchemaView, En as SpaceMarkerConflict, Er as issueLabel, Et as MigrationRunnerPerSpaceOptions, F as DatabasePolicyDifference, Fn as VERIFY_CODE_TARGET_MISMATCH, Fr as orderIssuesByDependencies, Ft as MismatchCause, G as FailedCheck, Gn as assertUniqueCodecOwner, Gr as withDeclaredDatabasePolicies, Gt as PslContractBuildCapable, H as EnumValueCoordinateJson, Hn as VerifyDatabaseSchemaResult, Hr as storedDatabasePolicies, Ht as OperationPreviewCapable, I as DeclaredDatabasePolicies, In as ValueObjectFieldCoordinate, Ir as parseDeclaredDatabasePolicies, It as MismatchExplanation, J as FieldCoordinate, Jn as contractSnapshotJsonSpecifier, Jt as PslSourceSettings, K as FailedConversion, Kn as buildExtensionLoadOrder, Kr as withFailingSpace, Kt as PslContractDocument, L as DeclaredDatabasePoliciesIssue, Ln as ValueObjectFieldCoordinateJson, Lr as planOriginOf, Lt as ModelCoordinate, M as DEFAULT_DATABASE_POLICIES, Mn as VERIFY_CODE_HASH_MISMATCH, Mr as modelDisplayName, Mt as MigrationSubject, N as DataLossLevel, Nn as VERIFY_CODE_MARKER_MISSING, Nr as modelStatementText, Nt as MigrationSubjectJson, O as DATABASE_POLICIES_KEYS, On as SpaceSignature, Or as migrationRunnerFailure, Ot as MigrationRunnerResult, P as DatabasePolicies, Pn as VERIFY_CODE_SCHEMA_FAILURE, Pr as movedDatabasePoliciesWhy, Pt as MigrationTemporaryValue, Q as KeepDataEdit, Qn as databasePoliciesOf, Qt as ResolvedFieldRenameStatement, R as DiffSubjectGranularity, Rn as VerificationStatus, Rr as sameMarkerHashes, Rt as ModelCoordinateJson, S as ControlFamilyInstance, Sn as SchemaVerifyResult, Sr as hasSchemaSubjectClassifier, St as MigrationRunner, T as ControlTargetInstance, Tn as SpaceDatabasePoliciesConflict, Tr as isStorageHashHex, Tt as MigrationRunnerFailureMeta, U as ExpectationFailureReason, Un as assembleAuthoringContributions, Ur as valueObjectFieldStatementText, Ut as OperationPreviewStatement, V as EnumValueCoordinate, Vn as VerifyDatabaseResult, Vr as storageHashHex, Vt as OperationPreview, W as FailedCast, Wn as assembleControlMutationDefaults, Wr as withDatabaseUnchanged, Wt as PlanOrigin, X as HelperCodecInvariantInput, Xn as createControlStack, Xt as ResolvedFieldBackfillStatement, Y as FieldCoordinateJson, Yn as contractSnapshotTypesSpecifier, Yt as ResolvedEnumValueRenameStatement, Z as IntrospectSchemaResult, Zn as databasePoliciesMovedFailure, Zt as ResolvedFieldConvertStatement, _ as ControlDriverDescriptor, _n as SchemaTreeNode, _r as fieldStatementText, _t as MigrationPlanner, a as AssembledAuthoringContributions, an as ResolvedVariantConvertStatement, ar as enumValueCoordinateFromJson, at as MigrationDataLoss, b as ControlExtensionInstance, bn as SchemaVerifier, br as hasPslContractBuild, bt as MigrationPlannerResult, c as CONTRACT_SNAPSHOTS_DIRNAME, cn as RowsWithoutValue, cr as expectAbsent, ct as MigrationOperationClass, d as ContractSerializer, dn as SchemaEntityCoordinate, dr as extractCodecTypeImports, dt as MigrationPackage, en as ResolvedModelRenameStatement, er as databasePolicyValueText, et as MarkerDestination, f as ContractSpace, fn as SchemaLabelPart, fr as extractComponentIds, ft as MigrationPlan, g as ControlDriverConnectOptions, gn as SchemaSubjectClassifierCapable, gr as failedPrecheckWhy, gt as MigrationPlanWithAuthoringSurface, h as ControlAdapterInstance, hn as SchemaOwnership, hr as failedPostcheckWhy, ht as MigrationPlanSubjects, i as AppliedMigrationStatement, in as ResolvedValueObjectFieldRenameStatement, ir as enforceHelperCodecInvariants, it as MigrationAccessChange, j as DATA_PROTECTION_KEYS, jn as TargetMigrationsCapability, jr as migrationSubjectKey, jt as MigrationStatementJson, k as DATABASE_POLICIES_META_KEY, kn as SpaceSigned, kr as migrationStatementJson, kt as MigrationRunnerSuccessValue, l as ChangeStrategy, ln as SchemaDiff, lr as expectPresent, lt as MigrationOperationPolicy, m as ControlAdapterDescriptor, mn as SchemaNodeRef, mr as extractQueryOperationTypeImports, mt as MigrationPlanOperation, n as APP_SPACE_ID, nn as ResolvedRenameStatement, nr as diffSchemas, nt as MarkerInsert, o as BlockingObject, on as RowsFailingCheck, or as enumValueCoordinateJson, ot as MigrationDataLossKind, p as ContractSpaceHeadRef, pn as SchemaLabelPartRole, pr as extractParameterizedOutputTypeImports, pt as MigrationPlanNamespaces, q as FailedTypeChange, qn as compareMarkerDatabasePolicies, qt as PslContractInferCapable, r as AccessWideningLevel, rn as ResolvedValueObjectFieldBackfillStatement, rr as dispositionForCategory, rt as MigratableTargetDescriptor, s as CHANGE_STRATEGIES, sn as RowsHoldingValue, sr as enumValueStatementText, st as MigrationMetadata, t as ACCESS_WIDENING_LEVELS, tn as ResolvedNamespaceRenameStatement, tr as describeMigrationStatement, tt as MarkerHashes, u as CheckExpectation, un as SchemaDiffIssue, ur as extractCodecLookup, ut as MigrationOperationSubject, v as ControlDriverInstance, vn as SchemaTreeNodeOptions, vr as hasMigrations, vt as MigrationPlannerConflict, w as ControlTargetDescriptor, wn as SchemaViewNodeKind, wr as isRenameStatement, wt as MigrationRunnerFailure, x as ControlFamilyDescriptor, xn as SchemaVerifyOptions, xr as hasPslContractInfer, xt as MigrationPlannerSuccessResult, y as ControlExtensionDescriptor, yn as SchemaTreeVisitor, yr as hasOperationPreview, yt as MigrationPlannerFailureResult, z as DiffableNode, zn as VerifierIssueCategory, zr as schemaCheckWhy, zt as OpFactoryCall } from "./control-B3QHYJcv.mjs";
|
|
5
|
+
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, type AccessWideningLevel, type AppliedMigrationStatement, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type BlockingObject, CHANGE_STRATEGIES, CONTRACT_SNAPSHOTS_DIRNAME, type ChangeStrategy, 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, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DEFAULT_DATABASE_POLICIES, type DataLossLevel, type DatabasePolicies, type DatabasePolicyDifference, type DeclaredDatabasePolicies, type DeclaredDatabasePoliciesIssue, 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 MarkerDatabasePoliciesComparison, type MarkerDestination, type MarkerHashes, type MarkerInsert, 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 ResolvedValueObjectFieldBackfillStatement, type ResolvedValueObjectFieldRenameStatement, type ResolvedVariantConvertStatement, 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 SpaceDatabasePoliciesConflict, type SpaceMarkerConflict, type SpaceMarkerHashConflict, 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 ValueObjectFieldCoordinate, type ValueObjectFieldCoordinateJson, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, 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, movedDatabasePoliciesWhy, orderIssuesByDependencies, parseDeclaredDatabasePolicies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, storedDatabasePolicies, timestampNowControlDescriptor, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { H as resolvePslBacktickEscapes, K as timestampNowControlDescriptor, U as resolveTemplateTagEscapes, _ as describeTaggedLiteralFailure, n as TAGGED_LITERAL_MAX_BYTES } from "./temporal-type-aliases-CFh3BW2a-DOlmiuQn.mjs";
|
|
2
|
-
import { $ 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, 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, valueObjectFieldStatementText, withDatabaseUnchanged, withFailingSpace };
|
|
2
|
+
import { $ as issueLabel, A as dispositionForCategory, B as extractParameterizedOutputTypeImports, C as createControlStack, D as databasePolicyValueText, E as databasePolicyDifferences, F as expectAbsent, G as hasMigrations, H as failedPostcheckWhy, I as expectPresent, J as hasPslContractInfer, K as hasOperationPreview, L as extractCodecLookup, M as enumValueCoordinateFromJson, N as enumValueCoordinateJson, O as describeMigrationStatement, P as enumValueStatementText, Q as isStorageHashHex, R as extractCodecTypeImports, S as contractSnapshotTypesSpecifier, T as databasePoliciesOf, U as failedPrecheckWhy, V as extractQueryOperationTypeImports, W as fieldStatementText, X as hasSchemaView, Y as hasSchemaSubjectClassifier, Z as isRenameStatement, _ as assembleControlMutationDefaults, _t as withDatabaseUnchanged, a as DATABASE_POLICIES_KEYS, at as modelDisplayName, b as compareMarkerDatabasePolicies, c as DATA_PROTECTION_KEYS, ct as orderIssuesByDependencies, d as SchemaTreeNode, dt as sameMarkerHashes, et as issueOutcome, f as VERIFY_CODE_HASH_MISMATCH, ft as schemaCheckWhy, g as assembleAuthoringContributions, gt as valueObjectFieldStatementText, h as VERIFY_CODE_TARGET_MISMATCH, ht as storedDatabasePolicies, i as CONTRACT_SNAPSHOTS_DIRNAME, it as migrationSubjectKey, j as enforceHelperCodecInvariants, k as diffSchemas, l as DEFAULT_DATABASE_POLICIES, lt as parseDeclaredDatabasePolicies, m as VERIFY_CODE_SCHEMA_FAILURE, mt as storageHashHex, n as APP_SPACE_ID, nt as migrationStatementJson, o as DATABASE_POLICIES_META_KEY, ot as modelStatementText, p as VERIFY_CODE_MARKER_MISSING, pt as schemaIssuesWhy, q as hasPslContractBuild, r as CHANGE_STRATEGIES, rt as migrationSubjectJson, s as DATA_LOSS_LEVELS, st as movedDatabasePoliciesWhy, t as ACCESS_WIDENING_LEVELS, tt as migrationRunnerFailure, u as SchemaDiff, ut as planOriginOf, v as assertUniqueCodecOwner, vt as withDeclaredDatabasePolicies, w as databasePoliciesMovedFailure, x as contractSnapshotJsonSpecifier, y as buildExtensionLoadOrder, yt as withFailingSpace, z as extractComponentIds } from "./control-B0KO727Y.mjs";
|
|
3
|
+
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, CHANGE_STRATEGIES, CONTRACT_SNAPSHOTS_DIRNAME, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DEFAULT_DATABASE_POLICIES, 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, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, 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, movedDatabasePoliciesWhy, orderIssuesByDependencies, parseDeclaredDatabasePolicies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, storedDatabasePolicies, timestampNowControlDescriptor, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace };
|
|
@@ -6,7 +6,7 @@ import "./authoring-BKOoGNxH.mjs";
|
|
|
6
6
|
import "./codec-h0kvF5B8.mjs";
|
|
7
7
|
import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
8
8
|
import "./components-BvnVHOK3.mjs";
|
|
9
|
-
import { _ as
|
|
9
|
+
import { _ as ControlDriverDescriptor, a as AssembledAuthoringContributions, m as ControlAdapterDescriptor, v as ControlDriverInstance, w as ControlTargetDescriptor, x as ControlFamilyDescriptor, y as ControlExtensionDescriptor } from "./control-B3QHYJcv.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, PrismaConfig 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-Ck3UXVIU.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-types-
|
|
1
|
+
{"version":3,"file":"config-types-Ck3UXVIU.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,aAAa,mCAAmC,mCAAmC;WAClF,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,aAAa,WAAW,aAAa,aAAa,WAAW;;;;;;;;iBAQxJ,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 PrismaConfig, 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 PrismaConfig, 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-Ck3UXVIU.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 PrismaConfig, 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 PrismaConfig, 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 PrismaConfig, 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-Ck3UXVIU.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 PrismaConfig, type PslContractSourceProvider, type PslGrammar, type PslParserOptions, type TypeScriptContractSourceProvider, defaultContractOutputPath, defineConfig, normalizeContractConfig };
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { I as mergeAuthoringNamespaces, o as assertNoAuthoringFieldNamespace, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, x as instantiateAuthoringEntityType } from "./temporal-type-aliases-CFh3BW2a-DOlmiuQn.mjs";
|
|
5
|
-
import { f as errorEnumCodecNotInPackStack } from "./control-MllEQmML-
|
|
5
|
+
import { f as errorEnumCodecNotInPackStack } from "./control-MllEQmML-IlhSvGbE.mjs";
|
|
6
6
|
import { p as encodeEnumMembers } from "./authoring-DnYn5EZT.mjs";
|
|
7
7
|
//#region ../../../1-framework/2-authoring/contract/dist/index.mjs
|
|
8
8
|
/**
|
|
@@ -3,11 +3,13 @@ import { t as ifDefined } from "./defined-BQWA85QH-BRSBMULx.mjs";
|
|
|
3
3
|
import { o as structuredError } from "./structured-error-BXbihKQ-.mjs";
|
|
4
4
|
import { r as isInternalError, t as InternalError } from "./internal-error-ChGYPVpq-DhUD05u0.mjs";
|
|
5
5
|
import { t as asNamespaceId } from "./namespace-id-asbWpwMw-3yxn-tRe.mjs";
|
|
6
|
+
import { n as notOk, r as ok } from "./result-8OXF26MN.mjs";
|
|
6
7
|
import { n as runtimeError } from "./runtime-error-BA9d7XjZ-BlT8t6LB.mjs";
|
|
7
8
|
import { _ as objectSchemaKeys } from "./data-type-V6mcDhcG-DVQAPOQT.mjs";
|
|
8
9
|
import { n as codecDescriptorMissing, r as codecForRef } from "./resolve-codec-qqMjZrmn-Cok8elAo.mjs";
|
|
9
10
|
import { a as isAggregateDescriptor, c as mergeCapabilityMatrices, i as assembleGeneratorRegistrations, n as aggregateDescriptorKey, r as assembleGeneratorFunctions } from "./generator-functions-CXbQfvYu-BIFU1Ryx.mjs";
|
|
10
11
|
import { E as isAuthoringArgRef, F as mergeAuthoringAttributeSpecs, I as mergeAuthoringNamespaces, a as assembleDataTypeSupport, c as assertResolvableTypeConstructorTemplates, g as contributedHelpers, h as collectScalarTypeConstructors, i as assembleAuthoringDataTypes, l as assertTypeAliasesValid, m as collectContributedDescriptorPaths, o as assertNoAuthoringFieldNamespace, s as assertNoCrossRegistryCollisions, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeChoicesValid } from "./temporal-type-aliases-CFh3BW2a-DOlmiuQn.mjs";
|
|
12
|
+
import { type } from "arktype";
|
|
11
13
|
//#region ../../../1-framework/1-core/framework-components/dist/control.mjs
|
|
12
14
|
function expectAbsent(object) {
|
|
13
15
|
return {
|
|
@@ -527,6 +529,168 @@ function createControlStack(input) {
|
|
|
527
529
|
])
|
|
528
530
|
};
|
|
529
531
|
}
|
|
532
|
+
const CHANGE_STRATEGIES = ["migrate", "reconcile"];
|
|
533
|
+
const DATA_LOSS_LEVELS = [
|
|
534
|
+
"data-loss-forbidden",
|
|
535
|
+
"data-loss-with-consent",
|
|
536
|
+
"data-loss-permitted"
|
|
537
|
+
];
|
|
538
|
+
const ACCESS_WIDENING_LEVELS = [
|
|
539
|
+
"access-widening-forbidden",
|
|
540
|
+
"access-widening-with-consent",
|
|
541
|
+
"access-widening-permitted"
|
|
542
|
+
];
|
|
543
|
+
/** The keys a policy declaration may carry; any other key makes it invalid. */
|
|
544
|
+
const DATABASE_POLICIES_KEYS = ["change", "dataProtection"];
|
|
545
|
+
/** The keys a policy declaration's `dataProtection` may carry; any other key makes it invalid. */
|
|
546
|
+
const DATA_PROTECTION_KEYS = ["dataLoss", "accessWidening"];
|
|
547
|
+
/** The key of the marker's `meta` that holds the database's policies. */
|
|
548
|
+
const DATABASE_POLICIES_META_KEY = "policies";
|
|
549
|
+
const DEFAULT_DATABASE_POLICIES = {
|
|
550
|
+
change: ["migrate", "reconcile"],
|
|
551
|
+
dataProtection: {
|
|
552
|
+
dataLoss: "data-loss-with-consent",
|
|
553
|
+
accessWidening: "access-widening-with-consent"
|
|
554
|
+
}
|
|
555
|
+
};
|
|
556
|
+
const changeSchema = type.enumerated(...CHANGE_STRATEGIES).array().atLeastLength(1);
|
|
557
|
+
const dataLossSchema = type.enumerated(...DATA_LOSS_LEVELS);
|
|
558
|
+
const accessWideningSchema = type.enumerated(...ACCESS_WIDENING_LEVELS);
|
|
559
|
+
function notAList(data, ctx) {
|
|
560
|
+
return !Array.isArray(data) || ctx.mustBe("an object, not a list");
|
|
561
|
+
}
|
|
562
|
+
/** Policies with any setting left out: what a ref declares, and what a marker may record. */
|
|
563
|
+
const PartialDatabasePoliciesSchema = type({
|
|
564
|
+
"+": "reject",
|
|
565
|
+
"change?": changeSchema,
|
|
566
|
+
"dataProtection?": type({
|
|
567
|
+
"+": "reject",
|
|
568
|
+
"dataLoss?": dataLossSchema,
|
|
569
|
+
"accessWidening?": accessWideningSchema
|
|
570
|
+
}).narrow(notAList)
|
|
571
|
+
}).narrow(notAList);
|
|
572
|
+
type({
|
|
573
|
+
"+": "reject",
|
|
574
|
+
change: changeSchema,
|
|
575
|
+
dataProtection: type({
|
|
576
|
+
"+": "reject",
|
|
577
|
+
dataLoss: dataLossSchema,
|
|
578
|
+
accessWidening: accessWideningSchema
|
|
579
|
+
}).narrow(notAList)
|
|
580
|
+
}).narrow(notAList);
|
|
581
|
+
function sortedStrategies(change) {
|
|
582
|
+
return [...new Set(change)].sort();
|
|
583
|
+
}
|
|
584
|
+
/** `inForce` with every setting `declared` carries laid over it. */
|
|
585
|
+
function withDeclaredDatabasePolicies(inForce, declared) {
|
|
586
|
+
return {
|
|
587
|
+
change: sortedStrategies(declared.change ?? inForce.change),
|
|
588
|
+
dataProtection: {
|
|
589
|
+
dataLoss: declared.dataProtection?.dataLoss ?? inForce.dataProtection.dataLoss,
|
|
590
|
+
accessWidening: declared.dataProtection?.accessWidening ?? inForce.dataProtection.accessWidening
|
|
591
|
+
}
|
|
592
|
+
};
|
|
593
|
+
}
|
|
594
|
+
/** What is wrong with a value, without its path, which arktype puts at the start of a union's problem. */
|
|
595
|
+
function problemOf(error) {
|
|
596
|
+
const pathPrefix = `${error.propString} `;
|
|
597
|
+
return error.propString !== "" && error.problem.startsWith(pathPrefix) ? error.problem.slice(pathPrefix.length) : error.problem;
|
|
598
|
+
}
|
|
599
|
+
/** Reads a policy declaration, as a ref declares it and a marker records it, rejecting any value the declaration may not hold. */
|
|
600
|
+
function parseDeclaredDatabasePolicies(value) {
|
|
601
|
+
const declared = PartialDatabasePoliciesSchema(value);
|
|
602
|
+
if (declared instanceof type.errors) return notOk(declared.map((error) => ({
|
|
603
|
+
path: error.propString,
|
|
604
|
+
problem: problemOf(error)
|
|
605
|
+
})));
|
|
606
|
+
return ok(declared);
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* The policies in force on a database whose application space's marker is `marker`: what it
|
|
610
|
+
* records, with every absent setting taken from {@link DEFAULT_DATABASE_POLICIES}.
|
|
611
|
+
*/
|
|
612
|
+
function databasePoliciesOf(marker) {
|
|
613
|
+
const recorded = marker?.meta[DATABASE_POLICIES_META_KEY];
|
|
614
|
+
if (recorded === void 0) return ok(DEFAULT_DATABASE_POLICIES);
|
|
615
|
+
const declared = parseDeclaredDatabasePolicies(recorded);
|
|
616
|
+
if (!declared.ok) {
|
|
617
|
+
const issues = declared.failure.map(({ path, problem }) => path === "" ? problem : `${path} ${problem}`).join("\n");
|
|
618
|
+
return notOk({ why: `The marker's meta.${DATABASE_POLICIES_META_KEY} is not a valid policy declaration: ${issues}` });
|
|
619
|
+
}
|
|
620
|
+
return ok(withDeclaredDatabasePolicies(DEFAULT_DATABASE_POLICIES, declared.value));
|
|
621
|
+
}
|
|
622
|
+
/** The settings `declared` carries whose value differs from the one in force, in a fixed order. */
|
|
623
|
+
function databasePolicyDifferences(declared, inForce) {
|
|
624
|
+
const differences = [];
|
|
625
|
+
if (declared.change !== void 0) {
|
|
626
|
+
const declaredChange = sortedStrategies(declared.change);
|
|
627
|
+
const inForceChange = sortedStrategies(inForce.change);
|
|
628
|
+
if (declaredChange.join(",") !== inForceChange.join(",")) differences.push({
|
|
629
|
+
setting: "change",
|
|
630
|
+
declared: declaredChange,
|
|
631
|
+
inForce: inForceChange
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
const { dataLoss, accessWidening } = declared.dataProtection ?? {};
|
|
635
|
+
if (dataLoss !== void 0 && dataLoss !== inForce.dataProtection.dataLoss) differences.push({
|
|
636
|
+
setting: "dataProtection.dataLoss",
|
|
637
|
+
declared: dataLoss,
|
|
638
|
+
inForce: inForce.dataProtection.dataLoss
|
|
639
|
+
});
|
|
640
|
+
if (accessWidening !== void 0 && accessWidening !== inForce.dataProtection.accessWidening) differences.push({
|
|
641
|
+
setting: "dataProtection.accessWidening",
|
|
642
|
+
declared: accessWidening,
|
|
643
|
+
inForce: inForce.dataProtection.accessWidening
|
|
644
|
+
});
|
|
645
|
+
return differences;
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* Compares the policies `marker` records with `checked`, as a runner checks under its lock that the
|
|
649
|
+
* policies a caller checked are still those in force.
|
|
650
|
+
*/
|
|
651
|
+
function compareMarkerDatabasePolicies(marker, checked) {
|
|
652
|
+
const inForce = databasePoliciesOf(marker);
|
|
653
|
+
if (!inForce.ok) return {
|
|
654
|
+
kind: "unreadable",
|
|
655
|
+
why: inForce.failure.why
|
|
656
|
+
};
|
|
657
|
+
return databasePolicyDifferences(checked, inForce.value).length === 0 ? { kind: "held" } : {
|
|
658
|
+
kind: "moved",
|
|
659
|
+
found: inForce.value
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
/** A policy setting's value as messages print it: change strategies comma-separated. */
|
|
663
|
+
function databasePolicyValueText(value) {
|
|
664
|
+
return typeof value === "string" ? value : value.join(", ");
|
|
665
|
+
}
|
|
666
|
+
/** Why the policies `actor` checked no longer hold: each setting that moved, from the value checked to the value found. */
|
|
667
|
+
function movedDatabasePoliciesWhy(actor, checked, found) {
|
|
668
|
+
return `The database's policies changed after ${actor} checked them: ${databasePolicyDifferences(checked, found).map(({ setting, declared: checkedValue, inForce: foundValue }) => `${setting} moved from ${databasePolicyValueText(checkedValue)} to ${databasePolicyValueText(foundValue)}`).join("; ")}.`;
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* `MIGRATION.MARKER_CAS_FAILURE` for a run whose checked policies moved before it changed anything:
|
|
672
|
+
* the meta carries the policies checked and found, not the marker's hashes.
|
|
673
|
+
*/
|
|
674
|
+
function databasePoliciesMovedFailure(checked, found) {
|
|
675
|
+
return migrationRunnerFailure("MIGRATION.MARKER_CAS_FAILURE", "The database's policies changed during the run", {
|
|
676
|
+
why: `${movedDatabasePoliciesWhy("this run", checked, found)} Run the command again to check them anew.`,
|
|
677
|
+
meta: {
|
|
678
|
+
reason: "databasePolicies",
|
|
679
|
+
space: "app",
|
|
680
|
+
checkedDatabasePolicies: checked,
|
|
681
|
+
foundDatabasePolicies: found
|
|
682
|
+
}
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
function storedDatabasePolicies(policies) {
|
|
686
|
+
return {
|
|
687
|
+
change: [...sortedStrategies(policies.change)],
|
|
688
|
+
dataProtection: {
|
|
689
|
+
dataLoss: policies.dataProtection.dataLoss,
|
|
690
|
+
accessWidening: policies.dataProtection.accessWidening
|
|
691
|
+
}
|
|
692
|
+
};
|
|
693
|
+
}
|
|
530
694
|
function isRenameStatement(statement) {
|
|
531
695
|
return statement.kind === "rename";
|
|
532
696
|
}
|
|
@@ -1026,6 +1190,6 @@ function dispositionForCategory(controlPolicy, category) {
|
|
|
1026
1190
|
return "fail";
|
|
1027
1191
|
}
|
|
1028
1192
|
//#endregion
|
|
1029
|
-
export {
|
|
1193
|
+
export { issueLabel as $, dispositionForCategory as A, extractParameterizedOutputTypeImports as B, createControlStack as C, databasePolicyValueText as D, databasePolicyDifferences as E, expectAbsent as F, hasMigrations as G, failedPostcheckWhy as H, expectPresent as I, hasPslContractInfer as J, hasOperationPreview as K, extractCodecLookup as L, enumValueCoordinateFromJson as M, enumValueCoordinateJson as N, describeMigrationStatement as O, enumValueStatementText as P, isStorageHashHex as Q, extractCodecTypeImports as R, contractSnapshotTypesSpecifier as S, databasePoliciesOf as T, failedPrecheckWhy as U, extractQueryOperationTypeImports as V, fieldStatementText as W, hasSchemaView as X, hasSchemaSubjectClassifier as Y, isRenameStatement as Z, assembleControlMutationDefaults as _, withDatabaseUnchanged as _t, DATABASE_POLICIES_KEYS as a, modelDisplayName as at, compareMarkerDatabasePolicies as b, DATA_PROTECTION_KEYS as c, orderIssuesByDependencies as ct, SchemaTreeNode as d, sameMarkerHashes as dt, issueOutcome as et, VERIFY_CODE_HASH_MISMATCH as f, schemaCheckWhy as ft, assembleAuthoringContributions as g, valueObjectFieldStatementText as gt, VERIFY_CODE_TARGET_MISMATCH as h, storedDatabasePolicies as ht, CONTRACT_SNAPSHOTS_DIRNAME as i, migrationSubjectKey as it, enforceHelperCodecInvariants as j, diffSchemas as k, DEFAULT_DATABASE_POLICIES as l, parseDeclaredDatabasePolicies as lt, VERIFY_CODE_SCHEMA_FAILURE as m, storageHashHex as mt, APP_SPACE_ID as n, migrationStatementJson as nt, DATABASE_POLICIES_META_KEY as o, modelStatementText as ot, VERIFY_CODE_MARKER_MISSING as p, schemaIssuesWhy as pt, hasPslContractBuild as q, CHANGE_STRATEGIES as r, migrationSubjectJson as rt, DATA_LOSS_LEVELS as s, movedDatabasePoliciesWhy as st, ACCESS_WIDENING_LEVELS as t, migrationRunnerFailure as tt, SchemaDiff as u, planOriginOf as ut, assertUniqueCodecOwner as v, withDeclaredDatabasePolicies as vt, databasePoliciesMovedFailure as w, contractSnapshotJsonSpecifier as x, buildExtensionLoadOrder as y, withFailingSpace as yt, extractComponentIds as z };
|
|
1030
1194
|
|
|
1031
|
-
//# sourceMappingURL=control-
|
|
1195
|
+
//# sourceMappingURL=control-B0KO727Y.mjs.map
|