@prisma/orm-framework 8.0.0-rc.1-dev.46 → 8.0.0-rc.10-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -5
- package/dist/{apply-specifier-default-control-policy-CAxiXxKg.d.mts → apply-specifier-default-control-policy-C2Njpc_G.d.mts} +2 -2
- package/dist/apply-specifier-default-control-policy-C2Njpc_G.d.mts.map +1 -0
- package/dist/{assertions-Cz-GWH8P.mjs → assertions-Dw1lZz_Q.mjs} +2 -2
- package/dist/{assertions-Cz-GWH8P.mjs.map → assertions-Dw1lZz_Q.mjs.map} +1 -1
- package/dist/authoring-D2ngo2MB.d.mts +1 -0
- package/dist/{canonicalization-DFpB09nP-4OdB2nsy.d.mts → canonicalization-BAvRuZ2i-IwsqxGme.d.mts} +3 -3
- package/dist/{canonicalization-DFpB09nP-4OdB2nsy.d.mts.map → canonicalization-BAvRuZ2i-IwsqxGme.d.mts.map} +1 -1
- package/dist/{capabilities-BCEONw9w-C-lo3rF8.mjs → capabilities-BzwH_XMZ-CkgWaxF9.mjs} +3 -3
- package/dist/{capabilities-BCEONw9w-C-lo3rF8.mjs.map → capabilities-BzwH_XMZ-CkgWaxF9.mjs.map} +1 -1
- package/dist/{codec-Cd0QcxAx.mjs → codec-DWYH-Ra4.mjs} +3 -3
- package/dist/{codec-Cd0QcxAx.mjs.map → codec-DWYH-Ra4.mjs.map} +1 -1
- package/dist/{codec-Ce07W3Mz.d.mts → codec-DxAIshoO.d.mts} +6 -9
- package/dist/{codec-Ce07W3Mz.d.mts.map → codec-DxAIshoO.d.mts.map} +1 -1
- package/dist/{codec-types-D6VRj2RE-BLElXc-O.d.mts → codec-types-nVMtogur-CYBdUQUH.d.mts} +4 -4
- package/dist/{codec-types-D6VRj2RE-BLElXc-O.d.mts.map → codec-types-nVMtogur-CYBdUQUH.d.mts.map} +1 -1
- package/dist/{codec-types-DcNvNeY1-BO6kUiH0.mjs → codec-types-smcGzGq6-BohNffPc.mjs} +3 -3
- package/dist/{codec-types-DcNvNeY1-BO6kUiH0.mjs.map → codec-types-smcGzGq6-BohNffPc.mjs.map} +1 -1
- package/dist/{components-CGA_WwEG.d.mts → components-CQrZAxZu.d.mts} +4 -4
- package/dist/{components-CGA_WwEG.d.mts.map → components-CQrZAxZu.d.mts.map} +1 -1
- package/dist/{components-dZRz3T5y.mjs → components-CnV-6irM.mjs} +2 -2
- package/dist/{components-dZRz3T5y.mjs.map → components-CnV-6irM.mjs.map} +1 -1
- package/dist/components.d.mts +16 -16
- package/dist/components.mjs +10 -10
- package/dist/components__authoring.d.mts +3 -3
- package/dist/components__authoring.mjs +1 -1
- package/dist/components__codec.d.mts +2 -2
- package/dist/components__codec.mjs +3 -3
- package/dist/components__components.d.mts +3 -3
- package/dist/components__components.mjs +2 -2
- package/dist/components__control.d.mts +2 -2
- package/dist/components__control.mjs +1 -1
- package/dist/components__emission.d.mts +3 -3
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__ir.d.mts +1 -1
- package/dist/components__ir.mjs +1 -1
- package/dist/components__psl-ast.d.mts +4 -4
- package/dist/components__runtime.d.mts +2 -2
- package/dist/components__runtime.mjs +2 -2
- package/dist/{config-types-CW4PDwMC.d.mts → config-types-CeduUYkY.d.mts} +12 -25
- package/dist/{config-types-CW4PDwMC.d.mts.map → config-types-CeduUYkY.d.mts.map} +1 -1
- package/dist/config-types-D_UCRNbm.mjs +38 -0
- package/dist/config-types-D_UCRNbm.mjs.map +1 -0
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +2 -2
- package/dist/config__config-types.d.mts +2 -2
- package/dist/config__config-types.mjs +2 -2
- package/dist/contract-authoring.d.mts +39 -4
- package/dist/contract-authoring.d.mts.map +1 -1
- package/dist/contract-authoring.mjs +66 -3
- package/dist/contract-authoring.mjs.map +1 -1
- package/dist/{contract-types-CkdMH7F7-9EHXSwbH.d.mts → contract-types-Bje5yT4f-0D1Z41Lq.d.mts} +7 -7
- package/dist/{contract-types-CkdMH7F7-9EHXSwbH.d.mts.map → contract-types-Bje5yT4f-0D1Z41Lq.d.mts.map} +1 -1
- package/dist/contract.d.mts +11 -11
- package/dist/contract.mjs +3 -3
- package/dist/contract__apply-specifier-default-control-policy.d.mts +1 -1
- package/dist/contract__default-namespace.mjs +1 -1
- package/dist/contract__enum-accessor.d.mts +1 -1
- package/dist/contract__hashing-utils.d.mts +1 -1
- package/dist/contract__hashing.d.mts +2 -2
- package/dist/contract__resolve-domain-model.d.mts +1 -1
- package/dist/contract__types.d.mts +5 -5
- package/dist/contract__types.mjs +2 -2
- package/dist/contract__validate-domain.d.mts +1 -1
- package/dist/contract__validate-domain.mjs +1 -1
- package/dist/{control-DLEm6u5m.mjs → control-DR0zF1b7.mjs} +12 -5
- package/dist/control-DR0zF1b7.mjs.map +1 -0
- package/dist/{control-BD96JZi8-NUhO5Kkw.mjs → control-ZdvxNTVU-cVV8u7aQ.mjs} +7 -7
- package/dist/control-ZdvxNTVU-cVV8u7aQ.mjs.map +1 -0
- package/dist/{control-BF8qzdnM.d.mts → control-eH2MIHqA.d.mts} +12 -11
- package/dist/{control-BF8qzdnM.d.mts.map → control-eH2MIHqA.d.mts.map} +1 -1
- package/dist/{control-ql9N9u4f-r3Vv41kZ.d.mts → control-ql9N9u4f-D5sGnPR-.d.mts} +2 -2
- package/dist/{control-ql9N9u4f-r3Vv41kZ.d.mts.map → control-ql9N9u4f-D5sGnPR-.d.mts.map} +1 -1
- package/dist/{default-namespace-D4vCwkXg-lzVN7gSc.mjs → default-namespace-D4vCwkXg-BEZbN38y.mjs} +2 -2
- package/dist/{default-namespace-D4vCwkXg-lzVN7gSc.mjs.map → default-namespace-D4vCwkXg-BEZbN38y.mjs.map} +1 -1
- package/dist/{dist-Dqbo77p7.mjs → dist-DUlexZHp.mjs} +3 -3
- package/dist/{dist-Dqbo77p7.mjs.map → dist-DUlexZHp.mjs.map} +1 -1
- package/dist/{domain-envelope-D6Wn9AmZ-BqZKTT9U.d.mts → domain-envelope-CENjHN4U-BIIt9bl4.d.mts} +17 -5
- package/dist/{domain-envelope-D6Wn9AmZ-BqZKTT9U.d.mts.map → domain-envelope-CENjHN4U-BIIt9bl4.d.mts.map} +1 -1
- package/dist/emission-BWD6Z6w9.d.mts +2 -0
- package/dist/{emission-types-DLXP34Ki-CFms3VrX.d.mts → emission-types-BoSJNKfQ-B_19ILPP.d.mts} +10 -6
- package/dist/emission-types-BoSJNKfQ-B_19ILPP.d.mts.map +1 -0
- package/dist/{enum-accessor-PH5vjghI.d.mts → enum-accessor-PSFq-BB1.d.mts} +3 -3
- package/dist/{enum-accessor-PH5vjghI.d.mts.map → enum-accessor-PSFq-BB1.d.mts.map} +1 -1
- package/dist/errors.d.mts +3 -3
- package/dist/errors.mjs +3 -3
- package/dist/errors__control.d.mts +1 -1
- 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-CSnQT8EX.d.mts → execution-BDzJVN0t.d.mts} +2 -2
- package/dist/{execution-CSnQT8EX.d.mts.map → execution-BDzJVN0t.d.mts.map} +1 -1
- package/dist/{execution-Crk6IfTs.mjs → execution-BEVehm0I.mjs} +8 -8
- package/dist/execution-BEVehm0I.mjs.map +1 -0
- package/dist/{execution-Cyl2dXxX.d.mts → execution-BpT2YjbZ.d.mts} +4 -4
- package/dist/{execution-Cyl2dXxX.d.mts.map → execution-BpT2YjbZ.d.mts.map} +1 -1
- package/dist/{framework-authoring-BhctBwih-DQ_6noDM.d.mts → framework-authoring-BYgPL2X6-DMKO0Z_k.d.mts} +17 -12
- package/dist/framework-authoring-BYgPL2X6-DMKO0Z_k.d.mts.map +1 -0
- package/dist/{framework-authoring-CDEvlouU-DKklu-fL.mjs → framework-authoring-BvxZnsPY-DlD1nwU5.mjs} +34 -19
- package/dist/framework-authoring-BvxZnsPY-DlD1nwU5.mjs.map +1 -0
- package/dist/{framework-components-hZ2tO-KH-CdRXBOYd.d.mts → framework-components-CDppKaT_-DcMHokB8.d.mts} +9 -6
- package/dist/{framework-components-hZ2tO-KH-CdRXBOYd.d.mts.map → framework-components-CDppKaT_-DcMHokB8.d.mts.map} +1 -1
- package/dist/{hashing-CccSPELN.d.mts → hashing-BTx0s6Zw.d.mts} +3 -3
- package/dist/{hashing-CccSPELN.d.mts.map → hashing-BTx0s6Zw.d.mts.map} +1 -1
- package/dist/{hashing-utils-qKu59RSC.d.mts → hashing-utils-Bh9PVd4J.d.mts} +2 -2
- package/dist/{hashing-utils-qKu59RSC.d.mts.map → hashing-utils-Bh9PVd4J.d.mts.map} +1 -1
- package/dist/ids.d.mts +2 -2
- package/dist/ids.mjs +1 -1
- package/dist/ids__runtime.d.mts +1 -1
- package/dist/ids__runtime.mjs +1 -1
- package/dist/{internal-error-kK8QvlDE.d.mts → internal-error-2fJ9fcZX.d.mts} +2 -2
- package/dist/{internal-error-kK8QvlDE.d.mts.map → internal-error-2fJ9fcZX.d.mts.map} +1 -1
- package/dist/{internal-error-BIc-ehme-ouBQPoEL.mjs → internal-error-ChGYPVpq-DhUD05u0.mjs} +3 -3
- package/dist/internal-error-ChGYPVpq-DhUD05u0.mjs.map +1 -0
- package/dist/{ir-BvE7L9FK.d.mts → ir-BGaPKem0.d.mts} +2 -2
- package/dist/{ir-BvE7L9FK.d.mts.map → ir-BGaPKem0.d.mts.map} +1 -1
- package/dist/{ir-ChmSSAhX.mjs → ir-CV5d1FJ0.mjs} +2 -2
- package/dist/{ir-ChmSSAhX.mjs.map → ir-CV5d1FJ0.mjs.map} +1 -1
- package/dist/{migration-BvrgDZXw.d.mts → migration-Bdp-ucGZ.d.mts} +2 -2
- package/dist/{migration-BvrgDZXw.d.mts.map → migration-Bdp-ucGZ.d.mts.map} +1 -1
- package/dist/{migration-C57VKLUY.mjs → migration-S40Rgr7K.mjs} +3 -3
- package/dist/migration-S40Rgr7K.mjs.map +1 -0
- package/dist/operations.mjs +1 -1
- package/dist/{parse-0ZJjj_2N-DhQpSVmQ.d.mts → parse-B5xYL_oV-aGFgfM8N.d.mts} +5 -5
- package/dist/{parse-0ZJjj_2N-DhQpSVmQ.d.mts.map → parse-B5xYL_oV-aGFgfM8N.d.mts.map} +1 -1
- package/dist/{parse-GbZGfMUj-BFSrD2AN.mjs → parse-GbZGfMUj-C9tHGn-6.mjs} +2 -2
- package/dist/{parse-GbZGfMUj-BFSrD2AN.mjs.map → parse-GbZGfMUj-C9tHGn-6.mjs.map} +1 -1
- package/dist/{psl-ast-BXZoFQBk.d.mts → psl-ast-BkfQwHjE.d.mts} +4 -4
- package/dist/{psl-ast-BXZoFQBk.d.mts.map → psl-ast-BkfQwHjE.d.mts.map} +1 -1
- package/dist/{psl-ast-CWJQF8LA-Vr5JNPdn.d.mts → psl-ast-dnXw52MT-1jSUKlC9.d.mts} +4 -4
- package/dist/{psl-ast-CWJQF8LA-Vr5JNPdn.d.mts.map → psl-ast-dnXw52MT-1jSUKlC9.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +195 -74
- package/dist/psl-parser.d.mts.map +1 -1
- package/dist/psl-parser.mjs +213 -46
- package/dist/psl-parser.mjs.map +1 -1
- package/dist/psl-parser__format.mjs +2 -2
- package/dist/psl-parser__interpret.d.mts +32 -5
- package/dist/psl-parser__interpret.d.mts.map +1 -1
- package/dist/psl-parser__interpret.mjs +25 -2
- package/dist/psl-parser__interpret.mjs.map +1 -1
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-parser__syntax.mjs +1 -1
- package/dist/psl-printer.d.mts +6 -6
- package/dist/psl-printer.mjs +20 -13
- package/dist/psl-printer.mjs.map +1 -1
- package/dist/{resolve-codec-BZF8TZh_-D-xORT9Q.mjs → resolve-codec-BLRGmP1f-CydhIhLP.mjs} +6 -9
- package/dist/{resolve-codec-BZF8TZh_-D-xORT9Q.mjs.map → resolve-codec-BLRGmP1f-CydhIhLP.mjs.map} +1 -1
- package/dist/{resolve-domain-model-BVSb5wS5-C6Yq0dsD.d.mts → resolve-domain-model-DXP2hfI2-D4fWewZQ.d.mts} +3 -3
- package/dist/resolve-domain-model-DXP2hfI2-D4fWewZQ.d.mts.map +1 -0
- package/dist/{result-CBZ8X9mU.mjs → result-C0NUq1Ok.mjs} +2 -2
- package/dist/{result-CBZ8X9mU.mjs.map → result-C0NUq1Ok.mjs.map} +1 -1
- package/dist/{runtime-Cuxw8obj.d.mts → runtime-DOHhUPFx.d.mts} +66 -4
- package/dist/{runtime-Cuxw8obj.d.mts.map → runtime-DOHhUPFx.d.mts.map} +1 -1
- package/dist/{runtime-BqzioOmU.mjs → runtime-DXmHIbAr.mjs} +7 -2
- package/dist/{runtime-BqzioOmU.mjs.map → runtime-DXmHIbAr.mjs.map} +1 -1
- package/dist/{structured-error-CgiSMpdU.mjs → structured-error-BXbihKQ-.mjs} +3 -3
- package/dist/{structured-error-CgiSMpdU.mjs.map → structured-error-BXbihKQ-.mjs.map} +1 -1
- package/dist/{structured-error-BsNT4Hun.d.mts → structured-error-Z4iE-fTI.d.mts} +4 -4
- package/dist/{structured-error-BsNT4Hun.d.mts.map → structured-error-Z4iE-fTI.d.mts.map} +1 -1
- package/dist/suppress-idle-connection-errors-CKrTbp5P.d.mts +18 -0
- package/dist/suppress-idle-connection-errors-CKrTbp5P.d.mts.map +1 -0
- package/dist/suppress-idle-connection-errors-DzApeUb3.mjs +22 -0
- package/dist/suppress-idle-connection-errors-DzApeUb3.mjs.map +1 -0
- package/dist/{symbol-table-CZ7EVCTL-CR-ncCpD.d.mts → symbol-table-BeOQBu3C-DduAXEh6.d.mts} +6 -6
- package/dist/{symbol-table-CZ7EVCTL-CR-ncCpD.d.mts.map → symbol-table-BeOQBu3C-DduAXEh6.d.mts.map} +1 -1
- package/dist/ts-render.mjs +1 -1
- package/dist/{types-ByeQhU9p.d.mts → types-BKJi4we0.d.mts} +2 -2
- package/dist/{types-ByeQhU9p.d.mts.map → types-BKJi4we0.d.mts.map} +1 -1
- package/dist/{types-BnH4zYvN.mjs → types-DG4qHrT8.mjs} +2 -2
- package/dist/{types-BnH4zYvN.mjs.map → types-DG4qHrT8.mjs.map} +1 -1
- package/dist/{types-import-spec-3mjbVBhI-DQI6BvKU.d.mts → types-import-spec-BijT0b-s-253rIcmj.d.mts} +4 -4
- package/dist/{types-import-spec-3mjbVBhI-DQI6BvKU.d.mts.map → types-import-spec-BijT0b-s-253rIcmj.d.mts.map} +1 -1
- package/dist/utils.d.mts +4 -3
- package/dist/utils.mjs +6 -5
- package/dist/utils__assertions.mjs +1 -1
- package/dist/utils__internal-error.d.mts +1 -1
- package/dist/utils__internal-error.mjs +1 -1
- package/dist/utils__result.mjs +1 -1
- package/dist/utils__structured-error.d.mts +1 -1
- package/dist/utils__structured-error.mjs +1 -1
- package/dist/utils__suppress-idle-connection-errors.d.mts +2 -0
- package/dist/utils__suppress-idle-connection-errors.mjs +2 -0
- package/dist/{validate-domain-BkvFlY3B.mjs → validate-domain-CaT6wlDH.mjs} +15 -1
- package/dist/validate-domain-CaT6wlDH.mjs.map +1 -0
- package/dist/{validate-domain-BNBs-TVv.d.mts → validate-domain-DJXNOlkP.d.mts} +9 -5
- package/dist/validate-domain-DJXNOlkP.d.mts.map +1 -0
- package/package.json +19 -18
- package/dist/apply-specifier-default-control-policy-CAxiXxKg.d.mts.map +0 -1
- package/dist/authoring-B2H-9qCv.d.mts +0 -1
- package/dist/config-types-BqhNxw0z.mjs +0 -67
- package/dist/config-types-BqhNxw0z.mjs.map +0 -1
- package/dist/control-BD96JZi8-NUhO5Kkw.mjs.map +0 -1
- package/dist/control-DLEm6u5m.mjs.map +0 -1
- package/dist/emission-CmUO03gQ.d.mts +0 -2
- package/dist/emission-types-DLXP34Ki-CFms3VrX.d.mts.map +0 -1
- package/dist/execution-Crk6IfTs.mjs.map +0 -1
- package/dist/framework-authoring-BhctBwih-DQ_6noDM.d.mts.map +0 -1
- package/dist/framework-authoring-CDEvlouU-DKklu-fL.mjs.map +0 -1
- package/dist/internal-error-BIc-ehme-ouBQPoEL.mjs.map +0 -1
- package/dist/migration-C57VKLUY.mjs.map +0 -1
- package/dist/resolve-domain-model-BVSb5wS5-C6Yq0dsD.d.mts.map +0 -1
- package/dist/validate-domain-BNBs-TVv.d.mts.map +0 -1
- package/dist/validate-domain-BkvFlY3B.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @prisma/orm-framework
|
|
2
2
|
|
|
3
|
-
The target-agnostic core of Prisma
|
|
3
|
+
The target-agnostic core of Prisma 8: the contract model, the component/registry system, and the authoring surface that emitted contracts and application code reach at runtime.
|
|
4
4
|
|
|
5
5
|
Most applications never install this package directly — it arrives as an exact-pinned dependency of a database facade (`@prisma/orm-postgres`, `@prisma/orm-sqlite`, `@prisma/orm-mongo`), which is the package app developers should install. Extension authors and decomposed installs (applications replacing part of the default wiring) depend on it directly.
|
|
6
6
|
|
|
@@ -21,7 +21,3 @@ Each subpath namespace consolidates one internal framework module; a bare namesp
|
|
|
21
21
|
## Responsibilities
|
|
22
22
|
|
|
23
23
|
Everything runtime and authoring code needs independently of a concrete database: contract representation and validation, component wiring, PSL handling, and shared utilities. No database drivers, no build tooling (that is `@prisma/orm-toolchain`).
|
|
24
|
-
|
|
25
|
-
## Dependencies
|
|
26
|
-
|
|
27
|
-
Self-contained apart from small third-party runtime libraries (`arktype`, `@standard-schema/spec`, `pathe`, `uniku`). It is the root of the platform-package graph: the family, target, and toolchain packages all depend on it.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as ControlPolicy, t as Contract } from "./contract-types-
|
|
1
|
+
import { i as ControlPolicy, t as Contract } from "./contract-types-Bje5yT4f-0D1Z41Lq.mjs";
|
|
2
2
|
//#region ../../../1-framework/0-foundation/contract/dist/apply-specifier-default-control-policy.d.mts
|
|
3
3
|
//#region src/apply-specifier-default-control-policy.d.ts
|
|
4
4
|
declare function applySpecifierDefaultControlPolicy(contract: Contract, specifierDefault: ControlPolicy | undefined): Contract;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { applySpecifierDefaultControlPolicy as t };
|
|
7
|
-
//# sourceMappingURL=apply-specifier-default-control-policy-
|
|
7
|
+
//# sourceMappingURL=apply-specifier-default-control-policy-C2Njpc_G.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply-specifier-default-control-policy-C2Njpc_G.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/apply-specifier-default-control-policy.d.mts"],"mappings":";;;iBAEiB,mCAAmC,UAAU,UAAU,kBAAkB,4BAA4B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as InternalError } from "./internal-error-
|
|
1
|
+
import { t as InternalError } from "./internal-error-ChGYPVpq-DhUD05u0.mjs";
|
|
2
2
|
//#region ../../../1-framework/0-foundation/utils/dist/assertions.mjs
|
|
3
3
|
/**
|
|
4
4
|
* Asserts that a value is defined (not null or undefined).
|
|
@@ -33,4 +33,4 @@ function invariant(condition, message) {
|
|
|
33
33
|
//#endregion
|
|
34
34
|
export { invariant as n, assertDefined as t };
|
|
35
35
|
|
|
36
|
-
//# sourceMappingURL=assertions-
|
|
36
|
+
//# sourceMappingURL=assertions-Dw1lZz_Q.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertions-
|
|
1
|
+
{"version":3,"file":"assertions-Dw1lZz_Q.mjs","names":[],"sources":["../../../../1-framework/0-foundation/utils/dist/assertions.mjs"],"sourcesContent":["import { t as InternalError } from \"./internal-error-ChGYPVpq.mjs\";\n//#region src/assertions.ts\n/**\n* Asserts that a value is defined (not null or undefined).\n* Use for invariants where the value should always exist at runtime.\n*\n* @throws Error if value is null or undefined\n*\n* @example\n* ```typescript\n* const table = storage.namespaces[namespaceId].entries.table[tableName];\n* assertDefined(table, `Table \"${tableName}\" not found`);\n* // table is now narrowed to non-nullable\n* ```\n*/\nfunction assertDefined(value, message) {\n\tif (value === null || value === void 0) throw new InternalError(message);\n}\n/**\n* Asserts that a condition is true.\n* Use for invariants that should always hold at runtime.\n*\n* @throws Error if condition is false\n*\n* @example\n* ```typescript\n* invariant(columns.length > 0, 'Primary key must have at least one column');\n* ```\n*/\nfunction invariant(condition, message) {\n\tif (!condition) throw new InternalError(message);\n}\n//#endregion\nexport { assertDefined, invariant };\n\n//# sourceMappingURL=assertions.mjs.map"],"mappings":";;;;;;;;;;;;;;;AAeA,SAAS,cAAc,OAAO,SAAS;CACtC,IAAI,UAAU,QAAQ,UAAU,KAAK,GAAG,MAAM,IAAI,cAAc,OAAO;AACxE;;;;;;;;;;;;AAYA,SAAS,UAAU,WAAW,SAAS;CACtC,IAAI,CAAC,WAAW,MAAM,IAAI,cAAc,OAAO;AAChD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
package/dist/{canonicalization-DFpB09nP-4OdB2nsy.d.mts → canonicalization-BAvRuZ2i-IwsqxGme.d.mts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Contract } from "./contract-types-
|
|
1
|
+
import { t as Contract } from "./contract-types-Bje5yT4f-0D1Z41Lq.mjs";
|
|
2
2
|
import { n as JsonObject } from "./json-Dkqr3say.mjs";
|
|
3
|
-
//#region ../../../1-framework/0-foundation/contract/dist/canonicalization-
|
|
3
|
+
//#region ../../../1-framework/0-foundation/contract/dist/canonicalization-BAvRuZ2i.d.mts
|
|
4
4
|
//#region src/canonicalization.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Per-target contract serializer hook. The framework canonicalizer uses
|
|
@@ -66,4 +66,4 @@ declare function canonicalizeContractToObject(contract: Contract, options: Canon
|
|
|
66
66
|
declare function canonicalizeContract(contract: Contract, options: CanonicalizeContractOptions): string;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { canonicalizeContract as a, StorageSort as i, PreserveEmptyPredicate as n, canonicalizeContractToObject as o, SerializeContract as r, CanonicalizeContractOptions as t };
|
|
69
|
-
//# sourceMappingURL=canonicalization-
|
|
69
|
+
//# sourceMappingURL=canonicalization-BAvRuZ2i-IwsqxGme.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonicalization-
|
|
1
|
+
{"version":3,"file":"canonicalization-BAvRuZ2i-IwsqxGme.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/canonicalization-BAvRuZ2i.d.mts"],"mappings":";;;;;;;;;;;;KAWK,qBAAqB,UAAU,aAAa;;;;;;;;;KAS5C,0BAA0B;;;;;;;;KAQ1B,eAAe;UACV;WACC;;;;;;;;;;;WAWA,mBAAmB;;;;;;;WAOnB,sBAAsB;;;;;;;;WAQtB,cAAc;;;;;;;iBAOR,6BAA6B,UAAU,UAAU,SAAS,8BAA8B;iBACxF,qBAAqB,UAAU,UAAU,SAAS"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
|
-
import { n as isCodecTrait } from "./codec-types-
|
|
3
|
-
//#region ../../../1-framework/1-core/framework-components/dist/capabilities-
|
|
2
|
+
import { n as isCodecTrait } from "./codec-types-smcGzGq6-BohNffPc.mjs";
|
|
3
|
+
//#region ../../../1-framework/1-core/framework-components/dist/capabilities-BzwH_XMZ.mjs
|
|
4
4
|
/**
|
|
5
5
|
* Ownership key of an `(operation, input)` pair. Two descriptors sharing a key are two contributors claiming one overload, which is a composition error.
|
|
6
6
|
*/
|
|
@@ -117,4 +117,4 @@ function mergeCapabilityMatrices(base, contributors) {
|
|
|
117
117
|
//#endregion
|
|
118
118
|
export { mergeCapabilityMatrices as a, isNoInputAggregateDescriptor as i, isAggregateDescriptor as n, isAnyInputAggregateDescriptor as r, aggregateDescriptorKey as t };
|
|
119
119
|
|
|
120
|
-
//# sourceMappingURL=capabilities-
|
|
120
|
+
//# sourceMappingURL=capabilities-BzwH_XMZ-CkgWaxF9.mjs.map
|
package/dist/{capabilities-BCEONw9w-C-lo3rF8.mjs.map → capabilities-BzwH_XMZ-CkgWaxF9.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities-
|
|
1
|
+
{"version":3,"file":"capabilities-BzwH_XMZ-CkgWaxF9.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/capabilities-BzwH_XMZ.mjs"],"sourcesContent":["import { n as isCodecTrait } from \"./codec-types-smcGzGq6.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/shared/aggregate-descriptor.ts\n/**\n* Ownership key of an `(operation, input)` pair. Two descriptors sharing a key are two contributors claiming one overload, which is a composition error.\n*/\nfunction aggregateDescriptorKey(descriptor) {\n\tswitch (descriptor.input.kind) {\n\t\tcase \"none\": return `${descriptor.operation}:none`;\n\t\tcase \"any\": return `${descriptor.operation}:any`;\n\t\tcase \"codec\": return `${descriptor.operation}:codec:${descriptor.input.codecId}`;\n\t\tcase \"trait\": return `${descriptor.operation}:trait:${descriptor.input.trait}`;\n\t}\n}\n/** Whether `descriptor` is the overload of an operation that consumes no value — the case whose result always names a codec outright. */\nfunction isNoInputAggregateDescriptor(descriptor) {\n\treturn descriptor.input.kind === \"none\";\n}\n/** Whether `descriptor` answers regardless of input — the fallback rung of resolution. */\nfunction isAnyInputAggregateDescriptor(descriptor) {\n\treturn descriptor.input.kind === \"any\";\n}\nfunction isObjectLike(value) {\n\treturn typeof value === \"object\" && value !== null;\n}\nfunction isNonEmptyString(value) {\n\treturn typeof value === \"string\" && value.length > 0;\n}\nfunction isAggregateInputMatch(value) {\n\tif (!isObjectLike(value) || !(\"kind\" in value)) return false;\n\tswitch (value.kind) {\n\t\tcase \"none\":\n\t\tcase \"any\": return true;\n\t\tcase \"codec\": return \"codecId\" in value && isNonEmptyString(value.codecId);\n\t\tcase \"trait\": return \"trait\" in value && isCodecTrait(value.trait);\n\t\tdefault: return false;\n\t}\n}\nfunction isAggregateOutputCodec(value) {\n\tif (!isObjectLike(value) || !(\"kind\" in value)) return false;\n\tswitch (value.kind) {\n\t\tcase \"self\": return true;\n\t\tcase \"codec\": return \"codecId\" in value && isNonEmptyString(value.codecId) && (!(\"typeParams\" in value) || value.typeParams === void 0 || typeof value.typeParams === \"function\");\n\t\tdefault: return false;\n\t}\n}\n/**\n* Structural validation of a contributed descriptor. Components assembled from JavaScript reach the contribution slot unchecked, so composition validates the shape once and every later read is a plain lookup.\n*/\nfunction isAggregateDescriptor(value) {\n\tif (!isObjectLike(value)) return false;\n\tif (!(\"operation\" in value) || !isNonEmptyString(value.operation)) return false;\n\tif (!(\"nullable\" in value) || typeof value.nullable !== \"boolean\") return false;\n\tif (value.nullable === false && (!(\"emptyResultJson\" in value) || value.emptyResultJson === void 0)) return false;\n\tif (!(\"input\" in value) || !isAggregateInputMatch(value.input)) return false;\n\tif (!(\"output\" in value) || !isAggregateOutputCodec(value.output)) return false;\n\treturn value.input.kind === \"codec\" || value.input.kind === \"trait\" || value.output.kind === \"codec\";\n}\n//#endregion\n//#region src/shared/capabilities.ts\n/**\n* Capability matrix merge primitive shared by emit-time and runtime stack composition.\n*\n* The CLI's `enrichContract` and the SQL runtime's `createExecutionContext` both need\n* to fold a stack of component descriptors' `capabilities` declarations into a single\n* matrix keyed by namespace. Keeping the primitive here lets both call sites stay\n* byte-for-byte consistent without one depending on the other.\n*/\nfunction isPlainObject(value) {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\nfunction sortDeep(value) {\n\tif (Array.isArray(value)) return value.map(sortDeep);\n\tif (!isPlainObject(value)) return value;\n\tconst entries = Object.entries(value).sort(([a], [b]) => a.localeCompare(b));\n\tconst next = {};\n\tfor (const [key, child] of entries) next[key] = sortDeep(child);\n\treturn next;\n}\nfunction extractCapabilityMatrix(value) {\n\tif (!isPlainObject(value)) return {};\n\tconst out = {};\n\tfor (const [namespace, maybeCaps] of Object.entries(value)) {\n\t\tif (!isPlainObject(maybeCaps)) continue;\n\t\tconst caps = {};\n\t\tfor (const [key, flag] of Object.entries(maybeCaps)) if (typeof flag === \"boolean\") caps[key] = flag;\n\t\tif (Object.keys(caps).length > 0) out[namespace] = caps;\n\t}\n\treturn out;\n}\n/**\n* Merge an ordered list of contributor capability declarations into a base matrix.\n*\n* Behaviour:\n* - `base` and each contributor's `capabilities` are filtered through the same\n* structural extraction: non-plain-object namespace blocks are dropped,\n* non-boolean leaves inside a namespace block are dropped, and a namespace\n* block that ends up with zero boolean leaves is omitted entirely (so a\n* later contributor with a malformed namespace cannot erase a namespace\n* already present in `base`).\n* - Non-plain-object `capabilities` on a contributor (including `undefined`,\n* `null`, arrays, primitives) are skipped silently — the contributor\n* contributes nothing.\n* - Later contributors win on `(namespace, key)` collisions.\n* - The returned object is fresh — neither `base` nor any contributor is mutated.\n* - Output keys are sorted lexicographically at every plain-object level.\n*/\nfunction mergeCapabilityMatrices(base, contributors) {\n\tconst merged = extractCapabilityMatrix(base);\n\tfor (const contributor of contributors) {\n\t\tconst extracted = extractCapabilityMatrix(contributor.capabilities);\n\t\tfor (const [namespace, capabilities] of Object.entries(extracted)) merged[namespace] = {\n\t\t\t...merged[namespace] ?? {},\n\t\t\t...capabilities\n\t\t};\n\t}\n\treturn blindCast(sortDeep(merged));\n}\n//#endregion\nexport { isNoInputAggregateDescriptor as a, isAnyInputAggregateDescriptor as i, aggregateDescriptorKey as n, isAggregateDescriptor as r, mergeCapabilityMatrices as t };\n\n//# sourceMappingURL=capabilities-BzwH_XMZ.mjs.map"],"mappings":";;;;;;AAMA,SAAS,uBAAuB,YAAY;CAC3C,QAAQ,WAAW,MAAM,MAAzB;EACC,KAAK,QAAQ,OAAO,GAAG,WAAW,UAAU;EAC5C,KAAK,OAAO,OAAO,GAAG,WAAW,UAAU;EAC3C,KAAK,SAAS,OAAO,GAAG,WAAW,UAAU,SAAS,WAAW,MAAM;EACvE,KAAK,SAAS,OAAO,GAAG,WAAW,UAAU,SAAS,WAAW,MAAM;CACxE;AACD;;AAEA,SAAS,6BAA6B,YAAY;CACjD,OAAO,WAAW,MAAM,SAAS;AAClC;;AAEA,SAAS,8BAA8B,YAAY;CAClD,OAAO,WAAW,MAAM,SAAS;AAClC;AACA,SAAS,aAAa,OAAO;CAC5B,OAAO,OAAO,UAAU,YAAY,UAAU;AAC/C;AACA,SAAS,iBAAiB,OAAO;CAChC,OAAO,OAAO,UAAU,YAAY,MAAM,SAAS;AACpD;AACA,SAAS,sBAAsB,OAAO;CACrC,IAAI,CAAC,aAAa,KAAK,KAAK,EAAE,UAAU,QAAQ,OAAO;CACvD,QAAQ,MAAM,MAAd;EACC,KAAK;EACL,KAAK,OAAO,OAAO;EACnB,KAAK,SAAS,OAAO,aAAa,SAAS,iBAAiB,MAAM,OAAO;EACzE,KAAK,SAAS,OAAO,WAAW,SAAS,aAAa,MAAM,KAAK;EACjE,SAAS,OAAO;CACjB;AACD;AACA,SAAS,uBAAuB,OAAO;CACtC,IAAI,CAAC,aAAa,KAAK,KAAK,EAAE,UAAU,QAAQ,OAAO;CACvD,QAAQ,MAAM,MAAd;EACC,KAAK,QAAQ,OAAO;EACpB,KAAK,SAAS,OAAO,aAAa,SAAS,iBAAiB,MAAM,OAAO,MAAM,EAAE,gBAAgB,UAAU,MAAM,eAAe,KAAK,KAAK,OAAO,MAAM,eAAe;EACtK,SAAS,OAAO;CACjB;AACD;;;;AAIA,SAAS,sBAAsB,OAAO;CACrC,IAAI,CAAC,aAAa,KAAK,GAAG,OAAO;CACjC,IAAI,EAAE,eAAe,UAAU,CAAC,iBAAiB,MAAM,SAAS,GAAG,OAAO;CAC1E,IAAI,EAAE,cAAc,UAAU,OAAO,MAAM,aAAa,WAAW,OAAO;CAC1E,IAAI,MAAM,aAAa,UAAU,EAAE,qBAAqB,UAAU,MAAM,oBAAoB,KAAK,IAAI,OAAO;CAC5G,IAAI,EAAE,WAAW,UAAU,CAAC,sBAAsB,MAAM,KAAK,GAAG,OAAO;CACvE,IAAI,EAAE,YAAY,UAAU,CAAC,uBAAuB,MAAM,MAAM,GAAG,OAAO;CAC1E,OAAO,MAAM,MAAM,SAAS,WAAW,MAAM,MAAM,SAAS,WAAW,MAAM,OAAO,SAAS;AAC9F;;;;;;;;;AAWA,SAAS,cAAc,OAAO;CAC7B,OAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,CAAC,MAAM,QAAQ,KAAK;AAC3E;AACA,SAAS,SAAS,OAAO;CACxB,IAAI,MAAM,QAAQ,KAAK,GAAG,OAAO,MAAM,IAAI,QAAQ;CACnD,IAAI,CAAC,cAAc,KAAK,GAAG,OAAO;CAClC,MAAM,UAAU,OAAO,QAAQ,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;CAC3E,MAAM,OAAO,CAAC;CACd,KAAK,MAAM,CAAC,KAAK,UAAU,SAAS,KAAK,OAAO,SAAS,KAAK;CAC9D,OAAO;AACR;AACA,SAAS,wBAAwB,OAAO;CACvC,IAAI,CAAC,cAAc,KAAK,GAAG,OAAO,CAAC;CACnC,MAAM,MAAM,CAAC;CACb,KAAK,MAAM,CAAC,WAAW,cAAc,OAAO,QAAQ,KAAK,GAAG;EAC3D,IAAI,CAAC,cAAc,SAAS,GAAG;EAC/B,MAAM,OAAO,CAAC;EACd,KAAK,MAAM,CAAC,KAAK,SAAS,OAAO,QAAQ,SAAS,GAAG,IAAI,OAAO,SAAS,WAAW,KAAK,OAAO;EAChG,IAAI,OAAO,KAAK,IAAI,CAAC,CAAC,SAAS,GAAG,IAAI,aAAa;CACpD;CACA,OAAO;AACR;;;;;;;;;;;;;;;;;;AAkBA,SAAS,wBAAwB,MAAM,cAAc;CACpD,MAAM,SAAS,wBAAwB,IAAI;CAC3C,KAAK,MAAM,eAAe,cAAc;EACvC,MAAM,YAAY,wBAAwB,YAAY,YAAY;EAClE,KAAK,MAAM,CAAC,WAAW,iBAAiB,OAAO,QAAQ,SAAS,GAAG,OAAO,aAAa;GACtF,GAAG,OAAO,cAAc,CAAC;GACzB,GAAG;EACJ;CACD;CACA,OAAO,UAAU,SAAS,MAAM,CAAC;AAClC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as voidParamsSchema } from "./codec-types-
|
|
2
|
-
import { i as tsStringLiteral } from "./dist-
|
|
1
|
+
import { r as voidParamsSchema } from "./codec-types-smcGzGq6-BohNffPc.mjs";
|
|
2
|
+
import { i as tsStringLiteral } from "./dist-DUlexZHp.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/framework-components/dist/codec.mjs
|
|
4
4
|
/**
|
|
5
5
|
* Abstract base class for concrete codec implementations.
|
|
@@ -60,4 +60,4 @@ function renderTsLiteral(value) {
|
|
|
60
60
|
//#endregion
|
|
61
61
|
export { renderTsLiteral as i, CodecImpl as n, column as r, CodecDescriptorImpl as t };
|
|
62
62
|
|
|
63
|
-
//# sourceMappingURL=codec-
|
|
63
|
+
//# sourceMappingURL=codec-DWYH-Ra4.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-
|
|
1
|
+
{"version":3,"file":"codec-DWYH-Ra4.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec.mjs"],"sourcesContent":["import { r as voidParamsSchema, t as emptyCodecLookup } from \"./codec-types-smcGzGq6.mjs\";\nimport { i as validateCodecTypeParams, n as materializeCodec, r as resolveCodecDescriptorOrThrow, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from \"./resolve-codec-BLRGmP1f.mjs\";\nimport { tsStringLiteral } from \"@internal/ts-render\";\n//#region src/shared/codec.ts\n/**\n* Abstract base class for concrete codec implementations.\n*\n* Codec authors extend this class with their typed `Id`, `TTraits`, `TWire`, `TInput` and override all four abstract conversion methods: `encode`, `decode`, `encodeJson`, and `decodeJson`. The runtime instance carries only its `id` (proxied through the descriptor so alias subclasses inherit the descriptor's id automatically) and the conversion methods — static metadata lives on the {@link CodecDescriptor}.\n*/\nvar CodecImpl = class {\n\tdescriptor;\n\t/**\n\t* Variance-erased descriptor reference. Concrete codec subclasses receive the typed descriptor in their own constructors and forward it via `super(descriptor)`; the variance erasure lives at this base because the abstract surface can't carry the concrete `TParams`.\n\t*/\n\tconstructor(descriptor) {\n\t\tthis.descriptor = descriptor;\n\t}\n\tget id() {\n\t\treturn this.descriptor.codecId;\n\t}\n};\n//#endregion\n//#region src/shared/codec-descriptor.ts\n/**\n* Abstract base class for concrete codec descriptors.\n*\n* Codec authors extend this class with their typed `TParams` and declare `codecId`, `traits`, `targetTypes`, `paramsSchema`, the curried `factory(params)`, and (optionally) `renderOutputType`.\n*\n* Implements the {@link CodecDescriptor} interface so a concrete subclass instance is directly usable wherever the framework expects a `CodecDescriptor<P>`.\n*/\nvar CodecDescriptorImpl = class {\n\t/** Boolean derived from `paramsSchema`: `true` whenever the schema is not the singleton `voidParamsSchema`. */\n\tget isParameterized() {\n\t\treturn this.paramsSchema !== voidParamsSchema;\n\t}\n};\n//#endregion\n//#region src/shared/column-spec.ts\n/**\n* Trivial column packager. Per-codec helpers call this directly with the result of `descriptor.factory(params)` — direct method invocation binds the descriptor's method-level generic at the call site and the literal flows through `R`.\n*\n* `nativeType` is the column's database-native type spelling — the value the postgres adapter's migration planner, the SQL renderer's cast policy, and the emitted contract's column `nativeType` slot read. Per-codec helpers pass the literal native-type string for their codec (e.g. `'text'`, `'int4'`, `'character varying'`); for codecs whose native-type spelling depends on parameters (none today; reserved for future shapes), the helper computes the rendered string before calling `column`. The framework does not derive the value from `codecId` — that mapping is target-specific and lives at the helper.\n*/\nfunction column(codecFactory, codecId, typeParams, nativeType) {\n\treturn {\n\t\tcodecFactory,\n\t\tcodecId,\n\t\ttypeParams,\n\t\tnativeType\n\t};\n}\n//#endregion\n//#region src/shared/render-ts-literal.ts\n/**\n* Renders a codec-encoded value as a TypeScript literal (e.g. `\"low\"`, `1`, `true`), or `undefined`\n* when the value isn't literal-expressible (objects, arrays, null).\n*\n* Valid **only for identity codecs** whose `encodeJson` output equals their decoded output type\n* (text, int, float, bool). A non-identity codec (e.g. one that encodes to an int but decodes to a\n* string literal) must NOT use this: it has to `decodeJson` first, then render, in its own\n* `renderValueLiteral`.\n*/\nfunction renderTsLiteral(value) {\n\tif (typeof value === \"string\") return tsStringLiteral(value);\n\tif (typeof value === \"number\" || typeof value === \"boolean\") return String(value);\n}\n//#endregion\nexport { CONTRACT_CODEC_DESCRIPTOR_MISSING, CodecDescriptorImpl, CodecImpl, column, emptyCodecLookup, materializeCodec, renderTsLiteral, resolveCodecDescriptorOrThrow, validateCodecTypeParams, voidParamsSchema };\n\n//# sourceMappingURL=codec.mjs.map"],"mappings":";;;;;;;;AASA,IAAI,YAAY,MAAM;CACrB;;;;CAIA,YAAY,YAAY;EACvB,KAAK,aAAa;CACnB;CACA,IAAI,KAAK;EACR,OAAO,KAAK,WAAW;CACxB;AACD;;;;;;;;AAUA,IAAI,sBAAsB,MAAM;;CAE/B,IAAI,kBAAkB;EACrB,OAAO,KAAK,iBAAiB;CAC9B;AACD;;;;;;AAQA,SAAS,OAAO,cAAc,SAAS,YAAY,YAAY;CAC9D,OAAO;EACN;EACA;EACA;EACA;CACD;AACD;;;;;;;;;;AAYA,SAAS,gBAAgB,OAAO;CAC/B,IAAI,OAAO,UAAU,UAAU,OAAO,gBAAgB,KAAK;CAC3D,IAAI,OAAO,UAAU,YAAY,OAAO,UAAU,WAAW,OAAO,OAAO,KAAK;AACjF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as CodecDescriptor, l as CodecRef, n as Codec, s as CodecInstanceContext, t as AnyCodecDescriptor } from "./codec-types-
|
|
1
|
+
import { V as JsonValue, nt as ValueSetRef } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { i as CodecDescriptor, l as CodecRef, n as Codec, s as CodecInstanceContext, t as AnyCodecDescriptor } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/framework-components/dist/codec.d.mts
|
|
4
4
|
//#region src/shared/column-spec.d.ts
|
|
5
5
|
/**
|
|
@@ -99,14 +99,11 @@ declare function resolveCodecDescriptorOrThrow(descriptorFor: (codecId: string)
|
|
|
99
99
|
declare function validateCodecTypeParams(descriptor: AnyCodecDescriptor, ref: CodecRef): unknown;
|
|
100
100
|
/**
|
|
101
101
|
* Resolves a `Codec` instance: validates `ref.typeParams` via
|
|
102
|
-
* {@link validateCodecTypeParams} then calls `descriptor.factory(validated)(ctx)
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
* `P` to `any`, so the factory is narrowed to `(params: unknown) => (ctx) => Codec`
|
|
106
|
-
* at the call boundary. The `paramsSchema` validates the input above before we
|
|
107
|
-
* forward it, so the narrowing is safe by construction.
|
|
102
|
+
* {@link validateCodecTypeParams} then calls `descriptor.factory(validated)(ctx)`
|
|
103
|
+
* as a method on `descriptor`, preserving `this` for factories that build
|
|
104
|
+
* their returned codec from the descriptor instance (e.g. `new XCodec(this)`).
|
|
108
105
|
*/
|
|
109
106
|
declare function materializeCodec(descriptor: AnyCodecDescriptor, ref: CodecRef, ctx: CodecInstanceContext): Codec;
|
|
110
107
|
//#endregion
|
|
111
108
|
export { ColumnTypeDescriptor as a, renderTsLiteral as c, ColumnSpec as i, resolveCodecDescriptorOrThrow as l, ColumnHelperFor as n, column as o, ColumnHelperForStrict as r, materializeCodec as s, CONTRACT_CODEC_DESCRIPTOR_MISSING as t, validateCodecTypeParams as u };
|
|
112
|
-
//# sourceMappingURL=codec-
|
|
109
|
+
//# sourceMappingURL=codec-DxAIshoO.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-
|
|
1
|
+
{"version":3,"file":"codec-DxAIshoO.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec.d.mts"],"mappings":";;;;;;;;;;;KAUK,qBAAqB;WACf,SAAS;WACT;WACA,aAAa;WACb;;;;;;;;;WASA,WAAW;WACX,YAAY;;;;;;;;;KASlB;WACM;WACA;WACA;;;;;;;UAOD,WAAW,GAAG,UAAU,6CAA6C;WACpE,eAAe,KAAK,yBAAyB;WAC7C,YAAY;;;;;;;iBAON,OAAO,GAAG,UAAU,qCAAqC,eAAe,KAAK,yBAAyB,GAAG,iBAAiB,YAAY,GAAG,qBAAqB,WAAW,GAAG;;;;;;KAMxL,gBAAgB,UAAU,4BAA4B,gBAAgB,oBAAoB,mBAAmB;;;;KAI7G,sBAAsB,UAAU,4BAA4B,gBAAgB,WAAW,WAAW,WAAW,gBAAgB,mBAAmB;;;;KAIhJ,mBAAmB,UAAU,wBAAwB,WAAW,yBAAyB,0BAA0B,WAAW;;;;;;;;;;;;iBAYlH,gBAAgB,OAAO;;;cAG1B;;;;;;;iBAOG,8BAA8B,gBAAgB,oBAAoB,gCAAgC,KAAK,UAAU,iFAAiF;;;;;;;;;iBASlM,wBAAwB,YAAY,oBAAoB,KAAK;;;;;;;iBAO7D,iBAAiB,YAAY,oBAAoB,KAAK,UAAU,KAAK,uBAAuB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { V as JsonValue } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
2
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
3
|
-
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-
|
|
3
|
+
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-nVMtogur.d.mts
|
|
4
4
|
//#region src/shared/codec-descriptor.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Unified codec descriptor. Every codec in the framework registers through this shape — non-parameterized codecs use `P = void` and a constant factory that returns the same shared codec instance for every column; parameterized codecs use a non-empty `P` and a curried higher-order factory that returns a per-instance codec.
|
|
@@ -95,7 +95,7 @@ declare abstract class CodecDescriptorImpl<TParams = void> implements CodecDescr
|
|
|
95
95
|
* 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.
|
|
96
96
|
*/
|
|
97
97
|
interface Codec<Id extends string = string, TTraits extends readonly CodecTrait[] = readonly CodecTrait[], TWire = unknown, TInput = unknown> {
|
|
98
|
-
/** Unique codec identifier in `namespace/name@version` format (e.g. `pg/timestamptz@1`). The factory sets this to the descriptor's `codecId`; consumers use it as a back-reference for descriptor lookups and for decode-error diagnostics. */
|
|
98
|
+
/** Unique codec identifier in `namespace/name@version` format (e.g. `pg/timestamptz-temporal@1`). The factory sets this to the descriptor's `codecId`; consumers use it as a back-reference for descriptor lookups and for decode-error diagnostics. */
|
|
99
99
|
readonly id: Id;
|
|
100
100
|
/** 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). */
|
|
101
101
|
readonly __codecTraits?: TTraits;
|
|
@@ -220,4 +220,4 @@ interface CodecInstanceContext {
|
|
|
220
220
|
declare const voidParamsSchema: StandardSchemaV1<void>;
|
|
221
221
|
//#endregion
|
|
222
222
|
export { CodecDescriptorImpl as a, CodecLookup as c, CodecTrait as d, emptyCodecLookup as f, CodecDescriptor as i, CodecRef as l, Codec as n, CodecImpl as o, voidParamsSchema as p, CodecCallContext as r, CodecInstanceContext as s, AnyCodecDescriptor as t, CodecRegistry as u };
|
|
223
|
-
//# sourceMappingURL=codec-types-
|
|
223
|
+
//# sourceMappingURL=codec-types-nVMtogur-CYBdUQUH.d.mts.map
|
package/dist/{codec-types-D6VRj2RE-BLElXc-O.d.mts.map → codec-types-nVMtogur-CYBdUQUH.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-types-
|
|
1
|
+
{"version":3,"file":"codec-types-nVMtogur-CYBdUQUH.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec-types-nVMtogur.d.mts"],"mappings":";;;;;;;;;;;;;;;UAcU,gBAAgB;;WAEf;;WAEA,iBAAiB;;WAEjB;;WAEA,cAAc,iBAAiB;;WAE/B;;WAEA,oBAAoB,QAAQ;;WAE5B,mBAAmB,QAAQ;;;;;;;;;;;WAW3B,sBAAsB,OAAO,WAAW;;WAExC,UAAU,QAAQ,OAAO,KAAK,yBAAyB;;;;;;;KAO7D,qBAAqB;;;;;;;;uBAQH,oBAAoB,2BAA2B,gBAAgB;oBAClE;oBACA,iBAAiB;oBACjB;oBACA,cAAc,iBAAiB;;MAE7C;;EAEJ,kBAAkB,QAAQ;;EAE1B,iBAAiB,QAAQ;;EAEzB,oBAAoB,OAAO,WAAW;;;;WAI7B,QAAQ,QAAQ,WAAW,KAAK,yBAAyB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;UAuBjF,MAAM,4BAA4B,yBAAyB,wBAAwB,cAAc,iBAAiB;;WAEjH,IAAI;;WAEJ,gBAAgB;;EAEzB,OAAO,OAAO,QAAQ,KAAK,mBAAmB,QAAQ;;EAEtD,OAAO,MAAM,OAAO,KAAK,mBAAmB,QAAQ;;EAEpD,WAAW,OAAO,SAAS;;EAE3B,WAAW,MAAM,YAAY;;;;;;;uBAOR,UAAU,4BAA4B,yBAAyB,wBAAwB,cAAc,iBAAiB,6BAA6B,MAAM,IAAI,SAAS,OAAO;WACzL,YAAY;;;;EAIrB,YAAY,YAAY;MACpB,MAAM;WACD,OAAO,OAAO,QAAQ,KAAK,mBAAmB,QAAQ;WACtD,OAAO,MAAM,OAAO,KAAK,mBAAmB,QAAQ;WACpD,WAAW,OAAO,SAAS;WAC3B,WAAW,MAAM,YAAY;;;;;cAK1B;KACT,qBAAqB;;;;;;;;;;;;UAYhB;WACC;WACA,aAAa;WACb;;;;;;;;;;;;;UAaD;WACC,SAAS;;;;;;;;;UASV;EACR,IAAI,aAAa;EACjB,eAAe;EACf,oBAAoB,YAAY,QAAQ;;EAExC,oBAAoB,YAAY,QAAQ;;EAExC,uBAAuB,YAAY,OAAO,WAAW;;;;;;;;;;EAUrD,eAAe,aAAa;;;;;;;;;;;;;;;UAepB,sBAAsB;EAC9B,YAAY,KAAK,WAAW;EAC5B,UAAU,qBAAqB,eAAe,iBAAiB;;cAEnD,kBAAkB;;;;;;;;UAQtB;WACC;;;;;cAKG,kBAAkB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-
|
|
1
|
+
//#region ../../../1-framework/1-core/framework-components/dist/codec-types-smcGzGq6.mjs
|
|
2
2
|
/** Every semantic trait a codec may advertise. The runtime tuple backs validation of trait-keyed contributions arriving from JavaScript. */
|
|
3
3
|
const CODEC_TRAITS = [
|
|
4
4
|
"equality",
|
|
@@ -21,10 +21,10 @@ const emptyCodecLookup = {
|
|
|
21
21
|
*/
|
|
22
22
|
const voidParamsSchema = { "~standard": {
|
|
23
23
|
version: 1,
|
|
24
|
-
vendor: "prisma
|
|
24
|
+
vendor: "prisma",
|
|
25
25
|
validate: (input) => input === void 0 ? { value: void 0 } : { issues: [{ message: "unexpected typeParams for non-parameterized codec (void params expected)" }] }
|
|
26
26
|
} };
|
|
27
27
|
//#endregion
|
|
28
28
|
export { isCodecTrait as n, voidParamsSchema as r, emptyCodecLookup as t };
|
|
29
29
|
|
|
30
|
-
//# sourceMappingURL=codec-types-
|
|
30
|
+
//# sourceMappingURL=codec-types-smcGzGq6-BohNffPc.mjs.map
|
package/dist/{codec-types-DcNvNeY1-BO6kUiH0.mjs.map → codec-types-smcGzGq6-BohNffPc.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-types-
|
|
1
|
+
{"version":3,"file":"codec-types-smcGzGq6-BohNffPc.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/codec-types-smcGzGq6.mjs"],"sourcesContent":["//#region src/shared/codec-types.ts\n/** Every semantic trait a codec may advertise. The runtime tuple backs validation of trait-keyed contributions arriving from JavaScript. */\nconst CODEC_TRAITS = [\n\t\"equality\",\n\t\"order\",\n\t\"boolean\",\n\t\"numeric\",\n\t\"textual\"\n];\n/** Whether `value` names one of the {@link CODEC_TRAITS}. */\nfunction isCodecTrait(value) {\n\treturn CODEC_TRAITS.some((trait) => trait === value);\n}\nconst emptyCodecLookup = {\n\tget: () => void 0,\n\ttargetTypesFor: () => void 0,\n\trenderOutputTypeFor: () => void 0\n};\n/**\n* Standard Schema validator for `void` params. Accepts only `undefined` (or absent input); rejects any other value so a contract that tries to thread `typeParams` through a non-parameterized codec id fails fast at the JSON boundary instead of silently coercing the value away. Used by the framework-supplied non-parameterized descriptor synthesizer.\n*/\nconst voidParamsSchema = { \"~standard\": {\n\tversion: 1,\n\tvendor: \"prisma\",\n\tvalidate: (input) => input === void 0 ? { value: void 0 } : { issues: [{ message: \"unexpected typeParams for non-parameterized codec (void params expected)\" }] }\n} };\n//#endregion\nexport { isCodecTrait as n, voidParamsSchema as r, emptyCodecLookup as t };\n\n//# sourceMappingURL=codec-types-smcGzGq6.mjs.map"],"mappings":";;AAEA,MAAM,eAAe;CACpB;CACA;CACA;CACA;CACA;AACD;;AAEA,SAAS,aAAa,OAAO;CAC5B,OAAO,aAAa,MAAM,UAAU,UAAU,KAAK;AACpD;AACA,MAAM,mBAAmB;CACxB,WAAW,KAAK;CAChB,sBAAsB,KAAK;CAC3B,2BAA2B,KAAK;AACjC;;;;AAIA,MAAM,mBAAmB,EAAE,aAAa;CACvC,SAAS;CACT,QAAQ;CACR,WAAW,UAAU,UAAU,KAAK,IAAI,EAAE,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,EAAE,SAAS,2EAA2E,CAAC,EAAE;AACjK,EAAE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as CodecTrait } from "./codec-types-
|
|
2
|
-
import { t as AggregateDescriptor } from "./types-import-spec-
|
|
3
|
-
import "./framework-components-
|
|
1
|
+
import { d as CodecTrait } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
2
|
+
import { t as AggregateDescriptor } from "./types-import-spec-BijT0b-s-253rIcmj.mjs";
|
|
3
|
+
import "./framework-components-CDppKaT_-DcMHokB8.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-CQrZAxZu.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-
|
|
1
|
+
{"version":3,"file":"components-CQrZAxZu.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.d.mts"],"mappings":";;;;;;UAMU;WACC;WACA,iBAAiB;;;UAGlB,0BAA0B,oBAAoB;;WAE7C,WAAW,oBAAoB;;WAE/B,SAAS;;WAET,UAAU;;;UAGX;WACC;WACA;WACA,iBAAiB;;;UAGlB,2BAA2B,oBAAoB;WAC9C;WACA;WACA,OAAO;WACP,QAAQ;;UAET,0BAA0B,oBAAoB;WAC7C,YAAY,oBAAoB,0BAA0B;WAC1D,sBAAsB;WACtB,qBAAqB,2BAA2B;;;;;;;;;;;iBAW1C,yBAAyB,oBAAoB,qBAAqB,sBAAsB,eAAe,QAAQ,SAAS,wBAAwB,0BAA0B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as aggregateDescriptorKey } from "./capabilities-
|
|
1
|
+
import { t as aggregateDescriptorKey } from "./capabilities-BzwH_XMZ-CkgWaxF9.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-CnV-6irM.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-
|
|
1
|
+
{"version":3,"file":"components-CnV-6irM.mjs","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/components.mjs"],"sourcesContent":["import { a as isNoInputAggregateDescriptor, i as isAnyInputAggregateDescriptor, n as aggregateDescriptorKey, r as isAggregateDescriptor, t as mergeCapabilityMatrices } from \"./capabilities-BzwH_XMZ.mjs\";\nimport { t as checkContractComponentRequirements } from \"./framework-components-D6j4Y5K7.mjs\";\n//#region src/shared/aggregate-overloads.ts\n/**\n* Settle every contributed overload against `codecs`.\n*\n* Exact codec overloads win over trait overloads, and trait overloads are expanded only over the codecs given — so a caller that passes the codecs a stack actually composes cannot end up with a row for one it does not. An exact overload survives even for a codec outside that set, because naming a codec id is a claim that stands on its own.\n*\n* The input-agnostic overload is left unexpanded: it answers whatever the other two rungs do not, so materializing it per codec would say the same thing once per codec.\n*\n* A second claim on one `(operation, input)` key is reported as a duplicate and does not unseat the first; both production callers reject duplicates before settling, so the report guards a consumer that calls this directly.\n*/\nfunction settleAggregateOverloads(descriptors, codecs) {\n\tconst byOperation = /* @__PURE__ */ new Map();\n\tconst firstClaims = /* @__PURE__ */ new Map();\n\tconst duplicates = [];\n\tfor (const descriptor of descriptors) {\n\t\tconst key = aggregateDescriptorKey(descriptor);\n\t\tconst first = firstClaims.get(key);\n\t\tif (first !== void 0) {\n\t\t\tduplicates.push({\n\t\t\t\toperation: descriptor.operation,\n\t\t\t\tkey,\n\t\t\t\tfirst,\n\t\t\t\tsecond: descriptor\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tfirstClaims.set(key, descriptor);\n\t\tconst entry = byOperation.get(descriptor.operation) ?? {\n\t\t\texact: /* @__PURE__ */ new Map(),\n\t\t\ttraits: [],\n\t\t\tnoInput: void 0,\n\t\t\tanyInput: void 0\n\t\t};\n\t\tswitch (descriptor.input.kind) {\n\t\t\tcase \"none\":\n\t\t\t\tentry.noInput = descriptor;\n\t\t\t\tbreak;\n\t\t\tcase \"any\":\n\t\t\t\tentry.anyInput = descriptor;\n\t\t\t\tbreak;\n\t\t\tcase \"codec\":\n\t\t\t\tentry.exact.set(descriptor.input.codecId, descriptor);\n\t\t\t\tbreak;\n\t\t\tcase \"trait\":\n\t\t\t\tentry.traits.push({\n\t\t\t\t\tdescriptor,\n\t\t\t\t\ttrait: descriptor.input.trait\n\t\t\t\t});\n\t\t\t\tbreak;\n\t\t}\n\t\tbyOperation.set(descriptor.operation, entry);\n\t}\n\tconst codecList = [...codecs];\n\tconst operations = /* @__PURE__ */ new Map();\n\tconst ambiguities = [];\n\tfor (const [operation, entry] of byOperation) {\n\t\tconst byCodecId = new Map(entry.exact);\n\t\tfor (const codec of codecList) {\n\t\t\tif (byCodecId.has(codec.codecId)) continue;\n\t\t\tconst claims = entry.traits.filter((candidate) => codec.traits.includes(candidate.trait));\n\t\t\tif (claims.length > 1) {\n\t\t\t\tambiguities.push({\n\t\t\t\t\toperation,\n\t\t\t\t\tcodecId: codec.codecId,\n\t\t\t\t\ttraits: claims.map((claim) => claim.trait)\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tconst claim = claims[0];\n\t\t\tif (claim !== void 0) byCodecId.set(codec.codecId, claim.descriptor);\n\t\t}\n\t\toperations.set(operation, {\n\t\t\tbyCodecId,\n\t\t\tnoInput: entry.noInput,\n\t\t\tanyInput: entry.anyInput\n\t\t});\n\t}\n\treturn {\n\t\toperations,\n\t\tambiguities,\n\t\tduplicates\n\t};\n}\n//#endregion\nexport { aggregateDescriptorKey, checkContractComponentRequirements, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, mergeCapabilityMatrices, settleAggregateOverloads };\n\n//# sourceMappingURL=components.mjs.map"],"mappings":";;;;;;;;;;;AAYA,SAAS,yBAAyB,aAAa,QAAQ;CACtD,MAAM,8BAA8B,IAAI,IAAI;CAC5C,MAAM,8BAA8B,IAAI,IAAI;CAC5C,MAAM,aAAa,CAAC;CACpB,KAAK,MAAM,cAAc,aAAa;EACrC,MAAM,MAAM,uBAAuB,UAAU;EAC7C,MAAM,QAAQ,YAAY,IAAI,GAAG;EACjC,IAAI,UAAU,KAAK,GAAG;GACrB,WAAW,KAAK;IACf,WAAW,WAAW;IACtB;IACA;IACA,QAAQ;GACT,CAAC;GACD;EACD;EACA,YAAY,IAAI,KAAK,UAAU;EAC/B,MAAM,QAAQ,YAAY,IAAI,WAAW,SAAS,KAAK;GACtD,uBAAuB,IAAI,IAAI;GAC/B,QAAQ,CAAC;GACT,SAAS,KAAK;GACd,UAAU,KAAK;EAChB;EACA,QAAQ,WAAW,MAAM,MAAzB;GACC,KAAK;IACJ,MAAM,UAAU;IAChB;GACD,KAAK;IACJ,MAAM,WAAW;IACjB;GACD,KAAK;IACJ,MAAM,MAAM,IAAI,WAAW,MAAM,SAAS,UAAU;IACpD;GACD,KAAK;IACJ,MAAM,OAAO,KAAK;KACjB;KACA,OAAO,WAAW,MAAM;IACzB,CAAC;IACD;EACF;EACA,YAAY,IAAI,WAAW,WAAW,KAAK;CAC5C;CACA,MAAM,YAAY,CAAC,GAAG,MAAM;CAC5B,MAAM,6BAA6B,IAAI,IAAI;CAC3C,MAAM,cAAc,CAAC;CACrB,KAAK,MAAM,CAAC,WAAW,UAAU,aAAa;EAC7C,MAAM,YAAY,IAAI,IAAI,MAAM,KAAK;EACrC,KAAK,MAAM,SAAS,WAAW;GAC9B,IAAI,UAAU,IAAI,MAAM,OAAO,GAAG;GAClC,MAAM,SAAS,MAAM,OAAO,QAAQ,cAAc,MAAM,OAAO,SAAS,UAAU,KAAK,CAAC;GACxF,IAAI,OAAO,SAAS,GAAG;IACtB,YAAY,KAAK;KAChB;KACA,SAAS,MAAM;KACf,QAAQ,OAAO,KAAK,UAAU,MAAM,KAAK;IAC1C,CAAC;IACD;GACD;GACA,MAAM,QAAQ,OAAO;GACrB,IAAI,UAAU,KAAK,GAAG,UAAU,IAAI,MAAM,SAAS,MAAM,UAAU;EACpE;EACA,WAAW,IAAI,WAAW;GACzB;GACA,SAAS,MAAM;GACf,UAAU,MAAM;EACjB,CAAC;CACF;CACA,OAAO;EACN;EACA;EACA;CACD;AACD"}
|
package/dist/components.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { a as CodecDescriptorImpl, c as CodecLookup, d as CodecTrait, f as emptyCodecLookup, i as CodecDescriptor, l as CodecRef, n as Codec, o as CodecImpl, p as voidParamsSchema, r as CodecCallContext, s as CodecInstanceContext, t as AnyCodecDescriptor, u as CodecRegistry } from "./codec-types-
|
|
2
|
-
import { $ as
|
|
3
|
-
import "./authoring-
|
|
4
|
-
import { a as ColumnTypeDescriptor, c as renderTsLiteral, i as ColumnSpec, l as resolveCodecDescriptorOrThrow, n as ColumnHelperFor, o as column, r as ColumnHelperForStrict, s as materializeCodec, t as CONTRACT_CODEC_DESCRIPTOR_MISSING, u as validateCodecTypeParams } from "./codec-
|
|
5
|
-
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-
|
|
1
|
+
import { a as CodecDescriptorImpl, c as CodecLookup, d as CodecTrait, f as emptyCodecLookup, i as CodecDescriptor, l as CodecRef, n as Codec, o as CodecImpl, p as voidParamsSchema, r as CodecCallContext, s as CodecInstanceContext, t as AnyCodecDescriptor, u as CodecRegistry } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
2
|
+
import { $ as collectScalarTypeConstructors, A as ContributedPslDiagnosticCode, B as PslExtensionBlockParamBare, C as AuthoringStorageTypeTemplate, D as AuthoringTypeNamespace, E as AuthoringTypeConstructorEntityRef, F as PslBlockParamValue, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, J as PslSpan, K as PslExtensionBlockParsedAttribute, L as PslExtensionBlock, M as PslBlockParamList, N as PslBlockParamOption, O as AuthoringWarning, P as PslBlockParamRef, Q as classifyEnumMemberType, R as PslExtensionBlockAttribute, S as AuthoringSelectRef, T as AuthoringTypeConstructorDescriptor, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, X as assertNoCrossRegistryCollisions, Y as ScalarTypeConstructorOutput, Z as assertResolvableTypeConstructorTemplates, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, at as isAuthoringArgRef, b as AuthoringPslBlockDescriptor, c as AuthoringEntityTypeDescriptor, ct as isAuthoringModelAttributeDescriptor, d as AuthoringEntityTypeTemplateOutput, dt as mergeAuthoringNamespaces, et as flushAuthoringWarnings, f as AuthoringFieldNamespace, ft as resolveAuthoringTemplateValue, g as AuthoringModelAttributeDescriptor, h as AuthoringModelAttributeContext, i as AuthoringColumnDefaultTemplate, it as instantiateAuthoringTypeConstructor, j as PslBlockParam, k as AuthoringWarningSink, l as AuthoringEntityTypeFactoryOutput, lt as isAuthoringPslBlockDescriptor, m as AuthoringFieldPresetOutput, mt as validateAuthoringHelperArguments, n as AuthoringArgumentDescriptor, nt as instantiateAuthoringEntityType, o as AuthoringDiagnosticSink, ot as isAuthoringEntityTypeDescriptor, p as AuthoringFieldPresetDescriptor, pt as resolveEnumCodecId, q as PslPosition, r as AuthoringAttributeSpecContributions, rt as instantiateAuthoringFieldPreset, s as AuthoringEntityContext, st as isAuthoringFieldPresetDescriptor, t as AuthoringArgRef, tt as hasRegisteredFieldNamespace, u as AuthoringEntityTypeNamespace, ut as isAuthoringTypeConstructorDescriptor, v as AuthoringModelAttributeLoweringOutput, w as AuthoringTemplateValue, x as AuthoringPslBlockDescriptorNamespace, y as AuthoringOption, z as PslExtensionBlockAttributeArg } from "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
|
3
|
+
import "./authoring-D2ngo2MB.mjs";
|
|
4
|
+
import { a as ColumnTypeDescriptor, c as renderTsLiteral, i as ColumnSpec, l as resolveCodecDescriptorOrThrow, n as ColumnHelperFor, o as column, r as ColumnHelperForStrict, s as materializeCodec, t as CONTRACT_CODEC_DESCRIPTOR_MISSING, u as validateCodecTypeParams } from "./codec-DxAIshoO.mjs";
|
|
5
|
+
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-BijT0b-s-253rIcmj.mjs";
|
|
6
6
|
import { n as mergeCapabilityMatrices, t as CapabilityMatrix } from "./capabilities-Cupq4-1--C71ORI3N.mjs";
|
|
7
|
-
import { A as TargetPackRef, C as MutationDefaultGeneratorDescriptor, D as TargetBoundComponentDescriptor, E as SourceSpan, M as checkContractComponentRequirements, O as TargetDescriptor, S as LoweredDefaultValue, T as SourceDiagnostic, _ as ExtensionPackRef, a as ComponentMetadata, b as FamilyPackRef, c as ControlMutationDefaultEntry, d as DefaultFunctionLoweringContext, f as DriverDescriptor, g as ExtensionInstance, h as ExtensionDescriptor, i as ComponentDescriptor, j as TypedDefaultFunctionCall, k as TargetInstance, l as ControlMutationDefaultRegistry, m as DriverPackRef, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as DriverInstance, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as ControlMutationDefaults, v as FamilyDescriptor, w as PackRefBase, x as LoweredDefaultResult, y as FamilyInstance } from "./framework-components-
|
|
8
|
-
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-
|
|
9
|
-
import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-
|
|
10
|
-
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-
|
|
7
|
+
import { A as TargetPackRef, C as MutationDefaultGeneratorDescriptor, D as TargetBoundComponentDescriptor, E as SourceSpan, M as checkContractComponentRequirements, O as TargetDescriptor, S as LoweredDefaultValue, T as SourceDiagnostic, _ as ExtensionPackRef, a as ComponentMetadata, b as FamilyPackRef, c as ControlMutationDefaultEntry, d as DefaultFunctionLoweringContext, f as DriverDescriptor, g as ExtensionInstance, h as ExtensionDescriptor, i as ComponentDescriptor, j as TypedDefaultFunctionCall, k as TargetInstance, l as ControlMutationDefaultRegistry, m as DriverPackRef, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as DriverInstance, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as ControlMutationDefaults, v as FamilyDescriptor, w as PackRefBase, x as LoweredDefaultResult, y as FamilyInstance } from "./framework-components-CDppKaT_-DcMHokB8.mjs";
|
|
8
|
+
import { a as SettledAggregateOverloads, i as SettledAggregateOperation, n as AggregateOverloadAmbiguity, o as settleAggregateOverloads, r as AggregateOverloadDuplicate, t as AggregateCodecTraits } from "./components-CQrZAxZu.mjs";
|
|
9
|
+
import { a as keepInternalSpecifiers, i as ValidationContext, n as GenerateContractTypesOptions, o as resolveRequirementSpecifiers, r as ImportSpecifierResolver, t as EmissionSpi } from "./emission-types-BoSJNKfQ-B_19ILPP.mjs";
|
|
10
|
+
import { A as makePslNamespace, C as PslReferentialAction, D as UNSPECIFIED_PSL_NAMESPACE_ID, E as PslUniqueConstraint, M as namespacePslExtensionBlocks, O as flatPslCompositeTypes, S as PslNamespaceEntry, T as PslTypesBlock, _ as PslIndexConstraint, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, j as makePslNamespaceEntries, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, n as ParsePslDocumentInput, o as PslAttributeNamedArgument, p as PslDiagnostic, r as ParsePslDocumentResult, s as PslAttributePositionalArgument, t as BUILTIN_PSL_KIND_KEYS, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-dnXw52MT-1jSUKlC9.mjs";
|
|
11
11
|
import { t as ImportRequirement } from "./index-CDk9yEbw.mjs";
|
|
12
|
-
import { $ as SchemaDiffIssue, A as MigrationPlan, At as diffSchemas, B as MigrationRunnerFailure, Bt as hasSchemaView, C as ExpectationFailureReason, Ct as assembleAuthoringContributions, D as MigrationOperationClass, Dt as contractSnapshotJsonSpecifier, E as MigrationMetadata, Et as buildExtensionLoadOrder, F as MigrationPlannerFailureResult, Ft as extractQueryOperationTypeImports, G as MigrationScaffoldContext, H as MigrationRunnerPerSpaceSuccessValue, Ht as orderIssuesByDependencies, I as MigrationPlannerResult, It as hasMigrations, J as OperationPreview, K as OpFactoryCall, L as MigrationPlannerSuccessResult, Lt as hasOperationPreview, M as MigrationPlanWithAuthoringSurface, Mt as extractCodecLookup, N as MigrationPlanner, Nt as extractCodecTypeImports, O as MigrationOperationPolicy, Ot as contractSnapshotTypesSpecifier, P as MigrationPlannerConflict, Pt as extractComponentIds, Q as SchemaDiff, R as MigrationRunner, Rt as hasPslContractInfer, S as EmitContractResult, St as VerifyDatabaseSchemaResult, T as MigratableTargetDescriptor, Tt as assertUniqueCodecOwner, U as MigrationRunnerResult, Ut as storageHashHex, V as MigrationRunnerPerSpaceOptions, Vt as issueOutcome, W as MigrationRunnerSuccessValue, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_TARGET_MISMATCH, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerifierOutcome, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_SCHEMA_FAILURE, h as ControlStack, ht as VERIFY_CODE_MARKER_MISSING, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as dispositionForCategory, k as MigrationPackage, kt as createControlStack, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as VERIFY_CODE_HASH_MISMATCH, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TargetMigrationsCapability, q as OperationContext, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VerificationStatus, w as IntrospectSchemaResult, wt as assembleControlMutationDefaults, x as DiffableNode, xt as VerifyDatabaseResult, y as CreateControlStackInput, yt as VerifierIssueCategory, z as MigrationRunnerExecutionChecks, zt as hasSchemaSubjectClassifier } from "./control-
|
|
13
|
-
import "./emission-
|
|
14
|
-
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-
|
|
12
|
+
import { $ as SchemaDiffIssue, A as MigrationPlan, At as diffSchemas, B as MigrationRunnerFailure, Bt as hasSchemaView, C as ExpectationFailureReason, Ct as assembleAuthoringContributions, D as MigrationOperationClass, Dt as contractSnapshotJsonSpecifier, E as MigrationMetadata, Et as buildExtensionLoadOrder, F as MigrationPlannerFailureResult, Ft as extractQueryOperationTypeImports, G as MigrationScaffoldContext, H as MigrationRunnerPerSpaceSuccessValue, Ht as orderIssuesByDependencies, I as MigrationPlannerResult, It as hasMigrations, J as OperationPreview, K as OpFactoryCall, L as MigrationPlannerSuccessResult, Lt as hasOperationPreview, M as MigrationPlanWithAuthoringSurface, Mt as extractCodecLookup, N as MigrationPlanner, Nt as extractCodecTypeImports, O as MigrationOperationPolicy, Ot as contractSnapshotTypesSpecifier, P as MigrationPlannerConflict, Pt as extractComponentIds, Q as SchemaDiff, R as MigrationRunner, Rt as hasPslContractInfer, S as EmitContractResult, St as VerifyDatabaseSchemaResult, T as MigratableTargetDescriptor, Tt as assertUniqueCodecOwner, U as MigrationRunnerResult, Ut as storageHashHex, V as MigrationRunnerPerSpaceOptions, Vt as issueOutcome, W as MigrationRunnerSuccessValue, X as OperationPreviewStatement, Y as OperationPreviewCapable, Z as PslContractInferCapable, _ as ControlTargetInstance, _t as VERIFY_CODE_TARGET_MISMATCH, a as ContractSpace, at as SchemaTreeNodeOptions, b as DiffSubjectGranularity, bt as VerifierOutcome, c as ControlAdapterInstance, ct as SchemaVerifyOptions, d as ControlExtensionDescriptor, dt as SchemaViewNodeKind, et as SchemaEntityCoordinate, f as ControlExtensionInstance, ft as SignDatabaseResult, g as ControlTargetDescriptor, gt as VERIFY_CODE_SCHEMA_FAILURE, h as ControlStack, ht as VERIFY_CODE_MARKER_MISSING, i as ContractSerializer, it as SchemaTreeNode, j as MigrationPlanOperation, jt as dispositionForCategory, k as MigrationPackage, kt as createControlStack, l as ControlDriverDescriptor, lt as SchemaVerifyResult, m as ControlFamilyInstance, mt as VERIFY_CODE_HASH_MISMATCH, n as AssembledAuthoringContributions, nt as SchemaOwnership, o as ContractSpaceHeadRef, ot as SchemaTreeVisitor, p as ControlFamilyDescriptor, pt as TargetMigrationsCapability, q as OperationContext, r as CONTRACT_SNAPSHOTS_DIRNAME, rt as SchemaSubjectClassifierCapable, s as ControlAdapterDescriptor, st as SchemaVerifier, t as APP_SPACE_ID, tt as SchemaNodeRef, u as ControlDriverInstance, ut as SchemaViewCapable, v as CoreSchemaView, vt as VerificationStatus, w as IntrospectSchemaResult, wt as assembleControlMutationDefaults, x as DiffableNode, xt as VerifyDatabaseResult, y as CreateControlStackInput, yt as VerifierIssueCategory, z as MigrationRunnerExecutionChecks, zt as hasSchemaSubjectClassifier } from "./control-eH2MIHqA.mjs";
|
|
13
|
+
import "./emission-BWD6Z6w9.mjs";
|
|
14
|
+
import { a as RuntimeDriverDescriptor, c as RuntimeExtensionInstance, d as RuntimeTargetDescriptor, f as RuntimeTargetInstance, h as instantiateExecutionStack, i as RuntimeAdapterInstance, l as RuntimeFamilyDescriptor, m as createExecutionStack, n as ExecutionStackInstance, o as RuntimeDriverInstance, p as assertRuntimeContractRequirementsSatisfied, r as RuntimeAdapterDescriptor, s as RuntimeExtensionDescriptor, t as ExecutionStack, u as RuntimeFamilyInstance } from "./execution-BDzJVN0t.mjs";
|
|
15
15
|
import { t as isPlainRecord } from "./is-plain-record-C9BWiqcw.mjs";
|
|
16
|
-
import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b as freezeNode, c as NamespaceBase, d as Storage, f as StorageType, g as coordinateKey, h as buildSingleNamespaceView, i as EntityKindDescriptor, l as NamespacedEntities, m as buildNamespacedEntities, n as DefaultNamespaceEntries, o as IRNodeBase, p as UNBOUND_NAMESPACE_ID, r as EntityCoordinate, s as Namespace, t as AnyEntityKindDescriptor, u as SingleNamespaceView, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-
|
|
17
|
-
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-
|
|
18
|
-
import { A as
|
|
16
|
+
import { S as promoteBuiltinKinds, _ as domainElementCoordinates, a as IRNode, b as freezeNode, c as NamespaceBase, d as Storage, f as StorageType, g as coordinateKey, h as buildSingleNamespaceView, i as EntityKindDescriptor, l as NamespacedEntities, m as buildNamespacedEntities, n as DefaultNamespaceEntries, o as IRNodeBase, p as UNBOUND_NAMESPACE_ID, r as EntityCoordinate, s as Namespace, t as AnyEntityKindDescriptor, u as SingleNamespaceView, v as elementCoordinates, x as hydrateNamespaceEntities, y as entityAt } from "./ir-BGaPKem0.mjs";
|
|
17
|
+
import { n as validateExtensionBlock, t as ExtensionBlockRefResolutionContext } from "./psl-ast-BkfQwHjE.mjs";
|
|
18
|
+
import { A as Scalars, B as raceAgainstAbort, C as RuntimeErrorEnvelope, D as RuntimeMiddleware, E as RuntimeLog, F as checkAborted, G as runtimeAborted, H as runBeforeQueryChain, I as checkMiddlewareCompatibility, K as runtimeError, L as createMetaBuilder, M as ShapeSpec, N as ValidAnnotations, O as RuntimeMiddlewareContext, P as assertAnnotationsApplicable, R as defineAnnotation, S as RuntimeCoreOptions, T as RuntimeExecutor, U as runExecuteWithMiddleware, V as runBeforeExecuteChain, W as runQueryWithMiddleware, _ as RelationKeys, a as AsyncIterableResult, b as RuntimeAbortedPhase, c as ExecuteInterceptResult, d as MetaBuilder, f as OperationKind, g as RUNTIME_ABORTED, h as QueryPlan, i as AnnotationValue, j as Shape, k as RuntimeStatementStats, l as ExecutionPlan, m as QueryInterceptResult, n as AfterQueryResult, o as CrossFamilyMiddleware, p as ParamRefMutator, r as AnnotationHandle, s as DefineAnnotationOptions, t as AfterExecuteResult, u as LaneMetaBuilder, v as RelationNamesOf, w as RuntimeExecuteOptions, x as RuntimeCore, y as ResultType, z as isRuntimeError } from "./runtime-DOHhUPFx.mjs";
|
|
19
19
|
import { t as canonicalizeJson } from "./utils-DeWL_zD9.mjs";
|
|
20
|
-
export { APP_SPACE_ID, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AfterExecuteResult, type AfterQueryResult, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationValue, type AnyCodecDescriptor, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, type AssembledAuthoringContributions, AsyncIterableResult, type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionBlockRefResolutionContext, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GenerateContractTypesOptions, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntrospectSchemaResult, type LaneMetaBuilder, type LoweredDefaultResult, type LoweredDefaultValue, type MetaBuilder, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, ParsePslDocumentInput, ParsePslDocumentResult, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, type ResultType, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMiddlewareContext, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, type ScalarTypeConstructorOutput, SchemaDiff, type SchemaDiffIssue, type SchemaEntityCoordinate, type SchemaNodeRef, type SchemaOwnership, type SchemaSubjectClassifierCapable, SchemaTreeNode, type SchemaTreeNodeOptions, type SchemaTreeVisitor, type SchemaVerifier, type SchemaVerifyOptions, type SchemaVerifyResult, type SchemaViewCapable, type SchemaViewNodeKind, type SelfAggregateOutput, type SettledAggregateOperation, type SettledAggregateOverloads, type SignDatabaseResult, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type Storage, type StorageType, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValidationContext, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
|
20
|
+
export { APP_SPACE_ID, type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type AfterExecuteResult, type AfterQueryResult, type AggregateCodecTraits, type AggregateDescriptor, type AggregateInputMatch, type AggregateOutputCodec, type AggregateOverloadAmbiguity, type AggregateOverloadDuplicate, type AggregateResultNullability, type AnnotationHandle, type AnnotationValue, type AnyCodecDescriptor, type AnyEntityKindDescriptor, type AnyInputAggregateDescriptor, 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 AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, type CapabilityMatrix, type Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorImpl, CodecImpl, type CodecInstanceContext, type CodecLookup, type CodecRef, type CodecRegistry, type CodecTrait, type ColumnHelperFor, type ColumnHelperForStrict, type ColumnSpec, type ColumnTypeDescriptor, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type ContractSerializer, type ContractSpace, type ContractSpaceHeadRef, type ContributedPslDiagnosticCode, type ControlAdapterDescriptor, type ControlAdapterInstance, type ControlDriverDescriptor, type ControlDriverInstance, type ControlExtensionDescriptor, type ControlExtensionInstance, type ControlFamilyDescriptor, type ControlFamilyInstance, type ControlMutationDefaultEntry, type ControlMutationDefaultRegistry, type ControlMutationDefaults, type ControlStack, type ControlTargetDescriptor, type ControlTargetInstance, type CoreSchemaView, type CreateControlStackInput, type CrossFamilyMiddleware, type DefaultFunctionLoweringContext, type DefaultNamespaceEntries, type DefineAnnotationOptions, type DiffSubjectGranularity, type DiffableNode, type DriverDescriptor, type DriverInstance, type DriverPackRef, type EmissionSpi, type EmitContractResult, type EntityCoordinate, type EntityKindDescriptor, type ExecuteInterceptResult, type ExecutionPlan, type ExecutionStack, type ExecutionStackInstance, type ExpectationFailureReason, type ExtensionBlockRefResolutionContext, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type FamilyPackRef, type GenerateContractTypesOptions, type IRNode, IRNodeBase, type ImportRequirement, type ImportSpecifierResolver, type IntrospectSchemaResult, type LaneMetaBuilder, type LoweredDefaultResult, type LoweredDefaultValue, type MetaBuilder, type MigratableTargetDescriptor, type MigrationMetadata, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPackage, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanWithAuthoringSurface, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerFailureResult, type MigrationPlannerResult, type MigrationPlannerSuccessResult, type MigrationRunner, type MigrationRunnerExecutionChecks, type MigrationRunnerFailure, type MigrationRunnerPerSpaceOptions, type MigrationRunnerPerSpaceSuccessValue, type MigrationRunnerResult, type MigrationRunnerSuccessValue, type MigrationScaffoldContext, type MutationDefaultGeneratorDescriptor, type NamedAggregateOutput, type Namespace, NamespaceBase, type NamespacedEntities, type NoInputAggregateDescriptor, type OpFactoryCall, type OperationContext, type OperationKind, type OperationPreview, type OperationPreviewCapable, type OperationPreviewStatement, type PackRefBase, type ParamRefMutator, ParsePslDocumentInput, ParsePslDocumentResult, PslAttribute, PslAttributeArgument, PslAttributeNamedArgument, PslAttributePositionalArgument, PslAttributeTarget, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, PslCompositeType, type PslContractInferCapable, PslDefaultFunctionValue, PslDefaultLiteralValue, PslDefaultValue, PslDiagnostic, type PslDiagnosticCode, PslDocumentAst, type PslExtensionBlock, type PslExtensionBlockAttribute, type PslExtensionBlockAttributeArg, type PslExtensionBlockParamBare, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslExtensionBlockParsedAttribute, PslField, PslFieldAttribute, PslIndexConstraint, PslModel, PslModelAttribute, PslNamedTypeDeclaration, PslNamespace, PslNamespaceEntry, type PslPosition, PslReferentialAction, type PslSpan, PslTypeConstructorCall, PslTypesBlock, PslUniqueConstraint, type QueryInterceptResult, type QueryPlan, RUNTIME_ABORTED, RelationKeys, type RelationNamesOf, type ResultType, type RuntimeAbortedPhase, type RuntimeAdapterDescriptor, type RuntimeAdapterInstance, RuntimeCore, type RuntimeCoreOptions, type RuntimeDriverDescriptor, type RuntimeDriverInstance, type RuntimeErrorEnvelope, type RuntimeExecuteOptions, type RuntimeExecutor, type RuntimeExtensionDescriptor, type RuntimeExtensionInstance, type RuntimeFamilyDescriptor, type RuntimeFamilyInstance, type RuntimeLog, type RuntimeMiddleware, type RuntimeMiddlewareContext, type RuntimeStatementStats, type RuntimeTargetDescriptor, type RuntimeTargetInstance, 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 SignDatabaseResult, type SingleNamespaceView, type SourceDiagnostic, type SourceSpan, type Storage, type StorageType, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetMigrationsCapability, type TargetPackRef, type TypedDefaultFunctionCall, type TypesImportSpec, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, type ValidAnnotations, type ValidationContext, type ValueInputAggregateDescriptor, type VerificationStatus, type VerifierIssueCategory, type VerifierOutcome, type VerifyDatabaseResult, type VerifyDatabaseSchemaResult, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
package/dist/components.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as isPlainRecord } from "./is-plain-record-CUofyVQ7-DWEzdhIx.mjs";
|
|
2
2
|
import { n as runtimeError, t as isRuntimeError } from "./runtime-error-BA9d7XjZ-BlT8t6LB.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { r as voidParamsSchema, t as emptyCodecLookup } from "./codec-types-
|
|
5
|
-
import { i as validateCodecTypeParams, n as materializeCodec, r as resolveCodecDescriptorOrThrow, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from "./resolve-codec-
|
|
6
|
-
import { i as renderTsLiteral, n as CodecImpl, r as column, t as CodecDescriptorImpl } from "./codec-
|
|
7
|
-
import { a as mergeCapabilityMatrices, i as isNoInputAggregateDescriptor, n as isAggregateDescriptor, r as isAnyInputAggregateDescriptor, t as aggregateDescriptorKey } from "./capabilities-
|
|
3
|
+
import { a as collectScalarTypeConstructors, b as resolveEnumCodecId, c as instantiateAuthoringEntityType, d as isAuthoringArgRef, f as isAuthoringEntityTypeDescriptor, g as isAuthoringTypeConstructorDescriptor, h as isAuthoringPslBlockDescriptor, l as instantiateAuthoringFieldPreset, m as isAuthoringModelAttributeDescriptor, n as assertResolvableTypeConstructorTemplates, o as flushAuthoringWarnings, p as isAuthoringFieldPresetDescriptor, r as classifyEnumMemberType, s as hasRegisteredFieldNamespace, t as assertNoCrossRegistryCollisions, u as instantiateAuthoringTypeConstructor, v as mergeAuthoringNamespaces, x as validateAuthoringHelperArguments, y as resolveAuthoringTemplateValue } from "./framework-authoring-BvxZnsPY-DlD1nwU5.mjs";
|
|
4
|
+
import { r as voidParamsSchema, t as emptyCodecLookup } from "./codec-types-smcGzGq6-BohNffPc.mjs";
|
|
5
|
+
import { i as validateCodecTypeParams, n as materializeCodec, r as resolveCodecDescriptorOrThrow, t as CONTRACT_CODEC_DESCRIPTOR_MISSING } from "./resolve-codec-BLRGmP1f-CydhIhLP.mjs";
|
|
6
|
+
import { i as renderTsLiteral, n as CodecImpl, r as column, t as CodecDescriptorImpl } from "./codec-DWYH-Ra4.mjs";
|
|
7
|
+
import { a as mergeCapabilityMatrices, i as isNoInputAggregateDescriptor, n as isAggregateDescriptor, r as isAnyInputAggregateDescriptor, t as aggregateDescriptorKey } from "./capabilities-BzwH_XMZ-CkgWaxF9.mjs";
|
|
8
8
|
import { t as checkContractComponentRequirements } from "./framework-components-D6j4Y5K7-RW9H184y.mjs";
|
|
9
|
-
import { t as settleAggregateOverloads } from "./components-
|
|
10
|
-
import { C as hasOperationPreview, D as issueOutcome, E as hasSchemaView, O as orderIssuesByDependencies, S as hasMigrations, T as hasSchemaSubjectClassifier, _ as dispositionForCategory, a as VERIFY_CODE_HASH_MISMATCH, b as extractComponentIds, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as diffSchemas, h as createControlStack, i as SchemaTreeNode, k as storageHashHex, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as extractCodecLookup, w as hasPslContractInfer, x as extractQueryOperationTypeImports, y as extractCodecTypeImports } from "./control-
|
|
9
|
+
import { t as settleAggregateOverloads } from "./components-CnV-6irM.mjs";
|
|
10
|
+
import { C as hasOperationPreview, D as issueOutcome, E as hasSchemaView, O as orderIssuesByDependencies, S as hasMigrations, T as hasSchemaSubjectClassifier, _ as dispositionForCategory, a as VERIFY_CODE_HASH_MISMATCH, b as extractComponentIds, c as VERIFY_CODE_TARGET_MISMATCH, d as assertUniqueCodecOwner, f as buildExtensionLoadOrder, g as diffSchemas, h as createControlStack, i as SchemaTreeNode, k as storageHashHex, l as assembleAuthoringContributions, m as contractSnapshotTypesSpecifier, n as CONTRACT_SNAPSHOTS_DIRNAME, o as VERIFY_CODE_MARKER_MISSING, p as contractSnapshotJsonSpecifier, r as SchemaDiff, s as VERIFY_CODE_SCHEMA_FAILURE, t as APP_SPACE_ID, u as assembleControlMutationDefaults, v as extractCodecLookup, w as hasPslContractInfer, x as extractQueryOperationTypeImports, y as extractCodecTypeImports } from "./control-DR0zF1b7.mjs";
|
|
11
11
|
import { n as resolveRequirementSpecifiers, t as keepInternalSpecifiers } from "./emission-CeoAV9mj.mjs";
|
|
12
12
|
import { n as createExecutionStack, r as instantiateExecutionStack, t as assertRuntimeContractRequirementsSatisfied } from "./execution-BNwBzmRd.mjs";
|
|
13
|
-
import { a as buildSingleNamespaceView, c as elementCoordinates, d as hydrateNamespaceEntities, f as promoteBuiltinKinds, i as buildNamespacedEntities, l as entityAt, n as NamespaceBase, o as coordinateKey, r as UNBOUND_NAMESPACE_ID, s as domainElementCoordinates, t as IRNodeBase, u as freezeNode } from "./ir-
|
|
13
|
+
import { a as buildSingleNamespaceView, c as elementCoordinates, d as hydrateNamespaceEntities, f as promoteBuiltinKinds, i as buildNamespacedEntities, l as entityAt, n as NamespaceBase, o as coordinateKey, r as UNBOUND_NAMESPACE_ID, s as domainElementCoordinates, t as IRNodeBase, u as freezeNode } from "./ir-CV5d1FJ0.mjs";
|
|
14
14
|
import { a as makePslNamespace, c as validateExtensionBlock, i as flatPslModels, n as UNSPECIFIED_PSL_NAMESPACE_ID, o as makePslNamespaceEntries, r as flatPslCompositeTypes, s as namespacePslExtensionBlocks, t as BUILTIN_PSL_KIND_KEYS } from "./psl-ast-DUCvVXbB.mjs";
|
|
15
|
-
import { a as
|
|
15
|
+
import { a as assertAnnotationsApplicable, c as createMetaBuilder, d as runBeforeExecuteChain, f as runBeforeQueryChain, h as runtimeAborted, i as RuntimeCore, l as defineAnnotation, m as runQueryWithMiddleware, n as RUNTIME_ABORTED, o as checkAborted, p as runExecuteWithMiddleware, r as RelationKeys, s as checkMiddlewareCompatibility, t as AsyncIterableResult, u as raceAgainstAbort } from "./runtime-DXmHIbAr.mjs";
|
|
16
16
|
import { t as canonicalizeJson } from "./utils-DMAM0unR.mjs";
|
|
17
|
-
export { APP_SPACE_ID, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecImpl, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RuntimeCore, SchemaDiff, SchemaTreeNode, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
|
17
|
+
export { APP_SPACE_ID, AsyncIterableResult, BUILTIN_PSL_KIND_KEYS, CONTRACT_CODEC_DESCRIPTOR_MISSING, CONTRACT_SNAPSHOTS_DIRNAME, CodecDescriptorImpl, CodecImpl, IRNodeBase, NamespaceBase, RUNTIME_ABORTED, RelationKeys, RuntimeCore, SchemaDiff, SchemaTreeNode, UNBOUND_NAMESPACE_ID, UNSPECIFIED_PSL_NAMESPACE_ID, VERIFY_CODE_HASH_MISMATCH, VERIFY_CODE_MARKER_MISSING, VERIFY_CODE_SCHEMA_FAILURE, VERIFY_CODE_TARGET_MISMATCH, aggregateDescriptorKey, assembleAuthoringContributions, assembleControlMutationDefaults, assertAnnotationsApplicable, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, assertRuntimeContractRequirementsSatisfied, assertUniqueCodecOwner, buildExtensionLoadOrder, buildNamespacedEntities, buildSingleNamespaceView, canonicalizeJson, checkAborted, checkContractComponentRequirements, checkMiddlewareCompatibility, classifyEnumMemberType, collectScalarTypeConstructors, column, contractSnapshotJsonSpecifier, contractSnapshotTypesSpecifier, coordinateKey, createControlStack, createExecutionStack, createMetaBuilder, defineAnnotation, diffSchemas, dispositionForCategory, domainElementCoordinates, elementCoordinates, emptyCodecLookup, entityAt, extractCodecLookup, extractCodecTypeImports, extractComponentIds, extractQueryOperationTypeImports, flatPslCompositeTypes, flatPslModels, flushAuthoringWarnings, freezeNode, hasMigrations, hasOperationPreview, hasPslContractInfer, hasRegisteredFieldNamespace, hasSchemaSubjectClassifier, hasSchemaView, hydrateNamespaceEntities, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, instantiateExecutionStack, isAggregateDescriptor, isAnyInputAggregateDescriptor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, isNoInputAggregateDescriptor, isPlainRecord, isRuntimeError, issueOutcome, keepInternalSpecifiers, makePslNamespace, makePslNamespaceEntries, materializeCodec, mergeAuthoringNamespaces, mergeCapabilityMatrices, namespacePslExtensionBlocks, orderIssuesByDependencies, promoteBuiltinKinds, raceAgainstAbort, renderTsLiteral, resolveAuthoringTemplateValue, resolveCodecDescriptorOrThrow, resolveEnumCodecId, resolveRequirementSpecifiers, runBeforeExecuteChain, runBeforeQueryChain, runExecuteWithMiddleware, runQueryWithMiddleware, runtimeAborted, runtimeError, settleAggregateOverloads, storageHashHex, validateAuthoringHelperArguments, validateCodecTypeParams, validateExtensionBlock, voidParamsSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import "./authoring-
|
|
3
|
-
export { type AuthoringArgRef, type AuthoringArgumentDescriptor, type AuthoringColumnDefaultTemplate, type AuthoringContributions, type AuthoringDiagnosticSink, type AuthoringEntityContext, type AuthoringEntityTypeDescriptor, type AuthoringEntityTypeFactoryOutput, type AuthoringEntityTypeNamespace, type AuthoringEntityTypeTemplateOutput, type AuthoringFieldNamespace, type AuthoringFieldPresetDescriptor, type AuthoringFieldPresetOutput, type AuthoringModelAttributeContext, type AuthoringModelAttributeDescriptor, type AuthoringModelAttributeDescriptorNamespace, type AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, type PslExtensionBlock, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type ScalarTypeConstructorOutput, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, validateAuthoringHelperArguments };
|
|
1
|
+
import { $ as collectScalarTypeConstructors, C as AuthoringStorageTypeTemplate, D as AuthoringTypeNamespace, E as AuthoringTypeConstructorEntityRef, F as PslBlockParamValue, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, K as PslExtensionBlockParsedAttribute, L as PslExtensionBlock, M as PslBlockParamList, N as PslBlockParamOption, O as AuthoringWarning, P as PslBlockParamRef, Q as classifyEnumMemberType, S as AuthoringSelectRef, T as AuthoringTypeConstructorDescriptor, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, X as assertNoCrossRegistryCollisions, Y as ScalarTypeConstructorOutput, Z as assertResolvableTypeConstructorTemplates, _ as AuthoringModelAttributeDescriptorNamespace, a as AuthoringContributions, at as isAuthoringArgRef, b as AuthoringPslBlockDescriptor, c as AuthoringEntityTypeDescriptor, ct as isAuthoringModelAttributeDescriptor, d as AuthoringEntityTypeTemplateOutput, dt as mergeAuthoringNamespaces, et as flushAuthoringWarnings, f as AuthoringFieldNamespace, ft as resolveAuthoringTemplateValue, g as AuthoringModelAttributeDescriptor, h as AuthoringModelAttributeContext, i as AuthoringColumnDefaultTemplate, it as instantiateAuthoringTypeConstructor, j as PslBlockParam, k as AuthoringWarningSink, l as AuthoringEntityTypeFactoryOutput, lt as isAuthoringPslBlockDescriptor, m as AuthoringFieldPresetOutput, mt as validateAuthoringHelperArguments, n as AuthoringArgumentDescriptor, nt as instantiateAuthoringEntityType, o as AuthoringDiagnosticSink, ot as isAuthoringEntityTypeDescriptor, p as AuthoringFieldPresetDescriptor, pt as resolveEnumCodecId, r as AuthoringAttributeSpecContributions, rt as instantiateAuthoringFieldPreset, s as AuthoringEntityContext, st as isAuthoringFieldPresetDescriptor, t as AuthoringArgRef, tt as hasRegisteredFieldNamespace, u as AuthoringEntityTypeNamespace, ut as isAuthoringTypeConstructorDescriptor, v as AuthoringModelAttributeLoweringOutput, w as AuthoringTemplateValue, x as AuthoringPslBlockDescriptorNamespace, y as AuthoringOption } from "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
|
2
|
+
import "./authoring-D2ngo2MB.mjs";
|
|
3
|
+
export { 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 AuthoringModelAttributeLoweringOutput, type AuthoringOption, type AuthoringPslBlockDescriptor, type AuthoringPslBlockDescriptorNamespace, type AuthoringSelectRef, type AuthoringStorageTypeTemplate, type AuthoringTemplateValue, type AuthoringTypeConstructorDescriptor, type AuthoringTypeConstructorEntityRef, type AuthoringTypeNamespace, type AuthoringWarning, type AuthoringWarningSink, type PslBlockParam, type PslBlockParamList, type PslBlockParamOption, type PslBlockParamRef, type PslBlockParamValue, type PslExtensionBlock, type PslExtensionBlockParamList, type PslExtensionBlockParamOption, type PslExtensionBlockParamRef, type PslExtensionBlockParamScalarValue, type PslExtensionBlockParamValue, type PslExtensionBlockParsedAttribute, type ScalarTypeConstructorOutput, assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, validateAuthoringHelperArguments };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as collectScalarTypeConstructors, b as resolveEnumCodecId, c as instantiateAuthoringEntityType, d as isAuthoringArgRef, f as isAuthoringEntityTypeDescriptor, g as isAuthoringTypeConstructorDescriptor, h as isAuthoringPslBlockDescriptor, l as instantiateAuthoringFieldPreset, m as isAuthoringModelAttributeDescriptor, n as assertResolvableTypeConstructorTemplates, o as flushAuthoringWarnings, p as isAuthoringFieldPresetDescriptor, r as classifyEnumMemberType, s as hasRegisteredFieldNamespace, t as assertNoCrossRegistryCollisions, u as instantiateAuthoringTypeConstructor, v as mergeAuthoringNamespaces, x as validateAuthoringHelperArguments, y as resolveAuthoringTemplateValue } from "./framework-authoring-BvxZnsPY-DlD1nwU5.mjs";
|
|
2
2
|
export { assertNoCrossRegistryCollisions, assertResolvableTypeConstructorTemplates, classifyEnumMemberType, collectScalarTypeConstructors, flushAuthoringWarnings, hasRegisteredFieldNamespace, instantiateAuthoringEntityType, instantiateAuthoringFieldPreset, instantiateAuthoringTypeConstructor, isAuthoringArgRef, isAuthoringEntityTypeDescriptor, isAuthoringFieldPresetDescriptor, isAuthoringModelAttributeDescriptor, isAuthoringPslBlockDescriptor, isAuthoringTypeConstructorDescriptor, mergeAuthoringNamespaces, resolveAuthoringTemplateValue, resolveEnumCodecId, validateAuthoringHelperArguments };
|