@prisma/orm-framework 8.0.0-rc.12-dev.10 → 8.0.0-rc.12-dev.12

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.
Files changed (64) hide show
  1. package/dist/authoring-D_Czkofy.mjs +35 -0
  2. package/dist/authoring-D_Czkofy.mjs.map +1 -0
  3. package/dist/authoring-DjeaZGzp.d.mts +27 -0
  4. package/dist/authoring-DjeaZGzp.d.mts.map +1 -0
  5. package/dist/components.d.mts +4 -3
  6. package/dist/components.mjs +4 -3
  7. package/dist/components__authoring.d.mts +3 -2
  8. package/dist/components__authoring.mjs +3 -2
  9. package/dist/components__control.d.mts +3 -2
  10. package/dist/components__control.mjs +3 -2
  11. package/dist/{config-types-n_SgAl69.d.mts → config-types-DgoEWkgA.d.mts} +2 -2
  12. package/dist/{config-types-n_SgAl69.d.mts.map → config-types-DgoEWkgA.d.mts.map} +1 -1
  13. package/dist/config.d.mts +1 -1
  14. package/dist/config__config-types.d.mts +1 -1
  15. package/dist/contract-authoring.d.mts +75 -3
  16. package/dist/contract-authoring.d.mts.map +1 -1
  17. package/dist/contract-authoring.mjs +61 -2
  18. package/dist/contract-authoring.mjs.map +1 -1
  19. package/dist/contract.d.mts +2 -2
  20. package/dist/contract.mjs +2 -2
  21. package/dist/contract__types.d.mts +2 -2
  22. package/dist/contract__types.mjs +2 -2
  23. package/dist/{control-DQ-TrDyA.d.mts → control-Bc_dos9-.d.mts} +2 -1
  24. package/dist/control-Bc_dos9-.d.mts.map +1 -0
  25. package/dist/{control-0Teuhk1e.mjs → control-BjK3Jrmp.mjs} +2 -2
  26. package/dist/control-BjK3Jrmp.mjs.map +1 -0
  27. package/dist/{declarations-D79GooqC-BhBEz1Kc.mjs → declarations-D79GooqC-CcAbqTsq.mjs} +2 -2
  28. package/dist/{declarations-D79GooqC-BhBEz1Kc.mjs.map → declarations-D79GooqC-CcAbqTsq.mjs.map} +1 -1
  29. package/dist/errors.d.mts +1 -1
  30. package/dist/errors__execution.d.mts +1 -1
  31. package/dist/{execution-MIxP3di2.d.mts → execution-oqC6O8ES.d.mts} +2 -2
  32. package/dist/{execution-MIxP3di2.d.mts.map → execution-oqC6O8ES.d.mts.map} +1 -1
  33. package/dist/{parse-DN-F4ASD-CdISnhAA.mjs → parse-DN-F4ASD-ClJdPlzj.mjs} +2 -2
  34. package/dist/{parse-DN-F4ASD-CdISnhAA.mjs.map → parse-DN-F4ASD-ClJdPlzj.mjs.map} +1 -1
  35. package/dist/{parse-SHpUIBnv-D7vqty6E.d.mts → parse-SHpUIBnv-BvPsKLqw.d.mts} +3 -3
  36. package/dist/{parse-SHpUIBnv-D7vqty6E.d.mts.map → parse-SHpUIBnv-BvPsKLqw.d.mts.map} +1 -1
  37. package/dist/psl-parser.d.mts +4 -4
  38. package/dist/psl-parser.mjs +2 -2
  39. package/dist/psl-parser__format.mjs +2 -2
  40. package/dist/psl-parser__interpret.d.mts +61 -4
  41. package/dist/psl-parser__interpret.d.mts.map +1 -1
  42. package/dist/psl-parser__interpret.mjs +360 -1
  43. package/dist/psl-parser__interpret.mjs.map +1 -1
  44. package/dist/psl-parser__syntax.d.mts +1 -1
  45. package/dist/psl-parser__syntax.mjs +2 -2
  46. package/dist/psl-printer.d.mts +1 -1
  47. package/dist/psl-printer.mjs +1 -1
  48. package/dist/{symbol-table-DVPEY1fq-D2h-zqeQ.d.mts → symbol-table-DVPEY1fq-C5mC1wdG.d.mts} +3 -3
  49. package/dist/{symbol-table-DVPEY1fq-D2h-zqeQ.d.mts.map → symbol-table-DVPEY1fq-C5mC1wdG.d.mts.map} +1 -1
  50. package/dist/{framework-authoring-bUu_R58O-Cr-Mz1dC.mjs → temporal-presets-DABMpaxB-DDEaCwpa.mjs} +106 -4
  51. package/dist/temporal-presets-DABMpaxB-DDEaCwpa.mjs.map +1 -0
  52. package/dist/temporal-presets-L05Tl534-jgcrZX_O.d.mts +123 -0
  53. package/dist/temporal-presets-L05Tl534-jgcrZX_O.d.mts.map +1 -0
  54. package/dist/{types-BULt1qLG.d.mts → types-BiXRgK9f.d.mts} +6 -2
  55. package/dist/types-BiXRgK9f.d.mts.map +1 -0
  56. package/dist/{types-DG4qHrT8.mjs → types-QyibIZST.mjs} +28 -2
  57. package/dist/types-QyibIZST.mjs.map +1 -0
  58. package/package.json +15 -15
  59. package/dist/authoring-BnE2ayAF.d.mts +0 -1
  60. package/dist/control-0Teuhk1e.mjs.map +0 -1
  61. package/dist/control-DQ-TrDyA.d.mts.map +0 -1
  62. package/dist/framework-authoring-bUu_R58O-Cr-Mz1dC.mjs.map +0 -1
  63. package/dist/types-BULt1qLG.d.mts.map +0 -1
  64. package/dist/types-DG4qHrT8.mjs.map +0 -1
@@ -0,0 +1,35 @@
1
+ import { g as isAuthoringFieldPresetDescriptor, u as hasRegisteredFieldNamespace } from "./temporal-presets-DABMpaxB-DDEaCwpa.mjs";
2
+ //#region ../../../1-framework/1-core/framework-components/dist/authoring.mjs
3
+ /**
4
+ * Walks `authoringContributions.field` segment by segment and returns the field-preset descriptor at the path, or `undefined` when none is registered there.
5
+ */
6
+ function getAuthoringFieldPreset(contributions, path) {
7
+ let current = contributions?.field;
8
+ for (const segment of path) {
9
+ if (typeof current !== "object" || current === null || "kind" in current) return;
10
+ current = current[segment];
11
+ }
12
+ return current !== void 0 && isAuthoringFieldPresetDescriptor(current) ? current : void 0;
13
+ }
14
+ /**
15
+ * Returns the namespace prefix of `attributeName` when it names an extension namespace that is not composed, otherwise `undefined`. A namespace is recognized when it is:
16
+ *
17
+ * - `db` (native-type spec, always allowed),
18
+ * - the active family id,
19
+ * - the active target id,
20
+ * - a registered field-preset namespace (e.g. `temporal`),
21
+ * - present in `composedExtensions`.
22
+ *
23
+ * Family, target, and field-preset namespaces are exempt so an attribute that does not exist under them surfaces as an unsupported attribute rather than as an uncomposed extension namespace.
24
+ */
25
+ function checkUncomposedNamespace(attributeName, composedExtensions, context) {
26
+ const dotIndex = attributeName.indexOf(".");
27
+ if (dotIndex <= 0 || dotIndex === attributeName.length - 1) return;
28
+ const namespace = attributeName.slice(0, dotIndex);
29
+ if (namespace === "db" || namespace === context?.familyId || namespace === context?.targetId || hasRegisteredFieldNamespace(context?.authoringContributions, namespace) || composedExtensions.has(namespace)) return;
30
+ return namespace;
31
+ }
32
+ //#endregion
33
+ export { getAuthoringFieldPreset as n, checkUncomposedNamespace as t };
34
+
35
+ //# sourceMappingURL=authoring-D_Czkofy.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authoring-D_Czkofy.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.mjs"],"sourcesContent":["import { A as resolveEnumCodecId, C as isAuthoringTypeConstructorDescriptor, E as loweringEntryKey, O as mergeAuthoringNamespaces, S as isAuthoringPslBlockDescriptor, T as isLoweringEntryKey, _ as instantiateAuthoringTypeConstructor, a as temporalCodecPreset, b as isAuthoringFieldPresetDescriptor, c as assertNoCrossRegistryCollisions, f as collectScalarTypeConstructors, g as instantiateAuthoringFieldPreset, h as instantiateAuthoringEntityType, i as temporalAuthoringPresets, j as validateAuthoringHelperArguments, k as resolveAuthoringTemplateValue, l as assertResolvableTypeConstructorTemplates, m as hasRegisteredFieldNamespace, n as TEMPORAL_ON_UPDATE_ARG, o as temporalPhaseTemplate, p as flushAuthoringWarnings, r as TIMESTAMP_NOW_GENERATOR_ID, t as TEMPORAL_ON_CREATE_ARG, u as classifyEnumMemberType, v as isAuthoringArgRef, w as isDataTypeLoweringEntry, x as isAuthoringModelAttributeDescriptor, y as isAuthoringEntityTypeDescriptor } from \"./temporal-presets-DABMpaxB.mjs\";\n//#region src/shared/field-preset-resolution.ts\n/**\n* Walks `authoringContributions.field` segment by segment and returns the field-preset descriptor at the path, or `undefined` when none is registered there.\n*/\nfunction getAuthoringFieldPreset(contributions, path) {\n\tlet current = contributions?.field;\n\tfor (const segment of path) {\n\t\tif (typeof current !== \"object\" || current === null || \"kind\" in current) return;\n\t\tcurrent = current[segment];\n\t}\n\treturn current !== void 0 && isAuthoringFieldPresetDescriptor(current) ? current : void 0;\n}\n/**\n* Returns the namespace prefix of `attributeName` when it names an extension namespace that is not composed, otherwise `undefined`. A namespace is recognized when it is:\n*\n* - `db` (native-type spec, always allowed),\n* - the active family id,\n* - the active target id,\n* - a registered field-preset namespace (e.g. `temporal`),\n* - present in `composedExtensions`.\n*\n* Family, target, and field-preset namespaces are exempt so an attribute that does not exist under them surfaces as an unsupported attribute rather than as an uncomposed extension namespace.\n*/\nfunction checkUncomposedNamespace(attributeName, composedExtensions, context) {\n\tconst dotIndex = attributeName.indexOf(\".\");\n\tif (dotIndex <= 0 || dotIndex === attributeName.length - 1) return;\n\tconst namespace = attributeName.slice(0, dotIndex);\n\tif (namespace === \"db\" || namespace === context?.familyId || namespace === context?.targetId || hasRegisteredFieldNamespace(context?.authoringContributions, namespace) || composedExtensions.has(namespace)) return;\n\treturn namespace;\n}\n//#endregion\nexport { TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, checkUncomposedNamespace, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, getAuthoringFieldPreset, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, loweringEntryKey, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, validateAuthoringHelperArguments };\n\n//# sourceMappingURL=authoring.mjs.map"],"mappings":";;;;;AAKA,SAAS,wBAAwB,eAAe,MAAM;CACrD,IAAI,UAAU,eAAe;CAC7B,KAAK,MAAM,WAAW,MAAM;EAC3B,IAAI,OAAO,YAAY,YAAY,YAAY,QAAQ,UAAU,SAAS;EAC1E,UAAU,QAAQ;CACnB;CACA,OAAO,YAAY,KAAK,KAAK,iCAAiC,OAAO,IAAI,UAAU,KAAK;AACzF;;;;;;;;;;;;AAYA,SAAS,yBAAyB,eAAe,oBAAoB,SAAS;CAC7E,MAAM,WAAW,cAAc,QAAQ,GAAG;CAC1C,IAAI,YAAY,KAAK,aAAa,cAAc,SAAS,GAAG;CAC5D,MAAM,YAAY,cAAc,MAAM,GAAG,QAAQ;CACjD,IAAI,cAAc,QAAQ,cAAc,SAAS,YAAY,cAAc,SAAS,YAAY,4BAA4B,SAAS,wBAAwB,SAAS,KAAK,mBAAmB,IAAI,SAAS,GAAG;CAC9M,OAAO;AACR"}
@@ -0,0 +1,27 @@
1
+ import { a as AuthoringContributions, m as AuthoringFieldPresetDescriptor } from "./framework-authoring-C9VTqnML-BXtBl2dJ.mjs";
2
+ import "./temporal-presets-L05Tl534-jgcrZX_O.mjs";
3
+ //#region ../../../1-framework/1-core/framework-components/dist/authoring.d.mts
4
+ //#region src/shared/field-preset-resolution.d.ts
5
+ /**
6
+ * Walks `authoringContributions.field` segment by segment and returns the field-preset descriptor at the path, or `undefined` when none is registered there.
7
+ */
8
+ declare function getAuthoringFieldPreset(contributions: AuthoringContributions | undefined, path: readonly string[]): AuthoringFieldPresetDescriptor | undefined;
9
+ /**
10
+ * Returns the namespace prefix of `attributeName` when it names an extension namespace that is not composed, otherwise `undefined`. A namespace is recognized when it is:
11
+ *
12
+ * - `db` (native-type spec, always allowed),
13
+ * - the active family id,
14
+ * - the active target id,
15
+ * - a registered field-preset namespace (e.g. `temporal`),
16
+ * - present in `composedExtensions`.
17
+ *
18
+ * Family, target, and field-preset namespaces are exempt so an attribute that does not exist under them surfaces as an unsupported attribute rather than as an uncomposed extension namespace.
19
+ */
20
+ declare function checkUncomposedNamespace(attributeName: string, composedExtensions: ReadonlySet<string>, context?: {
21
+ readonly familyId?: string;
22
+ readonly targetId?: string;
23
+ readonly authoringContributions?: AuthoringContributions | undefined;
24
+ }): string | undefined;
25
+ //#endregion
26
+ export { getAuthoringFieldPreset as n, checkUncomposedNamespace as t };
27
+ //# sourceMappingURL=authoring-DjeaZGzp.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authoring-DjeaZGzp.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.d.mts"],"mappings":";;;;;;;iBAMiB,wBAAwB,eAAe,oCAAoC,0BAA0B;;;;;;;;;;;;iBAYrG,yBAAyB,uBAAuB,oBAAoB,qBAAqB;WAC/F;WACA;WACA,yBAAyB"}
@@ -1,6 +1,7 @@
1
1
  import { C as dataTypeId, S as dataType, _ as DataTypeId, a as CodecCallContext, b as ListCast, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as DataType, h as CodecTrait, i as Codec, l as CodecDescriptorTemplateImpl, m as CodecRegistry, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecRef, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeLookup, w as emptyCodecLookup, x as createDataTypeLookup, y as DataTypeSpec } from "./codec-types-C4Bx6jXr-C2MBP0-0.mjs";
2
2
  import { $ as PslExtensionBlockAttributeArg, A as AuthoringTypeNamespace, At as isLoweringEntryKey, B as DataTypeWrittenForm, C as AuthoringPslBlockDescriptor, Ct as isAuthoringArgRef, D as AuthoringTemplateValue, Dt as isAuthoringPslBlockDescriptor, E as AuthoringStorageTypeTemplate, Et as isAuthoringModelAttributeDescriptor, F as ControlMutationDefaultEntry, Ft as validateAuthoringHelperArguments, G as PslBlockParam, H as LoweredDefaultResult, I as ControlMutationDefaultRegistry, J as PslBlockParamRef, K as PslBlockParamList, L as ControlMutationDefaults, M as AuthoringWarningSink, Mt as mergeAuthoringNamespaces, N as ContributedPslDiagnosticCode, Nt as resolveAuthoringTemplateValue, O as AuthoringTypeConstructorDescriptor, Ot as isAuthoringTypeConstructorDescriptor, P as ControlDefaultRegistries, Pt as resolveEnumCodecId, Q as PslExtensionBlockAttribute, R as DataTypeAuthoringEntry, S as AuthoringOption, St as instantiateAuthoringTypeConstructor, T as AuthoringSelectRef, Tt as isAuthoringFieldPresetDescriptor, U as LoweredDefaultValue, V as DefaultFunctionLoweringContext, W as MutationDefaultGeneratorDescriptor, X as PslDiagnosticCode, Y as PslBlockParamValue, Z as PslExtensionBlock, _ as AuthoringModelAttributeDescriptor, _t as collectScalarTypeConstructors, a as AuthoringContributions, at as PslExtensionBlockParamValue, b as AuthoringModelAttributeIndexOutput, bt as instantiateAuthoringEntityType, c as AuthoringEntityContext, ct as PslSpan, d as AuthoringEntityTypeNamespace, dt as SourceSpan, et as PslExtensionBlockParamBare, f as AuthoringEntityTypeTemplateOutput, ft as TaggedLiteralValue, g as AuthoringModelAttributeContext, gt as classifyEnumMemberType, h as AuthoringFieldPresetOutput, ht as assertResolvableTypeConstructorTemplates, i as AuthoringColumnDefaultTemplate, it as PslExtensionBlockParamScalarValue, j as AuthoringWarning, jt as loweringEntryKey, k as AuthoringTypeConstructorEntityRef, kt as isDataTypeLoweringEntry, l as AuthoringEntityTypeDescriptor, lt as ScalarTypeConstructorOutput, m as AuthoringFieldPresetDescriptor, mt as assertNoCrossRegistryCollisions, n as AuthoringArgumentDescriptor, nt as PslExtensionBlockParamOption, o as AuthoringDataTypeEntry, ot as PslExtensionBlockParsedAttribute, p as AuthoringFieldNamespace, pt as TypedDefaultFunctionCall, q as PslBlockParamOption, r as AuthoringAttributeSpecContributions, rt as PslExtensionBlockParamRef, s as AuthoringDiagnosticSink, st as PslPosition, t as AuthoringArgRef, tt as PslExtensionBlockParamList, u as AuthoringEntityTypeFactoryOutput, ut as SourceDiagnostic, v as AuthoringModelAttributeDescriptorNamespace, vt as flushAuthoringWarnings, w as AuthoringPslBlockDescriptorNamespace, wt as isAuthoringEntityTypeDescriptor, x as AuthoringModelAttributeLoweringOutput, xt as instantiateAuthoringFieldPreset, y as AuthoringModelAttributeEntityOutput, yt as hasRegisteredFieldNamespace, z as DataTypeLoweringAuthoringEntry } from "./framework-authoring-C9VTqnML-BXtBl2dJ.mjs";
3
- import "./authoring-BnE2ayAF.mjs";
3
+ import { a as temporalAuthoringPresets, c as timestampNowControlDescriptor, i as TIMESTAMP_NOW_GENERATOR_ID, n as TEMPORAL_ON_CREATE_ARG, o as temporalCodecPreset, r as TEMPORAL_ON_UPDATE_ARG, s as temporalPhaseTemplate, t as PresetStorageTemplate } from "./temporal-presets-L05Tl534-jgcrZX_O.mjs";
4
+ import { n as getAuthoringFieldPreset, t as checkUncomposedNamespace } from "./authoring-DjeaZGzp.mjs";
4
5
  import { a as ColumnTypeDescriptor, c as renderTsLiteral, i as ColumnSpec, l as resolveCodecDescriptorOrThrow, n as ColumnHelperFor, o as column, r as ColumnHelperForStrict, s as materializeCodec, t as CONTRACT_CODEC_DESCRIPTOR_MISSING, u as validateCodecTypeParams } from "./codec-D5McQin0.mjs";
5
6
  import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, l as TypesImportSpec, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-B15QNHY_-BkWCRWEb.mjs";
6
7
  import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
@@ -9,7 +10,7 @@ import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as Ag
9
10
  import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-ByNBI5Lx-Cu73cjFg.mjs";
10
11
  import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-BKF2fYgk-D6YxdCnP.mjs";
11
12
  import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
12
- import { $ as SchemaDiff, $t as storageHashHex, A as MigrationPackage, At as assertUniqueCodecOwner, B as MigrationRunnerExecutionChecks, Bt as extractCodecLookup, C as EmitContractResult, Ct as VerifierOutcome, D as MigrationMetadata, Dt as assembleAuthoringDataTypes, E as MigratableTargetDescriptor, Et as assembleAuthoringContributions, F as MigrationPlannerConflict, Ft as createControlStack, G as MigrationRunnerSuccessValue, Gt as hasOperationPreview, H as MigrationRunnerPerSpaceOptions, Ht as extractComponentIds, I as MigrationPlannerFailureResult, It as describeTaggedLiteralFailure, J as OperationContext, Jt as hasSchemaView, K as MigrationScaffoldContext, Kt as hasPslContractInfer, L as MigrationPlannerResult, Lt as diffSchemas, M as MigrationPlanOperation, Mt as canonicalizeTaggedLiteralBody, N as MigrationPlanWithAuthoringSurface, Nt as contractSnapshotJsonSpecifier, O as MigrationOperationClass, Ot as assembleControlMutationDefaults, P as MigrationPlanner, Pt as contractSnapshotTypesSpecifier, Q as PslContractInferCapable, Qt as resolveTemplateTagEscapes, R as MigrationPlannerSuccessResult, Rt as dispositionForCategory, S as DiffableNode, St as VerifierIssueCategory, T as IntrospectSchemaResult, Tt as VerifyDatabaseSchemaResult, U as MigrationRunnerPerSpaceSuccessValue, Ut as extractQueryOperationTypeImports, V as MigrationRunnerFailure, Vt as extractCodecTypeImports, W as MigrationRunnerResult, Wt as hasMigrations, X as OperationPreviewCapable, Xt as orderIssuesByDependencies, Y as OperationPreview, Yt as issueOutcome, Z as OperationPreviewStatement, Zt as resolvePslBacktickEscapes, _ as ControlTargetInstance, _t as VERIFY_CODE_HASH_MISMATCH, a as ContractSpace, at as SchemaTreeNode, b as DataTypeInvariantInput, bt as VERIFY_CODE_TARGET_MISMATCH, c as ControlAdapterInstance, ct as SchemaVerifier, d as ControlExtensionDescriptor, dt as SchemaViewCapable, et as SchemaDiffIssue, f as ControlExtensionInstance, ft as SchemaViewNodeKind, g as ControlTargetDescriptor, gt as TargetMigrationsCapability, h as ControlStack, ht as TaggedLiteralCanonicalization, i as ContractSerializer, it as SchemaSubjectClassifierCapable, j as MigrationPlan, jt as buildExtensionLoadOrder, k as MigrationOperationPolicy, kt as assembleDataTypes, l as ControlDriverDescriptor, lt as SchemaVerifyOptions, m as ControlFamilyInstance, mt as TAGGED_LITERAL_MAX_BYTES, n as AssembledAuthoringContributions, nt as SchemaNodeRef, o as ContractSpaceHeadRef, ot as SchemaTreeNodeOptions, p as ControlFamilyDescriptor, pt as SignDatabaseResult, q as OpFactoryCall, qt as hasSchemaSubjectClassifier, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaOwnership, s as ControlAdapterDescriptor, st as SchemaTreeVisitor, t as APP_SPACE_ID, tt as SchemaEntityCoordinate, u as ControlDriverInstance, ut as SchemaVerifyResult, v as CoreSchemaView, vt as VERIFY_CODE_MARKER_MISSING, w as ExpectationFailureReason, wt as VerifyDatabaseResult, x as DiffSubjectGranularity, xt as VerificationStatus, y as CreateControlStackInput, yt as VERIFY_CODE_SCHEMA_FAILURE, z as MigrationRunner, zt as enforceDataTypeInvariants } from "./control-DQ-TrDyA.mjs";
13
+ import { $ as SchemaDiff, $t as storageHashHex, A as MigrationPackage, At as assertUniqueCodecOwner, B as MigrationRunnerExecutionChecks, Bt as extractCodecLookup, C as EmitContractResult, Ct as VerifierOutcome, D as MigrationMetadata, Dt as assembleAuthoringDataTypes, E as MigratableTargetDescriptor, Et as assembleAuthoringContributions, F as MigrationPlannerConflict, Ft as createControlStack, G as MigrationRunnerSuccessValue, Gt as hasOperationPreview, H as MigrationRunnerPerSpaceOptions, Ht as extractComponentIds, I as MigrationPlannerFailureResult, It as describeTaggedLiteralFailure, J as OperationContext, Jt as hasSchemaView, K as MigrationScaffoldContext, Kt as hasPslContractInfer, L as MigrationPlannerResult, Lt as diffSchemas, M as MigrationPlanOperation, Mt as canonicalizeTaggedLiteralBody, N as MigrationPlanWithAuthoringSurface, Nt as contractSnapshotJsonSpecifier, O as MigrationOperationClass, Ot as assembleControlMutationDefaults, P as MigrationPlanner, Pt as contractSnapshotTypesSpecifier, Q as PslContractInferCapable, Qt as resolveTemplateTagEscapes, R as MigrationPlannerSuccessResult, Rt as dispositionForCategory, S as DiffableNode, St as VerifierIssueCategory, T as IntrospectSchemaResult, Tt as VerifyDatabaseSchemaResult, U as MigrationRunnerPerSpaceSuccessValue, Ut as extractQueryOperationTypeImports, V as MigrationRunnerFailure, Vt as extractCodecTypeImports, W as MigrationRunnerResult, Wt as hasMigrations, X as OperationPreviewCapable, Xt as orderIssuesByDependencies, Y as OperationPreview, Yt as issueOutcome, Z as OperationPreviewStatement, Zt as resolvePslBacktickEscapes, _ as ControlTargetInstance, _t as VERIFY_CODE_HASH_MISMATCH, a as ContractSpace, at as SchemaTreeNode, b as DataTypeInvariantInput, bt as VERIFY_CODE_TARGET_MISMATCH, c as ControlAdapterInstance, ct as SchemaVerifier, d as ControlExtensionDescriptor, dt as SchemaViewCapable, et as SchemaDiffIssue, f as ControlExtensionInstance, ft as SchemaViewNodeKind, g as ControlTargetDescriptor, gt as TargetMigrationsCapability, h as ControlStack, ht as TaggedLiteralCanonicalization, i as ContractSerializer, it as SchemaSubjectClassifierCapable, j as MigrationPlan, jt as buildExtensionLoadOrder, k as MigrationOperationPolicy, kt as assembleDataTypes, l as ControlDriverDescriptor, lt as SchemaVerifyOptions, m as ControlFamilyInstance, mt as TAGGED_LITERAL_MAX_BYTES, n as AssembledAuthoringContributions, nt as SchemaNodeRef, o as ContractSpaceHeadRef, ot as SchemaTreeNodeOptions, p as ControlFamilyDescriptor, pt as SignDatabaseResult, q as OpFactoryCall, qt as hasSchemaSubjectClassifier, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaOwnership, s as ControlAdapterDescriptor, st as SchemaTreeVisitor, t as APP_SPACE_ID, tt as SchemaEntityCoordinate, u as ControlDriverInstance, ut as SchemaVerifyResult, v as CoreSchemaView, vt as VERIFY_CODE_MARKER_MISSING, w as ExpectationFailureReason, wt as VerifyDatabaseResult, x as DiffSubjectGranularity, xt as VerificationStatus, y as CreateControlStackInput, yt as VERIFY_CODE_SCHEMA_FAILURE, z as MigrationRunner, zt as enforceDataTypeInvariants } from "./control-Bc_dos9-.mjs";
13
14
  import "./emission-DH7lXuzu.mjs";
14
15
  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-CmKm3jvH.mjs";
15
16
  import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
@@ -17,4 +18,4 @@ import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b
17
18
  import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-Bu85Lu-k.mjs";
18
19
  import { A as Scalars, B as raceAgainstAbort, C as RuntimeErrorEnvelope, D as RuntimeMiddleware, E as RuntimeLog, F as checkAborted, G as runtimeAborted, H as runBeforeQueryChain, I as checkMiddlewareCompatibility, K as runtimeError, L as createMetaBuilder, M as ShapeSpec, N as ValidAnnotations, O as RuntimeMiddlewareContext, P as assertAnnotationsApplicable, R as defineAnnotation, S as RuntimeCoreOptions, T as RuntimeExecutor, U as runExecuteWithMiddleware, V as runBeforeExecuteChain, W as runQueryWithMiddleware, _ as RelationKeys, a as AsyncIterableResult, b as RuntimeAbortedPhase, c as ExecuteInterceptResult, d as MetaBuilder, f as OperationKind, g as RUNTIME_ABORTED, h as QueryPlan, i as AnnotationValue, j as Shape, k as RuntimeStatementStats, l as ExecutionPlan, m as QueryInterceptResult, n as AfterQueryResult, o as CrossFamilyMiddleware, p as ParamRefMutator, r as AnnotationHandle, s as DefineAnnotationOptions, t as AfterExecuteResult, u as LaneMetaBuilder, v as RelationNamesOf, w as RuntimeExecuteOptions, x as RuntimeCore, y as ResultType, z as isRuntimeError } from "./runtime-Dnv06bEV.mjs";
19
20
  import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
20
- export { APP_SPACE_ID, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AfterExecuteResult, type AfterQueryResult, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDataTypeEntry, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDefaultRegistries, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, type DataType, type DataTypeAuthoringEntry, type DataTypeId, type DataTypeInvariantInput, type DataTypeLookup, type DataTypeLoweringAuthoringEntry, type DataTypeSpec, type DataTypeWrittenForm, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionBlockRefResolutionContext, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GenerateContractTypesOptions, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntrospectSchemaResult, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MetaBuilder, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, ParsePslDocumentInput, ParsePslDocumentResult, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslExtensionBlockParsedAttribute, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, RelationKeys, type RelationNamesOf, type ResultType, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMiddlewareContext, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignDatabaseResult, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type Storage, type StorageType, TAGGED_LITERAL_MAX_BYTES, type TaggedLiteralCanonicalization, type TaggedLiteralValue, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValidationContext, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, aggregateDescriptorKey, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, dataType, dataTypeId, defineAnnotation, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, enforceDataTypeInvariants, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, loweringEntryKey, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock };
21
+ export { APP_SPACE_ID, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AfterExecuteResult, type AfterQueryResult, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDataTypeEntry, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDefaultRegistries, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, type DataType, type DataTypeAuthoringEntry, type DataTypeId, type DataTypeInvariantInput, type DataTypeLookup, type DataTypeLoweringAuthoringEntry, type DataTypeSpec, type DataTypeWrittenForm, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionBlockRefResolutionContext, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GenerateContractTypesOptions, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntrospectSchemaResult, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MetaBuilder, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, ParsePslDocumentInput, ParsePslDocumentResult, type PresetStorageTemplate, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslExtensionBlockParsedAttribute, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, RelationKeys, type RelationNamesOf, type ResultType, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMiddlewareContext, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignDatabaseResult, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type Storage, type StorageType, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TaggedLiteralValue, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValidationContext, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, aggregateDescriptorKey, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, checkUncomposedNamespace, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, dataType, dataTypeId, defineAnnotation, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, enforceDataTypeInvariants, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, loweringEntryKey, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, timestampNowControlDescriptor, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock };
@@ -1,17 +1,18 @@
1
1
  import { t as isPlainRecord } from "./is-plain-record-CUofyVQ7-DWEzdhIx.mjs";
2
2
  import { n as runtimeError, t as isRuntimeError } from "./runtime-error-BA9d7XjZ-BlT8t6LB.mjs";
3
- import { C as resolveEnumCodecId, S as resolveAuthoringTemplateValue, _ as isDataTypeLoweringEntry, a as collectScalarTypeConstructors, c as instantiateAuthoringEntityType, d as isAuthoringArgRef, f as isAuthoringEntityTypeDescriptor, g as isAuthoringTypeConstructorDescriptor, h as isAuthoringPslBlockDescriptor, l as instantiateAuthoringFieldPreset, m as isAuthoringModelAttributeDescriptor, n as assertResolvableTypeConstructorTemplates, o as flushAuthoringWarnings, p as isAuthoringFieldPresetDescriptor, r as classifyEnumMemberType, s as hasRegisteredFieldNamespace, t as assertNoCrossRegistryCollisions, u as instantiateAuthoringTypeConstructor, v as isLoweringEntryKey, w as validateAuthoringHelperArguments, x as mergeAuthoringNamespaces, y as loweringEntryKey } from "./framework-authoring-bUu_R58O-Cr-Mz1dC.mjs";
3
+ import { A as timestampNowControlDescriptor, D as temporalAuthoringPresets, E as resolveEnumCodecId, O as temporalCodecPreset, S as loweringEntryKey, T as resolveAuthoringTemplateValue, _ as isAuthoringModelAttributeDescriptor, a as assertResolvableTypeConstructorTemplates, b as isDataTypeLoweringEntry, c as collectScalarTypeConstructors, d as instantiateAuthoringEntityType, f as instantiateAuthoringFieldPreset, g as isAuthoringFieldPresetDescriptor, h as isAuthoringEntityTypeDescriptor, i as assertNoCrossRegistryCollisions, j as validateAuthoringHelperArguments, k as temporalPhaseTemplate, l as flushAuthoringWarnings, m as isAuthoringArgRef, n as TEMPORAL_ON_UPDATE_ARG, o as classifyEnumMemberType, p as instantiateAuthoringTypeConstructor, r as TIMESTAMP_NOW_GENERATOR_ID, t as TEMPORAL_ON_CREATE_ARG, u as hasRegisteredFieldNamespace, v as isAuthoringPslBlockDescriptor, w as mergeAuthoringNamespaces, x as isLoweringEntryKey, y as isAuthoringTypeConstructorDescriptor } from "./temporal-presets-DABMpaxB-DDEaCwpa.mjs";
4
+ import { n as getAuthoringFieldPreset, t as checkUncomposedNamespace } from "./authoring-D_Czkofy.mjs";
4
5
  import { t as emptyCodecLookup } from "./codec-types-Da9WpgoM-BCn5_Sfz.mjs";
5
6
  import { a as materializeCodec, i as dataTypeId, n as createDataTypeLookup, o as resolveCodecDescriptorOrThrow, r as dataType, s as validateCodecTypeParams, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from "./resolve-codec-DWEkC3ya-DRYIta04.mjs";
6
7
  import { a as renderTsLiteral, i as column, n as CodecDescriptorTemplateImpl, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-BWFxotS7.mjs";
7
8
  import { a as mergeCapabilityMatrices, i as isNoInputAggregateDescriptor, n as isAggregateDescriptor, r as isAnyInputAggregateDescriptor, t as aggregateDescriptorKey } from "./capabilities-ByvrTdNS-BGxo8i2x.mjs";
8
9
  import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
9
10
  import { t as settleAggregateOverloads } from "./components-Dzqm9cyw.mjs";
10
- import { A as hasPslContractInfer, C as enforceDataTypeInvariants, D as extractQueryOperationTypeImports, E as extractComponentIds, F as resolvePslBacktickEscapes, I as resolveTemplateTagEscapes, L as storageHashHex, M as hasSchemaView, N as issueOutcome, O as hasMigrations, P as orderIssuesByDependencies, S as dispositionForCategory, T as extractCodecTypeImports, _ as contractSnapshotJsonSpecifier, a as TAGGED_LITERAL_MAX_BYTES, b as describeTaggedLiteralFailure, c as VERIFY_CODE_SCHEMA_FAILURE, d as assembleAuthoringDataTypes, f as assembleControlMutationDefaults, g as canonicalizeTaggedLiteralBody, h as buildExtensionLoadOrder, i as SchemaTreeNode, j as hasSchemaSubjectClassifier, k as hasOperationPreview, l as VERIFY_CODE_TARGET_MISMATCH, m as assertUniqueCodecOwner, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_HASH_MISMATCH, p as assembleDataTypes, r as SchemaDiff, s as VERIFY_CODE_MARKER_MISSING, t as APP_SPACE_ID, u as assembleAuthoringContributions, v as contractSnapshotTypesSpecifier, w as extractCodecLookup, x as diffSchemas, y as createControlStack } from "./control-0Teuhk1e.mjs";
11
+ import { A as hasPslContractInfer, C as enforceDataTypeInvariants, D as extractQueryOperationTypeImports, E as extractComponentIds, F as resolvePslBacktickEscapes, I as resolveTemplateTagEscapes, L as storageHashHex, M as hasSchemaView, N as issueOutcome, O as hasMigrations, P as orderIssuesByDependencies, S as dispositionForCategory, T as extractCodecTypeImports, _ as contractSnapshotJsonSpecifier, a as TAGGED_LITERAL_MAX_BYTES, b as describeTaggedLiteralFailure, c as VERIFY_CODE_SCHEMA_FAILURE, d as assembleAuthoringDataTypes, f as assembleControlMutationDefaults, g as canonicalizeTaggedLiteralBody, h as buildExtensionLoadOrder, i as SchemaTreeNode, j as hasSchemaSubjectClassifier, k as hasOperationPreview, l as VERIFY_CODE_TARGET_MISMATCH, m as assertUniqueCodecOwner, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_HASH_MISMATCH, p as assembleDataTypes, r as SchemaDiff, s as VERIFY_CODE_MARKER_MISSING, t as APP_SPACE_ID, u as assembleAuthoringContributions, v as contractSnapshotTypesSpecifier, w as extractCodecLookup, x as diffSchemas, y as createControlStack } from "./control-BjK3Jrmp.mjs";
11
12
  import { n as resolveRequirementSpecifiers, t as keepInternalSpecifiers } from "./emission-CeoAV9mj.mjs";
12
13
  import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-BNwBzmRd.mjs";
13
14
  import { a as buildSingleNamespaceView, c as elementCoordinates, d as hydrateNamespaceEntities, f as promoteBuiltinKinds, i as buildNamespacedEntities, l as entityAt, n as NamespaceBase, o as coordinateKey, r as UNBOUND_NAMESPACE_ID, s as domainElementCoordinates, t as IRNodeBase, u as freezeNode } from "./ir-CV5d1FJ0.mjs";
14
15
  import { a as makePslNamespace, c as validateExtensionBlock, i as flatPslModels, n as UNSPECIFIED_PSL_NAMESPACE_ID, o as makePslNamespaceEntries, r as flatPslCompositeTypes, s as namespacePslExtensionBlocks, t as BUILTIN_PSL_KIND_KEYS } from "./psl-ast-DUCvVXbB.mjs";
15
16
  import { a as assertAnnotationsApplicable, c as createMetaBuilder, d as runBeforeExecuteChain, f as runBeforeQueryChain, h as runtimeAborted, i as RuntimeCore, l as defineAnnotation, m as runQueryWithMiddleware, n as RUNTIME_ABORTED, o as checkAborted, p as runExecuteWithMiddleware, r as RelationKeys, s as checkMiddlewareCompatibility, t as AsyncIterableResult, u as raceAgainstAbort } from "./runtime-DXmHIbAr.mjs";
16
17
  import { t as canonicalizeJson } from "./utils-DMAM0unR.mjs";
17
- export { APP_SPACE_ID, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, aggregateDescriptorKey, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, dataType, dataTypeId, defineAnnotation, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, enforceDataTypeInvariants, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, loweringEntryKey, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock };
18
+ export { APP_SPACE_ID, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, aggregateDescriptorKey, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, checkUncomposedNamespace, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, dataType, dataTypeId, defineAnnotation, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, enforceDataTypeInvariants, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, loweringEntryKey, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, timestampNowControlDescriptor, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock };
@@ -1,3 +1,4 @@
1
1
  import { A as AuthoringTypeNamespace, At as isLoweringEntryKey, B as DataTypeWrittenForm, C as AuthoringPslBlockDescriptor, Ct as isAuthoringArgRef, D as AuthoringTemplateValue, Dt as isAuthoringPslBlockDescriptor, E as AuthoringStorageTypeTemplate, Et as isAuthoringModelAttributeDescriptor, Ft as validateAuthoringHelperArguments, G as PslBlockParam, J as PslBlockParamRef, K as PslBlockParamList, M as AuthoringWarningSink, Mt as mergeAuthoringNamespaces, Nt as resolveAuthoringTemplateValue, O as AuthoringTypeConstructorDescriptor, Ot as isAuthoringTypeConstructorDescriptor, Pt as resolveEnumCodecId, R as DataTypeAuthoringEntry, S as AuthoringOption, St as instantiateAuthoringTypeConstructor, T as AuthoringSelectRef, Tt as isAuthoringFieldPresetDescriptor, Y as PslBlockParamValue, Z as PslExtensionBlock, _ as AuthoringModelAttributeDescriptor, _t as collectScalarTypeConstructors, a as AuthoringContributions, at as PslExtensionBlockParamValue, b as AuthoringModelAttributeIndexOutput, bt as instantiateAuthoringEntityType, c as AuthoringEntityContext, d as AuthoringEntityTypeNamespace, f as AuthoringEntityTypeTemplateOutput, g as AuthoringModelAttributeContext, gt as classifyEnumMemberType, h as AuthoringFieldPresetOutput, ht as assertResolvableTypeConstructorTemplates, i as AuthoringColumnDefaultTemplate, it as PslExtensionBlockParamScalarValue, j as AuthoringWarning, jt as loweringEntryKey, k as AuthoringTypeConstructorEntityRef, kt as isDataTypeLoweringEntry, l as AuthoringEntityTypeDescriptor, lt as ScalarTypeConstructorOutput, m as AuthoringFieldPresetDescriptor, mt as assertNoCrossRegistryCollisions, n as AuthoringArgumentDescriptor, nt as PslExtensionBlockParamOption, o as AuthoringDataTypeEntry, ot as PslExtensionBlockParsedAttribute, p as AuthoringFieldNamespace, q as PslBlockParamOption, r as AuthoringAttributeSpecContributions, rt as PslExtensionBlockParamRef, s as AuthoringDiagnosticSink, t as AuthoringArgRef, tt as PslExtensionBlockParamList, u as AuthoringEntityTypeFactoryOutput, v as AuthoringModelAttributeDescriptorNamespace, vt as flushAuthoringWarnings, w as AuthoringPslBlockDescriptorNamespace, wt as isAuthoringEntityTypeDescriptor, x as AuthoringModelAttributeLoweringOutput, xt as instantiateAuthoringFieldPreset, y as AuthoringModelAttributeEntityOutput, yt as hasRegisteredFieldNamespace, z as DataTypeLoweringAuthoringEntry } from "./framework-authoring-C9VTqnML-BXtBl2dJ.mjs";
2
- import "./authoring-BnE2ayAF.mjs";
3
- export { type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDataTypeEntry, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, type DataTypeAuthoringEntry, type DataTypeLoweringAuthoringEntry, type DataTypeWrittenForm, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, type PslExtensionBlock, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslExtensionBlockParsedAttribute, type ScalarTypeConstructorOutput, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, loweringEntryKey, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, validateAuthoringHelperArguments };
2
+ import { a as temporalAuthoringPresets, i as TIMESTAMP_NOW_GENERATOR_ID, n as TEMPORAL_ON_CREATE_ARG, o as temporalCodecPreset, r as TEMPORAL_ON_UPDATE_ARG, s as temporalPhaseTemplate, t as PresetStorageTemplate } from "./temporal-presets-L05Tl534-jgcrZX_O.mjs";
3
+ import { n as getAuthoringFieldPreset, t as checkUncomposedNamespace } from "./authoring-DjeaZGzp.mjs";
4
+ export { type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDataTypeEntry, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, type DataTypeAuthoringEntry, type DataTypeLoweringAuthoringEntry, type DataTypeWrittenForm, type PresetStorageTemplate, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, type PslExtensionBlock, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslExtensionBlockParsedAttribute, type ScalarTypeConstructorOutput, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, checkUncomposedNamespace, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, getAuthoringFieldPreset, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, loweringEntryKey, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, validateAuthoringHelperArguments };
@@ -1,2 +1,3 @@
1
- import { C as resolveEnumCodecId, S as resolveAuthoringTemplateValue, _ as isDataTypeLoweringEntry, a as collectScalarTypeConstructors, c as instantiateAuthoringEntityType, d as isAuthoringArgRef, f as isAuthoringEntityTypeDescriptor, g as isAuthoringTypeConstructorDescriptor, h as isAuthoringPslBlockDescriptor, l as instantiateAuthoringFieldPreset, m as isAuthoringModelAttributeDescriptor, n as assertResolvableTypeConstructorTemplates, o as flushAuthoringWarnings, p as isAuthoringFieldPresetDescriptor, r as classifyEnumMemberType, s as hasRegisteredFieldNamespace, t as assertNoCrossRegistryCollisions, u as instantiateAuthoringTypeConstructor, v as isLoweringEntryKey, w as validateAuthoringHelperArguments, x as mergeAuthoringNamespaces, y as loweringEntryKey } from "./framework-authoring-bUu_R58O-Cr-Mz1dC.mjs";
2
- export { assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, loweringEntryKey, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, validateAuthoringHelperArguments };
1
+ import { D as temporalAuthoringPresets, E as resolveEnumCodecId, O as temporalCodecPreset, S as loweringEntryKey, T as resolveAuthoringTemplateValue, _ as isAuthoringModelAttributeDescriptor, a as assertResolvableTypeConstructorTemplates, b as isDataTypeLoweringEntry, c as collectScalarTypeConstructors, d as instantiateAuthoringEntityType, f as instantiateAuthoringFieldPreset, g as isAuthoringFieldPresetDescriptor, h as isAuthoringEntityTypeDescriptor, i as assertNoCrossRegistryCollisions, j as validateAuthoringHelperArguments, k as temporalPhaseTemplate, l as flushAuthoringWarnings, m as isAuthoringArgRef, n as TEMPORAL_ON_UPDATE_ARG, o as classifyEnumMemberType, p as instantiateAuthoringTypeConstructor, r as TIMESTAMP_NOW_GENERATOR_ID, t as TEMPORAL_ON_CREATE_ARG, u as hasRegisteredFieldNamespace, v as isAuthoringPslBlockDescriptor, w as mergeAuthoringNamespaces, x as isLoweringEntryKey, y as isAuthoringTypeConstructorDescriptor } from "./temporal-presets-DABMpaxB-DDEaCwpa.mjs";
2
+ import { n as getAuthoringFieldPreset, t as checkUncomposedNamespace } from "./authoring-D_Czkofy.mjs";
3
+ export { TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, checkUncomposedNamespace, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, getAuthoringFieldPreset, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isDataTypeLoweringEntry, isLoweringEntryKey, loweringEntryKey, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, validateAuthoringHelperArguments };
@@ -1,4 +1,5 @@
1
1
  import { F as ControlMutationDefaultEntry, H as LoweredDefaultResult, I as ControlMutationDefaultRegistry, L as ControlMutationDefaults, P as ControlDefaultRegistries, U as LoweredDefaultValue, V as DefaultFunctionLoweringContext, W as MutationDefaultGeneratorDescriptor, dt as SourceSpan, ft as TaggedLiteralValue, pt as TypedDefaultFunctionCall, ut as SourceDiagnostic } from "./framework-authoring-C9VTqnML-BXtBl2dJ.mjs";
2
+ import { c as timestampNowControlDescriptor } from "./temporal-presets-L05Tl534-jgcrZX_O.mjs";
2
3
  import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
3
- import { $ as SchemaDiff, $t as storageHashHex, A as MigrationPackage, At as assertUniqueCodecOwner, B as MigrationRunnerExecutionChecks, Bt as extractCodecLookup, C as EmitContractResult, Ct as VerifierOutcome, D as MigrationMetadata, Dt as assembleAuthoringDataTypes, E as MigratableTargetDescriptor, Et as assembleAuthoringContributions, F as MigrationPlannerConflict, Ft as createControlStack, G as MigrationRunnerSuccessValue, Gt as hasOperationPreview, H as MigrationRunnerPerSpaceOptions, Ht as extractComponentIds, I as MigrationPlannerFailureResult, It as describeTaggedLiteralFailure, J as OperationContext, Jt as hasSchemaView, K as MigrationScaffoldContext, Kt as hasPslContractInfer, L as MigrationPlannerResult, Lt as diffSchemas, M as MigrationPlanOperation, Mt as canonicalizeTaggedLiteralBody, N as MigrationPlanWithAuthoringSurface, Nt as contractSnapshotJsonSpecifier, O as MigrationOperationClass, Ot as assembleControlMutationDefaults, P as MigrationPlanner, Pt as contractSnapshotTypesSpecifier, Q as PslContractInferCapable, Qt as resolveTemplateTagEscapes, R as MigrationPlannerSuccessResult, Rt as dispositionForCategory, S as DiffableNode, St as VerifierIssueCategory, T as IntrospectSchemaResult, Tt as VerifyDatabaseSchemaResult, U as MigrationRunnerPerSpaceSuccessValue, Ut as extractQueryOperationTypeImports, V as MigrationRunnerFailure, Vt as extractCodecTypeImports, W as MigrationRunnerResult, Wt as hasMigrations, X as OperationPreviewCapable, Xt as orderIssuesByDependencies, Y as OperationPreview, Yt as issueOutcome, Z as OperationPreviewStatement, Zt as resolvePslBacktickEscapes, _ as ControlTargetInstance, _t as VERIFY_CODE_HASH_MISMATCH, a as ContractSpace, at as SchemaTreeNode, b as DataTypeInvariantInput, bt as VERIFY_CODE_TARGET_MISMATCH, c as ControlAdapterInstance, ct as SchemaVerifier, d as ControlExtensionDescriptor, dt as SchemaViewCapable, et as SchemaDiffIssue, f as ControlExtensionInstance, ft as SchemaViewNodeKind, g as ControlTargetDescriptor, gt as TargetMigrationsCapability, h as ControlStack, ht as TaggedLiteralCanonicalization, i as ContractSerializer, it as SchemaSubjectClassifierCapable, j as MigrationPlan, jt as buildExtensionLoadOrder, k as MigrationOperationPolicy, kt as assembleDataTypes, l as ControlDriverDescriptor, lt as SchemaVerifyOptions, m as ControlFamilyInstance, mt as TAGGED_LITERAL_MAX_BYTES, n as AssembledAuthoringContributions, nt as SchemaNodeRef, o as ContractSpaceHeadRef, ot as SchemaTreeNodeOptions, p as ControlFamilyDescriptor, pt as SignDatabaseResult, q as OpFactoryCall, qt as hasSchemaSubjectClassifier, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaOwnership, s as ControlAdapterDescriptor, st as SchemaTreeVisitor, t as APP_SPACE_ID, tt as SchemaEntityCoordinate, u as ControlDriverInstance, ut as SchemaVerifyResult, v as CoreSchemaView, vt as VERIFY_CODE_MARKER_MISSING, w as ExpectationFailureReason, wt as VerifyDatabaseResult, x as DiffSubjectGranularity, xt as VerificationStatus, y as CreateControlStackInput, yt as VERIFY_CODE_SCHEMA_FAILURE, z as MigrationRunner, zt as enforceDataTypeInvariants } from "./control-DQ-TrDyA.mjs";
4
- export { APP_SPACE_ID, type AssembledAuthoringContributions, CONTRACT_SNAPSHOTS_DIRNAME, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDefaultRegistries, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type DataTypeInvariantInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type ExpectationFailureReason, type ImportRequirement, type IntrospectSchemaResult, type LoweredDefaultResult, type LoweredDefaultValue, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PslContractInferCapable, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SignDatabaseResult, type SourceDiagnostic, type SourceSpan, TAGGED_LITERAL_MAX_BYTES, type TaggedLiteralCanonicalization, type TaggedLiteralValue, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertUniqueCodecOwner, buildExtensionLoadOrder, canonicalizeTaggedLiteralBody, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceDataTypeInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, resolvePslBacktickEscapes, resolveTemplateTagEscapes, storageHashHex };
4
+ import { $ as SchemaDiff, $t as storageHashHex, A as MigrationPackage, At as assertUniqueCodecOwner, B as MigrationRunnerExecutionChecks, Bt as extractCodecLookup, C as EmitContractResult, Ct as VerifierOutcome, D as MigrationMetadata, Dt as assembleAuthoringDataTypes, E as MigratableTargetDescriptor, Et as assembleAuthoringContributions, F as MigrationPlannerConflict, Ft as createControlStack, G as MigrationRunnerSuccessValue, Gt as hasOperationPreview, H as MigrationRunnerPerSpaceOptions, Ht as extractComponentIds, I as MigrationPlannerFailureResult, It as describeTaggedLiteralFailure, J as OperationContext, Jt as hasSchemaView, K as MigrationScaffoldContext, Kt as hasPslContractInfer, L as MigrationPlannerResult, Lt as diffSchemas, M as MigrationPlanOperation, Mt as canonicalizeTaggedLiteralBody, N as MigrationPlanWithAuthoringSurface, Nt as contractSnapshotJsonSpecifier, O as MigrationOperationClass, Ot as assembleControlMutationDefaults, P as MigrationPlanner, Pt as contractSnapshotTypesSpecifier, Q as PslContractInferCapable, Qt as resolveTemplateTagEscapes, R as MigrationPlannerSuccessResult, Rt as dispositionForCategory, S as DiffableNode, St as VerifierIssueCategory, T as IntrospectSchemaResult, Tt as VerifyDatabaseSchemaResult, U as MigrationRunnerPerSpaceSuccessValue, Ut as extractQueryOperationTypeImports, V as MigrationRunnerFailure, Vt as extractCodecTypeImports, W as MigrationRunnerResult, Wt as hasMigrations, X as OperationPreviewCapable, Xt as orderIssuesByDependencies, Y as OperationPreview, Yt as issueOutcome, Z as OperationPreviewStatement, Zt as resolvePslBacktickEscapes, _ as ControlTargetInstance, _t as VERIFY_CODE_HASH_MISMATCH, a as ContractSpace, at as SchemaTreeNode, b as DataTypeInvariantInput, bt as VERIFY_CODE_TARGET_MISMATCH, c as ControlAdapterInstance, ct as SchemaVerifier, d as ControlExtensionDescriptor, dt as SchemaViewCapable, et as SchemaDiffIssue, f as ControlExtensionInstance, ft as SchemaViewNodeKind, g as ControlTargetDescriptor, gt as TargetMigrationsCapability, h as ControlStack, ht as TaggedLiteralCanonicalization, i as ContractSerializer, it as SchemaSubjectClassifierCapable, j as MigrationPlan, jt as buildExtensionLoadOrder, k as MigrationOperationPolicy, kt as assembleDataTypes, l as ControlDriverDescriptor, lt as SchemaVerifyOptions, m as ControlFamilyInstance, mt as TAGGED_LITERAL_MAX_BYTES, n as AssembledAuthoringContributions, nt as SchemaNodeRef, o as ContractSpaceHeadRef, ot as SchemaTreeNodeOptions, p as ControlFamilyDescriptor, pt as SignDatabaseResult, q as OpFactoryCall, qt as hasSchemaSubjectClassifier, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaOwnership, s as ControlAdapterDescriptor, st as SchemaTreeVisitor, t as APP_SPACE_ID, tt as SchemaEntityCoordinate, u as ControlDriverInstance, ut as SchemaVerifyResult, v as CoreSchemaView, vt as VERIFY_CODE_MARKER_MISSING, w as ExpectationFailureReason, wt as VerifyDatabaseResult, x as DiffSubjectGranularity, xt as VerificationStatus, y as CreateControlStackInput, yt as VERIFY_CODE_SCHEMA_FAILURE, z as MigrationRunner, zt as enforceDataTypeInvariants } from "./control-Bc_dos9-.mjs";
5
+ export { APP_SPACE_ID, type AssembledAuthoringContributions, CONTRACT_SNAPSHOTS_DIRNAME, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDefaultRegistries, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type DataTypeInvariantInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type ExpectationFailureReason, type ImportRequirement, type IntrospectSchemaResult, type LoweredDefaultResult, type LoweredDefaultValue, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PslContractInferCapable, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SignDatabaseResult, type SourceDiagnostic, type SourceSpan, TAGGED_LITERAL_MAX_BYTES, type TaggedLiteralCanonicalization, type TaggedLiteralValue, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertUniqueCodecOwner, buildExtensionLoadOrder, canonicalizeTaggedLiteralBody, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceDataTypeInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, resolvePslBacktickEscapes, resolveTemplateTagEscapes, storageHashHex, timestampNowControlDescriptor };
@@ -1,2 +1,3 @@
1
- import { A as hasPslContractInfer, C as enforceDataTypeInvariants, D as extractQueryOperationTypeImports, E as extractComponentIds, F as resolvePslBacktickEscapes, I as resolveTemplateTagEscapes, L as storageHashHex, M as hasSchemaView, N as issueOutcome, O as hasMigrations, P as orderIssuesByDependencies, S as dispositionForCategory, T as extractCodecTypeImports, _ as contractSnapshotJsonSpecifier, a as TAGGED_LITERAL_MAX_BYTES, b as describeTaggedLiteralFailure, c as VERIFY_CODE_SCHEMA_FAILURE, d as assembleAuthoringDataTypes, f as assembleControlMutationDefaults, g as canonicalizeTaggedLiteralBody, h as buildExtensionLoadOrder, i as SchemaTreeNode, j as hasSchemaSubjectClassifier, k as hasOperationPreview, l as VERIFY_CODE_TARGET_MISMATCH, m as assertUniqueCodecOwner, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_HASH_MISMATCH, p as assembleDataTypes, r as SchemaDiff, s as VERIFY_CODE_MARKER_MISSING, t as APP_SPACE_ID, u as assembleAuthoringContributions, v as contractSnapshotTypesSpecifier, w as extractCodecLookup, x as diffSchemas, y as createControlStack } from "./control-0Teuhk1e.mjs";
2
- export { APP_SPACE_ID, CONTRACT_SNAPSHOTS_DIRNAME, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertUniqueCodecOwner, buildExtensionLoadOrder, canonicalizeTaggedLiteralBody, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceDataTypeInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, resolvePslBacktickEscapes, resolveTemplateTagEscapes, storageHashHex };
1
+ import { A as timestampNowControlDescriptor } from "./temporal-presets-DABMpaxB-DDEaCwpa.mjs";
2
+ import { A as hasPslContractInfer, C as enforceDataTypeInvariants, D as extractQueryOperationTypeImports, E as extractComponentIds, F as resolvePslBacktickEscapes, I as resolveTemplateTagEscapes, L as storageHashHex, M as hasSchemaView, N as issueOutcome, O as hasMigrations, P as orderIssuesByDependencies, S as dispositionForCategory, T as extractCodecTypeImports, _ as contractSnapshotJsonSpecifier, a as TAGGED_LITERAL_MAX_BYTES, b as describeTaggedLiteralFailure, c as VERIFY_CODE_SCHEMA_FAILURE, d as assembleAuthoringDataTypes, f as assembleControlMutationDefaults, g as canonicalizeTaggedLiteralBody, h as buildExtensionLoadOrder, i as SchemaTreeNode, j as hasSchemaSubjectClassifier, k as hasOperationPreview, l as VERIFY_CODE_TARGET_MISMATCH, m as assertUniqueCodecOwner, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_HASH_MISMATCH, p as assembleDataTypes, r as SchemaDiff, s as VERIFY_CODE_MARKER_MISSING, t as APP_SPACE_ID, u as assembleAuthoringContributions, v as contractSnapshotTypesSpecifier, w as extractCodecLookup, x as diffSchemas, y as createControlStack } from "./control-BjK3Jrmp.mjs";
3
+ export { APP_SPACE_ID, CONTRACT_SNAPSHOTS_DIRNAME, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertUniqueCodecOwner, buildExtensionLoadOrder, canonicalizeTaggedLiteralBody, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceDataTypeInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, hasMigrations, hasOperationPreview, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, issueOutcome, orderIssuesByDependencies, resolvePslBacktickEscapes, resolveTemplateTagEscapes, storageHashHex, timestampNowControlDescriptor };
@@ -5,7 +5,7 @@ import "./codec-D5McQin0.mjs";
5
5
  import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
6
6
  import "./components-CTkZKWVB.mjs";
7
7
  import { r as Result } from "./result-BYCOANWy.mjs";
8
- import { d as ControlExtensionDescriptor, g as ControlTargetDescriptor, l as ControlDriverDescriptor, n as AssembledAuthoringContributions, p as ControlFamilyDescriptor, s as ControlAdapterDescriptor, u as ControlDriverInstance } from "./control-DQ-TrDyA.mjs";
8
+ import { d as ControlExtensionDescriptor, g as ControlTargetDescriptor, l as ControlDriverDescriptor, n as AssembledAuthoringContributions, p as ControlFamilyDescriptor, s as ControlAdapterDescriptor, u as ControlDriverInstance } from "./control-Bc_dos9-.mjs";
9
9
  //#region ../../../1-framework/1-core/config/dist/config-types.d.mts
10
10
  //#region src/contract-source-types.d.ts
11
11
  interface ContractSourceDiagnosticPosition {
@@ -186,4 +186,4 @@ interface PrismaNextConfig<TFamilyId extends string = string, TTargetId extends
186
186
  declare function defineConfig<TFamilyId extends string = string, TTargetId extends string = string>(config: PrismaNextConfig<TFamilyId, TTargetId>): PrismaNextConfig<TFamilyId, TTargetId>;
187
187
  //#endregion
188
188
  export { normalizeContractConfig as _, ContractSourceDiagnosticSpan as a, ContractSourceProvider as c, FormatterConfig as d, OpaqueContractSourceProvider as f, defineConfig as g, TypeScriptContractSourceProvider as h, ContractSourceDiagnosticPosition as i, ContractSourceProviderBase as l, PslContractSourceProvider as m, ContractSourceContext as n, ContractSourceDiagnostics as o, PrismaNextConfig as p, ContractSourceDiagnostic as r, ContractSourceFormat as s, ContractConfig as t, DEFAULT_CONTRACT_SOURCE_DIR as u };
189
- //# sourceMappingURL=config-types-n_SgAl69.d.mts.map
189
+ //# sourceMappingURL=config-types-DgoEWkgA.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-types-n_SgAl69.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;UAMU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;WAEP;;;;;;WAMA,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;;WAEb,gBAAgB;WAChB,yBAAyB;;;;;;;WAOzB;WACA,cAAc;;;;WAId,iBAAiB,YAAY;;;KAGnC;UACK;;;;;;WAMC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;UAEpE,kCAAkC;WACjC;;UAED,yCAAyC;WACxC;;;;;;;;UAQD,qCAAqC;WACpC;;KAEN,yBAAyB,4BAA4B,mCAAmC;;;;;;UAMnF;;;;;WAKC,QAAQ;;;;;;;WAOR;;UAED;WACC;WACA;;;;;;;cAOG;iBACG,wBAAwB,UAAU,iBAAiB;WACzD;;;;;;;;;;UAUD,iBAAiB,mCAAmC,mCAAmC;WACtF,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,sBAAsB,2BAA2B,WAAW;;;;;;;WAO5D,SAAS,wBAAwB,WAAW,WAAW,sBAAsB,WAAW,YAAY;;;;;WAKpG;;;;;;aAME,aAAa;;;;;;WAMf,WAAW;;;;WAIX;;aAEE;;WAEF,YAAY;;;;;;;WAOZ;;;;;;;;;;;;;;;iBAeM,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW"}
1
+ {"version":3,"file":"config-types-DgoEWkgA.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;UAMU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;WAEP;;;;;;WAMA,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;;WAEb,gBAAgB;WAChB,yBAAyB;;;;;;;WAOzB;WACA,cAAc;;;;WAId,iBAAiB,YAAY;;;KAGnC;UACK;;;;;;WAMC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;UAEpE,kCAAkC;WACjC;;UAED,yCAAyC;WACxC;;;;;;;;UAQD,qCAAqC;WACpC;;KAEN,yBAAyB,4BAA4B,mCAAmC;;;;;;UAMnF;;;;;WAKC,QAAQ;;;;;;;WAOR;;UAED;WACC;WACA;;;;;;;cAOG;iBACG,wBAAwB,UAAU,iBAAiB;WACzD;;;;;;;;;;UAUD,iBAAiB,mCAAmC,mCAAmC;WACtF,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,sBAAsB,2BAA2B,WAAW;;;;;;;WAO5D,SAAS,wBAAwB,WAAW,WAAW,sBAAsB,WAAW,YAAY;;;;;WAKpG;;;;;;aAME,aAAa;;;;;;WAMf,WAAW;;;;WAIX;;aAEE;;WAEF,YAAY;;;;;;;WAOZ;;;;;;;;;;;;;;;iBAeM,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW"}
package/dist/config.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as normalizeContractConfig, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as OpaqueContractSourceProvider, g as defineConfig, h as TypeScriptContractSourceProvider, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PrismaNextConfig, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-n_SgAl69.mjs";
1
+ import { _ as normalizeContractConfig, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as OpaqueContractSourceProvider, g as defineConfig, h as TypeScriptContractSourceProvider, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PrismaNextConfig, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-DgoEWkgA.mjs";
2
2
  export { type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type OpaqueContractSourceProvider, type PrismaNextConfig, type PslContractSourceProvider, type TypeScriptContractSourceProvider, defineConfig, normalizeContractConfig };
@@ -1,2 +1,2 @@
1
- import { _ as normalizeContractConfig, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as OpaqueContractSourceProvider, g as defineConfig, h as TypeScriptContractSourceProvider, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PrismaNextConfig, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-n_SgAl69.mjs";
1
+ import { _ as normalizeContractConfig, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as OpaqueContractSourceProvider, g as defineConfig, h as TypeScriptContractSourceProvider, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PrismaNextConfig, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR } from "./config-types-DgoEWkgA.mjs";
2
2
  export { type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type OpaqueContractSourceProvider, type PrismaNextConfig, type PslContractSourceProvider, type TypeScriptContractSourceProvider, defineConfig, normalizeContractConfig };
@@ -1,8 +1,59 @@
1
1
  import { C as ContractToOneRelation, g as ContractModelBase, n as ApplicationDomain } from "./domain-envelope-gHv58hD1-B8mta2A6.mjs";
2
- import { c as AuthoringEntityContext, d as AuthoringEntityTypeNamespace, l as AuthoringEntityTypeDescriptor } from "./framework-authoring-C9VTqnML-BXtBl2dJ.mjs";
3
- import "./authoring-BnE2ayAF.mjs";
2
+ import { A as AuthoringTypeNamespace, c as AuthoringEntityContext, d as AuthoringEntityTypeNamespace, l as AuthoringEntityTypeDescriptor, m as AuthoringFieldPresetDescriptor, n as AuthoringArgumentDescriptor, p as AuthoringFieldNamespace } from "./framework-authoring-C9VTqnML-BXtBl2dJ.mjs";
3
+ import "./authoring-DjeaZGzp.mjs";
4
4
  import { a as ColumnTypeDescriptor } from "./codec-D5McQin0.mjs";
5
5
  //#region ../../../1-framework/2-authoring/contract/dist/index.d.mts
6
+ //#region src/authoring-argument-types.d.ts
7
+ type OptionalObjectArgumentKeys<Properties extends Record<string, AuthoringArgumentDescriptor>> = { readonly [K in keyof Properties]: Properties[K] extends {
8
+ readonly optional: true;
9
+ } ? K : never; }[keyof Properties];
10
+ type RequiredObjectArgumentKeys<Properties extends Record<string, AuthoringArgumentDescriptor>> = Exclude<keyof Properties, OptionalObjectArgumentKeys<Properties>>;
11
+ /**
12
+ * When every property is optional the result must be a plain weak type rather
13
+ * than `{} & { … }`: TypeScript's weak-type check rejects an object sharing
14
+ * none of the target's properties, but only when the target is weak — and an
15
+ * intersection with `{}` is not. The TS authoring surface runs no runtime
16
+ * argument validation, so this check is the only thing rejecting a foreign key
17
+ * such as `field.nanoid({ bogus: 1 })`.
18
+ */
19
+ type ObjectArgumentType<Properties extends Record<string, AuthoringArgumentDescriptor>> = [RequiredObjectArgumentKeys<Properties>] extends [never] ? { readonly [K in OptionalObjectArgumentKeys<Properties>]?: ArgTypeFromDescriptor<Properties[K]>; } : { readonly [K in RequiredObjectArgumentKeys<Properties>]: ArgTypeFromDescriptor<Properties[K]>; } & { readonly [K in OptionalObjectArgumentKeys<Properties>]?: ArgTypeFromDescriptor<Properties[K]>; };
20
+ type ArgTypeFromDescriptor<Arg extends AuthoringArgumentDescriptor> = Arg extends {
21
+ readonly kind: 'string';
22
+ } ? string : Arg extends {
23
+ readonly kind: 'boolean';
24
+ } ? boolean : Arg extends {
25
+ readonly kind: 'number';
26
+ } ? number : Arg extends {
27
+ readonly kind: 'stringArray';
28
+ } ? readonly string[] : Arg extends {
29
+ readonly kind: 'option';
30
+ readonly values: infer Values extends readonly string[];
31
+ } ? Values[number] : Arg extends {
32
+ readonly kind: 'object';
33
+ readonly properties: infer Properties extends Record<string, AuthoringArgumentDescriptor>;
34
+ } ? ObjectArgumentType<Properties> : never;
35
+ /**
36
+ * Recursive rewrite (not a mapped tuple type) so a descriptor marked
37
+ * `optional: true` gets an optional tuple slot (`Type?`), letting callers
38
+ * omit it and every optional arg after it. Required args must precede
39
+ * optional args in a descriptor's `args` list — TypeScript rejects an
40
+ * optional tuple element followed by a required one, and the runtime
41
+ * (`validateAuthoringHelperArguments`'s `minimumArgs`) already treats an
42
+ * optional-before-required arg as effectively required.
43
+ */
44
+ type TupleFromArgumentDescriptors<Args extends readonly AuthoringArgumentDescriptor[]> = Args extends readonly [infer Head extends AuthoringArgumentDescriptor, ...infer Tail extends readonly AuthoringArgumentDescriptor[]] ? Head extends {
45
+ readonly optional: true;
46
+ } ? readonly [ArgTypeFromDescriptor<Head>?, ...TupleFromArgumentDescriptors<Tail>] : readonly [ArgTypeFromDescriptor<Head>, ...TupleFromArgumentDescriptors<Tail>] : readonly [];
47
+ type ResolveTemplateValue<Template, Args extends readonly unknown[]> = Template extends {
48
+ readonly kind: 'arg';
49
+ readonly index: infer Index extends number;
50
+ readonly path?: infer Path extends readonly string[] | undefined;
51
+ readonly default?: infer Default;
52
+ } ? ResolveTemplateArgValue<Args[Index], Path, Default, Args> : Template extends readonly unknown[] ? { readonly [K in keyof Template]: ResolveTemplateValue<Template[K], Args>; } : Template extends Record<string, unknown> ? { readonly [K in keyof Template]: ResolveTemplateValue<Template[K], Args>; } : Template;
53
+ type ResolveTemplatePathValue<Value, Path extends readonly string[] | undefined> = Path extends readonly [infer Segment extends string, ...infer Rest extends readonly string[]] ? Segment extends keyof NonNullable<Value> ? ResolveTemplatePathValue<NonNullable<Value>[Segment], Rest> : never : Value;
54
+ type ResolveTemplateDefaultValue<Value, Default, Args extends readonly unknown[]> = Default extends undefined ? Value : [Value] extends [never] ? ResolveTemplateValue<Default, Args> : undefined extends Value ? Exclude<Value, undefined> | ResolveTemplateValue<Default, Args> : Value;
55
+ type ResolveTemplateArgValue<Value, Path extends readonly string[] | undefined, Default, Args extends readonly unknown[]> = ResolveTemplateDefaultValue<ResolveTemplatePathValue<Value, Path>, Default, Args>;
56
+ //#endregion
6
57
  //#region src/capability-registry.d.ts
7
58
  type CapabilityMatrix = Readonly<Record<string, Readonly<Record<string, boolean>>>>;
8
59
  /**
@@ -210,6 +261,27 @@ declare function bindEnumType<CodecTypes extends CodecTypeMap>(): BoundEnumType<
210
261
  */
211
262
  declare function isEnumTypeHandle(value: unknown): value is EnumTypeHandle;
212
263
  //#endregion
264
+ //#region src/field-preset-helpers.d.ts
265
+ declare function assertSafeAuthoringHelperKey(key: string, path: readonly string[]): void;
266
+ /**
267
+ * Walks a field-preset namespace and produces the callable surface mirroring its tree shape. Each leaf descriptor becomes the helper `createLeafHelper` returns; nested namespaces recurse.
268
+ */
269
+ declare function createFieldHelpersFromNamespace(namespace: AuthoringFieldNamespace, createLeafHelper: (options: {
270
+ readonly helperPath: string;
271
+ readonly descriptor: AuthoringFieldPresetDescriptor;
272
+ }) => (...rawArgs: readonly unknown[]) => unknown, path?: readonly string[]): Record<string, unknown>;
273
+ interface AuthoringNamespaceByKey {
274
+ readonly type: AuthoringTypeNamespace;
275
+ readonly field: AuthoringFieldNamespace;
276
+ readonly entityTypes: AuthoringEntityTypeNamespace;
277
+ }
278
+ /**
279
+ * Merges one authoring namespace (`type`, `field` or `entityTypes`) across the family, target and extension packs, in order. A duplicate helper path across packs throws.
280
+ */
281
+ declare function composePackAuthoringNamespace<Key extends AuthoringNamespaceKey>(components: readonly {
282
+ readonly authoring?: { readonly [K in AuthoringNamespaceKey]?: unknown; };
283
+ }[], key: Key): AuthoringNamespaceByKey[Key];
284
+ //#endregion
213
285
  //#region src/relation-nullability.d.ts
214
286
  type ToOneRelationNullabilityContradiction = 'declared-optional' | 'declared-required';
215
287
  type ToOneRelationNullability = {
@@ -244,5 +316,5 @@ type LocalFieldNullabilityLookup = (input: {
244
316
  */
245
317
  declare function withDerivedToOneRelationNullability<TDomain extends ApplicationDomain>(domain: TDomain, localFieldNullability: LocalFieldNullabilityLookup): TDomain;
246
318
  //#endregion
247
- export { type AuthoringNamespaceKey, type BoundEnumType, type CapabilityMatrix, type CodecInput, type CodecTypeMap, ENUM_TYPE_HANDLE_BRAND, type EntityHelperFactoryOptions, type EntityHelperFunction, type EntityHelpersFromNamespace, type EnumMember, type EnumTypeHandle, type ExtractAuthoringNamespaceFromPack, type ForeignKeyDefaultsState, type IndexDef, type LocalFieldNullabilityLookup, type MergeExtensionAuthoringNamespaces, type ToOneRelationNullability, type ToOneRelationNullabilityContradiction, type UnionToIntersection, bindEnumType, createEntityHelpersFromNamespace, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };
319
+ export { type ArgTypeFromDescriptor, type AuthoringNamespaceKey, type BoundEnumType, type CapabilityMatrix, type CodecInput, type CodecTypeMap, ENUM_TYPE_HANDLE_BRAND, type EntityHelperFactoryOptions, type EntityHelperFunction, type EntityHelpersFromNamespace, type EnumMember, type EnumTypeHandle, type ExtractAuthoringNamespaceFromPack, type ForeignKeyDefaultsState, type IndexDef, type LocalFieldNullabilityLookup, type MergeExtensionAuthoringNamespaces, type ObjectArgumentType, type OptionalObjectArgumentKeys, type ResolveTemplateValue, type ToOneRelationNullability, type ToOneRelationNullabilityContradiction, type TupleFromArgumentDescriptors, type UnionToIntersection, assertSafeAuthoringHelperKey, bindEnumType, composePackAuthoringNamespace, createEntityHelpersFromNamespace, createFieldHelpersFromNamespace, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };
248
320
  //# sourceMappingURL=contract-authoring.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract-authoring.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/contract/dist/index.d.mts"],"mappings":"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"}
1
+ {"version":3,"file":"contract-authoring.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/contract/dist/index.d.mts"],"mappings":"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"}
@@ -1,6 +1,6 @@
1
1
  import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
2
2
  import { o as structuredError } from "./structured-error-BXbihKQ-.mjs";
3
- import { c as instantiateAuthoringEntityType } from "./framework-authoring-bUu_R58O-Cr-Mz1dC.mjs";
3
+ import { d as instantiateAuthoringEntityType, g as isAuthoringFieldPresetDescriptor, w as mergeAuthoringNamespaces } from "./temporal-presets-DABMpaxB-DDEaCwpa.mjs";
4
4
  //#region ../../../1-framework/2-authoring/contract/dist/index.mjs
5
5
  /**
6
6
  * Deep-merges any number of capability matrices into a single matrix.
@@ -127,6 +127,65 @@ function bindEnumType() {
127
127
  function isEnumTypeHandle(value) {
128
128
  return typeof value === "object" && value !== null && Reflect.get(value, "__prismaNextEnumTypeHandle__") === true;
129
129
  }
130
+ const blockedSegments = /* @__PURE__ */ new Set([
131
+ "__proto__",
132
+ "constructor",
133
+ "prototype"
134
+ ]);
135
+ function assertSafeAuthoringHelperKey(key, path) {
136
+ if (blockedSegments.has(key)) throw contractError("CONTRACT.PACK_CONTRIBUTION_INVALID", `Invalid authoring helper "${[...path, key].join(".")}". Helper path segments must not use "${key}".`, { meta: {
137
+ helperPath: [...path, key].join("."),
138
+ segment: key
139
+ } });
140
+ }
141
+ /**
142
+ * Walks a field-preset namespace and produces the callable surface mirroring its tree shape. Each leaf descriptor becomes the helper `createLeafHelper` returns; nested namespaces recurse.
143
+ */
144
+ function createFieldHelpersFromNamespace(namespace, createLeafHelper, path = []) {
145
+ const helpers = {};
146
+ for (const [key, value] of Object.entries(namespace)) {
147
+ assertSafeAuthoringHelperKey(key, path);
148
+ const currentPath = [...path, key];
149
+ if (isAuthoringFieldPresetDescriptor(value)) {
150
+ helpers[key] = createLeafHelper({
151
+ helperPath: currentPath.join("."),
152
+ descriptor: value
153
+ });
154
+ continue;
155
+ }
156
+ helpers[key] = createFieldHelpersFromNamespace(value, createLeafHelper, currentPath);
157
+ }
158
+ return helpers;
159
+ }
160
+ function isNonEmptyRecord(value) {
161
+ return typeof value === "object" && value !== null && Object.keys(value).length > 0;
162
+ }
163
+ const descriptorKindByNamespace = {
164
+ type: {
165
+ descriptorKind: "typeConstructor",
166
+ label: "type"
167
+ },
168
+ field: {
169
+ descriptorKind: "fieldPreset",
170
+ label: "field"
171
+ },
172
+ entityTypes: {
173
+ descriptorKind: "entity",
174
+ label: "entity"
175
+ }
176
+ };
177
+ /**
178
+ * Merges one authoring namespace (`type`, `field` or `entityTypes`) across the family, target and extension packs, in order. A duplicate helper path across packs throws.
179
+ */
180
+ function composePackAuthoringNamespace(components, key) {
181
+ const { descriptorKind, label } = descriptorKindByNamespace[key];
182
+ const merged = {};
183
+ for (const component of components) {
184
+ const namespace = component.authoring?.[key];
185
+ if (isNonEmptyRecord(namespace)) mergeAuthoringNamespaces(merged, namespace, [], descriptorKind, label);
186
+ }
187
+ return blindCast(merged);
188
+ }
130
189
  /**
131
190
  * The one rule for whether a to-one relation may be absent. The side that holds the reference
132
191
  * (in SQL, the foreign key) is nullable exactly when one of its local fields is; the other side
@@ -191,6 +250,6 @@ function withDerivedModel(namespaceId, modelName, model, localFieldNullability)
191
250
  };
192
251
  }
193
252
  //#endregion
194
- export { ENUM_TYPE_HANDLE_BRAND, bindEnumType, createEntityHelpersFromNamespace, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };
253
+ export { ENUM_TYPE_HANDLE_BRAND, assertSafeAuthoringHelperKey, bindEnumType, composePackAuthoringNamespace, createEntityHelpersFromNamespace, createFieldHelpersFromNamespace, enumType, isEnumTypeHandle, member, mergeCapabilityMatrices, resolveToOneRelationNullable, withDerivedToOneRelationNullability };
195
254
 
196
255
  //# sourceMappingURL=contract-authoring.mjs.map