@prisma/orm-framework 8.0.0-rc.24-dev.27 → 8.0.0-rc.24-dev.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/{authoring-DnYn5EZT.mjs → authoring-BoRTq-7r.mjs} +2 -2
- package/dist/{authoring-DnYn5EZT.mjs.map → authoring-BoRTq-7r.mjs.map} +1 -1
- package/dist/{binder-CMy3WM5A-gjYNJqla.d.mts → binder-CMy3WM5A-BjkRdpH6.d.mts} +4 -4
- package/dist/{binder-CMy3WM5A-gjYNJqla.d.mts.map → binder-CMy3WM5A-BjkRdpH6.d.mts.map} +1 -1
- package/dist/boolean-C37kSXDF.mjs +14 -0
- package/dist/boolean-C37kSXDF.mjs.map +1 -0
- package/dist/boolean-CcUSuhCU.d.mts +9 -0
- package/dist/boolean-CcUSuhCU.d.mts.map +1 -0
- package/dist/{codec-yFwW7XRh.mjs → codec-CBJNOQS4.mjs} +2 -2
- package/dist/{codec-yFwW7XRh.mjs.map → codec-CBJNOQS4.mjs.map} +1 -1
- package/dist/{components-BaV9iCkq.mjs → components-Bx7dm2HO.mjs} +2 -2
- package/dist/{components-BaV9iCkq.mjs.map → components-Bx7dm2HO.mjs.map} +1 -1
- package/dist/components.d.mts +5 -5
- package/dist/components.mjs +7 -8
- package/dist/components__authoring.mjs +2 -2
- package/dist/components__codec.mjs +1 -1
- package/dist/components__components.mjs +2 -2
- package/dist/components__control.d.mts +1 -1
- package/dist/components__control.mjs +2 -2
- package/dist/components__emission.d.mts +3 -3
- package/dist/components__emission.mjs +1 -2
- package/dist/{config-types-D0mYyP62.mjs → config-types-DlaG0ylV.mjs} +4 -2
- package/dist/config-types-DlaG0ylV.mjs.map +1 -0
- package/dist/{config-types-Ck3UXVIU.d.mts → config-types-DvM9eXG7.d.mts} +6 -2
- package/dist/{config-types-Ck3UXVIU.d.mts.map → config-types-DvM9eXG7.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/config__config-types.mjs +1 -1
- package/dist/contract-authoring.mjs +3 -3
- package/dist/{control-BeXOxtXA-CoPQgVyR.d.mts → control-BeXOxtXA-D1DDBvDL.d.mts} +2 -2
- package/dist/{control-BeXOxtXA-CoPQgVyR.d.mts.map → control-BeXOxtXA-D1DDBvDL.d.mts.map} +1 -1
- package/dist/control-DI1fnOUO.d.mts +1 -0
- package/dist/{control-B0KO727Y.mjs → control-DNwP6V2m.mjs} +3 -3
- package/dist/{control-B0KO727Y.mjs.map → control-DNwP6V2m.mjs.map} +1 -1
- package/dist/{control-MllEQmML-IlhSvGbE.mjs → control-MllEQmML-aKdJLwRB.mjs} +2 -2
- package/dist/{control-MllEQmML-IlhSvGbE.mjs.map → control-MllEQmML-aKdJLwRB.mjs.map} +1 -1
- package/dist/{control-B3QHYJcv.d.mts → control-rzZBO0wp.d.mts} +116 -121
- package/dist/control-rzZBO0wp.d.mts.map +1 -0
- package/dist/decimal-CetFpCr5.mjs +49 -0
- package/dist/decimal-CetFpCr5.mjs.map +1 -0
- package/dist/decimal-DpMh1SwW.d.mts +15 -0
- package/dist/decimal-DpMh1SwW.d.mts.map +1 -0
- package/dist/{declarations-8CRDqUTt-B0YG2lqY.mjs → declarations-8CRDqUTt-BZ6aspIz.mjs} +2 -2
- package/dist/{declarations-8CRDqUTt-B0YG2lqY.mjs.map → declarations-8CRDqUTt-BZ6aspIz.mjs.map} +1 -1
- package/dist/{dist-D1f6xr7F.mjs → dist-s8Mn2iIF.mjs} +7 -10
- package/dist/dist-s8Mn2iIF.mjs.map +1 -0
- package/dist/{emission-DGYCaKjl.d.mts → emission-ZgkI1aFl.d.mts} +1 -1
- package/dist/{emission-types-bX2HmNSC-vaRddb1_.d.mts → emission-types-BuZVDb1i-BnSb9rsQ.d.mts} +6 -42
- package/dist/emission-types-BuZVDb1i-BnSb9rsQ.d.mts.map +1 -0
- package/dist/errors.d.mts +4 -4
- package/dist/errors.mjs +3 -3
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__control.mjs +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__execution.mjs +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/errors__migration.mjs +1 -1
- package/dist/{execution-DLAnWNAh.d.mts → execution-Bbc4v1Vn.d.mts} +2 -2
- package/dist/{execution-DLAnWNAh.d.mts.map → execution-Bbc4v1Vn.d.mts.map} +1 -1
- package/dist/{execution-DE_55Rj3.mjs → execution-DMqI5fFP.mjs} +2 -2
- package/dist/{execution-DE_55Rj3.mjs.map → execution-DMqI5fFP.mjs.map} +1 -1
- package/dist/{expressions-BlhT51Ib-CQCMuQD8.mjs → expressions-BlhT51Ib-DfkeWOwr.mjs} +2 -2
- package/dist/{expressions-BlhT51Ib-CQCMuQD8.mjs.map → expressions-BlhT51Ib-DfkeWOwr.mjs.map} +1 -1
- package/dist/{generator-functions-CXbQfvYu-BIFU1Ryx.mjs → generator-functions-VMolCOGa-xY11fV0Q.mjs} +4 -3
- package/dist/generator-functions-VMolCOGa-xY11fV0Q.mjs.map +1 -0
- package/dist/json-Cjj5_v0y.mjs +67 -0
- package/dist/json-Cjj5_v0y.mjs.map +1 -0
- package/dist/json-oOHvzn6v.d.mts +18 -0
- package/dist/json-oOHvzn6v.d.mts.map +1 -0
- package/dist/{migration-rWN1KSXH.mjs → migration-BfPqhbjG.mjs} +2 -2
- package/dist/{migration-rWN1KSXH.mjs.map → migration-BfPqhbjG.mjs.map} +1 -1
- package/dist/{migration-KEyQBpKF.d.mts → migration-BiqyI92H.d.mts} +2 -2
- package/dist/{migration-KEyQBpKF.d.mts.map → migration-BiqyI92H.d.mts.map} +1 -1
- package/dist/{parse-D-B_nrfC-FsqZwLif.mjs → parse-D-B_nrfC-agY84gQk.mjs} +3 -3
- package/dist/{parse-D-B_nrfC-FsqZwLif.mjs.map → parse-D-B_nrfC-agY84gQk.mjs.map} +1 -1
- package/dist/{parse-djL5wker-Bx0JH2c_.d.mts → parse-djL5wker-DNAOL0Cj.d.mts} +2 -2
- package/dist/{parse-djL5wker-Bx0JH2c_.d.mts.map → parse-djL5wker-DNAOL0Cj.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +3 -3
- package/dist/psl-parser.mjs +5 -5
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__format.mjs +3 -3
- package/dist/psl-parser__interpret.d.mts +3 -3
- package/dist/psl-parser__interpret.mjs +2 -2
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-parser__syntax.mjs +3 -3
- package/dist/psl-printer.mjs +5 -2
- package/dist/psl-printer.mjs.map +1 -1
- package/dist/target-package-config.d.mts +2 -0
- package/dist/target-package-config.mjs +2 -0
- package/dist/target-package-config__type-declarations.d.mts +2 -0
- package/dist/target-package-config__type-declarations.mjs +2 -0
- package/dist/{temporal-type-aliases-CFh3BW2a-DOlmiuQn.mjs → temporal-type-aliases-CFh3BW2a-CeZV7A5h.mjs} +2 -2
- package/dist/{temporal-type-aliases-CFh3BW2a-DOlmiuQn.mjs.map → temporal-type-aliases-CFh3BW2a-CeZV7A5h.mjs.map} +1 -1
- package/dist/ts-render.mjs +1 -1
- package/dist/{type-constructor-calls-Bfg5ojed-Ld7LE20u.mjs → type-constructor-calls-Bfg5ojed-DlLeoRYW.mjs} +4 -4
- package/dist/{type-constructor-calls-Bfg5ojed-Ld7LE20u.mjs.map → type-constructor-calls-Bfg5ojed-DlLeoRYW.mjs.map} +1 -1
- package/dist/type-declarations-CPPGpPSj.mjs +58 -0
- package/dist/type-declarations-CPPGpPSj.mjs.map +1 -0
- package/dist/type-declarations-C_77eFnt.d.mts +11 -0
- package/dist/type-declarations-C_77eFnt.d.mts.map +1 -0
- package/dist/type-implementations.d.mts +4 -1
- package/dist/type-implementations.mjs +4 -1
- package/dist/type-implementations__boolean.d.mts +2 -0
- package/dist/type-implementations__boolean.mjs +2 -0
- package/dist/type-implementations__decimal.d.mts +2 -0
- package/dist/type-implementations__decimal.mjs +2 -0
- package/dist/type-implementations__json.d.mts +2 -0
- package/dist/type-implementations__json.mjs +2 -0
- package/package.json +22 -16
- package/dist/config-types-D0mYyP62.mjs.map +0 -1
- package/dist/control-B0WmeKXX.d.mts +0 -1
- package/dist/control-B3QHYJcv.d.mts.map +0 -1
- package/dist/dist-D1f6xr7F.mjs.map +0 -1
- package/dist/emission-CeoAV9mj.mjs +0 -26
- package/dist/emission-CeoAV9mj.mjs.map +0 -1
- package/dist/emission-types-bX2HmNSC-vaRddb1_.d.mts.map +0 -1
- package/dist/generator-functions-CXbQfvYu-BIFU1Ryx.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
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//# 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,OAAO,UAAU;;;;;;;AAOpH,MAAM,WAAW,UAAU;CAC1B,IAAI,OAAO,UAAU,UAAU,OAAO;CAC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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-CBJNOQS4.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//# sourceMappingURL=codec.mjs.map"],"mappings":";;;;;;;AASA,MAAM,iBAAiB,UAAU;;AAEjC,SAAS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ChB,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,6 +1,6 @@
|
|
|
1
1
|
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
2
|
import { c as createDataTypeLookup } from "./data-type-V6mcDhcG-DVQAPOQT.mjs";
|
|
3
|
-
import { n as aggregateDescriptorKey } from "./generator-functions-
|
|
3
|
+
import { n as aggregateDescriptorKey } from "./generator-functions-VMolCOGa-xY11fV0Q.mjs";
|
|
4
4
|
//#region ../../../1-framework/1-core/framework-components/dist/components.mjs
|
|
5
5
|
/**
|
|
6
6
|
* Settle every contributed overload against `codecs`.
|
|
@@ -116,4 +116,4 @@ function createGeneratorHelpers(components) {
|
|
|
116
116
|
//#endregion
|
|
117
117
|
export { settleAggregateOverloads as n, createGeneratorHelpers as t };
|
|
118
118
|
|
|
119
|
-
//# sourceMappingURL=components-
|
|
119
|
+
//# sourceMappingURL=components-Bx7dm2HO.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-
|
|
1
|
+
{"version":3,"file":"components-Bx7dm2HO.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.mjs"],"sourcesContent":["import { r as createDataTypeLookup } from \"./data-type-V6mcDhcG.mjs\";\nimport { n as runtimeError, t as isRuntimeError } from \"./runtime-error-BA9d7XjZ.mjs\";\nimport { a as mergeCapabilityMatrices, c as isAnyInputAggregateDescriptor, i as singleGeneratorBinding, l as isNoInputAggregateDescriptor, n as assembleGeneratorFunctions, o as aggregateDescriptorKey, s as isAggregateDescriptor, t as EMPTY_GENERATOR_FUNCTIONS } from \"./generator-functions-VMolCOGa.mjs\";\nimport { t as checkContractComponentRequirements } from \"./framework-components-D6j4Y5K7.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/shared/aggregate-overloads.ts\n/**\n* Settle every contributed overload against `codecs`.\n*\n* Exact codec overloads win over trait overloads, and trait overloads are expanded only over the codecs given — so a caller that passes the codecs a stack actually composes cannot end up with a row for one it does not. An exact overload survives even for a codec outside that set, because naming a codec id is a claim that stands on its own.\n*\n* The input-agnostic overload is left unexpanded: it answers whatever the other two rungs do not, so materializing it per codec would say the same thing once per codec.\n*\n* A second claim on one `(operation, input)` key is reported as a duplicate and does not unseat the first; both production callers reject duplicates before settling, so the report guards a consumer that calls this directly.\n*/\nfunction settleAggregateOverloads(descriptors, codecs) {\n\tconst byOperation = /* @__PURE__ */ new Map();\n\tconst firstClaims = /* @__PURE__ */ new Map();\n\tconst duplicates = [];\n\tfor (const descriptor of descriptors) {\n\t\tconst key = aggregateDescriptorKey(descriptor);\n\t\tconst first = firstClaims.get(key);\n\t\tif (first !== void 0) {\n\t\t\tduplicates.push({\n\t\t\t\toperation: descriptor.operation,\n\t\t\t\tkey,\n\t\t\t\tfirst,\n\t\t\t\tsecond: descriptor\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tfirstClaims.set(key, descriptor);\n\t\tconst entry = byOperation.get(descriptor.operation) ?? {\n\t\t\texact: /* @__PURE__ */ new Map(),\n\t\t\ttraits: [],\n\t\t\tnoInput: void 0,\n\t\t\tanyInput: void 0\n\t\t};\n\t\tswitch (descriptor.input.kind) {\n\t\t\tcase \"none\":\n\t\t\t\tentry.noInput = descriptor;\n\t\t\t\tbreak;\n\t\t\tcase \"any\":\n\t\t\t\tentry.anyInput = descriptor;\n\t\t\t\tbreak;\n\t\t\tcase \"codec\":\n\t\t\t\tentry.exact.set(descriptor.input.codecId, descriptor);\n\t\t\t\tbreak;\n\t\t\tcase \"trait\":\n\t\t\t\tentry.traits.push({\n\t\t\t\t\tdescriptor,\n\t\t\t\t\ttrait: descriptor.input.trait\n\t\t\t\t});\n\t\t\t\tbreak;\n\t\t}\n\t\tbyOperation.set(descriptor.operation, entry);\n\t}\n\tconst codecList = [...codecs];\n\tconst operations = /* @__PURE__ */ new Map();\n\tconst ambiguities = [];\n\tfor (const [operation, entry] of byOperation) {\n\t\tconst byCodecId = new Map(entry.exact);\n\t\tfor (const codec of codecList) {\n\t\t\tif (byCodecId.has(codec.codecId)) continue;\n\t\t\tconst claims = entry.traits.filter((candidate) => codec.traits.includes(candidate.trait));\n\t\t\tif (claims.length > 1) {\n\t\t\t\tambiguities.push({\n\t\t\t\t\toperation,\n\t\t\t\t\tcodecId: codec.codecId,\n\t\t\t\t\ttraits: claims.map((claim) => claim.trait)\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tconst claim = claims[0];\n\t\t\tif (claim !== void 0) byCodecId.set(codec.codecId, claim.descriptor);\n\t\t}\n\t\toperations.set(operation, {\n\t\t\tbyCodecId,\n\t\t\tnoInput: entry.noInput,\n\t\t\tanyInput: entry.anyInput\n\t\t});\n\t}\n\treturn {\n\t\toperations,\n\t\tambiguities,\n\t\tduplicates\n\t};\n}\n//#endregion\n//#region src/shared/generator-helpers.ts\n/** The data types of a stack that registers none, which a signature written as a function of them is built against to read its parameter keys. */\nconst NO_DATA_TYPES = {\n\tentries: {},\n\tlookup: createDataTypeLookup([]),\n\tdataTypeOfCodec: () => void 0\n};\nfunction positionalKeys(declared) {\n\tconst signature = typeof declared === \"function\" ? declared(NO_DATA_TYPES) : declared;\n\tif (typeof signature !== \"object\" || signature === null || !(\"positional\" in signature)) return [];\n\tconst positional = signature.positional;\n\tif (!Array.isArray(positional)) return [];\n\treturn positional.flatMap((param) => typeof param === \"object\" && param !== null && \"key\" in param && typeof param.key === \"string\" ? [param.key] : []);\n}\n/**\n* The `gen` helpers of a composed stack: one per generator function its components declare, taking the positional arguments of the function's signature. A call is resolved by the field's codec when the contract is built.\n*/\nfunction createGeneratorHelpers(components) {\n\tconst helpers = {};\n\tfor (const component of components) for (const contribution of component.generatorFunctions ?? []) {\n\t\tif (contribution.signature === void 0) continue;\n\t\tconst keys = positionalKeys(contribution.signature);\n\t\tconst name = contribution.name;\n\t\thelpers[name] = (...values) => ({\n\t\t\tname,\n\t\t\targs: Object.fromEntries(keys.flatMap((key, index) => values[index] === void 0 ? [] : [[key, values[index]]]))\n\t\t});\n\t}\n\treturn blindCast(helpers);\n}\n//#endregion\nexport { EMPTY_GENERATOR_FUNCTIONS, aggregateDescriptorKey, assembleGeneratorFunctions, checkContractComponentRequirements, createGeneratorHelpers, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, isRuntimeError, mergeCapabilityMatrices, runtimeError, settleAggregateO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package/dist/components.d.mts
CHANGED
|
@@ -8,15 +8,15 @@ import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilit
|
|
|
8
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-GBAmsfWO-DUJQpMpU.mjs";
|
|
9
9
|
import { n as isRuntimeError, r as runtimeError, t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
|
|
10
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-BvnVHOK3.mjs";
|
|
11
|
-
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-bX2HmNSC-vaRddb1_.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-B4ZxpQdr-DT9LRqBC.mjs";
|
|
13
11
|
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
14
|
-
import {
|
|
15
|
-
import "./
|
|
12
|
+
import { n as GenerateContractTypesOptions, t as EmissionSpi } from "./emission-types-BuZVDb1i-BnSb9rsQ.mjs";
|
|
13
|
+
import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-B4ZxpQdr-DT9LRqBC.mjs";
|
|
14
|
+
import { $ as MarkerDatabasePoliciesComparison, $n as databasePolicyDifferences, $t as ResolvedMigrationStatement, A as DATA_LOSS_LEVELS, An as SpaceToSign, Ar as migrationSubjectJson, At as MigrationScaffoldContext, B as EmitContractResult, Bn as VerifierOutcome, Br as schemaIssuesWhy, Bt as OperationContext, C as ControlStack, Cn as SchemaViewCapable, Cr as hasSchemaView, Ct as MigrationRunnerExecutionChecks, D as CreateControlStackInput, Dn as SpaceMarkerHashConflict, Dr as issueOutcome, Dt as MigrationRunnerPerSpaceSuccessValue, E as CoreSchemaView, En as SpaceMarkerConflict, Er as issueLabel, Et as MigrationRunnerPerSpaceOptions, F as DatabasePolicyDifference, Fn as VERIFY_CODE_TARGET_MISMATCH, Fr as orderIssuesByDependencies, Ft as MismatchCause, G as FailedCheck, Gn as assertUniqueCodecOwner, Gr as withDeclaredDatabasePolicies, Gt as PslContractBuildCapable, H as EnumValueCoordinateJson, Hn as VerifyDatabaseSchemaResult, Hr as storedDatabasePolicies, Ht as OperationPreviewCapable, I as DeclaredDatabasePolicies, In as ValueObjectFieldCoordinate, Ir as parseDeclaredDatabasePolicies, It as MismatchExplanation, J as FieldCoordinate, Jn as contractSnapshotJsonSpecifier, Jt as PslSourceSettings, K as FailedConversion, Kn as buildExtensionLoadOrder, Kr as withFailingSpace, Kt as PslContractDocument, L as DeclaredDatabasePoliciesIssue, Ln as ValueObjectFieldCoordinateJson, Lr as planOriginOf, Lt as ModelCoordinate, M as DEFAULT_DATABASE_POLICIES, Mn as VERIFY_CODE_HASH_MISMATCH, Mr as modelDisplayName, Mt as MigrationSubject, N as DataLossLevel, Nn as VERIFY_CODE_MARKER_MISSING, Nr as modelStatementText, Nt as MigrationSubjectJson, O as DATABASE_POLICIES_KEYS, On as SpaceSignature, Or as migrationRunnerFailure, Ot as MigrationRunnerResult, P as DatabasePolicies, Pn as VERIFY_CODE_SCHEMA_FAILURE, Pr as movedDatabasePoliciesWhy, Pt as MigrationTemporaryValue, Q as KeepDataEdit, Qn as databasePoliciesOf, Qt as ResolvedFieldRenameStatement, R as DiffSubjectGranularity, Rn as VerificationStatus, Rr as sameMarkerHashes, Rt as ModelCoordinateJson, S as ControlFamilyInstance, Sn as SchemaVerifyResult, Sr as hasSchemaSubjectClassifier, St as MigrationRunner, T as ControlTargetInstance, Tn as SpaceDatabasePoliciesConflict, Tr as isStorageHashHex, Tt as MigrationRunnerFailureMeta, U as ExpectationFailureReason, Un as assembleAuthoringContributions, Ur as valueObjectFieldStatementText, Ut as OperationPreviewStatement, V as EnumValueCoordinate, Vn as VerifyDatabaseResult, Vr as storageHashHex, Vt as OperationPreview, W as FailedCast, Wn as assembleControlMutationDefaults, Wr as withDatabaseUnchanged, Wt as PlanOrigin, X as HelperCodecInvariantInput, Xn as createControlStack, Xt as ResolvedFieldBackfillStatement, Y as FieldCoordinateJson, Yn as contractSnapshotTypesSpecifier, Yt as ResolvedEnumValueRenameStatement, Z as IntrospectSchemaResult, Zn as databasePoliciesMovedFailure, Zt as ResolvedFieldConvertStatement, _ as ControlDriverDescriptor, _n as SchemaTreeNode, _r as fieldStatementText, _t as MigrationPlanner, a as AssembledAuthoringContributions, an as ResolvedVariantConvertStatement, ar as enumValueCoordinateFromJson, at as MigrationDataLoss, b as ControlExtensionInstance, bn as SchemaVerifier, br as hasPslContractBuild, bt as MigrationPlannerResult, c as CONTRACT_SNAPSHOTS_DIRNAME, cn as RowsWithoutValue, cr as expectAbsent, ct as MigrationOperationClass, d as ContractSerializer, dn as SchemaEntityCoordinate, dr as extractCodecTypeImports, dt as MigrationPackage, en as ResolvedModelRenameStatement, er as databasePolicyValueText, et as MarkerDestination, f as ContractSpace, fn as SchemaLabelPart, fr as extractComponentIds, ft as MigrationPlan, g as ControlDriverConnectOptions, gn as SchemaSubjectClassifierCapable, gr as failedPrecheckWhy, gt as MigrationPlanWithAuthoringSurface, h as ControlAdapterInstance, hn as SchemaOwnership, hr as failedPostcheckWhy, ht as MigrationPlanSubjects, i as AppliedMigrationStatement, in as ResolvedValueObjectFieldRenameStatement, ir as enforceHelperCodecInvariants, it as MigrationAccessChange, j as DATA_PROTECTION_KEYS, jn as TargetMigrationsCapability, jr as migrationSubjectKey, jt as MigrationStatementJson, k as DATABASE_POLICIES_META_KEY, kn as SpaceSigned, kr as migrationStatementJson, kt as MigrationRunnerSuccessValue, l as ChangeStrategy, ln as SchemaDiff, lr as expectPresent, lt as MigrationOperationPolicy, m as ControlAdapterDescriptor, mn as SchemaNodeRef, mr as extractQueryOperationTypeImports, mt as MigrationPlanOperation, n as APP_SPACE_ID, nn as ResolvedRenameStatement, nr as diffSchemas, nt as MarkerInsert, o as BlockingObject, on as RowsFailingCheck, or as enumValueCoordinateJson, ot as MigrationDataLossKind, p as ContractSpaceHeadRef, pn as SchemaLabelPartRole, pr as extractParameterizedOutputTypeImports, pt as MigrationPlanNamespaces, q as FailedTypeChange, qn as compareMarkerDatabasePolicies, qt as PslContractInferCapable, r as AccessWideningLevel, rn as ResolvedValueObjectFieldBackfillStatement, rr as dispositionForCategory, rt as MigratableTargetDescriptor, s as CHANGE_STRATEGIES, sn as RowsHoldingValue, sr as enumValueStatementText, st as MigrationMetadata, t as ACCESS_WIDENING_LEVELS, tn as ResolvedNamespaceRenameStatement, tr as describeMigrationStatement, tt as MarkerHashes, u as CheckExpectation, un as SchemaDiffIssue, ur as extractCodecLookup, ut as MigrationOperationSubject, v as ControlDriverInstance, vn as SchemaTreeNodeOptions, vr as hasMigrations, vt as MigrationPlannerConflict, w as ControlTargetDescriptor, wn as SchemaViewNodeKind, wr as isRenameStatement, wt as MigrationRunnerFailure, x as ControlFamilyDescriptor, xn as SchemaVerifyOptions, xr as hasPslContractInfer, xt as MigrationPlannerSuccessResult, y as ControlExtensionDescriptor, yn as SchemaTreeVisitor, yr as hasOperationPreview, yt as MigrationPlannerFailureResult, z as DiffableNode, zn as VerifierIssueCategory, zr as schemaCheckWhy, zt as OpFactoryCall } from "./control-rzZBO0wp.mjs";
|
|
15
|
+
import "./emission-ZgkI1aFl.mjs";
|
|
16
16
|
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-0NPar3Ng.mjs";
|
|
17
17
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
18
18
|
import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNodeBase, b as freezeNode, c as NamespacedEntities, d as StorageType, f as UNBOUND_NAMESPACE_ID, g as coordinateKey, h as changedElementCoordinates, i as IRNode, l as SingleNamespaceView, m as buildSingleNamespaceView, n as DefaultNamespaceEntries, o as Namespace, p as buildNamespacedEntities, r as EntityKindDescriptor, s as NamespaceBase, t as AnyEntityKindDescriptor, u as Storage, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-DoVMhmqa.mjs";
|
|
19
19
|
import "./psl-ast-Dsf1-QLK.mjs";
|
|
20
20
|
import { $ as RuntimeMutationDefaultGenerator, A as GeneratorStability, At as streamStatement, B as QueryPlan, C as ClientActivityRegistry, Ct as createStateStore, D as DefineAnnotationOptions, Dt as runtimeAborted, E as CrossFamilyMiddleware, Et as raceAgainstAbort, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startClientActivity, P as MutationDefaults, Q as RuntimeMode, R as ParamRefMutator, S as ClientActivityOptions, St as createMetaBuilder, T as ClientActivityRun, Tt as executeStatement, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as assertMutationDefaultGeneratorsAvailable, a as ActivityContext, at as StatementActivity, b as ClientActivityEnded, bt as collectMutationDefaultGenerators, c as ActivityFinalizedResult, ct as StatementOptions, d as ActivityParent, dt as TransactionActivityRun, et as RuntimeStatementStats, f as ActivityStateStore, ft as TransactionEnded, g as AppliedMutationDefault, gt as assertAnnotationsApplicable, h as AnnotationValue, ht as applyMutationDefaults, i as ActivityChildSlot, it as StartActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as startTransactionActivity, l as ActivityInterceptResult, lt as TransactionActivity, m as AnnotationSource, mt as ValidAnnotations, n as ActivityBase, nt as Shape, o as ActivityContextFields, ot as StatementActivityRun, p as AnnotationHandle, pt as TransactionSettlement, q as RuntimeCoreOptions, r as ActivityChild, rt as ShapeSpec, s as ActivityEndedResult, st as StatementEnded, t as Activity, tt as Scalars, u as ActivityObserver, ut as TransactionActivityOptions, v as ClientActivity, vt as checkAborted, w as ClientActivityResult, wt as defineAnnotation, x as ClientActivityKind, xt as createContextBeneath, y as ClientActivityEnd, yt as checkMiddlewareCompatibility, z as QueryInterceptResult } from "./runtime-BocJkRg4.mjs";
|
|
21
21
|
import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
|
|
22
|
-
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, type AccessWideningLevel, type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type AssembledDataTypeSupport, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeChoiceArgument, type AuthoringTypeChoiceCall, type AuthoringTypeChoiceCallArgument, type AuthoringTypeChoiceDescriptor, type AuthoringTypeChoiceOption, type AuthoringTypeChoicePassedArgument, type AuthoringTypeChoiceRow, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeNamespaceMember, type AuthoringTypeParamsIssue, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, type BlockingObject, CHANGE_STRATEGIES, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type ChangeStrategy, type CheckExpectation, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DATA_TYPE_ID_PATTERN, DEFAULT_DATABASE_POLICIES, type DataLossLevel, type DataType, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DatabasePolicies, type DatabasePolicyDifference, type DateTimeShape, type DateTimeStoredTextOptions, type DeclaredDatabasePolicies, type DeclaredDatabasePoliciesIssue, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type GeneratorStability, type HelperCodecInvariantInput, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntegerStep, type IntrospectSchemaResult, type KeepDataEdit, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerDatabasePoliciesComparison, type MarkerDestination, type MarkerHashes, type MarkerInsert, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type NumberClassification, type NumberClassifierSpec, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedAuthoringTypeChoice, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResolvedValueObjectFieldBackfillStatement, type ResolvedValueObjectFieldRenameStatement, type ResolvedVariantConvertStatement, type ResultType, type RowsFailingCheck, type RowsHoldingValue, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMode, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceDatabasePoliciesConflict, type SpaceMarkerConflict, type SpaceMarkerHashConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypedLiteralOptions, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type ValueObjectFieldCoordinate, type ValueObjectFieldCoordinateJson, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertTypeChoicesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, changedElementCoordinates, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeChoice, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, movedDatabasePoliciesWhy, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseDeclaredDatabasePolicies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveAuthoringTypeChoice, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedDatabasePolicies, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, typeChoiceArgumentsFromObject, typeChoiceCombinationText, typeConstructorLookup, unknownTypeChoiceArgumentMessage, validateAuthoringHelperArguments, validateAuthoringTypeChoiceParams, validateAuthoringTypeParams, validateCodecTypeParams, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace, writeDataTypeValue, writeTypedLiteral, writtenTypeArguments, writtenTypeConstructorCall };
|
|
22
|
+
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, type AccessWideningLevel, type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type AssembledDataTypeSupport, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringContributions, type AuthoringDescriptorKinds, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeAliasDescriptor, type AuthoringTypeAliasOutput, type AuthoringTypeChoiceArgument, type AuthoringTypeChoiceCall, type AuthoringTypeChoiceCallArgument, type AuthoringTypeChoiceDescriptor, type AuthoringTypeChoiceOption, type AuthoringTypeChoicePassedArgument, type AuthoringTypeChoiceRow, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringTypeNamespaceMember, type AuthoringTypeParamsIssue, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, type BlockingObject, CHANGE_STRATEGIES, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type ChangeStrategy, type CheckExpectation, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DATA_TYPE_ID_PATTERN, DEFAULT_DATABASE_POLICIES, type DataLossLevel, type DataType, type DataTypeAuthoringEntry, type DataTypeComponent, type DataTypeId, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DatabasePolicies, type DatabasePolicyDifference, type DateTimeShape, type DateTimeStoredTextOptions, type DeclaredDatabasePolicies, type DeclaredDatabasePoliciesIssue, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DiscriminatorDecision, type DiscriminatorField, type DiscriminatorFieldRefusal, type DiscriminatorRefusal, type DiscriminatorVariantRefusal, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type ExtensionPackValues, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorFunctionBinding, type GeneratorFunctionCall, type GeneratorFunctionComponent, type GeneratorFunctionContribution, type GeneratorFunctionField, type GeneratorFunctionRegistry, type GeneratorFunctionResolution, type GeneratorFunctionSummary, type GeneratorHelper, type GeneratorHelpersOf, type GeneratorPhase, type GeneratorStability, type HelperCodecInvariantInput, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type IntegerRange, type IntegerStep, type IntrospectSchemaResult, type KeepDataEdit, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerDatabasePoliciesComparison, type MarkerDestination, type MarkerHashes, type MarkerInsert, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type NumberClassification, type NumberClassifierSpec, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedAuthoringTypeChoice, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResolvedValueObjectFieldBackfillStatement, type ResolvedValueObjectFieldRenameStatement, type ResolvedVariantConvertStatement, type ResultType, type RowsFailingCheck, type RowsHoldingValue, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMode, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SessionSettings, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceDatabasePoliciesConflict, type SpaceMarkerConflict, type SpaceMarkerHashConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypedLiteralOptions, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type ValueObjectFieldCoordinate, type ValueObjectFieldCoordinateJson, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertTypeChoicesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, changedElementCoordinates, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeChoice, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, movedDatabasePoliciesWhy, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseDeclaredDatabasePolicies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveAuthoringTypeChoice, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedDatabasePolicies, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, typeChoiceArgumentsFromObject, typeChoiceCombinationText, typeConstructorLookup, unknownTypeChoiceArgumentMessage, validateAuthoringHelperArguments, validateAuthoringTypeChoiceParams, validateAuthoringTypeParams, validateCodecTypeParams, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace, writeDataTypeValue, writeTypedLiteral, writtenTypeArguments, writtenTypeConstructorCall };
|
package/dist/components.mjs
CHANGED
|
@@ -4,18 +4,17 @@ import { n as runtimeError, t as isRuntimeError } from "./runtime-error-BA9d7XjZ
|
|
|
4
4
|
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";
|
|
5
5
|
import { a as resolveCodecDescriptorOrThrow, i as materializeCodec, o as validateCodecTypeParams, r as codecForRef, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from "./resolve-codec-qqMjZrmn-Cok8elAo.mjs";
|
|
6
6
|
import { t as emptyCodecLookup } from "./codec-types-BXLUbk-Y-DpGfKGK0.mjs";
|
|
7
|
-
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-
|
|
8
|
-
import { $ as validateAuthoringTypeChoiceParams, A as isAuthoringTypeAliasDescriptor, B as resolveAuthoringTypeChoice, C as instantiateAuthoringTypeCall, D as isAuthoringEntityTypeDescriptor, E as isAuthoringArgRef, G as temporalTypeAliases, H as resolvePslBacktickEscapes, I as mergeAuthoringNamespaces, J as typeChoiceArgumentsFromObject, K as timestampNowControlDescriptor, L as printTaggedLiteral, M as isAuthoringTypeChoiceOption, N as isAuthoringTypeConstructorDescriptor, O as isAuthoringModelAttributeDescriptor, P as isAuthoringTypeDescriptor, Q as validateAuthoringHelperArguments, R as printedTaggedLiteralReadsBack, S as instantiateAuthoringTypeAlias, T as instantiateAuthoringTypeConstructorFromValues, U as resolveTemplateTagEscapes, V as resolveEnumCodecId, W as resolveTypeAliasGenerators, X as typeConstructorLookup, Y as typeChoiceCombinationText, Z as unknownTypeChoiceArgumentMessage, _ as describeTaggedLiteralFailure, a as assembleDataTypeSupport, b as getAuthoringTypeConstructor, c as assertResolvableTypeConstructorTemplates, et as validateAuthoringTypeParams, f as canonicalizeTaggedLiteralBody, h as collectScalarTypeConstructors, i as assembleAuthoringDataTypes, j as isAuthoringTypeChoiceDescriptor, k as isAuthoringPslBlockDescriptor, l as assertTypeAliasesValid, n as TAGGED_LITERAL_MAX_BYTES, o as assertNoAuthoringFieldNamespace, p as classifyEnumMemberType, q as tsTaggedTemplateSource, r as TIMESTAMP_NOW_GENERATOR_ID, s as assertNoCrossRegistryCollisions, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeChoicesValid, v as flushAuthoringWarnings, w as instantiateAuthoringTypeConstructor, x as instantiateAuthoringEntityType, y as getAuthoringTypeChoice, z as resolveAuthoringTemplateValue } from "./temporal-type-aliases-CFh3BW2a-
|
|
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-VMolCOGa-xY11fV0Q.mjs";
|
|
8
|
+
import { $ as validateAuthoringTypeChoiceParams, A as isAuthoringTypeAliasDescriptor, B as resolveAuthoringTypeChoice, C as instantiateAuthoringTypeCall, D as isAuthoringEntityTypeDescriptor, E as isAuthoringArgRef, G as temporalTypeAliases, H as resolvePslBacktickEscapes, I as mergeAuthoringNamespaces, J as typeChoiceArgumentsFromObject, K as timestampNowControlDescriptor, L as printTaggedLiteral, M as isAuthoringTypeChoiceOption, N as isAuthoringTypeConstructorDescriptor, O as isAuthoringModelAttributeDescriptor, P as isAuthoringTypeDescriptor, Q as validateAuthoringHelperArguments, R as printedTaggedLiteralReadsBack, S as instantiateAuthoringTypeAlias, T as instantiateAuthoringTypeConstructorFromValues, U as resolveTemplateTagEscapes, V as resolveEnumCodecId, W as resolveTypeAliasGenerators, X as typeConstructorLookup, Y as typeChoiceCombinationText, Z as unknownTypeChoiceArgumentMessage, _ as describeTaggedLiteralFailure, a as assembleDataTypeSupport, b as getAuthoringTypeConstructor, c as assertResolvableTypeConstructorTemplates, et as validateAuthoringTypeParams, f as canonicalizeTaggedLiteralBody, h as collectScalarTypeConstructors, i as assembleAuthoringDataTypes, j as isAuthoringTypeChoiceDescriptor, k as isAuthoringPslBlockDescriptor, l as assertTypeAliasesValid, n as TAGGED_LITERAL_MAX_BYTES, o as assertNoAuthoringFieldNamespace, p as classifyEnumMemberType, q as tsTaggedTemplateSource, r as TIMESTAMP_NOW_GENERATOR_ID, s as assertNoCrossRegistryCollisions, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeChoicesValid, v as flushAuthoringWarnings, w as instantiateAuthoringTypeConstructor, x as instantiateAuthoringEntityType, y as getAuthoringTypeChoice, z as resolveAuthoringTemplateValue } from "./temporal-type-aliases-CFh3BW2a-CeZV7A5h.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 issueLabel, A as dispositionForCategory, B as extractParameterizedOutputTypeImports, C as createControlStack, D as databasePolicyValueText, E as databasePolicyDifferences, F as expectAbsent, G as hasMigrations, H as failedPostcheckWhy, I as expectPresent, J as hasPslContractInfer, K as hasOperationPreview, L as extractCodecLookup, M as enumValueCoordinateFromJson, N as enumValueCoordinateJson, O as describeMigrationStatement, P as enumValueStatementText, Q as isStorageHashHex, R as extractCodecTypeImports, S as contractSnapshotTypesSpecifier, T as databasePoliciesOf, U as failedPrecheckWhy, V as extractQueryOperationTypeImports, W as fieldStatementText, X as hasSchemaView, Y as hasSchemaSubjectClassifier, Z as isRenameStatement, _ as assembleControlMutationDefaults, _t as withDatabaseUnchanged, a as DATABASE_POLICIES_KEYS, at as modelDisplayName, b as compareMarkerDatabasePolicies, c as DATA_PROTECTION_KEYS, ct as orderIssuesByDependencies, d as SchemaTreeNode, dt as sameMarkerHashes, et as issueOutcome, f as VERIFY_CODE_HASH_MISMATCH, ft as schemaCheckWhy, g as assembleAuthoringContributions, gt as valueObjectFieldStatementText, h as VERIFY_CODE_TARGET_MISMATCH, ht as storedDatabasePolicies, i as CONTRACT_SNAPSHOTS_DIRNAME, it as migrationSubjectKey, j as enforceHelperCodecInvariants, k as diffSchemas, l as DEFAULT_DATABASE_POLICIES, lt as parseDeclaredDatabasePolicies, m as VERIFY_CODE_SCHEMA_FAILURE, mt as storageHashHex, n as APP_SPACE_ID, nt as migrationStatementJson, o as DATABASE_POLICIES_META_KEY, ot as modelStatementText, p as VERIFY_CODE_MARKER_MISSING, pt as schemaIssuesWhy, q as hasPslContractBuild, r as CHANGE_STRATEGIES, rt as migrationSubjectJson, s as DATA_LOSS_LEVELS, st as movedDatabasePoliciesWhy, t as ACCESS_WIDENING_LEVELS, tt as migrationRunnerFailure, u as SchemaDiff, ut as planOriginOf, v as assertUniqueCodecOwner, vt as withDeclaredDatabasePolicies, w as databasePoliciesMovedFailure, x as contractSnapshotJsonSpecifier, y as buildExtensionLoadOrder, yt as withFailingSpace, z as extractComponentIds } from "./control-
|
|
10
|
+
import { $ as issueLabel, A as dispositionForCategory, B as extractParameterizedOutputTypeImports, C as createControlStack, D as databasePolicyValueText, E as databasePolicyDifferences, F as expectAbsent, G as hasMigrations, H as failedPostcheckWhy, I as expectPresent, J as hasPslContractInfer, K as hasOperationPreview, L as extractCodecLookup, M as enumValueCoordinateFromJson, N as enumValueCoordinateJson, O as describeMigrationStatement, P as enumValueStatementText, Q as isStorageHashHex, R as extractCodecTypeImports, S as contractSnapshotTypesSpecifier, T as databasePoliciesOf, U as failedPrecheckWhy, V as extractQueryOperationTypeImports, W as fieldStatementText, X as hasSchemaView, Y as hasSchemaSubjectClassifier, Z as isRenameStatement, _ as assembleControlMutationDefaults, _t as withDatabaseUnchanged, a as DATABASE_POLICIES_KEYS, at as modelDisplayName, b as compareMarkerDatabasePolicies, c as DATA_PROTECTION_KEYS, ct as orderIssuesByDependencies, d as SchemaTreeNode, dt as sameMarkerHashes, et as issueOutcome, f as VERIFY_CODE_HASH_MISMATCH, ft as schemaCheckWhy, g as assembleAuthoringContributions, gt as valueObjectFieldStatementText, h as VERIFY_CODE_TARGET_MISMATCH, ht as storedDatabasePolicies, i as CONTRACT_SNAPSHOTS_DIRNAME, it as migrationSubjectKey, j as enforceHelperCodecInvariants, k as diffSchemas, l as DEFAULT_DATABASE_POLICIES, lt as parseDeclaredDatabasePolicies, m as VERIFY_CODE_SCHEMA_FAILURE, mt as storageHashHex, n as APP_SPACE_ID, nt as migrationStatementJson, o as DATABASE_POLICIES_META_KEY, ot as modelStatementText, p as VERIFY_CODE_MARKER_MISSING, pt as schemaIssuesWhy, q as hasPslContractBuild, r as CHANGE_STRATEGIES, rt as migrationSubjectJson, s as DATA_LOSS_LEVELS, st as movedDatabasePoliciesWhy, t as ACCESS_WIDENING_LEVELS, tt as migrationRunnerFailure, u as SchemaDiff, ut as planOriginOf, v as assertUniqueCodecOwner, vt as withDeclaredDatabasePolicies, w as databasePoliciesMovedFailure, x as contractSnapshotJsonSpecifier, y as buildExtensionLoadOrder, yt as withFailingSpace, z as extractComponentIds } from "./control-DNwP6V2m.mjs";
|
|
11
11
|
import { a as domainElementCoordinates, c as hydrateNamespaceEntities, i as coordinateKey, l as promoteBuiltinKinds, n as buildSingleNamespaceView, o as elementCoordinates, r as changedElementCoordinates, s as entityAt, t as buildNamespacedEntities } from "./ir-B7QKO3dq.mjs";
|
|
12
12
|
import { a as numeralText, i as enumRefusalOf, n as CodecDescriptorTemplateImpl, o as readContractValue, r as CodecImpl, t as CodecDescriptorImpl } from "./codec-descriptor-CPSGZunM-DxrbRHX1.mjs";
|
|
13
|
-
import { C as readWrittenValueAs, D as writeTypedLiteral, E as writeDataTypeValue, O as writtenTypeArguments, S as readWrittenValue, T as tagForm, _ as exactRewrite, a as authoringTypeConstructors, b as knownTags, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, k as writtenTypeConstructorCall, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as findAuthoringTypeChoiceCall, w as readWrittenValueIntoCodec, x as readEnumBlockMembers, y as findAuthoringTypeConstructorCall } from "./authoring-
|
|
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-
|
|
13
|
+
import { C as readWrittenValueAs, D as writeTypedLiteral, E as writeDataTypeValue, O as writtenTypeArguments, S as readWrittenValue, T as tagForm, _ as exactRewrite, a as authoringTypeConstructors, b as knownTags, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, k as writtenTypeConstructorCall, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as findAuthoringTypeChoiceCall, w as readWrittenValueIntoCodec, x as readEnumBlockMembers, y as findAuthoringTypeConstructorCall } from "./authoring-BoRTq-7r.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-CBJNOQS4.mjs";
|
|
15
15
|
import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
|
|
16
|
-
import { n as settleAggregateOverloads, t as createGeneratorHelpers } from "./components-
|
|
17
|
-
import { n as resolveRequirementSpecifiers, t as keepInternalSpecifiers } from "./emission-CeoAV9mj.mjs";
|
|
16
|
+
import { n as settleAggregateOverloads, t as createGeneratorHelpers } from "./components-Bx7dm2HO.mjs";
|
|
18
17
|
import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-DJDqCoRU.mjs";
|
|
19
18
|
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
19
|
import { _ as runtimeAborted, a as applyMutationDefaults, b as streamStatement, c as checkAborted, d as createContextBeneath, f as createMetaBuilder, g as raceAgainstAbort, h as executeStatement, i as RuntimeCore, l as checkMiddlewareCompatibility, m as defineAnnotation, n as RUNTIME_ABORTED, o as assertAnnotationsApplicable, p as createStateStore, r as RelationKeys, s as assertMutationDefaultGeneratorsAvailable, t as AsyncIterableResult, u as collectMutationDefaultGenerators, v as startClientActivity, y as startTransactionActivity } from "./runtime-BlY0wJT6.mjs";
|
|
21
|
-
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CHANGE_STRATEGIES, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DATA_TYPE_ID_PATTERN, DEFAULT_DATABASE_POLICIES, EMPTY_GENERATOR_FUNCTIONS, INT32_RANGE, INT64_RANGE, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertTypeChoicesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, changedElementCoordinates, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeChoice, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome,
|
|
20
|
+
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, AUTHORING_TYPE_DESCRIPTOR_KINDS, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CHANGE_STRATEGIES, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecDescriptorTemplateImpl, CodecImpl, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DATA_TYPE_ID_PATTERN, DEFAULT_DATABASE_POLICIES, EMPTY_GENERATOR_FUNCTIONS, INT32_RANGE, INT64_RANGE, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, TIMESTAMP_NOW_GENERATOR_ID, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, admittedForms, admittedTags, aggregateDescriptorKey, applyDiscriminatorRule, applyMutationDefaults, asFloat, asNumeralText, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypeSupport, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertTypeAliasesValid, assertTypeChoicesValid, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, castUnchanged, changedElementCoordinates, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createNumberClassifier, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, dateTimeStoredText, decimalTextBigintLiteral, decimalTextEqualityKey, decimalTextNumberLiteral, defineAnnotation, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceHelperCodecInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, exactRewrite, executeStatement, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatNumberLiteral, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringTypeChoice, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isNumeralText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isoDateStringText, issueLabel, issueOutcome, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, movedDatabasePoliciesWhy, namespacePslExtensionBlocks, numeralText, objectSchemaKeys, orderIssuesByDependencies, parseDeclaredDatabasePolicies, parseJsonText, planOriginOf, printJsonText, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, refuseJsonValue, refuseWrongShape, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveAuthoringTypeChoice, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveTemplateTagEscapes, resolveTypeAliasGenerators, runtimeAborted, runtimeError, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, schemaKeysAllowing, settleAggregateOverloads, signedRange, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, storedDatabasePolicies, storedNumeralText, streamStatement, tagForm, temporalTypeAliases, timestampNowControlDescriptor, tsTaggedTemplateSource, typeChoiceArgumentsFromObject, typeChoiceCombinationText, typeConstructorLookup, unknownTypeChoiceArgumentMessage, validateAuthoringHelperArguments, validateAuthoringTypeChoiceParams, validateAuthoringTypeParams, validateCodecTypeParams, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace, writeDataTypeValue, writeTypedLiteral, writtenTypeArguments, writtenTypeConstructorCall };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as validateAuthoringTypeChoiceParams, A as isAuthoringTypeAliasDescriptor, B as resolveAuthoringTypeChoice, C as instantiateAuthoringTypeCall, D as isAuthoringEntityTypeDescriptor, E as isAuthoringArgRef, G as temporalTypeAliases, I as mergeAuthoringNamespaces, J as typeChoiceArgumentsFromObject, L as printTaggedLiteral, M as isAuthoringTypeChoiceOption, N as isAuthoringTypeConstructorDescriptor, O as isAuthoringModelAttributeDescriptor, P as isAuthoringTypeDescriptor, Q as validateAuthoringHelperArguments, R as printedTaggedLiteralReadsBack, S as instantiateAuthoringTypeAlias, T as instantiateAuthoringTypeConstructorFromValues, U as resolveTemplateTagEscapes, V as resolveEnumCodecId, W as resolveTypeAliasGenerators, X as typeConstructorLookup, Y as typeChoiceCombinationText, Z as unknownTypeChoiceArgumentMessage, _ as describeTaggedLiteralFailure, a as assembleDataTypeSupport, b as getAuthoringTypeConstructor, c as assertResolvableTypeConstructorTemplates, et as validateAuthoringTypeParams, f as canonicalizeTaggedLiteralBody, h as collectScalarTypeConstructors, i as assembleAuthoringDataTypes, j as isAuthoringTypeChoiceDescriptor, k as isAuthoringPslBlockDescriptor, l as assertTypeAliasesValid, o as assertNoAuthoringFieldNamespace, p as classifyEnumMemberType, q as tsTaggedTemplateSource, r as TIMESTAMP_NOW_GENERATOR_ID, s as assertNoCrossRegistryCollisions, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeChoicesValid, v as flushAuthoringWarnings, w as instantiateAuthoringTypeConstructor, x as instantiateAuthoringEntityType, y as getAuthoringTypeChoice, z as resolveAuthoringTemplateValue } from "./temporal-type-aliases-CFh3BW2a-
|
|
2
|
-
import { C as readWrittenValueAs, D as writeTypedLiteral, E as writeDataTypeValue, O as writtenTypeArguments, S as readWrittenValue, T as tagForm, _ as exactRewrite, a as authoringTypeConstructors, b as knownTags, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, k as writtenTypeConstructorCall, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as findAuthoringTypeChoiceCall, w as readWrittenValueIntoCodec, x as readEnumBlockMembers, y as findAuthoringTypeConstructorCall } from "./authoring-
|
|
1
|
+
import { $ as validateAuthoringTypeChoiceParams, A as isAuthoringTypeAliasDescriptor, B as resolveAuthoringTypeChoice, C as instantiateAuthoringTypeCall, D as isAuthoringEntityTypeDescriptor, E as isAuthoringArgRef, G as temporalTypeAliases, I as mergeAuthoringNamespaces, J as typeChoiceArgumentsFromObject, L as printTaggedLiteral, M as isAuthoringTypeChoiceOption, N as isAuthoringTypeConstructorDescriptor, O as isAuthoringModelAttributeDescriptor, P as isAuthoringTypeDescriptor, Q as validateAuthoringHelperArguments, R as printedTaggedLiteralReadsBack, S as instantiateAuthoringTypeAlias, T as instantiateAuthoringTypeConstructorFromValues, U as resolveTemplateTagEscapes, V as resolveEnumCodecId, W as resolveTypeAliasGenerators, X as typeConstructorLookup, Y as typeChoiceCombinationText, Z as unknownTypeChoiceArgumentMessage, _ as describeTaggedLiteralFailure, a as assembleDataTypeSupport, b as getAuthoringTypeConstructor, c as assertResolvableTypeConstructorTemplates, et as validateAuthoringTypeParams, f as canonicalizeTaggedLiteralBody, h as collectScalarTypeConstructors, i as assembleAuthoringDataTypes, j as isAuthoringTypeChoiceDescriptor, k as isAuthoringPslBlockDescriptor, l as assertTypeAliasesValid, o as assertNoAuthoringFieldNamespace, p as classifyEnumMemberType, q as tsTaggedTemplateSource, r as TIMESTAMP_NOW_GENERATOR_ID, s as assertNoCrossRegistryCollisions, t as AUTHORING_TYPE_DESCRIPTOR_KINDS, u as assertTypeChoicesValid, v as flushAuthoringWarnings, w as instantiateAuthoringTypeConstructor, x as instantiateAuthoringEntityType, y as getAuthoringTypeChoice, z as resolveAuthoringTemplateValue } from "./temporal-type-aliases-CFh3BW2a-CeZV7A5h.mjs";
|
|
2
|
+
import { C as readWrittenValueAs, D as writeTypedLiteral, E as writeDataTypeValue, O as writtenTypeArguments, S as readWrittenValue, T as tagForm, _ as exactRewrite, a as authoringTypeConstructors, b as knownTags, c as describeDiscriminatorRefusal, d as describeRefusedValueType, f as duplicateStoredMembers, g as enumMemberProblemDiagnostic, h as entryForTag, i as authoringTypeConstructorArguments, k as writtenTypeConstructorCall, l as describeExpected, m as entryForPlain, n as admittedTags, o as castTypedValue, p as encodeEnumMembers, r as applyDiscriminatorRule, s as describeAdmittedForms, t as admittedForms, u as describeRefusal, v as findAuthoringTypeChoiceCall, w as readWrittenValueIntoCodec, x as readEnumBlockMembers, y as findAuthoringTypeConstructorCall } from "./authoring-BoRTq-7r.mjs";
|
|
3
3
|
export { AUTHORING_TYPE_DESCRIPTOR_KINDS, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, applyDiscriminatorRule, assembleAuthoringDataTypes, assembleDataTypeSupport, assertNoAuthoringFieldNamespace, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertTypeAliasesValid, assertTypeChoicesValid, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeDiscriminatorRefusal, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, findAuthoringTypeChoiceCall, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringTypeChoice, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringTypeAlias, instantiateAuthoringTypeCall, instantiateAuthoringTypeConstructor, instantiateAuthoringTypeConstructorFromValues, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeAliasDescriptor, isAuthoringTypeChoiceDescriptor, isAuthoringTypeChoiceOption, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, readWrittenValueAs, readWrittenValueIntoCodec, resolveAuthoringTemplateValue, resolveAuthoringTypeChoice, resolveEnumCodecId, resolveTemplateTagEscapes, resolveTypeAliasGenerators, tagForm, temporalTypeAliases, tsTaggedTemplateSource, typeChoiceArgumentsFromObject, typeChoiceCombinationText, typeConstructorLookup, unknownTypeChoiceArgumentMessage, validateAuthoringHelperArguments, validateAuthoringTypeChoiceParams, validateAuthoringTypeParams, writeDataTypeValue, writeTypedLiteral, writtenTypeArguments, writtenTypeConstructorCall };
|
|
@@ -2,5 +2,5 @@ import { C as readJsonString, D as requiredSchemaKeys, E as requiredParamKeys, O
|
|
|
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
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-
|
|
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-CBJNOQS4.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,5 +1,5 @@
|
|
|
1
1
|
import { n as runtimeError, t as isRuntimeError } from "./runtime-error-BA9d7XjZ-BlT8t6LB.mjs";
|
|
2
|
-
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-
|
|
2
|
+
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-VMolCOGa-xY11fV0Q.mjs";
|
|
3
3
|
import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
|
|
4
|
-
import { n as settleAggregateOverloads, t as createGeneratorHelpers } from "./components-
|
|
4
|
+
import { n as settleAggregateOverloads, t as createGeneratorHelpers } from "./components-Bx7dm2HO.mjs";
|
|
5
5
|
export { EMPTY_GENERATOR_FUNCTIONS, aggregateDescriptorKey, assembleGeneratorFunctions, checkContractComponentRequirements, createGeneratorHelpers, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, isRuntimeError, mergeCapabilityMatrices, runtimeError, settleAggregateOverloads, singleGeneratorBinding };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ct as SourceDiagnostic, H as ControlMutationDefaultRegistry, Tt as TypedDefaultFunctionCall, U as ControlMutationDefaults, V as ControlMutationDefaultEntry, at as LoweredDefaultValue, it as LoweredDefaultResult, n as AssembledControlMutationDefaults, ot as MutationDefaultGeneratorDescriptor, q as DefaultFunctionLoweringContext, wt as SourceSpan } from "./authoring-type-choice-CHcRX0RP-CkG1L8a9.mjs";
|
|
2
2
|
import { g as timestampNowControlDescriptor, i as TAGGED_LITERAL_MAX_BYTES, m as resolveTemplateTagEscapes, p as resolvePslBacktickEscapes, u as describeTaggedLiteralFailure } from "./temporal-type-aliases-D5QWPhYa-BNKiNvmd.mjs";
|
|
3
3
|
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
4
|
-
import { $ as MarkerDatabasePoliciesComparison, $n as databasePolicyDifferences, $t as ResolvedMigrationStatement, A as DATA_LOSS_LEVELS, An as SpaceToSign, Ar as migrationSubjectJson, At as MigrationScaffoldContext, B as EmitContractResult, Bn as VerifierOutcome, Br as schemaIssuesWhy, Bt as OperationContext, C as ControlStack, Cn as SchemaViewCapable, Cr as hasSchemaView, Ct as MigrationRunnerExecutionChecks, D as CreateControlStackInput, Dn as SpaceMarkerHashConflict, Dr as issueOutcome, Dt as MigrationRunnerPerSpaceSuccessValue, E as CoreSchemaView, En as SpaceMarkerConflict, Er as issueLabel, Et as MigrationRunnerPerSpaceOptions, F as DatabasePolicyDifference, Fn as VERIFY_CODE_TARGET_MISMATCH, Fr as orderIssuesByDependencies, Ft as MismatchCause, G as FailedCheck, Gn as assertUniqueCodecOwner, Gr as withDeclaredDatabasePolicies, Gt as PslContractBuildCapable, H as EnumValueCoordinateJson, Hn as VerifyDatabaseSchemaResult, Hr as storedDatabasePolicies, Ht as OperationPreviewCapable, I as DeclaredDatabasePolicies, In as ValueObjectFieldCoordinate, Ir as parseDeclaredDatabasePolicies, It as MismatchExplanation, J as FieldCoordinate, Jn as contractSnapshotJsonSpecifier, Jt as PslSourceSettings, K as FailedConversion, Kn as buildExtensionLoadOrder, Kr as withFailingSpace, Kt as PslContractDocument, L as DeclaredDatabasePoliciesIssue, Ln as ValueObjectFieldCoordinateJson, Lr as planOriginOf, Lt as ModelCoordinate, M as DEFAULT_DATABASE_POLICIES, Mn as VERIFY_CODE_HASH_MISMATCH, Mr as modelDisplayName, Mt as MigrationSubject, N as DataLossLevel, Nn as VERIFY_CODE_MARKER_MISSING, Nr as modelStatementText, Nt as MigrationSubjectJson, O as DATABASE_POLICIES_KEYS, On as SpaceSignature, Or as migrationRunnerFailure, Ot as MigrationRunnerResult, P as DatabasePolicies, Pn as VERIFY_CODE_SCHEMA_FAILURE, Pr as movedDatabasePoliciesWhy, Pt as MigrationTemporaryValue, Q as KeepDataEdit, Qn as databasePoliciesOf, Qt as ResolvedFieldRenameStatement, R as DiffSubjectGranularity, Rn as VerificationStatus, Rr as sameMarkerHashes, Rt as ModelCoordinateJson, S as ControlFamilyInstance, Sn as SchemaVerifyResult, Sr as hasSchemaSubjectClassifier, St as MigrationRunner, T as ControlTargetInstance, Tn as SpaceDatabasePoliciesConflict, Tr as isStorageHashHex, Tt as MigrationRunnerFailureMeta, U as ExpectationFailureReason, Un as assembleAuthoringContributions, Ur as valueObjectFieldStatementText, Ut as OperationPreviewStatement, V as EnumValueCoordinate, Vn as VerifyDatabaseResult, Vr as storageHashHex, Vt as OperationPreview, W as FailedCast, Wn as assembleControlMutationDefaults, Wr as withDatabaseUnchanged, Wt as PlanOrigin, X as HelperCodecInvariantInput, Xn as createControlStack, Xt as ResolvedFieldBackfillStatement, Y as FieldCoordinateJson, Yn as contractSnapshotTypesSpecifier, Yt as ResolvedEnumValueRenameStatement, Z as IntrospectSchemaResult, Zn as databasePoliciesMovedFailure, Zt as ResolvedFieldConvertStatement, _ as ControlDriverDescriptor, _n as SchemaTreeNode, _r as fieldStatementText, _t as MigrationPlanner, a as AssembledAuthoringContributions, an as ResolvedVariantConvertStatement, ar as enumValueCoordinateFromJson, at as MigrationDataLoss, b as ControlExtensionInstance, bn as SchemaVerifier, br as hasPslContractBuild, bt as MigrationPlannerResult, c as CONTRACT_SNAPSHOTS_DIRNAME, cn as RowsWithoutValue, cr as expectAbsent, ct as MigrationOperationClass, d as ContractSerializer, dn as SchemaEntityCoordinate, dr as extractCodecTypeImports, dt as MigrationPackage, en as ResolvedModelRenameStatement, er as databasePolicyValueText, et as MarkerDestination, f as ContractSpace, fn as SchemaLabelPart, fr as extractComponentIds, ft as MigrationPlan, g as ControlDriverConnectOptions, gn as SchemaSubjectClassifierCapable, gr as failedPrecheckWhy, gt as MigrationPlanWithAuthoringSurface, h as ControlAdapterInstance, hn as SchemaOwnership, hr as failedPostcheckWhy, ht as MigrationPlanSubjects, i as AppliedMigrationStatement, in as ResolvedValueObjectFieldRenameStatement, ir as enforceHelperCodecInvariants, it as MigrationAccessChange, j as DATA_PROTECTION_KEYS, jn as TargetMigrationsCapability, jr as migrationSubjectKey, jt as MigrationStatementJson, k as DATABASE_POLICIES_META_KEY, kn as SpaceSigned, kr as migrationStatementJson, kt as MigrationRunnerSuccessValue, l as ChangeStrategy, ln as SchemaDiff, lr as expectPresent, lt as MigrationOperationPolicy, m as ControlAdapterDescriptor, mn as SchemaNodeRef, mr as extractQueryOperationTypeImports, mt as MigrationPlanOperation, n as APP_SPACE_ID, nn as ResolvedRenameStatement, nr as diffSchemas, nt as MarkerInsert, o as BlockingObject, on as RowsFailingCheck, or as enumValueCoordinateJson, ot as MigrationDataLossKind, p as ContractSpaceHeadRef, pn as SchemaLabelPartRole, pr as extractParameterizedOutputTypeImports, pt as MigrationPlanNamespaces, q as FailedTypeChange, qn as compareMarkerDatabasePolicies, qt as PslContractInferCapable, r as AccessWideningLevel, rn as ResolvedValueObjectFieldBackfillStatement, rr as dispositionForCategory, rt as MigratableTargetDescriptor, s as CHANGE_STRATEGIES, sn as RowsHoldingValue, sr as enumValueStatementText, st as MigrationMetadata, t as ACCESS_WIDENING_LEVELS, tn as ResolvedNamespaceRenameStatement, tr as describeMigrationStatement, tt as MarkerHashes, u as CheckExpectation, un as SchemaDiffIssue, ur as extractCodecLookup, ut as MigrationOperationSubject, v as ControlDriverInstance, vn as SchemaTreeNodeOptions, vr as hasMigrations, vt as MigrationPlannerConflict, w as ControlTargetDescriptor, wn as SchemaViewNodeKind, wr as isRenameStatement, wt as MigrationRunnerFailure, x as ControlFamilyDescriptor, xn as SchemaVerifyOptions, xr as hasPslContractInfer, xt as MigrationPlannerSuccessResult, y as ControlExtensionDescriptor, yn as SchemaTreeVisitor, yr as hasOperationPreview, yt as MigrationPlannerFailureResult, z as DiffableNode, zn as VerifierIssueCategory, zr as schemaCheckWhy, zt as OpFactoryCall } from "./control-
|
|
4
|
+
import { $ as MarkerDatabasePoliciesComparison, $n as databasePolicyDifferences, $t as ResolvedMigrationStatement, A as DATA_LOSS_LEVELS, An as SpaceToSign, Ar as migrationSubjectJson, At as MigrationScaffoldContext, B as EmitContractResult, Bn as VerifierOutcome, Br as schemaIssuesWhy, Bt as OperationContext, C as ControlStack, Cn as SchemaViewCapable, Cr as hasSchemaView, Ct as MigrationRunnerExecutionChecks, D as CreateControlStackInput, Dn as SpaceMarkerHashConflict, Dr as issueOutcome, Dt as MigrationRunnerPerSpaceSuccessValue, E as CoreSchemaView, En as SpaceMarkerConflict, Er as issueLabel, Et as MigrationRunnerPerSpaceOptions, F as DatabasePolicyDifference, Fn as VERIFY_CODE_TARGET_MISMATCH, Fr as orderIssuesByDependencies, Ft as MismatchCause, G as FailedCheck, Gn as assertUniqueCodecOwner, Gr as withDeclaredDatabasePolicies, Gt as PslContractBuildCapable, H as EnumValueCoordinateJson, Hn as VerifyDatabaseSchemaResult, Hr as storedDatabasePolicies, Ht as OperationPreviewCapable, I as DeclaredDatabasePolicies, In as ValueObjectFieldCoordinate, Ir as parseDeclaredDatabasePolicies, It as MismatchExplanation, J as FieldCoordinate, Jn as contractSnapshotJsonSpecifier, Jt as PslSourceSettings, K as FailedConversion, Kn as buildExtensionLoadOrder, Kr as withFailingSpace, Kt as PslContractDocument, L as DeclaredDatabasePoliciesIssue, Ln as ValueObjectFieldCoordinateJson, Lr as planOriginOf, Lt as ModelCoordinate, M as DEFAULT_DATABASE_POLICIES, Mn as VERIFY_CODE_HASH_MISMATCH, Mr as modelDisplayName, Mt as MigrationSubject, N as DataLossLevel, Nn as VERIFY_CODE_MARKER_MISSING, Nr as modelStatementText, Nt as MigrationSubjectJson, O as DATABASE_POLICIES_KEYS, On as SpaceSignature, Or as migrationRunnerFailure, Ot as MigrationRunnerResult, P as DatabasePolicies, Pn as VERIFY_CODE_SCHEMA_FAILURE, Pr as movedDatabasePoliciesWhy, Pt as MigrationTemporaryValue, Q as KeepDataEdit, Qn as databasePoliciesOf, Qt as ResolvedFieldRenameStatement, R as DiffSubjectGranularity, Rn as VerificationStatus, Rr as sameMarkerHashes, Rt as ModelCoordinateJson, S as ControlFamilyInstance, Sn as SchemaVerifyResult, Sr as hasSchemaSubjectClassifier, St as MigrationRunner, T as ControlTargetInstance, Tn as SpaceDatabasePoliciesConflict, Tr as isStorageHashHex, Tt as MigrationRunnerFailureMeta, U as ExpectationFailureReason, Un as assembleAuthoringContributions, Ur as valueObjectFieldStatementText, Ut as OperationPreviewStatement, V as EnumValueCoordinate, Vn as VerifyDatabaseResult, Vr as storageHashHex, Vt as OperationPreview, W as FailedCast, Wn as assembleControlMutationDefaults, Wr as withDatabaseUnchanged, Wt as PlanOrigin, X as HelperCodecInvariantInput, Xn as createControlStack, Xt as ResolvedFieldBackfillStatement, Y as FieldCoordinateJson, Yn as contractSnapshotTypesSpecifier, Yt as ResolvedEnumValueRenameStatement, Z as IntrospectSchemaResult, Zn as databasePoliciesMovedFailure, Zt as ResolvedFieldConvertStatement, _ as ControlDriverDescriptor, _n as SchemaTreeNode, _r as fieldStatementText, _t as MigrationPlanner, a as AssembledAuthoringContributions, an as ResolvedVariantConvertStatement, ar as enumValueCoordinateFromJson, at as MigrationDataLoss, b as ControlExtensionInstance, bn as SchemaVerifier, br as hasPslContractBuild, bt as MigrationPlannerResult, c as CONTRACT_SNAPSHOTS_DIRNAME, cn as RowsWithoutValue, cr as expectAbsent, ct as MigrationOperationClass, d as ContractSerializer, dn as SchemaEntityCoordinate, dr as extractCodecTypeImports, dt as MigrationPackage, en as ResolvedModelRenameStatement, er as databasePolicyValueText, et as MarkerDestination, f as ContractSpace, fn as SchemaLabelPart, fr as extractComponentIds, ft as MigrationPlan, g as ControlDriverConnectOptions, gn as SchemaSubjectClassifierCapable, gr as failedPrecheckWhy, gt as MigrationPlanWithAuthoringSurface, h as ControlAdapterInstance, hn as SchemaOwnership, hr as failedPostcheckWhy, ht as MigrationPlanSubjects, i as AppliedMigrationStatement, in as ResolvedValueObjectFieldRenameStatement, ir as enforceHelperCodecInvariants, it as MigrationAccessChange, j as DATA_PROTECTION_KEYS, jn as TargetMigrationsCapability, jr as migrationSubjectKey, jt as MigrationStatementJson, k as DATABASE_POLICIES_META_KEY, kn as SpaceSigned, kr as migrationStatementJson, kt as MigrationRunnerSuccessValue, l as ChangeStrategy, ln as SchemaDiff, lr as expectPresent, lt as MigrationOperationPolicy, m as ControlAdapterDescriptor, mn as SchemaNodeRef, mr as extractQueryOperationTypeImports, mt as MigrationPlanOperation, n as APP_SPACE_ID, nn as ResolvedRenameStatement, nr as diffSchemas, nt as MarkerInsert, o as BlockingObject, on as RowsFailingCheck, or as enumValueCoordinateJson, ot as MigrationDataLossKind, p as ContractSpaceHeadRef, pn as SchemaLabelPartRole, pr as extractParameterizedOutputTypeImports, pt as MigrationPlanNamespaces, q as FailedTypeChange, qn as compareMarkerDatabasePolicies, qt as PslContractInferCapable, r as AccessWideningLevel, rn as ResolvedValueObjectFieldBackfillStatement, rr as dispositionForCategory, rt as MigratableTargetDescriptor, s as CHANGE_STRATEGIES, sn as RowsHoldingValue, sr as enumValueStatementText, st as MigrationMetadata, t as ACCESS_WIDENING_LEVELS, tn as ResolvedNamespaceRenameStatement, tr as describeMigrationStatement, tt as MarkerHashes, u as CheckExpectation, un as SchemaDiffIssue, ur as extractCodecLookup, ut as MigrationOperationSubject, v as ControlDriverInstance, vn as SchemaTreeNodeOptions, vr as hasMigrations, vt as MigrationPlannerConflict, w as ControlTargetDescriptor, wn as SchemaViewNodeKind, wr as isRenameStatement, wt as MigrationRunnerFailure, x as ControlFamilyDescriptor, xn as SchemaVerifyOptions, xr as hasPslContractInfer, xt as MigrationPlannerSuccessResult, y as ControlExtensionDescriptor, yn as SchemaTreeVisitor, yr as hasOperationPreview, yt as MigrationPlannerFailureResult, z as DiffableNode, zn as VerifierIssueCategory, zr as schemaCheckWhy, zt as OpFactoryCall } from "./control-rzZBO0wp.mjs";
|
|
5
5
|
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, type AccessWideningLevel, type AppliedMigrationStatement, type AssembledAuthoringContributions, type AssembledControlMutationDefaults, type BlockingObject, CHANGE_STRATEGIES, CONTRACT_SNAPSHOTS_DIRNAME, type ChangeStrategy, type CheckExpectation, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DEFAULT_DATABASE_POLICIES, type DataLossLevel, type DatabasePolicies, type DatabasePolicyDifference, type DeclaredDatabasePolicies, type DeclaredDatabasePoliciesIssue, type DefaultFunctionLoweringContext, type DiffSubjectGranularity, type DiffableNode, type EmitContractResult, type EnumValueCoordinate, type EnumValueCoordinateJson, type ExpectationFailureReason, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FieldCoordinate, type FieldCoordinateJson, type HelperCodecInvariantInput, type ImportRequirement, type IntrospectSchemaResult, type KeepDataEdit, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerDatabasePoliciesComparison, type MarkerDestination, type MarkerHashes, type MarkerInsert, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanNamespaces, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerFailureMeta, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type MismatchCause, type MismatchExplanation, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorDescriptor, type OpFactoryCall, type OperationContext, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PlanOrigin, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, type PslSourceSettings, type ResolvedEnumValueRenameStatement, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedNamespaceRenameStatement, type ResolvedRenameStatement, type ResolvedValueObjectFieldBackfillStatement, type ResolvedValueObjectFieldRenameStatement, type ResolvedVariantConvertStatement, type RowsFailingCheck, type RowsHoldingValue, type RowsWithoutValue, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaLabelPart, type SchemaLabelPartRole, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SourceDiagnostic, type SourceSpan, type SpaceDatabasePoliciesConflict, type SpaceMarkerConflict, type SpaceMarkerHashConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, TAGGED_LITERAL_MAX_BYTES, type TargetMigrationsCapability, type TypedDefaultFunctionCall, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValueObjectFieldCoordinate, type ValueObjectFieldCoordinateJson, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isRenameStatement, isStorageHashHex, issueLabel, issueOutcome, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, movedDatabasePoliciesWhy, orderIssuesByDependencies, parseDeclaredDatabasePolicies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, storedDatabasePolicies, timestampNowControlDescriptor, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { H as resolvePslBacktickEscapes, K as timestampNowControlDescriptor, U as resolveTemplateTagEscapes, _ as describeTaggedLiteralFailure, n as TAGGED_LITERAL_MAX_BYTES } from "./temporal-type-aliases-CFh3BW2a-
|
|
2
|
-
import { $ as issueLabel, A as dispositionForCategory, B as extractParameterizedOutputTypeImports, C as createControlStack, D as databasePolicyValueText, E as databasePolicyDifferences, F as expectAbsent, G as hasMigrations, H as failedPostcheckWhy, I as expectPresent, J as hasPslContractInfer, K as hasOperationPreview, L as extractCodecLookup, M as enumValueCoordinateFromJson, N as enumValueCoordinateJson, O as describeMigrationStatement, P as enumValueStatementText, Q as isStorageHashHex, R as extractCodecTypeImports, S as contractSnapshotTypesSpecifier, T as databasePoliciesOf, U as failedPrecheckWhy, V as extractQueryOperationTypeImports, W as fieldStatementText, X as hasSchemaView, Y as hasSchemaSubjectClassifier, Z as isRenameStatement, _ as assembleControlMutationDefaults, _t as withDatabaseUnchanged, a as DATABASE_POLICIES_KEYS, at as modelDisplayName, b as compareMarkerDatabasePolicies, c as DATA_PROTECTION_KEYS, ct as orderIssuesByDependencies, d as SchemaTreeNode, dt as sameMarkerHashes, et as issueOutcome, f as VERIFY_CODE_HASH_MISMATCH, ft as schemaCheckWhy, g as assembleAuthoringContributions, gt as valueObjectFieldStatementText, h as VERIFY_CODE_TARGET_MISMATCH, ht as storedDatabasePolicies, i as CONTRACT_SNAPSHOTS_DIRNAME, it as migrationSubjectKey, j as enforceHelperCodecInvariants, k as diffSchemas, l as DEFAULT_DATABASE_POLICIES, lt as parseDeclaredDatabasePolicies, m as VERIFY_CODE_SCHEMA_FAILURE, mt as storageHashHex, n as APP_SPACE_ID, nt as migrationStatementJson, o as DATABASE_POLICIES_META_KEY, ot as modelStatementText, p as VERIFY_CODE_MARKER_MISSING, pt as schemaIssuesWhy, q as hasPslContractBuild, r as CHANGE_STRATEGIES, rt as migrationSubjectJson, s as DATA_LOSS_LEVELS, st as movedDatabasePoliciesWhy, t as ACCESS_WIDENING_LEVELS, tt as migrationRunnerFailure, u as SchemaDiff, ut as planOriginOf, v as assertUniqueCodecOwner, vt as withDeclaredDatabasePolicies, w as databasePoliciesMovedFailure, x as contractSnapshotJsonSpecifier, y as buildExtensionLoadOrder, yt as withFailingSpace, z as extractComponentIds } from "./control-
|
|
1
|
+
import { H as resolvePslBacktickEscapes, K as timestampNowControlDescriptor, U as resolveTemplateTagEscapes, _ as describeTaggedLiteralFailure, n as TAGGED_LITERAL_MAX_BYTES } from "./temporal-type-aliases-CFh3BW2a-CeZV7A5h.mjs";
|
|
2
|
+
import { $ as issueLabel, A as dispositionForCategory, B as extractParameterizedOutputTypeImports, C as createControlStack, D as databasePolicyValueText, E as databasePolicyDifferences, F as expectAbsent, G as hasMigrations, H as failedPostcheckWhy, I as expectPresent, J as hasPslContractInfer, K as hasOperationPreview, L as extractCodecLookup, M as enumValueCoordinateFromJson, N as enumValueCoordinateJson, O as describeMigrationStatement, P as enumValueStatementText, Q as isStorageHashHex, R as extractCodecTypeImports, S as contractSnapshotTypesSpecifier, T as databasePoliciesOf, U as failedPrecheckWhy, V as extractQueryOperationTypeImports, W as fieldStatementText, X as hasSchemaView, Y as hasSchemaSubjectClassifier, Z as isRenameStatement, _ as assembleControlMutationDefaults, _t as withDatabaseUnchanged, a as DATABASE_POLICIES_KEYS, at as modelDisplayName, b as compareMarkerDatabasePolicies, c as DATA_PROTECTION_KEYS, ct as orderIssuesByDependencies, d as SchemaTreeNode, dt as sameMarkerHashes, et as issueOutcome, f as VERIFY_CODE_HASH_MISMATCH, ft as schemaCheckWhy, g as assembleAuthoringContributions, gt as valueObjectFieldStatementText, h as VERIFY_CODE_TARGET_MISMATCH, ht as storedDatabasePolicies, i as CONTRACT_SNAPSHOTS_DIRNAME, it as migrationSubjectKey, j as enforceHelperCodecInvariants, k as diffSchemas, l as DEFAULT_DATABASE_POLICIES, lt as parseDeclaredDatabasePolicies, m as VERIFY_CODE_SCHEMA_FAILURE, mt as storageHashHex, n as APP_SPACE_ID, nt as migrationStatementJson, o as DATABASE_POLICIES_META_KEY, ot as modelStatementText, p as VERIFY_CODE_MARKER_MISSING, pt as schemaIssuesWhy, q as hasPslContractBuild, r as CHANGE_STRATEGIES, rt as migrationSubjectJson, s as DATA_LOSS_LEVELS, st as movedDatabasePoliciesWhy, t as ACCESS_WIDENING_LEVELS, tt as migrationRunnerFailure, u as SchemaDiff, ut as planOriginOf, v as assertUniqueCodecOwner, vt as withDeclaredDatabasePolicies, w as databasePoliciesMovedFailure, x as contractSnapshotJsonSpecifier, y as buildExtensionLoadOrder, yt as withFailingSpace, z as extractComponentIds } from "./control-DNwP6V2m.mjs";
|
|
3
3
|
export { ACCESS_WIDENING_LEVELS, APP_SPACE_ID, CHANGE_STRATEGIES, CONTRACT_SNAPSHOTS_DIRNAME, DATABASE_POLICIES_KEYS, DATABASE_POLICIES_META_KEY, DATA_LOSS_LEVELS, DATA_PROTECTION_KEYS, DEFAULT_DATABASE_POLICIES, SchemaDiff, SchemaTreeNode, TAGGED_LITERAL_MAX_BYTES, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, assembleAuthoringContributions, assembleControlMutationDefaults, assertUniqueCodecOwner, buildExtensionLoadOrder, compareMarkerDatabasePolicies, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, createControlStack, databasePoliciesMovedFailure, databasePoliciesOf, databasePolicyDifferences, databasePolicyValueText, describeMigrationStatement, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, enforceHelperCodecInvariants, enumValueCoordinateFromJson, enumValueCoordinateJson, enumValueStatementText, expectAbsent, expectPresent, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, failedPostcheckWhy, failedPrecheckWhy, fieldStatementText, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, isRenameStatement, isStorageHashHex, issueLabel, issueOutcome, migrationRunnerFailure, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, movedDatabasePoliciesWhy, orderIssuesByDependencies, parseDeclaredDatabasePolicies, planOriginOf, resolvePslBacktickEscapes, resolveTemplateTagEscapes, sameMarkerHashes, schemaCheckWhy, schemaIssuesWhy, storageHashHex, storedDatabasePolicies, timestampNowControlDescriptor, valueObjectFieldStatementText, withDatabaseUnchanged, withDeclaredDatabasePolicies, withFailingSpace };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { l as TypesImportSpec } from "./types-import-spec-Bkh243Hv-BI9m5WFL.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import "./emission-
|
|
4
|
-
export {
|
|
2
|
+
import { n as GenerateContractTypesOptions, t as EmissionSpi } from "./emission-types-BuZVDb1i-BnSb9rsQ.mjs";
|
|
3
|
+
import "./emission-ZgkI1aFl.mjs";
|
|
4
|
+
export type { EmissionSpi, GenerateContractTypesOptions, TypesImportSpec };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { keepInternalSpecifiers, resolveRequirementSpecifiers };
|
|
1
|
+
export {};
|