@prisma/orm-framework 8.0.0-rc.18-dev.16 → 8.0.0-rc.18-dev.18
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-CdcF6V47.mjs → authoring-CDlR13tn.mjs} +49 -42
- package/dist/authoring-CDlR13tn.mjs.map +1 -0
- package/dist/{authoring-CSsdXy1L.d.mts → authoring-joNigE7w.d.mts} +5 -5
- package/dist/{authoring-CSsdXy1L.d.mts.map → authoring-joNigE7w.d.mts.map} +1 -1
- package/dist/{binder-Eeh-nJsx-a-PG0VsN.d.mts → binder-BfzoRtNz-uIAexNtf.d.mts} +14 -13
- package/dist/{binder-Eeh-nJsx-a-PG0VsN.d.mts.map → binder-BfzoRtNz-uIAexNtf.d.mts.map} +1 -1
- package/dist/{capabilities-CnCdDH1J-Bq8Zf0nY.mjs → capabilities-Cn-Kepnv-B8FOAyUu.mjs} +3 -3
- package/dist/{capabilities-CnCdDH1J-Bq8Zf0nY.mjs.map → capabilities-Cn-Kepnv-B8FOAyUu.mjs.map} +1 -1
- package/dist/codec-BYGt3r-S.mjs +28 -0
- package/dist/codec-BYGt3r-S.mjs.map +1 -0
- package/dist/{codec-C50y5KJD.d.mts → codec-BxNHu928.d.mts} +21 -18
- package/dist/codec-BxNHu928.d.mts.map +1 -0
- package/dist/codec-descriptor-C_M6vCEV-CX-PKa8w.mjs +78 -0
- package/dist/codec-descriptor-C_M6vCEV-CX-PKa8w.mjs.map +1 -0
- package/dist/{codec-types-BsE6wCHK-Dpx-WFJ2.d.mts → codec-types-BNVa23xn-DLZmMFiC.d.mts} +75 -60
- package/dist/codec-types-BNVa23xn-DLZmMFiC.d.mts.map +1 -0
- package/dist/{components-VMbwq7D8.mjs → components-Bji-LsWb.mjs} +2 -2
- package/dist/{components-VMbwq7D8.mjs.map → components-Bji-LsWb.mjs.map} +1 -1
- package/dist/{components-DY1n6ZoG.d.mts → components-EV0zsCc7.d.mts} +4 -4
- package/dist/{components-DY1n6ZoG.d.mts.map → components-EV0zsCc7.d.mts.map} +1 -1
- package/dist/components.d.mts +17 -17
- package/dist/components.mjs +11 -11
- package/dist/components__authoring.d.mts +4 -4
- package/dist/components__authoring.mjs +3 -3
- package/dist/components__codec.d.mts +3 -3
- package/dist/components__codec.mjs +4 -4
- package/dist/components__components.d.mts +3 -3
- package/dist/components__components.mjs +2 -2
- package/dist/components__control.d.mts +3 -3
- package/dist/components__control.mjs +2 -2
- 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/components__runtime.mjs +1 -1
- package/dist/{config-types-ClR0TWDp.d.mts → config-types-Cz10_syo.d.mts} +7 -7
- package/dist/{config-types-ClR0TWDp.d.mts.map → config-types-Cz10_syo.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +4 -4
- package/dist/contract-authoring.mjs +3 -3
- package/dist/{contract-validation-error-DEiWp_EI-CRwtUgRw.mjs → contract-validation-error-CAnTGhkt-DSnujRaK.mjs} +6 -3
- package/dist/contract-validation-error-CAnTGhkt-DSnujRaK.mjs.map +1 -0
- package/dist/{contract-validation-error-R7cMoK04.d.mts → contract-validation-error-D1QAeOh5.d.mts} +4 -2
- package/dist/contract-validation-error-D1QAeOh5.d.mts.map +1 -0
- package/dist/contract.d.mts +2 -2
- package/dist/contract.mjs +3 -3
- package/dist/contract__contract-validation-error.d.mts +1 -1
- package/dist/contract__contract-validation-error.mjs +1 -1
- package/dist/contract__enum-accessor.d.mts +1 -1
- package/dist/contract__enum-accessor.mjs +1 -1
- package/dist/contract__validate-domain.mjs +1 -1
- package/dist/{control-DnVTy0uQ.mjs → control-5ocRB46M.mjs} +8 -17
- package/dist/control-5ocRB46M.mjs.map +1 -0
- package/dist/control-B7cfY071.d.mts +1 -0
- package/dist/{control-DiIVftDP.d.mts → control-Bp6XS6M2.d.mts} +10 -10
- package/dist/{control-DiIVftDP.d.mts.map → control-Bp6XS6M2.d.mts.map} +1 -1
- package/dist/{control-CVGlbj6c-DGRy_Odg.mjs → control-Bv8UK63M-D34GaTSa.mjs} +28 -15
- package/dist/control-Bv8UK63M-D34GaTSa.mjs.map +1 -0
- package/dist/{control-C11hV6zc-Bu4HR5MZ.d.mts → control-C_zs63JQ-BHMRNt82.d.mts} +5 -3
- package/dist/control-C_zs63JQ-BHMRNt82.d.mts.map +1 -0
- package/dist/data-type-Yz-2OZh--ZEUqit-7.mjs +253 -0
- package/dist/data-type-Yz-2OZh--ZEUqit-7.mjs.map +1 -0
- package/dist/{declarations-DuSbyF44-Bee8mK-C.mjs → declarations-DuSbyF44-DHxqQ1-X.mjs} +2 -2
- package/dist/{declarations-DuSbyF44-Bee8mK-C.mjs.map → declarations-DuSbyF44-DHxqQ1-X.mjs.map} +1 -1
- package/dist/{dist-BHoPlvHD.mjs → dist-D1f6xr7F.mjs} +4 -4
- package/dist/{dist-BHoPlvHD.mjs.map → dist-D1f6xr7F.mjs.map} +1 -1
- package/dist/emission-Cr-H5ooL.d.mts +2 -0
- package/dist/{emission-types-6eDWkqG7-C0x_EHcS.d.mts → emission-types-4eOAB7Fb-B-L5H9gM.d.mts} +4 -4
- package/dist/{emission-types-6eDWkqG7-C0x_EHcS.d.mts.map → emission-types-4eOAB7Fb-B-L5H9gM.d.mts.map} +1 -1
- package/dist/{enum-accessor-BTMiHs-n.mjs → enum-accessor-CAlX-HOl.mjs} +3 -3
- package/dist/enum-accessor-CAlX-HOl.mjs.map +1 -0
- package/dist/{enum-accessor-COww36Lu.d.mts → enum-accessor-GZPV-WpP.d.mts} +8 -4
- package/dist/enum-accessor-GZPV-WpP.d.mts.map +1 -0
- package/dist/errors.d.mts +4 -4
- package/dist/errors.mjs +3 -3
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__control.mjs +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__execution.mjs +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/errors__migration.mjs +1 -1
- package/dist/{execution-BPjhu9gV.d.mts → execution-A4CaEPHk.d.mts} +3 -3
- package/dist/{execution-BPjhu9gV.d.mts.map → execution-A4CaEPHk.d.mts.map} +1 -1
- package/dist/{execution-BIqac9cC.mjs → execution-D_qcNa8s.mjs} +2 -2
- package/dist/{execution-BIqac9cC.mjs.map → execution-D_qcNa8s.mjs.map} +1 -1
- package/dist/{execution-5GwMfE3u.d.mts → execution-Db6roA4O.d.mts} +2 -2
- package/dist/{execution-5GwMfE3u.d.mts.map → execution-Db6roA4O.d.mts.map} +1 -1
- package/dist/{framework-authoring-D6Z2kyE8-B8GVWZ59.d.mts → framework-authoring-BYuHgXo6-BtKlRo4a.d.mts} +9 -24
- package/dist/{framework-authoring-D6Z2kyE8-B8GVWZ59.d.mts.map → framework-authoring-BYuHgXo6-BtKlRo4a.d.mts.map} +1 -1
- package/dist/{framework-components-DhrgvP2z-B_XzMVzi.d.mts → framework-components-D_QZgxzO-D4b6r8ne.d.mts} +5 -5
- package/dist/{framework-components-DhrgvP2z-B_XzMVzi.d.mts.map → framework-components-D_QZgxzO-D4b6r8ne.d.mts.map} +1 -1
- package/dist/ids.d.mts +1 -1
- package/dist/{index-wEX7G1Bv.d.mts → index-MU-ksXsh.d.mts} +4 -4
- package/dist/{index-wEX7G1Bv.d.mts.map → index-MU-ksXsh.d.mts.map} +1 -1
- package/dist/ir-uDGU9vaj.mjs.map +1 -1
- package/dist/{migration-BdFXgvxm.mjs → migration-BpjWKFc_.mjs} +2 -3
- package/dist/migration-BpjWKFc_.mjs.map +1 -0
- package/dist/{migration-IroycW9a.d.mts → migration-ClwEv4nY.d.mts} +2 -2
- package/dist/{migration-IroycW9a.d.mts.map → migration-ClwEv4nY.d.mts.map} +1 -1
- package/dist/{parse-BxcaGLV1-yhRJIgS-.mjs → parse-BxcaGLV1-CDTwA5qF.mjs} +2 -2
- package/dist/{parse-BxcaGLV1-yhRJIgS-.mjs.map → parse-BxcaGLV1-CDTwA5qF.mjs.map} +1 -1
- package/dist/{parse-CJtBvEYy-QAuABAmw.d.mts → parse-CJtBvEYy-b7iSU0ii.d.mts} +6 -6
- package/dist/{parse-CJtBvEYy-QAuABAmw.d.mts.map → parse-CJtBvEYy-b7iSU0ii.d.mts.map} +1 -1
- package/dist/{psl-ast-xH8q-IMy-BGt6Xtfb.d.mts → psl-ast-3tk7lIrz-u_05BsIo.d.mts} +3 -3
- package/dist/{psl-ast-xH8q-IMy-BGt6Xtfb.d.mts.map → psl-ast-3tk7lIrz-u_05BsIo.d.mts.map} +1 -1
- package/dist/psl-ast-DIzWPqtl.d.mts +2 -0
- package/dist/psl-parser.d.mts +12 -10
- package/dist/psl-parser.d.mts.map +1 -1
- package/dist/psl-parser.mjs +20 -12
- package/dist/psl-parser.mjs.map +1 -1
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__format.mjs +2 -2
- package/dist/psl-parser__interpret.d.mts +6 -6
- package/dist/psl-parser__interpret.mjs +1 -1
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-parser__syntax.mjs +2 -2
- package/dist/psl-printer.d.mts +4 -4
- package/dist/psl-printer.mjs +1 -1
- package/dist/{runtime-DXJoMikC.d.mts → runtime-DHpxH1kS.d.mts} +6 -6
- package/dist/runtime-DHpxH1kS.d.mts.map +1 -0
- package/dist/{runtime-DZVNxupx.mjs → runtime-TH4ZwfdV.mjs} +110 -62
- package/dist/runtime-TH4ZwfdV.mjs.map +1 -0
- package/dist/{temporal-presets-DEyPX8qQ-Bz4DdZ8v.mjs → temporal-presets-CFRgwfiR-QTpEltz4.mjs} +5 -21
- package/dist/temporal-presets-CFRgwfiR-QTpEltz4.mjs.map +1 -0
- package/dist/ts-render.d.mts +1 -1
- package/dist/ts-render.mjs +1 -1
- package/dist/{types-import-spec-DkCibt5c-eWXsW3y_.d.mts → types-import-spec-BlKcW9tz-BxhTG7Oc.d.mts} +5 -5
- package/dist/types-import-spec-BlKcW9tz-BxhTG7Oc.d.mts.map +1 -0
- package/dist/{validate-domain-Yvt64F2p.mjs → validate-domain-CbXHDYpF.mjs} +2 -2
- package/dist/{validate-domain-Yvt64F2p.mjs.map → validate-domain-CbXHDYpF.mjs.map} +1 -1
- package/dist/{written-value-Cux5g-EZ-Bqapydv4.d.mts → written-value-Dio_n0HT-CgpcE2lf.d.mts} +23 -18
- package/dist/written-value-Dio_n0HT-CgpcE2lf.d.mts.map +1 -0
- package/package.json +15 -15
- package/dist/authoring-CdcF6V47.mjs.map +0 -1
- package/dist/codec-B6f31GrC.mjs +0 -135
- package/dist/codec-B6f31GrC.mjs.map +0 -1
- package/dist/codec-C50y5KJD.d.mts.map +0 -1
- package/dist/codec-descriptor-cZ8iVRuw-Cfsd42-8.mjs +0 -42
- package/dist/codec-descriptor-cZ8iVRuw-Cfsd42-8.mjs.map +0 -1
- package/dist/codec-types-BsE6wCHK-Dpx-WFJ2.d.mts.map +0 -1
- package/dist/contract-validation-error-DEiWp_EI-CRwtUgRw.mjs.map +0 -1
- package/dist/contract-validation-error-R7cMoK04.d.mts.map +0 -1
- package/dist/control-C11hV6zc-Bu4HR5MZ.d.mts.map +0 -1
- package/dist/control-CGf1ZZbx.d.mts +0 -1
- package/dist/control-CVGlbj6c-DGRy_Odg.mjs.map +0 -1
- package/dist/control-DnVTy0uQ.mjs.map +0 -1
- package/dist/data-type-PGFGVtmU-DeoZ2KIb.mjs +0 -106
- package/dist/data-type-PGFGVtmU-DeoZ2KIb.mjs.map +0 -1
- package/dist/emission-BSYl5A1j.d.mts +0 -2
- package/dist/enum-accessor-BTMiHs-n.mjs.map +0 -1
- package/dist/enum-accessor-COww36Lu.d.mts.map +0 -1
- package/dist/migration-BdFXgvxm.mjs.map +0 -1
- package/dist/psl-ast-nSJQBZ1d.d.mts +0 -2
- package/dist/runtime-DXJoMikC.d.mts.map +0 -1
- package/dist/runtime-DZVNxupx.mjs.map +0 -1
- package/dist/temporal-presets-DEyPX8qQ-Bz4DdZ8v.mjs.map +0 -1
- package/dist/types-import-spec-DkCibt5c-eWXsW3y_.d.mts.map +0 -1
- package/dist/written-value-Cux5g-EZ-Bqapydv4.d.mts.map +0 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { t as InternalError } from "./internal-error-ChGYPVpq-DhUD05u0.mjs";
|
|
2
|
+
import { C as requireValueOf, u as dataTypeParams } from "./data-type-Yz-2OZh--ZEUqit-7.mjs";
|
|
3
|
+
//#region ../../../1-framework/1-core/framework-components/dist/codec-descriptor-C_M6vCEV.mjs
|
|
4
|
+
/**
|
|
5
|
+
* The application value `codec` gives for `json`, a value a contract stores for a column with the column's `typeParams`: the codec's data type reads it with the parameters it declares, and the codec converts the value.
|
|
6
|
+
*/
|
|
7
|
+
function readContractValue(codec, json, typeParams) {
|
|
8
|
+
return codec.fromDataTypeValue(codec.dataType.fromContract(json, dataTypeParams(codec.dataType, typeParams)));
|
|
9
|
+
}
|
|
10
|
+
function namedDataType(descriptor) {
|
|
11
|
+
return Reflect.get(descriptor, "dataType");
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Abstract base class for concrete codec implementations.
|
|
15
|
+
*
|
|
16
|
+
* A codec is built with its descriptor, the data type it converts values of and the column's parameters of that type. The constructor makes `fromDataTypeValue` refuse a value of another data type before the subclass's conversion runs. `fromDataTypeValue` and `toDataTypeValue` convert between a value of the type and the application value, and `toDataTypeValue` finishes with {@link CodecImpl.dataTypeValueOf}, which constructs the value through the type. `fromWire` and `toWire` read and write what the driver exchanges, asynchronously.
|
|
17
|
+
*/
|
|
18
|
+
var CodecImpl = class {
|
|
19
|
+
descriptor;
|
|
20
|
+
dataType;
|
|
21
|
+
dataTypeParams;
|
|
22
|
+
/**
|
|
23
|
+
* The descriptor is variance-erased: concrete codec subclasses receive the typed descriptor in their own constructors and forward it via `super(descriptor, dataType, params)`; the variance erasure lives at this base because the abstract surface can't carry the concrete `TParams`.
|
|
24
|
+
*/
|
|
25
|
+
constructor(descriptor, dataType, dataTypeParams = {}) {
|
|
26
|
+
this.descriptor = descriptor;
|
|
27
|
+
this.dataType = dataType;
|
|
28
|
+
this.dataTypeParams = dataTypeParams;
|
|
29
|
+
const named = namedDataType(descriptor);
|
|
30
|
+
if (named !== void 0 && named !== dataType.id) throw new InternalError(`Codec ${descriptor.codecId} is built with the data type ${dataType.id}, but its descriptor names ${String(named)}.`);
|
|
31
|
+
const convert = Reflect.get(this, "fromDataTypeValue");
|
|
32
|
+
Object.defineProperty(this, "fromDataTypeValue", {
|
|
33
|
+
value: (value) => convert.call(this, requireValueOf(this.dataType.id, value, `Codec ${this.id}`)),
|
|
34
|
+
writable: true,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
get id() {
|
|
39
|
+
return this.descriptor.codecId;
|
|
40
|
+
}
|
|
41
|
+
/** The value of the codec's data type that `json` stores, under the codec's parameters. */
|
|
42
|
+
dataTypeValueOf(json) {
|
|
43
|
+
return this.dataType.valueFrom(json, this.dataTypeParams);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Why an enum cannot use the codec `descriptor` describes, or `undefined` when one can: the codec's own {@link CodecDescriptorTemplate.enumRefusal}, else the missing `equality` trait. Every enum authoring surface refuses a codec through this.
|
|
48
|
+
*/
|
|
49
|
+
function enumRefusalOf(descriptor) {
|
|
50
|
+
if (descriptor.enumRefusal !== void 0) return descriptor.enumRefusal;
|
|
51
|
+
if (descriptor.traits.includes("equality")) return void 0;
|
|
52
|
+
return "The codec does not declare the equality trait, so no value can be compared with a member. Use a codec that declares it.";
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Abstract base class for concrete codec descriptors.
|
|
56
|
+
*
|
|
57
|
+
* Codec authors extend this class with their typed `TParams` and declare `codecId`, `traits`, `paramsSchema`, and the curried `factory(params)`.
|
|
58
|
+
*
|
|
59
|
+
* Implements the {@link CodecDescriptor} interface so a concrete subclass instance is directly usable wherever the framework expects a `CodecDescriptor<P>`.
|
|
60
|
+
*/
|
|
61
|
+
var CodecDescriptorTemplateImpl = class {
|
|
62
|
+
get isParameterized() {
|
|
63
|
+
return this.paramsSchema !== void 0;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Abstract base for a concrete codec descriptor: a {@link CodecDescriptorTemplateImpl} that also
|
|
68
|
+
* names the data type its codec represents.
|
|
69
|
+
*
|
|
70
|
+
* A codec whose data type depends on the target that adopts it extends
|
|
71
|
+
* {@link CodecDescriptorTemplateImpl} instead, and the target names the type when it adapts the
|
|
72
|
+
* template.
|
|
73
|
+
*/
|
|
74
|
+
var CodecDescriptorImpl = class extends CodecDescriptorTemplateImpl {};
|
|
75
|
+
//#endregion
|
|
76
|
+
export { readContractValue as a, enumRefusalOf as i, CodecDescriptorTemplateImpl as n, CodecImpl as r, CodecDescriptorImpl as t };
|
|
77
|
+
|
|
78
|
+
//# sourceMappingURL=codec-descriptor-C_M6vCEV-CX-PKa8w.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-descriptor-C_M6vCEV-CX-PKa8w.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec-descriptor-C_M6vCEV.mjs"],"sourcesContent":["import { a as dataTypeParams, c as requireValueOf } from \"./data-type-Yz-2OZh-.mjs\";\nimport { InternalError } from \"@internal/utils/internal-error\";\n//#region src/shared/codec.ts\n/**\n* The application value `codec` gives for `json`, a value a contract stores for a column with the column's `typeParams`: the codec's data type reads it with the parameters it declares, and the codec converts the value.\n*/\nfunction readContractValue(codec, json, typeParams) {\n\treturn codec.fromDataTypeValue(codec.dataType.fromContract(json, dataTypeParams(codec.dataType, typeParams)));\n}\nfunction namedDataType(descriptor) {\n\treturn Reflect.get(descriptor, \"dataType\");\n}\n/**\n* Abstract base class for concrete codec implementations.\n*\n* A codec is built with its descriptor, the data type it converts values of and the column's parameters of that type. The constructor makes `fromDataTypeValue` refuse a value of another data type before the subclass's conversion runs. `fromDataTypeValue` and `toDataTypeValue` convert between a value of the type and the application value, and `toDataTypeValue` finishes with {@link CodecImpl.dataTypeValueOf}, which constructs the value through the type. `fromWire` and `toWire` read and write what the driver exchanges, asynchronously.\n*/\nvar CodecImpl = class {\n\tdescriptor;\n\tdataType;\n\tdataTypeParams;\n\t/**\n\t* The descriptor is variance-erased: concrete codec subclasses receive the typed descriptor in their own constructors and forward it via `super(descriptor, dataType, params)`; the variance erasure lives at this base because the abstract surface can't carry the concrete `TParams`.\n\t*/\n\tconstructor(descriptor, dataType, dataTypeParams = {}) {\n\t\tthis.descriptor = descriptor;\n\t\tthis.dataType = dataType;\n\t\tthis.dataTypeParams = dataTypeParams;\n\t\tconst named = namedDataType(descriptor);\n\t\tif (named !== void 0 && named !== dataType.id) throw new InternalError(`Codec ${descriptor.codecId} is built with the data type ${dataType.id}, but its descriptor names ${String(named)}.`);\n\t\tconst convert = Reflect.get(this, \"fromDataTypeValue\");\n\t\tObject.defineProperty(this, \"fromDataTypeValue\", {\n\t\t\tvalue: (value) => convert.call(this, requireValueOf(this.dataType.id, value, `Codec ${this.id}`)),\n\t\t\twritable: true,\n\t\t\tconfigurable: true\n\t\t});\n\t}\n\tget id() {\n\t\treturn this.descriptor.codecId;\n\t}\n\t/** The value of the codec's data type that `json` stores, under the codec's parameters. */\n\tdataTypeValueOf(json) {\n\t\treturn this.dataType.valueFrom(json, this.dataTypeParams);\n\t}\n};\n//#endregion\n//#region src/shared/codec-descriptor.ts\n/**\n* Why an enum cannot use the codec `descriptor` describes, or `undefined` when one can: the codec's own {@link CodecDescriptorTemplate.enumRefusal}, else the missing `equality` trait. Every enum authoring surface refuses a codec through this.\n*/\nfunction enumRefusalOf(descriptor) {\n\tif (descriptor.enumRefusal !== void 0) return descriptor.enumRefusal;\n\tif (descriptor.traits.includes(\"equality\")) return void 0;\n\treturn \"The codec does not declare the equality trait, so no value can be compared with a member. Use a codec that declares it.\";\n}\n/**\n* Abstract base class for concrete codec descriptors.\n*\n* Codec authors extend this class with their typed `TParams` and declare `codecId`, `traits`, `paramsSchema`, and the curried `factory(params)`.\n*\n* Implements the {@link CodecDescriptor} interface so a concrete subclass instance is directly usable wherever the framework expects a `CodecDescriptor<P>`.\n*/\nvar CodecDescriptorTemplateImpl = class {\n\tget isParameterized() {\n\t\treturn this.paramsSchema !== void 0;\n\t}\n};\n/**\n* Abstract base for a concrete codec descriptor: a {@link CodecDescriptorTemplateImpl} that also\n* names the data type its codec represents.\n*\n* A codec whose data type depends on the target that adopts it extends\n* {@link CodecDescriptorTemplateImpl} instead, and the target names the type when it adapts the\n* template.\n*/\nvar CodecDescriptorImpl = class extends CodecDescriptorTemplateImpl {};\n//#endregion\nexport { readContractValue as a, CodecImpl as i, CodecDescriptorTemplateImpl as n, enumRefusalOf as r, CodecDescriptorImpl as t };\n\n//# sourceMappingURL=codec-descriptor-C_M6vCEV.mjs.map"],"mappings":";;;;;;AAMA,SAAS,kBAAkB,OAAO,MAAM,YAAY;CACnD,OAAO,MAAM,kBAAkB,MAAM,SAAS,aAAa,MAAM,eAAe,MAAM,UAAU,UAAU,CAAC,CAAC;AAC7G;AACA,SAAS,cAAc,YAAY;CAClC,OAAO,QAAQ,IAAI,YAAY,UAAU;AAC1C;;;;;;AAMA,IAAI,YAAY,MAAM;CACrB;CACA;CACA;;;;CAIA,YAAY,YAAY,UAAU,iBAAiB,CAAC,GAAG;EACtD,KAAK,aAAa;EAClB,KAAK,WAAW;EAChB,KAAK,iBAAiB;EACtB,MAAM,QAAQ,cAAc,UAAU;EACtC,IAAI,UAAU,KAAK,KAAK,UAAU,SAAS,IAAI,MAAM,IAAI,cAAc,SAAS,WAAW,QAAQ,+BAA+B,SAAS,GAAG,6BAA6B,OAAO,KAAK,EAAE,EAAE;EAC3L,MAAM,UAAU,QAAQ,IAAI,MAAM,mBAAmB;EACrD,OAAO,eAAe,MAAM,qBAAqB;GAChD,QAAQ,UAAU,QAAQ,KAAK,MAAM,eAAe,KAAK,SAAS,IAAI,OAAO,SAAS,KAAK,IAAI,CAAC;GAChG,UAAU;GACV,cAAc;EACf,CAAC;CACF;CACA,IAAI,KAAK;EACR,OAAO,KAAK,WAAW;CACxB;;CAEA,gBAAgB,MAAM;EACrB,OAAO,KAAK,SAAS,UAAU,MAAM,KAAK,cAAc;CACzD;AACD;;;;AAMA,SAAS,cAAc,YAAY;CAClC,IAAI,WAAW,gBAAgB,KAAK,GAAG,OAAO,WAAW;CACzD,IAAI,WAAW,OAAO,SAAS,UAAU,GAAG,OAAO,KAAK;CACxD,OAAO;AACR;;;;;;;;AAQA,IAAI,8BAA8B,MAAM;CACvC,IAAI,kBAAkB;EACrB,OAAO,KAAK,iBAAiB,KAAK;CACnC;AACD;;;;;;;;;AASA,IAAI,sBAAsB,cAAc,4BAA4B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as JsonValue } from "./domain-envelope-CN721GnP-4huRt7Wc.mjs";
|
|
2
2
|
import { Type } from "arktype";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
|
-
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-
|
|
4
|
+
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-BNVa23xn.d.mts
|
|
5
5
|
//#region src/shared/data-type.d.ts
|
|
6
6
|
/**
|
|
7
7
|
* The identity of a data type: `owner/name`, with no version. A type's identity does not change;
|
|
@@ -12,24 +12,38 @@ type DataTypeId = string & {
|
|
|
12
12
|
readonly __dataTypeId: 'DataTypeId';
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* A pure function from the
|
|
16
|
-
*
|
|
15
|
+
* A pure function from the stored form of a value of the type it casts from to JSON the type that
|
|
16
|
+
* declares it constructs its value from. It may throw a structured error for a value it cannot
|
|
17
|
+
* convert.
|
|
17
18
|
*/
|
|
18
19
|
type Cast = (value: JsonValue) => JsonValue;
|
|
19
20
|
/**
|
|
20
21
|
* How a type whose single value holds several elements takes a written list: each element's type
|
|
21
|
-
* must be one of `of`,
|
|
22
|
+
* must be one of `of`, `cast` receives the elements' stored forms in written order, and the type
|
|
23
|
+
* constructs its value from what it returns.
|
|
22
24
|
*/
|
|
23
25
|
interface ListCast {
|
|
24
26
|
readonly of: readonly DataTypeId[];
|
|
25
27
|
readonly cast: (elements: readonly JsonValue[]) => JsonValue;
|
|
26
28
|
}
|
|
29
|
+
/** A data type's parameters: an empty object for a type without any. */
|
|
30
|
+
type DataTypeParams = Readonly<Record<string, unknown>>;
|
|
31
|
+
declare class DataTypeValueRecord<J extends JsonValue> {
|
|
32
|
+
#private;
|
|
33
|
+
readonly type: DataTypeId;
|
|
34
|
+
readonly params: DataTypeParams;
|
|
35
|
+
readonly value: J;
|
|
36
|
+
constructor(type: DataTypeId, params: DataTypeParams, value: J);
|
|
37
|
+
static isConstructed(value: unknown): boolean;
|
|
38
|
+
}
|
|
27
39
|
/**
|
|
28
|
-
* A
|
|
29
|
-
* values have more than one written form, such as a date written with or without a fraction. It
|
|
30
|
-
* may throw a structured error for a value the type does not hold.
|
|
40
|
+
* A value of a data type: the type's id, the parameters it holds the value under, and `value`, the JSON form `contract.json` stores. Only a data type constructs one, through {@link DataType.fromContract} and {@link DataType.valueFrom}. ADR 254.
|
|
31
41
|
*/
|
|
32
|
-
type
|
|
42
|
+
type DataTypeValue<J extends JsonValue = JsonValue> = DataTypeValueRecord<J>;
|
|
43
|
+
/** Reads JSON the type stores, under the type's parameters, and returns it; it refuses any other JSON, and a value the parameters exclude, with `refuseJsonValue`. */
|
|
44
|
+
type DataTypeReader = (json: JsonValue, params: DataTypeParams) => JsonValue;
|
|
45
|
+
/** The one spelling of a value the reader accepted, under the column's parameters: the type's whole spelling step, whether or not parameters change it, as `pg/uuid` writes lower case and `numeric(10,2)` two fraction digits. A stored value in another spelling is refused, and a value a codec hands over is written in this one. */
|
|
46
|
+
type DataTypeSpelling = (json: JsonValue, params: DataTypeParams) => JsonValue;
|
|
33
47
|
interface DataType {
|
|
34
48
|
readonly id: DataTypeId;
|
|
35
49
|
/** An arktype object schema of the type's parameters. A type without one has no parameters. */
|
|
@@ -37,11 +51,12 @@ interface DataType {
|
|
|
37
51
|
/** Keyed by the id of the type each cast takes values of. */
|
|
38
52
|
readonly casts: Readonly<Record<DataTypeId, Cast>>;
|
|
39
53
|
readonly listCast?: ListCast;
|
|
40
|
-
/**
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
54
|
+
/** The value `json` stores under `params`. It refuses JSON the type does not store in that form, a value the parameters exclude, and JSON in a spelling other than the one the parameters give. */
|
|
55
|
+
fromContract(json: JsonValue, params: DataTypeParams): DataTypeValue;
|
|
56
|
+
/** A value of the type built from `json`: read under `params`, which refuse a value they exclude, and written in the spelling they give. Every producer of a value that is not reading `contract.json` builds it here: a codec, a written default, a cast. */
|
|
57
|
+
valueFrom<J extends JsonValue>(json: J, params: DataTypeParams): DataTypeValue<J>;
|
|
58
|
+
/** The JSON `contract.json` stores for `value`. */
|
|
59
|
+
toContract(value: DataTypeValue): JsonValue;
|
|
45
60
|
}
|
|
46
61
|
interface DataTypeSpec {
|
|
47
62
|
readonly params?: Type<unknown>;
|
|
@@ -50,19 +65,26 @@ interface DataTypeSpec {
|
|
|
50
65
|
readonly of: readonly string[];
|
|
51
66
|
readonly cast: ListCast['cast'];
|
|
52
67
|
};
|
|
53
|
-
|
|
68
|
+
/** Accepts every spelling of a value the type holds, and refuses anything else. */
|
|
69
|
+
readonly read: DataTypeReader;
|
|
70
|
+
/** Gives an accepted value its one spelling; a type whose values have one spelling only declares none. */
|
|
71
|
+
readonly spell?: DataTypeSpelling;
|
|
54
72
|
}
|
|
55
73
|
/** The assembled types of one stack, by id. */
|
|
56
74
|
interface DataTypeLookup {
|
|
57
75
|
get(id: string): DataType | undefined;
|
|
58
76
|
has(id: string): boolean;
|
|
59
77
|
}
|
|
60
|
-
/** The whole of what a data type id is: `owner/name` in lower case, with no version. */
|
|
61
|
-
declare const DATA_TYPE_ID_PATTERN: RegExp;
|
|
62
78
|
/** Read `id` as a data type id, refusing anything that is not `owner/name` in lower case. */
|
|
63
79
|
declare function dataTypeId(id: string): DataTypeId;
|
|
64
80
|
/** Declare a data type. Every id it names, its own and each cast's source, is validated here. */
|
|
65
81
|
declare function dataType(id: string, spec: DataTypeSpec): DataType;
|
|
82
|
+
/** `value`, when it is a value of `type` that a data type constructed; anything else is a bug in `holder`'s caller. */
|
|
83
|
+
declare function requireValueOf(type: DataTypeId, value: DataTypeValue, holder: string): DataTypeValue;
|
|
84
|
+
/** The parameters in `typeParams` that `type` declares; keys a codec keeps for itself are dropped. */
|
|
85
|
+
declare function dataTypeParams(type: DataType, typeParams: unknown): DataTypeParams;
|
|
86
|
+
/** Whether two values are one: the same type, equal parameters, and JSON equal as canonical JSON. */
|
|
87
|
+
declare function dataTypeValuesEqual(a: DataTypeValue, b: DataTypeValue): boolean;
|
|
66
88
|
/** The keys an arktype object schema declares, or undefined when `schema` is not one. */
|
|
67
89
|
declare function objectSchemaKeys(schema: unknown): readonly string[] | undefined;
|
|
68
90
|
/** The required keys an arktype object schema declares, or undefined when `schema` is not one. */
|
|
@@ -116,7 +138,7 @@ interface CodecDescriptorTemplate<P = void> {
|
|
|
116
138
|
* (e.g. `'low'`, `1`), or `undefined` if this codec's output isn't literal-expressible (e.g. a
|
|
117
139
|
* Date-output codec).
|
|
118
140
|
*
|
|
119
|
-
* `value` is the
|
|
141
|
+
* `value` is the stored JSON of a value in the value set, as the codec's data type stores it. `side` selects which type to print:
|
|
120
142
|
* `output` = the read/SELECT type; `input` = the create/update type. Most codecs render the same
|
|
121
143
|
* literal for both, but a codec whose read and write types differ can render per side. Called once
|
|
122
144
|
* per permitted value; the caller joins the results with `|`.
|
|
@@ -124,10 +146,6 @@ interface CodecDescriptorTemplate<P = void> {
|
|
|
124
146
|
readonly renderValueLiteral?: (value: JsonValue, side: 'output' | 'input') => string | undefined;
|
|
125
147
|
/** Why an enum cannot use this codec, as sentences an enum's refusal quotes, ending with what to use instead. A codec with the `equality` trait sets it when no value a query reads back equals a member as the contract stores it. A codec without the trait may set it to give a more specific reason than the generic one. Read it through {@link enumRefusalOf}, which also refuses a codec without the `equality` trait. */
|
|
126
148
|
readonly enumRefusal?: string;
|
|
127
|
-
/**
|
|
128
|
-
* Gives a value this codec reads its canonical form, for a codec whose data type stores several codecs' values in one form and so declares none for them: a SQLite datetime, which `sqlite/text` stores. Read it through {@link canonicalFormOf}, which takes it in place of the data type's. ADR 254.
|
|
129
|
-
*/
|
|
130
|
-
readonly toCanonicalForm?: ToCanonicalForm;
|
|
131
149
|
/** The curried higher-order codec. For non-parameterized codecs, the factory is constant — every call returns the same shared codec instance. For parameterized codecs, the factory is called once per `storage.types` instance (or once per inline-`typeParams` column), with `ctx` carrying the column set the resulting codec serves. */
|
|
132
150
|
readonly factory: (params: P) => (ctx: CodecInstanceContext) => Codec;
|
|
133
151
|
}
|
|
@@ -135,17 +153,13 @@ interface CodecDescriptorTemplate<P = void> {
|
|
|
135
153
|
* A codec descriptor: a {@link CodecDescriptorTemplate} that names the data type it represents.
|
|
136
154
|
*
|
|
137
155
|
* Several codecs may represent one type, differing in the value they produce in memory; all of them
|
|
138
|
-
* read and write that type's
|
|
156
|
+
* read and write that type's stored form. A descriptor whose data type is not registered in the
|
|
139
157
|
* assembled stack is an assembly error. ADR 254.
|
|
140
158
|
*/
|
|
141
159
|
interface CodecDescriptor<P = void> extends CodecDescriptorTemplate<P> {
|
|
142
160
|
/** The data type this codec is one representation of. */
|
|
143
161
|
readonly dataType: DataTypeId;
|
|
144
162
|
}
|
|
145
|
-
/**
|
|
146
|
-
* The canonical form of the values of a column whose codec is `codec` (ADR 254): the codec's own when it declares one, else its data type's. Whatever reads, compares or writes a stored value of a column takes its canonical form from here.
|
|
147
|
-
*/
|
|
148
|
-
declare function canonicalFormOf(codec: Pick<CodecDescriptor, 'dataType' | 'toCanonicalForm'>, dataTypes: Pick<DataTypeLookup, 'get'>): ToCanonicalForm | undefined;
|
|
149
163
|
/**
|
|
150
164
|
* Why an enum cannot use the codec `descriptor` describes, or `undefined` when one can: the codec's own {@link CodecDescriptorTemplate.enumRefusal}, else the missing `equality` trait. Every enum authoring surface refuses a codec through this.
|
|
151
165
|
*/
|
|
@@ -181,8 +195,6 @@ declare abstract class CodecDescriptorTemplateImpl<TParams = void> implements Co
|
|
|
181
195
|
renderValueLiteral?(value: JsonValue, side: 'output' | 'input'): string | undefined;
|
|
182
196
|
/** See {@link CodecDescriptorTemplate.enumRefusal}. */
|
|
183
197
|
readonly enumRefusal?: string;
|
|
184
|
-
/** Optional canonical form of the codec's values. See {@link CodecDescriptorTemplate.toCanonicalForm}. */
|
|
185
|
-
readonly toCanonicalForm?: ToCanonicalForm;
|
|
186
198
|
/**
|
|
187
199
|
* Materialize a curried codec factory for the given params. Concrete subclasses override with a typed return type (e.g. `factory<N>(params: { length: N }): (ctx) => VectorCodec<N>`); per-codec helpers read the typed return at the *direct* call site, which is what preserves method-level generics. Type extraction (e.g. `ReturnType<D['factory']>`) widens method generics to their constraint — that's why the column-helper surface is per-codec, not polymorphic.
|
|
188
200
|
*/
|
|
@@ -202,21 +214,9 @@ declare abstract class CodecDescriptorImpl<TParams = void> extends CodecDescript
|
|
|
202
214
|
//#endregion
|
|
203
215
|
//#region src/shared/codec.d.ts
|
|
204
216
|
/**
|
|
205
|
-
* A codec
|
|
206
|
-
*
|
|
207
|
-
* The author's mental model is two JS-side types — `TInput` (the application JS type) and `TWire` (the database driver wire format) — plus a target-defined `JsonValue`. The codec translates `TInput` to `TWire` on writes and back on ordinary reads, and to/from the target's JSON representation for contract artifacts and database-produced JSON values.
|
|
208
|
-
*
|
|
209
|
-
* Three representations participate:
|
|
210
|
-
* - **Input** (`TInput`): the JS type at the application boundary.
|
|
211
|
-
* - **Wire** (`TWire`): the format exchanged with the database driver.
|
|
212
|
-
* - **JSON** (`JsonValue`): the target-defined JSON-safe form used in contract artifacts. It uses the exact scalar shape the target produces inside JSON values, which can differ from the ordinary wire format.
|
|
213
|
-
*
|
|
214
|
-
* The runtime instance carries only its `id` (the descriptor's `codecId`, set by the factory) and the four conversion methods. Static metadata (`traits`) and the build-time `renderOutputType` renderer live on the {@link CodecDescriptor} keyed by `codecId` — the read-surface single source of truth. Consumers that need them resolve through `descriptorFor(codecId)`.
|
|
217
|
+
* A codec converts a value of one data type to the value an application holds, and that application value to and from what the database driver exchanges (ADR 254).
|
|
215
218
|
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* - **Query-time** methods (`encode`, `decode`) run per row/parameter at the IO boundary; they are required and Promise-returning. The per-family codec factory accepts sync or async author functions and lifts sync ones to Promise-shaped methods automatically.
|
|
219
|
-
* - **JSON** methods (`encodeJson`, `decodeJson`) run when the contract is serialized or loaded. Runtimes may also use `decodeJson` for values embedded in database-produced JSON results. They stay synchronous so contract validation and client construction are synchronous.
|
|
219
|
+
* `TInput` is the application value and `TWire` the wire value. The runtime instance carries its `id` (the descriptor's `codecId`), the {@link DataType} it converts values of, and four methods. Static metadata (`traits`) and the build-time `renderOutputType` renderer live on the {@link CodecDescriptor} keyed by `codecId`; consumers that need them resolve through `descriptorFor(codecId)`.
|
|
220
220
|
*
|
|
221
221
|
* Target-family codec interfaces extend this base; family-specific concerns (e.g. the SQL `column?` per-call context) layer on through the `CodecCallContext` extension pattern.
|
|
222
222
|
*/
|
|
@@ -225,34 +225,49 @@ interface Codec<Id extends string = string, TTraits extends readonly CodecTrait[
|
|
|
225
225
|
readonly id: Id;
|
|
226
226
|
/** Phantom carrier for the `TTraits` generic; type-only, undefined at runtime. Runtime traits live on {@link CodecDescriptor.traits}. Implemented as a string-key phantom (`__codecTraits`) rather than `unique symbol` so bundlers that split `.d.ts` chunks do not strand symbol identity on chunk-private paths (the same `TS2742` family that the public re-export of `CodecTypes` works around). */
|
|
227
227
|
readonly __codecTraits?: TTraits;
|
|
228
|
-
/**
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
228
|
+
/** The data type whose values this codec converts. */
|
|
229
|
+
readonly dataType: DataType;
|
|
230
|
+
/**
|
|
231
|
+
* Returns the application value for a value of the codec's data type. It refuses only a value the application value cannot hold exactly, such as digit text past 2^53 for a `number`, because the data type has already refused every value it does not hold; it is synchronous.
|
|
232
|
+
*/
|
|
233
|
+
fromDataTypeValue(value: DataTypeValue): TInput;
|
|
234
|
+
/**
|
|
235
|
+
* Returns the value of the codec's data type that an application value is, under the codec's parameters. It builds the value through the data type, so it cannot return a value its type does not hold; it is synchronous.
|
|
236
|
+
*/
|
|
237
|
+
toDataTypeValue(input: TInput): DataTypeValue;
|
|
234
238
|
/**
|
|
235
|
-
* Reads a value
|
|
239
|
+
* Reads a value the database driver returns into the application value. It is asynchronous and receives the per-call {@link CodecCallContext}, which family layers may narrow (SQL adds `column`).
|
|
236
240
|
*/
|
|
237
|
-
|
|
241
|
+
fromWire(wire: TWire, ctx: CodecCallContext): Promise<TInput>;
|
|
242
|
+
/**
|
|
243
|
+
* Writes an application value as the value the database driver takes. It is asynchronous and receives the per-call {@link CodecCallContext}, which family layers may narrow.
|
|
244
|
+
*/
|
|
245
|
+
toWire(input: TInput, ctx: CodecCallContext): Promise<TWire>;
|
|
238
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* The application value `codec` gives for `json`, a value a contract stores for a column with the column's `typeParams`: the codec's data type reads it with the parameters it declares, and the codec converts the value.
|
|
249
|
+
*/
|
|
250
|
+
declare function readContractValue(codec: Pick<Codec, 'dataType' | 'fromDataTypeValue'>, json: JsonValue, typeParams: unknown): unknown;
|
|
239
251
|
/**
|
|
240
252
|
* Abstract base class for concrete codec implementations.
|
|
241
253
|
*
|
|
242
|
-
*
|
|
254
|
+
* A codec is built with its descriptor, the data type it converts values of and the column's parameters of that type. The constructor makes `fromDataTypeValue` refuse a value of another data type before the subclass's conversion runs. `fromDataTypeValue` and `toDataTypeValue` convert between a value of the type and the application value, and `toDataTypeValue` finishes with {@link CodecImpl.dataTypeValueOf}, which constructs the value through the type. `fromWire` and `toWire` read and write what the driver exchanges, asynchronously.
|
|
243
255
|
*/
|
|
244
256
|
declare abstract class CodecImpl<Id extends string = string, TTraits extends readonly CodecTrait[] = readonly CodecTrait[], TWire = unknown, TInput = unknown> implements Codec<Id, TTraits, TWire, TInput> {
|
|
245
257
|
readonly descriptor: CodecDescriptorTemplate<any>;
|
|
258
|
+
readonly dataType: DataType;
|
|
259
|
+
protected readonly dataTypeParams: DataTypeParams;
|
|
246
260
|
/**
|
|
247
|
-
*
|
|
261
|
+
* The descriptor is variance-erased: concrete codec subclasses receive the typed descriptor in their own constructors and forward it via `super(descriptor, dataType, params)`; the variance erasure lives at this base because the abstract surface can't carry the concrete `TParams`.
|
|
248
262
|
*/
|
|
249
|
-
constructor(descriptor: CodecDescriptorTemplate<any
|
|
263
|
+
constructor(descriptor: CodecDescriptorTemplate<any>, dataType: DataType, dataTypeParams?: DataTypeParams);
|
|
250
264
|
get id(): Id;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
abstract
|
|
254
|
-
|
|
255
|
-
abstract
|
|
265
|
+
/** The value of the codec's data type that `json` stores, under the codec's parameters. */
|
|
266
|
+
protected dataTypeValueOf<J extends JsonValue>(json: J): DataTypeValue<J>;
|
|
267
|
+
abstract fromDataTypeValue(value: DataTypeValue): TInput;
|
|
268
|
+
abstract toDataTypeValue(input: TInput): DataTypeValue;
|
|
269
|
+
abstract fromWire(wire: TWire, ctx: CodecCallContext): Promise<TInput>;
|
|
270
|
+
abstract toWire(input: TInput, ctx: CodecCallContext): Promise<TWire>;
|
|
256
271
|
}
|
|
257
272
|
//#endregion
|
|
258
273
|
//#region src/shared/codec-types.d.ts
|
|
@@ -340,5 +355,5 @@ interface CodecInstanceContext {
|
|
|
340
355
|
readonly name: string;
|
|
341
356
|
}
|
|
342
357
|
//#endregion
|
|
343
|
-
export {
|
|
344
|
-
//# sourceMappingURL=codec-types-
|
|
358
|
+
export { dataTypeParams as A, DataTypeSpelling as C, createDataTypeLookup as D, assembleDataTypes as E, readContractValue as F, requireValueOf as I, requiredParamKeys as L, emptyCodecLookup as M, enumRefusalOf as N, dataType as O, objectSchemaKeys as P, requiredSchemaKeys as R, DataTypeSpec as S, ListCast as T, DataType as _, CodecCallContext as a, DataTypeParams as b, CodecDescriptorTemplate as c, CodecInstanceContext as d, CodecLookup as f, CodecTrait as g, CodecRegistry as h, Codec as i, dataTypeValuesEqual as j, dataTypeId as k, CodecDescriptorTemplateImpl as l, CodecRef as m, AnyCodecDescriptorTemplate as n, CodecDescriptor as o, CodecLookupWithDescriptors as p, Cast as r, CodecDescriptorImpl as s, AnyCodecDescriptor as t, CodecImpl as u, DataTypeId as v, DataTypeValue as w, DataTypeReader as x, DataTypeLookup as y, schemaKeysAllowing as z };
|
|
359
|
+
//# sourceMappingURL=codec-types-BNVa23xn-DLZmMFiC.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-BNVa23xn-DLZmMFiC.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec-types-BNVa23xn.d.mts"],"mappings":";;;;;;;;;;KASK;WACM;;;;;;;KAON,QAAQ,OAAO,cAAc;;;;;;UAMxB;WACC,aAAa;WACb,OAAO,mBAAmB,gBAAgB;;;KAGhD,iBAAiB,SAAS;cACjB,oBAAoB,UAAU;;WAEjC,MAAM;WACN,QAAQ;WACR,OAAO;EAChB,YAAY,MAAM,YAAY,QAAQ,gBAAgB,OAAO;SACtD,cAAc;;;;;KAKlB,cAAc,UAAU,YAAY,aAAa,oBAAoB;;KAErE,kBAAkB,MAAM,WAAW,QAAQ,mBAAmB;;KAE9D,oBAAoB,MAAM,WAAW,QAAQ,mBAAmB;UAC3D;WACC,IAAI;;WAEJ,SAAS;;WAET,OAAO,SAAS,OAAO,YAAY;WACnC,WAAW;;EAEpB,aAAa,MAAM,WAAW,QAAQ,iBAAiB;;EAEvD,UAAU,UAAU,WAAW,MAAM,GAAG,QAAQ,iBAAiB,cAAc;;EAE/E,WAAW,OAAO,gBAAgB;;UAE1B;WACC,SAAS;WACT,QAAQ,SAAS,eAAe;WAChC;aACE;aACA,MAAM;;;WAGR,MAAM;;WAEN,QAAQ;;;UAGT;EACR,IAAI,aAAa;EACjB,IAAI;;;iBAGW,WAAW,aAAa;;iBAExB,SAAS,YAAY,MAAM,eAAe;;iBAE1C,eAAe,MAAM,YAAY,OAAO,eAAe,iBAAiB;;iBAExE,eAAe,MAAM,UAAU,sBAAsB;;iBAErD,oBAAoB,GAAG,eAAe,GAAG;;iBAEzC,iBAAiB;;iBAEjB,mBAAmB;;iBAEnB,mBAAmB,iBAAiB;;iBAEpC,kBAAkB,MAAM;iBACxB,qBAAqB,gBAAgB,aAAa;;iBAElD,kBAAkB,aAAa;WACrC;WACA,YAAY,cAAc;;WAE1B,QAAQ;WACR,UAAU;aACR,MAAM;aACN;;;;;;;;;;;;;;;;UAgBH,wBAAwB;;WAEvB;;WAEA,iBAAiB;;WAEjB,cAAc,iBAAiB;;WAE/B;;;;WAIA,oBAAoB,QAAQ;;WAE5B,mBAAmB,QAAQ;;;;;;;;;;;WAW3B,sBAAsB,OAAO,WAAW;;WAExC;;WAEA,UAAU,QAAQ,OAAO,KAAK,yBAAyB;;;;;;;;;UASxD,gBAAgB,kBAAkB,wBAAwB;;WAEzD,UAAU;;;;;iBAKJ,cAAc,YAAY,KAAK;;;;;KAK3C,6BAA6B;;;;;;KAM7B,qBAAqB;;;;;;;;uBAQH,4BAA4B,2BAA2B,wBAAwB;oBAClF;oBACA,iBAAiB;oBACjB,cAAc,iBAAiB;MAC7C;;EAEJ,kBAAkB,QAAQ;;EAE1B,iBAAiB,QAAQ;;EAEzB,oBAAoB,OAAO,WAAW;;WAE7B;;;;WAIA,QAAQ,QAAQ,WAAW,KAAK,yBAAyB,uBAAuB;;;;;;;;;;uBAUpE,oBAAoB,wBAAwB,4BAA4B,oBAAoB,gBAAgB;oBAC/G,UAAU;;;;;;;;;;;UAWpB,MAAM,4BAA4B,yBAAyB,wBAAwB,cAAc,iBAAiB;;WAEjH,IAAI;;WAEJ,gBAAgB;;WAEhB,UAAU;;;;EAInB,kBAAkB,OAAO,gBAAgB;;;;EAIzC,gBAAgB,OAAO,SAAS;;;;EAIhC,SAAS,MAAM,OAAO,KAAK,mBAAmB,QAAQ;;;;EAItD,OAAO,OAAO,QAAQ,KAAK,mBAAmB,QAAQ;;;;;iBAKvC,kBAAkB,OAAO,KAAK,0CAA0C,MAAM,WAAW;;;;;;uBAMnF,UAAU,4BAA4B,yBAAyB,wBAAwB,cAAc,iBAAiB,6BAA6B,MAAM,IAAI,SAAS,OAAO;WACzL,YAAY;WACZ,UAAU;qBACA,gBAAgB;;;;EAInC,YAAY,YAAY,8BAA8B,UAAU,UAAU,iBAAiB;MACvF,MAAM;;YAEA,gBAAgB,UAAU,WAAW,MAAM,IAAI,cAAc;WAC9D,kBAAkB,OAAO,gBAAgB;WACzC,gBAAgB,OAAO,SAAS;WAChC,SAAS,MAAM,OAAO,KAAK,mBAAmB,QAAQ;WACtD,OAAO,OAAO,QAAQ,KAAK,mBAAmB,QAAQ;;;;;cAKnD;KACT,qBAAqB;;;;;;;;;;;;UAYhB;WACC;WACA,aAAa;WACb;;;;;;;;;;;;;UAaD;WACC,SAAS;;;;;;;;UAQV;EACR,IAAI,aAAa;EACjB,oBAAoB,YAAY,QAAQ;;EAExC,oBAAoB,YAAY,QAAQ;;EAExC,uBAAuB,YAAY,OAAO,WAAW;;;UAG7C,mCAAmC;;;;EAI3C,cAAc,aAAa;;;;;;;;;;;;;;;UAenB,sBAAsB;EAC9B,YAAY,KAAK,WAAW;EAC5B,UAAU,qBAAqB,eAAe,iBAAiB;;;cAGnD,kBAAkB;;;;;;;;UAQtB;WACC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as aggregateDescriptorKey } from "./capabilities-
|
|
1
|
+
import { t as aggregateDescriptorKey } from "./capabilities-Cn-Kepnv-B8FOAyUu.mjs";
|
|
2
2
|
//#region ../../../1-framework/1-core/framework-components/dist/components.mjs
|
|
3
3
|
/**
|
|
4
4
|
* Settle every contributed overload against `codecs`.
|
|
@@ -85,4 +85,4 @@ function settleAggregateOverloads(descriptors, codecs) {
|
|
|
85
85
|
//#endregion
|
|
86
86
|
export { settleAggregateOverloads as t };
|
|
87
87
|
|
|
88
|
-
//# sourceMappingURL=components-
|
|
88
|
+
//# sourceMappingURL=components-Bji-LsWb.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-
|
|
1
|
+
{"version":3,"file":"components-Bji-LsWb.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.mjs"],"sourcesContent":["import { n as runtimeError, t as isRuntimeError } from \"./runtime-error-BA9d7XjZ.mjs\";\nimport { a as isNoInputAggregateDescriptor, i as isAnyInputAggregateDescriptor, n as aggregateDescriptorKey, r as isAggregateDescriptor, t as mergeCapabilityMatrices } from \"./capabilities-Cn-Kepnv.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, isRuntimeError, mergeCapabilityMatrices, runtimeError, settleAggregateOverloads };\n\n//# sourceMappingURL=components.mjs.map"],"mappings":";;;;;;;;;;;AAaA,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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as CodecTrait } from "./codec-types-
|
|
2
|
-
import { t as AggregateDescriptor } from "./types-import-spec-
|
|
3
|
-
import "./framework-components-
|
|
1
|
+
import { g as CodecTrait } from "./codec-types-BNVa23xn-DLZmMFiC.mjs";
|
|
2
|
+
import { t as AggregateDescriptor } from "./types-import-spec-BlKcW9tz-BxhTG7Oc.mjs";
|
|
3
|
+
import "./framework-components-D_QZgxzO-D4b6r8ne.mjs";
|
|
4
4
|
//#region ../../../1-framework/1-core/framework-components/dist/components.d.mts
|
|
5
5
|
//#region src/shared/aggregate-overloads.d.ts
|
|
6
6
|
/** What settling needs to know about a codec: its id, and the traits an overload can claim it by. */
|
|
@@ -47,4 +47,4 @@ interface SettledAggregateOverloads<TDescriptor extends AggregateDescriptor> {
|
|
|
47
47
|
declare function settleAggregateOverloads<TDescriptor extends AggregateDescriptor>(descriptors: readonly TDescriptor[], codecs: Iterable<AggregateCodecTraits>): SettledAggregateOverloads<TDescriptor>;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { SettledAggregateOverloads as a, SettledAggregateOperation as i, AggregateOverloadAmbiguity as n, settleAggregateOverloads as o, AggregateOverloadDuplicate as r, AggregateCodecTraits as t };
|
|
50
|
-
//# sourceMappingURL=components-
|
|
50
|
+
//# sourceMappingURL=components-EV0zsCc7.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-
|
|
1
|
+
{"version":3,"file":"components-EV0zsCc7.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;UAOU;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"}
|
package/dist/components.d.mts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { $ as
|
|
1
|
+
import { A as dataTypeParams, C as DataTypeSpelling, D as createDataTypeLookup, E as assembleDataTypes, F as readContractValue, I as requireValueOf, L as requiredParamKeys, M as emptyCodecLookup, N as enumRefusalOf, O as dataType, P as objectSchemaKeys, R as requiredSchemaKeys, S as DataTypeSpec, T as ListCast, _ as DataType, a as CodecCallContext, b as DataTypeParams, c as CodecDescriptorTemplate, d as CodecInstanceContext, f as CodecLookup, g as CodecTrait, h as CodecRegistry, i as Codec, j as dataTypeValuesEqual, k as dataTypeId, l as CodecDescriptorTemplateImpl, m as CodecRef, n as AnyCodecDescriptorTemplate, o as CodecDescriptor, p as CodecLookupWithDescriptors, r as Cast, s as CodecDescriptorImpl, t as AnyCodecDescriptor, u as CodecImpl, v as DataTypeId, w as DataTypeValue, x as DataTypeReader, y as DataTypeLookup, z as schemaKeysAllowing } from "./codec-types-BNVa23xn-DLZmMFiC.mjs";
|
|
2
|
+
import { $ as instantiateAuthoringTypeConstructor, A as AuthoringWarning, B as PslExtensionBlockParsedAttribute, C as AuthoringPslBlockDescriptorNamespace, D as AuthoringTypeConstructorDescriptor, E as AuthoringTemplateValue, F as ParsedPslExtensionBlock, G as assertNoCrossRegistryCollisions, H as PslPosition, I as PslDiagnosticCode, J as collectScalarTypeConstructors, K as assertResolvableTypeConstructorTemplates, L as PslExtensionBlock, M as ContributedPslDiagnosticCode, N as DataTypeAuthoringEntry, O as AuthoringTypeConstructorEntityRef, P as DataTypeWrittenForm, Q as instantiateAuthoringFieldPreset, R as PslExtensionBlockAttribute, S as AuthoringPslBlockDescriptor, T as AuthoringStorageTypeTemplate, U as PslSpan, V as PslExtensionBlockPrintEntry, W as ScalarTypeConstructorOutput, X as getAuthoringTypeConstructor, Y as flushAuthoringWarnings, Z as instantiateAuthoringEntityType, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, at as isAuthoringTypeConstructorDescriptor, b as AuthoringModelAttributeLoweringOutput, c as AuthoringEntityTypeDescriptor, ct as resolveEnumCodecId, d as AuthoringEntityTypeTemplateOutput, et as isAuthoringArgRef, f as AuthoringFieldNamespace, g as AuthoringModelAttributeDescriptor, h as AuthoringModelAttributeContext, i as AuthoringColumnDefaultTemplate, it as isAuthoringPslBlockDescriptor, j as AuthoringWarningSink, k as AuthoringTypeNamespace, l as AuthoringEntityTypeFactoryOutput, lt as validateAuthoringHelperArguments, m as AuthoringFieldPresetOutput, n as AuthoringArgumentDescriptor, nt as isAuthoringFieldPresetDescriptor, o as AuthoringDiagnosticSink, ot as mergeAuthoringNamespaces, p as AuthoringFieldPresetDescriptor, q as classifyEnumMemberType, r as AuthoringAttributeSpecContributions, rt as isAuthoringModelAttributeDescriptor, s as AuthoringEntityContext, st as resolveAuthoringTemplateValue, t as AuthoringArgRef, tt as isAuthoringEntityTypeDescriptor, u as AuthoringEntityTypeNamespace, ut as validateAuthoringTypeParams, v as AuthoringModelAttributeEntityOutput, w as AuthoringSelectRef, x as AuthoringOption, y as AuthoringModelAttributeIndexOutput, z as PslExtensionBlockAttributeArg } from "./framework-authoring-BYuHgXo6-BtKlRo4a.mjs";
|
|
3
3
|
import { a as LoweredDefaultResult, c as SourceDiagnostic, i as DefaultFunctionLoweringContext, l as SourceSpan, n as ControlMutationDefaultRegistry, o as LoweredDefaultValue, r as ControlMutationDefaults, s as MutationDefaultGeneratorDescriptor, t as ControlMutationDefaultEntry, u as TypedDefaultFunctionCall } from "./mutation-default-types-DCgdIlXt-DSAdarYA.mjs";
|
|
4
|
-
import { A as
|
|
5
|
-
import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-
|
|
6
|
-
import { A as
|
|
7
|
-
import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, l as TypesImportSpec, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-
|
|
4
|
+
import { A as readWrittenValue, C as describeTaggedLiteralFailure, D as knownTags, E as exactRewrite, F as temporalCodecPreset, I as temporalPhaseTemplate, L as timestampNowControlDescriptor, M as resolveTemplateTagEscapes, N as tagForm, O as printTaggedLiteral, P as temporalAuthoringPresets, R as tsTaggedTemplateSource, S as describeRefusedValueType, T as entryForTag, _ as canonicalizeTaggedLiteralBody, a as RefusalDescription, b as describeExpected, c as TEMPORAL_ON_CREATE_ARG, d as TaggedLiteralCanonicalization, f as WrittenForm, g as admittedTags, h as admittedForms, i as ReadRefusal, j as resolvePslBacktickEscapes, k as printedTaggedLiteralReadsBack, l as TEMPORAL_ON_UPDATE_ARG, m as WrittenValue, n as DataTypeSupport, o as RefusalGuidance, p as WrittenScalar, r as PresetStorageTemplate, s as TAGGED_LITERAL_MAX_BYTES, t as CastRefusal, u as TIMESTAMP_NOW_GENERATOR_ID, v as castTypedValue, w as entryForPlain, x as describeRefusal, y as describeAdmittedForms } from "./written-value-Dio_n0HT-CgpcE2lf.mjs";
|
|
5
|
+
import { _ as findAuthoringTypeConstructorCall, a as EncodedEnumMember, c as EnumBlockSite, d as authoringTypeConstructorArguments, f as authoringTypeConstructors, g as fieldPresetSpellings, h as enumMemberProblemDiagnostic, i as DuplicateStoredValue, l as EnumMemberProblem, m as encodeEnumMembers, n as AuthoringTypeConstructorOutput, o as EnumBlockDiagnostic, p as duplicateStoredMembers, r as DecodedEnum, s as EnumBlockMember, t as AuthoringTypeConstructorCall, u as StoredEnumMember, v as getAuthoringFieldPreset, y as readEnumBlockMembers } from "./authoring-joNigE7w.mjs";
|
|
6
|
+
import { A as resolveCodecDescriptorOrThrow, C as readJsonFloat, D as readJsonString, E as readJsonMatching, O as refuseJsonValue, S as readJsonBoolean, T as readJsonIntegerText, _ as column, a as ColumnHelperForStrict, b as isNonFiniteText, c as DATA_TYPE_ID_PATTERN, d as IntegerRange, f as SAFE_INTEGER_BIGINT_RANGE, g as codecForRef, h as ScalarFieldDeclarationBuilder, i as ColumnHelperFor, j as validateCodecTypeParams, k as renderTsLiteral, l as INT32_RANGE, m as ScalarFieldDeclaration, n as CONTRACT_CODEC_DESCRIPTOR_MISSING, o as ColumnSpec, p as SAFE_INTEGER_RANGE, r as CodecDescriptorRef, s as ColumnTypeDescriptor, t as BigIntRange, u as INT64_RANGE, v as floatToJson, w as readJsonInteger, x as materializeCodec, y as isIntegerIn } from "./codec-BxNHu928.mjs";
|
|
7
|
+
import { a as AnyInputAggregateDescriptor, c as SelfAggregateOutput, d as aggregateDescriptorKey, f as isAggregateDescriptor, i as AggregateResultNullability, l as TypesImportSpec, m as isNoInputAggregateDescriptor, n as AggregateInputMatch, o as NamedAggregateOutput, p as isAnyInputAggregateDescriptor, r as AggregateOutputCodec, s as NoInputAggregateDescriptor, t as AggregateDescriptor, u as ValueInputAggregateDescriptor } from "./types-import-spec-BlKcW9tz-BxhTG7Oc.mjs";
|
|
8
8
|
import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
9
|
-
import { S as checkContractComponentRequirements, _ as PackRefBase, a as ComponentMetadata, b as TargetInstance, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as TargetBoundComponentDescriptor, x as TargetPackRef, y as TargetDescriptor } from "./framework-components-
|
|
9
|
+
import { S as checkContractComponentRequirements, _ as PackRefBase, a as ComponentMetadata, b as TargetInstance, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as FamilyPackRef, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as TargetBoundComponentDescriptor, x as TargetPackRef, y as TargetDescriptor } from "./framework-components-D_QZgxzO-D4b6r8ne.mjs";
|
|
10
10
|
import { n as isRuntimeError, r as runtimeError, t as RuntimeErrorEnvelope } from "./runtime-error-CO4MA3Px-YW5SCUcH.mjs";
|
|
11
|
-
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-
|
|
12
|
-
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-
|
|
13
|
-
import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-
|
|
14
|
-
import { t as ImportRequirement } from "./index-
|
|
15
|
-
import { $ as MigrationRunner, $t as VerificationStatus, A as FailedTypeChange, An as issueOutcome, At as SchemaDiff, B as MigrationOperationClass, Bt as SchemaVerifyOptions, C as DiffSubjectGranularity, Cn as hasOperationPreview, Ct as ResolvedFieldBackfillStatement, D as FailedCast, Dn as hasSchemaView, Dt as ResolvedModelRenameStatement, E as ExpectationFailureReason, En as hasSchemaSubjectClassifier, Et as ResolvedMigrationStatement, F as MigratableTargetDescriptor, Fn as modelStatementText, Ft as SchemaSubjectClassifierCapable, G as MigrationPlanOperation, Gt as SpaceSignature, H as MigrationOperationSubject, Ht as SchemaViewCapable, I as MigrationAccessChange, In as orderIssuesByDependencies, It as SchemaTreeNode, J as MigrationPlanner, Jt as TargetMigrationsCapability, K as MigrationPlanSubjects, Kt as SpaceSigned, L as MigrationDataLoss, Ln as planOriginOf, Lt as SchemaTreeNodeOptions, M as FieldCoordinateJson, Mn as migrationSubjectJson, Mt as SchemaEntityCoordinate, N as IntrospectSchemaResult, Nn as migrationSubjectKey, Nt as SchemaNodeRef, O as FailedCheck, On as isRenameStatement, Ot as ResolvedRenameStatement, P as MarkerHashes, Pn as modelDisplayName, Pt as SchemaOwnership, Q as MigrationPlannerSuccessResult, Qt as VERIFY_CODE_TARGET_MISMATCH, R as MigrationDataLossKind, Rn as sameMarkerHashes, Rt as SchemaTreeVisitor, S as DataTypeInvariantInput, Sn as hasMigrations, St as PslSourceSettings, T as EmitContractResult, Tn as hasPslContractInfer, Tt as ResolvedFieldRenameStatement, U as MigrationPackage, Ut as SchemaViewNodeKind, V as MigrationOperationPolicy, Vt as SchemaVerifyResult, W as MigrationPlan, Wt as SpaceMarkerConflict, X as MigrationPlannerFailureResult, Xt as VERIFY_CODE_MARKER_MISSING, Y as MigrationPlannerConflict, Yt as VERIFY_CODE_HASH_MISMATCH, Z as MigrationPlannerResult, Zt as VERIFY_CODE_SCHEMA_FAILURE, _ as ControlStack, _n as extractCodecTypeImports, _t as OperationPreviewStatement, a as ContractSerializer, an as assembleAuthoringDataTypes, at as MigrationRunnerSuccessValue, b as CoreSchemaView, bn as extractQueryOperationTypeImports, bt as PslContractDocument, c as ControlAdapterDescriptor, cn as buildExtensionLoadOrder, ct as MigrationSubject, d as ControlDriverDescriptor, dn as createControlStack, dt as ModelCoordinate, en as VerifierIssueCategory, et as MigrationRunnerExecutionChecks, f as ControlDriverInstance, fn as describeMigrationStatement, ft as ModelCoordinateJson, g as ControlFamilyInstance, gn as extractCodecLookup, gt as OperationPreviewCapable, h as ControlFamilyDescriptor, hn as enforceDataTypeInvariants, ht as OperationPreview, i as CONTRACT_SNAPSHOTS_DIRNAME, in as assembleAuthoringContributions, it as MigrationRunnerResult, j as FieldCoordinate, jn as migrationStatementJson, jt as SchemaDiffIssue, k as FailedConversion, kn as isStorageHashHex, kt as RowsWithoutValue, l as ControlAdapterInstance, ln as contractSnapshotJsonSpecifier, lt as MigrationSubjectJson, m as ControlExtensionInstance, mn as dispositionForCategory, mt as OperationContext, n as AppliedMigrationStatement, nn as VerifyDatabaseResult, nt as MigrationRunnerPerSpaceOptions, o as ContractSpace, on as assembleControlMutationDefaults, ot as MigrationScaffoldContext, p as ControlExtensionDescriptor, pn as diffSchemas, pt as OpFactoryCall, q as MigrationPlanWithAuthoringSurface, qt as SpaceToSign, r as AssembledAuthoringContributions, rn as VerifyDatabaseSchemaResult, rt as MigrationRunnerPerSpaceSuccessValue, s as ContractSpaceHeadRef, sn as assertUniqueCodecOwner, st as MigrationStatementJson, t as APP_SPACE_ID, tn as VerifierOutcome, tt as MigrationRunnerFailure, u as ControlDriverConnectOptions, un as contractSnapshotTypesSpecifier, ut as MigrationTemporaryValue, v as ControlTargetDescriptor, vn as extractComponentIds, vt as PlanOrigin, w as DiffableNode, wn as hasPslContractBuild, wt as ResolvedFieldConvertStatement, x as CreateControlStackInput, xn as fieldStatementText, xt as PslContractInferCapable, y as ControlTargetInstance, yn as extractParameterizedOutputTypeImports, yt as PslContractBuildCapable, z as MigrationMetadata, zn as storageHashHex, zt as SchemaVerifier } from "./control-
|
|
16
|
-
import "./emission-
|
|
17
|
-
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-
|
|
11
|
+
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-EV0zsCc7.mjs";
|
|
12
|
+
import { a as resolveRequirementSpecifiers, i as keepInternalSpecifiers, n as GenerateContractTypesOptions, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-4eOAB7Fb-B-L5H9gM.mjs";
|
|
13
|
+
import { A as makePslNamespaceEntries, C as PslTypesBlock, D as flatPslCompositeTypes, E as UNSPECIFIED_PSL_NAMESPACE_ID, O as flatPslModels, S as PslTypeConstructorCall, T as UNBOUND_PSL_NAMESPACE_NAME, _ as PslModelAttribute, a as PslAttributePositionalArgument, b as PslNamespaceEntry, c as PslDefaultFunctionValue, d as PslDiagnostic, f as PslDocumentAst, g as PslModel, h as PslIndexConstraint, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, k as makePslNamespace, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultValue, v as PslNamedTypeDeclaration, w as PslUniqueConstraint, x as PslReferentialAction, y as PslNamespace } from "./psl-ast-3tk7lIrz-u_05BsIo.mjs";
|
|
14
|
+
import { t as ImportRequirement } from "./index-MU-ksXsh.mjs";
|
|
15
|
+
import { $ as MigrationRunner, $t as VerificationStatus, A as FailedTypeChange, An as issueOutcome, At as SchemaDiff, B as MigrationOperationClass, Bt as SchemaVerifyOptions, C as DiffSubjectGranularity, Cn as hasOperationPreview, Ct as ResolvedFieldBackfillStatement, D as FailedCast, Dn as hasSchemaView, Dt as ResolvedModelRenameStatement, E as ExpectationFailureReason, En as hasSchemaSubjectClassifier, Et as ResolvedMigrationStatement, F as MigratableTargetDescriptor, Fn as modelStatementText, Ft as SchemaSubjectClassifierCapable, G as MigrationPlanOperation, Gt as SpaceSignature, H as MigrationOperationSubject, Ht as SchemaViewCapable, I as MigrationAccessChange, In as orderIssuesByDependencies, It as SchemaTreeNode, J as MigrationPlanner, Jt as TargetMigrationsCapability, K as MigrationPlanSubjects, Kt as SpaceSigned, L as MigrationDataLoss, Ln as planOriginOf, Lt as SchemaTreeNodeOptions, M as FieldCoordinateJson, Mn as migrationSubjectJson, Mt as SchemaEntityCoordinate, N as IntrospectSchemaResult, Nn as migrationSubjectKey, Nt as SchemaNodeRef, O as FailedCheck, On as isRenameStatement, Ot as ResolvedRenameStatement, P as MarkerHashes, Pn as modelDisplayName, Pt as SchemaOwnership, Q as MigrationPlannerSuccessResult, Qt as VERIFY_CODE_TARGET_MISMATCH, R as MigrationDataLossKind, Rn as sameMarkerHashes, Rt as SchemaTreeVisitor, S as DataTypeInvariantInput, Sn as hasMigrations, St as PslSourceSettings, T as EmitContractResult, Tn as hasPslContractInfer, Tt as ResolvedFieldRenameStatement, U as MigrationPackage, Ut as SchemaViewNodeKind, V as MigrationOperationPolicy, Vt as SchemaVerifyResult, W as MigrationPlan, Wt as SpaceMarkerConflict, X as MigrationPlannerFailureResult, Xt as VERIFY_CODE_MARKER_MISSING, Y as MigrationPlannerConflict, Yt as VERIFY_CODE_HASH_MISMATCH, Z as MigrationPlannerResult, Zt as VERIFY_CODE_SCHEMA_FAILURE, _ as ControlStack, _n as extractCodecTypeImports, _t as OperationPreviewStatement, a as ContractSerializer, an as assembleAuthoringDataTypes, at as MigrationRunnerSuccessValue, b as CoreSchemaView, bn as extractQueryOperationTypeImports, bt as PslContractDocument, c as ControlAdapterDescriptor, cn as buildExtensionLoadOrder, ct as MigrationSubject, d as ControlDriverDescriptor, dn as createControlStack, dt as ModelCoordinate, en as VerifierIssueCategory, et as MigrationRunnerExecutionChecks, f as ControlDriverInstance, fn as describeMigrationStatement, ft as ModelCoordinateJson, g as ControlFamilyInstance, gn as extractCodecLookup, gt as OperationPreviewCapable, h as ControlFamilyDescriptor, hn as enforceDataTypeInvariants, ht as OperationPreview, i as CONTRACT_SNAPSHOTS_DIRNAME, in as assembleAuthoringContributions, it as MigrationRunnerResult, j as FieldCoordinate, jn as migrationStatementJson, jt as SchemaDiffIssue, k as FailedConversion, kn as isStorageHashHex, kt as RowsWithoutValue, l as ControlAdapterInstance, ln as contractSnapshotJsonSpecifier, lt as MigrationSubjectJson, m as ControlExtensionInstance, mn as dispositionForCategory, mt as OperationContext, n as AppliedMigrationStatement, nn as VerifyDatabaseResult, nt as MigrationRunnerPerSpaceOptions, o as ContractSpace, on as assembleControlMutationDefaults, ot as MigrationScaffoldContext, p as ControlExtensionDescriptor, pn as diffSchemas, pt as OpFactoryCall, q as MigrationPlanWithAuthoringSurface, qt as SpaceToSign, r as AssembledAuthoringContributions, rn as VerifyDatabaseSchemaResult, rt as MigrationRunnerPerSpaceSuccessValue, s as ContractSpaceHeadRef, sn as assertUniqueCodecOwner, st as MigrationStatementJson, t as APP_SPACE_ID, tn as VerifierOutcome, tt as MigrationRunnerFailure, u as ControlDriverConnectOptions, un as contractSnapshotTypesSpecifier, ut as MigrationTemporaryValue, v as ControlTargetDescriptor, vn as extractComponentIds, vt as PlanOrigin, w as DiffableNode, wn as hasPslContractBuild, wt as ResolvedFieldConvertStatement, x as CreateControlStackInput, xn as fieldStatementText, xt as PslContractInferCapable, y as ControlTargetInstance, yn as extractParameterizedOutputTypeImports, yt as PslContractBuildCapable, z as MigrationMetadata, zn as storageHashHex, zt as SchemaVerifier } from "./control-Bp6XS6M2.mjs";
|
|
16
|
+
import "./emission-Cr-H5ooL.mjs";
|
|
17
|
+
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-Db6roA4O.mjs";
|
|
18
18
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
19
19
|
import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b as freezeNode, c as NamespaceBase, d as Storage, f as StorageType, g as coordinateKey, h as buildSingleNamespaceView, i as EntityKindDescriptor, l as NamespacedEntities, m as buildNamespacedEntities, n as DefaultNamespaceEntries, o as IRNodeBase, p as UNBOUND_NAMESPACE_ID, r as EntityCoordinate, s as Namespace, t as AnyEntityKindDescriptor, u as SingleNamespaceView, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-LV4tXsw3.mjs";
|
|
20
|
-
import "./psl-ast-
|
|
21
|
-
import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-
|
|
20
|
+
import "./psl-ast-DIzWPqtl.mjs";
|
|
21
|
+
import { $ as RuntimeStatementStats, A as GeneratorStability, B as QueryPlan, C as ClientActivityRegistry, Ct as defineAnnotation, D as DefineAnnotationOptions, Dt as startClientActivity, E as CrossFamilyMiddleware, Et as runtimeAborted, F as MutationDefaultsOp, G as RuntimeAbortedPhase, H as RelationKeys, I as MutationDefaultsOptions, J as RuntimeExecuteOptions, K as RuntimeCore, L as OperationKind, M as MetaBuilder, N as MutationDefaultGeneratorContributor, O as ExecuteInterceptResult, Ot as startTransactionActivity, P as MutationDefaults, Q as RuntimeMutationDefaultGenerator, R as ParamRefMutator, S as ClientActivityOptions, St as createStateStore, T as ClientActivityRun, Tt as raceAgainstAbort, U as RelationNamesOf, V as RUNTIME_ABORTED, W as ResultType, X as RuntimeLog, Y as RuntimeExecutor, Z as RuntimeMiddleware, _ as AsyncIterableResult, _t as checkAborted, a as ActivityContext, at as StatementActivityRun, b as ClientActivityEnded, bt as createContextBeneath, c as ActivityFinalizedResult, ct as TransactionActivity, d as ActivityParent, dt as TransactionEnded, et as Scalars, f as ActivityStateStore, ft as TransactionSettlement, g as AppliedMutationDefault, gt as assertMutationDefaultGeneratorsAvailable, h as AnnotationValue, ht as assertAnnotationsApplicable, i as ActivityChildSlot, it as StatementActivity, j as LaneMetaBuilder, k as ExecutionPlan, kt as streamStatement, l as ActivityInterceptResult, lt as TransactionActivityOptions, m as AnnotationSource, mt as applyMutationDefaults, n as ActivityBase, nt as ShapeSpec, o as ActivityContextFields, ot as StatementEnded, p as AnnotationHandle, pt as ValidAnnotations, q as RuntimeCoreOptions, r as ActivityChild, rt as StartActivity, s as ActivityEndedResult, st as StatementOptions, t as Activity, tt as Shape, u as ActivityObserver, ut as TransactionActivityRun, v as ClientActivity, vt as checkMiddlewareCompatibility, w as ClientActivityResult, wt as executeStatement, x as ClientActivityKind, xt as createMetaBuilder, y as ClientActivityEnd, yt as collectMutationDefaultGenerators, z as QueryInterceptResult } from "./runtime-DHpxH1kS.mjs";
|
|
22
22
|
import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
|
|
23
|
-
export { APP_SPACE_ID, type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeId, type DataTypeInvariantInput, type DataTypeLookup, type DataTypeSpec, type DataTypeSupport, type DataTypeWrittenForm, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorStability, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntrospectSchemaResult, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedRenameStatement, type ResultType, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type ToCanonicalForm, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypedDefaultFunctionCall, type TypedValue, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyMutationDefaults, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertAnnotationsApplicable, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, authoringEntryType, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalFormOf, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, createStateStore, dataType, dataTypeId, decodeJsonBoolean, decodeJsonFloat, decodeJsonInteger, decodeJsonIntegerText, decodeJsonMatching, decodeJsonString, defineAnnotation, describeAdmittedForms, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, encodeJsonFloat, enforceDataTypeInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, exactRewrite, executeStatement, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, isTagEntryKey, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, objectSchemaKeys, orderIssuesByDependencies, planOriginOf, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readEnumBlockMembers, readWrittenValue, refuseJsonValue, renderTsLiteral, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runtimeAborted, runtimeError, sameMarkerHashes, schemaKeysAllowing, settleAggregateOverloads, startClientActivity, startTransactionActivity, storageHashHex, streamStatement, tagEntryKey, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams };
|
|
23
|
+
export { APP_SPACE_ID, type Activity, type ActivityBase, type ActivityChild, type ActivityChildSlot, type ActivityContext, type ActivityContextFields, type ActivityEndedResult, type ActivityFinalizedResult, type ActivityInterceptResult, type ActivityObserver, type ActivityParent, type ActivityStateStore, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationSource, type AnnotationValue, type AnyCodecDescriptor, type AnyCodecDescriptorTemplate, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AppliedMigrationStatement, type AppliedMutationDefault, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringAttributeSpecContributions, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeEntityOutput, type AuthoringModelAttributeIndexOutput, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorCall, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeConstructorOutput, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, type BigIntRange, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Cast, type CastRefusal, type ClientActivity, type ClientActivityEnd, type ClientActivityEnded, type ClientActivityKind, type ClientActivityOptions, type ClientActivityRegistry, type ClientActivityResult, type ClientActivityRun, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, type CodecDescriptorRef, type CodecDescriptorTemplate, CodecDescriptorTemplateImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecLookupWithDescriptors, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverConnectOptions, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, DATA_TYPE_ID_PATTERN, type DataType, type DataTypeAuthoringEntry, type DataTypeId, type DataTypeInvariantInput, type DataTypeLookup, type DataTypeParams, type DataTypeReader, type DataTypeSpec, type DataTypeSpelling, type DataTypeSupport, type DataTypeValue, type DataTypeWrittenForm, type DecodedEnum, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type DuplicateStoredValue, type EmissionSpi, type EmitContractResult, type EncodedEnumMember, type EntityCoordinate, type EntityKindDescriptor, type EnumBlockDiagnostic, type EnumBlockMember, type EnumBlockSite, type EnumMemberProblem, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FailedCast, type FailedCheck, type FailedConversion, type FailedTypeChange, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type FieldCoordinate, type FieldCoordinateJson, type GenerateContractTypesOptions, type GeneratorStability, INT32_RANGE, INT64_RANGE, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntegerRange, type IntrospectSchemaResult, type LaneMetaBuilder, type ListCast, type LoweredDefaultResult, type LoweredDefaultValue, type MarkerHashes, type MetaBuilder, type MigratableTargetDescriptor, type MigrationAccessChange, type MigrationDataLoss, type MigrationDataLossKind, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationOperationSubject, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanSubjects, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MigrationStatementJson, type MigrationSubject, type MigrationSubjectJson, type MigrationTemporaryValue, type ModelCoordinate, type ModelCoordinateJson, type MutationDefaultGeneratorContributor, type MutationDefaultGeneratorDescriptor, type MutationDefaults, type MutationDefaultsOp, type MutationDefaultsOptions, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, type ParsedPslExtensionBlock, type PlanOrigin, type PresetStorageTemplate, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, PslCompositeType, type PslContractBuildCapable, type PslContractDocument, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParsedAttribute, type PslExtensionBlockPrintEntry, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSourceSettings, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ReadRefusal, type RefusalDescription, type RefusalGuidance, RelationKeys, type RelationNamesOf, type ResolvedFieldBackfillStatement, type ResolvedFieldConvertStatement, type ResolvedFieldRenameStatement, type ResolvedMigrationStatement, type ResolvedModelRenameStatement, type ResolvedRenameStatement, type ResultType, type RowsWithoutValue, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMutationDefaultGenerator, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, SAFE_INTEGER_BIGINT_RANGE, SAFE_INTEGER_RANGE, type ScalarFieldDeclaration, type ScalarFieldDeclarationBuilder, type ScalarTypeConstructorOutput, type Scalars, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type Shape, type ShapeSpec, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type SpaceMarkerConflict, type SpaceSignature, type SpaceSigned, type SpaceToSign, type StartActivity, type StatementActivity, type StatementActivityRun, type StatementEnded, type StatementOptions, type Storage, type StorageType, type StoredEnumMember, TAGGED_LITERAL_MAX_BYTES, TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, type TaggedLiteralCanonicalization, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TransactionActivity, type TransactionActivityOptions, type TransactionActivityRun, type TransactionEnded, type TransactionSettlement, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, type WrittenForm, type WrittenScalar, type WrittenValue, admittedForms, admittedTags, aggregateDescriptorKey, applyMutationDefaults, assembleAuthoringContributions, assembleAuthoringDataTypes, assembleControlMutationDefaults, assembleDataTypes, assertAnnotationsApplicable, assertMutationDefaultGeneratorsAvailable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, authoringTypeConstructorArguments, authoringTypeConstructors, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, canonicalizeTaggedLiteralBody, castTypedValue, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, codecForRef, collectMutationDefaultGenerators, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createContextBeneath, createControlStack, createDataTypeLookup, createExecutionStack, createMetaBuilder, createStateStore, dataType, dataTypeId, dataTypeParams, dataTypeValuesEqual, defineAnnotation, describeAdmittedForms, describeExpected, describeMigrationStatement, describeRefusal, describeRefusedValueType, describeTaggedLiteralFailure, diffSchemas, dispositionForCategory, domainElementCoordinates, duplicateStoredMembers, elementCoordinates, emptyCodecLookup, encodeEnumMembers, enforceDataTypeInvariants, entityAt, entryForPlain, entryForTag, enumMemberProblemDiagnostic, enumRefusalOf, exactRewrite, executeStatement, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractParameterizedOutputTypeImports, extractQueryOperationTypeImports, fieldPresetSpellings, fieldStatementText, findAuthoringTypeConstructorCall, flatPslCompositeTypes, flatPslModels, floatToJson, flushAuthoringWarnings, freezeNode, getAuthoringFieldPreset, getAuthoringTypeConstructor, hasMigrations, hasOperationPreview, hasPslContractBuild, hasPslContractInfer, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isIntegerIn, isNoInputAggregateDescriptor, isNonFiniteText, isPlainRecord, isRenameStatement, isRuntimeError, isStorageHashHex, issueOutcome, keepInternalSpecifiers, knownTags, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, migrationStatementJson, migrationSubjectJson, migrationSubjectKey, modelDisplayName, modelStatementText, namespacePslExtensionBlocks, objectSchemaKeys, orderIssuesByDependencies, planOriginOf, printTaggedLiteral, printedTaggedLiteralReadsBack, promoteBuiltinKinds, raceAgainstAbort, readContractValue, readEnumBlockMembers, readJsonBoolean, readJsonFloat, readJsonInteger, readJsonIntegerText, readJsonMatching, readJsonString, readWrittenValue, refuseJsonValue, renderTsLiteral, requireValueOf, requiredParamKeys, requiredSchemaKeys, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolvePslBacktickEscapes, resolveRequirementSpecifiers, resolveTemplateTagEscapes, runtimeAborted, runtimeError, sameMarkerHashes, schemaKeysAllowing, settleAggregateOverloads, startClientActivity, startTransactionActivity, storageHashHex, streamStatement, tagForm, temporalAuthoringPresets, temporalCodecPreset, temporalPhaseTemplate, timestampNowControlDescriptor, tsTaggedTemplateSource, validateAuthoringHelperArguments, validateAuthoringTypeParams, validateCodecTypeParams };
|