@prisma/orm-framework 0.16.0 → 0.17.0-dev.2
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/authoring-ljy8m56O.d.mts +1 -0
- package/dist/capabilities-D_lE1L0x-x4Dq0wCx.mjs +119 -0
- package/dist/capabilities-D_lE1L0x-x4Dq0wCx.mjs.map +1 -0
- package/dist/{codec-Cly9VPoA.mjs → codec-BgOWqkHY.mjs} +3 -15
- package/dist/codec-BgOWqkHY.mjs.map +1 -0
- package/dist/{codec-D3GVAkR_.d.mts → codec-CA00Ry1D.d.mts} +2 -2
- package/dist/{codec-D3GVAkR_.d.mts.map → codec-CA00Ry1D.d.mts.map} +1 -1
- package/dist/{codec-types-XJO6eC9U-B_K2q0zm.d.mts → codec-types-720XoDZ0-Br-QaYK3.d.mts} +5 -3
- package/dist/{codec-types-XJO6eC9U-B_K2q0zm.d.mts.map → codec-types-720XoDZ0-Br-QaYK3.d.mts.map} +1 -1
- package/dist/codec-types-DcNvNeY1-BO6kUiH0.mjs +30 -0
- package/dist/codec-types-DcNvNeY1-BO6kUiH0.mjs.map +1 -0
- package/dist/components-D7bixOE0.d.mts +50 -0
- package/dist/components-D7bixOE0.d.mts.map +1 -0
- package/dist/components-ifbUGzY-.mjs +88 -0
- package/dist/components-ifbUGzY-.mjs.map +1 -0
- package/dist/components.d.mts +15 -15
- package/dist/components.mjs +6 -4
- package/dist/components__authoring.d.mts +2 -2
- package/dist/components__codec.d.mts +2 -2
- package/dist/components__codec.mjs +2 -1
- package/dist/components__components.d.mts +4 -3
- package/dist/components__components.mjs +3 -2
- package/dist/components__control.d.mts +2 -2
- package/dist/components__control.mjs +1 -1
- package/dist/components__emission.d.mts +3 -3
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/components__runtime.d.mts +1 -1
- package/dist/config-types-Dp4Ed57Y.d.mts +1 -0
- package/dist/{config-types-W-87vhZ4-BgYaH8YO.d.mts → config-types-W-87vhZ4-C9EfSelV.d.mts} +6 -6
- package/dist/{config-types-W-87vhZ4-BgYaH8YO.d.mts.map → config-types-W-87vhZ4-C9EfSelV.d.mts.map} +1 -1
- package/dist/{config-validation-DXggMTZf.d.mts → config-validation-BIXlAfDp.d.mts} +2 -2
- package/dist/{config-validation-DXggMTZf.d.mts.map → config-validation-BIXlAfDp.d.mts.map} +1 -1
- package/dist/config.d.mts +3 -3
- package/dist/config__config-types.d.mts +2 -2
- package/dist/config__config-validation.d.mts +1 -1
- package/dist/contract-authoring.d.mts +3 -3
- package/dist/{control-CBvTj7Ia.d.mts → control-BqePKqXl.d.mts} +11 -7
- package/dist/{control-CBvTj7Ia.d.mts.map → control-BqePKqXl.d.mts.map} +1 -1
- package/dist/{control-DTouE89s.mjs → control-Clpi3725.mjs} +41 -2
- package/dist/control-Clpi3725.mjs.map +1 -0
- package/dist/emission-PUUc-DK4.d.mts +2 -0
- package/dist/{emission-types-hfRVB_Yw-DpQ3hISB.d.mts → emission-types-6jLF1pS8-BZlRi3Ma.d.mts} +9 -4
- package/dist/emission-types-6jLF1pS8-BZlRi3Ma.d.mts.map +1 -0
- package/dist/errors.d.mts +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/{execution-Bo5Bu2Ys.d.mts → execution-BZIwXeq-.d.mts} +2 -2
- package/dist/{execution-Bo5Bu2Ys.d.mts.map → execution-BZIwXeq-.d.mts.map} +1 -1
- package/dist/{execution-MOde1lmD.d.mts → execution-NHK7O49Q.d.mts} +2 -2
- package/dist/{execution-MOde1lmD.d.mts.map → execution-NHK7O49Q.d.mts.map} +1 -1
- package/dist/{framework-authoring-7YMP9TwM-C9P-N6_a.d.mts → framework-authoring--R1ZGWs1-C5F11Vhx.d.mts} +3 -3
- package/dist/{framework-authoring-7YMP9TwM-C9P-N6_a.d.mts.map → framework-authoring--R1ZGWs1-C5F11Vhx.d.mts.map} +1 -1
- package/dist/{framework-components-MFoo0sYx-G_6k9jt4.d.mts → framework-components-BQ_fYHtC-Co52pfO-.d.mts} +9 -5
- package/dist/framework-components-BQ_fYHtC-Co52pfO-.d.mts.map +1 -0
- package/dist/ids.d.mts +1 -1
- package/dist/{parse-0ZJjj_2N-WZZ1nlrv.d.mts → parse-0ZJjj_2N-CGZMQABI.d.mts} +3 -3
- package/dist/{parse-0ZJjj_2N-WZZ1nlrv.d.mts.map → parse-0ZJjj_2N-CGZMQABI.d.mts.map} +1 -1
- package/dist/{psl-ast-Chgi8e4o-rSlBk1UV.d.mts → psl-ast-C4IAv2T_-CO0jh_VK.d.mts} +4 -4
- package/dist/{psl-ast-Chgi8e4o-rSlBk1UV.d.mts.map → psl-ast-C4IAv2T_-CO0jh_VK.d.mts.map} +1 -1
- package/dist/{psl-ast-BEwO80EH.d.mts → psl-ast-DAMpjVOP.d.mts} +4 -4
- package/dist/{psl-ast-BEwO80EH.d.mts.map → psl-ast-DAMpjVOP.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +8 -8
- package/dist/psl-parser__interpret.d.mts +4 -4
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-printer.d.mts +6 -6
- package/dist/{runtime--RZXG1zP.d.mts → runtime-Cne6hBaG.d.mts} +2 -2
- package/dist/{runtime--RZXG1zP.d.mts.map → runtime-Cne6hBaG.d.mts.map} +1 -1
- package/dist/{symbol-table-CZ7EVCTL-oYQtrmzq.d.mts → symbol-table-CZ7EVCTL-CqkpG3a_.d.mts} +5 -5
- package/dist/{symbol-table-CZ7EVCTL-oYQtrmzq.d.mts.map → symbol-table-CZ7EVCTL-CqkpG3a_.d.mts.map} +1 -1
- package/dist/types-import-spec-B4hKOPE9-BwQGG38j.d.mts +104 -0
- package/dist/types-import-spec-B4hKOPE9-BwQGG38j.d.mts.map +1 -0
- package/package.json +20 -15
- package/dist/authoring-Dd7p6pTS.d.mts +0 -1
- package/dist/capabilities-CPj7MfXO-GRkp0Q_D.mjs +0 -64
- package/dist/capabilities-CPj7MfXO-GRkp0Q_D.mjs.map +0 -1
- package/dist/codec-Cly9VPoA.mjs.map +0 -1
- package/dist/components-CawuxTia.d.mts +0 -1
- package/dist/config-types-zrHI32Om.d.mts +0 -1
- package/dist/control-DTouE89s.mjs.map +0 -1
- package/dist/emission-DeoQufVd.d.mts +0 -1
- package/dist/emission-types-hfRVB_Yw-DpQ3hISB.d.mts.map +0 -1
- package/dist/framework-components-MFoo0sYx-G_6k9jt4.d.mts.map +0 -1
- package/dist/types-import-spec-DRKzrJ20-WYwyCtil.d.mts +0 -14
- package/dist/types-import-spec-DRKzrJ20-WYwyCtil.d.mts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./framework-authoring--R1ZGWs1-C5F11Vhx.mjs";
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
|
+
import { n as isCodecTrait } from "./codec-types-DcNvNeY1-BO6kUiH0.mjs";
|
|
3
|
+
//#region ../../../1-framework/1-core/framework-components/dist/capabilities-D_lE1L0x.mjs
|
|
4
|
+
/**
|
|
5
|
+
* Ownership key of an `(operation, input)` pair. Two descriptors sharing a key are two contributors claiming one overload, which is a composition error.
|
|
6
|
+
*/
|
|
7
|
+
function aggregateDescriptorKey(descriptor) {
|
|
8
|
+
switch (descriptor.input.kind) {
|
|
9
|
+
case "none": return `${descriptor.operation}:none`;
|
|
10
|
+
case "any": return `${descriptor.operation}:any`;
|
|
11
|
+
case "codec": return `${descriptor.operation}:codec:${descriptor.input.codecId}`;
|
|
12
|
+
case "trait": return `${descriptor.operation}:trait:${descriptor.input.trait}`;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
/** Whether `descriptor` is the overload of an operation that consumes no value — the case whose result always names a codec outright. */
|
|
16
|
+
function isNoInputAggregateDescriptor(descriptor) {
|
|
17
|
+
return descriptor.input.kind === "none";
|
|
18
|
+
}
|
|
19
|
+
/** Whether `descriptor` answers regardless of input — the fallback rung of resolution. */
|
|
20
|
+
function isAnyInputAggregateDescriptor(descriptor) {
|
|
21
|
+
return descriptor.input.kind === "any";
|
|
22
|
+
}
|
|
23
|
+
function isObjectLike(value) {
|
|
24
|
+
return typeof value === "object" && value !== null;
|
|
25
|
+
}
|
|
26
|
+
function isNonEmptyString(value) {
|
|
27
|
+
return typeof value === "string" && value.length > 0;
|
|
28
|
+
}
|
|
29
|
+
function isAggregateInputMatch(value) {
|
|
30
|
+
if (!isObjectLike(value) || !("kind" in value)) return false;
|
|
31
|
+
switch (value.kind) {
|
|
32
|
+
case "none":
|
|
33
|
+
case "any": return true;
|
|
34
|
+
case "codec": return "codecId" in value && isNonEmptyString(value.codecId);
|
|
35
|
+
case "trait": return "trait" in value && isCodecTrait(value.trait);
|
|
36
|
+
default: return false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function isAggregateOutputCodec(value) {
|
|
40
|
+
if (!isObjectLike(value) || !("kind" in value)) return false;
|
|
41
|
+
switch (value.kind) {
|
|
42
|
+
case "self": return true;
|
|
43
|
+
case "codec": return "codecId" in value && isNonEmptyString(value.codecId) && (!("typeParams" in value) || value.typeParams === void 0 || typeof value.typeParams === "function");
|
|
44
|
+
default: return false;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Structural validation of a contributed descriptor. Components assembled from JavaScript reach the contribution slot unchecked, so composition validates the shape once and every later read is a plain lookup.
|
|
49
|
+
*/
|
|
50
|
+
function isAggregateDescriptor(value) {
|
|
51
|
+
if (!isObjectLike(value)) return false;
|
|
52
|
+
if (!("operation" in value) || !isNonEmptyString(value.operation)) return false;
|
|
53
|
+
if (!("nullable" in value) || typeof value.nullable !== "boolean") return false;
|
|
54
|
+
if (!("input" in value) || !isAggregateInputMatch(value.input)) return false;
|
|
55
|
+
if (!("output" in value) || !isAggregateOutputCodec(value.output)) return false;
|
|
56
|
+
return value.input.kind === "codec" || value.input.kind === "trait" || value.output.kind === "codec";
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Capability matrix merge primitive shared by emit-time and runtime stack composition.
|
|
60
|
+
*
|
|
61
|
+
* The CLI's `enrichContract` and the SQL runtime's `createExecutionContext` both need
|
|
62
|
+
* to fold a stack of component descriptors' `capabilities` declarations into a single
|
|
63
|
+
* matrix keyed by namespace. Keeping the primitive here lets both call sites stay
|
|
64
|
+
* byte-for-byte consistent without one depending on the other.
|
|
65
|
+
*/
|
|
66
|
+
function isPlainObject(value) {
|
|
67
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
68
|
+
}
|
|
69
|
+
function sortDeep(value) {
|
|
70
|
+
if (Array.isArray(value)) return value.map(sortDeep);
|
|
71
|
+
if (!isPlainObject(value)) return value;
|
|
72
|
+
const entries = Object.entries(value).sort(([a], [b]) => a.localeCompare(b));
|
|
73
|
+
const next = {};
|
|
74
|
+
for (const [key, child] of entries) next[key] = sortDeep(child);
|
|
75
|
+
return next;
|
|
76
|
+
}
|
|
77
|
+
function extractCapabilityMatrix(value) {
|
|
78
|
+
if (!isPlainObject(value)) return {};
|
|
79
|
+
const out = {};
|
|
80
|
+
for (const [namespace, maybeCaps] of Object.entries(value)) {
|
|
81
|
+
if (!isPlainObject(maybeCaps)) continue;
|
|
82
|
+
const caps = {};
|
|
83
|
+
for (const [key, flag] of Object.entries(maybeCaps)) if (typeof flag === "boolean") caps[key] = flag;
|
|
84
|
+
if (Object.keys(caps).length > 0) out[namespace] = caps;
|
|
85
|
+
}
|
|
86
|
+
return out;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Merge an ordered list of contributor capability declarations into a base matrix.
|
|
90
|
+
*
|
|
91
|
+
* Behaviour:
|
|
92
|
+
* - `base` and each contributor's `capabilities` are filtered through the same
|
|
93
|
+
* structural extraction: non-plain-object namespace blocks are dropped,
|
|
94
|
+
* non-boolean leaves inside a namespace block are dropped, and a namespace
|
|
95
|
+
* block that ends up with zero boolean leaves is omitted entirely (so a
|
|
96
|
+
* later contributor with a malformed namespace cannot erase a namespace
|
|
97
|
+
* already present in `base`).
|
|
98
|
+
* - Non-plain-object `capabilities` on a contributor (including `undefined`,
|
|
99
|
+
* `null`, arrays, primitives) are skipped silently — the contributor
|
|
100
|
+
* contributes nothing.
|
|
101
|
+
* - Later contributors win on `(namespace, key)` collisions.
|
|
102
|
+
* - The returned object is fresh — neither `base` nor any contributor is mutated.
|
|
103
|
+
* - Output keys are sorted lexicographically at every plain-object level.
|
|
104
|
+
*/
|
|
105
|
+
function mergeCapabilityMatrices(base, contributors) {
|
|
106
|
+
const merged = extractCapabilityMatrix(base);
|
|
107
|
+
for (const contributor of contributors) {
|
|
108
|
+
const extracted = extractCapabilityMatrix(contributor.capabilities);
|
|
109
|
+
for (const [namespace, capabilities] of Object.entries(extracted)) merged[namespace] = {
|
|
110
|
+
...merged[namespace] ?? {},
|
|
111
|
+
...capabilities
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
return blindCast(sortDeep(merged));
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
export { mergeCapabilityMatrices as a, isNoInputAggregateDescriptor as i, isAggregateDescriptor as n, isAnyInputAggregateDescriptor as r, aggregateDescriptorKey as t };
|
|
118
|
+
|
|
119
|
+
//# sourceMappingURL=capabilities-D_lE1L0x-x4Dq0wCx.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilities-D_lE1L0x-x4Dq0wCx.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/capabilities-D_lE1L0x.mjs"],"sourcesContent":["import { n as isCodecTrait } from \"./codec-types-DcNvNeY1.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/shared/aggregate-descriptor.ts\n/**\n* Ownership key of an `(operation, input)` pair. Two descriptors sharing a key are two contributors claiming one overload, which is a composition error.\n*/\nfunction aggregateDescriptorKey(descriptor) {\n\tswitch (descriptor.input.kind) {\n\t\tcase \"none\": return `${descriptor.operation}:none`;\n\t\tcase \"any\": return `${descriptor.operation}:any`;\n\t\tcase \"codec\": return `${descriptor.operation}:codec:${descriptor.input.codecId}`;\n\t\tcase \"trait\": return `${descriptor.operation}:trait:${descriptor.input.trait}`;\n\t}\n}\n/** Whether `descriptor` is the overload of an operation that consumes no value — the case whose result always names a codec outright. */\nfunction isNoInputAggregateDescriptor(descriptor) {\n\treturn descriptor.input.kind === \"none\";\n}\n/** Whether `descriptor` answers regardless of input — the fallback rung of resolution. */\nfunction isAnyInputAggregateDescriptor(descriptor) {\n\treturn descriptor.input.kind === \"any\";\n}\nfunction isObjectLike(value) {\n\treturn typeof value === \"object\" && value !== null;\n}\nfunction isNonEmptyString(value) {\n\treturn typeof value === \"string\" && value.length > 0;\n}\nfunction isAggregateInputMatch(value) {\n\tif (!isObjectLike(value) || !(\"kind\" in value)) return false;\n\tswitch (value.kind) {\n\t\tcase \"none\":\n\t\tcase \"any\": return true;\n\t\tcase \"codec\": return \"codecId\" in value && isNonEmptyString(value.codecId);\n\t\tcase \"trait\": return \"trait\" in value && isCodecTrait(value.trait);\n\t\tdefault: return false;\n\t}\n}\nfunction isAggregateOutputCodec(value) {\n\tif (!isObjectLike(value) || !(\"kind\" in value)) return false;\n\tswitch (value.kind) {\n\t\tcase \"self\": return true;\n\t\tcase \"codec\": return \"codecId\" in value && isNonEmptyString(value.codecId) && (!(\"typeParams\" in value) || value.typeParams === void 0 || typeof value.typeParams === \"function\");\n\t\tdefault: return false;\n\t}\n}\n/**\n* Structural validation of a contributed descriptor. Components assembled from JavaScript reach the contribution slot unchecked, so composition validates the shape once and every later read is a plain lookup.\n*/\nfunction isAggregateDescriptor(value) {\n\tif (!isObjectLike(value)) return false;\n\tif (!(\"operation\" in value) || !isNonEmptyString(value.operation)) return false;\n\tif (!(\"nullable\" in value) || typeof value.nullable !== \"boolean\") return false;\n\tif (!(\"input\" in value) || !isAggregateInputMatch(value.input)) return false;\n\tif (!(\"output\" in value) || !isAggregateOutputCodec(value.output)) return false;\n\treturn value.input.kind === \"codec\" || value.input.kind === \"trait\" || value.output.kind === \"codec\";\n}\n//#endregion\n//#region src/shared/capabilities.ts\n/**\n* Capability matrix merge primitive shared by emit-time and runtime stack composition.\n*\n* The CLI's `enrichContract` and the SQL runtime's `createExecutionContext` both need\n* to fold a stack of component descriptors' `capabilities` declarations into a single\n* matrix keyed by namespace. Keeping the primitive here lets both call sites stay\n* byte-for-byte consistent without one depending on the other.\n*/\nfunction isPlainObject(value) {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\nfunction sortDeep(value) {\n\tif (Array.isArray(value)) return value.map(sortDeep);\n\tif (!isPlainObject(value)) return value;\n\tconst entries = Object.entries(value).sort(([a], [b]) => a.localeCompare(b));\n\tconst next = {};\n\tfor (const [key, child] of entries) next[key] = sortDeep(child);\n\treturn next;\n}\nfunction extractCapabilityMatrix(value) {\n\tif (!isPlainObject(value)) return {};\n\tconst out = {};\n\tfor (const [namespace, maybeCaps] of Object.entries(value)) {\n\t\tif (!isPlainObject(maybeCaps)) continue;\n\t\tconst caps = {};\n\t\tfor (const [key, flag] of Object.entries(maybeCaps)) if (typeof flag === \"boolean\") caps[key] = flag;\n\t\tif (Object.keys(caps).length > 0) out[namespace] = caps;\n\t}\n\treturn out;\n}\n/**\n* Merge an ordered list of contributor capability declarations into a base matrix.\n*\n* Behaviour:\n* - `base` and each contributor's `capabilities` are filtered through the same\n* structural extraction: non-plain-object namespace blocks are dropped,\n* non-boolean leaves inside a namespace block are dropped, and a namespace\n* block that ends up with zero boolean leaves is omitted entirely (so a\n* later contributor with a malformed namespace cannot erase a namespace\n* already present in `base`).\n* - Non-plain-object `capabilities` on a contributor (including `undefined`,\n* `null`, arrays, primitives) are skipped silently — the contributor\n* contributes nothing.\n* - Later contributors win on `(namespace, key)` collisions.\n* - The returned object is fresh — neither `base` nor any contributor is mutated.\n* - Output keys are sorted lexicographically at every plain-object level.\n*/\nfunction mergeCapabilityMatrices(base, contributors) {\n\tconst merged = extractCapabilityMatrix(base);\n\tfor (const contributor of contributors) {\n\t\tconst extracted = extractCapabilityMatrix(contributor.capabilities);\n\t\tfor (const [namespace, capabilities] of Object.entries(extracted)) merged[namespace] = {\n\t\t\t...merged[namespace] ?? {},\n\t\t\t...capabilities\n\t\t};\n\t}\n\treturn blindCast(sortDeep(merged));\n}\n//#endregion\nexport { isNoInputAggregateDescriptor as a, isAnyInputAggregateDescriptor as i, aggregateDescriptorKey as n, isAggregateDescriptor as r, mergeCapabilityMatrices as t };\n\n//# sourceMappingURL=capabilities-D_lE1L0x.mjs.map"],"mappings":";;;;;;AAMA,SAAS,uBAAuB,YAAY;CAC3C,QAAQ,WAAW,MAAM,MAAzB;EACC,KAAK,QAAQ,OAAO,GAAG,WAAW,UAAU;EAC5C,KAAK,OAAO,OAAO,GAAG,WAAW,UAAU;EAC3C,KAAK,SAAS,OAAO,GAAG,WAAW,UAAU,SAAS,WAAW,MAAM;EACvE,KAAK,SAAS,OAAO,GAAG,WAAW,UAAU,SAAS,WAAW,MAAM;CACxE;AACD;;AAEA,SAAS,6BAA6B,YAAY;CACjD,OAAO,WAAW,MAAM,SAAS;AAClC;;AAEA,SAAS,8BAA8B,YAAY;CAClD,OAAO,WAAW,MAAM,SAAS;AAClC;AACA,SAAS,aAAa,OAAO;CAC5B,OAAO,OAAO,UAAU,YAAY,UAAU;AAC/C;AACA,SAAS,iBAAiB,OAAO;CAChC,OAAO,OAAO,UAAU,YAAY,MAAM,SAAS;AACpD;AACA,SAAS,sBAAsB,OAAO;CACrC,IAAI,CAAC,aAAa,KAAK,KAAK,EAAE,UAAU,QAAQ,OAAO;CACvD,QAAQ,MAAM,MAAd;EACC,KAAK;EACL,KAAK,OAAO,OAAO;EACnB,KAAK,SAAS,OAAO,aAAa,SAAS,iBAAiB,MAAM,OAAO;EACzE,KAAK,SAAS,OAAO,WAAW,SAAS,aAAa,MAAM,KAAK;EACjE,SAAS,OAAO;CACjB;AACD;AACA,SAAS,uBAAuB,OAAO;CACtC,IAAI,CAAC,aAAa,KAAK,KAAK,EAAE,UAAU,QAAQ,OAAO;CACvD,QAAQ,MAAM,MAAd;EACC,KAAK,QAAQ,OAAO;EACpB,KAAK,SAAS,OAAO,aAAa,SAAS,iBAAiB,MAAM,OAAO,MAAM,EAAE,gBAAgB,UAAU,MAAM,eAAe,KAAK,KAAK,OAAO,MAAM,eAAe;EACtK,SAAS,OAAO;CACjB;AACD;;;;AAIA,SAAS,sBAAsB,OAAO;CACrC,IAAI,CAAC,aAAa,KAAK,GAAG,OAAO;CACjC,IAAI,EAAE,eAAe,UAAU,CAAC,iBAAiB,MAAM,SAAS,GAAG,OAAO;CAC1E,IAAI,EAAE,cAAc,UAAU,OAAO,MAAM,aAAa,WAAW,OAAO;CAC1E,IAAI,EAAE,WAAW,UAAU,CAAC,sBAAsB,MAAM,KAAK,GAAG,OAAO;CACvE,IAAI,EAAE,YAAY,UAAU,CAAC,uBAAuB,MAAM,MAAM,GAAG,OAAO;CAC1E,OAAO,MAAM,MAAM,SAAS,WAAW,MAAM,MAAM,SAAS,WAAW,MAAM,OAAO,SAAS;AAC9F;;;;;;;;;AAWA,SAAS,cAAc,OAAO;CAC7B,OAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,CAAC,MAAM,QAAQ,KAAK;AAC3E;AACA,SAAS,SAAS,OAAO;CACxB,IAAI,MAAM,QAAQ,KAAK,GAAG,OAAO,MAAM,IAAI,QAAQ;CACnD,IAAI,CAAC,cAAc,KAAK,GAAG,OAAO;CAClC,MAAM,UAAU,OAAO,QAAQ,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;CAC3E,MAAM,OAAO,CAAC;CACd,KAAK,MAAM,CAAC,KAAK,UAAU,SAAS,KAAK,OAAO,SAAS,KAAK;CAC9D,OAAO;AACR;AACA,SAAS,wBAAwB,OAAO;CACvC,IAAI,CAAC,cAAc,KAAK,GAAG,OAAO,CAAC;CACnC,MAAM,MAAM,CAAC;CACb,KAAK,MAAM,CAAC,WAAW,cAAc,OAAO,QAAQ,KAAK,GAAG;EAC3D,IAAI,CAAC,cAAc,SAAS,GAAG;EAC/B,MAAM,OAAO,CAAC;EACd,KAAK,MAAM,CAAC,KAAK,SAAS,OAAO,QAAQ,SAAS,GAAG,IAAI,OAAO,SAAS,WAAW,KAAK,OAAO;EAChG,IAAI,OAAO,KAAK,IAAI,CAAC,CAAC,SAAS,GAAG,IAAI,aAAa;CACpD;CACA,OAAO;AACR;;;;;;;;;;;;;;;;;;AAkBA,SAAS,wBAAwB,MAAM,cAAc;CACpD,MAAM,SAAS,wBAAwB,IAAI;CAC3C,KAAK,MAAM,eAAe,cAAc;EACvC,MAAM,YAAY,wBAAwB,YAAY,YAAY;EAClE,KAAK,MAAM,CAAC,WAAW,iBAAiB,OAAO,QAAQ,SAAS,GAAG,OAAO,aAAa;GACtF,GAAG,OAAO,cAAc,CAAC;GACzB,GAAG;EACJ;CACD;CACA,OAAO,UAAU,SAAS,MAAM,CAAC;AAClC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { r as voidParamsSchema } from "./codec-types-DcNvNeY1-BO6kUiH0.mjs";
|
|
1
2
|
//#region ../../../1-framework/1-core/framework-components/dist/codec.mjs
|
|
2
3
|
/**
|
|
3
4
|
* Abstract base class for concrete codec implementations.
|
|
@@ -16,19 +17,6 @@ var CodecImpl = class {
|
|
|
16
17
|
return this.descriptor.codecId;
|
|
17
18
|
}
|
|
18
19
|
};
|
|
19
|
-
const emptyCodecLookup = {
|
|
20
|
-
get: () => void 0,
|
|
21
|
-
targetTypesFor: () => void 0,
|
|
22
|
-
renderOutputTypeFor: () => void 0
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Standard Schema validator for `void` params. Accepts only `undefined` (or absent input); rejects any other value so a contract that tries to thread `typeParams` through a non-parameterized codec id fails fast at the JSON boundary instead of silently coercing the value away. Used by the framework-supplied non-parameterized descriptor synthesizer.
|
|
26
|
-
*/
|
|
27
|
-
const voidParamsSchema = { "~standard": {
|
|
28
|
-
version: 1,
|
|
29
|
-
vendor: "prisma-next",
|
|
30
|
-
validate: (input) => input === void 0 ? { value: void 0 } : { issues: [{ message: "unexpected typeParams for non-parameterized codec (void params expected)" }] }
|
|
31
|
-
} };
|
|
32
20
|
/**
|
|
33
21
|
* Abstract base class for concrete codec descriptors.
|
|
34
22
|
*
|
|
@@ -73,6 +61,6 @@ function renderTsLiteral(value) {
|
|
|
73
61
|
if (typeof value === "number" || typeof value === "boolean") return String(value);
|
|
74
62
|
}
|
|
75
63
|
//#endregion
|
|
76
|
-
export { renderTsLiteral as
|
|
64
|
+
export { renderTsLiteral as i, CodecImpl as n, column as r, CodecDescriptorImpl as t };
|
|
77
65
|
|
|
78
|
-
//# sourceMappingURL=codec-
|
|
66
|
+
//# sourceMappingURL=codec-BgOWqkHY.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-BgOWqkHY.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec.mjs"],"sourcesContent":["import { r as voidParamsSchema, t as emptyCodecLookup } from \"./codec-types-DcNvNeY1.mjs\";\nimport { i as validateCodecTypeParams, n as materializeCodec, r as resolveCodecDescriptorOrThrow, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from \"./resolve-codec-BZF8TZh_.mjs\";\n//#region src/shared/codec.ts\n/**\n* Abstract base class for concrete codec implementations.\n*\n* Codec authors extend this class with their typed `Id`, `TTraits`, `TWire`, `TInput` and override all four abstract conversion methods: `encode`, `decode`, `encodeJson`, and `decodeJson`. The runtime instance carries only its `id` (proxied through the descriptor so alias subclasses inherit the descriptor's id automatically) and the conversion methods — static metadata lives on the {@link CodecDescriptor}.\n*/\nvar CodecImpl = class {\n\tdescriptor;\n\t/**\n\t* Variance-erased descriptor reference. Concrete codec subclasses receive the typed descriptor in their own constructors and forward it via `super(descriptor)`; the variance erasure lives at this base because the abstract surface can't carry the concrete `TParams`.\n\t*/\n\tconstructor(descriptor) {\n\t\tthis.descriptor = descriptor;\n\t}\n\tget id() {\n\t\treturn this.descriptor.codecId;\n\t}\n};\n//#endregion\n//#region src/shared/codec-descriptor.ts\n/**\n* Abstract base class for concrete codec descriptors.\n*\n* Codec authors extend this class with their typed `TParams` and declare `codecId`, `traits`, `targetTypes`, `paramsSchema`, the curried `factory(params)`, and (optionally) `renderOutputType`.\n*\n* Implements the {@link CodecDescriptor} interface so a concrete subclass instance is directly usable wherever the framework expects a `CodecDescriptor<P>`.\n*/\nvar CodecDescriptorImpl = class {\n\t/** Boolean derived from `paramsSchema`: `true` whenever the schema is not the singleton `voidParamsSchema`. */\n\tget isParameterized() {\n\t\treturn this.paramsSchema !== voidParamsSchema;\n\t}\n};\n//#endregion\n//#region src/shared/column-spec.ts\n/**\n* Trivial column packager. Per-codec helpers call this directly with the result of `descriptor.factory(params)` — direct method invocation binds the descriptor's method-level generic at the call site and the literal flows through `R`.\n*\n* `nativeType` is the column's database-native type spelling — the value the postgres adapter's migration planner, the SQL renderer's cast policy, and the emitted contract's column `nativeType` slot read. Per-codec helpers pass the literal native-type string for their codec (e.g. `'text'`, `'int4'`, `'character varying'`); for codecs whose native-type spelling depends on parameters (none today; reserved for future shapes), the helper computes the rendered string before calling `column`. The framework does not derive the value from `codecId` — that mapping is target-specific and lives at the helper.\n*/\nfunction column(codecFactory, codecId, typeParams, nativeType) {\n\treturn {\n\t\tcodecFactory,\n\t\tcodecId,\n\t\ttypeParams,\n\t\tnativeType\n\t};\n}\n//#endregion\n//#region src/shared/render-ts-literal.ts\n/**\n* Renders a codec-encoded value as a TypeScript literal (e.g. `'low'`, `1`, `true`), or `undefined`\n* when the value isn't literal-expressible (objects, arrays, null).\n*\n* Valid **only for identity codecs** whose `encodeJson` output equals their decoded output type\n* (text, int, float, bool). A non-identity codec (e.g. one that encodes to an int but decodes to a\n* string literal) must NOT use this: it has to `decodeJson` first, then render, in its own\n* `renderValueLiteral`.\n*\n* String values are fully escaped for a single-quoted `.d.ts` literal: backslash, single quote, and\n* every character a raw single-quoted TS literal cannot contain — newline, carriage return, and the\n* U+2028/U+2029 line/paragraph separators (which JS also treats as line terminators).\n*/\nfunction renderTsLiteral(value) {\n\tif (typeof value === \"string\") return `'${value.replace(/\\\\/g, \"\\\\\\\\\").replace(/'/g, \"\\\\'\").replace(/\\n/g, \"\\\\n\").replace(/\\r/g, \"\\\\r\").replace(/\\u2028/g, \"\\\\u2028\").replace(/\\u2029/g, \"\\\\u2029\")}'`;\n\tif (typeof value === \"number\" || typeof value === \"boolean\") return String(value);\n}\n//#endregion\nexport { CONTRACT_CODEC_DESCRIPTOR_MISSING, CodecDescriptorImpl, CodecImpl, column, emptyCodecLookup, materializeCodec, renderTsLiteral, resolveCodecDescriptorOrThrow, validateCodecTypeParams, voidParamsSchema };\n\n//# sourceMappingURL=codec.mjs.map"],"mappings":";;;;;;;AAQA,IAAI,YAAY,MAAM;CACrB;;;;CAIA,YAAY,YAAY;EACvB,KAAK,aAAa;CACnB;CACA,IAAI,KAAK;EACR,OAAO,KAAK,WAAW;CACxB;AACD;;;;;;;;AAUA,IAAI,sBAAsB,MAAM;;CAE/B,IAAI,kBAAkB;EACrB,OAAO,KAAK,iBAAiB;CAC9B;AACD;;;;;;AAQA,SAAS,OAAO,cAAc,SAAS,YAAY,YAAY;CAC9D,OAAO;EACN;EACA;EACA;EACA;CACD;AACD;;;;;;;;;;;;;;AAgBA,SAAS,gBAAgB,OAAO;CAC/B,IAAI,OAAO,UAAU,UAAU,OAAO,IAAI,MAAM,QAAQ,OAAO,MAAM,CAAC,CAAC,QAAQ,MAAM,KAAK,CAAC,CAAC,QAAQ,OAAO,KAAK,CAAC,CAAC,QAAQ,OAAO,KAAK,CAAC,CAAC,QAAQ,WAAW,SAAS,CAAC,CAAC,QAAQ,WAAW,SAAS,EAAE;CACpM,IAAI,OAAO,UAAU,YAAY,OAAO,UAAU,WAAW,OAAO,OAAO,KAAK;AACjF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { et as ValueSetRef, z as JsonValue } from "./domain-envelope-D6Wn9AmZ-BqZKTT9U.mjs";
|
|
2
|
-
import { i as CodecDescriptor, l as CodecRef, n as Codec, s as CodecInstanceContext, t as AnyCodecDescriptor } from "./codec-types-
|
|
2
|
+
import { i as CodecDescriptor, l as CodecRef, n as Codec, s as CodecInstanceContext, t as AnyCodecDescriptor } from "./codec-types-720XoDZ0-Br-QaYK3.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/framework-components/dist/codec.d.mts
|
|
4
4
|
//#region src/shared/column-spec.d.ts
|
|
5
5
|
/**
|
|
@@ -113,4 +113,4 @@ declare function validateCodecTypeParams(descriptor: AnyCodecDescriptor, ref: Co
|
|
|
113
113
|
declare function materializeCodec(descriptor: AnyCodecDescriptor, ref: CodecRef, ctx: CodecInstanceContext): Codec;
|
|
114
114
|
//#endregion
|
|
115
115
|
export { ColumnTypeDescriptor as a, renderTsLiteral as c, ColumnSpec as i, resolveCodecDescriptorOrThrow as l, ColumnHelperFor as n, column as o, ColumnHelperForStrict as r, materializeCodec as s, CONTRACT_CODEC_DESCRIPTOR_MISSING as t, validateCodecTypeParams as u };
|
|
116
|
-
//# sourceMappingURL=codec-
|
|
116
|
+
//# sourceMappingURL=codec-CA00Ry1D.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-
|
|
1
|
+
{"version":3,"file":"codec-CA00Ry1D.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec.d.mts"],"mappings":";;;;;;;;;;;KAUK,qBAAqB;WACf,SAAS;WACT;WACA,aAAa;WACb;;;;;;;;;WASA,WAAW;WACX,YAAY;;;;;;;;;KASlB;WACM;WACA;WACA;;;;;;;UAOD,WAAW,GAAG,UAAU,6CAA6C;WACpE,eAAe,KAAK,yBAAyB;WAC7C,YAAY;;;;;;;iBAON,OAAO,GAAG,UAAU,qCAAqC,eAAe,KAAK,yBAAyB,GAAG,iBAAiB,YAAY,GAAG,qBAAqB,WAAW,GAAG;;;;;;KAMxL,gBAAgB,UAAU,4BAA4B,gBAAgB,oBAAoB,mBAAmB;;;;KAI7G,sBAAsB,UAAU,4BAA4B,gBAAgB,WAAW,WAAW,WAAW,gBAAgB,mBAAmB;;;;KAIhJ,mBAAmB,UAAU,wBAAwB,WAAW,yBAAyB,0BAA0B,WAAW;;;;;;;;;;;;;;;;iBAgBlH,gBAAgB,OAAO;;;cAG1B;;;;;;;iBAOG,8BAA8B,gBAAgB,oBAAoB,gCAAgC,KAAK,UAAU,iFAAiF;;;;;;;;;iBASlM,wBAAwB,YAAY,oBAAoB,KAAK;;;;;;;;;;iBAU7D,iBAAiB,YAAY,oBAAoB,KAAK,UAAU,KAAK,uBAAuB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z as JsonValue } from "./domain-envelope-D6Wn9AmZ-BqZKTT9U.mjs";
|
|
2
2
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
3
|
-
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-
|
|
3
|
+
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-720XoDZ0.d.mts
|
|
4
4
|
//#region src/shared/codec-descriptor.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Unified codec descriptor. Every codec in the framework registers through this shape — non-parameterized codecs use `P = void` and a constant factory that returns the same shared codec instance for every column; parameterized codecs use a non-empty `P` and a curried higher-order factory that returns a per-instance codec.
|
|
@@ -127,7 +127,9 @@ declare abstract class CodecImpl<Id extends string = string, TTraits extends rea
|
|
|
127
127
|
}
|
|
128
128
|
//#endregion
|
|
129
129
|
//#region src/shared/codec-types.d.ts
|
|
130
|
-
|
|
130
|
+
/** Every semantic trait a codec may advertise. The runtime tuple backs validation of trait-keyed contributions arriving from JavaScript. */
|
|
131
|
+
declare const CODEC_TRAITS: readonly ["equality", "order", "boolean", "numeric", "textual"];
|
|
132
|
+
type CodecTrait = (typeof CODEC_TRAITS)[number];
|
|
131
133
|
/**
|
|
132
134
|
* Serializable codec identity carried by every codec-bearing AST node.
|
|
133
135
|
*
|
|
@@ -218,4 +220,4 @@ interface CodecInstanceContext {
|
|
|
218
220
|
declare const voidParamsSchema: StandardSchemaV1<void>;
|
|
219
221
|
//#endregion
|
|
220
222
|
export { CodecDescriptorImpl as a, CodecLookup as c, CodecTrait as d, emptyCodecLookup as f, CodecDescriptor as i, CodecRef as l, Codec as n, CodecImpl as o, voidParamsSchema as p, CodecCallContext as r, CodecInstanceContext as s, AnyCodecDescriptor as t, CodecRegistry as u };
|
|
221
|
-
//# sourceMappingURL=codec-types-
|
|
223
|
+
//# sourceMappingURL=codec-types-720XoDZ0-Br-QaYK3.d.mts.map
|
package/dist/{codec-types-XJO6eC9U-B_K2q0zm.d.mts.map → codec-types-720XoDZ0-Br-QaYK3.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-types-
|
|
1
|
+
{"version":3,"file":"codec-types-720XoDZ0-Br-QaYK3.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec-types-720XoDZ0.d.mts"],"mappings":";;;;;;;;;;;;;;;UAcU,gBAAgB;;WAEf;;WAEA,iBAAiB;;WAEjB;;WAEA,cAAc,iBAAiB;;WAE/B;;WAEA,oBAAoB,QAAQ;;WAE5B,mBAAmB,QAAQ;;;;;;;;;;;WAW3B,sBAAsB,OAAO,WAAW;;WAExC,UAAU,QAAQ,OAAO,KAAK,yBAAyB;;;;;;;KAO7D,qBAAqB;;;;;;;;uBAQH,oBAAoB,2BAA2B,gBAAgB;oBAClE;oBACA,iBAAiB;oBACjB;oBACA,cAAc,iBAAiB;;MAE7C;;EAEJ,kBAAkB,QAAQ;;EAE1B,iBAAiB,QAAQ;;EAEzB,oBAAoB,OAAO,WAAW;;;;WAI7B,QAAQ,QAAQ,WAAW,KAAK,yBAAyB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;UAuBjF,MAAM,4BAA4B,yBAAyB,wBAAwB,cAAc,iBAAiB;;WAEjH,IAAI;;WAEJ,gBAAgB;;EAEzB,OAAO,OAAO,QAAQ,KAAK,mBAAmB,QAAQ;;EAEtD,OAAO,MAAM,OAAO,KAAK,mBAAmB,QAAQ;;EAEpD,WAAW,OAAO,SAAS;;EAE3B,WAAW,MAAM,YAAY;;;;;;;uBAOR,UAAU,4BAA4B,yBAAyB,wBAAwB,cAAc,iBAAiB,6BAA6B,MAAM,IAAI,SAAS,OAAO;WACzL,YAAY;;;;EAIrB,YAAY,YAAY;MACpB,MAAM;WACD,OAAO,OAAO,QAAQ,KAAK,mBAAmB,QAAQ;WACtD,OAAO,MAAM,OAAO,KAAK,mBAAmB,QAAQ;WACpD,WAAW,OAAO,SAAS;WAC3B,WAAW,MAAM,YAAY;;;;;cAK1B;KACT,qBAAqB;;;;;;;;;;;;UAYhB;WACC;WACA,aAAa;WACb;;;;;;;;;;;;;UAaD;WACC,SAAS;;;;;;;;;UASV;EACR,IAAI,aAAa;EACjB,eAAe;EACf,oBAAoB,YAAY,QAAQ;;EAExC,oBAAoB,YAAY,QAAQ;;EAExC,uBAAuB,YAAY,OAAO,WAAW;;;;;;;;;;EAUrD,eAAe,aAAa;;;;;;;;;;;;;;;UAepB,sBAAsB;EAC9B,YAAY,KAAK,WAAW;EAC5B,UAAU,qBAAqB,eAAe,iBAAiB;;cAEnD,kBAAkB;;;;;;;;UAQtB;WACC;;;;;cAKG,kBAAkB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-DcNvNeY1.mjs
|
|
2
|
+
/** Every semantic trait a codec may advertise. The runtime tuple backs validation of trait-keyed contributions arriving from JavaScript. */
|
|
3
|
+
const CODEC_TRAITS = [
|
|
4
|
+
"equality",
|
|
5
|
+
"order",
|
|
6
|
+
"boolean",
|
|
7
|
+
"numeric",
|
|
8
|
+
"textual"
|
|
9
|
+
];
|
|
10
|
+
/** Whether `value` names one of the {@link CODEC_TRAITS}. */
|
|
11
|
+
function isCodecTrait(value) {
|
|
12
|
+
return CODEC_TRAITS.some((trait) => trait === value);
|
|
13
|
+
}
|
|
14
|
+
const emptyCodecLookup = {
|
|
15
|
+
get: () => void 0,
|
|
16
|
+
targetTypesFor: () => void 0,
|
|
17
|
+
renderOutputTypeFor: () => void 0
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Standard Schema validator for `void` params. Accepts only `undefined` (or absent input); rejects any other value so a contract that tries to thread `typeParams` through a non-parameterized codec id fails fast at the JSON boundary instead of silently coercing the value away. Used by the framework-supplied non-parameterized descriptor synthesizer.
|
|
21
|
+
*/
|
|
22
|
+
const voidParamsSchema = { "~standard": {
|
|
23
|
+
version: 1,
|
|
24
|
+
vendor: "prisma-next",
|
|
25
|
+
validate: (input) => input === void 0 ? { value: void 0 } : { issues: [{ message: "unexpected typeParams for non-parameterized codec (void params expected)" }] }
|
|
26
|
+
} };
|
|
27
|
+
//#endregion
|
|
28
|
+
export { isCodecTrait as n, voidParamsSchema as r, emptyCodecLookup as t };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=codec-types-DcNvNeY1-BO6kUiH0.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-DcNvNeY1-BO6kUiH0.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec-types-DcNvNeY1.mjs"],"sourcesContent":["//#region src/shared/codec-types.ts\n/** Every semantic trait a codec may advertise. The runtime tuple backs validation of trait-keyed contributions arriving from JavaScript. */\nconst CODEC_TRAITS = [\n\t\"equality\",\n\t\"order\",\n\t\"boolean\",\n\t\"numeric\",\n\t\"textual\"\n];\n/** Whether `value` names one of the {@link CODEC_TRAITS}. */\nfunction isCodecTrait(value) {\n\treturn CODEC_TRAITS.some((trait) => trait === value);\n}\nconst emptyCodecLookup = {\n\tget: () => void 0,\n\ttargetTypesFor: () => void 0,\n\trenderOutputTypeFor: () => void 0\n};\n/**\n* Standard Schema validator for `void` params. Accepts only `undefined` (or absent input); rejects any other value so a contract that tries to thread `typeParams` through a non-parameterized codec id fails fast at the JSON boundary instead of silently coercing the value away. Used by the framework-supplied non-parameterized descriptor synthesizer.\n*/\nconst voidParamsSchema = { \"~standard\": {\n\tversion: 1,\n\tvendor: \"prisma-next\",\n\tvalidate: (input) => input === void 0 ? { value: void 0 } : { issues: [{ message: \"unexpected typeParams for non-parameterized codec (void params expected)\" }] }\n} };\n//#endregion\nexport { isCodecTrait as n, voidParamsSchema as r, emptyCodecLookup as t };\n\n//# sourceMappingURL=codec-types-DcNvNeY1.mjs.map"],"mappings":";;AAEA,MAAM,eAAe;CACpB;CACA;CACA;CACA;CACA;AACD;;AAEA,SAAS,aAAa,OAAO;CAC5B,OAAO,aAAa,MAAM,UAAU,UAAU,KAAK;AACpD;AACA,MAAM,mBAAmB;CACxB,WAAW,KAAK;CAChB,sBAAsB,KAAK;CAC3B,2BAA2B,KAAK;AACjC;;;;AAIA,MAAM,mBAAmB,EAAE,aAAa;CACvC,SAAS;CACT,QAAQ;CACR,WAAW,UAAU,UAAU,KAAK,IAAI,EAAE,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,EAAE,SAAS,2EAA2E,CAAC,EAAE;AACjK,EAAE"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { d as CodecTrait } from "./codec-types-720XoDZ0-Br-QaYK3.mjs";
|
|
2
|
+
import { t as AggregateDescriptor } from "./types-import-spec-B4hKOPE9-BwQGG38j.mjs";
|
|
3
|
+
import "./framework-components-BQ_fYHtC-Co52pfO-.mjs";
|
|
4
|
+
//#region ../../../1-framework/1-core/framework-components/dist/components.d.mts
|
|
5
|
+
//#region src/shared/aggregate-overloads.d.ts
|
|
6
|
+
/** What settling needs to know about a codec: its id, and the traits an overload can claim it by. */
|
|
7
|
+
interface AggregateCodecTraits {
|
|
8
|
+
readonly codecId: string;
|
|
9
|
+
readonly traits: readonly CodecTrait[];
|
|
10
|
+
}
|
|
11
|
+
/** The overloads of one operation, settled: one per codec, plus the two that answer without a specific input. */
|
|
12
|
+
interface SettledAggregateOperation<TDescriptor extends AggregateDescriptor> {
|
|
13
|
+
/** The overload that serves each codec — its exact one where it has one, otherwise the single trait overload whose trait it carries. */
|
|
14
|
+
readonly byCodecId: ReadonlyMap<string, TDescriptor>;
|
|
15
|
+
/** The overload for a call that carries no input at all. */
|
|
16
|
+
readonly noInput: TDescriptor | undefined;
|
|
17
|
+
/** The overload for any input no exact or trait overload claims. */
|
|
18
|
+
readonly anyInput: TDescriptor | undefined;
|
|
19
|
+
}
|
|
20
|
+
/** A codec that two trait overloads of one operation both claim, leaving its result codec undetermined. */
|
|
21
|
+
interface AggregateOverloadAmbiguity {
|
|
22
|
+
readonly operation: string;
|
|
23
|
+
readonly codecId: string;
|
|
24
|
+
readonly traits: readonly CodecTrait[];
|
|
25
|
+
}
|
|
26
|
+
/** An `(operation, input)` key two overloads both claim. The first claim is the one settled; the second is reported here. */
|
|
27
|
+
interface AggregateOverloadDuplicate<TDescriptor extends AggregateDescriptor> {
|
|
28
|
+
readonly operation: string;
|
|
29
|
+
readonly key: string;
|
|
30
|
+
readonly first: TDescriptor;
|
|
31
|
+
readonly second: TDescriptor;
|
|
32
|
+
}
|
|
33
|
+
interface SettledAggregateOverloads<TDescriptor extends AggregateDescriptor> {
|
|
34
|
+
readonly operations: ReadonlyMap<string, SettledAggregateOperation<TDescriptor>>;
|
|
35
|
+
readonly ambiguities: readonly AggregateOverloadAmbiguity[];
|
|
36
|
+
readonly duplicates: readonly AggregateOverloadDuplicate<TDescriptor>[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Settle every contributed overload against `codecs`.
|
|
40
|
+
*
|
|
41
|
+
* 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.
|
|
42
|
+
*
|
|
43
|
+
* 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.
|
|
44
|
+
*
|
|
45
|
+
* 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.
|
|
46
|
+
*/
|
|
47
|
+
declare function settleAggregateOverloads<TDescriptor extends AggregateDescriptor>(descriptors: readonly TDescriptor[], codecs: Iterable<AggregateCodecTraits>): SettledAggregateOverloads<TDescriptor>;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { SettledAggregateOverloads as a, SettledAggregateOperation as i, AggregateOverloadAmbiguity as n, settleAggregateOverloads as o, AggregateOverloadDuplicate as r, AggregateCodecTraits as t };
|
|
50
|
+
//# sourceMappingURL=components-D7bixOE0.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-D7bixOE0.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;UAMU;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"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { t as aggregateDescriptorKey } from "./capabilities-D_lE1L0x-x4Dq0wCx.mjs";
|
|
2
|
+
//#region ../../../1-framework/1-core/framework-components/dist/components.mjs
|
|
3
|
+
/**
|
|
4
|
+
* Settle every contributed overload against `codecs`.
|
|
5
|
+
*
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* 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.
|
|
9
|
+
*
|
|
10
|
+
* 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.
|
|
11
|
+
*/
|
|
12
|
+
function settleAggregateOverloads(descriptors, codecs) {
|
|
13
|
+
const byOperation = /* @__PURE__ */ new Map();
|
|
14
|
+
const firstClaims = /* @__PURE__ */ new Map();
|
|
15
|
+
const duplicates = [];
|
|
16
|
+
for (const descriptor of descriptors) {
|
|
17
|
+
const key = aggregateDescriptorKey(descriptor);
|
|
18
|
+
const first = firstClaims.get(key);
|
|
19
|
+
if (first !== void 0) {
|
|
20
|
+
duplicates.push({
|
|
21
|
+
operation: descriptor.operation,
|
|
22
|
+
key,
|
|
23
|
+
first,
|
|
24
|
+
second: descriptor
|
|
25
|
+
});
|
|
26
|
+
continue;
|
|
27
|
+
}
|
|
28
|
+
firstClaims.set(key, descriptor);
|
|
29
|
+
const entry = byOperation.get(descriptor.operation) ?? {
|
|
30
|
+
exact: /* @__PURE__ */ new Map(),
|
|
31
|
+
traits: [],
|
|
32
|
+
noInput: void 0,
|
|
33
|
+
anyInput: void 0
|
|
34
|
+
};
|
|
35
|
+
switch (descriptor.input.kind) {
|
|
36
|
+
case "none":
|
|
37
|
+
entry.noInput = descriptor;
|
|
38
|
+
break;
|
|
39
|
+
case "any":
|
|
40
|
+
entry.anyInput = descriptor;
|
|
41
|
+
break;
|
|
42
|
+
case "codec":
|
|
43
|
+
entry.exact.set(descriptor.input.codecId, descriptor);
|
|
44
|
+
break;
|
|
45
|
+
case "trait":
|
|
46
|
+
entry.traits.push({
|
|
47
|
+
descriptor,
|
|
48
|
+
trait: descriptor.input.trait
|
|
49
|
+
});
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
byOperation.set(descriptor.operation, entry);
|
|
53
|
+
}
|
|
54
|
+
const codecList = [...codecs];
|
|
55
|
+
const operations = /* @__PURE__ */ new Map();
|
|
56
|
+
const ambiguities = [];
|
|
57
|
+
for (const [operation, entry] of byOperation) {
|
|
58
|
+
const byCodecId = new Map(entry.exact);
|
|
59
|
+
for (const codec of codecList) {
|
|
60
|
+
if (byCodecId.has(codec.codecId)) continue;
|
|
61
|
+
const claims = entry.traits.filter((candidate) => codec.traits.includes(candidate.trait));
|
|
62
|
+
if (claims.length > 1) {
|
|
63
|
+
ambiguities.push({
|
|
64
|
+
operation,
|
|
65
|
+
codecId: codec.codecId,
|
|
66
|
+
traits: claims.map((claim) => claim.trait)
|
|
67
|
+
});
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
const claim = claims[0];
|
|
71
|
+
if (claim !== void 0) byCodecId.set(codec.codecId, claim.descriptor);
|
|
72
|
+
}
|
|
73
|
+
operations.set(operation, {
|
|
74
|
+
byCodecId,
|
|
75
|
+
noInput: entry.noInput,
|
|
76
|
+
anyInput: entry.anyInput
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
operations,
|
|
81
|
+
ambiguities,
|
|
82
|
+
duplicates
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
export { settleAggregateOverloads as t };
|
|
87
|
+
|
|
88
|
+
//# sourceMappingURL=components-ifbUGzY-.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-ifbUGzY-.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.mjs"],"sourcesContent":["import { a as isNoInputAggregateDescriptor, i as isAnyInputAggregateDescriptor, n as aggregateDescriptorKey, r as isAggregateDescriptor, t as mergeCapabilityMatrices } from \"./capabilities-D_lE1L0x.mjs\";\nimport { t as checkContractComponentRequirements } from \"./framework-components-D6j4Y5K7.mjs\";\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\nexport { aggregateDescriptorKey, checkContractComponentRequirements, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, mergeCapabilityMatrices, settleAggregateOverloads };\n\n//# sourceMappingURL=components.mjs.map"],"mappings":";;;;;;;;;;;AAYA,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;EACD;EACA,YAAY,IAAI,KAAK,UAAU;EAC/B,MAAM,QAAQ,YAAY,IAAI,WAAW,SAAS,KAAK;GACtD,uBAAuB,IAAI,IAAI;GAC/B,QAAQ,CAAC;GACT,SAAS,KAAK;GACd,UAAU,KAAK;EAChB;EACA,QAAQ,WAAW,MAAM,MAAzB;GACC,KAAK;IACJ,MAAM,UAAU;IAChB;GACD,KAAK;IACJ,MAAM,WAAW;IACjB;GACD,KAAK;IACJ,MAAM,MAAM,IAAI,WAAW,MAAM,SAAS,UAAU;IACpD;GACD,KAAK;IACJ,MAAM,OAAO,KAAK;KACjB;KACA,OAAO,WAAW,MAAM;IACzB,CAAC;IACD;EACF;EACA,YAAY,IAAI,WAAW,WAAW,KAAK;CAC5C;CACA,MAAM,YAAY,CAAC,GAAG,MAAM;CAC5B,MAAM,6BAA6B,IAAI,IAAI;CAC3C,MAAM,cAAc,CAAC;CACrB,KAAK,MAAM,CAAC,WAAW,UAAU,aAAa;EAC7C,MAAM,YAAY,IAAI,IAAI,MAAM,KAAK;EACrC,KAAK,MAAM,SAAS,WAAW;GAC9B,IAAI,UAAU,IAAI,MAAM,OAAO,GAAG;GAClC,MAAM,SAAS,MAAM,OAAO,QAAQ,cAAc,MAAM,OAAO,SAAS,UAAU,KAAK,CAAC;GACxF,IAAI,OAAO,SAAS,GAAG;IACtB,YAAY,KAAK;KAChB;KACA,SAAS,MAAM;KACf,QAAQ,OAAO,KAAK,UAAU,MAAM,KAAK;IAC1C,CAAC;IACD;GACD;GACA,MAAM,QAAQ,OAAO;GACrB,IAAI,UAAU,KAAK,GAAG,UAAU,IAAI,MAAM,SAAS,MAAM,UAAU;EACpE;EACA,WAAW,IAAI,WAAW;GACzB;GACA,SAAS,MAAM;GACf,UAAU,MAAM;EACjB,CAAC;CACF;CACA,OAAO;EACN;EACA;EACA;CACD;AACD"}
|
package/dist/components.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { a as CodecDescriptorImpl, c as CodecLookup, d as CodecTrait, f as emptyCodecLookup, i as CodecDescriptor, l as CodecRef, n as Codec, o as CodecImpl, p as voidParamsSchema, r as CodecCallContext, s as CodecInstanceContext, t as AnyCodecDescriptor, u as CodecRegistry } from "./codec-types-
|
|
2
|
-
import { $ as hasRegisteredFieldNamespace, A as PslBlockParam, B as PslExtensionBlockParamList, C as AuthoringTemplateValue, D as AuthoringWarning, E as AuthoringTypeNamespace, F as PslDiagnosticCode, G as PslPosition, H as PslExtensionBlockParamRef, I as PslExtensionBlock, J as assertNoCrossRegistryCollisions, K as PslSpan, L as PslExtensionBlockAttribute, M as PslBlockParamOption, N as PslBlockParamRef, O as AuthoringWarningSink, P as PslBlockParamValue, Q as flushAuthoringWarnings, R as PslExtensionBlockAttributeArg, S as AuthoringStorageTypeTemplate, T as AuthoringTypeConstructorEntityRef, U as PslExtensionBlockParamScalarValue, V as PslExtensionBlockParamOption, W as PslExtensionBlockParamValue, X as classifyEnumMemberType, Y as assertResolvableTypeConstructorTemplates, Z as collectScalarTypeConstructors, _ as AuthoringModelAttributeLoweringOutput, a as AuthoringDiagnosticSink, at as isAuthoringFieldPresetDescriptor, b as AuthoringPslBlockDescriptorNamespace, c as AuthoringEntityTypeFactoryOutput, ct as isAuthoringTypeConstructorDescriptor, d as AuthoringFieldNamespace, dt as resolveEnumCodecId, et as instantiateAuthoringEntityType, f as AuthoringFieldPresetDescriptor, ft as validateAuthoringHelperArguments, g as AuthoringModelAttributeDescriptorNamespace, h as AuthoringModelAttributeDescriptor, i as AuthoringContributions, it as isAuthoringEntityTypeDescriptor, j as PslBlockParamList, k as ContributedPslDiagnosticCode, l as AuthoringEntityTypeNamespace, lt as mergeAuthoringNamespaces, m as AuthoringModelAttributeContext, n as AuthoringArgumentDescriptor, nt as instantiateAuthoringTypeConstructor, o as AuthoringEntityContext, ot as isAuthoringModelAttributeDescriptor, p as AuthoringFieldPresetOutput, q as ScalarTypeConstructorOutput, r as AuthoringColumnDefaultTemplate, rt as isAuthoringArgRef, s as AuthoringEntityTypeDescriptor, st as isAuthoringPslBlockDescriptor, t as AuthoringArgRef, tt as instantiateAuthoringFieldPreset, u as AuthoringEntityTypeTemplateOutput, ut as resolveAuthoringTemplateValue, v as AuthoringOption, w as AuthoringTypeConstructorDescriptor, x as AuthoringSelectRef, y as AuthoringPslBlockDescriptor, z as PslExtensionBlockParamBare } from "./framework-authoring-
|
|
3
|
-
import "./authoring-
|
|
4
|
-
import { a as ColumnTypeDescriptor, c as renderTsLiteral, i as ColumnSpec, l as resolveCodecDescriptorOrThrow, n as ColumnHelperFor, o as column, r as ColumnHelperForStrict, s as materializeCodec, t as CONTRACT_CODEC_DESCRIPTOR_MISSING, u as validateCodecTypeParams } from "./codec-
|
|
1
|
+
import { a as CodecDescriptorImpl, c as CodecLookup, d as CodecTrait, f as emptyCodecLookup, i as CodecDescriptor, l as CodecRef, n as Codec, o as CodecImpl, p as voidParamsSchema, r as CodecCallContext, s as CodecInstanceContext, t as AnyCodecDescriptor, u as CodecRegistry } from "./codec-types-720XoDZ0-Br-QaYK3.mjs";
|
|
2
|
+
import { $ as hasRegisteredFieldNamespace, A as PslBlockParam, B as PslExtensionBlockParamList, C as AuthoringTemplateValue, D as AuthoringWarning, E as AuthoringTypeNamespace, F as PslDiagnosticCode, G as PslPosition, H as PslExtensionBlockParamRef, I as PslExtensionBlock, J as assertNoCrossRegistryCollisions, K as PslSpan, L as PslExtensionBlockAttribute, M as PslBlockParamOption, N as PslBlockParamRef, O as AuthoringWarningSink, P as PslBlockParamValue, Q as flushAuthoringWarnings, R as PslExtensionBlockAttributeArg, S as AuthoringStorageTypeTemplate, T as AuthoringTypeConstructorEntityRef, U as PslExtensionBlockParamScalarValue, V as PslExtensionBlockParamOption, W as PslExtensionBlockParamValue, X as classifyEnumMemberType, Y as assertResolvableTypeConstructorTemplates, Z as collectScalarTypeConstructors, _ as AuthoringModelAttributeLoweringOutput, a as AuthoringDiagnosticSink, at as isAuthoringFieldPresetDescriptor, b as AuthoringPslBlockDescriptorNamespace, c as AuthoringEntityTypeFactoryOutput, ct as isAuthoringTypeConstructorDescriptor, d as AuthoringFieldNamespace, dt as resolveEnumCodecId, et as instantiateAuthoringEntityType, f as AuthoringFieldPresetDescriptor, ft as validateAuthoringHelperArguments, g as AuthoringModelAttributeDescriptorNamespace, h as AuthoringModelAttributeDescriptor, i as AuthoringContributions, it as isAuthoringEntityTypeDescriptor, j as PslBlockParamList, k as ContributedPslDiagnosticCode, l as AuthoringEntityTypeNamespace, lt as mergeAuthoringNamespaces, m as AuthoringModelAttributeContext, n as AuthoringArgumentDescriptor, nt as instantiateAuthoringTypeConstructor, o as AuthoringEntityContext, ot as isAuthoringModelAttributeDescriptor, p as AuthoringFieldPresetOutput, q as ScalarTypeConstructorOutput, r as AuthoringColumnDefaultTemplate, rt as isAuthoringArgRef, s as AuthoringEntityTypeDescriptor, st as isAuthoringPslBlockDescriptor, t as AuthoringArgRef, tt as instantiateAuthoringFieldPreset, u as AuthoringEntityTypeTemplateOutput, ut as resolveAuthoringTemplateValue, v as AuthoringOption, w as AuthoringTypeConstructorDescriptor, x as AuthoringSelectRef, y as AuthoringPslBlockDescriptor, z as PslExtensionBlockParamBare } from "./framework-authoring--R1ZGWs1-C5F11Vhx.mjs";
|
|
3
|
+
import "./authoring-ljy8m56O.mjs";
|
|
4
|
+
import { a as ColumnTypeDescriptor, c as renderTsLiteral, i as ColumnSpec, l as resolveCodecDescriptorOrThrow, n as ColumnHelperFor, o as column, r as ColumnHelperForStrict, s as materializeCodec, t as CONTRACT_CODEC_DESCRIPTOR_MISSING, u as validateCodecTypeParams } from "./codec-CA00Ry1D.mjs";
|
|
5
|
+
import { a as NamedAggregateOutput, c as TypesImportSpec, d as isAggregateDescriptor, f as isAnyInputAggregateDescriptor, i as AnyInputAggregateDescriptor, l as ValueInputAggregateDescriptor, n as AggregateInputMatch, o as NoInputAggregateDescriptor, p as isNoInputAggregateDescriptor, r as AggregateOutputCodec, s as SelfAggregateOutput, t as AggregateDescriptor, u as aggregateDescriptorKey } from "./types-import-spec-B4hKOPE9-BwQGG38j.mjs";
|
|
5
6
|
import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import "./
|
|
9
|
-
import { a as
|
|
10
|
-
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-Chgi8e4o-rSlBk1UV.mjs";
|
|
7
|
+
import { A as TargetPackRef, C as MutationDefaultGeneratorDescriptor, D as TargetBoundComponentDescriptor, E as SourceSpan, M as checkContractComponentRequirements, O as TargetDescriptor, S as LoweredDefaultValue, T as SourceDiagnostic, _ as ExtensionPackRef, a as ComponentMetadata, b as FamilyPackRef, c as ControlMutationDefaultEntry, d as DefaultFunctionLoweringContext, f as DriverDescriptor, g as ExtensionInstance, h as ExtensionDescriptor, i as ComponentDescriptor, j as TypedDefaultFunctionCall, k as TargetInstance, l as ControlMutationDefaultRegistry, m as DriverPackRef, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as DriverInstance, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as ControlMutationDefaults, v as FamilyDescriptor, w as PackRefBase, x as LoweredDefaultResult, y as FamilyInstance } from "./framework-components-BQ_fYHtC-Co52pfO-.mjs";
|
|
8
|
+
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-D7bixOE0.mjs";
|
|
9
|
+
import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-6jLF1pS8-BZlRi3Ma.mjs";
|
|
10
|
+
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-C4IAv2T_-CO0jh_VK.mjs";
|
|
11
11
|
import { t as ImportRequirement } from "./index-GY2oGH9L.mjs";
|
|
12
|
-
import { $ as SchemaDiffIssue, A as MigrationPlan, At as diffSchemas, B as MigrationRunnerFailure, Bt as hasSchemaView, C as ExpectationFailureReason, Ct as assembleAuthoringContributions, D as MigrationOperationClass, Dt as contractSnapshotJsonSpecifier, E as MigrationMetadata, Et as buildExtensionLoadOrder, F as MigrationPlannerFailureResult, Ft as extractQueryOperationTypeImports, G as MigrationScaffoldContext, H as MigrationRunnerPerSpaceSuccessValue, Ht as orderIssuesByDependencies, I as MigrationPlannerResult, It as hasMigrations, J as OperationPreview, K as OpFactoryCall, L as MigrationPlannerSuccessResult, Lt as hasOperationPreview, M as MigrationPlanWithAuthoringSurface, Mt as extractCodecLookup, N as MigrationPlanner, Nt as extractCodecTypeImports, O as MigrationOperationPolicy, Ot as contractSnapshotTypesSpecifier, P as MigrationPlannerConflict, Pt as extractComponentIds, Q as SchemaDiff, R as MigrationRunner, Rt as hasPslContractInfer, S as EmitContractResult, St as VerifyDatabaseSchemaResult, T as MigratableTargetDescriptor, Tt as assertUniqueCodecOwner, U as MigrationRunnerResult, Ut as storageHashHex, V as MigrationRunnerPerSpaceOptions, Vt as issueOutcome, W as MigrationRunnerSuccessValue, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_TARGET_MISMATCH, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerifierOutcome, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_SCHEMA_FAILURE, h as ControlStack, ht as VERIFY_CODE_MARKER_MISSING, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as dispositionForCategory, k as MigrationPackage, kt as createControlStack, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as VERIFY_CODE_HASH_MISMATCH, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TargetMigrationsCapability, q as OperationContext, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VerificationStatus, w as IntrospectSchemaResult, wt as assembleControlMutationDefaults, x as DiffableNode, xt as VerifyDatabaseResult, y as CreateControlStackInput, yt as VerifierIssueCategory, z as MigrationRunnerExecutionChecks, zt as hasSchemaSubjectClassifier } from "./control-
|
|
13
|
-
import "./emission-
|
|
14
|
-
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-
|
|
12
|
+
import { $ as SchemaDiffIssue, A as MigrationPlan, At as diffSchemas, B as MigrationRunnerFailure, Bt as hasSchemaView, C as ExpectationFailureReason, Ct as assembleAuthoringContributions, D as MigrationOperationClass, Dt as contractSnapshotJsonSpecifier, E as MigrationMetadata, Et as buildExtensionLoadOrder, F as MigrationPlannerFailureResult, Ft as extractQueryOperationTypeImports, G as MigrationScaffoldContext, H as MigrationRunnerPerSpaceSuccessValue, Ht as orderIssuesByDependencies, I as MigrationPlannerResult, It as hasMigrations, J as OperationPreview, K as OpFactoryCall, L as MigrationPlannerSuccessResult, Lt as hasOperationPreview, M as MigrationPlanWithAuthoringSurface, Mt as extractCodecLookup, N as MigrationPlanner, Nt as extractCodecTypeImports, O as MigrationOperationPolicy, Ot as contractSnapshotTypesSpecifier, P as MigrationPlannerConflict, Pt as extractComponentIds, Q as SchemaDiff, R as MigrationRunner, Rt as hasPslContractInfer, S as EmitContractResult, St as VerifyDatabaseSchemaResult, T as MigratableTargetDescriptor, Tt as assertUniqueCodecOwner, U as MigrationRunnerResult, Ut as storageHashHex, V as MigrationRunnerPerSpaceOptions, Vt as issueOutcome, W as MigrationRunnerSuccessValue, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_TARGET_MISMATCH, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerifierOutcome, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_SCHEMA_FAILURE, h as ControlStack, ht as VERIFY_CODE_MARKER_MISSING, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as dispositionForCategory, k as MigrationPackage, kt as createControlStack, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as VERIFY_CODE_HASH_MISMATCH, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TargetMigrationsCapability, q as OperationContext, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VerificationStatus, w as IntrospectSchemaResult, wt as assembleControlMutationDefaults, x as DiffableNode, xt as VerifyDatabaseResult, y as CreateControlStackInput, yt as VerifierIssueCategory, z as MigrationRunnerExecutionChecks, zt as hasSchemaSubjectClassifier } from "./control-BqePKqXl.mjs";
|
|
13
|
+
import "./emission-PUUc-DK4.mjs";
|
|
14
|
+
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-BZIwXeq-.mjs";
|
|
15
15
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
16
16
|
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-BvE7L9FK.mjs";
|
|
17
|
-
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-
|
|
18
|
-
import { A as defineAnnotation, C as RuntimeMiddleware, D as checkAborted, E as assertAnnotationsApplicable, F as runtimeAborted, I as runtimeError, M as raceAgainstAbort, N as runBeforeExecuteChain, O as checkMiddlewareCompatibility, P as runWithMiddleware, S as RuntimeLog, T as ValidAnnotations, _ as RuntimeCore, a as CrossFamilyMiddleware, b as RuntimeExecuteOptions, c as InterceptResult, d as OperationKind, f as ParamRefMutator, g as RuntimeAbortedPhase, h as ResultType, i as AsyncIterableResult, j as isRuntimeError, k as createMetaBuilder, l as LaneMetaBuilder, m as RUNTIME_ABORTED, n as AnnotationHandle, o as DefineAnnotationOptions, p as QueryPlan, r as AnnotationValue, s as ExecutionPlan, t as AfterExecuteResult, u as MetaBuilder, v as RuntimeCoreOptions, w as RuntimeMiddlewareContext, x as RuntimeExecutor, y as RuntimeErrorEnvelope } from "./runtime
|
|
17
|
+
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-DAMpjVOP.mjs";
|
|
18
|
+
import { A as defineAnnotation, C as RuntimeMiddleware, D as checkAborted, E as assertAnnotationsApplicable, F as runtimeAborted, I as runtimeError, M as raceAgainstAbort, N as runBeforeExecuteChain, O as checkMiddlewareCompatibility, P as runWithMiddleware, S as RuntimeLog, T as ValidAnnotations, _ as RuntimeCore, a as CrossFamilyMiddleware, b as RuntimeExecuteOptions, c as InterceptResult, d as OperationKind, f as ParamRefMutator, g as RuntimeAbortedPhase, h as ResultType, i as AsyncIterableResult, j as isRuntimeError, k as createMetaBuilder, l as LaneMetaBuilder, m as RUNTIME_ABORTED, n as AnnotationHandle, o as DefineAnnotationOptions, p as QueryPlan, r as AnnotationValue, s as ExecutionPlan, t as AfterExecuteResult, u as MetaBuilder, v as RuntimeCoreOptions, w as RuntimeMiddlewareContext, x as RuntimeExecutor, y as RuntimeErrorEnvelope } from "./runtime-Cne6hBaG.mjs";
|
|
19
19
|
import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
|
|
20
|
-
export { APP_SPACE_ID, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AfterExecuteResult, type AnnotationHandle, type AnnotationValue, type AnyCodecDescriptor, type AnyEntityKindDescriptor, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, 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 AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionBlockRefResolutionContext, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GenerateContractTypesOptions, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type InterceptResult, type IntrospectSchemaResult, type LaneMetaBuilder, type LoweredDefaultResult, type LoweredDefaultValue, type MetaBuilder, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type Namespace, NamespaceBase, type NamespacedEntities, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, ParsePslDocumentInput, ParsePslDocumentResult, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryPlan, RUNTIME_ABORTED, type ResultType, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMiddlewareContext, type RuntimeTargetDescriptor, type RuntimeTargetInstance, type ScalarTypeConstructorOutput, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SignDatabaseResult, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type Storage, type StorageType, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValidationContext, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runWithMiddleware, runtimeAborted, runtimeError, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
|
20
|
+
export { APP_SPACE_ID, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AfterExecuteResult, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AnnotationHandle, type AnnotationValue, type AnyCodecDescriptor, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, 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 AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionBlockRefResolutionContext, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GenerateContractTypesOptions, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type InterceptResult, type IntrospectSchemaResult, type LaneMetaBuilder, type LoweredDefaultResult, type LoweredDefaultValue, type MetaBuilder, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, ParsePslDocumentInput, ParsePslDocumentResult, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryPlan, RUNTIME_ABORTED, type ResultType, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMiddlewareContext, type RuntimeTargetDescriptor, type RuntimeTargetInstance, type ScalarTypeConstructorOutput, 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 SignDatabaseResult, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type Storage, type StorageType, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValidationContext, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
package/dist/components.mjs
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { t as isPlainRecord } from "./is-plain-record-CUofyVQ7-DWEzdhIx.mjs";
|
|
2
2
|
import { n as runtimeError, t as isRuntimeError } from "./runtime-error-BA9d7XjZ-BlT8t6LB.mjs";
|
|
3
3
|
import { _ as mergeAuthoringNamespaces, a as collectScalarTypeConstructors, b as validateAuthoringHelperArguments, c as instantiateAuthoringEntityType, d as isAuthoringArgRef, f as isAuthoringEntityTypeDescriptor, g as isAuthoringTypeConstructorDescriptor, h as isAuthoringPslBlockDescriptor, l as instantiateAuthoringFieldPreset, m as isAuthoringModelAttributeDescriptor, n as assertResolvableTypeConstructorTemplates, o as flushAuthoringWarnings, p as isAuthoringFieldPresetDescriptor, r as classifyEnumMemberType, s as hasRegisteredFieldNamespace, t as assertNoCrossRegistryCollisions, u as instantiateAuthoringTypeConstructor, v as resolveAuthoringTemplateValue, y as resolveEnumCodecId } from "./framework-authoring-CDEvlouU-mlMWSksD.mjs";
|
|
4
|
+
import { r as voidParamsSchema, t as emptyCodecLookup } from "./codec-types-DcNvNeY1-BO6kUiH0.mjs";
|
|
4
5
|
import { i as validateCodecTypeParams, n as materializeCodec, r as resolveCodecDescriptorOrThrow, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from "./resolve-codec-BZF8TZh_-D-xORT9Q.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
6
|
+
import { i as renderTsLiteral, n as CodecImpl, r as column, t as CodecDescriptorImpl } from "./codec-BgOWqkHY.mjs";
|
|
7
|
+
import { a as mergeCapabilityMatrices, i as isNoInputAggregateDescriptor, n as isAggregateDescriptor, r as isAnyInputAggregateDescriptor, t as aggregateDescriptorKey } from "./capabilities-D_lE1L0x-x4Dq0wCx.mjs";
|
|
7
8
|
import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
|
|
8
|
-
import {
|
|
9
|
+
import { t as settleAggregateOverloads } from "./components-ifbUGzY-.mjs";
|
|
10
|
+
import { C as hasOperationPreview, D as issueOutcome, E as hasSchemaView, O as orderIssuesByDependencies, S as hasMigrations, T as hasSchemaSubjectClassifier, _ as dispositionForCategory, a as VERIFY_CODE_HASH_MISMATCH, b as extractComponentIds, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as diffSchemas, h as createControlStack, i as SchemaTreeNode, k as storageHashHex, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as extractCodecLookup, w as hasPslContractInfer, x as extractQueryOperationTypeImports, y as extractCodecTypeImports } from "./control-Clpi3725.mjs";
|
|
9
11
|
import { n as resolveRequirementSpecifiers, t as keepInternalSpecifiers } from "./emission-CeoAV9mj.mjs";
|
|
10
12
|
import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-BNwBzmRd.mjs";
|
|
11
13
|
import { a as buildSingleNamespaceView, c as elementCoordinates, d as hydrateNamespaceEntities, f as promoteBuiltinKinds, i as buildNamespacedEntities, l as entityAt, n as NamespaceBase, o as coordinateKey, r as UNBOUND_NAMESPACE_ID, s as domainElementCoordinates, t as IRNodeBase, u as freezeNode } from "./ir-ChmSSAhX.mjs";
|
|
12
14
|
import { a as makePslNamespace, c as validateExtensionBlock, i as flatPslModels, n as UNSPECIFIED_PSL_NAMESPACE_ID, o as makePslNamespaceEntries, r as flatPslCompositeTypes, s as namespacePslExtensionBlocks, t as BUILTIN_PSL_KIND_KEYS } from "./psl-ast-DUCvVXbB.mjs";
|
|
13
15
|
import { a as checkAborted, c as defineAnnotation, d as runWithMiddleware, f as runtimeAborted, i as assertAnnotationsApplicable, l as raceAgainstAbort, n as RUNTIME_ABORTED, o as checkMiddlewareCompatibility, r as RuntimeCore, s as createMetaBuilder, t as AsyncIterableResult, u as runBeforeExecuteChain } from "./runtime-DYTFHGwh.mjs";
|
|
14
16
|
import { t as canonicalizeJson } from "./utils-DMAM0unR.mjs";
|
|
15
|
-
export { APP_SPACE_ID, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecImpl, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RuntimeCore, SchemaDiff, SchemaTreeNode, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runWithMiddleware, runtimeAborted, runtimeError, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
|
17
|
+
export { APP_SPACE_ID, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecImpl, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RuntimeCore, SchemaDiff, SchemaTreeNode, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|