@prisma/orm-framework 8.0.0-rc.18-dev.28 → 8.0.0-rc.18-dev.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{apply-specifier-default-control-policy-Dq8t6SUs.d.mts → apply-specifier-default-control-policy-Dlz0iwnK.d.mts} +2 -2
- package/dist/apply-specifier-default-control-policy-Dlz0iwnK.d.mts.map +1 -0
- package/dist/{authoring-CnjmWENY.d.mts → authoring-BY3RNM--.d.mts} +2 -2
- package/dist/{authoring-CnjmWENY.d.mts.map → authoring-BY3RNM--.d.mts.map} +1 -1
- package/dist/{authoring-Bgq2xYhn.mjs → authoring-D77CrCtb.mjs} +2 -2
- package/dist/authoring-D77CrCtb.mjs.map +1 -0
- package/dist/{binder-BfzoRtNz-LGJyV1PO.d.mts → binder-Cm0N-oPu-deLbJ-j9.d.mts} +17 -20
- package/dist/binder-Cm0N-oPu-deLbJ-j9.d.mts.map +1 -0
- package/dist/{canonicalization-Cd9oGzy7-2SoDBziD.d.mts → canonicalization-CyrrXGmj-CeKUkht1.d.mts} +3 -3
- package/dist/{canonicalization-Cd9oGzy7-2SoDBziD.d.mts.map → canonicalization-CyrrXGmj-CeKUkht1.d.mts.map} +1 -1
- package/dist/{components-BtODGXHF.d.mts → components-BdXloTpj.d.mts} +36 -3
- package/dist/components-BdXloTpj.d.mts.map +1 -0
- package/dist/{components-Bji-LsWb.mjs → components-DJ5O7uwz.mjs} +26 -3
- package/dist/components-DJ5O7uwz.mjs.map +1 -0
- package/dist/components.d.mts +11 -11
- package/dist/components.mjs +6 -6
- package/dist/components__authoring.d.mts +3 -3
- package/dist/components__authoring.mjs +3 -3
- package/dist/components__components.d.mts +4 -3
- package/dist/components__components.mjs +3 -3
- package/dist/components__control.d.mts +4 -4
- package/dist/components__control.mjs +2 -2
- package/dist/components__emission.d.mts +2 -2
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__runtime.d.mts +1 -1
- package/dist/{config-types-B6jmUYbH.d.mts → config-types-BXw8w6h9.d.mts} +10 -7
- package/dist/config-types-BXw8w6h9.d.mts.map +1 -0
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +2 -2
- package/dist/contract-authoring.mjs +3 -3
- package/dist/{contract-types-Mp9HNgyy-zkcDkGuS.d.mts → contract-types-DEIEpzU_-DvAVuBr5.d.mts} +9 -3
- package/dist/contract-types-DEIEpzU_-DvAVuBr5.d.mts.map +1 -0
- package/dist/contract.d.mts +8 -8
- package/dist/contract.mjs +2 -2
- package/dist/contract__apply-specifier-default-control-policy.d.mts +1 -1
- package/dist/contract__enum-accessor.d.mts +1 -1
- package/dist/contract__hashing-utils.d.mts +1 -1
- package/dist/contract__hashing.d.mts +2 -2
- package/dist/contract__types.d.mts +3 -3
- package/dist/contract__types.mjs +2 -2
- package/dist/{control-GBn6rSAO.mjs → control-BJypoZfu.mjs} +9 -27
- package/dist/control-BJypoZfu.mjs.map +1 -0
- package/dist/{control-Bv8UK63M-DSYx-1Xr.mjs → control-Bv8UK63M-dBsEDbTP.mjs} +2 -2
- package/dist/{control-Bv8UK63M-DSYx-1Xr.mjs.map → control-Bv8UK63M-dBsEDbTP.mjs.map} +1 -1
- package/dist/{control-C_zs63JQ-Drfjty0L.d.mts → control-C_zs63JQ-BFg3u8U5.d.mts} +2 -2
- package/dist/{control-C_zs63JQ-Drfjty0L.d.mts.map → control-C_zs63JQ-BFg3u8U5.d.mts.map} +1 -1
- package/dist/{control-CUHu82WN.d.mts → control-D2f07K6R.d.mts} +8 -9
- package/dist/{control-CUHu82WN.d.mts.map → control-D2f07K6R.d.mts.map} +1 -1
- package/dist/control-GrJDRvbD.d.mts +1 -0
- package/dist/{declarations-DuSbyF44-Dmu71nd-.mjs → declarations-DuSbyF44-D-Q7-GRi.mjs} +2 -2
- package/dist/{declarations-DuSbyF44-Dmu71nd-.mjs.map → declarations-DuSbyF44-D-Q7-GRi.mjs.map} +1 -1
- package/dist/{emission-nLoTbaCU.d.mts → emission-D9fjPyAg.d.mts} +1 -1
- package/dist/{emission-types-CH6r1DQ8-BB_7dBvp.d.mts → emission-types-CH6r1DQ8-eg79TO6Y.d.mts} +2 -2
- package/dist/{emission-types-CH6r1DQ8-BB_7dBvp.d.mts.map → emission-types-CH6r1DQ8-eg79TO6Y.d.mts.map} +1 -1
- package/dist/{enum-accessor-GZPV-WpP.d.mts → enum-accessor-BUVBc6ZH.d.mts} +2 -2
- package/dist/{enum-accessor-GZPV-WpP.d.mts.map → enum-accessor-BUVBc6ZH.d.mts.map} +1 -1
- 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-Dya-n_dQ.d.mts → execution-B_f4fR5R.d.mts} +3 -3
- package/dist/{execution-Dya-n_dQ.d.mts.map → execution-B_f4fR5R.d.mts.map} +1 -1
- package/dist/{execution-kM8NRyxS.d.mts → execution-DbU_RTsu.d.mts} +2 -2
- package/dist/{execution-kM8NRyxS.d.mts.map → execution-DbU_RTsu.d.mts.map} +1 -1
- package/dist/{execution-CCaUAQue.mjs → execution-okmamhD2.mjs} +2 -2
- package/dist/{execution-CCaUAQue.mjs.map → execution-okmamhD2.mjs.map} +1 -1
- package/dist/{framework-components-sC9Bo0lq-DZlp3POU.d.mts → framework-components-CDiuJNYP-CwszHrSy.d.mts} +103 -5
- package/dist/framework-components-CDiuJNYP-CwszHrSy.d.mts.map +1 -0
- package/dist/generator-functions-CXbQfvYu-BIFU1Ryx.mjs +271 -0
- package/dist/generator-functions-CXbQfvYu-BIFU1Ryx.mjs.map +1 -0
- package/dist/{hashing-Bva28lrB.d.mts → hashing-D-DHz0zl.d.mts} +3 -3
- package/dist/{hashing-Bva28lrB.d.mts.map → hashing-D-DHz0zl.d.mts.map} +1 -1
- package/dist/{hashing-utils-ZiNLX0QQ.d.mts → hashing-utils-DiGHKd3b.d.mts} +2 -2
- package/dist/{hashing-utils-ZiNLX0QQ.d.mts.map → hashing-utils-DiGHKd3b.d.mts.map} +1 -1
- package/dist/ids.d.mts +1 -5
- package/dist/ids.d.mts.map +1 -1
- package/dist/ids.mjs +7 -37
- package/dist/ids.mjs.map +1 -1
- package/dist/{migration-D5r4nNRY.mjs → migration-BfUEEHWP.mjs} +2 -2
- package/dist/{migration-D5r4nNRY.mjs.map → migration-BfUEEHWP.mjs.map} +1 -1
- package/dist/{migration-DGDETB62.d.mts → migration-BmIe8pwt.d.mts} +2 -2
- package/dist/{migration-DGDETB62.d.mts.map → migration-BmIe8pwt.d.mts.map} +1 -1
- package/dist/mutation-default-types-js6llINX-WGmpaAAL.d.mts +66 -0
- package/dist/mutation-default-types-js6llINX-WGmpaAAL.d.mts.map +1 -0
- package/dist/{parse-BxcaGLV1-hxuk2zDI.mjs → parse-BxcaGLV1-BxEIfxh3.mjs} +2 -2
- package/dist/{parse-BxcaGLV1-hxuk2zDI.mjs.map → parse-BxcaGLV1-BxEIfxh3.mjs.map} +1 -1
- package/dist/{parse-CJtBvEYy-CT6L3Gsh.d.mts → parse-CJtBvEYy-wRfXv1HQ.d.mts} +4 -4
- package/dist/{parse-CJtBvEYy-CT6L3Gsh.d.mts.map → parse-CJtBvEYy-wRfXv1HQ.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +18 -7
- package/dist/psl-parser.d.mts.map +1 -1
- package/dist/psl-parser.mjs +63 -6
- package/dist/psl-parser.mjs.map +1 -1
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__format.mjs +2 -2
- package/dist/psl-parser__interpret.d.mts +5 -5
- package/dist/psl-parser__interpret.mjs +1 -1
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-parser__syntax.mjs +2 -2
- package/dist/psl-printer.d.mts +1 -1
- package/dist/psl-printer.mjs +1 -1
- package/dist/{runtime-CBIxeFGU.d.mts → runtime-CsMROQco.d.mts} +2 -2
- package/dist/{runtime-CBIxeFGU.d.mts.map → runtime-CsMROQco.d.mts.map} +1 -1
- package/dist/{temporal-presets-woCv6gic-DW1VcyKs.mjs → temporal-presets-BcDyr_hK-CFplJNGz.mjs} +6 -104
- package/dist/temporal-presets-BcDyr_hK-CFplJNGz.mjs.map +1 -0
- package/dist/{types-QyibIZST.mjs → types-B8ULzMAX.mjs} +9 -2
- package/dist/types-B8ULzMAX.mjs.map +1 -0
- package/dist/{types-C0eTDwgl.d.mts → types-BBb-tMcj.d.mts} +2 -2
- package/dist/{types-C0eTDwgl.d.mts.map → types-BBb-tMcj.d.mts.map} +1 -1
- package/dist/{written-value-B25FrTvM--oHAqWy0.d.mts → written-value-CQt_C72W-aKFkxVmA.d.mts} +6 -42
- package/dist/written-value-CQt_C72W-aKFkxVmA.d.mts.map +1 -0
- package/package.json +15 -15
- package/dist/apply-specifier-default-control-policy-Dq8t6SUs.d.mts.map +0 -1
- package/dist/authoring-Bgq2xYhn.mjs.map +0 -1
- package/dist/binder-BfzoRtNz-LGJyV1PO.d.mts.map +0 -1
- package/dist/capabilities-Cn-Kepnv-B8FOAyUu.mjs +0 -120
- package/dist/capabilities-Cn-Kepnv-B8FOAyUu.mjs.map +0 -1
- package/dist/components-Bji-LsWb.mjs.map +0 -1
- package/dist/components-BtODGXHF.d.mts.map +0 -1
- package/dist/config-types-B6jmUYbH.d.mts.map +0 -1
- package/dist/contract-types-Mp9HNgyy-zkcDkGuS.d.mts.map +0 -1
- package/dist/control-DScCIe85.d.mts +0 -1
- package/dist/control-GBn6rSAO.mjs.map +0 -1
- package/dist/framework-components-sC9Bo0lq-DZlp3POU.d.mts.map +0 -1
- package/dist/mutation-default-types-DMtyr_6u-wZRBOsHl.d.mts +0 -96
- package/dist/mutation-default-types-DMtyr_6u-wZRBOsHl.d.mts.map +0 -1
- package/dist/temporal-presets-woCv6gic-DW1VcyKs.mjs.map +0 -1
- package/dist/types-QyibIZST.mjs.map +0 -1
- package/dist/written-value-B25FrTvM--oHAqWy0.d.mts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as ControlPolicy, t as Contract } from "./contract-types-
|
|
1
|
+
import { i as ControlPolicy, t as Contract } from "./contract-types-DEIEpzU_-DvAVuBr5.mjs";
|
|
2
2
|
//#region ../../../1-framework/0-foundation/contract/dist/apply-specifier-default-control-policy.d.mts
|
|
3
3
|
//#region src/apply-specifier-default-control-policy.d.ts
|
|
4
4
|
declare function applySpecifierDefaultControlPolicy(contract: Contract, specifierDefault: ControlPolicy | undefined): Contract;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { applySpecifierDefaultControlPolicy as t };
|
|
7
|
-
//# sourceMappingURL=apply-specifier-default-control-policy-
|
|
7
|
+
//# sourceMappingURL=apply-specifier-default-control-policy-Dlz0iwnK.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply-specifier-default-control-policy-Dlz0iwnK.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/apply-specifier-default-control-policy.d.mts"],"mappings":";;;iBAEiB,mCAAmC,UAAU,UAAU,kBAAkB,4BAA4B"}
|
|
@@ -2,7 +2,7 @@ import { B as JsonValue } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
|
|
|
2
2
|
import { i as Codec, p as CodecLookupWithDescriptors } from "./codec-types-B5_YzEwo-DVCRRWlg.mjs";
|
|
3
3
|
import { $ as instantiateAuthoringTypeConstructor, D as AuthoringTypeConstructorDescriptor, F as ParsedPslExtensionBlock, U as PslSpan, a as AuthoringContributions, k as AuthoringTypeNamespace, p as AuthoringFieldPresetDescriptor, s as AuthoringEntityContext } from "./framework-authoring-CdKfPz3Y-BGocjz36.mjs";
|
|
4
4
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
5
|
-
import "./written-value-
|
|
5
|
+
import "./written-value-CQt_C72W-aKFkxVmA.mjs";
|
|
6
6
|
//#region ../../../1-framework/1-core/framework-components/dist/authoring.d.mts
|
|
7
7
|
//#region src/shared/authoring-type-constructor-call.d.ts
|
|
8
8
|
/** What a type constructor call produces for a column. */
|
|
@@ -129,4 +129,4 @@ declare function fieldPresetSpellings(contributions: AuthoringContributions | un
|
|
|
129
129
|
declare function getAuthoringFieldPreset(contributions: AuthoringContributions | undefined, path: readonly string[]): AuthoringFieldPresetDescriptor | undefined;
|
|
130
130
|
//#endregion
|
|
131
131
|
export { findAuthoringTypeConstructorCall as _, EncodedEnumMember as a, EnumBlockSite as c, authoringTypeConstructorArguments as d, authoringTypeConstructors as f, fieldPresetSpellings as g, enumMemberProblemDiagnostic as h, DuplicateStoredValue as i, EnumMemberProblem as l, encodeEnumMembers as m, AuthoringTypeConstructorOutput as n, EnumBlockDiagnostic as o, duplicateStoredMembers as p, DecodedEnum as r, EnumBlockMember as s, AuthoringTypeConstructorCall as t, StoredEnumMember as u, getAuthoringFieldPreset as v, readEnumBlockMembers as y };
|
|
132
|
-
//# sourceMappingURL=authoring-
|
|
132
|
+
//# sourceMappingURL=authoring-BY3RNM--.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-
|
|
1
|
+
{"version":3,"file":"authoring-BY3RNM--.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.d.mts"],"mappings":";;;;;;;;KAOK,iCAAiC,kBAAkB;;UAE9C;WACC;WACA;;;iBAGM,0BAA0B,WAAW,wBAAwB,2BAA2B;WAC9F;WACA,YAAY;;;;;;;iBAON,kCAAkC,YAAY,oCAAoC,QAAQ;;;;;;;iBAO1F,iCAAiC,WAAW,wBAAwB,QAAQ,iCAAiC;;;UAGpH;WACC;WACA,QAAQ;;UAET;WACC;WACA;WACA,QAAQ;;;;;iBAKF,uBAAuB,kBAAkB,8BAA8B;;;;UAI9E;WACC;WACA;aACE;aACA;;;;UAIH;WACC;WACA,OAAO;;UAER;WACC;WACA;WACA;WACA;;UAED;WACC;WACA;WACA;WACA,QAAQ;WACR;;KAEN;WACM;WACA;;WAEA;IACP,qBAAqB;WACd;IACP;;;;iBAIa,kBAAkB,aAAa,aAAa,aAAa,6BAA6B,gBAAgB,8BAA8B;;;UAG3I;WACC;WACA;;UAED;WACC;WACA;WACA;WACA,MAAM;;;;;UAKP;WACC;WACA;WACA;WACA,MAAM;WACN,aAAa,SAAS,eAAe;;;;;iBAK/B,4BAA4B,SAAS,mBAAmB,MAAM,gBAAgB;;;;;;iBAM9E,qBAAqB,OAAO,wBAAwB,SAAS,eAAe,0BAA0B,iBAAiB,OAAO,OAAO,KAAK,kCAAkC;;;;;;iBAM5K,qBAAqB,eAAe,oCAAoC;;;;iBAIxE,wBAAwB,eAAe,oCAAoC,0BAA0B"}
|
|
@@ -3,7 +3,7 @@ import { r as isInternalError, t as InternalError } from "./internal-error-ChGYP
|
|
|
3
3
|
import { n as notOk, r as ok } from "./result-8OXF26MN.mjs";
|
|
4
4
|
import { t as canonicalizeJson } from "./canonicalize-json-ZPawceQR-Dua1VNEB.mjs";
|
|
5
5
|
import { u as dataTypeId } from "./data-type-DPhZLx30-DP2Kmnf5.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { C as isAuthoringTypeConstructorDescriptor, D as printedTaggedLiteralReadsBack, E as printTaggedLiteral, _ as isAuthoringArgRef, g as instantiateAuthoringTypeConstructor, y as isAuthoringFieldPresetDescriptor } from "./temporal-presets-BcDyr_hK-CFplJNGz.mjs";
|
|
7
7
|
import { a as readContractValue, i as enumRefusalOf } from "./codec-descriptor-DEfL2Kb6-B-vOB0ue.mjs";
|
|
8
8
|
//#region ../../../1-framework/1-core/framework-components/dist/authoring.mjs
|
|
9
9
|
/** Every type constructor of `namespace`, with its path, in namespace order. */
|
|
@@ -503,4 +503,4 @@ function describeAdmittedForms(support, dataType) {
|
|
|
503
503
|
//#endregion
|
|
504
504
|
export { tagForm as S, findAuthoringTypeConstructorCall as _, castTypedValue as a, readEnumBlockMembers as b, describeRefusal as c, encodeEnumMembers as d, entryForPlain as f, fieldPresetSpellings as g, exactRewrite as h, authoringTypeConstructors as i, describeRefusedValueType as l, enumMemberProblemDiagnostic as m, admittedTags as n, describeAdmittedForms as o, entryForTag as p, authoringTypeConstructorArguments as r, describeExpected as s, admittedForms as t, duplicateStoredMembers as u, getAuthoringFieldPreset as v, readWrittenValue as x, knownTags as y };
|
|
505
505
|
|
|
506
|
-
//# sourceMappingURL=authoring-
|
|
506
|
+
//# sourceMappingURL=authoring-D77CrCtb.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authoring-D77CrCtb.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/authoring.mjs"],"sourcesContent":["import { t as canonicalizeJson } from \"./canonicalize-json-ZPawceQR.mjs\";\nimport { a as dataTypeId } from \"./data-type-DPhZLx30.mjs\";\nimport { a as readContractValue, r as enumRefusalOf } from \"./codec-descriptor-DEfL2Kb6.mjs\";\nimport { A as isAuthoringModelAttributeDescriptor, C as getAuthoringTypeConstructor, D as isAuthoringArgRef, E as instantiateAuthoringTypeConstructor, F as mergeAuthoringNamespaces, I as resolveAuthoringTemplateValue, L as resolveEnumCodecId, M as isAuthoringSelectRef, N as isAuthoringTypeConstructorDescriptor, O as isAuthoringEntityTypeDescriptor, R as validateAuthoringHelperArguments, S as flushAuthoringWarnings, T as instantiateAuthoringFieldPreset, _ as assertNoCrossRegistryCollisions, a as temporalCodecPreset, d as describeTaggedLiteralFailure, f as printTaggedLiteral, g as tsTaggedTemplateSource, h as resolveTemplateTagEscapes, i as temporalAuthoringPresets, j as isAuthoringPslBlockDescriptor, k as isAuthoringFieldPresetDescriptor, n as TEMPORAL_ON_UPDATE_ARG, o as temporalPhaseTemplate, p as printedTaggedLiteralReadsBack, r as TIMESTAMP_NOW_GENERATOR_ID, s as temporalPhaseTemplateWithParams, t as TEMPORAL_ON_CREATE_ARG, u as canonicalizeTaggedLiteralBody, v as assertResolvableTypeConstructorTemplates, w as instantiateAuthoringEntityType, x as collectScalarTypeConstructors, y as classifyEnumMemberType, z as validateAuthoringTypeParams } from \"./temporal-presets-BcDyr_hK.mjs\";\nimport { InternalError, isInternalError } from \"@internal/utils/internal-error\";\nimport { canonicalStringify } from \"@internal/utils/canonical-stringify\";\nimport { notOk, ok } from \"@internal/utils/result\";\n//#region src/shared/authoring-type-constructor-call.ts\n/** Every type constructor of `namespace`, with its path, in namespace order. */\nfunction* authoringTypeConstructors(namespace, path = []) {\n\tfor (const [name, value] of Object.entries(namespace)) if (isAuthoringTypeConstructorDescriptor(value)) yield {\n\t\tpath: [...path, name],\n\t\tdescriptor: value\n\t};\n\telse yield* authoringTypeConstructors(value, [...path, name]);\n}\nfunction produces(produced, wanted) {\n\tconst wantedFields = {\n\t\t...wanted,\n\t\ttypeParams: wanted.typeParams ?? {}\n\t};\n\treturn Object.entries({\n\t\t...produced,\n\t\ttypeParams: produced.typeParams ?? {}\n\t}).every(([key, value]) => canonicalizeJson(value) === canonicalizeJson(wantedFields[key]));\n}\n/**\n* The arguments that make `descriptor` produce exactly `output`, when each of its type parameters\n* comes straight from one argument; `undefined` when it cannot produce `output`, including when\n* `output` has no value for an argument the constructor requires.\n*/\nfunction authoringTypeConstructorArguments(descriptor, output) {\n\tif (descriptor.entityRefArg !== void 0 || descriptor.output.codecId !== output.codecId) return;\n\tconst args = [];\n\tfor (const [key, template] of Object.entries(descriptor.output.typeParams ?? {})) {\n\t\tconst value = output.typeParams?.[key];\n\t\tif (value !== void 0 && isAuthoringArgRef(template) && template.path === void 0) args[template.index] = value;\n\t}\n\tconst requiredArgs = (descriptor.args ?? []).filter((arg) => arg.optional !== true).length;\n\tif (args.length < requiredArgs || Array.from(args).includes(void 0)) return void 0;\n\ttry {\n\t\treturn produces(instantiateAuthoringTypeConstructor(descriptor, args), output) ? args : void 0;\n\t} catch {\n\t\treturn;\n\t}\n}\n/**\n* The first call, in namespace order, to a type constructor in `namespace` that produces exactly\n* `output`. The inverse of {@link instantiateAuthoringTypeConstructor} for constructors whose type\n* parameters each come straight from one argument. A constructor whose argument names another\n* entity is never chosen. `undefined` when no call produces `output`.\n*/\nfunction findAuthoringTypeConstructorCall(namespace, output) {\n\tfor (const { path, descriptor } of authoringTypeConstructors(namespace)) {\n\t\tconst args = authoringTypeConstructorArguments(descriptor, output);\n\t\tif (args !== void 0) return {\n\t\t\tpath,\n\t\t\targs\n\t\t};\n\t}\n}\n//#endregion\n//#region src/shared/enum-stored-members.ts\n/**\n* Each enum member whose stored form equals an earlier member's, paired with the first such member. Stored forms are compared as `contract.json` holds them, so negative zero is zero, and by `canonicalStringify`, so two objects with the same entries in a different order are equal. Every enum authoring surface refuses the members this returns.\n*/\nfunction duplicateStoredMembers(members) {\n\tconst memberByStoredForm = /* @__PURE__ */ new Map();\n\tconst duplicates = [];\n\tfor (const { name, stored } of members) {\n\t\tconst key = canonicalStringify(JSON.parse(JSON.stringify(stored)));\n\t\tconst earlier = memberByStoredForm.get(key);\n\t\tif (earlier === void 0) memberByStoredForm.set(key, name);\n\t\telse duplicates.push({\n\t\t\tearlier,\n\t\t\tlater: name,\n\t\t\tstored\n\t\t});\n\t}\n\treturn duplicates;\n}\n//#endregion\n//#region src/shared/enum-block-members.ts\n/**\n* A problem with an enum's members as a diagnostic at the member, or at the block when the problem is the enum's codec.\n*/\nfunction enumMemberProblemDiagnostic(problem, site) {\n\tconst { enumName, codecId, sourceId } = site;\n\tconst at = (member) => ({\n\t\tsourceId,\n\t\tspan: site.memberSpans[member] ?? site.span\n\t});\n\tswitch (problem.kind) {\n\t\tcase \"codec-not-for-enums\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" cannot use the codec \"${codecId}\". ${problem.refusal}`,\n\t\t\tsourceId,\n\t\t\tspan: site.span\n\t\t};\n\t\tcase \"codec-missing\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" uses codec \"${codecId}\", which no pack in the contract provides`,\n\t\t\tsourceId,\n\t\t\tspan: site.span\n\t\t};\n\t\tcase \"codec-refused-member\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" member \"${problem.member}\" was rejected by codec \"${codecId}\": ${problem.reason}`,\n\t\t\t...at(problem.member)\n\t\t};\n\t\tcase \"member-not-stored-as-written\": return {\n\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\" member \"${problem.member}\" is written ${problem.written}, but its codec stores ${JSON.stringify(problem.stored)}. Write the member as ${problem.writeAs}.`,\n\t\t\t...at(problem.member)\n\t\t};\n\t\tcase \"duplicate-member-value\": return {\n\t\t\tcode: \"PSL_ENUM_DUPLICATE_MEMBER_VALUE\",\n\t\t\tmessage: `enum \"${enumName}\": members \"${problem.earlier}\" and \"${problem.later}\" both store ${JSON.stringify(problem.stored)}`,\n\t\t\t...at(problem.later)\n\t\t};\n\t}\n}\n/**\n* Reads the members of an `enum` block through its codec. A member written as a number literal is read from its source text as a column default is read, when the family gives a reader for it (`ctx.readWrittenNumber`), so no digit is lost; when that reader refuses the number, the codec's data type and then the codec read it, and only if they refuse it too is the reader's reason reported. Every other member is read the same way, as a value of the codec's data type converted by `fromDataTypeValue`, and a bare member is read from its own name.\n* Pushes a diagnostic and returns `undefined` when the codec refuses a member, when two members\n* store the same value, or when the block has no members. Shared by every family's enum factory.\n*/\nfunction readEnumBlockMembers(block, codecId, codec, ctx) {\n\tconst sourceId = ctx.sourceId ?? \"unknown\";\n\tconst diagnostics = ctx.diagnostics;\n\tconst site = {\n\t\tenumName: block.name,\n\t\tcodecId,\n\t\tsourceId,\n\t\tspan: block.span,\n\t\tmemberSpans: block.parameterSpans\n\t};\n\tconst members = [];\n\tconst storedMembers = [];\n\tlet memberError = false;\n\tfor (const [memberName, memberValue] of Object.entries(block.values)) {\n\t\tconst span = block.parameterSpans[memberName] ?? block.span;\n\t\tconst reading = typeof memberValue === \"number\" ? ctx.readWrittenNumber?.({\n\t\t\ttext: block.numberTexts?.[memberName] ?? String(memberValue),\n\t\t\tcodecId,\n\t\t\tsubject: `enum \"${block.name}\" member \"${memberName}\"`\n\t\t}) : void 0;\n\t\tconst written = reading?.ok ? reading.value : memberValue === void 0 ? memberName : memberValue;\n\t\tlet read;\n\t\ttry {\n\t\t\tread = readContractValue(codec, written, void 0);\n\t\t} catch (err) {\n\t\t\tif (isInternalError(err)) throw err;\n\t\t\tdiagnostics?.push(reading !== void 0 && !reading.ok ? {\n\t\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\t\tmessage: reading.message,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t} : memberValue === void 0 ? {\n\t\t\t\tcode: \"PSL_ENUM_BARE_MEMBER_NON_STRING_CODEC\",\n\t\t\t\tmessage: `enum \"${block.name}\" member \"${memberName}\" has no value and codec \"${codecId}\" does not accept a bare name as input`,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t} : {\n\t\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\t\tmessage: `enum \"${block.name}\" member \"${memberName}\" was rejected by codec \"${codecId}\": ${err instanceof Error ? err.message : String(err)}`,\n\t\t\t\tsourceId,\n\t\t\t\tspan\n\t\t\t});\n\t\t\tmemberError = true;\n\t\t\tcontinue;\n\t\t}\n\t\tmembers.push({\n\t\t\tname: memberName,\n\t\t\tvalue: read\n\t\t});\n\t\tstoredMembers.push({\n\t\t\tname: memberName,\n\t\t\tstored: codec.dataType.toContract(codec.toDataTypeValue(read))\n\t\t});\n\t}\n\tfor (const duplicate of duplicateStoredMembers(storedMembers)) {\n\t\tdiagnostics?.push(enumMemberProblemDiagnostic({\n\t\t\tkind: \"duplicate-member-value\",\n\t\t\t...duplicate\n\t\t}, site));\n\t\tmemberError = true;\n\t}\n\tif (memberError) return void 0;\n\tif (members.length === 0) {\n\t\tdiagnostics?.push({\n\t\t\tcode: \"PSL_ENUM_MISSING_TYPE\",\n\t\t\tmessage: `enum \"${block.name}\" must have at least one member`,\n\t\t\tsourceId,\n\t\t\tspan: block.span\n\t\t});\n\t\treturn;\n\t}\n\treturn members;\n}\n//#endregion\n//#region src/shared/enum-members.ts\n/** Whether TypeScript gives the value a literal type: a primitive, or an array or plain object of them. */\nfunction hasLiteralType(value) {\n\tif ([\n\t\t\"string\",\n\t\t\"number\",\n\t\t\"boolean\",\n\t\t\"bigint\"\n\t].includes(typeof value)) return true;\n\tif (Array.isArray(value)) return value.every(hasLiteralType);\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst prototype = Object.getPrototypeOf(value);\n\treturn (prototype === Object.prototype || prototype === null) && Object.values(value).every(hasLiteralType);\n}\n/**\n* A member's value in the form its codec stores it, and that form read back by the codec. A codec that throws on either is a refusal naming the member; an internal error is not the member's fault and propagates.\n*/\nfunction encodeEnumMember(member, codec) {\n\ttry {\n\t\tconst stored = codec.dataType.toContract(codec.toDataTypeValue(member.value));\n\t\treturn ok({\n\t\t\tstored,\n\t\t\treadBack: readContractValue(codec, stored, void 0)\n\t\t});\n\t} catch (cause) {\n\t\tif (isInternalError(cause)) throw cause;\n\t\treturn notOk({\n\t\t\tkind: \"codec-refused-member\",\n\t\t\tmember: member.name,\n\t\t\treason: cause instanceof Error ? cause.message : String(cause),\n\t\t\tcause\n\t\t});\n\t}\n}\n/**\n* Refuses a member its codec reads back as a different value from the one written. A member with no literal type has nothing to compare.\n*/\nfunction notStoredAsWritten(member, stored, readBack) {\n\tif (!hasLiteralType(member.value)) return void 0;\n\tif (hasLiteralType(readBack) && canonicalStringify(readBack) === canonicalStringify(member.value)) return void 0;\n\treturn {\n\t\tkind: \"member-not-stored-as-written\",\n\t\tmember: member.name,\n\t\twritten: canonicalStringify(member.value),\n\t\tstored,\n\t\twriteAs: hasLiteralType(readBack) ? canonicalStringify(readBack) : JSON.stringify(stored)\n\t};\n}\n/**\n* Each member of an enum in the form its codec stores it. Refuses a codec an enum cannot use, a codec the lookup does not have, a member the codec refuses, a member the codec reads back as another value, and two members stored as the same value. Every family's contract build calls this, and reports the problems in its own terms.\n*/\nfunction encodeEnumMembers(decodedEnum, codecLookup) {\n\tconst descriptor = codecLookup.descriptorFor(decodedEnum.codecId);\n\tconst refusal = descriptor === void 0 ? void 0 : enumRefusalOf(descriptor);\n\tif (refusal !== void 0) return notOk([{\n\t\tkind: \"codec-not-for-enums\",\n\t\trefusal\n\t}]);\n\tconst codec = codecLookup.get(decodedEnum.codecId);\n\tif (codec === void 0) return notOk([{ kind: \"codec-missing\" }]);\n\tconst problems = [];\n\tconst members = [];\n\tfor (const member of decodedEnum.enumMembers) {\n\t\tconst encoded = encodeEnumMember(member, codec);\n\t\tif (!encoded.ok) {\n\t\t\tproblems.push(encoded.failure);\n\t\t\tcontinue;\n\t\t}\n\t\tconst { stored, readBack } = encoded.value;\n\t\tconst mismatch = notStoredAsWritten(member, stored, readBack);\n\t\tif (mismatch !== void 0) problems.push(mismatch);\n\t\tmembers.push({\n\t\t\tname: member.name,\n\t\t\tvalue: stored\n\t\t});\n\t}\n\tfor (const duplicate of duplicateStoredMembers(members.map(({ name, value }) => ({\n\t\tname,\n\t\tstored: value\n\t})))) problems.push({\n\t\tkind: \"duplicate-member-value\",\n\t\t...duplicate\n\t});\n\treturn problems.length > 0 ? notOk(problems) : ok(members);\n}\n//#endregion\n//#region src/shared/field-preset-resolution.ts\nfunction presetSpellingsUnder(members, prefix) {\n\treturn Object.entries(members).flatMap(([name, member]) => isAuthoringFieldPresetDescriptor(member) ? [`${prefix}.${name}(${(member.args ?? []).map((arg, index) => arg.name ?? `argument${index + 1}`).join(\", \")})`] : presetSpellingsUnder(member, `${prefix}.${name}`));\n}\n/**\n* How each field preset registered under `namespace`, at any depth, is written, with the names of its arguments: `temporal.timestamp(onCreate, onUpdate)`.\n*/\nfunction fieldPresetSpellings(contributions, namespace) {\n\tconst members = contributions?.field?.[namespace];\n\tif (members === void 0 || isAuthoringFieldPresetDescriptor(members)) return [];\n\treturn presetSpellingsUnder(members, namespace);\n}\n/**\n* Walks `authoringContributions.field` segment by segment and returns the field-preset descriptor at the path, or `undefined` when none is registered there.\n*/\nfunction getAuthoringFieldPreset(contributions, path) {\n\tlet current = contributions?.field;\n\tfor (const segment of path) {\n\t\tif (typeof current !== \"object\" || current === null || \"kind\" in current) return;\n\t\tcurrent = current[segment];\n\t}\n\treturn current !== void 0 && isAuthoringFieldPresetDescriptor(current) ? current : void 0;\n}\n//#endregion\n//#region src/shared/written-value.ts\n/**\n* Words a refusal of the cast rule. The message leads with what to write; the types are named only when the value has a form the position admits and its type is still refused, such as a number too large for the receiving type.\n*/\nfunction describeRefusal(refusal, support, guidance) {\n\tswitch (refusal.kind) {\n\t\tcase \"unknown-tag\": return {\n\t\t\tcode: \"PSL_UNKNOWN_LITERAL_TAG\",\n\t\t\tmessage: `Unknown literal tag \"${refusal.tag}\". Known tags: ${refusal.known.join(\", \")}.`\n\t\t};\n\t\tcase \"unwritable\": return {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: `${describeExpected(guidance.forms)}; this target has no data type for a ${refusal.syntax} value`\n\t\t};\n\t\tcase \"unreadable\":\n\t\tcase \"refused-by-type\": return {\n\t\t\tcode: \"PSL_INVALID_LITERAL\",\n\t\t\tmessage: refusal.message\n\t\t};\n\t\tcase \"no-cast\": return {\n\t\t\tcode: \"PSL_VALUE_TYPE_INCOMPATIBLE\",\n\t\t\tmessage: describeRefusedValueType(refusal, support, guidance)\n\t\t};\n\t}\n}\n/** `Expected <forms>`, the forms joined with `or`: the start of every refusal that says what to write. */\nfunction describeExpected(forms) {\n\treturn `Expected ${joinForms(forms)}`;\n}\n/**\n* Words a value of type `valueType` that `receivingType` refuses, where `guidance.forms` may be written. The types are named only when the value has one of those forms.\n*/\nfunction describeRefusedValueType(refused, support, guidance) {\n\tconst expected = describeExpected(guidance.forms);\n\tconst valueForm = writtenForm(support, refused.valueType);\n\tif (valueForm !== void 0 && guidance.forms.some((form) => isSameForm(form, valueForm))) return `${expected} that ${refused.receivingType} can hold; got ${refused.valueType}`;\n\treturn guidance.rewrite === void 0 ? expected : `${expected}; write ${guidance.rewrite}`;\n}\nfunction isSameForm(a, b) {\n\treturn a.kind === \"tag\" && b.kind === \"tag\" ? a.tag === b.tag : a.kind === b.kind;\n}\n/**\n* The literal to write in place of a quoted string that `receivingType` refuses under `receivingParams`: the string as a literal of the first tag the type admits. `undefined` when the value is not a quoted string, the type admits no tag, the literal would not read back as the same text, or the type would refuse the literal too.\n*/\nfunction exactRewrite(support, receiving, written) {\n\tconst { receivingType, receivingParams } = receiving;\n\tconst [tag] = admittedTags(support, receivingType);\n\tif (written.kind !== \"string\" || tag === void 0) return void 0;\n\tif (!printedTaggedLiteralReadsBack(written.text)) return void 0;\n\tconst read = readWrittenValue(support, {\n\t\tkind: \"tag\",\n\t\ttag,\n\t\ttext: written.text\n\t});\n\tif (!read.ok || !castTypedValue(support, receivingType, receivingParams, read.value).ok) return;\n\treturn printTaggedLiteral(tag, written.text);\n}\nfunction findEntry(support, matches) {\n\tfor (const [key, entry] of Object.entries(support.entries)) if (matches(entry)) return {\n\t\tkey,\n\t\tentry\n\t};\n}\n/** The entry a tag names, or `undefined` when no pack registered that tag. */\nfunction entryForTag(support, tag) {\n\treturn findEntry(support, ({ written }) => written.kind === \"tag\" && written.tag === tag);\n}\n/** The entry that reads a plain string, boolean or number, or `undefined` when none does. */\nfunction entryForPlain(support, syntax) {\n\treturn findEntry(support, ({ written }) => written.kind === \"plain\" && written.syntax === syntax);\n}\n/** Every tag a stack registers, in the order the entries were merged. */\nfunction knownTags(support) {\n\treturn Object.values(support.entries).flatMap((entry) => entry.written.kind === \"tag\" ? [entry.written.tag] : []);\n}\nfunction textOf(written) {\n\treturn written.kind === \"boolean\" ? String(written.value) : written.text;\n}\nfunction messageOf(error) {\n\treturn error instanceof Error ? error.message : String(error);\n}\n/** The value of `type` that `json` gives under `params`, constructed by that type; a refusal is worded for a diagnostic. */\nfunction valueOfType(support, type, json, params, refuse) {\n\tconst declaration = support.lookup.get(type);\n\tif (declaration === void 0) throw new InternalError(`A value of \"${type}\" was written, and this stack does not register it.`);\n\ttry {\n\t\treturn ok(declaration.valueFrom(json(), params));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\treturn notOk(refuse(messageOf(error)));\n\t}\n}\n/** Read one written value through the authoring entry for its syntax, as a value its type constructs. */\nfunction readWrittenValue(support, written) {\n\tconst found = written.kind === \"tag\" ? entryForTag(support, written.tag) : entryForPlain(support, written.kind);\n\tif (found === void 0) return written.kind === \"tag\" ? notOk({\n\t\tkind: \"unknown-tag\",\n\t\ttag: written.tag,\n\t\tknown: knownTags(support)\n\t}) : notOk({\n\t\tkind: \"unwritable\",\n\t\tsyntax: written.kind\n\t});\n\tconst text = textOf(written);\n\tconst form = found.entry.written;\n\tconst unreadable = (message) => ({\n\t\tkind: \"unreadable\",\n\t\tmessage\n\t});\n\tif (form.kind === \"plain\" && form.syntax === \"number\") {\n\t\tconst classified = form.classify(text);\n\t\treturn classified === void 0 ? notOk(unreadable(`no data type of this target holds the number ${text}`)) : valueOfType(support, classified.type, () => classified.value, {}, unreadable);\n\t}\n\treturn valueOfType(support, dataTypeId(found.key), () => form.parse(text), {}, unreadable);\n}\n/** Take a value into the receiving type, directly or through the cast that type declares; the receiving type constructs the result under `receivingParams`, the parameters of the position that receives it. */\nfunction castTypedValue(support, receivingType, receivingParams, value) {\n\tconst refusedByType = (message) => ({\n\t\tkind: \"refused-by-type\",\n\t\treceivingType,\n\t\tmessage\n\t});\n\tif (value.type === receivingType) return valueOfType(support, receivingType, () => value.value, receivingParams, refusedByType);\n\tconst declaration = support.lookup.get(receivingType);\n\tconst cast = declaration?.casts[value.type];\n\tif (cast === void 0) return notOk({\n\t\tkind: \"no-cast\",\n\t\treceivingType,\n\t\treceivingParams,\n\t\tvalueType: value.type,\n\t\tcasts: Object.keys(declaration?.casts ?? {})\n\t});\n\tconst source = support.lookup.get(value.type);\n\tif (source === void 0) throw new InternalError(`A value of \"${value.type}\" was cast, and this stack does not register it.`);\n\tlet json;\n\ttry {\n\t\tjson = cast(source.toContract(value));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\treturn notOk({\n\t\t\tkind: \"unreadable\",\n\t\t\tmessage: messageOf(error)\n\t\t});\n\t}\n\treturn valueOfType(support, receivingType, () => json, receivingParams, refusedByType);\n}\n/** The type itself, then each type it casts from, in key order. */\nfunction admittedTypes(support, dataType) {\n\treturn [dataType, ...Object.keys(support.lookup.get(dataType)?.casts ?? {})];\n}\n/** The tags a position of `dataType` admits: its own tag, then the tags of the types it casts from. */\nfunction admittedTags(support, dataType) {\n\tconst tags = admittedTypes(support, dataType).flatMap((type) => {\n\t\tconst written = support.entries[type]?.written;\n\t\treturn written?.kind === \"tag\" ? [written.tag] : [];\n\t});\n\treturn [...new Set(tags)];\n}\n/** The form a value of a tagged literal's type is written in. */\nfunction tagForm(tag) {\n\treturn {\n\t\tkind: \"tag\",\n\t\ttag,\n\t\tphrase: `${tag}\\`...\\``\n\t};\n}\nconst PLAIN_PHRASES = {\n\tstring: \"a quoted string\",\n\tboolean: \"true or false\",\n\tnumber: \"a number\"\n};\nfunction writtenForm(support, type) {\n\tconst written = support.entries[type]?.written;\n\tif (written?.kind === \"tag\") return tagForm(written.tag);\n\tif (written?.kind === \"plain\" && written.syntax !== \"number\") return {\n\t\tkind: written.syntax,\n\t\tphrase: PLAIN_PHRASES[written.syntax]\n\t};\n\treturn Object.entries(support.entries).some(([key, entry]) => entry.written.kind === \"plain\" && entry.written.syntax === \"number\" && (key === type || entry.written.types.some((listed) => listed === type))) ? {\n\t\tkind: \"number\",\n\t\tphrase: PLAIN_PHRASES.number\n\t} : void 0;\n}\n/** What {@link describeAdmittedForms} returns for a type that nothing writes. */\nconst NO_WRITTEN_FORM = \"no written form\";\n/** Each form a position receiving every one of `receivingTypes` admits, once, in order: ``sql`...` ``, `true or false`. */\nfunction admittedForms(support, receivingTypes) {\n\tconst forms = [];\n\tfor (const type of receivingTypes.flatMap((receiving) => admittedTypes(support, receiving))) {\n\t\tconst form = writtenForm(support, type);\n\t\tif (form !== void 0 && !forms.some((listed) => isSameForm(listed, form))) forms.push(form);\n\t}\n\treturn forms;\n}\nfunction joinForms(forms) {\n\treturn forms.length === 0 ? NO_WRITTEN_FORM : forms.map((form) => form.phrase).join(\" or \");\n}\n/** How a position of `dataType` can be written, for a diagnostic: ``sql`...` ``, `true or false`. */\nfunction describeAdmittedForms(support, dataType) {\n\treturn joinForms(admittedForms(support, [dataType]));\n}\n//#endregion\nexport { TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, admittedForms, admittedTags, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, authoringTypeConstructorArguments, authoringTypeConstructors, canonicalizeTaggedLiteralBody, castTypedValue, classifyEnumMemberType, collectScalarTypeConstructors, describeAdmittedForms, describeExpected, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, duplicateStoredMembers, encodeEnumMembers, entryForPlain, entryForTag, enumMemberProblemDiagnostic, exactRewrite, fieldPresetSpellings, findAuthoringTypeConstructorCall, flushAuthoringWarnings, getAuthoringFieldPreset, getAuthoringTypeConstructor, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, knownTags, mergeAuthoringNamespaces, printTaggedLiteral, printedTaggedLiteralReadsBack, readEnumBlockMembers, readWrittenValue, resolveAuthoringTemplateValue, resolveEnumCodecId, resolveTemplateTagEscapes, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhase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AAG;EAC5F,MAAM,OAAO,YAAY,SAAS,IAAI;EACtC,IAAI,SAAS,KAAK,KAAK,CAAC,MAAM,MAAM,WAAW,WAAW,QAAQ,IAAI,CAAC,GAAG,MAAM,KAAK,IAAI;CAC1F;CACA,OAAO;AACR;AACA,SAAS,UAAU,OAAO;CACzB,OAAO,MAAM,WAAW,IAAI,kBAAkB,MAAM,KAAK,SAAS,KAAK,MAAM,CAAC,CAAC,KAAK,MAAM;AAC3F;;AAEA,SAAS,sBAAsB,SAAS,UAAU;CACjD,OAAO,UAAU,cAAc,SAAS,CAAC,QAAQ,CAAC,CAAC;AACpD"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { B as JsonValue } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
|
|
2
2
|
import { T as DataTypeValue, v as DataTypeId } from "./codec-types-B5_YzEwo-DVCRRWlg.mjs";
|
|
3
3
|
import { D as AuthoringTypeConstructorDescriptor, U as PslSpan, p as AuthoringFieldPresetDescriptor } from "./framework-authoring-CdKfPz3Y-BGocjz36.mjs";
|
|
4
|
-
import { i as ControlMutationDefaults } from "./mutation-default-types-
|
|
4
|
+
import { i as ControlMutationDefaults } from "./mutation-default-types-js6llINX-WGmpaAAL.mjs";
|
|
5
5
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import "./authoring-
|
|
6
|
+
import { d as TaggedLiteralCanonicalization } from "./written-value-CQt_C72W-aKFkxVmA.mjs";
|
|
7
|
+
import "./authoring-BY3RNM--.mjs";
|
|
8
8
|
import "./codec-CGFT5YKu.mjs";
|
|
9
|
-
import "./
|
|
9
|
+
import { l as SignatureArgumentOutput, u as SignatureOptionalArgument } from "./components-BdXloTpj.mjs";
|
|
10
|
+
import "./control-D2f07K6R.mjs";
|
|
10
11
|
import "./psl-ast-BrpUfqBu.mjs";
|
|
11
|
-
import { n as ContractSourceContext } from "./config-types-
|
|
12
|
-
import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, T as MixinDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-CJtBvEYy-
|
|
12
|
+
import { n as ContractSourceContext } from "./config-types-BXw8w6h9.mjs";
|
|
13
|
+
import { $ as TypeAnnotationAst, A as NamespaceDeclarationAst, D as ModelAttributeAst, F as ParseDiagnostic, O as ModelDeclarationAst, T as MixinDeclarationAst, V as PslSources, Y as SyntaxNode, _ as GenericBlockDeclarationAst, f as DocumentAst, h as FieldDeclarationAst, k as NamedTypeDeclarationAst, l as CompositeTypeDeclarationAst, m as FieldAttributeAst, n as AstNode, p as ExpressionAst, w as KeyValuePairAst, z as PslDiagnostic } from "./parse-CJtBvEYy-wRfXv1HQ.mjs";
|
|
13
14
|
import { n as UnionToIntersection, t as Simplify } from "./types-DGxlljKG.mjs";
|
|
14
|
-
//#region ../../../1-framework/2-authoring/psl-parser/dist/binder-
|
|
15
|
+
//#region ../../../1-framework/2-authoring/psl-parser/dist/binder-Cm0N-oPu.d.mts
|
|
15
16
|
//#region src/resolve.d.ts
|
|
16
17
|
interface ResolvedAttributeArg {
|
|
17
18
|
readonly kind: 'positional' | 'named';
|
|
@@ -183,9 +184,8 @@ interface FieldAttributeCtx extends ModelAttributeCtx {
|
|
|
183
184
|
}
|
|
184
185
|
type ArgTypeKind = 'bool' | 'dataTypeValue' | 'entityRef' | 'fieldRef' | 'funcCall' | 'identifier' | 'int' | 'json' | 'null' | 'list' | 'num' | 'oneOf' | 'record' | 'referencedFieldRef' | 'rejecting' | 'str' | 'taggedLiteral';
|
|
185
186
|
type ArgTypeContext = 'attribute' | 'field' | 'model';
|
|
186
|
-
interface ArgTypeOutput<T, Ctx extends AttributeCtx> {
|
|
187
|
+
interface ArgTypeOutput<T, Ctx extends AttributeCtx> extends SignatureArgumentOutput<T> {
|
|
187
188
|
readonly label: string;
|
|
188
|
-
readonly _out?: T;
|
|
189
189
|
/** True when the argument has this type's shape, so that its diagnostics are about the argument. `oneOf` returns the result of the one alternative that claims the argument. */
|
|
190
190
|
readonly claims?: (arg: ExpressionAst) => boolean;
|
|
191
191
|
readonly parse: (arg: ExpressionAst, ctx: Ctx) => Result<T, readonly PslDiagnostic[]>;
|
|
@@ -323,11 +323,12 @@ type RequiredContextFor<Ctx extends AttributeCtx> = [Extract<Ctx, FieldAttribute
|
|
|
323
323
|
type ContextForRequirement<Req extends ArgTypeContext> = Req extends 'field' ? FieldAttributeCtx : Req extends 'model' ? ModelAttributeCtx : AttributeCtx;
|
|
324
324
|
type InspectableArgType<Ctx extends AttributeCtx> = ArgType<unknown, Ctx>;
|
|
325
325
|
type ArgTypeVariant<Ctx extends AttributeCtx> = BoolArgType<Ctx> | DataTypeValueArgType<Ctx> | EntityRefArgType<EntityDeclaration, Ctx> | FieldRefArgType<ModelAttributeCtx & Ctx> | FuncCallArgType<string, Ctx> | IdentifierArgType<string, Ctx> | IntArgType<Ctx> | JsonArgType<Ctx> | NullArgType<Ctx> | ListArgType<unknown, Ctx> | FixedNumArgType<number, Ctx> | UnrestrictedNumArgType<Ctx> | NumLiteralArgType<Ctx> | OneOfMetadata | RecordArgType<unknown, Ctx> | ReferencedFieldRefArgType<FieldAttributeCtx & Ctx> | RejectingArgType<never, Ctx> | FixedStrArgType<string, Ctx> | UnrestrictedStrArgType<Ctx> | TaggedLiteralArgType<Ctx>;
|
|
326
|
-
type OptionalArgType<T, Ctx extends AttributeCtx, Type extends object = ArgType<T, Ctx>, HasDefault extends boolean = boolean> = Type &
|
|
327
|
-
|
|
326
|
+
type OptionalArgType<T, Ctx extends AttributeCtx, Type extends object = ArgType<T, Ctx>, HasDefault extends boolean = boolean> = Type & OptionalArgumentMarks<T, HasDefault>;
|
|
327
|
+
/** What `optional(...)` adds to an argument type: the shared optional mark `gen` reads, and its default. */
|
|
328
|
+
interface OptionalArgumentMarks<T, HasDefault extends boolean> extends SignatureOptionalArgument {
|
|
328
329
|
readonly hasDefault: HasDefault;
|
|
329
330
|
readonly defaultValue?: T | undefined;
|
|
330
|
-
}
|
|
331
|
+
}
|
|
331
332
|
interface Param<T, Ctx extends AttributeCtx> {
|
|
332
333
|
readonly type: ArgType<T, Ctx>;
|
|
333
334
|
readonly documentation: string;
|
|
@@ -348,12 +349,8 @@ interface AttributeSpec<Out, Ctx extends AttributeCtx> {
|
|
|
348
349
|
*/
|
|
349
350
|
readonly refine?: (parsed: Out, ctx: Ctx, attributeNode: AstNode) => readonly PslDiagnostic[];
|
|
350
351
|
}
|
|
351
|
-
type OutOf<P> = P extends
|
|
352
|
-
|
|
353
|
-
} ? T : never;
|
|
354
|
-
type OptionalMarker = {
|
|
355
|
-
readonly optional: true;
|
|
356
|
-
};
|
|
352
|
+
type OutOf<P> = P extends SignatureArgumentOutput<infer T> ? T : never;
|
|
353
|
+
type OptionalMarker = SignatureOptionalArgument;
|
|
357
354
|
type NamedOut<N extends Record<string, Param<unknown, never>>> = Simplify<{ [K in keyof N as N[K]['type'] extends OptionalMarker ? never : K]: OutOf<N[K]['type']>; } & { [K in keyof N as N[K]['type'] extends OptionalMarker ? K : never]?: OutOf<N[K]['type']>; }>;
|
|
358
355
|
type PosEntryObject<E extends PositionalParam<unknown, never>> = E['type'] extends OptionalMarker ? { [K in E['key']]?: OutOf<E['type']>; } : { [K in E['key']]: OutOf<E['type']>; };
|
|
359
356
|
type PosOut<Pos extends readonly PositionalParam<unknown, never>[]> = Simplify<UnionToIntersection<{ [I in keyof Pos]: PosEntryObject<Pos[I]>; }[number]>>;
|
|
@@ -493,7 +490,7 @@ interface UnresolvedTypeReference {
|
|
|
493
490
|
readonly written: string;
|
|
494
491
|
}
|
|
495
492
|
type DescribeUnresolvedType = (unresolved: UnresolvedTypeReference) => string | undefined;
|
|
496
|
-
interface BinderContext extends Pick<ContractSourceContext, 'authoringContributions' | 'pslDiagnostics' | 'dataTypes'> {
|
|
493
|
+
interface BinderContext extends Pick<ContractSourceContext, 'authoringContributions' | 'pslDiagnostics' | 'dataTypes' | 'generatorFunctions'> {
|
|
497
494
|
readonly controlMutationDefaults: Pick<ControlMutationDefaults, 'defaultFunctionRegistry'>;
|
|
498
495
|
}
|
|
499
496
|
interface CreateBinderInput {
|
|
@@ -510,4 +507,4 @@ declare function contributedTypeOf(resolution: Resolution | undefined, binder: B
|
|
|
510
507
|
declare function createBinder(input: CreateBinderInput): BinderResult;
|
|
511
508
|
//#endregion
|
|
512
509
|
export { ModelSymbol as $, DescribeUnresolvedType as A, SymbolTableResult as At, FixedStrArgType as B, createBinder as Bt, ContributedTypeNamespace as C, ResolvedAttributeArg as Ct, CtxOf as D, Scope as Dt, CreateBinderInput as E, ResolvedTypeConstructorCall as Et, FieldAttributeCtx as F, UnrestrictedNumArgType as Ft, InferAttr as G, memberEntries as Gt, FuncCallSig as H, isNamespaceLike as Ht, FieldRefArgType as I, UnrestrictedStrArgType as It, JsonArgType as J, readResolvedAttributes as Jt, InspectableArgType as K, nodePslSpan as Kt, FieldSymbol as L, UnsupportedAttribute as Lt, EntityDeclaration as M, TypedFuncCall as Mt, EntityRefArgType as N, UnresolvedTypeReference as Nt, DataTypeValueArgType as O, ScopeResolution as Ot, EntitySelector as P, UnrestrictedIdentifierArgType as Pt, ModelAttributeCtx as Q, FixedIdentifierArgType as R, buildSymbolTable as Rt, ContributedTypeDescriptor as S, ResolvedAttribute as St, ContributedTypeSymbol as T, ResolvedNamedTypeBinding as Tt, FunctionSymbol as U, keywordPslSpan as Ut, FuncCallArgType as V, entityReference as Vt, IdentifierArgType as W, matchesSelector as Wt, ListArgType as X, typeReferenceNode as Xt, JsonValueArgType as Y, readResolvedConstructorCall as Yt, MixinSymbol as Z, CompositeTypeSymbol as _, RecordArgType as _t, AttributeLevel as a, NumLiteralArgType as at, ContributedMember as b, RequiredContextFor as bt, AttributeSymbol as c, OutOf as ct, BinderResult as d, ParameterSymbol as dt, NamedOut as et, BlockAttributeCtx as f, ParsedTaggedLiteral as ft, BuildSymbolTableOptions as g, PslSymbol as gt, BoundSpec as h, PositionalParam as ht, AttributeCtx as i, NumLiteral as it, DescribeUnsupportedAttribute as j, TaggedLiteralArgType as jt, DeclarationFor as k, SymbolTable as kt, Binder as l, PSL_UNRESOLVED_REFERENCE as lt, BoolArgType as m, PosOut as mt, ArgType as n, NamespaceSymbol as nt, AttributeOut as o, OneOfArgType as ot, BlockSymbol as p, ParsedTypedValue as pt, IntArgType as q, readResolvedAttribute as qt, ArgTypeKind as r, NullArgType as rt, AttributeSpec as s, OptionalArgType as st, AnyArgType as t, NamedTypeSymbol as tt, BinderContext as u, Param as ut, ConstantSymbol as v, ReferencedFieldRefArgType as vt, ContributedTypeScope as w, ResolvedEntityReference as wt, ContributedNamespaceSymbol as x, Resolution as xt, ContextForRequirement as y, RejectingArgType as yt, FixedNumArgType as z, contributedTypeOf as zt };
|
|
513
|
-
//# sourceMappingURL=binder-
|
|
510
|
+
//# sourceMappingURL=binder-Cm0N-oPu-deLbJ-j9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binder-Cm0N-oPu-deLbJ-j9.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/binder-Cm0N-oPu.d.mts"],"mappings":";;;;;;;;;;;;;;;;UAWU;WACC;WACA;WACA;WACA,aAAa;WACb,MAAM;;UAEP,kBAAkB,cAAc,oBAAoB,oBAAoB,oBAAoB;WAC3F;WACA,eAAe;WACf,MAAM;WACN,MAAM;;UAEP;WACC;WACA,eAAe;WACf,MAAM;;iBAEA,sBAAsB,cAAc,oBAAoB,mBAAmB,WAAW,OAAO,SAAS,aAAa,kBAAkB;iBACrI,uBAAuB,cAAc,oBAAoB,mBAAmB,YAAY,SAAS,QAAQ,SAAS,sBAAsB,kBAAkB;iBAC1J,4BAA4B,YAA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AQ,MAAM,aAAa;;UAEnB;WACC,WAAW;WACX;WACA,OAAO;WACP,OAAO;;KAEb,gCAAgC,aAAa,yBAAyB;UACjE;WACC,OAAO;WACP,OAAO;WACP;;KAEN,0BAA0B,YAAY;UACjC,sBAAsB,KAAK;WAC1B,yBAAyB,KAAK;;UAE/B;WACC,SAAS;WACT,aAAa;WACb,SAAS;;UAEV;WACC,QAAQ;WACR,sBAAsB;;iBAEhB,kBAAkB,QAAQ,cAAc,kBAAkB;iBAC1D,kBAAkB,YAAY,wBAAwB,QAAQ,SAAS;iBACvE,aAAa,OAAO,oBAAoB"}
|
package/dist/{canonicalization-Cd9oGzy7-2SoDBziD.d.mts → canonicalization-CyrrXGmj-CeKUkht1.d.mts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Contract } from "./contract-types-
|
|
1
|
+
import { t as Contract } from "./contract-types-DEIEpzU_-DvAVuBr5.mjs";
|
|
2
2
|
import { n as JsonObject } from "./json-Dkqr3say.mjs";
|
|
3
|
-
//#region ../../../1-framework/0-foundation/contract/dist/canonicalization-
|
|
3
|
+
//#region ../../../1-framework/0-foundation/contract/dist/canonicalization-CyrrXGmj.d.mts
|
|
4
4
|
//#region src/canonicalization.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Per-target contract serializer hook. The framework canonicalizer uses
|
|
@@ -66,4 +66,4 @@ declare function canonicalizeContractToObject(contract: Contract, options: Canon
|
|
|
66
66
|
declare function canonicalizeContract(contract: Contract, options: CanonicalizeContractOptions): string;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { canonicalizeContract as a, StorageSort as i, PreserveEmptyPredicate as n, canonicalizeContractToObject as o, SerializeContract as r, CanonicalizeContractOptions as t };
|
|
69
|
-
//# sourceMappingURL=canonicalization-
|
|
69
|
+
//# sourceMappingURL=canonicalization-CyrrXGmj-CeKUkht1.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonicalization-
|
|
1
|
+
{"version":3,"file":"canonicalization-CyrrXGmj-CeKUkht1.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/canonicalization-CyrrXGmj.d.mts"],"mappings":";;;;;;;;;;;;KAWK,qBAAqB,UAAU,aAAa;;;;;;;;;KAS5C,0BAA0B;;;;;;;;KAQ1B,eAAe;UACV;WACC;;;;;;;;;;;WAWA,mBAAmB;;;;;;;WAOnB,sBAAsB;;;;;;;;WAQtB,cAAc;;;;;;;iBAOR,6BAA6B,UAAU,UAAU,SAAS,8BAA8B;iBACxF,qBAAqB,UAAU,UAAU,SAAS"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as CodecTrait } from "./codec-types-B5_YzEwo-DVCRRWlg.mjs";
|
|
2
2
|
import { t as AggregateDescriptor } from "./types-import-spec-B2nK2jwW-DkF7t1NL.mjs";
|
|
3
|
-
import "./framework-components-
|
|
3
|
+
import { b as GeneratorFunctionCall, x as GeneratorFunctionComponent } from "./framework-components-CDiuJNYP-CwszHrSy.mjs";
|
|
4
4
|
//#region ../../../1-framework/1-core/framework-components/dist/components.d.mts
|
|
5
5
|
//#region src/shared/aggregate-overloads.d.ts
|
|
6
6
|
/** What settling needs to know about a codec: its id, and the traits an overload can claim it by. */
|
|
@@ -46,5 +46,38 @@ interface SettledAggregateOverloads<TDescriptor extends AggregateDescriptor> {
|
|
|
46
46
|
*/
|
|
47
47
|
declare function settleAggregateOverloads<TDescriptor extends AggregateDescriptor>(descriptors: readonly TDescriptor[], codecs: Iterable<AggregateCodecTraits>): SettledAggregateOverloads<TDescriptor>;
|
|
48
48
|
//#endregion
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
//#region src/shared/generator-helpers.d.ts
|
|
50
|
+
/** The value type an argument type of a signature parses to. psl-parser's `ArgTypeOutput` extends it, so `gen` reads the argument types of a `FuncCallSig` through this one definition. */
|
|
51
|
+
interface SignatureArgumentOutput<T> {
|
|
52
|
+
readonly _out?: T;
|
|
53
|
+
}
|
|
54
|
+
/** The mark psl-parser's `optional(...)` puts on an argument type; its `OptionalArgumentMarks` extends it. It makes the `gen` argument optional. */
|
|
55
|
+
interface SignatureOptionalArgument {
|
|
56
|
+
readonly optional: true;
|
|
57
|
+
}
|
|
58
|
+
type ArgumentOut<Type> = Type extends SignatureArgumentOutput<infer Out> ? Exclude<Out, undefined> : unknown;
|
|
59
|
+
type PositionalArguments<Params> = Params extends readonly [infer Head, ...infer Rest] ? Head extends {
|
|
60
|
+
readonly type: infer Type;
|
|
61
|
+
} ? Type extends SignatureOptionalArgument ? [argument?: ArgumentOut<Type>, ...PositionalArguments<Rest>] : [argument: ArgumentOut<Type>, ...PositionalArguments<Rest>] : [] : [];
|
|
62
|
+
/** The `gen` helper of one generator function, typed by the positional arguments of its signature. */
|
|
63
|
+
type GeneratorHelper<Signature> = (...args: Signature extends {
|
|
64
|
+
readonly positional: infer Params;
|
|
65
|
+
} ? PositionalArguments<Params> : []) => GeneratorFunctionCall;
|
|
66
|
+
type ContributionsOf<Component> = Component extends {
|
|
67
|
+
readonly generatorFunctions?: infer Contributions;
|
|
68
|
+
} ? Contributions extends readonly (infer Contribution)[] ? Contribution : never : never;
|
|
69
|
+
type Declared<Contribution> = Contribution extends {
|
|
70
|
+
readonly name: string;
|
|
71
|
+
readonly signature: object;
|
|
72
|
+
} ? Contribution : never;
|
|
73
|
+
/** The pack refs of a record of extension packs, as a union. */
|
|
74
|
+
type ExtensionPackValues<Extensions> = Extensions extends Record<string, infer Pack> ? Pack : never;
|
|
75
|
+
/** The `gen` helpers of a set of components: one per generator function they declare. */
|
|
76
|
+
type GeneratorHelpersOf<Component> = { readonly [Contribution in Declared<ContributionsOf<Component>> as Contribution['name']]: GeneratorHelper<Contribution['signature']>; };
|
|
77
|
+
/**
|
|
78
|
+
* 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.
|
|
79
|
+
*/
|
|
80
|
+
declare function createGeneratorHelpers<const Component extends GeneratorFunctionComponent>(components: readonly Component[]): GeneratorHelpersOf<Component>;
|
|
81
|
+
//#endregion
|
|
82
|
+
export { GeneratorHelper as a, SettledAggregateOverloads as c, createGeneratorHelpers as d, settleAggregateOverloads as f, ExtensionPackValues as i, SignatureArgumentOutput as l, AggregateOverloadAmbiguity as n, GeneratorHelpersOf as o, AggregateOverloadDuplicate as r, SettledAggregateOperation as s, AggregateCodecTraits as t, SignatureOptionalArgument as u };
|
|
83
|
+
//# sourceMappingURL=components-BdXloTpj.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-BdXloTpj.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;UAQU;WACC;WACA,iBAAiB;;;UAGlB,0BAA0B,oBAAoB;;WAE7C,WAAW,oBAAoB;;WAE/B,SAAS;;WAET,UAAU;;;UAGX;WACC;WACA;WACA,iBAAiB;;;UAGlB,2BAA2B,oBAAoB;WAC9C;WACA;WACA,OAAO;WACP,QAAQ;;UAET,0BAA0B,oBAAoB;WAC7C,YAAY,oBAAoB,0BAA0B;WAC1D,sBAAsB;WACtB,qBAAqB,2BAA2B;;;;;;;;;;;iBAW1C,yBAAyB,oBAAoB,qBAAqB,sBAAsB,eAAe,QAAQ,SAAS,wBAAwB,0BAA0B;;;;UAIjL,wBAAwB;WACvB,OAAO;;;UAGR;WACC;;KAEN,YAAY,QAAQ,aAAa,8BAA8B,OAAO,QAAQ;KAC9E,oBAAoB,UAAU,+BAA+B,eAAe,QAAQ;WAC9E,YAAY;IACnB,aAAa,6BAA6B,WAAW,YAAY,UAAU,oBAAoB,UAAU,UAAU,YAAY,UAAU,oBAAoB;;KAE5J,gBAAgB,iBAAiB,MAAM;WACjC,kBAAkB;IACzB,oBAAoB,iBAAiB;KACpC,gBAAgB,aAAa;WACvB,2BAA2B;IAClC,sCAAsC,kBAAkB;KACvD,SAAS,gBAAgB;WACnB;WACA;IACP;;KAEC,oBAAoB,cAAc,mBAAmB,qBAAqB,QAAQ;;KAElF,mBAAmB,yBAAyB,gBAAgB,SAAS,gBAAgB,eAAe,uBAAuB,gBAAgB;;;;iBAI/H,6BAA6B,kBAAkB,4BAA4B,qBAAqB,cAAc,mBAAmB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
|
+
import { n as aggregateDescriptorKey } from "./generator-functions-CXbQfvYu-BIFU1Ryx.mjs";
|
|
2
3
|
//#region ../../../1-framework/1-core/framework-components/dist/components.mjs
|
|
3
4
|
/**
|
|
4
5
|
* Settle every contributed overload against `codecs`.
|
|
@@ -82,7 +83,29 @@ function settleAggregateOverloads(descriptors, codecs) {
|
|
|
82
83
|
duplicates
|
|
83
84
|
};
|
|
84
85
|
}
|
|
86
|
+
function positionalKeys(signature) {
|
|
87
|
+
if (typeof signature !== "object" || signature === null || !("positional" in signature)) return [];
|
|
88
|
+
const positional = signature.positional;
|
|
89
|
+
if (!Array.isArray(positional)) return [];
|
|
90
|
+
return positional.flatMap((param) => typeof param === "object" && param !== null && "key" in param && typeof param.key === "string" ? [param.key] : []);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* 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.
|
|
94
|
+
*/
|
|
95
|
+
function createGeneratorHelpers(components) {
|
|
96
|
+
const helpers = {};
|
|
97
|
+
for (const component of components) for (const contribution of component.generatorFunctions ?? []) {
|
|
98
|
+
if (contribution.signature === void 0) continue;
|
|
99
|
+
const keys = positionalKeys(contribution.signature);
|
|
100
|
+
const name = contribution.name;
|
|
101
|
+
helpers[name] = (...values) => ({
|
|
102
|
+
name,
|
|
103
|
+
args: Object.fromEntries(keys.flatMap((key, index) => values[index] === void 0 ? [] : [[key, values[index]]]))
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
return blindCast(helpers);
|
|
107
|
+
}
|
|
85
108
|
//#endregion
|
|
86
|
-
export { settleAggregateOverloads as t };
|
|
109
|
+
export { settleAggregateOverloads as n, createGeneratorHelpers as t };
|
|
87
110
|
|
|
88
|
-
//# sourceMappingURL=components-
|
|
111
|
+
//# sourceMappingURL=components-DJ5O7uwz.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-DJ5O7uwz.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.mjs"],"sourcesContent":["import { 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-CXbQfvYu.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\nfunction positionalKeys(signature) {\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, settleAggregateOverloads, singleGeneratorBinding };\n\n//# sourceMappingURL=components.mjs.map"],"mappings":";;;;;;;;;;;;AAcA,SAAS,yBAAyB,aAAa,QAAQ;CACtD,MAAM,8BAA8B,IAAI,IAAI;CAC5C,MAAM,8BAA8B,IAAI,IAAI;CAC5C,MAAM,aAAa,CAAC;CACpB,KAAK,MAAM,cAAc,aAAa;EACrC,MAAM,MAAM,uBAAuB,UAAU;EAC7C,MAAM,QAAQ,YAAY,IAAI,GAAG;EACjC,IAAI,UAAU,KAAK,GAAG;GACrB,WAAW,KAAK;IACf,WAAW,WAAW;IACtB;IACA;IACA,QAAQ;GACT,CAAC;GACD;E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AO,CAAC;CACjG,MAAM,aAAa,UAAU;CAC7B,IAAI,CAAC,MAAM,QAAQ,UAAU,GAAG,OAAO,CAAC;CACxC,OAAO,WAAW,SAAS,UAAU,OAAO,UAAU,YAAY,UAAU,QAAQ,SAAS,SAAS,OAAO,MAAM,QAAQ,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;AACvJ;;;;AAIA,SAAS,uBAAuB,YAAY;CAC3C,MAAM,UAAU,CAAC;CACjB,KAAK,MAAM,aAAa,YAAY,KAAK,MAAM,gBAAgB,UAAU,sBAAsB,CAAC,GAAG;EAClG,IAAI,aAAa,cAAc,KAAK,GAAG;EACvC,MAAM,OAAO,eAAe,aAAa,SAAS;EAClD,MAAM,OAAO,aAAa;EAC1B,QAAQ,SAAS,GAAG,YAAY;GAC/B;GACA,MAAM,OAAO,YAAY,KAAK,SAAS,KAAK,UAAU,OAAO,WAAW,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC;EAC9G;CACD;CACA,OAAO,UAAU,OAAO;AACzB"}
|
package/dist/components.d.mts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { A as createDataTypeLookup, B as requireValueOf, C as DataTypeSpec, D as TypeLookups, E as ListCast, F as dataTypeValuesEqual, H as requiredSchemaKeys, I as emptyCodecLookup, L as enumRefusalOf, M as dataTypeId, N as dataTypeParams, O as assembleDataTypes, P as dataTypeParamsProblem, R as objectSchemaKeys, S as DataTypeReader, T as DataTypeValue, U as schemaKeysAllowing, V as requiredParamKeys, _ as DataType, a as CodecCallContext, b as DataTypeParams, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as CodecTrait, h as CodecRegistry, i as Codec, j as dataType, k as assertDataTypeParams, l as CodecDescriptorTemplateImpl, m as CodecRef, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecLookupWithDescriptors, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeId, w as DataTypeSpelling, x as DataTypeParamsProblem, y as DataTypeLookup, z as readContractValue } from "./codec-types-B5_YzEwo-DVCRRWlg.mjs";
|
|
2
2
|
import { $ as instantiateAuthoringTypeConstructor, A as AuthoringWarning, B as PslExtensionBlockParsedAttribute, C as AuthoringPslBlockDescriptorNamespace, D as AuthoringTypeConstructorDescriptor, E as AuthoringTemplateValue, F as ParsedPslExtensionBlock, G as assertNoCrossRegistryCollisions, H as PslPosition, I as PslDiagnosticCode, J as collectScalarTypeConstructors, K as assertResolvableTypeConstructorTemplates, L as PslExtensionBlock, M as ContributedPslDiagnosticCode, N as DataTypeAuthoringEntry, O as AuthoringTypeConstructorEntityRef, P as DataTypeWrittenForm, Q as instantiateAuthoringFieldPreset, R as PslExtensionBlockAttribute, S as AuthoringPslBlockDescriptor, T as AuthoringStorageTypeTemplate, U as PslSpan, V as PslExtensionBlockPrintEntry, W as ScalarTypeConstructorOutput, X as getAuthoringTypeConstructor, Y as flushAuthoringWarnings, Z as instantiateAuthoringEntityType, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, at as isAuthoringSelectRef, b as AuthoringModelAttributeLoweringOutput, c as AuthoringEntityTypeDescriptor, ct as resolveAuthoringTemplateValue, d as AuthoringEntityTypeTemplateOutput, dt as validateAuthoringTypeParams, et as isAuthoringArgRef, f as AuthoringFieldNamespace, g as AuthoringModelAttributeDescriptor, h as AuthoringModelAttributeContext, i as AuthoringColumnDefaultTemplate, it as isAuthoringPslBlockDescriptor, j as AuthoringWarningSink, k as AuthoringTypeNamespace, l as AuthoringEntityTypeFactoryOutput, lt as resolveEnumCodecId, m as AuthoringFieldPresetOutput, n as AuthoringArgumentDescriptor, nt as isAuthoringFieldPresetDescriptor, o as AuthoringDiagnosticSink, ot as isAuthoringTypeConstructorDescriptor, p as AuthoringFieldPresetDescriptor, q as classifyEnumMemberType, r as AuthoringAttributeSpecContributions, rt as isAuthoringModelAttributeDescriptor, s as AuthoringEntityContext, st as mergeAuthoringNamespaces, t as AuthoringArgRef, tt as isAuthoringEntityTypeDescriptor, u as AuthoringEntityTypeNamespace, ut as validateAuthoringHelperArguments, v as AuthoringModelAttributeEntityOutput, w as AuthoringSelectRef, x as AuthoringOption, y as AuthoringModelAttributeIndexOutput, z as PslExtensionBlockAttributeArg } from "./framework-authoring-CdKfPz3Y-BGocjz36.mjs";
|
|
3
|
-
import { a as
|
|
4
|
-
import { A as
|
|
5
|
-
import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-
|
|
3
|
+
import { a as DefaultFunctionLoweringContext, c as MutationDefaultGeneratorDescriptor, d as TypedDefaultFunctionCall, i as ControlMutationDefaults, l as SourceDiagnostic, n as ControlMutationDefaultEntry, o as LoweredDefaultResult, r as ControlMutationDefaultRegistry, s as LoweredDefaultValue, t as AssembledControlMutationDefaults, u as SourceSpan } from "./mutation-default-types-js6llINX-WGmpaAAL.mjs";
|
|
4
|
+
import { A as readWrittenValue, C as describeTaggedLiteralFailure, D as knownTags, E as exactRewrite, F as temporalCodecPreset, I as temporalPhaseTemplate, L as temporalPhaseTemplateWithParams, M as resolveTemplateTagEscapes, N as tagForm, O as printTaggedLiteral, P as temporalAuthoringPresets, R as timestampNowControlDescriptor, S as describeRefusedValueType, T as entryForTag, _ as canonicalizeTaggedLiteralBody, a as RefusalDescription, b as describeExpected, c as TEMPORAL_ON_CREATE_ARG, d as TaggedLiteralCanonicalization, f as WrittenForm, g as admittedTags, h as admittedForms, i as ReadRefusal, j as resolvePslBacktickEscapes, k as printedTaggedLiteralReadsBack, l as TEMPORAL_ON_UPDATE_ARG, m as WrittenValue, n as DataTypeSupport, o as RefusalGuidance, p as WrittenScalar, r as PresetStorageTemplate, s as TAGGED_LITERAL_MAX_BYTES, t as CastRefusal, u as TIMESTAMP_NOW_GENERATOR_ID, v as castTypedValue, w as entryForPlain, x as describeRefusal, y as describeAdmittedForms, z as tsTaggedTemplateSource } from "./written-value-CQt_C72W-aKFkxVmA.mjs";
|
|
5
|
+
import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-BY3RNM--.mjs";
|
|
6
6
|
import { A as resolveCodecDescriptorOrThrow, C as readJsonFloat, D as readJsonString, E as readJsonMatching, O as refuseJsonValue, S as readJsonBoolean, T as readJsonIntegerText, _ as column, a as ColumnHelperForStrict, b as isNonFiniteText, c as DATA_TYPE_ID_PATTERN, d as IntegerRange, f as SAFE_INTEGER_BIGINT_RANGE, g as codecForRef, h as ScalarFieldDeclarationBuilder, i as ColumnHelperFor, j as validateCodecTypeParams, k as renderTsLiteral, l as INT32_RANGE, m as ScalarFieldDeclaration, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as SAFE_INTEGER_RANGE, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as INT64_RANGE, v as floatToJson, w as readJsonInteger, x as materializeCodec, y as isIntegerIn } from "./codec-CGFT5YKu.mjs";
|
|
7
7
|
import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, l as TypesImportSpec, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-B2nK2jwW-DkF7t1NL.mjs";
|
|
8
8
|
import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { A as PrintedGeneratorCall, C as GeneratorFunctionField, D as GeneratorPhase, E as GeneratorFunctionSummary, F as assembleGeneratorFunctions, I as checkContractComponentRequirements, L as singleGeneratorBinding, M as TargetDescriptor, N as TargetInstance, O as PackRefBase, P as TargetPackRef, S as GeneratorFunctionContribution, T as GeneratorFunctionResolution, _ as FamilyInstance, a as ComponentDescriptor, b as GeneratorFunctionCall, c as ContractComponentRequirementsCheckResult, d as DriverPackRef, f as EMPTY_GENERATOR_FUNCTIONS, g as FamilyDescriptor, h as ExtensionPackRef, i as BindingResolution, j as TargetBoundComponentDescriptor, k as PrintedArguments, l as DriverDescriptor, m as ExtensionInstance, n as AdapterInstance, o as ComponentMetadata, p as ExtensionDescriptor, r as AdapterPackRef, s as ContractComponentRequirementsCheckInput, t as AdapterDescriptor, u as DriverInstance, v as FamilyPackRef, w as GeneratorFunctionRegistry, x as GeneratorFunctionComponent, y as GeneratorFunctionBinding } from "./framework-components-CDiuJNYP-CwszHrSy.mjs";
|
|
10
10
|
import { n as isRuntimeError, r as runtimeError, t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
|
|
11
|
-
import { a as SettledAggregateOverloads, i as
|
|
12
|
-
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-CH6r1DQ8-
|
|
11
|
+
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-BdXloTpj.mjs";
|
|
12
|
+
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-CH6r1DQ8-eg79TO6Y.mjs";
|
|
13
13
|
import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-DJhMWL6S-Bwyl-NrU.mjs";
|
|
14
14
|
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
15
|
-
import { $ as MigrationRunner, $t as VERIFY_CODE_SCHEMA_FAILURE, A as FailedTypeChange, An as isRenameStatement, At as ResolvedRenameStatement, B as MigrationOperationClass, Bn as sameMarkerHashes, Bt as SchemaTreeVisitor, C as DiffSubjectGranularity, Cn as fieldStatementText, Ct as PslContractInferCapable, D as FailedCast, Dn as hasPslContractInfer, Dt as ResolvedFieldRenameStatement, E as ExpectationFailureReason, En as hasPslContractBuild, Et as ResolvedFieldConvertStatement, F as MigratableTargetDescriptor, Fn as migrationSubjectKey, Ft as SchemaNodeRef, G as MigrationPlanOperation, Gt as SchemaViewNodeKind, H as MigrationOperationSubject, Ht as SchemaVerifyOptions, I as MigrationAccessChange, In as modelDisplayName, It as SchemaOwnership, J as MigrationPlanner, Jt as SpaceSigned, K as MigrationPlanSubjects, Kt as SpaceMarkerConflict, L as MigrationDataLoss, Ln as modelStatementText, Lt as SchemaSubjectClassifierCapable, M as FieldCoordinateJson, Mn as issueOutcome, Mt as SchemaDiff, N as IntrospectSchemaResult, Nn as migrationStatementJson, Nt as SchemaDiffIssue, O as FailedCheck, On as hasSchemaSubjectClassifier, Ot as ResolvedMigrationStatement, P as MarkerHashes, Pn as migrationSubjectJson, Pt as SchemaEntityCoordinate, Q as MigrationPlannerSuccessResult, Qt as VERIFY_CODE_MARKER_MISSING, R as MigrationDataLossKind, Rn as orderIssuesByDependencies, Rt as SchemaTreeNode, S as DataTypeInvariantInput, Sn as extractQueryOperationTypeImports, St as PslContractDocument, T as EmitContractResult, Tn as hasOperationPreview, Tt as ResolvedFieldBackfillStatement, U as MigrationPackage, Ut as SchemaVerifyResult, V as MigrationOperationPolicy, Vn as storageHashHex, Vt as SchemaVerifier, W as MigrationPlan, Wt as SchemaViewCapable, X as MigrationPlannerFailureResult, Xt as TargetMigrationsCapability, Y as MigrationPlannerConflict, Yt as SpaceToSign, Z as MigrationPlannerResult, Zt as VERIFY_CODE_HASH_MISMATCH, _ as ControlStack, _n as enforceDataTypeInvariants, _t as OperationPreview, a as ContractSerializer, an as VerifyDatabaseSchemaResult, at as MigrationRunnerSuccessValue, b as CoreSchemaView, bn as extractComponentIds, bt as PlanOrigin, c as ControlAdapterDescriptor, cn as assembleControlMutationDefaults, ct as MigrationSubject, d as ControlDriverDescriptor, dn as contractSnapshotJsonSpecifier, dt as MismatchCause, en as VERIFY_CODE_TARGET_MISMATCH, et as MigrationRunnerExecutionChecks, f as ControlDriverInstance, fn as contractSnapshotTypesSpecifier, ft as MismatchExplanation, g as ControlFamilyInstance, gn as dispositionForCategory, gt as OperationContext, h as ControlFamilyDescriptor, hn as diffSchemas, ht as OpFactoryCall, i as CONTRACT_SNAPSHOTS_DIRNAME, in as VerifyDatabaseResult, it as MigrationRunnerResult, j as FieldCoordinate, jn as isStorageHashHex, jt as RowsWithoutValue, k as FailedConversion, kn as hasSchemaView, kt as ResolvedModelRenameStatement, l as ControlAdapterInstance, ln as assertUniqueCodecOwner, lt as MigrationSubjectJson, m as ControlExtensionInstance, mn as describeMigrationStatement, mt as ModelCoordinateJson, n as AppliedMigrationStatement, nn as VerifierIssueCategory, nt as MigrationRunnerPerSpaceOptions, o as ContractSpace, on as assembleAuthoringContributions, ot as MigrationScaffoldContext, p as ControlExtensionDescriptor, pn as createControlStack, pt as ModelCoordinate, q as MigrationPlanWithAuthoringSurface, qt as SpaceSignature, r as AssembledAuthoringContributions, rn as VerifierOutcome, rt as MigrationRunnerPerSpaceSuccessValue, s as ContractSpaceHeadRef, sn as assembleAuthoringDataTypes, st as MigrationStatementJson, t as APP_SPACE_ID, tn as VerificationStatus, tt as MigrationRunnerFailure, u as ControlDriverConnectOptions, un as buildExtensionLoadOrder, ut as MigrationTemporaryValue, v as ControlTargetDescriptor, vn as extractCodecLookup, vt as OperationPreviewCapable, w as DiffableNode, wn as hasMigrations, wt as PslSourceSettings, x as CreateControlStackInput, xn as extractParameterizedOutputTypeImports, xt as PslContractBuildCapable, y as ControlTargetInstance, yn as extractCodecTypeImports, yt as OperationPreviewStatement, z as MigrationMetadata, zn as planOriginOf, zt as SchemaTreeNodeOptions } from "./control-
|
|
16
|
-
import "./emission-
|
|
17
|
-
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-
|
|
15
|
+
import { $ as MigrationRunner, $t as VERIFY_CODE_SCHEMA_FAILURE, A as FailedTypeChange, An as isRenameStatement, At as ResolvedRenameStatement, B as MigrationOperationClass, Bn as sameMarkerHashes, Bt as SchemaTreeVisitor, C as DiffSubjectGranularity, Cn as fieldStatementText, Ct as PslContractInferCapable, D as FailedCast, Dn as hasPslContractInfer, Dt as ResolvedFieldRenameStatement, E as ExpectationFailureReason, En as hasPslContractBuild, Et as ResolvedFieldConvertStatement, F as MigratableTargetDescriptor, Fn as migrationSubjectKey, Ft as SchemaNodeRef, G as MigrationPlanOperation, Gt as SchemaViewNodeKind, H as MigrationOperationSubject, Ht as SchemaVerifyOptions, I as MigrationAccessChange, In as modelDisplayName, It as SchemaOwnership, J as MigrationPlanner, Jt as SpaceSigned, K as MigrationPlanSubjects, Kt as SpaceMarkerConflict, L as MigrationDataLoss, Ln as modelStatementText, Lt as SchemaSubjectClassifierCapable, M as FieldCoordinateJson, Mn as issueOutcome, Mt as SchemaDiff, N as IntrospectSchemaResult, Nn as migrationStatementJson, Nt as SchemaDiffIssue, O as FailedCheck, On as hasSchemaSubjectClassifier, Ot as ResolvedMigrationStatement, P as MarkerHashes, Pn as migrationSubjectJson, Pt as SchemaEntityCoordinate, Q as MigrationPlannerSuccessResult, Qt as VERIFY_CODE_MARKER_MISSING, R as MigrationDataLossKind, Rn as orderIssuesByDependencies, Rt as SchemaTreeNode, S as DataTypeInvariantInput, Sn as extractQueryOperationTypeImports, St as PslContractDocument, T as EmitContractResult, Tn as hasOperationPreview, Tt as ResolvedFieldBackfillStatement, U as MigrationPackage, Ut as SchemaVerifyResult, V as MigrationOperationPolicy, Vn as storageHashHex, Vt as SchemaVerifier, W as MigrationPlan, Wt as SchemaViewCapable, X as MigrationPlannerFailureResult, Xt as TargetMigrationsCapability, Y as MigrationPlannerConflict, Yt as SpaceToSign, Z as MigrationPlannerResult, Zt as VERIFY_CODE_HASH_MISMATCH, _ as ControlStack, _n as enforceDataTypeInvariants, _t as OperationPreview, a as ContractSerializer, an as VerifyDatabaseSchemaResult, at as MigrationRunnerSuccessValue, b as CoreSchemaView, bn as extractComponentIds, bt as PlanOrigin, c as ControlAdapterDescriptor, cn as assembleControlMutationDefaults, ct as MigrationSubject, d as ControlDriverDescriptor, dn as contractSnapshotJsonSpecifier, dt as MismatchCause, en as VERIFY_CODE_TARGET_MISMATCH, et as MigrationRunnerExecutionChecks, f as ControlDriverInstance, fn as contractSnapshotTypesSpecifier, ft as MismatchExplanation, g as ControlFamilyInstance, gn as dispositionForCategory, gt as OperationContext, h as ControlFamilyDescriptor, hn as diffSchemas, ht as OpFactoryCall, i as CONTRACT_SNAPSHOTS_DIRNAME, in as VerifyDatabaseResult, it as MigrationRunnerResult, j as FieldCoordinate, jn as isStorageHashHex, jt as RowsWithoutValue, k as FailedConversion, kn as hasSchemaView, kt as ResolvedModelRenameStatement, l as ControlAdapterInstance, ln as assertUniqueCodecOwner, lt as MigrationSubjectJson, m as ControlExtensionInstance, mn as describeMigrationStatement, mt as ModelCoordinateJson, n as AppliedMigrationStatement, nn as VerifierIssueCategory, nt as MigrationRunnerPerSpaceOptions, o as ContractSpace, on as assembleAuthoringContributions, ot as MigrationScaffoldContext, p as ControlExtensionDescriptor, pn as createControlStack, pt as ModelCoordinate, q as MigrationPlanWithAuthoringSurface, qt as SpaceSignature, r as AssembledAuthoringContributions, rn as VerifierOutcome, rt as MigrationRunnerPerSpaceSuccessValue, s as ContractSpaceHeadRef, sn as assembleAuthoringDataTypes, st as MigrationStatementJson, t as APP_SPACE_ID, tn as VerificationStatus, tt as MigrationRunnerFailure, u as ControlDriverConnectOptions, un as buildExtensionLoadOrder, ut as MigrationTemporaryValue, v as ControlTargetDescriptor, vn as extractCodecLookup, vt as OperationPreviewCapable, w as DiffableNode, wn as hasMigrations, wt as PslSourceSettings, x as CreateControlStackInput, xn as extractParameterizedOutputTypeImports, xt as PslContractBuildCapable, y as ControlTargetInstance, yn as extractCodecTypeImports, yt as OperationPreviewStatement, z as MigrationMetadata, zn as planOriginOf, zt as SchemaTreeNodeOptions } from "./control-D2f07K6R.mjs";
|
|
16
|
+
import "./emission-D9fjPyAg.mjs";
|
|
17
|
+
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-DbU_RTsu.mjs";
|
|
18
18
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
19
19
|
import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b as freezeNode, c as NamespaceBase, d as Storage, f as StorageType, g as coordinateKey, h as buildSingleNamespaceView, i as EntityKindDescriptor, l as NamespacedEntities, m as buildNamespacedEntities, n as DefaultNamespaceEntries, o as IRNodeBase, p as UNBOUND_NAMESPACE_ID, r as EntityCoordinate, s as Namespace, t as AnyEntityKindDescriptor, u as SingleNamespaceView, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-LV4tXsw3.mjs";
|
|
20
20
|
import "./psl-ast-BrpUfqBu.mjs";
|
|
21
|
-
import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-
|
|
21
|
+
import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-CsMROQco.mjs";
|
|
22
22
|
import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
|
|
23
|
-
export { APP_SPACE_ID, 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, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeId, type DataTypeInvariantInput, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DecodedEnum, type DefaultFunctionArgumentsPrinter, type DefaultFunctionLoweringContext, type DefaultFunctionPrinter, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type FieldPresetPhasePrintForm, type FieldPresetPrintForm, type FieldPresetsByCodecAndGenerator, type GenerateContractTypesOptions, type GeneratorStability, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntrospectSchemaResult, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type 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 OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, type PrintableFieldPreset, 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 ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedRenameStatement, type ResultType, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyMutationDefaults, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assembleFieldPresetsByCodecAndGenerator, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, defineAnnotation, describeAdmittedForms, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceDataTypeInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, exactRewrite, executeStatement, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, fieldPresetPrintForm, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, objectSchemaKeys, orderIssuesByDependencies, planOriginOf, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, refuseJsonValue, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runtimeAborted, runtimeError, sameMarkerHashes, schemaKeysAllowing, settleAggregateOverloads, startClientActivity, startTransactionActivity, storageHashHex, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams };
|
|
23
|
+
export { APP_SPACE_ID, 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, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, type BindingResolution, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeId, type DataTypeInvariantInput, type DataTypeLookup, type DataTypeParams, type DataTypeParamsProblem, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, EMPTY_GENERATOR_FUNCTIONS, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type 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, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntrospectSchemaResult, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type 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 OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, type PrintedArguments, type PrintedGeneratorCall, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedRenameStatement, type ResultType, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SignatureArgumentOutput, type SignatureOptionalArgument, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypeLookups, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyMutationDefaults, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assembleGeneratorFunctions, assertAnnotationsApplicable, assertDataTypeParams, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createGeneratorHelpers, createMetaBuilder, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeParamsProblem, dataTypeValuesEqual, defineAnnotation, describeAdmittedForms, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceDataTypeInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, exactRewrite, executeStatement, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringSelectRef, isAuthoringTypeConstructorDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, objectSchemaKeys, orderIssuesByDependencies, planOriginOf, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, refuseJsonValue, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runtimeAborted, runtimeError, sameMarkerHashes, schemaKeysAllowing, settleAggregateOverloads, singleGeneratorBinding, startClientActivity, startTransactionActivity, storageHashHex, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, temporalPhaseTemplateWithParams, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams };
|