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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/{authoring-CNUti739.mjs → authoring-BNzxszPO.mjs} +2 -2
  2. package/dist/{authoring-CNUti739.mjs.map → authoring-BNzxszPO.mjs.map} +1 -1
  3. package/dist/{authoring-CjwinhU5.d.mts → authoring-C9wgJCNs.d.mts} +4 -4
  4. package/dist/{authoring-CjwinhU5.d.mts.map → authoring-C9wgJCNs.d.mts.map} +1 -1
  5. package/dist/{binder-DJRPMfsD-DO2cFP5X.d.mts → binder-DJRPMfsD-D7PEvJOJ.d.mts} +11 -11
  6. package/dist/{binder-DJRPMfsD-DO2cFP5X.d.mts.map → binder-DJRPMfsD-D7PEvJOJ.d.mts.map} +1 -1
  7. package/dist/{codec-B4ypaota.d.mts → codec-CZ3VQq7G.d.mts} +2 -2
  8. package/dist/{codec-B4ypaota.d.mts.map → codec-CZ3VQq7G.d.mts.map} +1 -1
  9. package/dist/{codec-descriptor-D0oY-hgs-C5e11ola.mjs → codec-descriptor-CPSGZunM-DxrbRHX1.mjs} +7 -3
  10. package/dist/codec-descriptor-CPSGZunM-DxrbRHX1.mjs.map +1 -0
  11. package/dist/{codec-types-CPgEZoIq-BL9hisr8.d.mts → codec-types-B4wPvO-K-BqcGrCE-.d.mts} +7 -5
  12. package/dist/{codec-types-CPgEZoIq-BL9hisr8.d.mts.map → codec-types-B4wPvO-K-BqcGrCE-.d.mts.map} +1 -1
  13. package/dist/{codec-Do8tfXqk.mjs → codec-yFwW7XRh.mjs} +2 -2
  14. package/dist/{codec-Do8tfXqk.mjs.map → codec-yFwW7XRh.mjs.map} +1 -1
  15. package/dist/{components-CRBcIta_.d.mts → components-Cl5lB_Iw.d.mts} +5 -5
  16. package/dist/{components-CRBcIta_.d.mts.map → components-Cl5lB_Iw.d.mts.map} +1 -1
  17. package/dist/components.d.mts +16 -16
  18. package/dist/components.mjs +5 -5
  19. package/dist/components__authoring.d.mts +3 -3
  20. package/dist/components__authoring.mjs +1 -1
  21. package/dist/components__codec.d.mts +2 -2
  22. package/dist/components__codec.mjs +2 -2
  23. package/dist/components__components.d.mts +5 -5
  24. package/dist/components__control.d.mts +3 -3
  25. package/dist/components__control.mjs +1 -1
  26. package/dist/components__emission.d.mts +3 -3
  27. package/dist/components__execution.d.mts +1 -1
  28. package/dist/components__execution.mjs +1 -1
  29. package/dist/components__psl-ast.d.mts +3 -3
  30. package/dist/components__runtime.d.mts +1 -1
  31. package/dist/{config-types-CLiom5Zj.d.mts → config-types-j3Elycru.d.mts} +7 -7
  32. package/dist/{config-types-CLiom5Zj.d.mts.map → config-types-j3Elycru.d.mts.map} +1 -1
  33. package/dist/config.d.mts +1 -1
  34. package/dist/config__config-types.d.mts +1 -1
  35. package/dist/contract-authoring.d.mts +4 -4
  36. package/dist/contract-authoring.mjs +2 -2
  37. package/dist/{control-BeXOxtXA-B7Nmwh1a.d.mts → control-BeXOxtXA-DRX60Yu3.d.mts} +2 -2
  38. package/dist/{control-BeXOxtXA-B7Nmwh1a.d.mts.map → control-BeXOxtXA-DRX60Yu3.d.mts.map} +1 -1
  39. package/dist/control-CV9doMHb.d.mts +1 -0
  40. package/dist/{control-28vg2QmK.mjs → control-DKOWXGUq.mjs} +14 -2
  41. package/dist/control-DKOWXGUq.mjs.map +1 -0
  42. package/dist/{control-DeU6l9sy.d.mts → control-Df-HE5e4.d.mts} +10 -8
  43. package/dist/{control-DeU6l9sy.d.mts.map → control-Df-HE5e4.d.mts.map} +1 -1
  44. package/dist/{control-MllEQmML-rLQQejZB.mjs → control-MllEQmML-tXi_WAy3.mjs} +2 -2
  45. package/dist/{control-MllEQmML-rLQQejZB.mjs.map → control-MllEQmML-tXi_WAy3.mjs.map} +1 -1
  46. package/dist/emission-ByTWEe2j.d.mts +2 -0
  47. package/dist/{emission-types-B-jKEbjI-D7BW8Gk1.d.mts → emission-types-bX2HmNSC-C9vDMKbg.d.mts} +4 -4
  48. package/dist/{emission-types-B-jKEbjI-D7BW8Gk1.d.mts.map → emission-types-bX2HmNSC-C9vDMKbg.d.mts.map} +1 -1
  49. package/dist/errors.d.mts +4 -4
  50. package/dist/errors.mjs +3 -3
  51. package/dist/errors__control.d.mts +2 -2
  52. package/dist/errors__control.mjs +1 -1
  53. package/dist/errors__execution.d.mts +1 -1
  54. package/dist/errors__execution.mjs +1 -1
  55. package/dist/errors__migration.d.mts +1 -1
  56. package/dist/errors__migration.mjs +1 -1
  57. package/dist/{execution-lMPVFj5o.d.mts → execution-CgR7dFMU.d.mts} +4 -3
  58. package/dist/{execution-lMPVFj5o.d.mts.map → execution-CgR7dFMU.d.mts.map} +1 -1
  59. package/dist/{execution-DYtW9lPN.d.mts → execution-D5tvAHf4.d.mts} +2 -2
  60. package/dist/{execution-DYtW9lPN.d.mts.map → execution-D5tvAHf4.d.mts.map} +1 -1
  61. package/dist/{execution-BNwBzmRd.mjs → execution-DJDqCoRU.mjs} +11 -2
  62. package/dist/execution-DJDqCoRU.mjs.map +1 -0
  63. package/dist/{execution-C3OFr4RE.mjs → execution-DMsDYKSr.mjs} +2 -2
  64. package/dist/{execution-C3OFr4RE.mjs.map → execution-DMsDYKSr.mjs.map} +1 -1
  65. package/dist/{framework-authoring-DDxddXZm-uZYdhoE0.d.mts → framework-authoring-DSqNuI8w-BMQDwpgF.d.mts} +3 -3
  66. package/dist/{framework-authoring-DDxddXZm-uZYdhoE0.d.mts.map → framework-authoring-DSqNuI8w-BMQDwpgF.d.mts.map} +1 -1
  67. package/dist/{framework-components-DKoQnPdB-lax1COaf.d.mts → framework-components-BhbsOiJc-BpDfGsqn.d.mts} +10 -6
  68. package/dist/framework-components-BhbsOiJc-BpDfGsqn.d.mts.map +1 -0
  69. package/dist/ids.d.mts +1 -1
  70. package/dist/{migration-Dj4EYjNY.mjs → migration-DpdvEAEC.mjs} +2 -2
  71. package/dist/{migration-Dj4EYjNY.mjs.map → migration-DpdvEAEC.mjs.map} +1 -1
  72. package/dist/{migration-RgrNUk6E.d.mts → migration-Ox7HWa_t.d.mts} +2 -2
  73. package/dist/{migration-RgrNUk6E.d.mts.map → migration-Ox7HWa_t.d.mts.map} +1 -1
  74. package/dist/{parse-djL5wker-D08EOd89.d.mts → parse-djL5wker-sY18Mt5K.d.mts} +6 -6
  75. package/dist/{parse-djL5wker-D08EOd89.d.mts.map → parse-djL5wker-sY18Mt5K.d.mts.map} +1 -1
  76. package/dist/{psl-ast-rY25o3Ze-ClLY3CYt.d.mts → psl-ast-C8W7AM1f-DYtFq1nP.d.mts} +3 -3
  77. package/dist/{psl-ast-rY25o3Ze-ClLY3CYt.d.mts.map → psl-ast-C8W7AM1f-DYtFq1nP.d.mts.map} +1 -1
  78. package/dist/psl-ast-sZ1tAYRc.d.mts +2 -0
  79. package/dist/psl-parser.d.mts +10 -10
  80. package/dist/psl-parser.mjs +2 -2
  81. package/dist/psl-parser__format.d.mts +1 -1
  82. package/dist/psl-parser__interpret.d.mts +6 -6
  83. package/dist/psl-parser__interpret.mjs +1 -1
  84. package/dist/psl-parser__syntax.d.mts +1 -1
  85. package/dist/psl-printer.d.mts +4 -4
  86. package/dist/{runtime-CJtzXrxx.d.mts → runtime-CTJc8PII.d.mts} +2 -2
  87. package/dist/{runtime-CJtzXrxx.d.mts.map → runtime-CTJc8PII.d.mts.map} +1 -1
  88. package/dist/{temporal-presets-BuMqk7h8-DZSuu4Z_.d.mts → temporal-presets-De4oKG36-DlGYQgF1.d.mts} +4 -4
  89. package/dist/{temporal-presets-BuMqk7h8-DZSuu4Z_.d.mts.map → temporal-presets-De4oKG36-DlGYQgF1.d.mts.map} +1 -1
  90. package/dist/{type-constructor-calls-BLf-HsFy-D_jbIqj8.mjs → type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs} +2 -2
  91. package/dist/{type-constructor-calls-BLf-HsFy-D_jbIqj8.mjs.map → type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs.map} +1 -1
  92. package/dist/{types-import-spec-DQjfX-gM-zVncuzs0.d.mts → types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts} +3 -3
  93. package/dist/{types-import-spec-DQjfX-gM-zVncuzs0.d.mts.map → types-import-spec-Bkh243Hv-B-fdw0Wl.d.mts.map} +1 -1
  94. package/package.json +15 -15
  95. package/dist/codec-descriptor-D0oY-hgs-C5e11ola.mjs.map +0 -1
  96. package/dist/control-28vg2QmK.mjs.map +0 -1
  97. package/dist/control-DaCwrCML.d.mts +0 -1
  98. package/dist/emission-BtJvV97M.d.mts +0 -2
  99. package/dist/execution-BNwBzmRd.mjs.map +0 -1
  100. package/dist/framework-components-DKoQnPdB-lax1COaf.d.mts.map +0 -1
  101. package/dist/psl-ast-COcYtLlz.d.mts +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"codec-Do8tfXqk.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec.mjs"],"sourcesContent":["import { C as readJsonInteger, D as refuseJsonValue, E as readJsonString, O as DATA_TYPE_ID_PATTERN, S as readJsonFloat, T as readJsonMatching, _ as SAFE_INTEGER_RANGE, a as dataTypeId, b as isNonFiniteText, c as dataTypeValuesEqual, d as requiredParamKeys, f as requiredSchemaKeys, g as SAFE_INTEGER_BIGINT_RANGE, h as INT64_RANGE, i as dataType, l as objectSchemaKeys, m as INT32_RANGE, n as assertDataTypeParams, o as dataTypeParams, p as schemaKeysAllowing, r as createDataTypeLookup, s as dataTypeParamsProblem, t as assembleDataTypes, u as requireValueOf, v as floatToJson, w as readJsonIntegerText, x as readJsonBoolean, y as isIntegerIn } from \"./data-type-V6mcDhcG.mjs\";\nimport { a as readContractValue, i as CodecImpl, n as CodecDescriptorTemplateImpl, o as numeralText, r as enumRefusalOf, t as CodecDescriptorImpl } from \"./codec-descriptor-D0oY-hgs.mjs\";\nimport { t as emptyCodecLookup } from \"./codec-types-BXLUbk-Y.mjs\";\nimport { a as resolveCodecDescriptorOrThrow, i as materializeCodec, o as validateCodecTypeParams, r as codecForRef, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from \"./resolve-codec-qqMjZrmn.mjs\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { tsStringLiteral } from \"@internal/ts-render\";\n//#region src/shared/casts.ts\n/** A cast between two types that store the same shape: the value is already the form this type stores. */\nconst castUnchanged = (value) => value;\n/** Refuses a value that is not in the shape the cast's source type stores. */\nfunction refuseWrongShape(value, expected) {\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", `Expected ${expected}, got ${JSON.stringify(value)}.`, {\n\t\twhy: \"A cast reads the stored form of the type it takes values of.\",\n\t\tfix: \"Hand the cast a value in the shape its source type stores.\"\n\t});\n}\n/** A whole number as the digit text a 64-bit integer or decimal type stores. */\nconst asNumeralText = (value) => typeof value === \"number\" ? numeralText(value) : refuseWrongShape(value, \"a number\");\n/**\n* A number as the floating-point types store it: a JSON number, or one of the three words, which\n* those types keep as text. A magnitude past what a double holds is refused rather than rounded to\n* a word: the database refuses it too, and storing `Infinity` would make a written number\n* indistinguishable from a written `Infinity`.\n*/\nconst asFloat = (value) => {\n\tif (typeof value === \"number\") return value;\n\tif (typeof value !== \"string\") return refuseWrongShape(value, \"a number or numeral text\");\n\tif (isNonFiniteText(value)) return value;\n\tconst converted = Number(value);\n\tif (Number.isFinite(converted)) return converted;\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", `${value} is out of range: no double holds a number that large.`, {\n\t\twhy: \"The floating-point types store a double, which holds magnitudes up to about 1.8e308.\",\n\t\tfix: \"Use a number a double holds, or a decimal type.\"\n\t});\n};\n//#endregion\n//#region src/shared/column-spec.ts\n/**\n* Trivial column packager. Per-codec helpers call this directly with the result of `descriptor.factory(params)` — direct method invocation binds the descriptor's method-level generic at the call site and the literal flows through `R`.\n*/\nfunction column(codecFactory, codecId, typeParams) {\n\treturn {\n\t\tcodecFactory,\n\t\tcodecId,\n\t\ttypeParams\n\t};\n}\n//#endregion\n//#region src/shared/date-time-stored-form.ts\n/**\n* The reader targets build the stored form of each date and time type with; ADR 254\n* states the forms and the text it reads.\n*/\nconst SHAPES = {\n\tdate: {\n\t\tdescription: \"a date\",\n\t\tplural: \"dates\",\n\t\texample: \"2024-01-01\",\n\t\tdate: true,\n\t\ttime: false,\n\t\toffset: false\n\t},\n\ttime: {\n\t\tdescription: \"a time of day\",\n\t\tplural: \"times of day\",\n\t\texample: \"12:34:56\",\n\t\tdate: false,\n\t\ttime: true,\n\t\toffset: false\n\t},\n\ttimeWithOffset: {\n\t\tdescription: \"a time of day with a UTC offset\",\n\t\tplural: \"times of day with a UTC offset\",\n\t\texample: \"12:34:56+02:00\",\n\t\tdate: false,\n\t\ttime: true,\n\t\toffset: true\n\t},\n\tdateTime: {\n\t\tdescription: \"a date and time\",\n\t\tplural: \"dates and times\",\n\t\texample: \"2024-01-01T12:34:56\",\n\t\tdate: true,\n\t\ttime: true,\n\t\toffset: false\n\t},\n\tinstant: {\n\t\tdescription: \"a date and time with a UTC offset\",\n\t\tplural: \"instants\",\n\t\texample: \"2024-01-01T12:34:56Z\",\n\t\tdate: true,\n\t\ttime: true,\n\t\toffset: true\n\t}\n};\nconst DATE_PREFIX = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})/;\nconst TIME_PREFIX = /^(\\d{2}):(\\d{2})(?::(\\d{2})(?:\\.(\\d+))?)?/;\nconst OFFSET = /^([+-])(\\d{2})(?::(\\d{2})(?::(\\d{2}))?)?$/;\nconst MAX_FRACTION_DIGITS = 6;\nconst FRACTION_UNITS = {\n\t3: \"milliseconds\",\n\t6: \"microseconds\"\n};\nconst SECONDS_PER_DAY = 86400;\nconst MIDNIGHT = {\n\thour: 0,\n\tminute: 0,\n\tsecond: 0,\n\tfraction: \"\"\n};\nfunction refused(message) {\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", message, {\n\t\twhy: \"A date or time type stores one form for each value (ADR 254).\",\n\t\tfix: \"Write text the type holds, as the message shows.\"\n\t});\n}\nfunction isLeapYear(year) {\n\treturn year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n}\nfunction daysInMonth(year, month) {\n\tif (month === 2) return isLeapYear(year) ? 29 : 28;\n\treturn [\n\t\t4,\n\t\t6,\n\t\t9,\n\t\t11\n\t].includes(month) ? 30 : 31;\n}\n/** Days from 1970-01-01 to a date of the proleptic Gregorian calendar, with year 0 as 1 BC. */\nfunction daysFromCivil({ year, month, day }) {\n\tconst shifted = month <= 2 ? year - 1 : year;\n\tconst era = Math.floor(shifted / 400);\n\tconst yearOfEra = shifted - era * 400;\n\tconst dayOfYear = Math.floor((153 * (month + (month > 2 ? -3 : 9)) + 2) / 5) + day - 1;\n\tconst dayOfEra = yearOfEra * 365 + Math.floor(yearOfEra / 4) - Math.floor(yearOfEra / 100) + dayOfYear;\n\treturn era * 146097 + dayOfEra - 719468;\n}\nfunction civilFromDays(days) {\n\tconst shifted = days + 719468;\n\tconst era = Math.floor(shifted / 146097);\n\tconst dayOfEra = shifted - era * 146097;\n\tconst yearOfEra = Math.floor((dayOfEra - Math.floor(dayOfEra / 1460) + Math.floor(dayOfEra / 36524) - Math.floor(dayOfEra / 146096)) / 365);\n\tconst dayOfYear = dayOfEra - (365 * yearOfEra + Math.floor(yearOfEra / 4) - Math.floor(yearOfEra / 100));\n\tconst monthIndex = Math.floor((5 * dayOfYear + 2) / 153);\n\tconst day = dayOfYear - Math.floor((153 * monthIndex + 2) / 5) + 1;\n\tconst month = monthIndex < 10 ? monthIndex + 3 : monthIndex - 9;\n\treturn {\n\t\tyear: yearOfEra + era * 400 + (month <= 2 ? 1 : 0),\n\t\tmonth,\n\t\tday\n\t};\n}\nfunction pad(value, width = 2) {\n\treturn String(value).padStart(width, \"0\");\n}\nfunction yearText(year) {\n\tif (year >= 0 && year <= 9999) return pad(year, 4);\n\treturn `${year < 0 ? \"-\" : \"+\"}${pad(Math.abs(year), 6)}`;\n}\nfunction dateText(date) {\n\treturn `${yearText(date.year)}-${pad(date.month)}-${pad(date.day)}`;\n}\nfunction timeText(time) {\n\tconst fraction = time.fraction.replace(/0+$/, \"\");\n\treturn `${pad(time.hour)}:${pad(time.minute)}:${pad(time.second)}${fraction === \"\" ? \"\" : `.${fraction}`}`;\n}\nfunction offsetText(seconds) {\n\tif (seconds === 0) return \"Z\";\n\tconst magnitude = Math.abs(seconds);\n\tconst rest = magnitude % 60;\n\treturn `${seconds < 0 ? \"-\" : \"+\"}${pad(Math.floor(magnitude / 3600))}:${pad(Math.floor(magnitude / 60) % 60)}${rest === 0 ? \"\" : `:${pad(rest)}`}`;\n}\n/**\n* The fields of an ISO 8601 date, time, or date and time, or `undefined` when the text is not one.\n* Ranges are checked by the caller, which words the refusal.\n*/\nfunction readWritten(text) {\n\tlet rest = text;\n\tlet date;\n\tlet timeFollows = true;\n\tconst dateMatch = DATE_PREFIX.exec(rest);\n\tif (dateMatch !== null) {\n\t\tconst [whole, yearDigits = \"\", month = \"\", day = \"\"] = dateMatch;\n\t\tif (yearDigits === \"-000000\") return void 0;\n\t\tdate = {\n\t\t\tyear: Number(yearDigits),\n\t\t\tmonth: Number(month),\n\t\t\tday: Number(day)\n\t\t};\n\t\trest = rest.slice(whole.length);\n\t\ttimeFollows = /^[Tt ]/.test(rest);\n\t\tif (timeFollows) rest = rest.slice(1);\n\t}\n\tlet time;\n\tlet fractionDigits = 0;\n\tif (timeFollows) {\n\t\tconst timeMatch = TIME_PREFIX.exec(rest);\n\t\tif (timeMatch === null) return void 0;\n\t\tconst [whole, hour = \"\", minute = \"\", second = \"00\", fraction = \"\"] = timeMatch;\n\t\ttime = {\n\t\t\thour: Number(hour),\n\t\t\tminute: Number(minute),\n\t\t\tsecond: Number(second),\n\t\t\tfraction\n\t\t};\n\t\tfractionDigits = fraction.length;\n\t\trest = rest.slice(whole.length);\n\t}\n\tlet offsetSeconds;\n\tif (rest === \"Z\" || rest === \"z\") offsetSeconds = 0;\n\telse if (rest !== \"\") {\n\t\tconst offset = OFFSET.exec(rest);\n\t\tif (offset === null) return void 0;\n\t\tconst [, sign, hours = \"\", minutes = \"00\", seconds = \"00\"] = offset;\n\t\tif (Number(minutes) > 59 || Number(seconds) > 59) return void 0;\n\t\tconst magnitude = Number(hours) * 3600 + Number(minutes) * 60 + Number(seconds);\n\t\toffsetSeconds = sign === \"-\" ? -magnitude : magnitude;\n\t}\n\treturn {\n\t\tdate,\n\t\ttime,\n\t\toffsetSeconds,\n\t\tfractionDigits\n\t};\n}\nfunction withFraction(example, digits) {\n\treturn example.replace(/(\\d{2}:\\d{2}:\\d{2})/, `$1.${\"123456\".slice(0, digits)}`);\n}\n/** The value with an instant moved to UTC. */\nfunction normalized(written, shape) {\n\tconst clock = written.time ?? MIDNIGHT;\n\tconst offsetSeconds = written.offsetSeconds ?? 0;\n\tif (written.date === void 0 || shape !== \"instant\") return {\n\t\tdate: written.date,\n\t\ttime: clock,\n\t\toffsetSeconds\n\t};\n\tconst utc = daysFromCivil(written.date) * SECONDS_PER_DAY + clock.hour * 3600 + clock.minute * 60 + clock.second - offsetSeconds;\n\tconst days = Math.floor(utc / SECONDS_PER_DAY);\n\tconst secondOfDay = utc - days * SECONDS_PER_DAY;\n\treturn {\n\t\tdate: civilFromDays(days),\n\t\ttime: {\n\t\t\thour: Math.floor(secondOfDay / 3600),\n\t\t\tminute: Math.floor(secondOfDay / 60) % 60,\n\t\t\tsecond: secondOfDay % 60,\n\t\t\tfraction: clock.fraction\n\t\t},\n\t\toffsetSeconds: 0\n\t};\n}\nfunction position(value) {\n\tconst { time } = value;\n\treturn [\n\t\tvalue.date === void 0 ? 0 : daysFromCivil(value.date),\n\t\ttime.hour * 3600 + time.minute * 60 + time.second,\n\t\ttime.fraction.padEnd(MAX_FRACTION_DIGITS, \"0\")\n\t];\n}\nfunction isBefore(left, right) {\n\tif (left[0] !== right[0]) return left[0] < right[0];\n\tif (left[1] !== right[1]) return left[1] < right[1];\n\treturn left[2] < right[2];\n}\nfunction printed(value, shape) {\n\tconst { date, time, offsetSeconds } = value;\n\tif (date === void 0) return shape === \"timeWithOffset\" ? `${timeText(time)}${offsetText(offsetSeconds)}` : timeText(time);\n\tif (shape === \"date\") return dateText(date);\n\tif (shape === \"dateTime\") return `${dateText(date)}T${timeText(time)}`;\n\treturn `${dateText(date)}T${timeText(time)}Z`;\n}\n/** The position of a range bound, which the data type declares in stored form. */\nfunction boundPosition(text, shape) {\n\tconst written = readWritten(text);\n\tif (written === void 0) throw new InternalError(`The range bound \"${text}\" is not in its stored form.`);\n\treturn position(normalized(written, shape));\n}\n/**\n* The stored form of written date or time text, or a refusal with a message that says what is\n* wrong and shows text the type holds. `written` is the text as its author wrote it, which the\n* message shows, when a target rewrote it into ISO 8601 before calling this.\n*/\nfunction dateTimeStoredText(text, options, written = text) {\n\tconst shape = SHAPES[options.shape];\n\tconst { ownerId: id } = options;\n\tconst parts = readWritten(text);\n\tif (parts === void 0) refused(`${id} cannot read \"${written}\". Write ${shape.description}, as in \"${shape.example}\".`);\n\tif (parts.date !== void 0 && !shape.date) refused(`${id} holds a time of day without a date, but \"${written}\" has a date. Write the time alone, as in \"${shape.example}\".`);\n\tif (parts.date === void 0 && shape.date) refused(shape.time ? `${id} holds ${shape.description}, but \"${written}\" has no date. Write the date too, as in \"${shape.example}\".` : `${id} holds a date, and \"${written}\" is a time of day. Write a date, as in \"${shape.example}\".`);\n\tif (parts.time !== void 0 && !shape.time) refused(`${id} holds a date without a time of day, but \"${written}\" has a time. Write the date alone, as in \"${shape.example}\".`);\n\tif (parts.time === void 0 && shape.offset) refused(`${id} holds ${shape.description}, but \"${written}\" has no time of day. Write the time too, as in \"${shape.example}\".`);\n\tif (parts.offsetSeconds !== void 0 && !shape.offset) refused(`${id} holds no UTC offset, but \"${written}\" has one. Leave it out, as in \"${shape.example}\".`);\n\tif (parts.offsetSeconds === void 0 && shape.offset) refused(`${id} needs a UTC offset, but \"${written}\" has none. Add Z for UTC or an offset such as +02:00, as in \"${shape.example}\".`);\n\tconst maxFractionDigits = options.maxFractionDigits ?? MAX_FRACTION_DIGITS;\n\tif (parts.fractionDigits > maxFractionDigits) refused(`\"${written}\" has ${parts.fractionDigits} digits after the decimal point, but ${id} holds ${FRACTION_UNITS[maxFractionDigits]}, so at most ${maxFractionDigits}. Round it, as in \"${withFraction(shape.example, maxFractionDigits)}\".`);\n\tconst { date, time } = parts;\n\tif (date !== void 0 && (date.month < 1 || date.month > 12 || date.day < 1 || date.day > daysInMonth(date.year, date.month))) refused(`\"${written}\" is not a date that exists. Write a real date, as in \"${shape.example}\".`);\n\tif (time !== void 0 && (time.hour > 23 || time.minute > 59 || time.second > 59)) refused(`\"${written}\" is not a time of day that exists: hours run from 00 to 23, and minutes and seconds from 00 to 59. Write one, as in \"${shape.example}\".`);\n\tconst offsetLimit = options.maxOffsetHours ?? 23;\n\tif (parts.offsetSeconds !== void 0 && Math.abs(parts.offsetSeconds) >= (offsetLimit + 1) * 3600) refused(`\"${written}\" has a UTC offset outside -${pad(offsetLimit)}:59 to +${pad(offsetLimit)}:59, which ${id} does not hold. Write a smaller offset, as in \"${shape.example}\".`);\n\tconst value = normalized(parts, options.shape);\n\tconst { range } = options;\n\tif (range !== void 0) {\n\t\tconst at = position(value);\n\t\tif (isBefore(at, boundPosition(range.earliest, options.shape)) || isBefore(boundPosition(range.latest, options.shape), at)) refused(`${id} holds ${shape.plural} from ${range.earliest} to ${range.latest}, and \"${written}\" is outside them.`);\n\t}\n\treturn printed(value, options.shape);\n}\nconst ISO_DATE_STRING_FRACTION = /^(.*:\\d{2})(?:\\.(\\d{1,3}))?Z$/;\n/**\n* The instant in UTC with exactly three fraction digits, the text `Date.prototype.toISOString()` writes, from ISO 8601 text with a UTC offset. The range and the millisecond precision are those of a JavaScript `Date`. Throws `CONTRACT.CAST_REFUSED`, naming `ownerId`, for text that names no instant a `Date` holds.\n*/\nfunction isoDateStringText(text, ownerId) {\n\tconst stored = dateTimeStoredText(text, {\n\t\tshape: \"instant\",\n\t\townerId,\n\t\tmaxFractionDigits: 3,\n\t\trange: {\n\t\t\tearliest: \"-271821-04-20T00:00:00Z\",\n\t\t\tlatest: \"+275760-09-13T00:00:00Z\"\n\t\t}\n\t});\n\tconst match = ISO_DATE_STRING_FRACTION.exec(stored);\n\treturn match === null ? stored : `${match[1]}.${(match[2] ?? \"\").padEnd(3, \"0\")}Z`;\n}\n//#endregion\n//#region src/shared/decimal-text-equality.ts\nconst DECIMAL_TEXT = /^([+-]?)(\\d*)(?:\\.(\\d*))?$/;\n/**\n* The key two decimal texts share exactly when they are the same number, for a data type that stores a decimal as text and keeps the scale it was written with, as `numeric` stores `0.5` and `0.50`: leading zeros, trailing fraction zeros and the sign of zero do not count. `NaN` and the infinities keep their own keys.\n*/\nfunction decimalTextEqualityKey(json) {\n\tconst text = String(json);\n\tconst match = DECIMAL_TEXT.exec(text);\n\tif (match === null) return text;\n\tconst [, sign = \"\", whole = \"\", fraction = \"\"] = match;\n\tconst digits = whole.replace(/^0+/, \"\");\n\tconst decimals = fraction.replace(/0+$/, \"\");\n\tif (digits === \"\" && decimals === \"\") return \"0\";\n\tconst magnitude = decimals === \"\" ? digits || \"0\" : `${digits || \"0\"}.${decimals}`;\n\treturn sign === \"-\" ? `-${magnitude}` : magnitude;\n}\n//#endregion\n//#region src/shared/json-text.ts\n/**\n* Read JSON text into the document it holds.\n*\n* `JSON.parse` reads a numeral too large for a double as `Infinity`, and `JSON.stringify` writes\n* that back as `null`, so a document holding one would not be the document stored; it is refused\n* here instead, naming where the number is.\n*/\nfunction parseJsonText(text) {\n\tlet value;\n\ttry {\n\t\tvalue = JSON.parse(text);\n\t} catch (error) {\n\t\tthrow structuredError(\"CONTRACT.INVALID_JSON_LITERAL\", error instanceof Error ? error.message : String(error), {\n\t\t\twhy: \"The text is not a JSON document.\",\n\t\t\tfix: \"Write a JSON document.\"\n\t\t});\n\t}\n\tconst overflowed = nonFiniteNumberIn(value, \"\");\n\tif (overflowed !== void 0) throw structuredError(\"CONTRACT.INVALID_JSON_LITERAL\", `${overflowed.path} is ${overflowed.value}, which JSON cannot write back: the number in the text is outside the range a JSON number holds.`, {\n\t\twhy: \"JSON.parse reads a numeral too large for a double as Infinity, which JSON.stringify writes back as null.\",\n\t\tfix: \"Write a number JSON can hold, or write it as text.\"\n\t});\n\treturn value;\n}\n/** Write a document as the text of a JSON literal. */\nfunction printJsonText(value) {\n\treturn JSON.stringify(value);\n}\nfunction nonFiniteNumberIn(value, path) {\n\tif (typeof value === \"number\") return Number.isFinite(value) ? void 0 : {\n\t\tpath: path === \"\" ? \"The value\" : path,\n\t\tvalue\n\t};\n\tif (Array.isArray(value)) {\n\t\tfor (const [index, element] of value.entries()) {\n\t\t\tconst found = nonFiniteNumberIn(element, `${path}[${index}]`);\n\t\t\tif (found !== void 0) return found;\n\t\t}\n\t\treturn;\n\t}\n\tif (typeof value === \"object\" && value !== null) for (const [key, member] of Object.entries(value)) {\n\t\tconst found = nonFiniteNumberIn(member, path === \"\" ? key : `${path}.${key}`);\n\t\tif (found !== void 0) return found;\n\t}\n}\n//#endregion\n//#region src/shared/number-classifier.ts\nconst WRITTEN_INTEGER_TEXT = /^[+-]?\\d+$/;\nconst WRITTEN_DECIMAL_TEXT = /^[+-]?\\d+\\.\\d+$/;\nconst DECIMAL_NUMERAL = /^([+-]?)0*(\\d+)(\\.\\d+)?$/;\n/** Whether `text` is a whole number or a decimal as a contract source writes one. */\nfunction isNumeralText(text) {\n\treturn WRITTEN_INTEGER_TEXT.test(text) || WRITTEN_DECIMAL_TEXT.test(text);\n}\n/**\n* A written numeral as the contract stores it. Leading zeros and the sign of zero never change a\n* number, so they go; trailing zeros stay, because a type without a scale keeps them.\n*/\nfunction storedNumeralText(text) {\n\tconst numeral = DECIMAL_NUMERAL.exec(text);\n\tif (numeral === null) return text;\n\tconst [, sign = \"\", whole = \"\", fraction = \"\"] = numeral;\n\tconst digits = `${whole}${fraction}`;\n\treturn sign !== \"-\" || /^[0.]+$/.test(digits) ? digits : `-${digits}`;\n}\n/** The range of a signed integer of `bits` bits. */\nfunction signedRange(bits) {\n\tconst half = 2n ** (BigInt(bits) - 1n);\n\treturn {\n\t\tmin: -half,\n\t\tmax: half - 1n\n\t};\n}\n/**\n* The classifier one target's plain-number authoring entry carries: it reads the digits and says\n* which of the target's types the value is, in that type's stored form. `undefined` means no\n* type of this target holds the number.\n*/\nfunction createNumberClassifier(spec) {\n\tconst as = (classification, value) => classification === void 0 ? void 0 : {\n\t\ttype: classification.type,\n\t\tvalue\n\t};\n\treturn (text) => {\n\t\tif (isNonFiniteText(text)) return as(spec.words, spec.words?.form === \"number\" ? Number(text) : text);\n\t\tif (WRITTEN_DECIMAL_TEXT.test(text)) {\n\t\t\tconst canonical = storedNumeralText(text);\n\t\t\treturn as(spec.fraction, spec.fraction?.form === \"number\" ? Number(canonical) : canonical);\n\t\t}\n\t\tif (!WRITTEN_INTEGER_TEXT.test(text)) return void 0;\n\t\tconst digits = BigInt(text);\n\t\tconst classification = spec.integers.find(({ min, max }) => digits >= min && digits <= max) ?? spec.largerWhole;\n\t\treturn as(classification, classification?.form === \"number\" ? Number(digits) : digits.toString());\n\t};\n}\n//#endregion\n//#region src/shared/render-ts-literal.ts\n/**\n* Renders a stored value as a TypeScript literal (e.g. `\"low\"`, `1`, `true`), or `undefined`\n* when the value isn't literal-expressible (objects, arrays, null).\n*\n* Valid **only for codecs whose application value is the stored JSON** (text, int, float, bool). A\n* codec whose application value differs from the stored JSON (e.g. digit text read as a `bigint`)\n* must NOT use this: it renders the application value in its own `renderValueLiteral`.\n*/\nfunction renderTsLiteral(value) {\n\tif (typeof value === \"string\") return tsStringLiteral(value);\n\tif (typeof value === \"number\" || typeof value === \"boolean\") return String(value);\n}\nconst DECIMAL_INTEGER = /^-?\\d+$/;\n/** Renders decimal integer text, read as a `number`, as a number literal, or `undefined` for any other value. */\nfunction decimalTextNumberLiteral(value) {\n\treturn typeof value === \"string\" && DECIMAL_INTEGER.test(value) ? value : void 0;\n}\n/** Renders decimal integer text, read as a `bigint`, as a bigint literal, or `undefined` for any other value. */\nfunction decimalTextBigintLiteral(value) {\n\treturn typeof value === \"string\" && DECIMAL_INTEGER.test(value) ? `${value}n` : void 0;\n}\n/** Renders a float's stored number as a number literal. A target stores an infinity, and NaN where it holds one (SQLite does not), as text, which has no literal type, so it renders nothing. */\nfunction floatNumberLiteral(value) {\n\treturn typeof value === \"number\" ? String(value) : void 0;\n}\n//#endregion\nexport { CONTRACT_CODEC_DESCRIPTOR_MISSING, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATA_TYPE_ID_PATTERN, INT32_RANGE, INT64_RANGE, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, asFloat, asNumeralText, assembleDataTypes, assertDataTypeParams, castUnchanged, codecForRef, column, createDataTypeLookup, createNumberClassifier, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, emptyCodecLookup, enumRefusalOf, floatNumberLiteral, floatToJson, isIntegerIn, isNonFiniteText, isNumeralText, isoDateStringText, materializeCodec, numeralText, objectSchemaKeys, parseJsonText, printJsonText, readContractValue, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveCodecDescriptorOrThrow, schemaKeysAllowing, signedRange, storedNumeralText, validateCodecTypeParams };\n\n//# sourceMappingURL=codec.mjs.map"],"mappings":";;;;;;;AASA,MAAM,iBAAiB,UAAU;;AAEjC,SAAS,iBAAiB,OAAO,UAAU;CAC1C,MAAM,gBAAgB,yBAAyB,YAAY,SAAS,QAAQ,KAAK,UAAU,KAAK,EAAE,IAAI;EACrG,KAAK;EACL,KAAK;CACN,CAAC;AACF;;AAEA,MAAM,iBAAiB,UAAU,OAAO,UAAU,WAAW,YAAY,KAAK,IAAI,iBAAiB,OA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,SAAS,WAAW,OAAO,SAAS,IAAI,SAAS;EAC1F;EACA,IAAI,CAAC,qBAAqB,KAAK,IAAI,GAAG,OAAO,KAAK;EAClD,MAAM,SAAS,OAAO,IAAI;EAC1B,MAAM,iBAAiB,KAAK,SAAS,MAAM,EAAE,KAAK,UAAU,UAAU,OAAO,UAAU,GAAG,KAAK,KAAK;EACpG,OAAO,GAAG,gBAAgB,gBAAgB,SAAS,WAAW,OAAO,MAAM,IAAI,OAAO,SAAS,CAAC;CACjG;AACD;;;;;;;;;AAWA,SAAS,gBAAgB,OAAO;CAC/B,IAAI,OAAO,UAAU,UAAU,OAAO,gBAAgB,KAAK;CAC3D,IAAI,OAAO,UAAU,YAAY,OAAO,UAAU,WAAW,OAAO,OAAO,KAAK;AACjF;AACA,MAAM,kBAAkB;;AAExB,SAAS,yBAAyB,OAAO;CACxC,OAAO,OAAO,UAAU,YAAY,gBAAgB,KAAK,KAAK,IAAI,QAAQ,KAAK;AAChF;;AAEA,SAAS,yBAAyB,OAAO;CACxC,OAAO,OAAO,UAAU,YAAY,gBAAgB,KAAK,KAAK,IAAI,GAAG,MAAM,KAAK,KAAK;AACtF;;AAEA,SAAS,mBAAmB,OAAO;CAClC,OAAO,OAAO,UAAU,WAAW,OAAO,KAAK,IAAI,KAAK;AACzD"}
1
+ {"version":3,"file":"codec-yFwW7XRh.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec.mjs"],"sourcesContent":["import { C as readJsonInteger, D as refuseJsonValue, E as readJsonString, O as DATA_TYPE_ID_PATTERN, S as readJsonFloat, T as readJsonMatching, _ as SAFE_INTEGER_RANGE, a as dataTypeId, b as isNonFiniteText, c as dataTypeValuesEqual, d as requiredParamKeys, f as requiredSchemaKeys, g as SAFE_INTEGER_BIGINT_RANGE, h as INT64_RANGE, i as dataType, l as objectSchemaKeys, m as INT32_RANGE, n as assertDataTypeParams, o as dataTypeParams, p as schemaKeysAllowing, r as createDataTypeLookup, s as dataTypeParamsProblem, t as assembleDataTypes, u as requireValueOf, v as floatToJson, w as readJsonIntegerText, x as readJsonBoolean, y as isIntegerIn } from \"./data-type-V6mcDhcG.mjs\";\nimport { a as readContractValue, i as CodecImpl, n as CodecDescriptorTemplateImpl, o as numeralText, r as enumRefusalOf, t as CodecDescriptorImpl } from \"./codec-descriptor-CPSGZunM.mjs\";\nimport { t as emptyCodecLookup } from \"./codec-types-BXLUbk-Y.mjs\";\nimport { a as resolveCodecDescriptorOrThrow, i as materializeCodec, o as validateCodecTypeParams, r as codecForRef, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from \"./resolve-codec-qqMjZrmn.mjs\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { tsStringLiteral } from \"@internal/ts-render\";\n//#region src/shared/casts.ts\n/** A cast between two types that store the same shape: the value is already the form this type stores. */\nconst castUnchanged = (value) => value;\n/** Refuses a value that is not in the shape the cast's source type stores. */\nfunction refuseWrongShape(value, expected) {\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", `Expected ${expected}, got ${JSON.stringify(value)}.`, {\n\t\twhy: \"A cast reads the stored form of the type it takes values of.\",\n\t\tfix: \"Hand the cast a value in the shape its source type stores.\"\n\t});\n}\n/** A whole number as the digit text a 64-bit integer or decimal type stores. */\nconst asNumeralText = (value) => typeof value === \"number\" ? numeralText(value) : refuseWrongShape(value, \"a number\");\n/**\n* A number as the floating-point types store it: a JSON number, or one of the three words, which\n* those types keep as text. A magnitude past what a double holds is refused rather than rounded to\n* a word: the database refuses it too, and storing `Infinity` would make a written number\n* indistinguishable from a written `Infinity`.\n*/\nconst asFloat = (value) => {\n\tif (typeof value === \"number\") return value;\n\tif (typeof value !== \"string\") return refuseWrongShape(value, \"a number or numeral text\");\n\tif (isNonFiniteText(value)) return value;\n\tconst converted = Number(value);\n\tif (Number.isFinite(converted)) return converted;\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", `${value} is out of range: no double holds a number that large.`, {\n\t\twhy: \"The floating-point types store a double, which holds magnitudes up to about 1.8e308.\",\n\t\tfix: \"Use a number a double holds, or a decimal type.\"\n\t});\n};\n//#endregion\n//#region src/shared/column-spec.ts\n/**\n* Trivial column packager. Per-codec helpers call this directly with the result of `descriptor.factory(params)` — direct method invocation binds the descriptor's method-level generic at the call site and the literal flows through `R`.\n*/\nfunction column(codecFactory, codecId, typeParams) {\n\treturn {\n\t\tcodecFactory,\n\t\tcodecId,\n\t\ttypeParams\n\t};\n}\n//#endregion\n//#region src/shared/date-time-stored-form.ts\n/**\n* The reader targets build the stored form of each date and time type with; ADR 254\n* states the forms and the text it reads.\n*/\nconst SHAPES = {\n\tdate: {\n\t\tdescription: \"a date\",\n\t\tplural: \"dates\",\n\t\texample: \"2024-01-01\",\n\t\tdate: true,\n\t\ttime: false,\n\t\toffset: false\n\t},\n\ttime: {\n\t\tdescription: \"a time of day\",\n\t\tplural: \"times of day\",\n\t\texample: \"12:34:56\",\n\t\tdate: false,\n\t\ttime: true,\n\t\toffset: false\n\t},\n\ttimeWithOffset: {\n\t\tdescription: \"a time of day with a UTC offset\",\n\t\tplural: \"times of day with a UTC offset\",\n\t\texample: \"12:34:56+02:00\",\n\t\tdate: false,\n\t\ttime: true,\n\t\toffset: true\n\t},\n\tdateTime: {\n\t\tdescription: \"a date and time\",\n\t\tplural: \"dates and times\",\n\t\texample: \"2024-01-01T12:34:56\",\n\t\tdate: true,\n\t\ttime: true,\n\t\toffset: false\n\t},\n\tinstant: {\n\t\tdescription: \"a date and time with a UTC offset\",\n\t\tplural: \"instants\",\n\t\texample: \"2024-01-01T12:34:56Z\",\n\t\tdate: true,\n\t\ttime: true,\n\t\toffset: true\n\t}\n};\nconst DATE_PREFIX = /^([+-]\\d{6}|\\d{4})-(\\d{2})-(\\d{2})/;\nconst TIME_PREFIX = /^(\\d{2}):(\\d{2})(?::(\\d{2})(?:\\.(\\d+))?)?/;\nconst OFFSET = /^([+-])(\\d{2})(?::(\\d{2})(?::(\\d{2}))?)?$/;\nconst MAX_FRACTION_DIGITS = 6;\nconst FRACTION_UNITS = {\n\t3: \"milliseconds\",\n\t6: \"microseconds\"\n};\nconst SECONDS_PER_DAY = 86400;\nconst MIDNIGHT = {\n\thour: 0,\n\tminute: 0,\n\tsecond: 0,\n\tfraction: \"\"\n};\nfunction refused(message) {\n\tthrow structuredError(\"CONTRACT.CAST_REFUSED\", message, {\n\t\twhy: \"A date or time type stores one form for each value (ADR 254).\",\n\t\tfix: \"Write text the type holds, as the message shows.\"\n\t});\n}\nfunction isLeapYear(year) {\n\treturn year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n}\nfunction daysInMonth(year, month) {\n\tif (month === 2) return isLeapYear(year) ? 29 : 28;\n\treturn [\n\t\t4,\n\t\t6,\n\t\t9,\n\t\t11\n\t].includes(month) ? 30 : 31;\n}\n/** Days from 1970-01-01 to a date of the proleptic Gregorian calendar, with year 0 as 1 BC. */\nfunction daysFromCivil({ year, month, day }) {\n\tconst shifted = month <= 2 ? year - 1 : year;\n\tconst era = Math.floor(shifted / 400);\n\tconst yearOfEra = shifted - era * 400;\n\tconst dayOfYear = Math.floor((153 * (month + (month > 2 ? -3 : 9)) + 2) / 5) + day - 1;\n\tconst dayOfEra = yearOfEra * 365 + Math.floor(yearOfEra / 4) - Math.floor(yearOfEra / 100) + dayOfYear;\n\treturn era * 146097 + dayOfEra - 719468;\n}\nfunction civilFromDays(days) {\n\tconst shifted = days + 719468;\n\tconst era = Math.floor(shifted / 146097);\n\tconst dayOfEra = shifted - era * 146097;\n\tconst yearOfEra = Math.floor((dayOfEra - Math.floor(dayOfEra / 1460) + Math.floor(dayOfEra / 36524) - Math.floor(dayOfEra / 146096)) / 365);\n\tconst dayOfYear = dayOfEra - (365 * yearOfEra + Math.floor(yearOfEra / 4) - Math.floor(yearOfEra / 100));\n\tconst monthIndex = Math.floor((5 * dayOfYear + 2) / 153);\n\tconst day = dayOfYear - Math.floor((153 * monthIndex + 2) / 5) + 1;\n\tconst month = monthIndex < 10 ? monthIndex + 3 : monthIndex - 9;\n\treturn {\n\t\tyear: yearOfEra + era * 400 + (month <= 2 ? 1 : 0),\n\t\tmonth,\n\t\tday\n\t};\n}\nfunction pad(value, width = 2) {\n\treturn String(value).padStart(width, \"0\");\n}\nfunction yearText(year) {\n\tif (year >= 0 && year <= 9999) return pad(year, 4);\n\treturn `${year < 0 ? \"-\" : \"+\"}${pad(Math.abs(year), 6)}`;\n}\nfunction dateText(date) {\n\treturn `${yearText(date.year)}-${pad(date.month)}-${pad(date.day)}`;\n}\nfunction timeText(time) {\n\tconst fraction = time.fraction.replace(/0+$/, \"\");\n\treturn `${pad(time.hour)}:${pad(time.minute)}:${pad(time.second)}${fraction === \"\" ? \"\" : `.${fraction}`}`;\n}\nfunction offsetText(seconds) {\n\tif (seconds === 0) return \"Z\";\n\tconst magnitude = Math.abs(seconds);\n\tconst rest = magnitude % 60;\n\treturn `${seconds < 0 ? \"-\" : \"+\"}${pad(Math.floor(magnitude / 3600))}:${pad(Math.floor(magnitude / 60) % 60)}${rest === 0 ? \"\" : `:${pad(rest)}`}`;\n}\n/**\n* The fields of an ISO 8601 date, time, or date and time, or `undefined` when the text is not one.\n* Ranges are checked by the caller, which words the refusal.\n*/\nfunction readWritten(text) {\n\tlet rest = text;\n\tlet date;\n\tlet timeFollows = true;\n\tconst dateMatch = DATE_PREFIX.exec(rest);\n\tif (dateMatch !== null) {\n\t\tconst [whole, yearDigits = \"\", month = \"\", day = \"\"] = dateMatch;\n\t\tif (yearDigits === \"-000000\") return void 0;\n\t\tdate = {\n\t\t\tyear: Number(yearDigits),\n\t\t\tmonth: Number(month),\n\t\t\tday: Number(day)\n\t\t};\n\t\trest = rest.slice(whole.length);\n\t\ttimeFollows = /^[Tt ]/.test(rest);\n\t\tif (timeFollows) rest = rest.slice(1);\n\t}\n\tlet time;\n\tlet fractionDigits = 0;\n\tif (timeFollows) {\n\t\tconst timeMatch = TIME_PREFIX.exec(rest);\n\t\tif (timeMatch === null) return void 0;\n\t\tconst [whole, hour = \"\", minute = \"\", second = \"00\", fraction = \"\"] = timeMatch;\n\t\ttime = {\n\t\t\thour: Number(hour),\n\t\t\tminute: Number(minute),\n\t\t\tsecond: Number(second),\n\t\t\tfraction\n\t\t};\n\t\tfractionDigits = fraction.length;\n\t\trest = rest.slice(whole.length);\n\t}\n\tlet offsetSeconds;\n\tif (rest === \"Z\" || rest === \"z\") offsetSeconds = 0;\n\telse if (rest !== \"\") {\n\t\tconst offset = OFFSET.exec(rest);\n\t\tif (offset === null) return void 0;\n\t\tconst [, sign, hours = \"\", minutes = \"00\", seconds = \"00\"] = offset;\n\t\tif (Number(minutes) > 59 || Number(seconds) > 59) return void 0;\n\t\tconst magnitude = Number(hours) * 3600 + Number(minutes) * 60 + Number(seconds);\n\t\toffsetSeconds = sign === \"-\" ? -magnitude : magnitude;\n\t}\n\treturn {\n\t\tdate,\n\t\ttime,\n\t\toffsetSeconds,\n\t\tfractionDigits\n\t};\n}\nfunction withFraction(example, digits) {\n\treturn example.replace(/(\\d{2}:\\d{2}:\\d{2})/, `$1.${\"123456\".slice(0, digits)}`);\n}\n/** The value with an instant moved to UTC. */\nfunction normalized(written, shape) {\n\tconst clock = written.time ?? MIDNIGHT;\n\tconst offsetSeconds = written.offsetSeconds ?? 0;\n\tif (written.date === void 0 || shape !== \"instant\") return {\n\t\tdate: written.date,\n\t\ttime: clock,\n\t\toffsetSeconds\n\t};\n\tconst utc = daysFromCivil(written.date) * SECONDS_PER_DAY + clock.hour * 3600 + clock.minute * 60 + clock.second - offsetSeconds;\n\tconst days = Math.floor(utc / SECONDS_PER_DAY);\n\tconst secondOfDay = utc - days * SECONDS_PER_DAY;\n\treturn {\n\t\tdate: civilFromDays(days),\n\t\ttime: {\n\t\t\thour: Math.floor(secondOfDay / 3600),\n\t\t\tminute: Math.floor(secondOfDay / 60) % 60,\n\t\t\tsecond: secondOfDay % 60,\n\t\t\tfraction: clock.fraction\n\t\t},\n\t\toffsetSeconds: 0\n\t};\n}\nfunction position(value) {\n\tconst { time } = value;\n\treturn [\n\t\tvalue.date === void 0 ? 0 : daysFromCivil(value.date),\n\t\ttime.hour * 3600 + time.minute * 60 + time.second,\n\t\ttime.fraction.padEnd(MAX_FRACTION_DIGITS, \"0\")\n\t];\n}\nfunction isBefore(left, right) {\n\tif (left[0] !== right[0]) return left[0] < right[0];\n\tif (left[1] !== right[1]) return left[1] < right[1];\n\treturn left[2] < right[2];\n}\nfunction printed(value, shape) {\n\tconst { date, time, offsetSeconds } = value;\n\tif (date === void 0) return shape === \"timeWithOffset\" ? `${timeText(time)}${offsetText(offsetSeconds)}` : timeText(time);\n\tif (shape === \"date\") return dateText(date);\n\tif (shape === \"dateTime\") return `${dateText(date)}T${timeText(time)}`;\n\treturn `${dateText(date)}T${timeText(time)}Z`;\n}\n/** The position of a range bound, which the data type declares in stored form. */\nfunction boundPosition(text, shape) {\n\tconst written = readWritten(text);\n\tif (written === void 0) throw new InternalError(`The range bound \"${text}\" is not in its stored form.`);\n\treturn position(normalized(written, shape));\n}\n/**\n* The stored form of written date or time text, or a refusal with a message that says what is\n* wrong and shows text the type holds. `written` is the text as its author wrote it, which the\n* message shows, when a target rewrote it into ISO 8601 before calling this.\n*/\nfunction dateTimeStoredText(text, options, written = text) {\n\tconst shape = SHAPES[options.shape];\n\tconst { ownerId: id } = options;\n\tconst parts = readWritten(text);\n\tif (parts === void 0) refused(`${id} cannot read \"${written}\". Write ${shape.description}, as in \"${shape.example}\".`);\n\tif (parts.date !== void 0 && !shape.date) refused(`${id} holds a time of day without a date, but \"${written}\" has a date. Write the time alone, as in \"${shape.example}\".`);\n\tif (parts.date === void 0 && shape.date) refused(shape.time ? `${id} holds ${shape.description}, but \"${written}\" has no date. Write the date too, as in \"${shape.example}\".` : `${id} holds a date, and \"${written}\" is a time of day. Write a date, as in \"${shape.example}\".`);\n\tif (parts.time !== void 0 && !shape.time) refused(`${id} holds a date without a time of day, but \"${written}\" has a time. Write the date alone, as in \"${shape.example}\".`);\n\tif (parts.time === void 0 && shape.offset) refused(`${id} holds ${shape.description}, but \"${written}\" has no time of day. Write the time too, as in \"${shape.example}\".`);\n\tif (parts.offsetSeconds !== void 0 && !shape.offset) refused(`${id} holds no UTC offset, but \"${written}\" has one. Leave it out, as in \"${shape.example}\".`);\n\tif (parts.offsetSeconds === void 0 && shape.offset) refused(`${id} needs a UTC offset, but \"${written}\" has none. Add Z for UTC or an offset such as +02:00, as in \"${shape.example}\".`);\n\tconst maxFractionDigits = options.maxFractionDigits ?? MAX_FRACTION_DIGITS;\n\tif (parts.fractionDigits > maxFractionDigits) refused(`\"${written}\" has ${parts.fractionDigits} digits after the decimal point, but ${id} holds ${FRACTION_UNITS[maxFractionDigits]}, so at most ${maxFractionDigits}. Round it, as in \"${withFraction(shape.example, maxFractionDigits)}\".`);\n\tconst { date, time } = parts;\n\tif (date !== void 0 && (date.month < 1 || date.month > 12 || date.day < 1 || date.day > daysInMonth(date.year, date.month))) refused(`\"${written}\" is not a date that exists. Write a real date, as in \"${shape.example}\".`);\n\tif (time !== void 0 && (time.hour > 23 || time.minute > 59 || time.second > 59)) refused(`\"${written}\" is not a time of day that exists: hours run from 00 to 23, and minutes and seconds from 00 to 59. Write one, as in \"${shape.example}\".`);\n\tconst offsetLimit = options.maxOffsetHours ?? 23;\n\tif (parts.offsetSeconds !== void 0 && Math.abs(parts.offsetSeconds) >= (offsetLimit + 1) * 3600) refused(`\"${written}\" has a UTC offset outside -${pad(offsetLimit)}:59 to +${pad(offsetLimit)}:59, which ${id} does not hold. Write a smaller offset, as in \"${shape.example}\".`);\n\tconst value = normalized(parts, options.shape);\n\tconst { range } = options;\n\tif (range !== void 0) {\n\t\tconst at = position(value);\n\t\tif (isBefore(at, boundPosition(range.earliest, options.shape)) || isBefore(boundPosition(range.latest, options.shape), at)) refused(`${id} holds ${shape.plural} from ${range.earliest} to ${range.latest}, and \"${written}\" is outside them.`);\n\t}\n\treturn printed(value, options.shape);\n}\nconst ISO_DATE_STRING_FRACTION = /^(.*:\\d{2})(?:\\.(\\d{1,3}))?Z$/;\n/**\n* The instant in UTC with exactly three fraction digits, the text `Date.prototype.toISOString()` writes, from ISO 8601 text with a UTC offset. The range and the millisecond precision are those of a JavaScript `Date`. Throws `CONTRACT.CAST_REFUSED`, naming `ownerId`, for text that names no instant a `Date` holds.\n*/\nfunction isoDateStringText(text, ownerId) {\n\tconst stored = dateTimeStoredText(text, {\n\t\tshape: \"instant\",\n\t\townerId,\n\t\tmaxFractionDigits: 3,\n\t\trange: {\n\t\t\tearliest: \"-271821-04-20T00:00:00Z\",\n\t\t\tlatest: \"+275760-09-13T00:00:00Z\"\n\t\t}\n\t});\n\tconst match = ISO_DATE_STRING_FRACTION.exec(stored);\n\treturn match === null ? stored : `${match[1]}.${(match[2] ?? \"\").padEnd(3, \"0\")}Z`;\n}\n//#endregion\n//#region src/shared/decimal-text-equality.ts\nconst DECIMAL_TEXT = /^([+-]?)(\\d*)(?:\\.(\\d*))?$/;\n/**\n* The key two decimal texts share exactly when they are the same number, for a data type that stores a decimal as text and keeps the scale it was written with, as `numeric` stores `0.5` and `0.50`: leading zeros, trailing fraction zeros and the sign of zero do not count. `NaN` and the infinities keep their own keys.\n*/\nfunction decimalTextEqualityKey(json) {\n\tconst text = String(json);\n\tconst match = DECIMAL_TEXT.exec(text);\n\tif (match === null) return text;\n\tconst [, sign = \"\", whole = \"\", fraction = \"\"] = match;\n\tconst digits = whole.replace(/^0+/, \"\");\n\tconst decimals = fraction.replace(/0+$/, \"\");\n\tif (digits === \"\" && decimals === \"\") return \"0\";\n\tconst magnitude = decimals === \"\" ? digits || \"0\" : `${digits || \"0\"}.${decimals}`;\n\treturn sign === \"-\" ? `-${magnitude}` : magnitude;\n}\n//#endregion\n//#region src/shared/json-text.ts\n/**\n* Read JSON text into the document it holds.\n*\n* `JSON.parse` reads a numeral too large for a double as `Infinity`, and `JSON.stringify` writes\n* that back as `null`, so a document holding one would not be the document stored; it is refused\n* here instead, naming where the number is.\n*/\nfunction parseJsonText(text) {\n\tlet value;\n\ttry {\n\t\tvalue = JSON.parse(text);\n\t} catch (error) {\n\t\tthrow structuredError(\"CONTRACT.INVALID_JSON_LITERAL\", error instanceof Error ? error.message : String(error), {\n\t\t\twhy: \"The text is not a JSON document.\",\n\t\t\tfix: \"Write a JSON document.\"\n\t\t});\n\t}\n\tconst overflowed = nonFiniteNumberIn(value, \"\");\n\tif (overflowed !== void 0) throw structuredError(\"CONTRACT.INVALID_JSON_LITERAL\", `${overflowed.path} is ${overflowed.value}, which JSON cannot write back: the number in the text is outside the range a JSON number holds.`, {\n\t\twhy: \"JSON.parse reads a numeral too large for a double as Infinity, which JSON.stringify writes back as null.\",\n\t\tfix: \"Write a number JSON can hold, or write it as text.\"\n\t});\n\treturn value;\n}\n/** Write a document as the text of a JSON literal. */\nfunction printJsonText(value) {\n\treturn JSON.stringify(value);\n}\nfunction nonFiniteNumberIn(value, path) {\n\tif (typeof value === \"number\") return Number.isFinite(value) ? void 0 : {\n\t\tpath: path === \"\" ? \"The value\" : path,\n\t\tvalue\n\t};\n\tif (Array.isArray(value)) {\n\t\tfor (const [index, element] of value.entries()) {\n\t\t\tconst found = nonFiniteNumberIn(element, `${path}[${index}]`);\n\t\t\tif (found !== void 0) return found;\n\t\t}\n\t\treturn;\n\t}\n\tif (typeof value === \"object\" && value !== null) for (const [key, member] of Object.entries(value)) {\n\t\tconst found = nonFiniteNumberIn(member, path === \"\" ? key : `${path}.${key}`);\n\t\tif (found !== void 0) return found;\n\t}\n}\n//#endregion\n//#region src/shared/number-classifier.ts\nconst WRITTEN_INTEGER_TEXT = /^[+-]?\\d+$/;\nconst WRITTEN_DECIMAL_TEXT = /^[+-]?\\d+\\.\\d+$/;\nconst DECIMAL_NUMERAL = /^([+-]?)0*(\\d+)(\\.\\d+)?$/;\n/** Whether `text` is a whole number or a decimal as a contract source writes one. */\nfunction isNumeralText(text) {\n\treturn WRITTEN_INTEGER_TEXT.test(text) || WRITTEN_DECIMAL_TEXT.test(text);\n}\n/**\n* A written numeral as the contract stores it. Leading zeros and the sign of zero never change a\n* number, so they go; trailing zeros stay, because a type without a scale keeps them.\n*/\nfunction storedNumeralText(text) {\n\tconst numeral = DECIMAL_NUMERAL.exec(text);\n\tif (numeral === null) return text;\n\tconst [, sign = \"\", whole = \"\", fraction = \"\"] = numeral;\n\tconst digits = `${whole}${fraction}`;\n\treturn sign !== \"-\" || /^[0.]+$/.test(digits) ? digits : `-${digits}`;\n}\n/** The range of a signed integer of `bits` bits. */\nfunction signedRange(bits) {\n\tconst half = 2n ** (BigInt(bits) - 1n);\n\treturn {\n\t\tmin: -half,\n\t\tmax: half - 1n\n\t};\n}\n/**\n* The classifier one target's plain-number authoring entry carries: it reads the digits and says\n* which of the target's types the value is, in that type's stored form. `undefined` means no\n* type of this target holds the number.\n*/\nfunction createNumberClassifier(spec) {\n\tconst as = (classification, value) => classification === void 0 ? void 0 : {\n\t\ttype: classification.type,\n\t\tvalue\n\t};\n\treturn (text) => {\n\t\tif (isNonFiniteText(text)) return as(spec.words, spec.words?.form === \"number\" ? Number(text) : text);\n\t\tif (WRITTEN_DECIMAL_TEXT.test(text)) {\n\t\t\tconst canonical = storedNumeralText(text);\n\t\t\treturn as(spec.fraction, spec.fraction?.form === \"number\" ? Number(canonical) : canonical);\n\t\t}\n\t\tif (!WRITTEN_INTEGER_TEXT.test(text)) return void 0;\n\t\tconst digits = BigInt(text);\n\t\tconst classification = spec.integers.find(({ min, max }) => digits >= min && digits <= max) ?? spec.largerWhole;\n\t\treturn as(classification, classification?.form === \"number\" ? Number(digits) : digits.toString());\n\t};\n}\n//#endregion\n//#region src/shared/render-ts-literal.ts\n/**\n* Renders a stored value as a TypeScript literal (e.g. `\"low\"`, `1`, `true`), or `undefined`\n* when the value isn't literal-expressible (objects, arrays, null).\n*\n* Valid **only for codecs whose application value is the stored JSON** (text, int, float, bool). A\n* codec whose application value differs from the stored JSON (e.g. digit text read as a `bigint`)\n* must NOT use this: it renders the application value in its own `renderValueLiteral`.\n*/\nfunction renderTsLiteral(value) {\n\tif (typeof value === \"string\") return tsStringLiteral(value);\n\tif (typeof value === \"number\" || typeof value === \"boolean\") return String(value);\n}\nconst DECIMAL_INTEGER = /^-?\\d+$/;\n/** Renders decimal integer text, read as a `number`, as a number literal, or `undefined` for any other value. */\nfunction decimalTextNumberLiteral(value) {\n\treturn typeof value === \"string\" && DECIMAL_INTEGER.test(value) ? value : void 0;\n}\n/** Renders decimal integer text, read as a `bigint`, as a bigint literal, or `undefined` for any other value. */\nfunction decimalTextBigintLiteral(value) {\n\treturn typeof value === \"string\" && DECIMAL_INTEGER.test(value) ? `${value}n` : void 0;\n}\n/** Renders a float's stored number as a number literal. A target stores an infinity, and NaN where it holds one (SQLite does not), as text, which has no literal type, so it renders nothing. */\nfunction floatNumberLiteral(value) {\n\treturn typeof value === \"number\" ? String(value) : void 0;\n}\n//#endregion\nexport { CONTRACT_CODEC_DESCRIPTOR_MISSING, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATA_TYPE_ID_PATTERN, INT32_RANGE, INT64_RANGE, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, asFloat, asNumeralText, assembleDataTypes, assertDataTypeParams, castUnchanged, codecForRef, column, createDataTypeLookup, createNumberClassifier, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, emptyCodecLookup, enumRefusalOf, floatNumberLiteral, floatToJson, isIntegerIn, isNonFiniteText, isNumeralText, isoDateStringText, materializeCodec, numeralText, objectSchemaKeys, parseJsonText, printJsonText, readContractValue, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveCodecDescriptorOrThrow, schemaKeysAllowing, signedRange, storedNumeralText, validateCodecTypeParams };\n\n//# s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KAAK,IAAI,KAAK,IAAI;EAC1E,MAAM,eAAe;EACrB;CACD;CACA,QAAQ,SAAS;EAChB,IAAI,gBAAgB,IAAI,GAAG,OAAO,GAAG,KAAK,OAAO,KAAK,OAAO,SAAS,WAAW,OAAO,IAAI,IAAI,IAAI;EACpG,IAAI,qBAAqB,KAAK,IAAI,GAAG;GACpC,MAAM,YAAY,kBAAkB,IAAI;GACxC,OAAO,GAAG,KAAK,UAAU,KAAK,UAAU,SAAS,WAAW,OAAO,SAAS,IAAI,SAAS;EAC1F;EACA,IAAI,CAAC,qBAAqB,KAAK,IAAI,GAAG,OAAO,KAAK;EAClD,MAAM,SAAS,OAAO,IAAI;EAC1B,MAAM,iBAAiB,KAAK,SAAS,MAAM,EAAE,KAAK,UAAU,UAAU,OAAO,UAAU,GAAG,KAAK,KAAK;EACpG,OAAO,GAAG,gBAAgB,gBAAgB,SAAS,WAAW,OAAO,MAAM,IAAI,OAAO,SAAS,CAAC;CACjG;AACD;;;;;;;;;AAWA,SAAS,gBAAgB,OAAO;CAC/B,IAAI,OAAO,UAAU,UAAU,OAAO,gBAAgB,KAAK;CAC3D,IAAI,OAAO,UAAU,YAAY,OAAO,UAAU,WAAW,OAAO,OAAO,KAAK;AACjF;AACA,MAAM,kBAAkB;;AAExB,SAAS,yBAAyB,OAAO;CACxC,OAAO,OAAO,UAAU,YAAY,gBAAgB,KAAK,KAAK,IAAI,QAAQ,KAAK;AAChF;;AAEA,SAAS,yBAAyB,OAAO;CACxC,OAAO,OAAO,UAAU,YAAY,gBAAgB,KAAK,KAAK,IAAI,GAAG,MAAM,KAAK,KAAK;AACtF;;AAEA,SAAS,mBAAmB,OAAO;CAClC,OAAO,OAAO,UAAU,WAAW,OAAO,KAAK,IAAI,KAAK;AACzD"}
@@ -1,7 +1,7 @@
1
- import { g as CodecTrait } from "./codec-types-CPgEZoIq-BL9hisr8.mjs";
2
- import { Q as GeneratorFunctionComponent, Z as GeneratorFunctionCall } from "./framework-authoring-DDxddXZm-uZYdhoE0.mjs";
3
- import { t as AggregateDescriptor } from "./types-import-spec-DQjfX-gM-zVncuzs0.mjs";
4
- import "./framework-components-DKoQnPdB-lax1COaf.mjs";
1
+ import { g as CodecTrait } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
2
+ import { Q as GeneratorFunctionComponent, Z as GeneratorFunctionCall } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
3
+ import { t as AggregateDescriptor } from "./types-import-spec-Bkh243Hv-B-fdw0Wl.mjs";
4
+ import "./framework-components-BhbsOiJc-BpDfGsqn.mjs";
5
5
  //#region ../../../1-framework/1-core/framework-components/dist/components.d.mts
6
6
  //#region src/shared/aggregate-overloads.d.ts
7
7
  /** What settling needs to know about a codec: its id, and the traits an overload can claim it by. */
@@ -83,4 +83,4 @@ type GeneratorHelpersOf<Component> = { readonly [Contribution in Declared<Contri
83
83
  declare function createGeneratorHelpers<const Component extends GeneratorFunctionComponent>(components: readonly Component[]): GeneratorHelpersOf<Component>;
84
84
  //#endregion
85
85
  export { GeneratorHelper as a, SettledAggregateOverloads as c, createGeneratorHelpers as d, settleAggregateOverloads as f, ExtensionPackValues as i, SignatureArgumentOutput as l, AggregateOverloadAmbiguity as n, GeneratorHelpersOf as o, AggregateOverloadDuplicate as r, SettledAggregateOperation as s, AggregateCodecTraits as t, SignatureOptionalArgument as u };
86
- //# sourceMappingURL=components-CRBcIta_.d.mts.map
86
+ //# sourceMappingURL=components-Cl5lB_Iw.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components-CRBcIta_.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;;UAQU;WACC;WACA,iBAAiB;;;UAGlB,0BAA0B,oBAAoB;;WAE7C,WAAW,oBAAoB;;WAE/B,SAAS;;WAET,UAAU;;;UAGX;WACC;WACA;WACA,iBAAiB;;;UAGlB,2BAA2B,oBAAoB;WAC9C;WACA;WACA,OAAO;WACP,QAAQ;;UAET,0BAA0B,oBAAoB;WAC7C,YAAY,oBAAoB,0BAA0B;WAC1D,sBAAsB;WACtB,qBAAqB,2BAA2B;;;;;;;;;;;iBAW1C,yBAAyB,oBAAoB,qBAAqB,sBAAsB,eAAe,QAAQ,SAAS,wBAAwB,0BAA0B;;;;UAIjL,wBAAwB;WACvB,OAAO;;;UAGR;WACC;;KAEN,YAAY,QAAQ,aAAa,8BAA8B,OAAO,QAAQ;KAC9E,oBAAoB,UAAU,+BAA+B,eAAe,QAAQ;WAC9E,YAAY;IACnB,aAAa,6BAA6B,WAAW,YAAY,UAAU,oBAAoB,UAAU,UAAU,YAAY,UAAU,oBAAoB;;KAE5J,gBAAgB,aAAa,uBAAuB,sBAAsB,SAAS,QAAQ;;KAE3F,gBAAgB,iBAAiB,MAAM,gBAAgB;WACjD,kBAAkB;IACzB,oBAAoB,iBAAiB;KACpC,gBAAgB,aAAa;WACvB,2BAA2B;IAClC,sCAAsC,kBAAkB;KACvD,SAAS,gBAAgB;WACnB;WACA;IACP;;KAEC,oBAAoB,cAAc,mBAAmB,qBAAqB,QAAQ;;KAElF,mBAAmB,yBAAyB,gBAAgB,SAAS,gBAAgB,eAAe,uBAAuB,gBAAgB;;;;iBAI/H,6BAA6B,kBAAkB,4BAA4B,qBAAqB,cAAc,mBAAmB"}
1
+ {"version":3,"file":"components-Cl5lB_Iw.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;;UAQU;WACC;WACA,iBAAiB;;;UAGlB,0BAA0B,oBAAoB;;WAE7C,WAAW,oBAAoB;;WAE/B,SAAS;;WAET,UAAU;;;UAGX;WACC;WACA;WACA,iBAAiB;;;UAGlB,2BAA2B,oBAAoB;WAC9C;WACA;WACA,OAAO;WACP,QAAQ;;UAET,0BAA0B,oBAAoB;WAC7C,YAAY,oBAAoB,0BAA0B;WAC1D,sBAAsB;WACtB,qBAAqB,2BAA2B;;;;;;;;;;;iBAW1C,yBAAyB,oBAAoB,qBAAqB,sBAAsB,eAAe,QAAQ,SAAS,wBAAwB,0BAA0B;;;;UAIjL,wBAAwB;WACvB,OAAO;;;UAGR;WACC;;KAEN,YAAY,QAAQ,aAAa,8BAA8B,OAAO,QAAQ;KAC9E,oBAAoB,UAAU,+BAA+B,eAAe,QAAQ;WAC9E,YAAY;IACnB,aAAa,6BAA6B,WAAW,YAAY,UAAU,oBAAoB,UAAU,UAAU,YAAY,UAAU,oBAAoB;;KAE5J,gBAAgB,aAAa,uBAAuB,sBAAsB,SAAS,QAAQ;;KAE3F,gBAAgB,iBAAiB,MAAM,gBAAgB;WACjD,kBAAkB;IACzB,oBAAoB,iBAAiB;KACpC,gBAAgB,aAAa;WACvB,2BAA2B;IAClC,sCAAsC,kBAAkB;KACvD,SAAS,gBAAgB;WACnB;WACA;IACP;;KAEC,oBAAoB,cAAc,mBAAmB,qBAAqB,QAAQ;;KAElF,mBAAmB,yBAAyB,gBAAgB,SAAS,gBAAgB,eAAe,uBAAuB,gBAAgB;;;;iBAI/H,6BAA6B,kBAAkB,4BAA4B,qBAAqB,cAAc,mBAAmB"}
@@ -1,22 +1,22 @@
1
- import { A as createDataTypeLookup, B as requireValueOf, C as DataTypeSpec, D as TypeLookups, E as ListCast, F as dataTypeValuesEqual, H as requiredSchemaKeys, I as emptyCodecLookup, L as enumRefusalOf, M as dataTypeId, N as dataTypeParams, O as assembleDataTypes, P as dataTypeParamsProblem, R as objectSchemaKeys, S as DataTypeReader, T as DataTypeValue, U as schemaKeysAllowing, V as requiredParamKeys, _ as DataType, a as CodecCallContext, b as DataTypeParams, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as CodecTrait, h as CodecRegistry, i as Codec, j as dataType, k as assertDataTypeParams, l as CodecDescriptorTemplateImpl, m as CodecRef, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecLookupWithDescriptors, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeId, w as DataTypeSpelling, x as DataTypeParamsProblem, y as DataTypeLookup, z as readContractValue } from "./codec-types-CPgEZoIq-BL9hisr8.mjs";
2
- import { $ as GeneratorFunctionContribution, $t as isAuthoringEntityTypeDescriptor, A as AuthoringTypeAliasDescriptor, At as admittedTags, B as CastRefusal, Bt as describeRefusal, C as AuthoringModelAttributeLoweringOutput, Ct as SourceDiagnostic, D as AuthoringSelectRef, Dt as WrittenScalar, E as AuthoringPslBlockDescriptorNamespace, Et as WrittenForm, F as AuthoringTypeParamsIssue, Ft as castTypedValue, G as DataTypeAuthoringEntry, Gt as flushAuthoringWarnings, H as ControlMutationDefaultEntry, Ht as entryForPlain, I as AuthoringValueArgument, It as classifyEnumMemberType, J as DefaultFunctionLoweringContext, Jt as instantiateAuthoringFieldPreset, K as DataTypeSupport, Kt as getAuthoringTypeConstructor, L as AuthoringWarning, Lt as collectScalarTypeConstructors, M as AuthoringTypeConstructorDescriptor, Mt as assertNoCrossRegistryCollisions, N as AuthoringTypeConstructorEntityRef, Nt as assertResolvableTypeConstructorTemplates, O as AuthoringStorageTypeTemplate, Ot as WrittenValue, P as AuthoringTypeNamespace, Pt as assertTypeAliasesValid, Q as GeneratorFunctionComponent, Qt as isAuthoringArgRef, R as AuthoringWarningSink, Rt as describeAdmittedForms, S as AuthoringModelAttributeIndexOutput, St as ScalarTypeConstructorOutput, T as AuthoringPslBlockDescriptor, Tt as TypedDefaultFunctionCall, U as ControlMutationDefaultRegistry, Ut as entryForTag, V as ContributedPslDiagnosticCode, Vt as describeRefusedValueType, W as ControlMutationDefaults, Wt as exactRewrite, X as GeneratorFunctionBinding, Xt as instantiateAuthoringTypeConstructor, Y as EMPTY_GENERATOR_FUNCTIONS, Yt as instantiateAuthoringTypeAlias, Z as GeneratorFunctionCall, Zt as instantiateAuthoringTypeConstructorFromValues, _ as AuthoringFieldPresetOutput, _n as validateAuthoringHelperArguments, _t as PslPosition, a as AuthoringAttributeSpecContributions, an as isAuthoringTypeConstructorDescriptor, at as LoweredDefaultResult, b as AuthoringModelAttributeDescriptorNamespace, bt as RefusalDescription, c as AuthoringDescriptorKinds, cn as mergeAuthoringNamespaces, ct as ParsedPslExtensionBlock, d as AuthoringEntityTypeDescriptor, dn as readWrittenValueIntoCodec, dt as PslDiagnosticCode, en as isAuthoringFieldPresetDescriptor, et as GeneratorFunctionField, f as AuthoringEntityTypeFactoryOutput, fn as resolveAuthoringTemplateValue, ft as PslExtensionBlock, g as AuthoringFieldPresetDescriptor, gn as tagForm, gt as PslExtensionBlockPrintEntry, h as AuthoringFieldNamespace, hn as singleGeneratorBinding, ht as PslExtensionBlockParsedAttribute, i as AuthoringArgumentDescriptor, in as isAuthoringTypeAliasDescriptor, it as GeneratorPhase, j as AuthoringTypeAliasOutput, jt as assembleGeneratorFunctions, k as AuthoringTemplateValue, kt as admittedForms, l as AuthoringDiagnosticSink, ln as readWrittenValue, lt as PrintedArguments, m as AuthoringEntityTypeTemplateOutput, mn as resolveTypeAliasGenerators, mt as PslExtensionBlockAttributeArg, n as AssembledControlMutationDefaults, nn as isAuthoringPslBlockDescriptor, nt as GeneratorFunctionResolution, o as AuthoringColumnDefaultTemplate, on as isAuthoringTypeDescriptor, ot as LoweredDefaultValue, p as AuthoringEntityTypeNamespace, pn as resolveEnumCodecId, pt as PslExtensionBlockAttribute, q as DataTypeWrittenForm, qt as instantiateAuthoringEntityType, r as AuthoringArgRef, rn as isAuthoringSelectRef, rt as GeneratorFunctionSummary, s as AuthoringContributions, sn as knownTags, st as MutationDefaultGeneratorDescriptor, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, tn as isAuthoringModelAttributeDescriptor, tt as GeneratorFunctionRegistry, u as AuthoringEntityContext, un as readWrittenValueAs, ut as PrintedGeneratorCall, v as AuthoringModelAttributeContext, vn as validateAuthoringTypeParams, vt as PslSpan, w as AuthoringOption, wt as SourceSpan, x as AuthoringModelAttributeEntityOutput, xt as RefusalGuidance, y as AuthoringModelAttributeDescriptor, yt as ReadRefusal, z as BindingResolution, zt as describeExpected } from "./framework-authoring-DDxddXZm-uZYdhoE0.mjs";
3
- import { C as timestampNowControlDescriptor, S as temporalTypeAliases, _ 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, w as tsTaggedTemplateSource, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-BuMqk7h8-DZSuu4Z_.mjs";
4
- import { C as fieldPresetSpellings, E as readEnumBlockMembers, S as enumMemberProblemDiagnostic, T as getAuthoringFieldPreset, _ as authoringTypeConstructorArguments, a as DiscriminatorField, b as duplicateStoredMembers, c as DiscriminatorVariantRefusal, d as EnumBlockDiagnostic, f as EnumBlockMember, g as applyDiscriminatorRule, h as StoredEnumMember, i as DiscriminatorDecision, l as DuplicateStoredValue, m as EnumMemberProblem, n as AuthoringTypeConstructorOutput, o as DiscriminatorFieldRefusal, p as EnumBlockSite, r as DecodedEnum, s as DiscriminatorRefusal, t as AuthoringTypeConstructorCall, u as EncodedEnumMember, v as authoringTypeConstructors, w as findAuthoringTypeConstructorCall, x as encodeEnumMembers, y as describeDiscriminatorRefusal } from "./authoring-CjwinhU5.mjs";
5
- import { $ as validateCodecTypeParams, A as decimalTextNumberLiteral, B as printJsonText, C as castUnchanged, D as dateTimeStoredText, E as createNumberClassifier, F as isNumeralText, G as readJsonMatching, H as readJsonFloat, I as isoDateStringText, J as refuseWrongShape, K as readJsonString, L as materializeCodec, M as floatToJson, N as isIntegerIn, O as decimalTextBigintLiteral, P as isNonFiniteText, Q as storedNumeralText, R as numeralText, S as asNumeralText, T as column, U as readJsonInteger, V as readJsonBoolean, W as readJsonIntegerText, X as resolveCodecDescriptorOrThrow, Y as renderTsLiteral, Z as signedRange, _ as SAFE_INTEGER_BIGINT_RANGE, a as ColumnHelperForStrict, b as ScalarFieldDeclarationBuilder, c as DATA_TYPE_ID_PATTERN, d as INT32_RANGE, f as INT64_RANGE, g as NumberClassifierSpec, h as NumberClassification, i as ColumnHelperFor, j as floatNumberLiteral, k as decimalTextEqualityKey, l as DateTimeShape, m as IntegerStep, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as IntegerRange, q as refuseJsonValue, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as DateTimeStoredTextOptions, v as SAFE_INTEGER_RANGE, w as codecForRef, x as asFloat, y as ScalarFieldDeclaration, z as parseJsonText } from "./codec-B4ypaota.mjs";
6
- import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, l as TypesImportSpec, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-DQjfX-gM-zVncuzs0.mjs";
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-B4wPvO-K-BqcGrCE-.mjs";
2
+ import { $ as GeneratorFunctionContribution, $t as isAuthoringEntityTypeDescriptor, A as AuthoringTypeAliasDescriptor, At as admittedTags, B as CastRefusal, Bt as describeRefusal, C as AuthoringModelAttributeLoweringOutput, Ct as SourceDiagnostic, D as AuthoringSelectRef, Dt as WrittenScalar, E as AuthoringPslBlockDescriptorNamespace, Et as WrittenForm, F as AuthoringTypeParamsIssue, Ft as castTypedValue, G as DataTypeAuthoringEntry, Gt as flushAuthoringWarnings, H as ControlMutationDefaultEntry, Ht as entryForPlain, I as AuthoringValueArgument, It as classifyEnumMemberType, J as DefaultFunctionLoweringContext, Jt as instantiateAuthoringFieldPreset, K as DataTypeSupport, Kt as getAuthoringTypeConstructor, L as AuthoringWarning, Lt as collectScalarTypeConstructors, M as AuthoringTypeConstructorDescriptor, Mt as assertNoCrossRegistryCollisions, N as AuthoringTypeConstructorEntityRef, Nt as assertResolvableTypeConstructorTemplates, O as AuthoringStorageTypeTemplate, Ot as WrittenValue, P as AuthoringTypeNamespace, Pt as assertTypeAliasesValid, Q as GeneratorFunctionComponent, Qt as isAuthoringArgRef, R as AuthoringWarningSink, Rt as describeAdmittedForms, S as AuthoringModelAttributeIndexOutput, St as ScalarTypeConstructorOutput, T as AuthoringPslBlockDescriptor, Tt as TypedDefaultFunctionCall, U as ControlMutationDefaultRegistry, Ut as entryForTag, V as ContributedPslDiagnosticCode, Vt as describeRefusedValueType, W as ControlMutationDefaults, Wt as exactRewrite, X as GeneratorFunctionBinding, Xt as instantiateAuthoringTypeConstructor, Y as EMPTY_GENERATOR_FUNCTIONS, Yt as instantiateAuthoringTypeAlias, Z as GeneratorFunctionCall, Zt as instantiateAuthoringTypeConstructorFromValues, _ as AuthoringFieldPresetOutput, _n as validateAuthoringHelperArguments, _t as PslPosition, a as AuthoringAttributeSpecContributions, an as isAuthoringTypeConstructorDescriptor, at as LoweredDefaultResult, b as AuthoringModelAttributeDescriptorNamespace, bt as RefusalDescription, c as AuthoringDescriptorKinds, cn as mergeAuthoringNamespaces, ct as ParsedPslExtensionBlock, d as AuthoringEntityTypeDescriptor, dn as readWrittenValueIntoCodec, dt as PslDiagnosticCode, en as isAuthoringFieldPresetDescriptor, et as GeneratorFunctionField, f as AuthoringEntityTypeFactoryOutput, fn as resolveAuthoringTemplateValue, ft as PslExtensionBlock, g as AuthoringFieldPresetDescriptor, gn as tagForm, gt as PslExtensionBlockPrintEntry, h as AuthoringFieldNamespace, hn as singleGeneratorBinding, ht as PslExtensionBlockParsedAttribute, i as AuthoringArgumentDescriptor, in as isAuthoringTypeAliasDescriptor, it as GeneratorPhase, j as AuthoringTypeAliasOutput, jt as assembleGeneratorFunctions, k as AuthoringTemplateValue, kt as admittedForms, l as AuthoringDiagnosticSink, ln as readWrittenValue, lt as PrintedArguments, m as AuthoringEntityTypeTemplateOutput, mn as resolveTypeAliasGenerators, mt as PslExtensionBlockAttributeArg, n as AssembledControlMutationDefaults, nn as isAuthoringPslBlockDescriptor, nt as GeneratorFunctionResolution, o as AuthoringColumnDefaultTemplate, on as isAuthoringTypeDescriptor, ot as LoweredDefaultValue, p as AuthoringEntityTypeNamespace, pn as resolveEnumCodecId, pt as PslExtensionBlockAttribute, q as DataTypeWrittenForm, qt as instantiateAuthoringEntityType, r as AuthoringArgRef, rn as isAuthoringSelectRef, rt as GeneratorFunctionSummary, s as AuthoringContributions, sn as knownTags, st as MutationDefaultGeneratorDescriptor, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, tn as isAuthoringModelAttributeDescriptor, tt as GeneratorFunctionRegistry, u as AuthoringEntityContext, un as readWrittenValueAs, ut as PrintedGeneratorCall, v as AuthoringModelAttributeContext, vn as validateAuthoringTypeParams, vt as PslSpan, w as AuthoringOption, wt as SourceSpan, x as AuthoringModelAttributeEntityOutput, xt as RefusalGuidance, y as AuthoringModelAttributeDescriptor, yt as ReadRefusal, z as BindingResolution, zt as describeExpected } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
3
+ import { C as timestampNowControlDescriptor, S as temporalTypeAliases, _ 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, w as tsTaggedTemplateSource, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-De4oKG36-DlGYQgF1.mjs";
4
+ import { C as fieldPresetSpellings, E as readEnumBlockMembers, S as enumMemberProblemDiagnostic, T as getAuthoringFieldPreset, _ as authoringTypeConstructorArguments, a as DiscriminatorField, b as duplicateStoredMembers, c as DiscriminatorVariantRefusal, d as EnumBlockDiagnostic, f as EnumBlockMember, g as applyDiscriminatorRule, h as StoredEnumMember, i as DiscriminatorDecision, l as DuplicateStoredValue, m as EnumMemberProblem, n as AuthoringTypeConstructorOutput, o as DiscriminatorFieldRefusal, p as EnumBlockSite, r as DecodedEnum, s as DiscriminatorRefusal, t as AuthoringTypeConstructorCall, u as EncodedEnumMember, v as authoringTypeConstructors, w as findAuthoringTypeConstructorCall, x as encodeEnumMembers, y as describeDiscriminatorRefusal } from "./authoring-C9wgJCNs.mjs";
5
+ import { $ as validateCodecTypeParams, A as decimalTextNumberLiteral, B as printJsonText, C as castUnchanged, D as dateTimeStoredText, E as createNumberClassifier, F as isNumeralText, G as readJsonMatching, H as readJsonFloat, I as isoDateStringText, J as refuseWrongShape, K as readJsonString, L as materializeCodec, M as floatToJson, N as isIntegerIn, O as decimalTextBigintLiteral, P as isNonFiniteText, Q as storedNumeralText, R as numeralText, S as asNumeralText, T as column, U as readJsonInteger, V as readJsonBoolean, W as readJsonIntegerText, X as resolveCodecDescriptorOrThrow, Y as renderTsLiteral, Z as signedRange, _ as SAFE_INTEGER_BIGINT_RANGE, a as ColumnHelperForStrict, b as ScalarFieldDeclarationBuilder, c as DATA_TYPE_ID_PATTERN, d as INT32_RANGE, f as INT64_RANGE, g as NumberClassifierSpec, h as NumberClassification, i as ColumnHelperFor, j as floatNumberLiteral, k as decimalTextEqualityKey, l as DateTimeShape, m as IntegerStep, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as IntegerRange, q as refuseJsonValue, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as DateTimeStoredTextOptions, v as SAFE_INTEGER_RANGE, w as codecForRef, x as asFloat, y as ScalarFieldDeclaration, z as parseJsonText } from "./codec-CZ3VQq7G.mjs";
6
+ import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, l as TypesImportSpec, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-Bkh243Hv-B-fdw0Wl.mjs";
7
7
  import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
8
- import { S as checkContractComponentRequirements, _ as PackRefBase, a as ComponentMetadata, b as TargetInstance, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as TargetBoundComponentDescriptor, x as TargetPackRef, y as TargetDescriptor } from "./framework-components-DKoQnPdB-lax1COaf.mjs";
8
+ import { C as checkContractComponentRequirements, S as TargetPackRef, _ as PackRefBase, a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as SessionSettings, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-BhbsOiJc-BpDfGsqn.mjs";
9
9
  import { n as isRuntimeError, r as runtimeError, t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
10
- import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGeneratorHelpers, f as settleAggregateOverloads, i as ExtensionPackValues, l as SignatureArgumentOutput, n as AggregateOverloadAmbiguity, o as GeneratorHelpersOf, r as AggregateOverloadDuplicate, s as SettledAggregateOperation, t as AggregateCodecTraits, u as SignatureOptionalArgument } from "./components-CRBcIta_.mjs";
11
- import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-B-jKEbjI-D7BW8Gk1.mjs";
12
- import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-rY25o3Ze-ClLY3CYt.mjs";
10
+ import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGeneratorHelpers, f as settleAggregateOverloads, i as ExtensionPackValues, l as SignatureArgumentOutput, n as AggregateOverloadAmbiguity, o as GeneratorHelpersOf, r as AggregateOverloadDuplicate, s as SettledAggregateOperation, t as AggregateCodecTraits, u as SignatureOptionalArgument } from "./components-Cl5lB_Iw.mjs";
11
+ import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-bX2HmNSC-C9vDMKbg.mjs";
12
+ import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-C8W7AM1f-DYtFq1nP.mjs";
13
13
  import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
14
- import { $ as MigrationPlanWithAuthoringSurface, $n as migrationStatementJson, $t as SchemaVerifier, A as FailedCast, An as enumValueCoordinateJson, At as PslContractInferCapable, B as MigratableTargetDescriptor, Bn as failedPrecheckWhy, Bt as RowsHoldingValue, C as CreateControlStackInput, Cn as contractSnapshotTypesSpecifier, Ct as OperationContext, D as EnumValueCoordinate, Dn as dispositionForCategory, Dt as PlanOrigin, E as EmitContractResult, En as diffSchemas, Et as OperationPreviewStatement, F as FieldCoordinateJson, Fn as extractCodecTypeImports, Ft as ResolvedFieldRenameStatement, G as MigrationOperationClass, Gn as hasPslContractInfer, Gt as SchemaLabelPart, H as MigrationDataLoss, Hn as hasMigrations, Ht as SchemaDiff, I as HelperCodecInvariantInput, In as extractComponentIds, It as ResolvedMigrationStatement, J as MigrationPackage, Jn as isRenameStatement, Jt as SchemaOwnership, K as MigrationOperationPolicy, Kn as hasSchemaSubjectClassifier, Kt as SchemaLabelPartRole, L as IntrospectSchemaResult, Ln as extractParameterizedOutputTypeImports, Lt as ResolvedModelRenameStatement, M as FailedConversion, Mn as expectAbsent, Mt as ResolvedEnumValueRenameStatement, N as FailedTypeChange, Nn as expectPresent, Nt as ResolvedFieldBackfillStatement, O as EnumValueCoordinateJson, On as enforceHelperCodecInvariants, Ot as PslContractBuildCapable, P as FieldCoordinate, Pn as extractCodecLookup, Pt as ResolvedFieldConvertStatement, Q as MigrationPlanSubjects, Qn as migrationRunnerFailure, Qt as SchemaTreeVisitor, R as KeepDataEdit, Rn as extractQueryOperationTypeImports, Rt as ResolvedNamespaceRenameStatement, S as CoreSchemaView, Sn as contractSnapshotJsonSpecifier, St as OpFactoryCall, T as DiffableNode, Tn as describeMigrationStatement, Tt as OperationPreviewCapable, U as MigrationDataLossKind, Un as hasOperationPreview, Ut as SchemaDiffIssue, V as MigrationAccessChange, Vn as fieldStatementText, Vt as RowsWithoutValue, W as MigrationMetadata, Wn as hasPslContractBuild, Wt as SchemaEntityCoordinate, X as MigrationPlanNamespaces, Xn as issueLabel, Xt as SchemaTreeNode, Y as MigrationPlan, Yn as isStorageHashHex, Yt as SchemaSubjectClassifierCapable, Z as MigrationPlanOperation, Zn as issueOutcome, Zt as SchemaTreeNodeOptions, _ as ControlFamilyDescriptor, _n as VerifyDatabaseSchemaResult, _t as MigrationTemporaryValue, a as CONTRACT_SNAPSHOTS_DIRNAME, an as SpaceSignature, ar as planOriginOf, at as MigrationRunner, b as ControlTargetDescriptor, bn as assertUniqueCodecOwner, bt as ModelCoordinate, c as ContractSpace, cn as TargetMigrationsCapability, cr as schemaIssuesWhy, ct as MigrationRunnerFailureMeta, d as ControlAdapterInstance, dn as VERIFY_CODE_SCHEMA_FAILURE, dr as withFailingSpace, dt as MigrationRunnerResult, en as SchemaVerifyOptions, er as migrationSubjectJson, et as MigrationPlanner, f as ControlDriverConnectOptions, fn as VERIFY_CODE_TARGET_MISMATCH, ft as MigrationRunnerSuccessValue, g as ControlExtensionInstance, gn as VerifyDatabaseResult, gt as MigrationSubjectJson, h as ControlExtensionDescriptor, hn as VerifierOutcome, ht as MigrationSubject, i as BlockingObject, in as SpaceMarkerConflict, ir as orderIssuesByDependencies, it as MigrationPlannerSuccessResult, j as FailedCheck, jn as enumValueStatementText, jt as PslSourceSettings, k as ExpectationFailureReason, kn as enumValueCoordinateFromJson, kt as PslContractDocument, l as ContractSpaceHeadRef, ln as VERIFY_CODE_HASH_MISMATCH, lr as storageHashHex, lt as MigrationRunnerPerSpaceOptions, m as ControlDriverInstance, mn as VerifierIssueCategory, mt as MigrationStatementJson, n as AppliedMigrationStatement, nn as SchemaViewCapable, nr as modelDisplayName, nt as MigrationPlannerFailureResult, o as CheckExpectation, on as SpaceSigned, or as sameMarkerHashes, ot as MigrationRunnerExecutionChecks, p as ControlDriverDescriptor, pn as VerificationStatus, pt as MigrationScaffoldContext, q as MigrationOperationSubject, qn as hasSchemaView, qt as SchemaNodeRef, r as AssembledAuthoringContributions, rn as SchemaViewNodeKind, rr as modelStatementText, rt as MigrationPlannerResult, s as ContractSerializer, sn as SpaceToSign, sr as schemaCheckWhy, st as MigrationRunnerFailure, t as APP_SPACE_ID, tn as SchemaVerifyResult, tr as migrationSubjectKey, tt as MigrationPlannerConflict, u as ControlAdapterDescriptor, un as VERIFY_CODE_MARKER_MISSING, ur as withDatabaseUnchanged, ut as MigrationRunnerPerSpaceSuccessValue, v as ControlFamilyInstance, vn as assembleAuthoringContributions, vt as MismatchCause, w as DiffSubjectGranularity, wn as createControlStack, wt as OperationPreview, x as ControlTargetInstance, xn as buildExtensionLoadOrder, xt as ModelCoordinateJson, y as ControlStack, yn as assembleControlMutationDefaults, yt as MismatchExplanation, z as MarkerHashes, zn as failedPostcheckWhy, zt as ResolvedRenameStatement } from "./control-DeU6l9sy.mjs";
15
- import "./emission-BtJvV97M.mjs";
16
- import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-lMPVFj5o.mjs";
14
+ import { $ as MigrationPlanWithAuthoringSurface, $n as migrationStatementJson, $t as SchemaVerifier, A as FailedCast, An as enumValueCoordinateJson, At as PslContractInferCapable, B as MigratableTargetDescriptor, Bn as failedPrecheckWhy, Bt as RowsHoldingValue, C as CreateControlStackInput, Cn as contractSnapshotTypesSpecifier, Ct as OperationContext, D as EnumValueCoordinate, Dn as dispositionForCategory, Dt as PlanOrigin, E as EmitContractResult, En as diffSchemas, Et as OperationPreviewStatement, F as FieldCoordinateJson, Fn as extractCodecTypeImports, Ft as ResolvedFieldRenameStatement, G as MigrationOperationClass, Gn as hasPslContractInfer, Gt as SchemaLabelPart, H as MigrationDataLoss, Hn as hasMigrations, Ht as SchemaDiff, I as HelperCodecInvariantInput, In as extractComponentIds, It as ResolvedMigrationStatement, J as MigrationPackage, Jn as isRenameStatement, Jt as SchemaOwnership, K as MigrationOperationPolicy, Kn as hasSchemaSubjectClassifier, Kt as SchemaLabelPartRole, L as IntrospectSchemaResult, Ln as extractParameterizedOutputTypeImports, Lt as ResolvedModelRenameStatement, M as FailedConversion, Mn as expectAbsent, Mt as ResolvedEnumValueRenameStatement, N as FailedTypeChange, Nn as expectPresent, Nt as ResolvedFieldBackfillStatement, O as EnumValueCoordinateJson, On as enforceHelperCodecInvariants, Ot as PslContractBuildCapable, P as FieldCoordinate, Pn as extractCodecLookup, Pt as ResolvedFieldConvertStatement, Q as MigrationPlanSubjects, Qn as migrationRunnerFailure, Qt as SchemaTreeVisitor, R as KeepDataEdit, Rn as extractQueryOperationTypeImports, Rt as ResolvedNamespaceRenameStatement, S as CoreSchemaView, Sn as contractSnapshotJsonSpecifier, St as OpFactoryCall, T as DiffableNode, Tn as describeMigrationStatement, Tt as OperationPreviewCapable, U as MigrationDataLossKind, Un as hasOperationPreview, Ut as SchemaDiffIssue, V as MigrationAccessChange, Vn as fieldStatementText, Vt as RowsWithoutValue, W as MigrationMetadata, Wn as hasPslContractBuild, Wt as SchemaEntityCoordinate, X as MigrationPlanNamespaces, Xn as issueLabel, Xt as SchemaTreeNode, Y as MigrationPlan, Yn as isStorageHashHex, Yt as SchemaSubjectClassifierCapable, Z as MigrationPlanOperation, Zn as issueOutcome, Zt as SchemaTreeNodeOptions, _ as ControlFamilyDescriptor, _n as VerifyDatabaseSchemaResult, _t as MigrationTemporaryValue, a as CONTRACT_SNAPSHOTS_DIRNAME, an as SpaceSignature, ar as planOriginOf, at as MigrationRunner, b as ControlTargetDescriptor, bn as assertUniqueCodecOwner, bt as ModelCoordinate, c as ContractSpace, cn as TargetMigrationsCapability, cr as schemaIssuesWhy, ct as MigrationRunnerFailureMeta, d as ControlAdapterInstance, dn as VERIFY_CODE_SCHEMA_FAILURE, dr as withFailingSpace, dt as MigrationRunnerResult, en as SchemaVerifyOptions, er as migrationSubjectJson, et as MigrationPlanner, f as ControlDriverConnectOptions, fn as VERIFY_CODE_TARGET_MISMATCH, ft as MigrationRunnerSuccessValue, g as ControlExtensionInstance, gn as VerifyDatabaseResult, gt as MigrationSubjectJson, h as ControlExtensionDescriptor, hn as VerifierOutcome, ht as MigrationSubject, i as BlockingObject, in as SpaceMarkerConflict, ir as orderIssuesByDependencies, it as MigrationPlannerSuccessResult, j as FailedCheck, jn as enumValueStatementText, jt as PslSourceSettings, k as ExpectationFailureReason, kn as enumValueCoordinateFromJson, kt as PslContractDocument, l as ContractSpaceHeadRef, ln as VERIFY_CODE_HASH_MISMATCH, lr as storageHashHex, lt as MigrationRunnerPerSpaceOptions, m as ControlDriverInstance, mn as VerifierIssueCategory, mt as MigrationStatementJson, n as AppliedMigrationStatement, nn as SchemaViewCapable, nr as modelDisplayName, nt as MigrationPlannerFailureResult, o as CheckExpectation, on as SpaceSigned, or as sameMarkerHashes, ot as MigrationRunnerExecutionChecks, p as ControlDriverDescriptor, pn as VerificationStatus, pt as MigrationScaffoldContext, q as MigrationOperationSubject, qn as hasSchemaView, qt as SchemaNodeRef, r as AssembledAuthoringContributions, rn as SchemaViewNodeKind, rr as modelStatementText, rt as MigrationPlannerResult, s as ContractSerializer, sn as SpaceToSign, sr as schemaCheckWhy, st as MigrationRunnerFailure, t as APP_SPACE_ID, tn as SchemaVerifyResult, tr as migrationSubjectKey, tt as MigrationPlannerConflict, u as ControlAdapterDescriptor, un as VERIFY_CODE_MARKER_MISSING, ur as withDatabaseUnchanged, ut as MigrationRunnerPerSpaceSuccessValue, v as ControlFamilyInstance, vn as assembleAuthoringContributions, vt as MismatchCause, w as DiffSubjectGranularity, wn as createControlStack, wt as OperationPreview, x as ControlTargetInstance, xn as buildExtensionLoadOrder, xt as ModelCoordinateJson, y as ControlStack, yn as assembleControlMutationDefaults, yt as MismatchExplanation, z as MarkerHashes, zn as failedPostcheckWhy, zt as ResolvedRenameStatement } from "./control-Df-HE5e4.mjs";
15
+ import "./emission-ByTWEe2j.mjs";
16
+ import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-CgR7dFMU.mjs";
17
17
  import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
18
18
  import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b as freezeNode, c as NamespaceBase, d as Storage, f as StorageType, g as coordinateKey, h as buildSingleNamespaceView, i as EntityKindDescriptor, l as NamespacedEntities, m as buildNamespacedEntities, n as DefaultNamespaceEntries, o as IRNodeBase, p as UNBOUND_NAMESPACE_ID, r as EntityCoordinate, s as Namespace, t as AnyEntityKindDescriptor, u as SingleNamespaceView, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-LV4tXsw3.mjs";
19
- import "./psl-ast-COcYtLlz.mjs";
20
- import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-CJtzXrxx.mjs";
19
+ import "./psl-ast-sZ1tAYRc.mjs";
20
+ import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-CTJc8PII.mjs";
21
21
  import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
22
- export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type AssembledDataTypeSupport, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringValueArgument, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, type BlockingObject, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type CheckExpectation, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DateTimeShape, type DateTimeStoredTextOptions, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type GeneratorStability, type HelperCodecInvariantInput, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntegerStep, type IntrospectSchemaResult, type KeepDataEdit, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type NumberClassification, type NumberClassifierSpec, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResultType, type RowsHoldingValue, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedNumeralText, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams, withDatabaseUnchanged, withFailingSpace };
22
+ export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type AssembledDataTypeSupport, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringValueArgument, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, type BlockingObject, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type CheckExpectation, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DateTimeShape, type DateTimeStoredTextOptions, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type GeneratorStability, type HelperCodecInvariantInput, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntegerStep, type IntrospectSchemaResult, type KeepDataEdit, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type NumberClassification, type NumberClassifierSpec, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResultType, type RowsHoldingValue, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedNumeralText, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams, withDatabaseUnchanged, withFailingSpace };
@@ -7,15 +7,15 @@ import { t as emptyCodecLookup } from "./codec-types-BXLUbk-Y-DpGfKGK0.mjs";
7
7
  import { a as isAggregateDescriptor, c as mergeCapabilityMatrices, l as singleGeneratorBinding, n as aggregateDescriptorKey, o as isAnyInputAggregateDescriptor, r as assembleGeneratorFunctions, s as isNoInputAggregateDescriptor, t as EMPTY_GENERATOR_FUNCTIONS } from "./generator-functions-CXbQfvYu-BIFU1Ryx.mjs";
8
8
  import { A as isAuthoringTypeAliasDescriptor, B as resolveTemplateTagEscapes, C as instantiateAuthoringTypeConstructorFromValues, D as isAuthoringModelAttributeDescriptor, E as isAuthoringFieldPresetDescriptor, F as printTaggedLiteral, G as temporalPhaseTemplateWithParams, H as temporalAuthoringPresets, I as printedTaggedLiteralReadsBack, J as tsTaggedTemplateSource, K as temporalTypeAliases, L as resolveAuthoringTemplateValue, M as isAuthoringTypeDescriptor, O as isAuthoringPslBlockDescriptor, P as mergeAuthoringNamespaces, R as resolveEnumCodecId, S as instantiateAuthoringTypeConstructor, T as isAuthoringEntityTypeDescriptor, U as temporalCodecPreset, V as resolveTypeAliasGenerators, W as temporalPhaseTemplate, X as validateAuthoringTypeParams, Y as validateAuthoringHelperArguments, _ as flushAuthoringWarnings, a as TIMESTAMP_NOW_GENERATOR_ID, b as instantiateAuthoringFieldPreset, c as assertNoCrossRegistryCollisions, d as canonicalizeTaggedLiteralBody, f as classifyEnumMemberType, g as describeTaggedLiteralFailure, i as TEMPORAL_ON_UPDATE_ARG, j as isAuthoringTypeConstructorDescriptor, k as isAuthoringSelectRef, l as assertResolvableTypeConstructorTemplates, m as collectScalarTypeConstructors, n as TAGGED_LITERAL_MAX_BYTES, o as assembleAuthoringDataTypes, q as timestampNowControlDescriptor, r as TEMPORAL_ON_CREATE_ARG, s as assembleDataTypeSupport, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeAliasesValid, v as getAuthoringTypeConstructor, w as isAuthoringArgRef, x as instantiateAuthoringTypeAlias, y as instantiateAuthoringEntityType, z as resolvePslBacktickEscapes } from "./temporal-presets-5TK1pTYJ-DmhrnMP1.mjs";
9
9
  import { i as freezeNode, n as NamespaceBase, r as UNBOUND_NAMESPACE_ID, t as IRNodeBase } from "./namespace-VUH2dgnS-By5y75h9.mjs";
10
- import { $ as schemaIssuesWhy, A as failedPostcheckWhy, B as isStorageHashHex, C as expectAbsent, D as extractComponentIds, E as extractCodecTypeImports, F as hasPslContractBuild, G as migrationSubjectJson, H as issueOutcome, I as hasPslContractInfer, J as modelStatementText, K as migrationSubjectKey, L as hasSchemaSubjectClassifier, M as fieldStatementText, N as hasMigrations, O as extractParameterizedOutputTypeImports, P as hasOperationPreview, Q as schemaCheckWhy, R as hasSchemaView, S as enumValueStatementText, T as extractCodecLookup, U as migrationRunnerFailure, V as issueLabel, W as migrationStatementJson, X as planOriginOf, Y as orderIssuesByDependencies, Z as sameMarkerHashes, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as enumValueCoordinateFromJson, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, et as storageHashHex, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as failedPrecheckWhy, k as extractQueryOperationTypeImports, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, nt as withFailingSpace, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as modelDisplayName, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, tt as withDatabaseUnchanged, u as assembleControlMutationDefaults, v as dispositionForCategory, w as expectPresent, x as enumValueCoordinateJson, y as enforceHelperCodecInvariants, z as isRenameStatement } from "./control-28vg2QmK.mjs";
10
+ import { $ as schemaIssuesWhy, A as failedPostcheckWhy, B as isStorageHashHex, C as expectAbsent, D as extractComponentIds, E as extractCodecTypeImports, F as hasPslContractBuild, G as migrationSubjectJson, H as issueOutcome, I as hasPslContractInfer, J as modelStatementText, K as migrationSubjectKey, L as hasSchemaSubjectClassifier, M as fieldStatementText, N as hasMigrations, O as extractParameterizedOutputTypeImports, P as hasOperationPreview, Q as schemaCheckWhy, R as hasSchemaView, S as enumValueStatementText, T as extractCodecLookup, U as migrationRunnerFailure, V as issueLabel, W as migrationStatementJson, X as planOriginOf, Y as orderIssuesByDependencies, Z as sameMarkerHashes, _ as diffSchemas, a as VERIFY_CODE_HASH_MISMATCH, b as enumValueCoordinateFromJson, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, et as storageHashHex, f as buildExtensionLoadOrder, g as describeMigrationStatement, h as createControlStack, i as SchemaTreeNode, j as failedPrecheckWhy, k as extractQueryOperationTypeImports, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, nt as withFailingSpace, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, q as modelDisplayName, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, tt as withDatabaseUnchanged, u as assembleControlMutationDefaults, v as dispositionForCategory, w as expectPresent, x as enumValueCoordinateJson, y as enforceHelperCodecInvariants, z as isRenameStatement } from "./control-DKOWXGUq.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
- import { a as numeralText, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, o as readContractValue, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-D0oY-hgs-C5e11ola.mjs";
13
- import { C as readWrittenValue, E as tagForm, S as readEnumBlockMembers, T as readWrittenValueIntoCodec, _ as exactRewrite, a as authoringTypeConstructors, b as getAuthoringFieldPreset, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as fieldPresetSpellings, w as readWrittenValueAs, x as knownTags, y as findAuthoringTypeConstructorCall } from "./authoring-CNUti739.mjs";
14
- import { _ as signedRange, a as createNumberClassifier, c as decimalTextEqualityKey, d as isNumeralText, f as isoDateStringText, g as renderTsLiteral, h as refuseWrongShape, i as column, l as decimalTextNumberLiteral, m as printJsonText, n as asNumeralText, o as dateTimeStoredText, p as parseJsonText, r as castUnchanged, s as decimalTextBigintLiteral, t as asFloat, u as floatNumberLiteral, v as storedNumeralText } from "./codec-Do8tfXqk.mjs";
12
+ import { a as numeralText, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, o as readContractValue, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-CPSGZunM-DxrbRHX1.mjs";
13
+ import { C as readWrittenValue, E as tagForm, S as readEnumBlockMembers, T as readWrittenValueIntoCodec, _ as exactRewrite, a as authoringTypeConstructors, b as getAuthoringFieldPreset, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as fieldPresetSpellings, w as readWrittenValueAs, x as knownTags, y as findAuthoringTypeConstructorCall } from "./authoring-BNzxszPO.mjs";
14
+ import { _ as signedRange, a as createNumberClassifier, c as decimalTextEqualityKey, d as isNumeralText, f as isoDateStringText, g as renderTsLiteral, h as refuseWrongShape, i as column, l as decimalTextNumberLiteral, m as printJsonText, n as asNumeralText, o as dateTimeStoredText, p as parseJsonText, r as castUnchanged, s as decimalTextBigintLiteral, t as asFloat, u as floatNumberLiteral, v as storedNumeralText } from "./codec-yFwW7XRh.mjs";
15
15
  import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
16
16
  import { n as settleAggregateOverloads, t as createGeneratorHelpers } from "./components-BaV9iCkq.mjs";
17
17
  import { n as resolveRequirementSpecifiers, t as keepInternalSpecifiers } from "./emission-CeoAV9mj.mjs";
18
- import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-BNwBzmRd.mjs";
18
+ import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-DJDqCoRU.mjs";
19
19
  import { a as flatPslModels, c as namespacePslExtensionBlocks, i as flatPslCompositeTypes, n as UNBOUND_PSL_NAMESPACE_NAME, o as makePslNamespace, r as UNSPECIFIED_PSL_NAMESPACE_ID, s as makePslNamespaceEntries, t as BUILTIN_PSL_KIND_KEYS } from "./psl-ast-CyvE6CR-.mjs";
20
20
  import { _ as runtimeAborted, a as applyMutationDefaults, b as streamStatement, c as checkAborted, d as createContextBeneath, f as createMetaBuilder, g as raceAgainstAbort, h as executeStatement, i as RuntimeCore, l as checkMiddlewareCompatibility, m as defineAnnotation, n as RUNTIME_ABORTED, o as assertAnnotationsApplicable, p as createStateStore, r as RelationKeys, s as assertMutationDefaultGeneratorsAvailable, t as AsyncIterableResult, u as collectMutationDefaultGenerators, v as startClientActivity, y as startTransactionActivity } from "./runtime-DiBFiGVw.mjs";
21
21
  export { APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATA_TYPE_ID_PATTERN, EMPTY_GENERATOR_FUNCTIONS, INT32_RANGE, INT64_RANGE, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedNumeralText, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams, withDatabaseUnchanged, withFailingSpace };
@@ -1,4 +1,4 @@
1
- import { $t as isAuthoringEntityTypeDescriptor, A as AuthoringTypeAliasDescriptor, At as admittedTags, B as CastRefusal, Bt as describeRefusal, C as AuthoringModelAttributeLoweringOutput, D as AuthoringSelectRef, Dt as WrittenScalar, E as AuthoringPslBlockDescriptorNamespace, Et as WrittenForm, F as AuthoringTypeParamsIssue, Ft as castTypedValue, G as DataTypeAuthoringEntry, Gt as flushAuthoringWarnings, Ht as entryForPlain, I as AuthoringValueArgument, It as classifyEnumMemberType, Jt as instantiateAuthoringFieldPreset, K as DataTypeSupport, Kt as getAuthoringTypeConstructor, L as AuthoringWarning, Lt as collectScalarTypeConstructors, M as AuthoringTypeConstructorDescriptor, Mt as assertNoCrossRegistryCollisions, N as AuthoringTypeConstructorEntityRef, Nt as assertResolvableTypeConstructorTemplates, O as AuthoringStorageTypeTemplate, Ot as WrittenValue, P as AuthoringTypeNamespace, Pt as assertTypeAliasesValid, Qt as isAuthoringArgRef, R as AuthoringWarningSink, Rt as describeAdmittedForms, S as AuthoringModelAttributeIndexOutput, St as ScalarTypeConstructorOutput, T as AuthoringPslBlockDescriptor, Ut as entryForTag, Vt as describeRefusedValueType, Wt as exactRewrite, Xt as instantiateAuthoringTypeConstructor, Yt as instantiateAuthoringTypeAlias, Zt as instantiateAuthoringTypeConstructorFromValues, _ as AuthoringFieldPresetOutput, _n as validateAuthoringHelperArguments, a as AuthoringAttributeSpecContributions, an as isAuthoringTypeConstructorDescriptor, b as AuthoringModelAttributeDescriptorNamespace, bt as RefusalDescription, c as AuthoringDescriptorKinds, cn as mergeAuthoringNamespaces, ct as ParsedPslExtensionBlock, d as AuthoringEntityTypeDescriptor, dn as readWrittenValueIntoCodec, en as isAuthoringFieldPresetDescriptor, f as AuthoringEntityTypeFactoryOutput, fn as resolveAuthoringTemplateValue, ft as PslExtensionBlock, g as AuthoringFieldPresetDescriptor, gn as tagForm, gt as PslExtensionBlockPrintEntry, h as AuthoringFieldNamespace, ht as PslExtensionBlockParsedAttribute, i as AuthoringArgumentDescriptor, in as isAuthoringTypeAliasDescriptor, j as AuthoringTypeAliasOutput, k as AuthoringTemplateValue, kt as admittedForms, l as AuthoringDiagnosticSink, ln as readWrittenValue, m as AuthoringEntityTypeTemplateOutput, mn as resolveTypeAliasGenerators, nn as isAuthoringPslBlockDescriptor, o as AuthoringColumnDefaultTemplate, on as isAuthoringTypeDescriptor, p as AuthoringEntityTypeNamespace, pn as resolveEnumCodecId, q as DataTypeWrittenForm, qt as instantiateAuthoringEntityType, r as AuthoringArgRef, rn as isAuthoringSelectRef, s as AuthoringContributions, sn as knownTags, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, tn as isAuthoringModelAttributeDescriptor, u as AuthoringEntityContext, un as readWrittenValueAs, v as AuthoringModelAttributeContext, vn as validateAuthoringTypeParams, w as AuthoringOption, x as AuthoringModelAttributeEntityOutput, xt as RefusalGuidance, y as AuthoringModelAttributeDescriptor, yt as ReadRefusal, zt as describeExpected } from "./framework-authoring-DDxddXZm-uZYdhoE0.mjs";
2
- import { S as temporalTypeAliases, _ as resolveTemplateTagEscapes, b as temporalPhaseTemplate, c as TIMESTAMP_NOW_GENERATOR_ID, d as assembleDataTypeSupport, f as canonicalizeTaggedLiteralBody, h as printedTaggedLiteralReadsBack, i as PresetStorageTemplate, l as TaggedLiteralCanonicalization, m as printTaggedLiteral, o as TEMPORAL_ON_CREATE_ARG, p as describeTaggedLiteralFailure, r as DataTypeComponent, s as TEMPORAL_ON_UPDATE_ARG, t as AssembledDataTypeSupport, u as assembleAuthoringDataTypes, v as temporalAuthoringPresets, w as tsTaggedTemplateSource, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-BuMqk7h8-DZSuu4Z_.mjs";
3
- import { C as fieldPresetSpellings, E as readEnumBlockMembers, S as enumMemberProblemDiagnostic, T as getAuthoringFieldPreset, _ as authoringTypeConstructorArguments, a as DiscriminatorField, b as duplicateStoredMembers, c as DiscriminatorVariantRefusal, d as EnumBlockDiagnostic, f as EnumBlockMember, g as applyDiscriminatorRule, h as StoredEnumMember, i as DiscriminatorDecision, l as DuplicateStoredValue, m as EnumMemberProblem, n as AuthoringTypeConstructorOutput, o as DiscriminatorFieldRefusal, p as EnumBlockSite, r as DecodedEnum, s as DiscriminatorRefusal, t as AuthoringTypeConstructorCall, u as EncodedEnumMember, v as authoringTypeConstructors, w as findAuthoringTypeConstructorCall, x as encodeEnumMembers, y as describeDiscriminatorRefusal } from "./authoring-CjwinhU5.mjs";
1
+ import { $t as isAuthoringEntityTypeDescriptor, A as AuthoringTypeAliasDescriptor, At as admittedTags, B as CastRefusal, Bt as describeRefusal, C as AuthoringModelAttributeLoweringOutput, D as AuthoringSelectRef, Dt as WrittenScalar, E as AuthoringPslBlockDescriptorNamespace, Et as WrittenForm, F as AuthoringTypeParamsIssue, Ft as castTypedValue, G as DataTypeAuthoringEntry, Gt as flushAuthoringWarnings, Ht as entryForPlain, I as AuthoringValueArgument, It as classifyEnumMemberType, Jt as instantiateAuthoringFieldPreset, K as DataTypeSupport, Kt as getAuthoringTypeConstructor, L as AuthoringWarning, Lt as collectScalarTypeConstructors, M as AuthoringTypeConstructorDescriptor, Mt as assertNoCrossRegistryCollisions, N as AuthoringTypeConstructorEntityRef, Nt as assertResolvableTypeConstructorTemplates, O as AuthoringStorageTypeTemplate, Ot as WrittenValue, P as AuthoringTypeNamespace, Pt as assertTypeAliasesValid, Qt as isAuthoringArgRef, R as AuthoringWarningSink, Rt as describeAdmittedForms, S as AuthoringModelAttributeIndexOutput, St as ScalarTypeConstructorOutput, T as AuthoringPslBlockDescriptor, Ut as entryForTag, Vt as describeRefusedValueType, Wt as exactRewrite, Xt as instantiateAuthoringTypeConstructor, Yt as instantiateAuthoringTypeAlias, Zt as instantiateAuthoringTypeConstructorFromValues, _ as AuthoringFieldPresetOutput, _n as validateAuthoringHelperArguments, a as AuthoringAttributeSpecContributions, an as isAuthoringTypeConstructorDescriptor, b as AuthoringModelAttributeDescriptorNamespace, bt as RefusalDescription, c as AuthoringDescriptorKinds, cn as mergeAuthoringNamespaces, ct as ParsedPslExtensionBlock, d as AuthoringEntityTypeDescriptor, dn as readWrittenValueIntoCodec, en as isAuthoringFieldPresetDescriptor, f as AuthoringEntityTypeFactoryOutput, fn as resolveAuthoringTemplateValue, ft as PslExtensionBlock, g as AuthoringFieldPresetDescriptor, gn as tagForm, gt as PslExtensionBlockPrintEntry, h as AuthoringFieldNamespace, ht as PslExtensionBlockParsedAttribute, i as AuthoringArgumentDescriptor, in as isAuthoringTypeAliasDescriptor, j as AuthoringTypeAliasOutput, k as AuthoringTemplateValue, kt as admittedForms, l as AuthoringDiagnosticSink, ln as readWrittenValue, m as AuthoringEntityTypeTemplateOutput, mn as resolveTypeAliasGenerators, nn as isAuthoringPslBlockDescriptor, o as AuthoringColumnDefaultTemplate, on as isAuthoringTypeDescriptor, p as AuthoringEntityTypeNamespace, pn as resolveEnumCodecId, q as DataTypeWrittenForm, qt as instantiateAuthoringEntityType, r as AuthoringArgRef, rn as isAuthoringSelectRef, s as AuthoringContributions, sn as knownTags, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, tn as isAuthoringModelAttributeDescriptor, u as AuthoringEntityContext, un as readWrittenValueAs, v as AuthoringModelAttributeContext, vn as validateAuthoringTypeParams, w as AuthoringOption, x as AuthoringModelAttributeEntityOutput, xt as RefusalGuidance, y as AuthoringModelAttributeDescriptor, yt as ReadRefusal, zt as describeExpected } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
2
+ import { S as temporalTypeAliases, _ as resolveTemplateTagEscapes, b as temporalPhaseTemplate, c as TIMESTAMP_NOW_GENERATOR_ID, d as assembleDataTypeSupport, f as canonicalizeTaggedLiteralBody, h as printedTaggedLiteralReadsBack, i as PresetStorageTemplate, l as TaggedLiteralCanonicalization, m as printTaggedLiteral, o as TEMPORAL_ON_CREATE_ARG, p as describeTaggedLiteralFailure, r as DataTypeComponent, s as TEMPORAL_ON_UPDATE_ARG, t as AssembledDataTypeSupport, u as assembleAuthoringDataTypes, v as temporalAuthoringPresets, w as tsTaggedTemplateSource, x as temporalPhaseTemplateWithParams, y as temporalCodecPreset } from "./temporal-presets-De4oKG36-DlGYQgF1.mjs";
3
+ import { C as fieldPresetSpellings, E as readEnumBlockMembers, S as enumMemberProblemDiagnostic, T as getAuthoringFieldPreset, _ as authoringTypeConstructorArguments, a as DiscriminatorField, b as duplicateStoredMembers, c as DiscriminatorVariantRefusal, d as EnumBlockDiagnostic, f as EnumBlockMember, g as applyDiscriminatorRule, h as StoredEnumMember, i as DiscriminatorDecision, l as DuplicateStoredValue, m as EnumMemberProblem, n as AuthoringTypeConstructorOutput, o as DiscriminatorFieldRefusal, p as EnumBlockSite, r as DecodedEnum, s as DiscriminatorRefusal, t as AuthoringTypeConstructorCall, u as EncodedEnumMember, v as authoringTypeConstructors, w as findAuthoringTypeConstructorCall, x as encodeEnumMembers, y as describeDiscriminatorRefusal } from "./authoring-C9wgJCNs.mjs";
4
4
  export { AUTHORING_TYPE_DESCRIPTOR_KINDS, type AssembledDataTypeSupport, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeParamsIssue, type AuthoringValueArgument, type AuthoringWarning, type AuthoringWarningSink, type CastRefusal, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeSupport, type DataTypeWrittenForm, type DecodedEnum, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, 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, applyDiscriminatorRule, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertTypeAliasesValid, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, resolveTypeAliasGenerators, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
@@ -1,3 +1,3 @@
1
1
  import { A as isAuthoringTypeAliasDescriptor, B as resolveTemplateTagEscapes, C as instantiateAuthoringTypeConstructorFromValues, D as isAuthoringModelAttributeDescriptor, E as isAuthoringFieldPresetDescriptor, F as printTaggedLiteral, G as temporalPhaseTemplateWithParams, H as temporalAuthoringPresets, I as printedTaggedLiteralReadsBack, J as tsTaggedTemplateSource, K as temporalTypeAliases, L as resolveAuthoringTemplateValue, M as isAuthoringTypeDescriptor, O as isAuthoringPslBlockDescriptor, P as mergeAuthoringNamespaces, R as resolveEnumCodecId, S as instantiateAuthoringTypeConstructor, T as isAuthoringEntityTypeDescriptor, U as temporalCodecPreset, V as resolveTypeAliasGenerators, W as temporalPhaseTemplate, X as validateAuthoringTypeParams, Y as validateAuthoringHelperArguments, _ as flushAuthoringWarnings, a as TIMESTAMP_NOW_GENERATOR_ID, b as instantiateAuthoringFieldPreset, c as assertNoCrossRegistryCollisions, d as canonicalizeTaggedLiteralBody, f as classifyEnumMemberType, g as describeTaggedLiteralFailure, i as TEMPORAL_ON_UPDATE_ARG, j as isAuthoringTypeConstructorDescriptor, k as isAuthoringSelectRef, l as assertResolvableTypeConstructorTemplates, m as collectScalarTypeConstructors, o as assembleAuthoringDataTypes, r as TEMPORAL_ON_CREATE_ARG, s as assembleDataTypeSupport, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeAliasesValid, v as getAuthoringTypeConstructor, w as isAuthoringArgRef, x as instantiateAuthoringTypeAlias, y as instantiateAuthoringEntityType } from "./temporal-presets-5TK1pTYJ-DmhrnMP1.mjs";
2
- import { C as readWrittenValue, E as tagForm, S as readEnumBlockMembers, T as readWrittenValueIntoCodec, _ as exactRewrite, a as authoringTypeConstructors, b as getAuthoringFieldPreset, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as fieldPresetSpellings, w as readWrittenValueAs, x as knownTags, y as findAuthoringTypeConstructorCall } from "./authoring-CNUti739.mjs";
2
+ import { C as readWrittenValue, E as tagForm, S as readEnumBlockMembers, T as readWrittenValueIntoCodec, _ as exactRewrite, a as authoringTypeConstructors, b as getAuthoringFieldPreset, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as fieldPresetSpellings, w as readWrittenValueAs, x as knownTags, y as findAuthoringTypeConstructorCall } from "./authoring-BNzxszPO.mjs";
3
3
  export { AUTHORING_TYPE_DESCRIPTOR_KINDS, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, applyDiscriminatorRule, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertTypeAliasesValid, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeAlias, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeAliasDescriptor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, resolveTypeAliasGenerators, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, temporalTypeAliases, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams };
@@ -1,3 +1,3 @@
1
- import { A as createDataTypeLookup, B as requireValueOf, C as DataTypeSpec, D as TypeLookups, E as ListCast, F as dataTypeValuesEqual, H as requiredSchemaKeys, I as emptyCodecLookup, L as enumRefusalOf, M as dataTypeId, N as dataTypeParams, O as assembleDataTypes, P as dataTypeParamsProblem, R as objectSchemaKeys, S as DataTypeReader, T as DataTypeValue, U as schemaKeysAllowing, V as requiredParamKeys, _ as DataType, a as CodecCallContext, b as DataTypeParams, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as CodecTrait, h as CodecRegistry, i as Codec, j as dataType, k as assertDataTypeParams, l as CodecDescriptorTemplateImpl, m as CodecRef, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecLookupWithDescriptors, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeId, w as DataTypeSpelling, x as DataTypeParamsProblem, y as DataTypeLookup, z as readContractValue } from "./codec-types-CPgEZoIq-BL9hisr8.mjs";
2
- import { $ as validateCodecTypeParams, A as decimalTextNumberLiteral, B as printJsonText, C as castUnchanged, D as dateTimeStoredText, E as createNumberClassifier, F as isNumeralText, G as readJsonMatching, H as readJsonFloat, I as isoDateStringText, J as refuseWrongShape, K as readJsonString, L as materializeCodec, M as floatToJson, N as isIntegerIn, O as decimalTextBigintLiteral, P as isNonFiniteText, Q as storedNumeralText, R as numeralText, S as asNumeralText, T as column, U as readJsonInteger, V as readJsonBoolean, W as readJsonIntegerText, X as resolveCodecDescriptorOrThrow, Y as renderTsLiteral, Z as signedRange, _ as SAFE_INTEGER_BIGINT_RANGE, a as ColumnHelperForStrict, b as ScalarFieldDeclarationBuilder, c as DATA_TYPE_ID_PATTERN, d as INT32_RANGE, f as INT64_RANGE, g as NumberClassifierSpec, h as NumberClassification, i as ColumnHelperFor, j as floatNumberLiteral, k as decimalTextEqualityKey, l as DateTimeShape, m as IntegerStep, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as IntegerRange, q as refuseJsonValue, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as DateTimeStoredTextOptions, v as SAFE_INTEGER_RANGE, w as codecForRef, x as asFloat, y as ScalarFieldDeclaration, z as parseJsonText } from "./codec-B4ypaota.mjs";
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-B4wPvO-K-BqcGrCE-.mjs";
2
+ import { $ as validateCodecTypeParams, A as decimalTextNumberLiteral, B as printJsonText, C as castUnchanged, D as dateTimeStoredText, E as createNumberClassifier, F as isNumeralText, G as readJsonMatching, H as readJsonFloat, I as isoDateStringText, J as refuseWrongShape, K as readJsonString, L as materializeCodec, M as floatToJson, N as isIntegerIn, O as decimalTextBigintLiteral, P as isNonFiniteText, Q as storedNumeralText, R as numeralText, S as asNumeralText, T as column, U as readJsonInteger, V as readJsonBoolean, W as readJsonIntegerText, X as resolveCodecDescriptorOrThrow, Y as renderTsLiteral, Z as signedRange, _ as SAFE_INTEGER_BIGINT_RANGE, a as ColumnHelperForStrict, b as ScalarFieldDeclarationBuilder, c as DATA_TYPE_ID_PATTERN, d as INT32_RANGE, f as INT64_RANGE, g as NumberClassifierSpec, h as NumberClassification, i as ColumnHelperFor, j as floatNumberLiteral, k as decimalTextEqualityKey, l as DateTimeShape, m as IntegerStep, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as IntegerRange, q as refuseJsonValue, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as DateTimeStoredTextOptions, v as SAFE_INTEGER_RANGE, w as codecForRef, x as asFloat, y as ScalarFieldDeclaration, z as parseJsonText } from "./codec-CZ3VQq7G.mjs";
3
3
  export { type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type BigIntRange, CONTRACT_CODEC_DESCRIPTOR_MISSING, type Cast, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeValue, type DateTimeShape, type DateTimeStoredTextOptions, INT32_RANGE, INT64_RANGE, type IntegerRange, type IntegerStep, type ListCast, type NumberClassification, type NumberClassifierSpec, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type TypeLookups, asFloat, asNumeralText, assembleDataTypes, assertDataTypeParams, castUnchanged, codecForRef, column, createDataTypeLookup, createNumberClassifier, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, emptyCodecLookup, enumRefusalOf, floatNumberLiteral, floatToJson, isIntegerIn, isNonFiniteText, isNumeralText, isoDateStringText, materializeCodec, numeralText, objectSchemaKeys, parseJsonText, printJsonText, readContractValue, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveCodecDescriptorOrThrow, schemaKeysAllowing, signedRange, storedNumeralText, validateCodecTypeParams };
@@ -1,6 +1,6 @@
1
1
  import { C as readJsonString, D as requiredSchemaKeys, E as requiredParamKeys, O as schemaKeysAllowing, S as readJsonMatching, T as requireValueOf, _ as objectSchemaKeys, a as SAFE_INTEGER_RANGE, b as readJsonInteger, c as createDataTypeLookup, d as dataTypeParams, f as dataTypeParamsProblem, g as isNonFiniteText, h as isIntegerIn, i as SAFE_INTEGER_BIGINT_RANGE, l as dataType, m as floatToJson, n as INT32_RANGE, o as assembleDataTypes, p as dataTypeValuesEqual, r as INT64_RANGE, s as assertDataTypeParams, t as DATA_TYPE_ID_PATTERN, u as dataTypeId, v as readJsonBoolean, w as refuseJsonValue, x as readJsonIntegerText, y as readJsonFloat } from "./data-type-V6mcDhcG-DVQAPOQT.mjs";
2
2
  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";
3
3
  import { t as emptyCodecLookup } from "./codec-types-BXLUbk-Y-DpGfKGK0.mjs";
4
- import { a as numeralText, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, o as readContractValue, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-D0oY-hgs-C5e11ola.mjs";
5
- import { _ as signedRange, a as createNumberClassifier, c as decimalTextEqualityKey, d as isNumeralText, f as isoDateStringText, g as renderTsLiteral, h as refuseWrongShape, i as column, l as decimalTextNumberLiteral, m as printJsonText, n as asNumeralText, o as dateTimeStoredText, p as parseJsonText, r as castUnchanged, s as decimalTextBigintLiteral, t as asFloat, u as floatNumberLiteral, v as storedNumeralText } from "./codec-Do8tfXqk.mjs";
4
+ import { a as numeralText, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, o as readContractValue, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-CPSGZunM-DxrbRHX1.mjs";
5
+ import { _ as signedRange, a as createNumberClassifier, c as decimalTextEqualityKey, d as isNumeralText, f as isoDateStringText, g as renderTsLiteral, h as refuseWrongShape, i as column, l as decimalTextNumberLiteral, m as printJsonText, n as asNumeralText, o as dateTimeStoredText, p as parseJsonText, r as castUnchanged, s as decimalTextBigintLiteral, t as asFloat, u as floatNumberLiteral, v as storedNumeralText } from "./codec-yFwW7XRh.mjs";
6
6
  export { CONTRACT_CODEC_DESCRIPTOR_MISSING, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATA_TYPE_ID_PATTERN, INT32_RANGE, INT64_RANGE, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, asFloat, asNumeralText, assembleDataTypes, assertDataTypeParams, castUnchanged, codecForRef, column, createDataTypeLookup, createNumberClassifier, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, emptyCodecLookup, enumRefusalOf, floatNumberLiteral, floatToJson, isIntegerIn, isNonFiniteText, isNumeralText, isoDateStringText, materializeCodec, numeralText, objectSchemaKeys, parseJsonText, printJsonText, readContractValue, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveCodecDescriptorOrThrow, schemaKeysAllowing, signedRange, storedNumeralText, validateCodecTypeParams };
@@ -1,7 +1,7 @@
1
- import { $ as GeneratorFunctionContribution, Q as GeneratorFunctionComponent, X as GeneratorFunctionBinding, Y as EMPTY_GENERATOR_FUNCTIONS, Z as GeneratorFunctionCall, et as GeneratorFunctionField, hn as singleGeneratorBinding, it as GeneratorPhase, jt as assembleGeneratorFunctions, lt as PrintedArguments, nt as GeneratorFunctionResolution, rt as GeneratorFunctionSummary, st as MutationDefaultGeneratorDescriptor, tt as GeneratorFunctionRegistry, ut as PrintedGeneratorCall, z as BindingResolution } from "./framework-authoring-DDxddXZm-uZYdhoE0.mjs";
2
- import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-DQjfX-gM-zVncuzs0.mjs";
1
+ import { $ as GeneratorFunctionContribution, Q as GeneratorFunctionComponent, X as GeneratorFunctionBinding, Y as EMPTY_GENERATOR_FUNCTIONS, Z as GeneratorFunctionCall, et as GeneratorFunctionField, hn as singleGeneratorBinding, it as GeneratorPhase, jt as assembleGeneratorFunctions, lt as PrintedArguments, nt as GeneratorFunctionResolution, rt as GeneratorFunctionSummary, st as MutationDefaultGeneratorDescriptor, tt as GeneratorFunctionRegistry, ut as PrintedGeneratorCall, z as BindingResolution } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
2
+ import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-Bkh243Hv-B-fdw0Wl.mjs";
3
3
  import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
4
- import { S as checkContractComponentRequirements, _ as PackRefBase, a as ComponentMetadata, b as TargetInstance, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as TargetBoundComponentDescriptor, x as TargetPackRef, y as TargetDescriptor } from "./framework-components-DKoQnPdB-lax1COaf.mjs";
4
+ import { C as checkContractComponentRequirements, S as TargetPackRef, _ as PackRefBase, a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as SessionSettings, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-BhbsOiJc-BpDfGsqn.mjs";
5
5
  import { n as isRuntimeError, r as runtimeError, t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
6
- import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGeneratorHelpers, f as settleAggregateOverloads, i as ExtensionPackValues, l as SignatureArgumentOutput, n as AggregateOverloadAmbiguity, o as GeneratorHelpersOf, r as AggregateOverloadDuplicate, s as SettledAggregateOperation, t as AggregateCodecTraits, u as SignatureOptionalArgument } from "./components-CRBcIta_.mjs";
7
- export { type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnyInputAggregateDescriptor, type BindingResolution, type CapabilityMatrix, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type DriverDescriptor, type DriverInstance, type DriverPackRef, EMPTY_GENERATOR_FUNCTIONS, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type NoInputAggregateDescriptor, type PackRefBase, type PrintedArguments, type PrintedGeneratorCall, type RuntimeErrorEnvelope, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type SignatureArgumentOutput, type SignatureOptionalArgument, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetPackRef, type ValueInputAggregateDescriptor, aggregateDescriptorKey, assembleGeneratorFunctions, checkContractComponentRequirements, createGeneratorHelpers, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, isRuntimeError, mergeCapabilityMatrices, runtimeError, settleAggregateOverloads, singleGeneratorBinding };
6
+ import { a as GeneratorHelper, c as SettledAggregateOverloads, d as createGeneratorHelpers, f as settleAggregateOverloads, i as ExtensionPackValues, l as SignatureArgumentOutput, n as AggregateOverloadAmbiguity, o as GeneratorHelpersOf, r as AggregateOverloadDuplicate, s as SettledAggregateOperation, t as AggregateCodecTraits, u as SignatureOptionalArgument } from "./components-Cl5lB_Iw.mjs";
7
+ export { type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnyInputAggregateDescriptor, type BindingResolution, type CapabilityMatrix, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type DriverDescriptor, type DriverInstance, type DriverPackRef, EMPTY_GENERATOR_FUNCTIONS, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type NoInputAggregateDescriptor, type PackRefBase, type PrintedArguments, type PrintedGeneratorCall, type RuntimeErrorEnvelope, type SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type SignatureArgumentOutput, type SignatureOptionalArgument, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetPackRef, type ValueInputAggregateDescriptor, aggregateDescriptorKey, assembleGeneratorFunctions, checkContractComponentRequirements, createGeneratorHelpers, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, isRuntimeError, mergeCapabilityMatrices, runtimeError, settleAggregateOverloads, singleGeneratorBinding };