@prisma/orm-framework 8.0.0-rc.18-dev.43 → 8.0.0-rc.18-dev.45

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 (70) hide show
  1. package/dist/{authoring-qO6idK5H.mjs → authoring-BxyfEUyh.mjs} +2 -2
  2. package/dist/{authoring-qO6idK5H.mjs.map → authoring-BxyfEUyh.mjs.map} +1 -1
  3. package/dist/{authoring-C8sYYHu7.d.mts → authoring-DWhPMprN.d.mts} +2 -2
  4. package/dist/{authoring-C8sYYHu7.d.mts.map → authoring-DWhPMprN.d.mts.map} +1 -1
  5. package/dist/{binder-63ozT0D8-BixamO0l.d.mts → binder-63ozT0D8-rxvSaR0g.d.mts} +6 -6
  6. package/dist/{binder-63ozT0D8-BixamO0l.d.mts.map → binder-63ozT0D8-rxvSaR0g.d.mts.map} +1 -1
  7. package/dist/components.d.mts +3 -3
  8. package/dist/components.mjs +3 -3
  9. package/dist/components__authoring.d.mts +2 -2
  10. package/dist/components__authoring.mjs +2 -2
  11. package/dist/components__control.d.mts +2 -2
  12. package/dist/components__control.mjs +2 -2
  13. package/dist/{config-types-0fY7fbd7.d.mts → config-types-DOqor7bS.d.mts} +3 -3
  14. package/dist/{config-types-0fY7fbd7.d.mts.map → config-types-DOqor7bS.d.mts.map} +1 -1
  15. package/dist/config.d.mts +1 -1
  16. package/dist/config__config-types.d.mts +1 -1
  17. package/dist/contract-authoring.d.mts +1 -1
  18. package/dist/contract-authoring.mjs +3 -3
  19. package/dist/{control-D9rb0OBR.d.mts → control--Iipux2K.d.mts} +2 -2
  20. package/dist/{control-D9rb0OBR.d.mts.map → control--Iipux2K.d.mts.map} +1 -1
  21. package/dist/{control-B5ezUWD2-D6knyncN.d.mts → control-B5ezUWD2-CynjlG3d.d.mts} +2 -2
  22. package/dist/{control-B5ezUWD2-D6knyncN.d.mts.map → control-B5ezUWD2-CynjlG3d.d.mts.map} +1 -1
  23. package/dist/control-Cw3kIAko.d.mts +1 -0
  24. package/dist/{control-DPasGnOD.mjs → control-EZKh_OR0.mjs} +2 -2
  25. package/dist/{control-DPasGnOD.mjs.map → control-EZKh_OR0.mjs.map} +1 -1
  26. package/dist/{control-KsXr4fYD-B23ri5vh.mjs → control-KsXr4fYD-BPV2T-1B.mjs} +2 -2
  27. package/dist/{control-KsXr4fYD-B23ri5vh.mjs.map → control-KsXr4fYD-BPV2T-1B.mjs.map} +1 -1
  28. package/dist/{declarations-BgUAq1RG-ShewcVdd.mjs → declarations-BgUAq1RG-CEN8W7dJ.mjs} +2 -2
  29. package/dist/{declarations-BgUAq1RG-ShewcVdd.mjs.map → declarations-BgUAq1RG-CEN8W7dJ.mjs.map} +1 -1
  30. package/dist/errors.d.mts +4 -4
  31. package/dist/errors.mjs +3 -3
  32. package/dist/errors__control.d.mts +2 -2
  33. package/dist/errors__control.mjs +1 -1
  34. package/dist/errors__execution.d.mts +1 -1
  35. package/dist/errors__execution.mjs +1 -1
  36. package/dist/errors__migration.d.mts +1 -1
  37. package/dist/errors__migration.mjs +1 -1
  38. package/dist/{execution-C_4ICly-.mjs → execution-BmAbi6H5.mjs} +2 -2
  39. package/dist/{execution-C_4ICly-.mjs.map → execution-BmAbi6H5.mjs.map} +1 -1
  40. package/dist/{execution-C00_IFA7.d.mts → execution-Ztk6Oq6U.d.mts} +3 -3
  41. package/dist/{execution-C00_IFA7.d.mts.map → execution-Ztk6Oq6U.d.mts.map} +1 -1
  42. package/dist/{expressions-CMQzbnHk-fqYn-D3z.mjs → expressions-CMQzbnHk-D2oE4DzM.mjs} +2 -2
  43. package/dist/{expressions-CMQzbnHk-fqYn-D3z.mjs.map → expressions-CMQzbnHk-D2oE4DzM.mjs.map} +1 -1
  44. package/dist/{migration-K3Co0dba.d.mts → migration-CKJxexqP.d.mts} +2 -2
  45. package/dist/{migration-K3Co0dba.d.mts.map → migration-CKJxexqP.d.mts.map} +1 -1
  46. package/dist/{migration-Dy-tXHxh.mjs → migration-DGVeshcH.mjs} +2 -2
  47. package/dist/{migration-Dy-tXHxh.mjs.map → migration-DGVeshcH.mjs.map} +1 -1
  48. package/dist/{parse-bZgfjovA-Bd80h0ox.mjs → parse-bZgfjovA-D0MdY-kP.mjs} +3 -3
  49. package/dist/{parse-bZgfjovA-Bd80h0ox.mjs.map → parse-bZgfjovA-D0MdY-kP.mjs.map} +1 -1
  50. package/dist/{parse-djL5wker-DYTP4HGq.d.mts → parse-djL5wker-B17tmst3.d.mts} +4 -4
  51. package/dist/{parse-djL5wker-DYTP4HGq.d.mts.map → parse-djL5wker-B17tmst3.d.mts.map} +1 -1
  52. package/dist/psl-parser.d.mts +4 -4
  53. package/dist/psl-parser.mjs +5 -5
  54. package/dist/psl-parser__format.d.mts +1 -1
  55. package/dist/psl-parser__format.mjs +3 -3
  56. package/dist/psl-parser__interpret.d.mts +4 -4
  57. package/dist/psl-parser__interpret.mjs +2 -2
  58. package/dist/psl-parser__syntax.d.mts +1 -1
  59. package/dist/psl-parser__syntax.mjs +3 -3
  60. package/dist/psl-printer.d.mts +1 -1
  61. package/dist/psl-printer.mjs +1 -1
  62. package/dist/{read-expression-as-Dhyvx51C-Bpn_1X05.mjs → read-expression-as-Dhyvx51C-BbNqJHAR.mjs} +4 -4
  63. package/dist/{read-expression-as-Dhyvx51C-Bpn_1X05.mjs.map → read-expression-as-Dhyvx51C-BbNqJHAR.mjs.map} +1 -1
  64. package/dist/{temporal-presets-D_TQBbXU-DLIsE1k-.d.mts → temporal-presets-9VgC1-FN-MoyINRBU.d.mts} +3 -3
  65. package/dist/{temporal-presets-D_TQBbXU-DLIsE1k-.d.mts.map → temporal-presets-9VgC1-FN-MoyINRBU.d.mts.map} +1 -1
  66. package/dist/{temporal-presets-DmZDnaZV-aUZPt1LX.mjs → temporal-presets-DF8wiIwk-CZI3cLQZ.mjs} +5 -5
  67. package/dist/temporal-presets-DF8wiIwk-CZI3cLQZ.mjs.map +1 -0
  68. package/package.json +15 -15
  69. package/dist/control-D2ZpYj6i.d.mts +0 -1
  70. package/dist/temporal-presets-DmZDnaZV-aUZPt1LX.mjs.map +0 -1
@@ -3,7 +3,7 @@ import { r as isInternalError, t as InternalError } from "./internal-error-ChGYP
3
3
  import { n as notOk, r as ok } from "./result-8OXF26MN.mjs";
4
4
  import { t as canonicalizeJson } from "./canonicalize-json-ZPawceQR-Dua1VNEB.mjs";
5
5
  import { u as dataTypeId } from "./data-type-CVNHtd6y-BFa_VnCb.mjs";
6
- import { A as printTaggedLiteral, C as isAuthoringFieldPresetDescriptor, D as isAuthoringTypeConstructorDescriptor, j as printedTaggedLiteralReadsBack, x as isAuthoringArgRef, y as instantiateAuthoringTypeConstructor } from "./temporal-presets-DmZDnaZV-aUZPt1LX.mjs";
6
+ import { A as printTaggedLiteral, C as isAuthoringFieldPresetDescriptor, D as isAuthoringTypeConstructorDescriptor, j as printedTaggedLiteralReadsBack, x as isAuthoringArgRef, y as instantiateAuthoringTypeConstructor } from "./temporal-presets-DF8wiIwk-CZI3cLQZ.mjs";
7
7
  import { a as readContractValue, i as enumRefusalOf } from "./codec-descriptor-V2-N5Qmm-BR-5owl6.mjs";
8
8
  //#region ../../../1-framework/1-core/framework-components/dist/authoring.mjs
9
9
  /** Every type constructor of `namespace`, with its path, in namespace order. */
@@ -552,4 +552,4 @@ function describeAdmittedForms(support, dataType) {
552
552
  //#endregion
553
553
  export { tagForm as C, readWrittenValueAs as S, findAuthoringTypeConstructorCall as _, castTypedValue as a, readEnumBlockMembers as b, describeRefusal as c, encodeEnumMembers as d, entryForPlain as f, fieldPresetSpellings as g, exactRewrite as h, authoringTypeConstructors as i, describeRefusedValueType as l, enumMemberProblemDiagnostic as m, admittedTags as n, describeAdmittedForms as o, entryForTag as p, authoringTypeConstructorArguments as r, describeExpected as s, admittedForms as t, duplicateStoredMembers as u, getAuthoringFieldPreset as v, readWrittenValue as x, knownTags as y };
554
554
 
555
- //# sourceMappingURL=authoring-qO6idK5H.mjs.map
555
+ //# sourceMappingURL=authoring-BxyfEUyh.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"authoring-qO6idK5H.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.mjs"],"sourcesContent":["import { t as canonicalizeJson } from \"./canonicalize-json-ZPawceQR.mjs\";\nimport { a as dataTypeId } from \"./data-type-CVNHtd6y.mjs\";\nimport { a as readContractValue, r as enumRefusalOf } from \"./codec-descriptor-V2-N5Qmm.mjs\";\nimport { A as instantiateAuthoringTypeConstructorFromValues, B as resolveAuthoringTemplateValue, D as instantiateAuthoringEntityType, E as getAuthoringTypeConstructor, F as isAuthoringPslBlockDescriptor, H as validateAuthoringHelperArguments, I as isAuthoringSelectRef, L as isAuthoringTypeConstructorDescriptor, M as isAuthoringEntityTypeDescriptor, N as isAuthoringFieldPresetDescriptor, O as instantiateAuthoringFieldPreset, P as isAuthoringModelAttributeDescriptor, S as classifyEnumMemberType, T as flushAuthoringWarnings, U as validateAuthoringTypeParams, V as resolveEnumCodecId, _ as assembleAuthoringDataTypes, a as temporalCodecPreset, b as assertNoCrossRegistryCollisions, d as describeTaggedLiteralFailure, f as printTaggedLiteral, g as tsTaggedTemplateSource, h as resolveTemplateTagEscapes, i as temporalAuthoringPresets, j as isAuthoringArgRef, k as instantiateAuthoringTypeConstructor, n as TEMPORAL_ON_UPDATE_ARG, o as temporalPhaseTemplate, p as printedTaggedLiteralReadsBack, r as TIMESTAMP_NOW_GENERATOR_ID, s as temporalPhaseTemplateWithParams, t as TEMPORAL_ON_CREATE_ARG, u as canonicalizeTaggedLiteralBody, v as assembleDataTypeSupport, w as collectScalarTypeConstructors, x as assertResolvableTypeConstructorTemplates, z as mergeAuthoringNamespaces } from \"./temporal-presets-DmZDnaZV.mjs\";\nimport { InternalError, isInternalError } from \"@internal/utils/internal-error\";\nimport { notOk, ok } from \"@internal/utils/result\";\nimport { canonicalStringify } from \"@internal/utils/canonical-stringify\";\n//#region src/shared/authoring-type-constructor-call.ts\n/** Every type constructor of `namespace`, with its path, in namespace order. */\nfunction* authoringTypeConstructors(namespace, path = []) {\n\tfor (const [name, value] of Object.entries(namespace)) if (isAuthoringTypeConstructorDescriptor(value)) yield {\n\t\tpath: [...path, name],\n\t\tdescriptor: value\n\t};\n\telse yield* authoringTypeConstructors(value, [...path, name]);\n}\nfunction produces(produced, wanted) {\n\tconst wantedFields = {\n\t\t...wanted,\n\t\ttypeParams: wanted.typeParams ?? {}\n\t};\n\treturn Object.entries({\n\t\t...produced,\n\t\ttypeParams: produced.typeParams ?? {}\n\t}).every(([key, value]) => canonicalizeJson(value) === canonicalizeJson(wantedFields[key]));\n}\n/**\n* The arguments that make `descriptor` produce exactly `output`, when each of its type parameters\n* comes straight from one argument; `undefined` when it cannot produce `output`, including when\n* `output` has no value for an argument the constructor requires.\n*/\nfunction authoringTypeConstructorArguments(descriptor, output) {\n\tif (descriptor.entityRefArg !== void 0 || descriptor.output.codecId !== output.codecId) return;\n\tconst args = [];\n\tfor (const [key, template] of Object.entries(descriptor.output.typeParams ?? {})) {\n\t\tconst value = output.typeParams?.[key];\n\t\tif (value !== void 0 && isAuthoringArgRef(template) && template.path === void 0) args[template.index] = value;\n\t}\n\tconst requiredArgs = (descriptor.args ?? []).filter((arg) => arg.optional !== true).length;\n\tif (args.length < requiredArgs || Array.from(args).includes(void 0)) return void 0;\n\ttry {\n\t\treturn produces(instantiateAuthoringTypeConstructor(descriptor, args), output) ? args : void 0;\n\t} catch {\n\t\treturn;\n\t}\n}\n/**\n* The first call, in namespace order, to a type constructor in `namespace` that produces exactly\n* `output`. The inverse of {@link instantiateAuthoringTypeConstructor} for constructors whose type\n* parameters each come straight from one argument. A constructor whose argument names another\n* entity is never chosen. `undefined` when no call produces `output`.\n*/\nfunction findAuthoringTypeConstructorCall(namespace, output) {\n\tfor (const { path, descriptor } of authoringTypeConstructors(namespace)) {\n\t\tconst args = authoringTypeConstructorArguments(descriptor, output);\n\t\tif (args !== void 0) return {\n\t\t\tpath,\n\t\t\targs\n\t\t};\n\t}\n}\n//#endregion\n//#region src/shared/enum-stored-members.ts\n/**\n* Each enum member whose stored form equals an earlier member's, paired with the first such member. Stored forms are compared as `contract.json` holds them, so negative zero is zero, and by `canonicalStringify`, so two objects with the same entries in a different order are equal; or, when the enum's data type declares an `equalityKey`, by that key, so `0.5` and `0.50` are one `numeric` value. Every enum authoring surface refuses the members this returns.\n*/\nfunction duplicateStoredMembers(members, equalityKey) {\n\tconst storedFormOf = (stored) => canonicalStringify(JSON.parse(JSON.stringify(stored)));\n\tconst memberByKey = /* @__PURE__ */ new Map();\n\tconst duplicates = [];\n\tfor (const member of members) {\n\t\tconst { name, stored } = member;\n\t\tconst key = equalityKey?.(stored) ?? storedFormOf(stored);\n\t\tconst earlier = memberByKey.get(key);\n\t\tif (earlier === void 0) memberByKey.set(key, member);\n\t\telse if (storedFormOf(earlier.stored) === storedFormOf(stored)) duplicates.push({\n\t\t\tearlier: earlier.name,\n\t\t\tlater: name,\n\t\t\tstored\n\t\t});\n\t\telse duplicates.push({\n\t\t\tearlier: earlier.name,\n\t\t\tlater: name,\n\t\t\tstored,\n\t\t\tearlierStored: earlier.stored\n\t\t});\n\t}\n\treturn duplicates;\n}\n//#endregion\n//#region src/shared/enum-block-members.ts\n/**\n* A problem with an enum's members as a diagnostic at the member, or at the block when the problem is the enum's codec.\n*/\nfunction enumMemberProblemDiagnostic(problem, site) {\n\tconst { enumName, codecId, sourceId } = site;\n\tconst at = (member) => ({\n\t\tsourceId,\n\t\tspan: site.memberSpans[member] ?? site.span\n\t});\n\tswitch (problem.kind) {\n\t\tcase \"codec-not-for-enums\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" cannot use the codec \"${codecId}\". ${problem.refusal}`,\n\t\t\tsourceId,\n\t\t\tspan: site.span\n\t\t};\n\t\tcase \"codec-missing\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" uses codec \"${codecId}\", which no pack in the contract provides`,\n\t\t\tsourceId,\n\t\t\tspan: site.span\n\t\t};\n\t\tcase \"codec-refused-member\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" member \"${problem.member}\" was rejected by codec \"${codecId}\": ${problem.reason}`,\n\t\t\t...at(problem.member)\n\t\t};\n\t\tcase \"member-not-stored-as-written\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" member \"${problem.member}\" is written ${problem.written}, but its codec stores ${JSON.stringify(problem.stored)}. Write the member as ${problem.writeAs}.`,\n\t\t\t...at(problem.member)\n\t\t};\n\t\tcase \"duplicate-member-value\": return {\n\t\t\tcode: \"PSL_ENUM_DUPLICATE_MEMBER_VALUE\",\n\t\t\tmessage: problem.earlierStored === void 0 ? `enum \"${enumName}\": members \"${problem.earlier}\" and \"${problem.later}\" both store ${JSON.stringify(problem.stored)}` : `enum \"${enumName}\": members \"${problem.earlier}\" and \"${problem.later}\" store ${JSON.stringify(problem.earlierStored)} and ${JSON.stringify(problem.stored)}, which the database holds equal`,\n\t\t\t...at(problem.later)\n\t\t};\n\t}\n}\n/**\n* Reads the members of an `enum` block through its codec. When the family gives a reader for written values (`ctx.readWrittenValueForCodec`), each member is read as a column default is read: its syntax gives it a data type, the codec's data type takes it directly or through a cast, and the codec checks it, so a number keeps every digit and a quoted value is text. A bare member is read from its own name, as text. Without that reader, a member is read as JSON by the codec's data type and then the codec.\n* Pushes a diagnostic and returns `undefined` when a member is refused, when two members\n* store the same value, or when the block has no members. Shared by every family's enum factory.\n*/\nfunction readEnumBlockMembers(block, codecId, codec, ctx) {\n\tconst sourceId = ctx.sourceId ?? \"unknown\";\n\tconst diagnostics = ctx.diagnostics;\n\tconst site = {\n\t\tenumName: block.name,\n\t\tcodecId,\n\t\tsourceId,\n\t\tspan: block.span,\n\t\tmemberSpans: block.parameterSpans\n\t};\n\tconst members = [];\n\tconst storedMembers = [];\n\tlet memberError = false;\n\tfor (const [memberName, memberValue] of Object.entries(block.values)) {\n\t\tconst span = block.parameterSpans[memberName] ?? block.span;\n\t\tconst bareMemberRefused = () => ({\n\t\t\tcode: \"PSL_ENUM_BARE_MEMBER_NON_STRING_CODEC\",\n\t\t\tmessage: `enum \"${block.name}\" member \"${memberName}\" has no value and codec \"${codecId}\" does not accept a bare name as input`,\n\t\t\tsourceId,\n\t\t\tspan\n\t\t});\n\t\tconst written = block.writtenValues?.[memberName] ?? (memberValue === void 0 ? {\n\t\t\tkind: \"string\",\n\t\t\ttext: memberName\n\t\t} : void 0);\n\t\tconst reading = written === void 0 ? void 0 : ctx.readWrittenValueForCodec?.({\n\t\t\twritten,\n\t\t\tcodecId,\n\t\t\tsubject: `enum \"${block.name}\" member \"${memberName}\"`\n\t\t});\n\t\tif (reading !== void 0 && !reading.ok) {\n\t\t\tdiagnostics?.push(memberValue === void 0 ? bareMemberRefused() : {\n\t\t\t\tcode: reading.code,\n\t\t\t\tmessage: reading.message,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t});\n\t\t\tmemberError = true;\n\t\t\tcontinue;\n\t\t}\n\t\tconst stored = reading?.ok ? reading.value : memberValue === void 0 ? memberName : memberValue;\n\t\tlet read;\n\t\ttry {\n\t\t\tread = readContractValue(codec, stored, void 0);\n\t\t} catch (err) {\n\t\t\tif (isInternalError(err)) throw err;\n\t\t\tdiagnostics?.push(memberValue === void 0 ? bareMemberRefused() : {\n\t\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\t\tmessage: `enum \"${block.name}\" member \"${memberName}\" was rejected by codec \"${codecId}\": ${err instanceof Error ? err.message : String(err)}`,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t});\n\t\t\tmemberError = true;\n\t\t\tcontinue;\n\t\t}\n\t\tmembers.push({\n\t\t\tname: memberName,\n\t\t\tvalue: read\n\t\t});\n\t\tstoredMembers.push({\n\t\t\tname: memberName,\n\t\t\tstored: codec.dataType.toContract(codec.toDataTypeValue(read))\n\t\t});\n\t}\n\tfor (const duplicate of duplicateStoredMembers(storedMembers, codec.dataType.equalityKey)) {\n\t\tdiagnostics?.push(enumMemberProblemDiagnostic({\n\t\t\tkind: \"duplicate-member-value\",\n\t\t\t...duplicate\n\t\t}, site));\n\t\tmemberError = true;\n\t}\n\tif (memberError) return void 0;\n\tif (members.length === 0) {\n\t\tdiagnostics?.push({\n\t\t\tcode: \"PSL_ENUM_MISSING_TYPE\",\n\t\t\tmessage: `enum \"${block.name}\" must have at least one member`,\n\t\t\tsourceId,\n\t\t\tspan: block.span\n\t\t});\n\t\treturn;\n\t}\n\treturn members;\n}\n//#endregion\n//#region src/shared/enum-members.ts\n/** Whether TypeScript gives the value a literal type: a primitive, or an array or plain object of them. */\nfunction hasLiteralType(value) {\n\tif ([\n\t\t\"string\",\n\t\t\"number\",\n\t\t\"boolean\",\n\t\t\"bigint\"\n\t].includes(typeof value)) return true;\n\tif (Array.isArray(value)) return value.every(hasLiteralType);\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst prototype = Object.getPrototypeOf(value);\n\treturn (prototype === Object.prototype || prototype === null) && Object.values(value).every(hasLiteralType);\n}\n/**\n* A member's value in the form its codec stores it, and that form read back by the codec. A codec that throws on either is a refusal naming the member; an internal error is not the member's fault and propagates.\n*/\nfunction encodeEnumMember(member, codec) {\n\ttry {\n\t\tconst stored = codec.dataType.toContract(codec.toDataTypeValue(member.value));\n\t\treturn ok({\n\t\t\tstored,\n\t\t\treadBack: readContractValue(codec, stored, void 0)\n\t\t});\n\t} catch (cause) {\n\t\tif (isInternalError(cause)) throw cause;\n\t\treturn notOk({\n\t\t\tkind: \"codec-refused-member\",\n\t\t\tmember: member.name,\n\t\t\treason: cause instanceof Error ? cause.message : String(cause),\n\t\t\tcause\n\t\t});\n\t}\n}\n/**\n* Refuses a member its codec reads back as a different value from the one written. A member with no literal type has nothing to compare.\n*/\nfunction notStoredAsWritten(member, stored, readBack) {\n\tif (!hasLiteralType(member.value)) return void 0;\n\tif (hasLiteralType(readBack) && canonicalStringify(readBack) === canonicalStringify(member.value)) return void 0;\n\treturn {\n\t\tkind: \"member-not-stored-as-written\",\n\t\tmember: member.name,\n\t\twritten: canonicalStringify(member.value),\n\t\tstored,\n\t\twriteAs: hasLiteralType(readBack) ? canonicalStringify(readBack) : JSON.stringify(stored)\n\t};\n}\n/**\n* Each member of an enum in the form its codec stores it. Refuses a codec an enum cannot use, a codec the lookup does not have, a member the codec refuses, a member the codec reads back as another value, and two members stored as the same value. Every family's contract build calls this, and reports the problems in its own terms.\n*/\nfunction encodeEnumMembers(decodedEnum, codecLookup) {\n\tconst descriptor = codecLookup.descriptorFor(decodedEnum.codecId);\n\tconst refusal = descriptor === void 0 ? void 0 : enumRefusalOf(descriptor);\n\tif (refusal !== void 0) return notOk([{\n\t\tkind: \"codec-not-for-enums\",\n\t\trefusal\n\t}]);\n\tconst codec = codecLookup.get(decodedEnum.codecId);\n\tif (codec === void 0) return notOk([{ kind: \"codec-missing\" }]);\n\tconst problems = [];\n\tconst members = [];\n\tfor (const member of decodedEnum.enumMembers) {\n\t\tconst encoded = encodeEnumMember(member, codec);\n\t\tif (!encoded.ok) {\n\t\t\tproblems.push(encoded.failure);\n\t\t\tcontinue;\n\t\t}\n\t\tconst { stored, readBack } = encoded.value;\n\t\tconst mismatch = notStoredAsWritten(member, stored, readBack);\n\t\tif (mismatch !== void 0) problems.push(mismatch);\n\t\tmembers.push({\n\t\t\tname: member.name,\n\t\t\tvalue: stored\n\t\t});\n\t}\n\tfor (const duplicate of duplicateStoredMembers(members.map(({ name, value }) => ({\n\t\tname,\n\t\tstored: value\n\t})), codec.dataType.equalityKey)) problems.push({\n\t\tkind: \"duplicate-member-value\",\n\t\t...duplicate\n\t});\n\treturn problems.length > 0 ? notOk(problems) : ok(members);\n}\n//#endregion\n//#region src/shared/field-preset-resolution.ts\nfunction presetSpellingsUnder(members, prefix) {\n\treturn Object.entries(members).flatMap(([name, member]) => isAuthoringFieldPresetDescriptor(member) ? [`${prefix}.${name}(${(member.args ?? []).map((arg, index) => arg.name ?? `argument${index + 1}`).join(\", \")})`] : presetSpellingsUnder(member, `${prefix}.${name}`));\n}\n/**\n* How each field preset registered under `namespace`, at any depth, is written, with the names of its arguments: `temporal.timestamp(onCreate, onUpdate)`.\n*/\nfunction fieldPresetSpellings(contributions, namespace) {\n\tconst members = contributions?.field?.[namespace];\n\tif (members === void 0 || isAuthoringFieldPresetDescriptor(members)) return [];\n\treturn presetSpellingsUnder(members, namespace);\n}\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//#endregion\n//#region src/shared/written-value.ts\n/**\n* Words a refusal of the cast rule. The message leads with what to write; the types are named only when the value has a form the position admits and its type is still refused, such as a number too large for the receiving type.\n*/\nfunction describeRefusal(refusal, support, guidance) {\n\tswitch (refusal.kind) {\n\t\tcase \"unknown-tag\": return {\n\t\t\tcode: \"PSL_UNKNOWN_LITERAL_TAG\",\n\t\t\tmessage: `Unknown literal tag \"${refusal.tag}\". Known tags: ${refusal.known.join(\", \")}.`\n\t\t};\n\t\tcase \"unwritable\": return {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: `${describeExpected(guidance.forms)}; this target has no data type for a ${refusal.syntax} value`\n\t\t};\n\t\tcase \"unreadable\":\n\t\tcase \"refused-by-type\": return {\n\t\t\tcode: \"PSL_INVALID_LITERAL\",\n\t\t\tmessage: refusal.message\n\t\t};\n\t\tcase \"no-cast\": return {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: describeRefusedValueType(refusal, support, guidance)\n\t\t};\n\t}\n}\n/** `Expected <forms>`, the forms joined with `or`: the start of every refusal that says what to write. */\nfunction describeExpected(forms) {\n\treturn `Expected ${joinForms(forms)}`;\n}\n/**\n* Words a value of type `valueType` that `receivingType` refuses, where `guidance.forms` may be written. The types are named only when the value has one of those forms.\n*/\nfunction describeRefusedValueType(refused, support, guidance) {\n\tconst expected = describeExpected(guidance.forms);\n\tconst valueForm = writtenForm(support, refused.valueType);\n\tif (valueForm !== void 0 && guidance.forms.some((form) => isSameForm(form, valueForm))) return `${expected} that ${refused.receivingType} can hold; got ${refused.valueType}`;\n\treturn guidance.rewrite === void 0 ? expected : `${expected}; write ${guidance.rewrite}`;\n}\nfunction isSameForm(a, b) {\n\treturn a.kind === \"tag\" && b.kind === \"tag\" ? a.tag === b.tag : a.kind === b.kind;\n}\n/** Text a contract source reads as a number literal. */\nconst NUMBER_TEXT = /^[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?$|^[+-]?(?:NaN|Infinity)$/;\n/**\n* The literal to write in place of a quoted string that `receivingType` refuses under `receivingParams`: the string as a literal of the first tag the type admits, or else the string's text unquoted, as a number or a boolean. `undefined` when the value is not a quoted string, no such literal reads back as the same text, or the type would refuse each of them too.\n*/\nfunction exactRewrite(support, receiving, written) {\n\tif (written.kind !== \"string\") return void 0;\n\tconst admits = (candidate) => {\n\t\tconst read = readWrittenValue(support, candidate);\n\t\treturn read.ok && castTypedValue(support, receiving.receivingType, receiving.receivingParams, read.value).ok;\n\t};\n\tconst [tag] = admittedTags(support, receiving.receivingType);\n\tif (tag !== void 0 && printedTaggedLiteralReadsBack(written.text) && admits({\n\t\tkind: \"tag\",\n\t\ttag,\n\t\ttext: written.text\n\t})) return printTaggedLiteral(tag, written.text);\n\tif (NUMBER_TEXT.test(written.text) && admits({\n\t\tkind: \"number\",\n\t\ttext: written.text\n\t})) return written.text;\n\tif ((written.text === \"true\" || written.text === \"false\") && admits({\n\t\tkind: \"boolean\",\n\t\tvalue: written.text === \"true\"\n\t})) return written.text;\n}\nfunction findEntry(support, matches) {\n\tfor (const [key, entry] of Object.entries(support.entries)) if (matches(entry)) return {\n\t\tkey,\n\t\tentry\n\t};\n}\n/** The entry a tag names, or `undefined` when no pack registered that tag. */\nfunction entryForTag(support, tag) {\n\treturn findEntry(support, ({ written }) => written.kind === \"tag\" && written.tag === tag);\n}\n/** The entry that reads a plain string, boolean or number, or `undefined` when none does. */\nfunction entryForPlain(support, syntax) {\n\treturn findEntry(support, ({ written }) => written.kind === \"plain\" && written.syntax === syntax);\n}\n/** Every tag a stack registers, in the order the entries were merged. */\nfunction knownTags(support) {\n\treturn Object.values(support.entries).flatMap((entry) => entry.written.kind === \"tag\" ? [entry.written.tag] : []);\n}\nfunction textOf(written) {\n\treturn written.kind === \"boolean\" ? String(written.value) : written.text;\n}\nfunction messageOf(error) {\n\treturn error instanceof Error ? error.message : String(error);\n}\n/** The value of `type` that `json` gives under `params`, constructed by that type; a refusal is worded for a diagnostic. */\nfunction valueOfType(support, type, json, params, refuse) {\n\tconst declaration = support.lookup.get(type);\n\tif (declaration === void 0) throw new InternalError(`A value of \"${type}\" was written, and this stack does not register it.`);\n\ttry {\n\t\treturn ok(declaration.valueFrom(json(), params));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\treturn notOk(refuse(messageOf(error)));\n\t}\n}\n/** Read one written value through the authoring entry for its syntax, as a value its type constructs. */\nfunction readWrittenValue(support, written) {\n\tconst found = written.kind === \"tag\" ? entryForTag(support, written.tag) : entryForPlain(support, written.kind);\n\tif (found === void 0) return written.kind === \"tag\" ? notOk({\n\t\tkind: \"unknown-tag\",\n\t\ttag: written.tag,\n\t\tknown: knownTags(support)\n\t}) : notOk({\n\t\tkind: \"unwritable\",\n\t\tsyntax: written.kind\n\t});\n\tconst text = textOf(written);\n\tconst form = found.entry.written;\n\tconst unreadable = (message) => ({\n\t\tkind: \"unreadable\",\n\t\tmessage\n\t});\n\tif (form.kind === \"plain\" && form.syntax === \"number\") {\n\t\tconst classified = form.classify(text);\n\t\treturn classified === void 0 ? notOk(unreadable(`no data type of this target holds the number ${text}`)) : valueOfType(support, classified.type, () => classified.value, {}, unreadable);\n\t}\n\treturn valueOfType(support, dataTypeId(found.key), () => form.parse(text), {}, unreadable);\n}\n/** Take a value into the receiving type, directly or through the cast that type declares; the receiving type constructs the result under `receivingParams`, the parameters of the position that receives it. */\nfunction castTypedValue(support, receivingType, receivingParams, value) {\n\tconst refusedByType = (message) => ({\n\t\tkind: \"refused-by-type\",\n\t\treceivingType,\n\t\tmessage\n\t});\n\tif (value.type === receivingType) return valueOfType(support, receivingType, () => value.value, receivingParams, refusedByType);\n\tconst declaration = support.lookup.get(receivingType);\n\tconst cast = declaration?.casts[value.type];\n\tif (cast === void 0) return notOk({\n\t\tkind: \"no-cast\",\n\t\treceivingType,\n\t\treceivingParams,\n\t\tvalueType: value.type,\n\t\tcasts: Object.keys(declaration?.casts ?? {})\n\t});\n\tconst source = support.lookup.get(value.type);\n\tif (source === void 0) throw new InternalError(`A value of \"${value.type}\" was cast, and this stack does not register it.`);\n\tlet json;\n\ttry {\n\t\tjson = cast(source.toContract(value));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\treturn notOk({\n\t\t\tkind: \"unreadable\",\n\t\t\tmessage: messageOf(error)\n\t\t});\n\t}\n\treturn valueOfType(support, receivingType, () => json, receivingParams, refusedByType);\n}\n/**\n* Reads `written` as a value of `receivingType`: through the authoring entry for its syntax, then into `receivingType` directly or through a cast it declares. A refusal is worded for a diagnostic at the written value. The read every value of a fixed receiving type takes: an attribute argument, a type-constructor argument, and its TypeScript counterpart. ADR 254.\n*/\nfunction readWrittenValueAs(support, receivingType, written) {\n\tconst forms = admittedForms(support, [receivingType]);\n\tconst read = readWrittenValue(support, written);\n\tif (!read.ok) return notOk(describeRefusal(read.failure, support, {\n\t\tforms,\n\t\trewrite: void 0\n\t}));\n\tconst cast = castTypedValue(support, receivingType, {}, read.value);\n\tif (cast.ok) return cast;\n\tconst rewrite = exactRewrite(support, {\n\t\treceivingType,\n\t\treceivingParams: {}\n\t}, written);\n\treturn notOk(describeRefusal(cast.failure, support, {\n\t\tforms,\n\t\trewrite\n\t}));\n}\n/** The type itself, then each type it casts from, in key order. */\nfunction admittedTypes(support, dataType) {\n\treturn [dataType, ...Object.keys(support.lookup.get(dataType)?.casts ?? {})];\n}\n/** The tags a position of `dataType` admits: its own tag, then the tags of the types it casts from. */\nfunction admittedTags(support, dataType) {\n\tconst tags = admittedTypes(support, dataType).flatMap((type) => {\n\t\tconst written = support.entries[type]?.written;\n\t\treturn written?.kind === \"tag\" ? [written.tag] : [];\n\t});\n\treturn [...new Set(tags)];\n}\n/** The form a value of a tagged literal's type is written in. */\nfunction tagForm(tag) {\n\treturn {\n\t\tkind: \"tag\",\n\t\ttag,\n\t\tphrase: `${tag}\\`...\\``\n\t};\n}\nconst PLAIN_PHRASES = {\n\tstring: \"a quoted string\",\n\tboolean: \"true or false\",\n\tnumber: \"a number\"\n};\nfunction writtenForm(support, type) {\n\tconst written = support.entries[type]?.written;\n\tif (written?.kind === \"tag\") return tagForm(written.tag);\n\tif (written?.kind === \"plain\" && written.syntax !== \"number\") return {\n\t\tkind: written.syntax,\n\t\tphrase: PLAIN_PHRASES[written.syntax]\n\t};\n\treturn Object.entries(support.entries).some(([key, entry]) => entry.written.kind === \"plain\" && entry.written.syntax === \"number\" && (key === type || entry.written.types.some((listed) => listed === type))) ? {\n\t\tkind: \"number\",\n\t\tphrase: PLAIN_PHRASES.number\n\t} : void 0;\n}\n/** What {@link describeAdmittedForms} returns for a type that nothing writes. */\nconst NO_WRITTEN_FORM = \"no written form\";\n/** Each form a position receiving every one of `receivingTypes` admits, once, in order: ``sql`...` ``, `true or false`. */\nfunction admittedForms(support, receivingTypes) {\n\tconst forms = [];\n\tfor (const type of receivingTypes.flatMap((receiving) => admittedTypes(support, receiving))) {\n\t\tconst form = writtenForm(support, type);\n\t\tif (form !== void 0 && !forms.some((listed) => isSameForm(listed, form))) forms.push(form);\n\t}\n\treturn forms;\n}\nfunction joinForms(forms) {\n\treturn forms.length === 0 ? NO_WRITTEN_FORM : forms.map((form) => form.phrase).join(\" or \");\n}\n/** How a position of `dataType` can be written, for a diagnostic: ``sql`...` ``, `true or false`. */\nfunction describeAdmittedForms(support, dataType) {\n\treturn joinForms(admittedForms(support, [dataType]));\n}\n//#endregion\nexport { TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };\n\n//# sourceMappingURL=authoring.mj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AS,SAAS,CAAC,GAAG;EAC5F,MAAM,OAAO,YAAY,SAAS,IAAI;EACtC,IAAI,SAAS,KAAK,KAAK,CAAC,MAAM,MAAM,WAAW,WAAW,QAAQ,IAAI,CAAC,GAAG,MAAM,KAAK,IAAI;CAC1F;CACA,OAAO;AACR;AACA,SAAS,UAAU,OAAO;CACzB,OAAO,MAAM,WAAW,IAAI,kBAAkB,MAAM,KAAK,SAAS,KAAK,MAAM,CAAC,CAAC,KAAK,MAAM;AAC3F;;AAEA,SAAS,sBAAsB,SAAS,UAAU;CACjD,OAAO,UAAU,cAAc,SAAS,CAAC,QAAQ,CAAC,CAAC;AACpD"}
1
+ {"version":3,"file":"authoring-BxyfEUyh.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.mjs"],"sourcesContent":["import { t as canonicalizeJson } from \"./canonicalize-json-ZPawceQR.mjs\";\nimport { a as dataTypeId } from \"./data-type-CVNHtd6y.mjs\";\nimport { a as readContractValue, r as enumRefusalOf } from \"./codec-descriptor-V2-N5Qmm.mjs\";\nimport { A as instantiateAuthoringTypeConstructorFromValues, B as resolveAuthoringTemplateValue, D as instantiateAuthoringEntityType, E as getAuthoringTypeConstructor, F as isAuthoringPslBlockDescriptor, H as validateAuthoringHelperArguments, I as isAuthoringSelectRef, L as isAuthoringTypeConstructorDescriptor, M as isAuthoringEntityTypeDescriptor, N as isAuthoringFieldPresetDescriptor, O as instantiateAuthoringFieldPreset, P as isAuthoringModelAttributeDescriptor, S as classifyEnumMemberType, T as flushAuthoringWarnings, U as validateAuthoringTypeParams, V as resolveEnumCodecId, _ as assembleAuthoringDataTypes, a as temporalCodecPreset, b as assertNoCrossRegistryCollisions, d as describeTaggedLiteralFailure, f as printTaggedLiteral, g as tsTaggedTemplateSource, h as resolveTemplateTagEscapes, i as temporalAuthoringPresets, j as isAuthoringArgRef, k as instantiateAuthoringTypeConstructor, n as TEMPORAL_ON_UPDATE_ARG, o as temporalPhaseTemplate, p as printedTaggedLiteralReadsBack, r as TIMESTAMP_NOW_GENERATOR_ID, s as temporalPhaseTemplateWithParams, t as TEMPORAL_ON_CREATE_ARG, u as canonicalizeTaggedLiteralBody, v as assembleDataTypeSupport, w as collectScalarTypeConstructors, x as assertResolvableTypeConstructorTemplates, z as mergeAuthoringNamespaces } from \"./temporal-presets-DF8wiIwk.mjs\";\nimport { InternalError, isInternalError } from \"@internal/utils/internal-error\";\nimport { notOk, ok } from \"@internal/utils/result\";\nimport { canonicalStringify } from \"@internal/utils/canonical-stringify\";\n//#region src/shared/authoring-type-constructor-call.ts\n/** Every type constructor of `namespace`, with its path, in namespace order. */\nfunction* authoringTypeConstructors(namespace, path = []) {\n\tfor (const [name, value] of Object.entries(namespace)) if (isAuthoringTypeConstructorDescriptor(value)) yield {\n\t\tpath: [...path, name],\n\t\tdescriptor: value\n\t};\n\telse yield* authoringTypeConstructors(value, [...path, name]);\n}\nfunction produces(produced, wanted) {\n\tconst wantedFields = {\n\t\t...wanted,\n\t\ttypeParams: wanted.typeParams ?? {}\n\t};\n\treturn Object.entries({\n\t\t...produced,\n\t\ttypeParams: produced.typeParams ?? {}\n\t}).every(([key, value]) => canonicalizeJson(value) === canonicalizeJson(wantedFields[key]));\n}\n/**\n* The arguments that make `descriptor` produce exactly `output`, when each of its type parameters\n* comes straight from one argument; `undefined` when it cannot produce `output`, including when\n* `output` has no value for an argument the constructor requires.\n*/\nfunction authoringTypeConstructorArguments(descriptor, output) {\n\tif (descriptor.entityRefArg !== void 0 || descriptor.output.codecId !== output.codecId) return;\n\tconst args = [];\n\tfor (const [key, template] of Object.entries(descriptor.output.typeParams ?? {})) {\n\t\tconst value = output.typeParams?.[key];\n\t\tif (value !== void 0 && isAuthoringArgRef(template) && template.path === void 0) args[template.index] = value;\n\t}\n\tconst requiredArgs = (descriptor.args ?? []).filter((arg) => arg.optional !== true).length;\n\tif (args.length < requiredArgs || Array.from(args).includes(void 0)) return void 0;\n\ttry {\n\t\treturn produces(instantiateAuthoringTypeConstructor(descriptor, args), output) ? args : void 0;\n\t} catch {\n\t\treturn;\n\t}\n}\n/**\n* The first call, in namespace order, to a type constructor in `namespace` that produces exactly\n* `output`. The inverse of {@link instantiateAuthoringTypeConstructor} for constructors whose type\n* parameters each come straight from one argument. A constructor whose argument names another\n* entity is never chosen. `undefined` when no call produces `output`.\n*/\nfunction findAuthoringTypeConstructorCall(namespace, output) {\n\tfor (const { path, descriptor } of authoringTypeConstructors(namespace)) {\n\t\tconst args = authoringTypeConstructorArguments(descriptor, output);\n\t\tif (args !== void 0) return {\n\t\t\tpath,\n\t\t\targs\n\t\t};\n\t}\n}\n//#endregion\n//#region src/shared/enum-stored-members.ts\n/**\n* Each enum member whose stored form equals an earlier member's, paired with the first such member. Stored forms are compared as `contract.json` holds them, so negative zero is zero, and by `canonicalStringify`, so two objects with the same entries in a different order are equal; or, when the enum's data type declares an `equalityKey`, by that key, so `0.5` and `0.50` are one `numeric` value. Every enum authoring surface refuses the members this returns.\n*/\nfunction duplicateStoredMembers(members, equalityKey) {\n\tconst storedFormOf = (stored) => canonicalStringify(JSON.parse(JSON.stringify(stored)));\n\tconst memberByKey = /* @__PURE__ */ new Map();\n\tconst duplicates = [];\n\tfor (const member of members) {\n\t\tconst { name, stored } = member;\n\t\tconst key = equalityKey?.(stored) ?? storedFormOf(stored);\n\t\tconst earlier = memberByKey.get(key);\n\t\tif (earlier === void 0) memberByKey.set(key, member);\n\t\telse if (storedFormOf(earlier.stored) === storedFormOf(stored)) duplicates.push({\n\t\t\tearlier: earlier.name,\n\t\t\tlater: name,\n\t\t\tstored\n\t\t});\n\t\telse duplicates.push({\n\t\t\tearlier: earlier.name,\n\t\t\tlater: name,\n\t\t\tstored,\n\t\t\tearlierStored: earlier.stored\n\t\t});\n\t}\n\treturn duplicates;\n}\n//#endregion\n//#region src/shared/enum-block-members.ts\n/**\n* A problem with an enum's members as a diagnostic at the member, or at the block when the problem is the enum's codec.\n*/\nfunction enumMemberProblemDiagnostic(problem, site) {\n\tconst { enumName, codecId, sourceId } = site;\n\tconst at = (member) => ({\n\t\tsourceId,\n\t\tspan: site.memberSpans[member] ?? site.span\n\t});\n\tswitch (problem.kind) {\n\t\tcase \"codec-not-for-enums\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" cannot use the codec \"${codecId}\". ${problem.refusal}`,\n\t\t\tsourceId,\n\t\t\tspan: site.span\n\t\t};\n\t\tcase \"codec-missing\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" uses codec \"${codecId}\", which no pack in the contract provides`,\n\t\t\tsourceId,\n\t\t\tspan: site.span\n\t\t};\n\t\tcase \"codec-refused-member\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" member \"${problem.member}\" was rejected by codec \"${codecId}\": ${problem.reason}`,\n\t\t\t...at(problem.member)\n\t\t};\n\t\tcase \"member-not-stored-as-written\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" member \"${problem.member}\" is written ${problem.written}, but its codec stores ${JSON.stringify(problem.stored)}. Write the member as ${problem.writeAs}.`,\n\t\t\t...at(problem.member)\n\t\t};\n\t\tcase \"duplicate-member-value\": return {\n\t\t\tcode: \"PSL_ENUM_DUPLICATE_MEMBER_VALUE\",\n\t\t\tmessage: problem.earlierStored === void 0 ? `enum \"${enumName}\": members \"${problem.earlier}\" and \"${problem.later}\" both store ${JSON.stringify(problem.stored)}` : `enum \"${enumName}\": members \"${problem.earlier}\" and \"${problem.later}\" store ${JSON.stringify(problem.earlierStored)} and ${JSON.stringify(problem.stored)}, which the database holds equal`,\n\t\t\t...at(problem.later)\n\t\t};\n\t}\n}\n/**\n* Reads the members of an `enum` block through its codec. When the family gives a reader for written values (`ctx.readWrittenValueForCodec`), each member is read as a column default is read: its syntax gives it a data type, the codec's data type takes it directly or through a cast, and the codec checks it, so a number keeps every digit and a quoted value is text. A bare member is read from its own name, as text. Without that reader, a member is read as JSON by the codec's data type and then the codec.\n* Pushes a diagnostic and returns `undefined` when a member is refused, when two members\n* store the same value, or when the block has no members. Shared by every family's enum factory.\n*/\nfunction readEnumBlockMembers(block, codecId, codec, ctx) {\n\tconst sourceId = ctx.sourceId ?? \"unknown\";\n\tconst diagnostics = ctx.diagnostics;\n\tconst site = {\n\t\tenumName: block.name,\n\t\tcodecId,\n\t\tsourceId,\n\t\tspan: block.span,\n\t\tmemberSpans: block.parameterSpans\n\t};\n\tconst members = [];\n\tconst storedMembers = [];\n\tlet memberError = false;\n\tfor (const [memberName, memberValue] of Object.entries(block.values)) {\n\t\tconst span = block.parameterSpans[memberName] ?? block.span;\n\t\tconst bareMemberRefused = () => ({\n\t\t\tcode: \"PSL_ENUM_BARE_MEMBER_NON_STRING_CODEC\",\n\t\t\tmessage: `enum \"${block.name}\" member \"${memberName}\" has no value and codec \"${codecId}\" does not accept a bare name as input`,\n\t\t\tsourceId,\n\t\t\tspan\n\t\t});\n\t\tconst written = block.writtenValues?.[memberName] ?? (memberValue === void 0 ? {\n\t\t\tkind: \"string\",\n\t\t\ttext: memberName\n\t\t} : void 0);\n\t\tconst reading = written === void 0 ? void 0 : ctx.readWrittenValueForCodec?.({\n\t\t\twritten,\n\t\t\tcodecId,\n\t\t\tsubject: `enum \"${block.name}\" member \"${memberName}\"`\n\t\t});\n\t\tif (reading !== void 0 && !reading.ok) {\n\t\t\tdiagnostics?.push(memberValue === void 0 ? bareMemberRefused() : {\n\t\t\t\tcode: reading.code,\n\t\t\t\tmessage: reading.message,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t});\n\t\t\tmemberError = true;\n\t\t\tcontinue;\n\t\t}\n\t\tconst stored = reading?.ok ? reading.value : memberValue === void 0 ? memberName : memberValue;\n\t\tlet read;\n\t\ttry {\n\t\t\tread = readContractValue(codec, stored, void 0);\n\t\t} catch (err) {\n\t\t\tif (isInternalError(err)) throw err;\n\t\t\tdiagnostics?.push(memberValue === void 0 ? bareMemberRefused() : {\n\t\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\t\tmessage: `enum \"${block.name}\" member \"${memberName}\" was rejected by codec \"${codecId}\": ${err instanceof Error ? err.message : String(err)}`,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t});\n\t\t\tmemberError = true;\n\t\t\tcontinue;\n\t\t}\n\t\tmembers.push({\n\t\t\tname: memberName,\n\t\t\tvalue: read\n\t\t});\n\t\tstoredMembers.push({\n\t\t\tname: memberName,\n\t\t\tstored: codec.dataType.toContract(codec.toDataTypeValue(read))\n\t\t});\n\t}\n\tfor (const duplicate of duplicateStoredMembers(storedMembers, codec.dataType.equalityKey)) {\n\t\tdiagnostics?.push(enumMemberProblemDiagnostic({\n\t\t\tkind: \"duplicate-member-value\",\n\t\t\t...duplicate\n\t\t}, site));\n\t\tmemberError = true;\n\t}\n\tif (memberError) return void 0;\n\tif (members.length === 0) {\n\t\tdiagnostics?.push({\n\t\t\tcode: \"PSL_ENUM_MISSING_TYPE\",\n\t\t\tmessage: `enum \"${block.name}\" must have at least one member`,\n\t\t\tsourceId,\n\t\t\tspan: block.span\n\t\t});\n\t\treturn;\n\t}\n\treturn members;\n}\n//#endregion\n//#region src/shared/enum-members.ts\n/** Whether TypeScript gives the value a literal type: a primitive, or an array or plain object of them. */\nfunction hasLiteralType(value) {\n\tif ([\n\t\t\"string\",\n\t\t\"number\",\n\t\t\"boolean\",\n\t\t\"bigint\"\n\t].includes(typeof value)) return true;\n\tif (Array.isArray(value)) return value.every(hasLiteralType);\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst prototype = Object.getPrototypeOf(value);\n\treturn (prototype === Object.prototype || prototype === null) && Object.values(value).every(hasLiteralType);\n}\n/**\n* A member's value in the form its codec stores it, and that form read back by the codec. A codec that throws on either is a refusal naming the member; an internal error is not the member's fault and propagates.\n*/\nfunction encodeEnumMember(member, codec) {\n\ttry {\n\t\tconst stored = codec.dataType.toContract(codec.toDataTypeValue(member.value));\n\t\treturn ok({\n\t\t\tstored,\n\t\t\treadBack: readContractValue(codec, stored, void 0)\n\t\t});\n\t} catch (cause) {\n\t\tif (isInternalError(cause)) throw cause;\n\t\treturn notOk({\n\t\t\tkind: \"codec-refused-member\",\n\t\t\tmember: member.name,\n\t\t\treason: cause instanceof Error ? cause.message : String(cause),\n\t\t\tcause\n\t\t});\n\t}\n}\n/**\n* Refuses a member its codec reads back as a different value from the one written. A member with no literal type has nothing to compare.\n*/\nfunction notStoredAsWritten(member, stored, readBack) {\n\tif (!hasLiteralType(member.value)) return void 0;\n\tif (hasLiteralType(readBack) && canonicalStringify(readBack) === canonicalStringify(member.value)) return void 0;\n\treturn {\n\t\tkind: \"member-not-stored-as-written\",\n\t\tmember: member.name,\n\t\twritten: canonicalStringify(member.value),\n\t\tstored,\n\t\twriteAs: hasLiteralType(readBack) ? canonicalStringify(readBack) : JSON.stringify(stored)\n\t};\n}\n/**\n* Each member of an enum in the form its codec stores it. Refuses a codec an enum cannot use, a codec the lookup does not have, a member the codec refuses, a member the codec reads back as another value, and two members stored as the same value. Every family's contract build calls this, and reports the problems in its own terms.\n*/\nfunction encodeEnumMembers(decodedEnum, codecLookup) {\n\tconst descriptor = codecLookup.descriptorFor(decodedEnum.codecId);\n\tconst refusal = descriptor === void 0 ? void 0 : enumRefusalOf(descriptor);\n\tif (refusal !== void 0) return notOk([{\n\t\tkind: \"codec-not-for-enums\",\n\t\trefusal\n\t}]);\n\tconst codec = codecLookup.get(decodedEnum.codecId);\n\tif (codec === void 0) return notOk([{ kind: \"codec-missing\" }]);\n\tconst problems = [];\n\tconst members = [];\n\tfor (const member of decodedEnum.enumMembers) {\n\t\tconst encoded = encodeEnumMember(member, codec);\n\t\tif (!encoded.ok) {\n\t\t\tproblems.push(encoded.failure);\n\t\t\tcontinue;\n\t\t}\n\t\tconst { stored, readBack } = encoded.value;\n\t\tconst mismatch = notStoredAsWritten(member, stored, readBack);\n\t\tif (mismatch !== void 0) problems.push(mismatch);\n\t\tmembers.push({\n\t\t\tname: member.name,\n\t\t\tvalue: stored\n\t\t});\n\t}\n\tfor (const duplicate of duplicateStoredMembers(members.map(({ name, value }) => ({\n\t\tname,\n\t\tstored: value\n\t})), codec.dataType.equalityKey)) problems.push({\n\t\tkind: \"duplicate-member-value\",\n\t\t...duplicate\n\t});\n\treturn problems.length > 0 ? notOk(problems) : ok(members);\n}\n//#endregion\n//#region src/shared/field-preset-resolution.ts\nfunction presetSpellingsUnder(members, prefix) {\n\treturn Object.entries(members).flatMap(([name, member]) => isAuthoringFieldPresetDescriptor(member) ? [`${prefix}.${name}(${(member.args ?? []).map((arg, index) => arg.name ?? `argument${index + 1}`).join(\", \")})`] : presetSpellingsUnder(member, `${prefix}.${name}`));\n}\n/**\n* How each field preset registered under `namespace`, at any depth, is written, with the names of its arguments: `temporal.timestamp(onCreate, onUpdate)`.\n*/\nfunction fieldPresetSpellings(contributions, namespace) {\n\tconst members = contributions?.field?.[namespace];\n\tif (members === void 0 || isAuthoringFieldPresetDescriptor(members)) return [];\n\treturn presetSpellingsUnder(members, namespace);\n}\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//#endregion\n//#region src/shared/written-value.ts\n/**\n* Words a refusal of the cast rule. The message leads with what to write; the types are named only when the value has a form the position admits and its type is still refused, such as a number too large for the receiving type.\n*/\nfunction describeRefusal(refusal, support, guidance) {\n\tswitch (refusal.kind) {\n\t\tcase \"unknown-tag\": return {\n\t\t\tcode: \"PSL_UNKNOWN_LITERAL_TAG\",\n\t\t\tmessage: `Unknown literal tag \"${refusal.tag}\". Known tags: ${refusal.known.join(\", \")}.`\n\t\t};\n\t\tcase \"unwritable\": return {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: `${describeExpected(guidance.forms)}; this target has no data type for a ${refusal.syntax} value`\n\t\t};\n\t\tcase \"unreadable\":\n\t\tcase \"refused-by-type\": return {\n\t\t\tcode: \"PSL_INVALID_LITERAL\",\n\t\t\tmessage: refusal.message\n\t\t};\n\t\tcase \"no-cast\": return {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: describeRefusedValueType(refusal, support, guidance)\n\t\t};\n\t}\n}\n/** `Expected <forms>`, the forms joined with `or`: the start of every refusal that says what to write. */\nfunction describeExpected(forms) {\n\treturn `Expected ${joinForms(forms)}`;\n}\n/**\n* Words a value of type `valueType` that `receivingType` refuses, where `guidance.forms` may be written. The types are named only when the value has one of those forms.\n*/\nfunction describeRefusedValueType(refused, support, guidance) {\n\tconst expected = describeExpected(guidance.forms);\n\tconst valueForm = writtenForm(support, refused.valueType);\n\tif (valueForm !== void 0 && guidance.forms.some((form) => isSameForm(form, valueForm))) return `${expected} that ${refused.receivingType} can hold; got ${refused.valueType}`;\n\treturn guidance.rewrite === void 0 ? expected : `${expected}; write ${guidance.rewrite}`;\n}\nfunction isSameForm(a, b) {\n\treturn a.kind === \"tag\" && b.kind === \"tag\" ? a.tag === b.tag : a.kind === b.kind;\n}\n/** Text a contract source reads as a number literal. */\nconst NUMBER_TEXT = /^[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?$|^[+-]?(?:NaN|Infinity)$/;\n/**\n* The literal to write in place of a quoted string that `receivingType` refuses under `receivingParams`: the string as a literal of the first tag the type admits, or else the string's text unquoted, as a number or a boolean. `undefined` when the value is not a quoted string, no such literal reads back as the same text, or the type would refuse each of them too.\n*/\nfunction exactRewrite(support, receiving, written) {\n\tif (written.kind !== \"string\") return void 0;\n\tconst admits = (candidate) => {\n\t\tconst read = readWrittenValue(support, candidate);\n\t\treturn read.ok && castTypedValue(support, receiving.receivingType, receiving.receivingParams, read.value).ok;\n\t};\n\tconst [tag] = admittedTags(support, receiving.receivingType);\n\tif (tag !== void 0 && printedTaggedLiteralReadsBack(written.text) && admits({\n\t\tkind: \"tag\",\n\t\ttag,\n\t\ttext: written.text\n\t})) return printTaggedLiteral(tag, written.text);\n\tif (NUMBER_TEXT.test(written.text) && admits({\n\t\tkind: \"number\",\n\t\ttext: written.text\n\t})) return written.text;\n\tif ((written.text === \"true\" || written.text === \"false\") && admits({\n\t\tkind: \"boolean\",\n\t\tvalue: written.text === \"true\"\n\t})) return written.text;\n}\nfunction findEntry(support, matches) {\n\tfor (const [key, entry] of Object.entries(support.entries)) if (matches(entry)) return {\n\t\tkey,\n\t\tentry\n\t};\n}\n/** The entry a tag names, or `undefined` when no pack registered that tag. */\nfunction entryForTag(support, tag) {\n\treturn findEntry(support, ({ written }) => written.kind === \"tag\" && written.tag === tag);\n}\n/** The entry that reads a plain string, boolean or number, or `undefined` when none does. */\nfunction entryForPlain(support, syntax) {\n\treturn findEntry(support, ({ written }) => written.kind === \"plain\" && written.syntax === syntax);\n}\n/** Every tag a stack registers, in the order the entries were merged. */\nfunction knownTags(support) {\n\treturn Object.values(support.entries).flatMap((entry) => entry.written.kind === \"tag\" ? [entry.written.tag] : []);\n}\nfunction textOf(written) {\n\treturn written.kind === \"boolean\" ? String(written.value) : written.text;\n}\nfunction messageOf(error) {\n\treturn error instanceof Error ? error.message : String(error);\n}\n/** The value of `type` that `json` gives under `params`, constructed by that type; a refusal is worded for a diagnostic. */\nfunction valueOfType(support, type, json, params, refuse) {\n\tconst declaration = support.lookup.get(type);\n\tif (declaration === void 0) throw new InternalError(`A value of \"${type}\" was written, and this stack does not register it.`);\n\ttry {\n\t\treturn ok(declaration.valueFrom(json(), params));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\treturn notOk(refuse(messageOf(error)));\n\t}\n}\n/** Read one written value through the authoring entry for its syntax, as a value its type constructs. */\nfunction readWrittenValue(support, written) {\n\tconst found = written.kind === \"tag\" ? entryForTag(support, written.tag) : entryForPlain(support, written.kind);\n\tif (found === void 0) return written.kind === \"tag\" ? notOk({\n\t\tkind: \"unknown-tag\",\n\t\ttag: written.tag,\n\t\tknown: knownTags(support)\n\t}) : notOk({\n\t\tkind: \"unwritable\",\n\t\tsyntax: written.kind\n\t});\n\tconst text = textOf(written);\n\tconst form = found.entry.written;\n\tconst unreadable = (message) => ({\n\t\tkind: \"unreadable\",\n\t\tmessage\n\t});\n\tif (form.kind === \"plain\" && form.syntax === \"number\") {\n\t\tconst classified = form.classify(text);\n\t\treturn classified === void 0 ? notOk(unreadable(`no data type of this target holds the number ${text}`)) : valueOfType(support, classified.type, () => classified.value, {}, unreadable);\n\t}\n\treturn valueOfType(support, dataTypeId(found.key), () => form.parse(text), {}, unreadable);\n}\n/** Take a value into the receiving type, directly or through the cast that type declares; the receiving type constructs the result under `receivingParams`, the parameters of the position that receives it. */\nfunction castTypedValue(support, receivingType, receivingParams, value) {\n\tconst refusedByType = (message) => ({\n\t\tkind: \"refused-by-type\",\n\t\treceivingType,\n\t\tmessage\n\t});\n\tif (value.type === receivingType) return valueOfType(support, receivingType, () => value.value, receivingParams, refusedByType);\n\tconst declaration = support.lookup.get(receivingType);\n\tconst cast = declaration?.casts[value.type];\n\tif (cast === void 0) return notOk({\n\t\tkind: \"no-cast\",\n\t\treceivingType,\n\t\treceivingParams,\n\t\tvalueType: value.type,\n\t\tcasts: Object.keys(declaration?.casts ?? {})\n\t});\n\tconst source = support.lookup.get(value.type);\n\tif (source === void 0) throw new InternalError(`A value of \"${value.type}\" was cast, and this stack does not register it.`);\n\tlet json;\n\ttry {\n\t\tjson = cast(source.toContract(value));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\treturn notOk({\n\t\t\tkind: \"unreadable\",\n\t\t\tmessage: messageOf(error)\n\t\t});\n\t}\n\treturn valueOfType(support, receivingType, () => json, receivingParams, refusedByType);\n}\n/**\n* Reads `written` as a value of `receivingType`: through the authoring entry for its syntax, then into `receivingType` directly or through a cast it declares. A refusal is worded for a diagnostic at the written value. The read every value of a fixed receiving type takes: an attribute argument, a type-constructor argument, and its TypeScript counterpart. ADR 254.\n*/\nfunction readWrittenValueAs(support, receivingType, written) {\n\tconst forms = admittedForms(support, [receivingType]);\n\tconst read = readWrittenValue(support, written);\n\tif (!read.ok) return notOk(describeRefusal(read.failure, support, {\n\t\tforms,\n\t\trewrite: void 0\n\t}));\n\tconst cast = castTypedValue(support, receivingType, {}, read.value);\n\tif (cast.ok) return cast;\n\tconst rewrite = exactRewrite(support, {\n\t\treceivingType,\n\t\treceivingParams: {}\n\t}, written);\n\treturn notOk(describeRefusal(cast.failure, support, {\n\t\tforms,\n\t\trewrite\n\t}));\n}\n/** The type itself, then each type it casts from, in key order. */\nfunction admittedTypes(support, dataType) {\n\treturn [dataType, ...Object.keys(support.lookup.get(dataType)?.casts ?? {})];\n}\n/** The tags a position of `dataType` admits: its own tag, then the tags of the types it casts from. */\nfunction admittedTags(support, dataType) {\n\tconst tags = admittedTypes(support, dataType).flatMap((type) => {\n\t\tconst written = support.entries[type]?.written;\n\t\treturn written?.kind === \"tag\" ? [written.tag] : [];\n\t});\n\treturn [...new Set(tags)];\n}\n/** The form a value of a tagged literal's type is written in. */\nfunction tagForm(tag) {\n\treturn {\n\t\tkind: \"tag\",\n\t\ttag,\n\t\tphrase: `${tag}\\`...\\``\n\t};\n}\nconst PLAIN_PHRASES = {\n\tstring: \"a quoted string\",\n\tboolean: \"true or false\",\n\tnumber: \"a number\"\n};\nfunction writtenForm(support, type) {\n\tconst written = support.entries[type]?.written;\n\tif (written?.kind === \"tag\") return tagForm(written.tag);\n\tif (written?.kind === \"plain\" && written.syntax !== \"number\") return {\n\t\tkind: written.syntax,\n\t\tphrase: PLAIN_PHRASES[written.syntax]\n\t};\n\treturn Object.entries(support.entries).some(([key, entry]) => entry.written.kind === \"plain\" && entry.written.syntax === \"number\" && (key === type || entry.written.types.some((listed) => listed === type))) ? {\n\t\tkind: \"number\",\n\t\tphrase: PLAIN_PHRASES.number\n\t} : void 0;\n}\n/** What {@link describeAdmittedForms} returns for a type that nothing writes. */\nconst NO_WRITTEN_FORM = \"no written form\";\n/** Each form a position receiving every one of `receivingTypes` admits, once, in order: ``sql`...` ``, `true or false`. */\nfunction admittedForms(support, receivingTypes) {\n\tconst forms = [];\n\tfor (const type of receivingTypes.flatMap((receiving) => admittedTypes(support, receiving))) {\n\t\tconst form = writtenForm(support, type);\n\t\tif (form !== void 0 && !forms.some((listed) => isSameForm(listed, form))) forms.push(form);\n\t}\n\treturn forms;\n}\nfunction joinForms(forms) {\n\treturn forms.length === 0 ? NO_WRITTEN_FORM : forms.map((form) => form.phrase).join(\" or \");\n}\n/** How a position of `dataType` can be written, for a diagnostic: ``sql`...` ``, `true or false`. */\nfunction describeAdmittedForms(support, dataType) {\n\treturn joinForms(admittedForms(support, [dataType]));\n}\n//#endregion\nexport { TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };\n\n//# sourceMappingURL=authoring.mjs.map"],"mappings":";;;;;;;;;AASA,UAAU,0BAA0B,WAAW,OAAO,CAAC,GAAG;CACzD,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAQ,SAAS,GAAG,IAAI,qCAAqC,KAAK,GAAG,MAAM;EAC7G,MAAM,CAAC,GAAG,MAAM,IAAI;EACpB,YAAY;CACb;MACK,OAAO,0BAA0B,OAAO,CAAC,GAAG,MAAM,IAAI,CAAC;AAC7D;AACA,SAAS,SAAS,UAAU,QAAQ;CACnC,MAAM,eAAe;EACpB,GAAG;EACH,YAAY,OAAO,cAAc,CAAC;CACnC;CACA,OAAO,OAAO,QAAQ;EACrB,GAAG;EACH,YAAY,SAAS,cAAc,CAAC;CACrC,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,WAAW,iBAAiB,KAAK,MAAM,iBAAiB,aAAa,IAAI,CAAC;AAC3F;;;;;;AAMA,SAAS,kCAAkC,YAAY,QAAQ;CAC9D,IAAI,WAAW,iBAAiB,KAAK,KAAK,WAAW,OAAO,YAAY,OAAO,SAAS;CACxF,MAAM,OAAO,CAAC;CACd,KAAK,MAAM,CAAC,KAAK,aAAa,OAAO,QAAQ,WAAW,OAAO,cAAc,CAAC,CAAC,GAAG;EACjF,MAAM,QAAQ,OAAO,aAAa;EAClC,IAAI,UAAU,KAAK,KAAK,kBAAkB,QAAQ,KAAK,SAAS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CAC/B;CACA,OAAO,OAAO,QAAQ,QAAQ,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,WAAW,MAAM,QAAQ,SAAS,WAAW,MAAM,QAAQ,WAAW,aAAa,QAAQ,QAAQ,MAAM,QAAQ,MAAM,MAAM,WAAW,WAAW,IAAI,EAAE,IAAI;EAC/M,MAAM;EACN,QAAQ,cAAc;CACvB,IAAI,KAAK;AACV;;AAEA,MAAM,kBAAkB;;AAExB,SAAS,cAAc,SAAS,gBAAgB;CAC/C,MAAM,QAAQ,CAAC;CACf,KAAK,MAAM,QAAQ,eAAe,SAAS,cAAc,cAAc,SAAS,SAAS,CAAC,GAAG;EAC5F,MAAM,OAAO,YAAY,SAAS,IAAI;EACtC,IAAI,SAAS,KAAK,KAAK,CAAC,MAAM,MAAM,WAAW,WAAW,QAAQ,IAAI,CAAC,GAAG,MAAM,KAAK,IAAI;CAC1F;CACA,OAAO;AACR;AACA,SAAS,UAAU,OAAO;CACzB,OAAO,MAAM,WAAW,IAAI,kBAAkB,MAAM,KAAK,SAAS,KAAK,MAAM,CAAC,CAAC,KAAK,MAAM;AAC3F;;AAEA,SAAS,sBAAsB,SAAS,UAAU;CACjD,OAAO,UAAU,cAAc,SAAS,CAAC,QAAQ,CAAC,CAAC;AACpD"}
@@ -2,7 +2,7 @@ import { B as JsonValue } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
2
2
  import { i as Codec, p as CodecLookupWithDescriptors } from "./codec-types-DjozIOvT-BIcpyFea.mjs";
3
3
  import { r as Result } from "./result-BYCOANWy.mjs";
4
4
  import { D as AuthoringTypeConstructorDescriptor, a as AuthoringContributions, k as AuthoringTypeNamespace, p as AuthoringFieldPresetDescriptor, q as PslSpan, s as AuthoringEntityContext, yt as instantiateAuthoringTypeConstructor, z as ParsedPslExtensionBlock } from "./framework-authoring-Du7xSUmg-D85Toszi.mjs";
5
- import "./temporal-presets-D_TQBbXU-DLIsE1k-.mjs";
5
+ import "./temporal-presets-9VgC1-FN-MoyINRBU.mjs";
6
6
  //#region ../../../1-framework/1-core/framework-components/dist/authoring.d.mts
7
7
  //#region src/shared/authoring-type-constructor-call.d.ts
8
8
  /** What a type constructor call produces for a column. */
@@ -131,4 +131,4 @@ declare function fieldPresetSpellings(contributions: AuthoringContributions | un
131
131
  declare function getAuthoringFieldPreset(contributions: AuthoringContributions | undefined, path: readonly string[]): AuthoringFieldPresetDescriptor | undefined;
132
132
  //#endregion
133
133
  export { findAuthoringTypeConstructorCall as _, EncodedEnumMember as a, EnumBlockSite as c, authoringTypeConstructorArguments as d, authoringTypeConstructors as f, fieldPresetSpellings as g, enumMemberProblemDiagnostic as h, DuplicateStoredValue as i, EnumMemberProblem as l, encodeEnumMembers as m, AuthoringTypeConstructorOutput as n, EnumBlockDiagnostic as o, duplicateStoredMembers as p, DecodedEnum as r, EnumBlockMember as s, AuthoringTypeConstructorCall as t, StoredEnumMember as u, getAuthoringFieldPreset as v, readEnumBlockMembers as y };
134
- //# sourceMappingURL=authoring-C8sYYHu7.d.mts.map
134
+ //# sourceMappingURL=authoring-DWhPMprN.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authoring-C8sYYHu7.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.d.mts"],"mappings":";;;;;;;;KAOK,iCAAiC,kBAAkB;;UAE9C;WACC;WACA;;;iBAGM,0BAA0B,WAAW,wBAAwB,2BAA2B;WAC9F;WACA,YAAY;;;;;;;iBAON,kCAAkC,YAAY,oCAAoC,QAAQ;;;;;;;iBAO1F,iCAAiC,WAAW,wBAAwB,QAAQ,iCAAiC;;;UAGpH;WACC;WACA,QAAQ;;UAET;WACC;WACA;WACA,QAAQ;;WAER,gBAAgB;;;;;iBAKV,uBAAuB,kBAAkB,oBAAoB,eAAe,MAAM,gCAAgC;;;;UAIzH;WACC;WACA;aACE;aACA;;;;UAIH;WACC;WACA,OAAO;;UAER;WACC;WACA;WACA;WACA;;UAED;WACC;WACA;WACA;WACA,QAAQ;WACR;;KAEN;WACM;WACA;;WAEA;IACP,qBAAqB;WACd;IACP;;;;iBAIa,kBAAkB,aAAa,aAAa,aAAa,6BAA6B,gBAAgB,8BAA8B;;;UAG3I;WACC;WACA;;UAED;WACC;WACA;WACA;WACA,MAAM;;;;;UAKP;WACC;WACA;WACA;WACA,MAAM;WACN,aAAa,SAAS,eAAe;;;;;iBAK/B,4BAA4B,SAAS,mBAAmB,MAAM,gBAAgB;;;;;;iBAM9E,qBAAqB,OAAO,wBAAwB,SAAS,eAAe,0BAA0B,iBAAiB,OAAO,OAAO,KAAK,kCAAkC;;;;;;iBAM5K,qBAAqB,eAAe,oCAAoC;;;;iBAIxE,wBAAwB,eAAe,oCAAoC,0BAA0B"}
1
+ {"version":3,"file":"authoring-DWhPMprN.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.d.mts"],"mappings":";;;;;;;;KAOK,iCAAiC,kBAAkB;;UAE9C;WACC;WACA;;;iBAGM,0BAA0B,WAAW,wBAAwB,2BAA2B;WAC9F;WACA,YAAY;;;;;;;iBAON,kCAAkC,YAAY,oCAAoC,QAAQ;;;;;;;iBAO1F,iCAAiC,WAAW,wBAAwB,QAAQ,iCAAiC;;;UAGpH;WACC;WACA,QAAQ;;UAET;WACC;WACA;WACA,QAAQ;;WAER,gBAAgB;;;;;iBAKV,uBAAuB,kBAAkB,oBAAoB,eAAe,MAAM,gCAAgC;;;;UAIzH;WACC;WACA;aACE;aACA;;;;UAIH;WACC;WACA,OAAO;;UAER;WACC;WACA;WACA;WACA;;UAED;WACC;WACA;WACA;WACA,QAAQ;WACR;;KAEN;WACM;WACA;;WAEA;IACP,qBAAqB;WACd;IACP;;;;iBAIa,kBAAkB,aAAa,aAAa,aAAa,6BAA6B,gBAAgB,8BAA8B;;;UAG3I;WACC;WACA;;UAED;WACC;WACA;WACA;WACA,MAAM;;;;;UAKP;WACC;WACA;WACA;WACA,MAAM;WACN,aAAa,SAAS,eAAe;;;;;iBAK/B,4BAA4B,SAAS,mBAAmB,MAAM,gBAAgB;;;;;;iBAM9E,qBAAqB,OAAO,wBAAwB,SAAS,eAAe,0BAA0B,iBAAiB,OAAO,OAAO,KAAK,kCAAkC;;;;;;iBAM5K,qBAAqB,eAAe,oCAAoC;;;;iBAIxE,wBAAwB,eAAe,oCAAoC,0BAA0B"}
@@ -3,14 +3,14 @@ import { T as DataTypeValue, v as DataTypeId } from "./codec-types-DjozIOvT-BIcp
3
3
  import { r as Result } from "./result-BYCOANWy.mjs";
4
4
  import { D as AuthoringTypeConstructorDescriptor, p as AuthoringFieldPresetDescriptor, q as PslSpan } from "./framework-authoring-Du7xSUmg-D85Toszi.mjs";
5
5
  import { i as ControlMutationDefaults } from "./mutation-default-types-js6llINX-WGmpaAAL.mjs";
6
- import { l as TaggedLiteralCanonicalization } from "./temporal-presets-D_TQBbXU-DLIsE1k-.mjs";
7
- import "./authoring-C8sYYHu7.mjs";
6
+ import { l as TaggedLiteralCanonicalization } from "./temporal-presets-9VgC1-FN-MoyINRBU.mjs";
7
+ import "./authoring-DWhPMprN.mjs";
8
8
  import "./codec-DkiEF2cQ.mjs";
9
9
  import { l as SignatureArgumentOutput, u as SignatureOptionalArgument } from "./components-B3SnaxMU.mjs";
10
- import "./control-D9rb0OBR.mjs";
10
+ import "./control--Iipux2K.mjs";
11
11
  import "./psl-ast-DlmFfwfZ.mjs";
12
- import { n as ContractSourceContext } from "./config-types-0fY7fbd7.mjs";
13
- import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, T as MixinDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, r as AttributeArgAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-djL5wker-DYTP4HGq.mjs";
12
+ import { n as ContractSourceContext } from "./config-types-DOqor7bS.mjs";
13
+ import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, T as MixinDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, r as AttributeArgAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-djL5wker-B17tmst3.mjs";
14
14
  import { n as UnionToIntersection, t as Simplify } from "./types-DGxlljKG.mjs";
15
15
  //#region ../../../1-framework/2-authoring/psl-parser/dist/binder-63ozT0D8.d.mts
16
16
  //#region src/resolve.d.ts
@@ -511,4 +511,4 @@ declare function contributedTypeOf(resolution: Resolution | undefined, binder: B
511
511
  declare function createBinder(input: CreateBinderInput): BinderResult;
512
512
  //#endregion
513
513
  export { ModelSymbol as $, DescribeUnresolvedType as A, SymbolTableResult as At, FixedStrArgType as B, createBinder as Bt, ContributedTypeNamespace as C, ResolvedAttributeArg as Ct, CtxOf as D, Scope as Dt, CreateBinderInput as E, ResolvedTypeConstructorCall as Et, FieldAttributeCtx as F, UnrestrictedNumArgType as Ft, InferAttr as G, memberEntries as Gt, FuncCallSig as H, isNamespaceLike as Ht, FieldRefArgType as I, UnrestrictedStrArgType as It, JsonArgType as J, readResolvedAttributes as Jt, InspectableArgType as K, nodePslSpan as Kt, FieldSymbol as L, UnsupportedAttribute as Lt, EntityDeclaration as M, TypedFuncCall as Mt, EntityRefArgType as N, UnresolvedTypeReference as Nt, DataTypeValueArgType as O, ScopeResolution as Ot, EntitySelector as P, UnrestrictedIdentifierArgType as Pt, ModelAttributeCtx as Q, FixedIdentifierArgType as R, buildSymbolTable as Rt, ContributedTypeDescriptor as S, ResolvedAttribute as St, ContributedTypeSymbol as T, ResolvedNamedTypeBinding as Tt, FunctionSymbol as U, keywordPslSpan as Ut, FuncCallArgType as V, entityReference as Vt, IdentifierArgType as W, matchesSelector as Wt, ListArgType as X, typeReferenceNode as Xt, JsonValueArgType as Y, readResolvedConstructorCall as Yt, MixinSymbol as Z, CompositeTypeSymbol as _, RecordArgType as _t, AttributeLevel as a, NumLiteralArgType as at, ContributedMember as b, RequiredContextFor as bt, AttributeSymbol as c, OutOf as ct, BinderResult as d, ParameterSymbol as dt, NamedOut as et, BlockAttributeCtx as f, ParsedTaggedLiteral as ft, BuildSymbolTableOptions as g, PslSymbol as gt, BoundSpec as h, PositionalParam as ht, AttributeCtx as i, NumLiteral as it, DescribeUnsupportedAttribute as j, TaggedLiteralArgType as jt, DeclarationFor as k, SymbolTable as kt, Binder as l, PSL_UNRESOLVED_REFERENCE as lt, BoolArgType as m, PosOut as mt, ArgType as n, NamespaceSymbol as nt, AttributeOut as o, OneOfArgType as ot, BlockSymbol as p, ParsedTypedValue as pt, IntArgType as q, readResolvedAttribute as qt, ArgTypeKind as r, NullArgType as rt, AttributeSpec as s, OptionalArgType as st, AnyArgType as t, NamedTypeSymbol as tt, BinderContext as u, Param as ut, ConstantSymbol as v, ReferencedFieldRefArgType as vt, ContributedTypeScope as w, ResolvedEntityReference as wt, ContributedNamespaceSymbol as x, Resolution as xt, ContextForRequirement as y, RejectingArgType as yt, FixedNumArgType as z, contributedTypeOf as zt };
514
- //# sourceMappingURL=binder-63ozT0D8-BixamO0l.d.mts.map
514
+ //# sourceMappingURL=binder-63ozT0D8-rxvSaR0g.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"binder-63ozT0D8-BixamO0l.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/binder-63ozT0D8.d.mts"],"mappings":";;;;;;;;;;;;;;;;UAWU;WACC;WACA;WACA;WACA,aAAa;WACb,MAAM;;WAEN,OAAO;;UAER,kBAAkB,cAAc,oBAAoB,oBAAoB,oBAAoB;WAC3F;WACA,eAAe;WACf,MAAM;WACN,MAAM;;UAEP;WACC;WACA,eAAe;WACf,MAAM;;i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jD,aAAa;WACP;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;WACA,QAAQ;;WAER;;WAEA;WACA;;UAED;EACR,eAAe,MAAM,aAAa;EAClC,cAAc,MAAM,aAAa;EACjC,QAAQ,MAAM,aAAa;;UAEnB;WACC,WAAW;WACX;WACA,OAAO;WACP,OAAO;;KAEb,gCAAgC,aAAa,yBAAyB;UACjE;WACC,OAAO;WACP,OAAO;WACP;;KAEN,0BAA0B,YAAY;UACjC,sBAAsB,KAAK;WAC1B,yBAAyB,KAAK;;UAE/B;WACC,SAAS;WACT,aAAa;WACb,SAAS;;UAEV;WACC,QAAQ;WACR,sBAAsB;;iBAEhB,kBAAkB,QAAQ,cAAc,kBAAkB;iBAC1D,kBAAkB,YAAY,wBAAwB,QAAQ,SAAS;iBACvE,aAAa,OAAO,oBAAoB"}
1
+ {"version":3,"file":"binder-63ozT0D8-rxvSaR0g.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/binder-63ozT0D8.d.mts"],"mappings":";;;;;;;;;;;;;;;;UAWU;WACC;WACA;WACA;WACA,aAAa;WACb,MAAM;;WAEN,OAAO;;UAER,kBAAkB,cAAc,oBAAoB,oBAAoB,oBAAoB;WAC3F;WACA,eAAe;WACf,MAAM;WACN,MAAM;;UAEP;WACC;WACA,eAAe;WACf,MAAM;;iBAEA,sBAAsB,cAAc,oBAAoB,mBAAmB,WAAW,OAAO,SAAS,aAAa,kBAAkB;iBACrI,uBAAuB,cAAc,oBAAoB,mBAAmB,YAAY,SAAS,QAAQ,SAAS,sBAAsB,kBAAkB;iBAC1J,4BAA4B,YAAY,+BAA+B,SAAS,aAAa;iBAC7F,YAAY,MAAM,YAAY,SAAS,aAAa;;iBAEpD,eAAe,MAAM,YAAY,iBAAiB,SAAS,aAAa;;;UAG/E;WACC,kBAAkB;WAClB,YAAY,eAAe;WAC3B,YAAY,eAAe;;UAE5B;WACC,MAAM;WACN,MAA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UAE/B;WACC,SAAS;WACT,aAAa;WACb,SAAS;;UAEV;WACC,QAAQ;WACR,sBAAsB;;iBAEhB,kBAAkB,QAAQ,cAAc,kBAAkB;iBAC1D,kBAAkB,YAAY,wBAAwB,QAAQ,SAAS;iBACvE,aAAa,OAAO,oBAAoB"}
@@ -1,8 +1,8 @@
1
1
  import { A as createDataTypeLookup, B as requireValueOf, C as DataTypeSpec, D as TypeLookups, E as ListCast, F as dataTypeValuesEqual, H as requiredSchemaKeys, I as emptyCodecLookup, L as enumRefusalOf, M as dataTypeId, N as dataTypeParams, O as assembleDataTypes, P as dataTypeParamsProblem, R as objectSchemaKeys, S as DataTypeReader, T as DataTypeValue, U as schemaKeysAllowing, V as requiredParamKeys, _ as DataType, a as CodecCallContext, b as DataTypeParams, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as CodecTrait, h as CodecRegistry, i as Codec, j as dataType, k as assertDataTypeParams, l as CodecDescriptorTemplateImpl, m as CodecRef, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecLookupWithDescriptors, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeId, w as DataTypeSpelling, x as DataTypeParamsProblem, y as DataTypeLookup, z as readContractValue } from "./codec-types-DjozIOvT-BIcpyFea.mjs";
2
2
  import { $ as WrittenScalar, A as AuthoringTypeParamsIssue, At as readWrittenValue, B as PslDiagnosticCode, C as AuthoringPslBlockDescriptorNamespace, Ct as isAuthoringFieldPresetDescriptor, D as AuthoringTypeConstructorDescriptor, Dt as isAuthoringTypeConstructorDescriptor, E as AuthoringTemplateValue, Et as isAuthoringSelectRef, F as ContributedPslDiagnosticCode, Ft as validateAuthoringHelperArguments, G as PslExtensionBlockPrintEntry, H as PslExtensionBlockAttribute, I as DataTypeAuthoringEntry, It as validateAuthoringTypeParams, J as ReadRefusal, K as PslPosition, L as DataTypeSupport, M as AuthoringWarning, Mt as resolveAuthoringTemplateValue, N as AuthoringWarningSink, Nt as resolveEnumCodecId, O as AuthoringTypeConstructorEntityRef, Ot as knownTags, P as CastRefusal, Pt as tagForm, Q as WrittenForm, R as DataTypeWrittenForm, S as AuthoringPslBlockDescriptor, St as isAuthoringEntityTypeDescriptor, T as AuthoringStorageTypeTemplate, Tt as isAuthoringPslBlockDescriptor, U as PslExtensionBlockAttributeArg, V as PslExtensionBlock, W as PslExtensionBlockParsedAttribute, X as RefusalGuidance, Y as RefusalDescription, Z as ScalarTypeConstructorOutput, _ as AuthoringModelAttributeDescriptorNamespace, _t as instantiateAuthoringEntityType, a as AuthoringContributions, at as castTypedValue, b as AuthoringModelAttributeLoweringOutput, bt as instantiateAuthoringTypeConstructorFromValues, c as AuthoringEntityTypeDescriptor, ct as describeAdmittedForms, d as AuthoringEntityTypeTemplateOutput, dt as describeRefusedValueType, et as WrittenValue, f as AuthoringFieldNamespace, ft as entryForPlain, g as AuthoringModelAttributeDescriptor, gt as getAuthoringTypeConstructor, h as AuthoringModelAttributeContext, ht as flushAuthoringWarnings, i as AuthoringColumnDefaultTemplate, it as assertResolvableTypeConstructorTemplates, j as AuthoringValueArgument, jt as readWrittenValueAs, k as AuthoringTypeNamespace, kt as mergeAuthoringNamespaces, l as AuthoringEntityTypeFactoryOutput, lt as describeExpected, m as AuthoringFieldPresetOutput, mt as exactRewrite, n as AuthoringArgumentDescriptor, nt as admittedTags, o as AuthoringDiagnosticSink, ot as classifyEnumMemberType, p as AuthoringFieldPresetDescriptor, pt as entryForTag, q as PslSpan, r as AuthoringAttributeSpecContributions, rt as assertNoCrossRegistryCollisions, s as AuthoringEntityContext, st as collectScalarTypeConstructors, t as AuthoringArgRef, tt as admittedForms, u as AuthoringEntityTypeNamespace, ut as describeRefusal, v as AuthoringModelAttributeEntityOutput, vt as instantiateAuthoringFieldPreset, w as AuthoringSelectRef, wt as isAuthoringModelAttributeDescriptor, x as AuthoringOption, xt as isAuthoringArgRef, y as AuthoringModelAttributeIndexOutput, yt as instantiateAuthoringTypeConstructor, z as ParsedPslExtensionBlock } from "./framework-authoring-Du7xSUmg-D85Toszi.mjs";
3
3
  import { a as DefaultFunctionLoweringContext, c as MutationDefaultGeneratorDescriptor, d as TypedDefaultFunctionCall, i as ControlMutationDefaults, l as SourceDiagnostic, n as ControlMutationDefaultEntry, o as LoweredDefaultResult, r as ControlMutationDefaultRegistry, s as LoweredDefaultValue, t as AssembledControlMutationDefaults, u as SourceSpan } from "./mutation-default-types-js6llINX-WGmpaAAL.mjs";
4
- import { C as tsTaggedTemplateSource, S as timestampNowControlDescriptor, _ as resolveTemplateTagEscapes, a as TAGGED_LITERAL_MAX_BYTES, b as temporalPhaseTemplate, c as TIMESTAMP_NOW_GENERATOR_ID, d as assembleDataTypeSupport, f as canonicalizeTaggedLiteralBody, g as resolvePslBacktickEscapes, h as printedTaggedLiteralReadsBack, i as PresetStorageTemplate, l as TaggedLiteralCanonicalization, m as printTaggedLiteral, o as TEMPORAL_ON_CREATE_ARG, p as describeTaggedLiteralFailure, r as DataTypeComponent, s as TEMPORAL_ON_UPDATE_ARG, t as AssembledDataTypeSupport, u as assembleAuthoringDataTypes, v as temporalAuthoringPresets, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-D_TQBbXU-DLIsE1k-.mjs";
5
- import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-C8sYYHu7.mjs";
4
+ import { C as tsTaggedTemplateSource, S as timestampNowControlDescriptor, _ as resolveTemplateTagEscapes, a as TAGGED_LITERAL_MAX_BYTES, b as temporalPhaseTemplate, c as TIMESTAMP_NOW_GENERATOR_ID, d as assembleDataTypeSupport, f as canonicalizeTaggedLiteralBody, g as resolvePslBacktickEscapes, h as printedTaggedLiteralReadsBack, i as PresetStorageTemplate, l as TaggedLiteralCanonicalization, m as printTaggedLiteral, o as TEMPORAL_ON_CREATE_ARG, p as describeTaggedLiteralFailure, r as DataTypeComponent, s as TEMPORAL_ON_UPDATE_ARG, t as AssembledDataTypeSupport, u as assembleAuthoringDataTypes, v as temporalAuthoringPresets, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-9VgC1-FN-MoyINRBU.mjs";
5
+ import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-DWhPMprN.mjs";
6
6
  import { A as readJsonMatching, C as isIntegerIn, D as readJsonFloat, E as readJsonBoolean, F as validateCodecTypeParams, M as refuseJsonValue, N as renderTsLiteral, O as readJsonInteger, P as resolveCodecDescriptorOrThrow, S as floatToJson, T as materializeCodec, _ as column, a as ColumnHelperForStrict, b as decimalTextNumberLiteral, c as DATA_TYPE_ID_PATTERN, d as IntegerRange, f as SAFE_INTEGER_BIGINT_RANGE, g as codecForRef, h as ScalarFieldDeclarationBuilder, i as ColumnHelperFor, j as readJsonString, k as readJsonIntegerText, l as INT32_RANGE, m as ScalarFieldDeclaration, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as SAFE_INTEGER_RANGE, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as INT64_RANGE, v as decimalTextBigintLiteral, w as isNonFiniteText, x as floatNumberLiteral, y as decimalTextEqualityKey } from "./codec-DkiEF2cQ.mjs";
7
7
  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-hkPsnreE-C-fa8812.mjs";
8
8
  import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
@@ -12,7 +12,7 @@ import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGenera
12
12
  import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-sz0-pyyS-D3-ssRUu.mjs";
13
13
  import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-B6X_rlhZ-DCrq7Zie.mjs";
14
14
  import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
15
- import { $ as MigrationRunner, $t as VERIFY_CODE_MARKER_MISSING, A as FieldCoordinate, An as hasSchemaView, At as ResolvedModelRenameStatement, B as MigrationOperationClass, Bn as modelStatementText, Bt as SchemaTreeNodeOptions, C as DiffableNode, Cn as failedPrecheckWhy, Ct as PslContractDocument, D as FailedCheck, Dn as hasPslContractBuild, Dt as ResolvedFieldConvertStatement, E as FailedCast, En as hasOperationPreview, Et as ResolvedFieldBackfillStatement, F as MigratableTargetDescriptor, Fn as migrationRunnerFailure, Ft as SchemaEntityCoordinate, G as MigrationPlanOperation, Gn as schemaIssuesWhy, Gt as SchemaViewCapable, H as MigrationOperationSubject, Hn as planOriginOf, Ht as SchemaVerifier, I as MigrationAccessChange, In as migrationStatementJson, It as SchemaNodeRef, J as MigrationPlanner, Jt as SpaceSignature, K as MigrationPlanSubjects, Kn as storageHashHex, Kt as SchemaViewNodeKind, L as MigrationDataLoss, Ln as migrationSubjectJson, Lt as SchemaOwnership, M as HelperCodecInvariantInput, Mn as isStorageHashHex, Mt as RowsWithoutValue, N as IntrospectSchemaResult, Nn as issueLabel, Nt as SchemaDiff, O as FailedConversion, On as hasPslContractInfer, Ot as ResolvedFieldRenameStatement, P as MarkerHashes, Pn as issueOutcome, Pt as SchemaDiffIssue, Q as MigrationPlannerSuccessResult, Qt as VERIFY_CODE_HASH_MISMATCH, R as MigrationDataLossKind, Rn as migrationSubjectKey, Rt as SchemaSubjectClassifierCapable, S as DiffSubjectGranularity, Sn as extractQueryOperationTypeImports, St as PslContractBuildCapable, T as ExpectationFailureReason, Tn as hasMigrations, Tt as PslSourceSettings, U as MigrationPackage, Un as sameMarkerHashes, Ut as SchemaVerifyOptions, V as MigrationOperationPolicy, Vn as orderIssuesByDependencies, Vt as SchemaTreeVisitor, W as MigrationPlan, Wn as schemaCheckWhy, Wt as SchemaVerifyResult, X as MigrationPlannerFailureResult, Xt as SpaceToSign, Y as MigrationPlannerConflict, Yt as SpaceSigned, Z as MigrationPlannerResult, Zt as TargetMigrationsCapability, _ as ControlStack, _n as enforceHelperCodecInvariants, _t as OperationContext, a as ContractSerializer, an as VerifyDatabaseResult, at as MigrationRunnerResult, b as CoreSchemaView, bn as extractComponentIds, bt as OperationPreviewStatement, c as ControlAdapterDescriptor, cn as assembleControlMutationDefaults, ct as MigrationStatementJson, d as ControlDriverDescriptor, dn as contractSnapshotJsonSpecifier, dt as MigrationTemporaryValue, en as VERIFY_CODE_SCHEMA_FAILURE, et as MigrationRunnerExecutionChecks, f as ControlDriverInstance, fn as contractSnapshotTypesSpecifier, ft as MismatchCause, g as ControlFamilyInstance, gn as dispositionForCategory, gt as OpFactoryCall, h as ControlFamilyDescriptor, hn as diffSchemas, ht as ModelCoordinateJson, i as CONTRACT_SNAPSHOTS_DIRNAME, in as VerifierOutcome, it as MigrationRunnerPerSpaceSuccessValue, j as FieldCoordinateJson, jn as isRenameStatement, jt as ResolvedRenameStatement, k as FailedTypeChange, kn as hasSchemaSubjectClassifier, kt as ResolvedMigrationStatement, l as ControlAdapterInstance, ln as assertUniqueCodecOwner, lt as MigrationSubject, m as ControlExtensionInstance, mn as describeMigrationStatement, mt as ModelCoordinate, n as AppliedMigrationStatement, nn as VerificationStatus, nt as MigrationRunnerFailureMeta, o as ContractSpace, on as VerifyDatabaseSchemaResult, ot as MigrationRunnerSuccessValue, p as ControlExtensionDescriptor, pn as createControlStack, pt as MismatchExplanation, q as MigrationPlanWithAuthoringSurface, qn as withFailingSpace, qt as SpaceMarkerConflict, r as AssembledAuthoringContributions, rn as VerifierIssueCategory, rt as MigrationRunnerPerSpaceOptions, s as ContractSpaceHeadRef, sn as assembleAuthoringContributions, st as MigrationScaffoldContext, t as APP_SPACE_ID, tn as VERIFY_CODE_TARGET_MISMATCH, tt as MigrationRunnerFailure, u as ControlDriverConnectOptions, un as buildExtensionLoadOrder, ut as MigrationSubjectJson, v as ControlTargetDescriptor, vn as extractCodecLookup, vt as OperationPreview, w as EmitContractResult, wn as fieldStatementText, wt as PslContractInferCapable, x as CreateControlStackInput, xn as extractParameterizedOutputTypeImports, xt as PlanOrigin, y as ControlTargetInstance, yn as extractCodecTypeImports, yt as OperationPreviewCapable, z as MigrationMetadata, zn as modelDisplayName, zt as SchemaTreeNode } from "./control-D9rb0OBR.mjs";
15
+ import { $ as MigrationRunner, $t as VERIFY_CODE_MARKER_MISSING, A as FieldCoordinate, An as hasSchemaView, At as ResolvedModelRenameStatement, B as MigrationOperationClass, Bn as modelStatementText, Bt as SchemaTreeNodeOptions, C as DiffableNode, Cn as failedPrecheckWhy, Ct as PslContractDocument, D as FailedCheck, Dn as hasPslContractBuild, Dt as ResolvedFieldConvertStatement, E as FailedCast, En as hasOperationPreview, Et as ResolvedFieldBackfillStatement, F as MigratableTargetDescriptor, Fn as migrationRunnerFailure, Ft as SchemaEntityCoordinate, G as MigrationPlanOperation, Gn as schemaIssuesWhy, Gt as SchemaViewCapable, H as MigrationOperationSubject, Hn as planOriginOf, Ht as SchemaVerifier, I as MigrationAccessChange, In as migrationStatementJson, It as SchemaNodeRef, J as MigrationPlanner, Jt as SpaceSignature, K as MigrationPlanSubjects, Kn as storageHashHex, Kt as SchemaViewNodeKind, L as MigrationDataLoss, Ln as migrationSubjectJson, Lt as SchemaOwnership, M as HelperCodecInvariantInput, Mn as isStorageHashHex, Mt as RowsWithoutValue, N as IntrospectSchemaResult, Nn as issueLabel, Nt as SchemaDiff, O as FailedConversion, On as hasPslContractInfer, Ot as ResolvedFieldRenameStatement, P as MarkerHashes, Pn as issueOutcome, Pt as SchemaDiffIssue, Q as MigrationPlannerSuccessResult, Qt as VERIFY_CODE_HASH_MISMATCH, R as MigrationDataLossKind, Rn as migrationSubjectKey, Rt as SchemaSubjectClassifierCapable, S as DiffSubjectGranularity, Sn as extractQueryOperationTypeImports, St as PslContractBuildCapable, T as ExpectationFailureReason, Tn as hasMigrations, Tt as PslSourceSettings, U as MigrationPackage, Un as sameMarkerHashes, Ut as SchemaVerifyOptions, V as MigrationOperationPolicy, Vn as orderIssuesByDependencies, Vt as SchemaTreeVisitor, W as MigrationPlan, Wn as schemaCheckWhy, Wt as SchemaVerifyResult, X as MigrationPlannerFailureResult, Xt as SpaceToSign, Y as MigrationPlannerConflict, Yt as SpaceSigned, Z as MigrationPlannerResult, Zt as TargetMigrationsCapability, _ as ControlStack, _n as enforceHelperCodecInvariants, _t as OperationContext, a as ContractSerializer, an as VerifyDatabaseResult, at as MigrationRunnerResult, b as CoreSchemaView, bn as extractComponentIds, bt as OperationPreviewStatement, c as ControlAdapterDescriptor, cn as assembleControlMutationDefaults, ct as MigrationStatementJson, d as ControlDriverDescriptor, dn as contractSnapshotJsonSpecifier, dt as MigrationTemporaryValue, en as VERIFY_CODE_SCHEMA_FAILURE, et as MigrationRunnerExecutionChecks, f as ControlDriverInstance, fn as contractSnapshotTypesSpecifier, ft as MismatchCause, g as ControlFamilyInstance, gn as dispositionForCategory, gt as OpFactoryCall, h as ControlFamilyDescriptor, hn as diffSchemas, ht as ModelCoordinateJson, i as CONTRACT_SNAPSHOTS_DIRNAME, in as VerifierOutcome, it as MigrationRunnerPerSpaceSuccessValue, j as FieldCoordinateJson, jn as isRenameStatement, jt as ResolvedRenameStatement, k as FailedTypeChange, kn as hasSchemaSubjectClassifier, kt as ResolvedMigrationStatement, l as ControlAdapterInstance, ln as assertUniqueCodecOwner, lt as MigrationSubject, m as ControlExtensionInstance, mn as describeMigrationStatement, mt as ModelCoordinate, n as AppliedMigrationStatement, nn as VerificationStatus, nt as MigrationRunnerFailureMeta, o as ContractSpace, on as VerifyDatabaseSchemaResult, ot as MigrationRunnerSuccessValue, p as ControlExtensionDescriptor, pn as createControlStack, pt as MismatchExplanation, q as MigrationPlanWithAuthoringSurface, qn as withFailingSpace, qt as SpaceMarkerConflict, r as AssembledAuthoringContributions, rn as VerifierIssueCategory, rt as MigrationRunnerPerSpaceOptions, s as ContractSpaceHeadRef, sn as assembleAuthoringContributions, st as MigrationScaffoldContext, t as APP_SPACE_ID, tn as VERIFY_CODE_TARGET_MISMATCH, tt as MigrationRunnerFailure, u as ControlDriverConnectOptions, un as buildExtensionLoadOrder, ut as MigrationSubjectJson, v as ControlTargetDescriptor, vn as extractCodecLookup, vt as OperationPreview, w as EmitContractResult, wn as fieldStatementText, wt as PslContractInferCapable, x as CreateControlStackInput, xn as extractParameterizedOutputTypeImports, xt as PlanOrigin, y as ControlTargetInstance, yn as extractCodecTypeImports, yt as OperationPreviewCapable, z as MigrationMetadata, zn as modelDisplayName, zt as SchemaTreeNode } from "./control--Iipux2K.mjs";
16
16
  import "./emission-XBYOUuHN.mjs";
17
17
  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-CktUHYP0.mjs";
18
18
  import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
@@ -5,12 +5,12 @@ import { C as readJsonString, D as requiredSchemaKeys, E as requiredParamKeys, O
5
5
  import { a as resolveCodecDescriptorOrThrow, i as materializeCodec, o as validateCodecTypeParams, r as codecForRef, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from "./resolve-codec-qqMjZrmn-Cok8elAo.mjs";
6
6
  import { t as emptyCodecLookup } from "./codec-types-BXLUbk-Y-DpGfKGK0.mjs";
7
7
  import { a as isAggregateDescriptor, c as mergeCapabilityMatrices, l as singleGeneratorBinding, n as aggregateDescriptorKey, o as isAnyInputAggregateDescriptor, r as assembleGeneratorFunctions, s as isNoInputAggregateDescriptor, t as EMPTY_GENERATOR_FUNCTIONS } from "./generator-functions-CXbQfvYu-BIFU1Ryx.mjs";
8
- import { A as printTaggedLiteral, B as timestampNowControlDescriptor, C as isAuthoringFieldPresetDescriptor, D as isAuthoringTypeConstructorDescriptor, E as isAuthoringSelectRef, F as resolveTemplateTagEscapes, H as validateAuthoringHelperArguments, I as temporalAuthoringPresets, L as temporalCodecPreset, M as resolveAuthoringTemplateValue, N as resolveEnumCodecId, P as resolvePslBacktickEscapes, R as temporalPhaseTemplate, S as isAuthoringEntityTypeDescriptor, T as isAuthoringPslBlockDescriptor, U as validateAuthoringTypeParams, V as tsTaggedTemplateSource, _ as instantiateAuthoringEntityType, a as assembleAuthoringDataTypes, b as instantiateAuthoringTypeConstructorFromValues, c as assertResolvableTypeConstructorTemplates, f as collectScalarTypeConstructors, g as getAuthoringTypeConstructor, h as flushAuthoringWarnings, i as TIMESTAMP_NOW_GENERATOR_ID, j as printedTaggedLiteralReadsBack, k as mergeAuthoringNamespaces, l as canonicalizeTaggedLiteralBody, m as describeTaggedLiteralFailure, n as TEMPORAL_ON_CREATE_ARG, o as assembleDataTypeSupport, r as TEMPORAL_ON_UPDATE_ARG, s as assertNoCrossRegistryCollisions, t as TAGGED_LITERAL_MAX_BYTES, u as classifyEnumMemberType, v as instantiateAuthoringFieldPreset, w as isAuthoringModelAttributeDescriptor, x as isAuthoringArgRef, y as instantiateAuthoringTypeConstructor, z as temporalPhaseTemplateWithParams } from "./temporal-presets-DmZDnaZV-aUZPt1LX.mjs";
8
+ import { A as printTaggedLiteral, B as timestampNowControlDescriptor, C as isAuthoringFieldPresetDescriptor, D as isAuthoringTypeConstructorDescriptor, E as isAuthoringSelectRef, F as resolveTemplateTagEscapes, H as validateAuthoringHelperArguments, I as temporalAuthoringPresets, L as temporalCodecPreset, M as resolveAuthoringTemplateValue, N as resolveEnumCodecId, P as resolvePslBacktickEscapes, R as temporalPhaseTemplate, S as isAuthoringEntityTypeDescriptor, T as isAuthoringPslBlockDescriptor, U as validateAuthoringTypeParams, V as tsTaggedTemplateSource, _ as instantiateAuthoringEntityType, a as assembleAuthoringDataTypes, b as instantiateAuthoringTypeConstructorFromValues, c as assertResolvableTypeConstructorTemplates, f as collectScalarTypeConstructors, g as getAuthoringTypeConstructor, h as flushAuthoringWarnings, i as TIMESTAMP_NOW_GENERATOR_ID, j as printedTaggedLiteralReadsBack, k as mergeAuthoringNamespaces, l as canonicalizeTaggedLiteralBody, m as describeTaggedLiteralFailure, n as TEMPORAL_ON_CREATE_ARG, o as assembleDataTypeSupport, r as TEMPORAL_ON_UPDATE_ARG, s as assertNoCrossRegistryCollisions, t as TAGGED_LITERAL_MAX_BYTES, u as classifyEnumMemberType, v as instantiateAuthoringFieldPreset, w as isAuthoringModelAttributeDescriptor, x as isAuthoringArgRef, y as instantiateAuthoringTypeConstructor, z as temporalPhaseTemplateWithParams } from "./temporal-presets-DF8wiIwk-CZI3cLQZ.mjs";
9
9
  import { i as freezeNode, n as NamespaceBase, r as UNBOUND_NAMESPACE_ID, t as IRNodeBase } from "./namespace-VUH2dgnS-By5y75h9.mjs";
10
- import { A as hasPslContractInfer, B as migrationSubjectKey, C as extractParameterizedOutputTypeImports, D as hasMigrations, E as fieldStatementText, F as issueLabel, G as sameMarkerHashes, H as modelStatementText, I as issueOutcome, J as storageHashHex, K as schemaCheckWhy, L as migrationRunnerFailure, M as hasSchemaView, N as isRenameStatement, O as hasOperationPreview, P as isStorageHashHex, R as migrationStatementJson, S as extractComponentIds, T as failedPrecheckWhy, U as orderIssuesByDependencies, V as modelDisplayName, W as planOriginOf, Y as withFailingSpace, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as extractCodecLookup, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as hasSchemaSubjectClassifier, k as hasPslContractBuild, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as schemaIssuesWhy, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as dispositionForCategory, w as extractQueryOperationTypeImports, x as extractCodecTypeImports, y as enforceHelperCodecInvariants, z as migrationSubjectJson } from "./control-DPasGnOD.mjs";
10
+ import { A as hasPslContractInfer, B as migrationSubjectKey, C as extractParameterizedOutputTypeImports, D as hasMigrations, E as fieldStatementText, F as issueLabel, G as sameMarkerHashes, H as modelStatementText, I as issueOutcome, J as storageHashHex, K as schemaCheckWhy, L as migrationRunnerFailure, M as hasSchemaView, N as isRenameStatement, O as hasOperationPreview, P as isStorageHashHex, R as migrationStatementJson, S as extractComponentIds, T as failedPrecheckWhy, U as orderIssuesByDependencies, V as modelDisplayName, W as planOriginOf, Y as withFailingSpace, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as extractCodecLookup, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as hasSchemaSubjectClassifier, k as hasPslContractBuild, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as schemaIssuesWhy, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as dispositionForCategory, w as extractQueryOperationTypeImports, x as extractCodecTypeImports, y as enforceHelperCodecInvariants, z as migrationSubjectJson } from "./control-EZKh_OR0.mjs";
11
11
  import { a as elementCoordinates, c as promoteBuiltinKinds, i as domainElementCoordinates, n as buildSingleNamespaceView, o as entityAt, r as coordinateKey, s as hydrateNamespaceEntities, t as buildNamespacedEntities } from "./ir-uDGU9vaj.mjs";
12
12
  import { a as readContractValue, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-V2-N5Qmm-BR-5owl6.mjs";
13
- import { C as tagForm, S as readWrittenValueAs, _ as findAuthoringTypeConstructorCall, a as castTypedValue, b as readEnumBlockMembers, c as describeRefusal, d as encodeEnumMembers, f as entryForPlain, g as fieldPresetSpellings, h as exactRewrite, i as authoringTypeConstructors, l as describeRefusedValueType, m as enumMemberProblemDiagnostic, n as admittedTags, o as describeAdmittedForms, p as entryForTag, r as authoringTypeConstructorArguments, s as describeExpected, t as admittedForms, u as duplicateStoredMembers, v as getAuthoringFieldPreset, x as readWrittenValue, y as knownTags } from "./authoring-qO6idK5H.mjs";
13
+ import { C as tagForm, S as readWrittenValueAs, _ as findAuthoringTypeConstructorCall, a as castTypedValue, b as readEnumBlockMembers, c as describeRefusal, d as encodeEnumMembers, f as entryForPlain, g as fieldPresetSpellings, h as exactRewrite, i as authoringTypeConstructors, l as describeRefusedValueType, m as enumMemberProblemDiagnostic, n as admittedTags, o as describeAdmittedForms, p as entryForTag, r as authoringTypeConstructorArguments, s as describeExpected, t as admittedForms, u as duplicateStoredMembers, v as getAuthoringFieldPreset, x as readWrittenValue, y as knownTags } from "./authoring-BxyfEUyh.mjs";
14
14
  import { a as floatNumberLiteral, i as decimalTextNumberLiteral, n as decimalTextBigintLiteral, o as renderTsLiteral, r as decimalTextEqualityKey, t as column } from "./codec-DGRG8oEH.mjs";
15
15
  import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
16
16
  import { n as settleAggregateOverloads, t as createGeneratorHelpers } from "./components-C83PWIWw.mjs";
@@ -1,4 +1,4 @@
1
1
  import { $ as WrittenScalar, A as AuthoringTypeParamsIssue, At as readWrittenValue, C as AuthoringPslBlockDescriptorNamespace, Ct as isAuthoringFieldPresetDescriptor, D as AuthoringTypeConstructorDescriptor, Dt as isAuthoringTypeConstructorDescriptor, E as AuthoringTemplateValue, Et as isAuthoringSelectRef, Ft as validateAuthoringHelperArguments, G as PslExtensionBlockPrintEntry, I as DataTypeAuthoringEntry, It as validateAuthoringTypeParams, J as ReadRefusal, L as DataTypeSupport, M as AuthoringWarning, Mt as resolveAuthoringTemplateValue, N as AuthoringWarningSink, Nt as resolveEnumCodecId, O as AuthoringTypeConstructorEntityRef, Ot as knownTags, P as CastRefusal, Pt as tagForm, Q as WrittenForm, R as DataTypeWrittenForm, S as AuthoringPslBlockDescriptor, St as isAuthoringEntityTypeDescriptor, T as AuthoringStorageTypeTemplate, Tt as isAuthoringPslBlockDescriptor, V as PslExtensionBlock, W as PslExtensionBlockParsedAttribute, X as RefusalGuidance, Y as RefusalDescription, Z as ScalarTypeConstructorOutput, _ as AuthoringModelAttributeDescriptorNamespace, _t as instantiateAuthoringEntityType, a as AuthoringContributions, at as castTypedValue, b as AuthoringModelAttributeLoweringOutput, bt as instantiateAuthoringTypeConstructorFromValues, c as AuthoringEntityTypeDescriptor, ct as describeAdmittedForms, d as AuthoringEntityTypeTemplateOutput, dt as describeRefusedValueType, et as WrittenValue, f as AuthoringFieldNamespace, ft as entryForPlain, g as AuthoringModelAttributeDescriptor, gt as getAuthoringTypeConstructor, h as AuthoringModelAttributeContext, ht as flushAuthoringWarnings, i as AuthoringColumnDefaultTemplate, it as assertResolvableTypeConstructorTemplates, j as AuthoringValueArgument, jt as readWrittenValueAs, k as AuthoringTypeNamespace, kt as mergeAuthoringNamespaces, l as AuthoringEntityTypeFactoryOutput, lt as describeExpected, m as AuthoringFieldPresetOutput, mt as exactRewrite, n as AuthoringArgumentDescriptor, nt as admittedTags, o as AuthoringDiagnosticSink, ot as classifyEnumMemberType, p as AuthoringFieldPresetDescriptor, pt as entryForTag, r as AuthoringAttributeSpecContributions, rt as assertNoCrossRegistryCollisions, s as AuthoringEntityContext, st as collectScalarTypeConstructors, t as AuthoringArgRef, tt as admittedForms, u as AuthoringEntityTypeNamespace, ut as describeRefusal, v as AuthoringModelAttributeEntityOutput, vt as instantiateAuthoringFieldPreset, w as AuthoringSelectRef, wt as isAuthoringModelAttributeDescriptor, x as AuthoringOption, xt as isAuthoringArgRef, y as AuthoringModelAttributeIndexOutput, yt as instantiateAuthoringTypeConstructor, z as ParsedPslExtensionBlock } from "./framework-authoring-Du7xSUmg-D85Toszi.mjs";
2
- import { C as tsTaggedTemplateSource, _ as resolveTemplateTagEscapes, b as temporalPhaseTemplate, c as TIMESTAMP_NOW_GENERATOR_ID, d as assembleDataTypeSupport, f as canonicalizeTaggedLiteralBody, h as printedTaggedLiteralReadsBack, i as PresetStorageTemplate, l as TaggedLiteralCanonicalization, m as printTaggedLiteral, o as TEMPORAL_ON_CREATE_ARG, p as describeTaggedLiteralFailure, r as DataTypeComponent, s as TEMPORAL_ON_UPDATE_ARG, t as AssembledDataTypeSupport, u as assembleAuthoringDataTypes, v as temporalAuthoringPresets, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-D_TQBbXU-DLIsE1k-.mjs";
3
- import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-C8sYYHu7.mjs";
2
+ import { C as tsTaggedTemplateSource, _ as resolveTemplateTagEscapes, b as temporalPhaseTemplate, c as TIMESTAMP_NOW_GENERATOR_ID, d as assembleDataTypeSupport, f as canonicalizeTaggedLiteralBody, h as printedTaggedLiteralReadsBack, i as PresetStorageTemplate, l as TaggedLiteralCanonicalization, m as printTaggedLiteral, o as TEMPORAL_ON_CREATE_ARG, p as describeTaggedLiteralFailure, r as DataTypeComponent, s as TEMPORAL_ON_UPDATE_ARG, t as AssembledDataTypeSupport, u as assembleAuthoringDataTypes, v as temporalAuthoringPresets, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-9VgC1-FN-MoyINRBU.mjs";
3
+ import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-DWhPMprN.mjs";
4
4
  export { type AssembledDataTypeSupport, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringValueArgument, type AuthoringWarning, type AuthoringWarningSink, type CastRefusal, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeSupport, type DataTypeWrittenForm, type DecodedEnum, type DuplicateStoredValue, type EncodedEnumMember, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type ParsedPslExtensionBlock, type PresetStorageTemplate, type PslExtensionBlock, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, type ReadRefusal, type RefusalDescription, type RefusalGuidance, type ScalarTypeConstructorOutput, type StoredEnumMember, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
@@ -1,3 +1,3 @@
1
- import { A as printTaggedLiteral, C as isAuthoringFieldPresetDescriptor, D as isAuthoringTypeConstructorDescriptor, E as isAuthoringSelectRef, F as resolveTemplateTagEscapes, H as validateAuthoringHelperArguments, I as temporalAuthoringPresets, L as temporalCodecPreset, M as resolveAuthoringTemplateValue, N as resolveEnumCodecId, R as temporalPhaseTemplate, S as isAuthoringEntityTypeDescriptor, T as isAuthoringPslBlockDescriptor, U as validateAuthoringTypeParams, V as tsTaggedTemplateSource, _ as instantiateAuthoringEntityType, a as assembleAuthoringDataTypes, b as instantiateAuthoringTypeConstructorFromValues, c as assertResolvableTypeConstructorTemplates, f as collectScalarTypeConstructors, g as getAuthoringTypeConstructor, h as flushAuthoringWarnings, i as TIMESTAMP_NOW_GENERATOR_ID, j as printedTaggedLiteralReadsBack, k as mergeAuthoringNamespaces, l as canonicalizeTaggedLiteralBody, m as describeTaggedLiteralFailure, n as TEMPORAL_ON_CREATE_ARG, o as assembleDataTypeSupport, r as TEMPORAL_ON_UPDATE_ARG, s as assertNoCrossRegistryCollisions, u as classifyEnumMemberType, v as instantiateAuthoringFieldPreset, w as isAuthoringModelAttributeDescriptor, x as isAuthoringArgRef, y as instantiateAuthoringTypeConstructor, z as temporalPhaseTemplateWithParams } from "./temporal-presets-DmZDnaZV-aUZPt1LX.mjs";
2
- import { C as tagForm, S as readWrittenValueAs, _ as findAuthoringTypeConstructorCall, a as castTypedValue, b as readEnumBlockMembers, c as describeRefusal, d as encodeEnumMembers, f as entryForPlain, g as fieldPresetSpellings, h as exactRewrite, i as authoringTypeConstructors, l as describeRefusedValueType, m as enumMemberProblemDiagnostic, n as admittedTags, o as describeAdmittedForms, p as entryForTag, r as authoringTypeConstructorArguments, s as describeExpected, t as admittedForms, u as duplicateStoredMembers, v as getAuthoringFieldPreset, x as readWrittenValue, y as knownTags } from "./authoring-qO6idK5H.mjs";
1
+ import { A as printTaggedLiteral, C as isAuthoringFieldPresetDescriptor, D as isAuthoringTypeConstructorDescriptor, E as isAuthoringSelectRef, F as resolveTemplateTagEscapes, H as validateAuthoringHelperArguments, I as temporalAuthoringPresets, L as temporalCodecPreset, M as resolveAuthoringTemplateValue, N as resolveEnumCodecId, R as temporalPhaseTemplate, S as isAuthoringEntityTypeDescriptor, T as isAuthoringPslBlockDescriptor, U as validateAuthoringTypeParams, V as tsTaggedTemplateSource, _ as instantiateAuthoringEntityType, a as assembleAuthoringDataTypes, b as instantiateAuthoringTypeConstructorFromValues, c as assertResolvableTypeConstructorTemplates, f as collectScalarTypeConstructors, g as getAuthoringTypeConstructor, h as flushAuthoringWarnings, i as TIMESTAMP_NOW_GENERATOR_ID, j as printedTaggedLiteralReadsBack, k as mergeAuthoringNamespaces, l as canonicalizeTaggedLiteralBody, m as describeTaggedLiteralFailure, n as TEMPORAL_ON_CREATE_ARG, o as assembleDataTypeSupport, r as TEMPORAL_ON_UPDATE_ARG, s as assertNoCrossRegistryCollisions, u as classifyEnumMemberType, v as instantiateAuthoringFieldPreset, w as isAuthoringModelAttributeDescriptor, x as isAuthoringArgRef, y as instantiateAuthoringTypeConstructor, z as temporalPhaseTemplateWithParams } from "./temporal-presets-DF8wiIwk-CZI3cLQZ.mjs";
2
+ import { C as tagForm, S as readWrittenValueAs, _ as findAuthoringTypeConstructorCall, a as castTypedValue, b as readEnumBlockMembers, c as describeRefusal, d as encodeEnumMembers, f as entryForPlain, g as fieldPresetSpellings, h as exactRewrite, i as authoringTypeConstructors, l as describeRefusedValueType, m as enumMemberProblemDiagnostic, n as admittedTags, o as describeAdmittedForms, p as entryForTag, r as authoringTypeConstructorArguments, s as describeExpected, t as admittedForms, u as duplicateStoredMembers, v as getAuthoringFieldPreset, x as readWrittenValue, y as knownTags } from "./authoring-BxyfEUyh.mjs";
3
3
  export { TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
@@ -1,5 +1,5 @@
1
1
  import { a as DefaultFunctionLoweringContext, c as MutationDefaultGeneratorDescriptor, d as TypedDefaultFunctionCall, i as ControlMutationDefaults, l as SourceDiagnostic, n as ControlMutationDefaultEntry, o as LoweredDefaultResult, r as ControlMutationDefaultRegistry, s as LoweredDefaultValue, t as AssembledControlMutationDefaults, u as SourceSpan } from "./mutation-default-types-js6llINX-WGmpaAAL.mjs";
2
- import { S as timestampNowControlDescriptor, _ as resolveTemplateTagEscapes, a as TAGGED_LITERAL_MAX_BYTES, g as resolvePslBacktickEscapes, p as describeTaggedLiteralFailure } from "./temporal-presets-D_TQBbXU-DLIsE1k-.mjs";
2
+ import { S as timestampNowControlDescriptor, _ as resolveTemplateTagEscapes, a as TAGGED_LITERAL_MAX_BYTES, g as resolvePslBacktickEscapes, p as describeTaggedLiteralFailure } from "./temporal-presets-9VgC1-FN-MoyINRBU.mjs";
3
3
  import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
4
- import { $ as MigrationRunner, $t as VERIFY_CODE_MARKER_MISSING, A as FieldCoordinate, An as hasSchemaView, At as ResolvedModelRenameStatement, B as MigrationOperationClass, Bn as modelStatementText, Bt as SchemaTreeNodeOptions, C as DiffableNode, Cn as failedPrecheckWhy, Ct as PslContractDocument, D as FailedCheck, Dn as hasPslContractBuild, Dt as ResolvedFieldConvertStatement, E as FailedCast, En as hasOperationPreview, Et as ResolvedFieldBackfillStatement, F as MigratableTargetDescriptor, Fn as migrationRunnerFailure, Ft as SchemaEntityCoordinate, G as MigrationPlanOperation, Gn as schemaIssuesWhy, Gt as SchemaViewCapable, H as MigrationOperationSubject, Hn as planOriginOf, Ht as SchemaVerifier, I as MigrationAccessChange, In as migrationStatementJson, It as SchemaNodeRef, J as MigrationPlanner, Jt as SpaceSignature, K as MigrationPlanSubjects, Kn as storageHashHex, Kt as SchemaViewNodeKind, L as MigrationDataLoss, Ln as migrationSubjectJson, Lt as SchemaOwnership, M as HelperCodecInvariantInput, Mn as isStorageHashHex, Mt as RowsWithoutValue, N as IntrospectSchemaResult, Nn as issueLabel, Nt as SchemaDiff, O as FailedConversion, On as hasPslContractInfer, Ot as ResolvedFieldRenameStatement, P as MarkerHashes, Pn as issueOutcome, Pt as SchemaDiffIssue, Q as MigrationPlannerSuccessResult, Qt as VERIFY_CODE_HASH_MISMATCH, R as MigrationDataLossKind, Rn as migrationSubjectKey, Rt as SchemaSubjectClassifierCapable, S as DiffSubjectGranularity, Sn as extractQueryOperationTypeImports, St as PslContractBuildCapable, T as ExpectationFailureReason, Tn as hasMigrations, Tt as PslSourceSettings, U as MigrationPackage, Un as sameMarkerHashes, Ut as SchemaVerifyOptions, V as MigrationOperationPolicy, Vn as orderIssuesByDependencies, Vt as SchemaTreeVisitor, W as MigrationPlan, Wn as schemaCheckWhy, Wt as SchemaVerifyResult, X as MigrationPlannerFailureResult, Xt as SpaceToSign, Y as MigrationPlannerConflict, Yt as SpaceSigned, Z as MigrationPlannerResult, Zt as TargetMigrationsCapability, _ as ControlStack, _n as enforceHelperCodecInvariants, _t as OperationContext, a as ContractSerializer, an as VerifyDatabaseResult, at as MigrationRunnerResult, b as CoreSchemaView, bn as extractComponentIds, bt as OperationPreviewStatement, c as ControlAdapterDescriptor, cn as assembleControlMutationDefaults, ct as MigrationStatementJson, d as ControlDriverDescriptor, dn as contractSnapshotJsonSpecifier, dt as MigrationTemporaryValue, en as VERIFY_CODE_SCHEMA_FAILURE, et as MigrationRunnerExecutionChecks, f as ControlDriverInstance, fn as contractSnapshotTypesSpecifier, ft as MismatchCause, g as ControlFamilyInstance, gn as dispositionForCategory, gt as OpFactoryCall, h as ControlFamilyDescriptor, hn as diffSchemas, ht as ModelCoordinateJson, i as CONTRACT_SNAPSHOTS_DIRNAME, in as VerifierOutcome, it as MigrationRunnerPerSpaceSuccessValue, j as FieldCoordinateJson, jn as isRenameStatement, jt as ResolvedRenameStatement, k as FailedTypeChange, kn as hasSchemaSubjectClassifier, kt as ResolvedMigrationStatement, l as ControlAdapterInstance, ln as assertUniqueCodecOwner, lt as MigrationSubject, m as ControlExtensionInstance, mn as describeMigrationStatement, mt as ModelCoordinate, n as AppliedMigrationStatement, nn as VerificationStatus, nt as MigrationRunnerFailureMeta, o as ContractSpace, on as VerifyDatabaseSchemaResult, ot as MigrationRunnerSuccessValue, p as ControlExtensionDescriptor, pn as createControlStack, pt as MismatchExplanation, q as MigrationPlanWithAuthoringSurface, qn as withFailingSpace, qt as SpaceMarkerConflict, r as AssembledAuthoringContributions, rn as VerifierIssueCategory, rt as MigrationRunnerPerSpaceOptions, s as ContractSpaceHeadRef, sn as assembleAuthoringContributions, st as MigrationScaffoldContext, t as APP_SPACE_ID, tn as VERIFY_CODE_TARGET_MISMATCH, tt as MigrationRunnerFailure, u as ControlDriverConnectOptions, un as buildExtensionLoadOrder, ut as MigrationSubjectJson, v as ControlTargetDescriptor, vn as extractCodecLookup, vt as OperationPreview, w as EmitContractResult, wn as fieldStatementText, wt as PslContractInferCapable, x as CreateControlStackInput, xn as extractParameterizedOutputTypeImports, xt as PlanOrigin, y as ControlTargetInstance, yn as extractCodecTypeImports, yt as OperationPreviewCapable, z as MigrationMetadata, zn as modelDisplayName, zt as SchemaTreeNode } from "./control-D9rb0OBR.mjs";
4
+ import { $ as MigrationRunner, $t as VERIFY_CODE_MARKER_MISSING, A as FieldCoordinate, An as hasSchemaView, At as ResolvedModelRenameStatement, B as MigrationOperationClass, Bn as modelStatementText, Bt as SchemaTreeNodeOptions, C as DiffableNode, Cn as failedPrecheckWhy, Ct as PslContractDocument, D as FailedCheck, Dn as hasPslContractBuild, Dt as ResolvedFieldConvertStatement, E as FailedCast, En as hasOperationPreview, Et as ResolvedFieldBackfillStatement, F as MigratableTargetDescriptor, Fn as migrationRunnerFailure, Ft as SchemaEntityCoordinate, G as MigrationPlanOperation, Gn as schemaIssuesWhy, Gt as SchemaViewCapable, H as MigrationOperationSubject, Hn as planOriginOf, Ht as SchemaVerifier, I as MigrationAccessChange, In as migrationStatementJson, It as SchemaNodeRef, J as MigrationPlanner, Jt as SpaceSignature, K as MigrationPlanSubjects, Kn as storageHashHex, Kt as SchemaViewNodeKind, L as MigrationDataLoss, Ln as migrationSubjectJson, Lt as SchemaOwnership, M as HelperCodecInvariantInput, Mn as isStorageHashHex, Mt as RowsWithoutValue, N as IntrospectSchemaResult, Nn as issueLabel, Nt as SchemaDiff, O as FailedConversion, On as hasPslContractInfer, Ot as ResolvedFieldRenameStatement, P as MarkerHashes, Pn as issueOutcome, Pt as SchemaDiffIssue, Q as MigrationPlannerSuccessResult, Qt as VERIFY_CODE_HASH_MISMATCH, R as MigrationDataLossKind, Rn as migrationSubjectKey, Rt as SchemaSubjectClassifierCapable, S as DiffSubjectGranularity, Sn as extractQueryOperationTypeImports, St as PslContractBuildCapable, T as ExpectationFailureReason, Tn as hasMigrations, Tt as PslSourceSettings, U as MigrationPackage, Un as sameMarkerHashes, Ut as SchemaVerifyOptions, V as MigrationOperationPolicy, Vn as orderIssuesByDependencies, Vt as SchemaTreeVisitor, W as MigrationPlan, Wn as schemaCheckWhy, Wt as SchemaVerifyResult, X as MigrationPlannerFailureResult, Xt as SpaceToSign, Y as MigrationPlannerConflict, Yt as SpaceSigned, Z as MigrationPlannerResult, Zt as TargetMigrationsCapability, _ as ControlStack, _n as enforceHelperCodecInvariants, _t as OperationContext, a as ContractSerializer, an as VerifyDatabaseResult, at as MigrationRunnerResult, b as CoreSchemaView, bn as extractComponentIds, bt as OperationPreviewStatement, c as ControlAdapterDescriptor, cn as assembleControlMutationDefaults, ct as MigrationStatementJson, d as ControlDriverDescriptor, dn as contractSnapshotJsonSpecifier, dt as MigrationTemporaryValue, en as VERIFY_CODE_SCHEMA_FAILURE, et as MigrationRunnerExecutionChecks, f as ControlDriverInstance, fn as contractSnapshotTypesSpecifier, ft as MismatchCause, g as ControlFamilyInstance, gn as dispositionForCategory, gt as OpFactoryCall, h as ControlFamilyDescriptor, hn as diffSchemas, ht as ModelCoordinateJson, i as CONTRACT_SNAPSHOTS_DIRNAME, in as VerifierOutcome, it as MigrationRunnerPerSpaceSuccessValue, j as FieldCoordinateJson, jn as isRenameStatement, jt as ResolvedRenameStatement, k as FailedTypeChange, kn as hasSchemaSubjectClassifier, kt as ResolvedMigrationStatement, l as ControlAdapterInstance, ln as assertUniqueCodecOwner, lt as MigrationSubject, m as ControlExtensionInstance, mn as describeMigrationStatement, mt as ModelCoordinate, n as AppliedMigrationStatement, nn as VerificationStatus, nt as MigrationRunnerFailureMeta, o as ContractSpace, on as VerifyDatabaseSchemaResult, ot as MigrationRunnerSuccessValue, p as ControlExtensionDescriptor, pn as createControlStack, pt as MismatchExplanation, q as MigrationPlanWithAuthoringSurface, qn as withFailingSpace, qt as SpaceMarkerConflict, r as AssembledAuthoringContributions, rn as VerifierIssueCategory, rt as MigrationRunnerPerSpaceOptions, s as ContractSpaceHeadRef, sn as assembleAuthoringContributions, st as MigrationScaffoldContext, t as APP_SPACE_ID, tn as VERIFY_CODE_TARGET_MISMATCH, tt as MigrationRunnerFailure, u as ControlDriverConnectOptions, un as buildExtensionLoadOrder, ut as MigrationSubjectJson, v as ControlTargetDescriptor, vn as extractCodecLookup, vt as OperationPreview, w as EmitContractResult, wn as fieldStatementText, wt as PslContractInferCapable, x as CreateControlStackInput, xn as extractParameterizedOutputTypeImports, xt as PlanOrigin, y as ControlTargetInstance, yn as extractCodecTypeImports, yt as OperationPreviewCapable, z as MigrationMetadata, zn as modelDisplayName, zt as SchemaTreeNode } from "./control--Iipux2K.mjs";
5
5
  export { APP_SPACE_ID, type AppliedMigrationStatement, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, CONTRACT_SNAPSHOTS_DIRNAME, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type ExpectationFailureReason, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FieldCoordinate, type FieldCoordinateJson, type HelperCodecInvariantInput, type ImportRequirement, type IntrospectSchemaResult, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PlanOrigin, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, type PslSourceSettings, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedRenameStatement, type RowsWithoutValue, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPrecheckWhy, fieldStatementText, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isRenameStatement, isStorageHashHex, issueLabel, issueOutcome, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, orderIssuesByDependencies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, timestampNowControlDescriptor, withFailingSpace };
@@ -1,3 +1,3 @@
1
- import { B as timestampNowControlDescriptor, F as resolveTemplateTagEscapes, P as resolvePslBacktickEscapes, m as describeTaggedLiteralFailure, t as TAGGED_LITERAL_MAX_BYTES } from "./temporal-presets-DmZDnaZV-aUZPt1LX.mjs";
2
- import { A as hasPslContractInfer, B as migrationSubjectKey, C as extractParameterizedOutputTypeImports, D as hasMigrations, E as fieldStatementText, F as issueLabel, G as sameMarkerHashes, H as modelStatementText, I as issueOutcome, J as storageHashHex, K as schemaCheckWhy, L as migrationRunnerFailure, M as hasSchemaView, N as isRenameStatement, O as hasOperationPreview, P as isStorageHashHex, R as migrationStatementJson, S as extractComponentIds, T as failedPrecheckWhy, U as orderIssuesByDependencies, V as modelDisplayName, W as planOriginOf, Y as withFailingSpace, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as extractCodecLookup, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as hasSchemaSubjectClassifier, k as hasPslContractBuild, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as schemaIssuesWhy, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as dispositionForCategory, w as extractQueryOperationTypeImports, x as extractCodecTypeImports, y as enforceHelperCodecInvariants, z as migrationSubjectJson } from "./control-DPasGnOD.mjs";
1
+ import { B as timestampNowControlDescriptor, F as resolveTemplateTagEscapes, P as resolvePslBacktickEscapes, m as describeTaggedLiteralFailure, t as TAGGED_LITERAL_MAX_BYTES } from "./temporal-presets-DF8wiIwk-CZI3cLQZ.mjs";
2
+ import { A as hasPslContractInfer, B as migrationSubjectKey, C as extractParameterizedOutputTypeImports, D as hasMigrations, E as fieldStatementText, F as issueLabel, G as sameMarkerHashes, H as modelStatementText, I as issueOutcome, J as storageHashHex, K as schemaCheckWhy, L as migrationRunnerFailure, M as hasSchemaView, N as isRenameStatement, O as hasOperationPreview, P as isStorageHashHex, R as migrationStatementJson, S as extractComponentIds, T as failedPrecheckWhy, U as orderIssuesByDependencies, V as modelDisplayName, W as planOriginOf, Y as withFailingSpace, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as extractCodecLookup, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as hasSchemaSubjectClassifier, k as hasPslContractBuild, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as schemaIssuesWhy, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as dispositionForCategory, w as extractQueryOperationTypeImports, x as extractCodecTypeImports, y as enforceHelperCodecInvariants, z as migrationSubjectJson } from "./control-EZKh_OR0.mjs";
3
3
  export { APP_SPACE_ID, CONTRACT_SNAPSHOTS_DIRNAME, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPrecheckWhy, fieldStatementText, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isRenameStatement, isStorageHashHex, issueLabel, issueOutcome, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, orderIssuesByDependencies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, timestampNowControlDescriptor, withFailingSpace };
@@ -3,12 +3,12 @@ import { p as CodecLookupWithDescriptors } from "./codec-types-DjozIOvT-BIcpyFea
3
3
  import { r as Result } from "./result-BYCOANWy.mjs";
4
4
  import { L as DataTypeSupport } from "./framework-authoring-Du7xSUmg-D85Toszi.mjs";
5
5
  import { i as ControlMutationDefaults } from "./mutation-default-types-js6llINX-WGmpaAAL.mjs";
6
- import "./authoring-C8sYYHu7.mjs";
6
+ import "./authoring-DWhPMprN.mjs";
7
7
  import "./codec-DkiEF2cQ.mjs";
8
8
  import { t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
9
9
  import { w as GeneratorFunctionRegistry } from "./framework-components-DQFte83L-CIIcH8Bj.mjs";
10
10
  import "./components-B3SnaxMU.mjs";
11
- import { c as ControlAdapterDescriptor, d as ControlDriverDescriptor, f as ControlDriverInstance, h as ControlFamilyDescriptor, p as ControlExtensionDescriptor, r as AssembledAuthoringContributions, v as ControlTargetDescriptor } from "./control-D9rb0OBR.mjs";
11
+ import { c as ControlAdapterDescriptor, d as ControlDriverDescriptor, f as ControlDriverInstance, h as ControlFamilyDescriptor, p as ControlExtensionDescriptor, r as AssembledAuthoringContributions, v as ControlTargetDescriptor } from "./control--Iipux2K.mjs";
12
12
  //#region ../../../1-framework/1-core/config/dist/config-types.d.mts
13
13
  //#region src/contract-source-types.d.ts
14
14
  interface ContractSourceDiagnosticPosition {
@@ -207,4 +207,4 @@ declare function defineConfig<TFamilyId extends string = string, TTargetId exten
207
207
  declare function defaultContractOutputPath(contractPath: string): string;
208
208
  //#endregion
209
209
  export { defaultContractOutputPath as _, ContractSourceDiagnosticSpan as a, ContractSourceProvider as c, FormatterConfig as d, PrismaNextConfig as f, TypeScriptContractSourceProvider as g, PslParserOptions as h, ContractSourceDiagnosticPosition as i, ContractSourceProviderBase as l, PslGrammar as m, ContractSourceContext as n, ContractSourceDiagnostics as o, PslContractSourceProvider as p, ContractSourceDiagnostic as r, ContractSourceFormat as s, ContractConfig as t, DEFAULT_CONTRACT_SOURCE_DIR as u, defineConfig as v, normalizeContractConfig as y };
210
- //# sourceMappingURL=config-types-0fY7fbd7.d.mts.map
210
+ //# sourceMappingURL=config-types-DOqor7bS.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-types-0fY7fbd7.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;;;UAOU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;WAEP;;;;;;WAMA,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;;WAEb,WAAW;WACX,yBAAyB;;WAEzB,oBAAoB;;;;;;;WAOpB;WACA,cAAc;WACd;;;;WAIA,iBAAiB,YAAY;WAC7B;aACE;aACA;;;;;;;;KAQR;UACK;;;;;;WAMC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;;KAGzE;;UAEK;;WAEC,UAAU;;UAEX,kCAAkC;WACjC;WACA,gBAAgB;;UAEjB,yCAAyC;WACxC;;KAEN,yBAAyB,4BAA4B;;;;;;UAMhD;;;;;WAKC,QAAQ;;;;;;;WAOR;;UAED;WACC;WACA;;;;;;;cAOG;iBACG,wBAAwB,UAAU,iBAAiB;WACzD;;;;;;;;;;UAUD,iBAAiB,mCAAmC,mCAAmC;WACtF,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,sBAAsB,2BAA2B,WAAW;;;;;;;WAO5D,SAAS,wBAAwB,WAAW,WAAW,sBAAsB,WAAW,YAAY;;;;;WAKpG;;;;;;aAME,aAAa;;;;;;WAMf,WAAW;;;;WAIX;;aAEE;;WAEF,YAAY;;;;;;;WAOZ;;;;;;;;;;;;;;;iBAeM,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW;;;;;;;;iBAQhK,0BAA0B"}
1
+ {"version":3,"file":"config-types-DOqor7bS.d.mts","names":[],"sources":["../../../../1-framework/1-core/config/dist/config-types.d.mts"],"mappings":";;;;;;;;;;;;;UAOU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;;WAEP;;;;;;WAMA,OAAO,SAAS;;UAEjB;WACC;WACA,sBAAsB;WACtB,OAAO;;UAER;WACC;;WAEA,4BAA4B,oBAAoB;WAChD,wBAAwB;WACxB,aAAa;;WAEb,WAAW;WACX,yBAAyB;;WAEzB,oBAAoB;;;;;;;WAOpB;WACA,cAAc;WACd;;;;WAIA,iBAAiB,YAAY;WAC7B;aACE;aACA;;;;;;;;KAQR;UACK;;;;;;WAMC;WACA,OAAO,SAAS,0BAA0B,QAAQ,OAAO,UAAU;;;KAGzE;;UAEK;;WAEC,UAAU;;UAEX,kCAAkC;WACjC;WACA,gBAAgB;;UAEjB,yCAAyC;WACxC;;KAEN,yBAAyB,4BAA4B;;;;;;UAMhD;;;;;WAKC,QAAQ;;;;;;;WAOR;;UAED;WACC;WACA;;;;;;;cAOG;iBACG,wBAAwB,UAAU,iBAAiB;WACzD;;;;;;;;;;UAUD,iBAAiB,mCAAmC,mCAAmC;WACtF,QAAQ,wBAAwB;WAChC,QAAQ,wBAAwB,WAAW;WAC3C,SAAS,yBAAyB,WAAW;WAC7C,sBAAsB,2BAA2B,WAAW;;;;;;;WAO5D,SAAS,wBAAwB,WAAW,WAAW,sBAAsB,WAAW,YAAY;;;;;WAKpG;;;;;;aAME,aAAa;;;;;;WAMf,WAAW;;;;WAIX;;aAEE;;WAEF,YAAY;;;;;;;WAOZ;;;;;;;;;;;;;;;iBAeM,aAAa,mCAAmC,mCAAmC,QAAQ,iBAAiB,WAAW,aAAa,iBAAiB,WAAW;;;;;;;;iBAQhK,0BAA0B"}
package/dist/config.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-0fY7fbd7.mjs";
1
+ import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-DOqor7bS.mjs";
2
2
  export { type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type PrismaNextConfig, type PslContractSourceProvider, type PslGrammar, type PslParserOptions, type TypeScriptContractSourceProvider, defaultContractOutputPath, defineConfig, normalizeContractConfig };
@@ -1,2 +1,2 @@
1
- import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-0fY7fbd7.mjs";
1
+ import { _ as defaultContractOutputPath, a as ContractSourceDiagnosticSpan, c as ContractSourceProvider, d as FormatterConfig, f as PrismaNextConfig, g as TypeScriptContractSourceProvider, h as PslParserOptions, i as ContractSourceDiagnosticPosition, l as ContractSourceProviderBase, m as PslGrammar, n as ContractSourceContext, o as ContractSourceDiagnostics, p as PslContractSourceProvider, r as ContractSourceDiagnostic, s as ContractSourceFormat, t as ContractConfig, u as DEFAULT_CONTRACT_SOURCE_DIR, v as defineConfig, y as normalizeContractConfig } from "./config-types-DOqor7bS.mjs";
2
2
  export { type ContractConfig, type ContractSourceContext, type ContractSourceDiagnostic, type ContractSourceDiagnosticPosition, type ContractSourceDiagnosticSpan, type ContractSourceDiagnostics, type ContractSourceFormat, type ContractSourceProvider, type ContractSourceProviderBase, DEFAULT_CONTRACT_SOURCE_DIR, type FormatterConfig, type PrismaNextConfig, type PslContractSourceProvider, type PslGrammar, type PslParserOptions, type TypeScriptContractSourceProvider, defaultContractOutputPath, defineConfig, normalizeContractConfig };
@@ -2,7 +2,7 @@ import { C as ContractToOneRelation, g as ContractModelBase, n as ApplicationDom
2
2
  import { o as ParameterizedOutputTypesFunction } from "./types-GNXJ7xW2.mjs";
3
3
  import { p as CodecLookupWithDescriptors } from "./codec-types-DjozIOvT-BIcpyFea.mjs";
4
4
  import { c as AuthoringEntityTypeDescriptor, f as AuthoringFieldNamespace, k as AuthoringTypeNamespace, n as AuthoringArgumentDescriptor, p as AuthoringFieldPresetDescriptor, s as AuthoringEntityContext, u as AuthoringEntityTypeNamespace } from "./framework-authoring-Du7xSUmg-D85Toszi.mjs";
5
- import { a as EncodedEnumMember } from "./authoring-C8sYYHu7.mjs";
5
+ import { a as EncodedEnumMember } from "./authoring-DWhPMprN.mjs";
6
6
  import { s as ColumnTypeDescriptor } from "./codec-DkiEF2cQ.mjs";
7
7
  //#region ../../../1-framework/2-authoring/contract/dist/index.d.mts
8
8
  //#region src/authoring-argument-types.d.ts
@@ -1,9 +1,9 @@
1
1
  import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
2
2
  import { o as structuredError } from "./structured-error-BXbihKQ-.mjs";
3
3
  import { t as assertDefined } from "./assertions-Dw1lZz_Q.mjs";
4
- import { C as isAuthoringFieldPresetDescriptor, _ as instantiateAuthoringEntityType, k as mergeAuthoringNamespaces } from "./temporal-presets-DmZDnaZV-aUZPt1LX.mjs";
5
- import { f as errorEnumCodecNotInPackStack } from "./control-KsXr4fYD-B23ri5vh.mjs";
6
- import { d as encodeEnumMembers } from "./authoring-qO6idK5H.mjs";
4
+ import { C as isAuthoringFieldPresetDescriptor, _ as instantiateAuthoringEntityType, k as mergeAuthoringNamespaces } from "./temporal-presets-DF8wiIwk-CZI3cLQZ.mjs";
5
+ import { f as errorEnumCodecNotInPackStack } from "./control-KsXr4fYD-BPV2T-1B.mjs";
6
+ import { d as encodeEnumMembers } from "./authoring-BxyfEUyh.mjs";
7
7
  //#region ../../../1-framework/2-authoring/contract/dist/index.mjs
8
8
  /**
9
9
  * Deep-merges any number of capability matrices into a single matrix.