@prisma/orm-framework 8.0.0-rc.9-dev.1 → 8.0.0-rc.9-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{apply-specifier-default-control-policy-CAxiXxKg.d.mts → apply-specifier-default-control-policy-yxEeh3lJ.d.mts} +2 -2
- package/dist/apply-specifier-default-control-policy-yxEeh3lJ.d.mts.map +1 -0
- package/dist/authoring-D2ngo2MB.d.mts +1 -0
- package/dist/{canonicalization-DFpB09nP-4OdB2nsy.d.mts → canonicalization-uZb7Sjk2-Dx6ifIWL.d.mts} +3 -3
- package/dist/{canonicalization-DFpB09nP-4OdB2nsy.d.mts.map → canonicalization-uZb7Sjk2-Dx6ifIWL.d.mts.map} +1 -1
- package/dist/{codec-DHvxe5tk.d.mts → codec-DxAIshoO.d.mts} +3 -3
- package/dist/{codec-DHvxe5tk.d.mts.map → codec-DxAIshoO.d.mts.map} +1 -1
- package/dist/{codec-types-nVMtogur-DkhzrAqE.d.mts → codec-types-nVMtogur-CYBdUQUH.d.mts} +2 -2
- package/dist/{codec-types-nVMtogur-DkhzrAqE.d.mts.map → codec-types-nVMtogur-CYBdUQUH.d.mts.map} +1 -1
- package/dist/{components-BQv52KQK.d.mts → components-CQrZAxZu.d.mts} +4 -4
- package/dist/{components-BQv52KQK.d.mts.map → components-CQrZAxZu.d.mts.map} +1 -1
- package/dist/components.d.mts +16 -16
- package/dist/components.mjs +2 -2
- package/dist/components__authoring.d.mts +2 -2
- package/dist/components__codec.d.mts +2 -2
- package/dist/components__components.d.mts +3 -3
- package/dist/components__control.d.mts +2 -2
- 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__psl-ast.d.mts +3 -3
- package/dist/components__runtime.d.mts +2 -2
- package/dist/components__runtime.mjs +2 -2
- package/dist/{config-types-Bs2RmoF1.d.mts → config-types-udmMgDBA.d.mts} +7 -7
- package/dist/{config-types-Bs2RmoF1.d.mts.map → config-types-udmMgDBA.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +39 -4
- package/dist/contract-authoring.d.mts.map +1 -1
- package/dist/contract-authoring.mjs +64 -1
- package/dist/contract-authoring.mjs.map +1 -1
- package/dist/{contract-types-CkdMH7F7-9EHXSwbH.d.mts → contract-types-HCUyPohe-CuimQxo_.d.mts} +3 -3
- package/dist/{contract-types-CkdMH7F7-9EHXSwbH.d.mts.map → contract-types-HCUyPohe-CuimQxo_.d.mts.map} +1 -1
- package/dist/contract.d.mts +11 -11
- package/dist/contract.mjs +1 -1
- package/dist/contract__apply-specifier-default-control-policy.d.mts +1 -1
- package/dist/contract__enum-accessor.d.mts +1 -1
- package/dist/contract__hashing-utils.d.mts +1 -1
- package/dist/contract__hashing.d.mts +2 -2
- package/dist/contract__resolve-domain-model.d.mts +1 -1
- package/dist/contract__types.d.mts +5 -5
- package/dist/contract__validate-domain.d.mts +1 -1
- package/dist/contract__validate-domain.mjs +1 -1
- package/dist/{control-CjcbNOkD.d.mts → control-B32e7diK.d.mts} +10 -10
- package/dist/{control-CjcbNOkD.d.mts.map → control-B32e7diK.d.mts.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-Cd3DfQdp.d.mts +2 -0
- package/dist/{emission-types-D9HO45ZP-DNR08QfB.d.mts → emission-types-BoSJNKfQ-D0NRnZiA.d.mts} +10 -6
- package/dist/emission-types-BoSJNKfQ-D0NRnZiA.d.mts.map +1 -0
- package/dist/{enum-accessor-PH5vjghI.d.mts → enum-accessor-Gr9UcG-r.d.mts} +3 -3
- package/dist/{enum-accessor-PH5vjghI.d.mts.map → enum-accessor-Gr9UcG-r.d.mts.map} +1 -1
- package/dist/errors.d.mts +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/{execution-Bip-dSRD.d.mts → execution-BDzJVN0t.d.mts} +2 -2
- package/dist/{execution-Bip-dSRD.d.mts.map → execution-BDzJVN0t.d.mts.map} +1 -1
- package/dist/{execution-BBhG0eEX.d.mts → execution-CdhoM1OQ.d.mts} +2 -2
- package/dist/{execution-BBhG0eEX.d.mts.map → execution-CdhoM1OQ.d.mts.map} +1 -1
- package/dist/{framework-authoring-BYgPL2X6-DMWdZRe_.d.mts → framework-authoring-BYgPL2X6-DMKO0Z_k.d.mts} +3 -3
- package/dist/{framework-authoring-BYgPL2X6-DMWdZRe_.d.mts.map → framework-authoring-BYgPL2X6-DMKO0Z_k.d.mts.map} +1 -1
- package/dist/{framework-components-Cbc_SNqC-3S58m-me.d.mts → framework-components-CDppKaT_-DcMHokB8.d.mts} +9 -6
- package/dist/{framework-components-Cbc_SNqC-3S58m-me.d.mts.map → framework-components-CDppKaT_-DcMHokB8.d.mts.map} +1 -1
- package/dist/{hashing-CccSPELN.d.mts → hashing-D9wV2IJu.d.mts} +3 -3
- package/dist/{hashing-CccSPELN.d.mts.map → hashing-D9wV2IJu.d.mts.map} +1 -1
- package/dist/{hashing-utils-qKu59RSC.d.mts → hashing-utils-Bp0ZYY57.d.mts} +2 -2
- package/dist/{hashing-utils-qKu59RSC.d.mts.map → hashing-utils-Bp0ZYY57.d.mts.map} +1 -1
- package/dist/ids.d.mts +2 -2
- package/dist/ids__runtime.d.mts +1 -1
- 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/{parse-B5xYL_oV-EhHFhFC2.d.mts → parse-B5xYL_oV-aGFgfM8N.d.mts} +3 -3
- package/dist/{parse-B5xYL_oV-EhHFhFC2.d.mts.map → parse-B5xYL_oV-aGFgfM8N.d.mts.map} +1 -1
- package/dist/{psl-ast-TV65PbYl.d.mts → psl-ast-BkfQwHjE.d.mts} +4 -4
- package/dist/{psl-ast-TV65PbYl.d.mts.map → psl-ast-BkfQwHjE.d.mts.map} +1 -1
- package/dist/{psl-ast-dnXw52MT-Bl0_KlW1.d.mts → psl-ast-dnXw52MT-1jSUKlC9.d.mts} +3 -3
- package/dist/{psl-ast-dnXw52MT-Bl0_KlW1.d.mts.map → psl-ast-dnXw52MT-1jSUKlC9.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +10 -10
- 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 +24 -1
- package/dist/psl-parser__interpret.mjs.map +1 -1
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-printer.d.mts +6 -6
- 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/{runtime-P51wsD3y.d.mts → runtime-DOHhUPFx.d.mts} +66 -4
- package/dist/{runtime-P51wsD3y.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/{symbol-table-BeOQBu3C-JNYN-J1H.d.mts → symbol-table-BeOQBu3C-DduAXEh6.d.mts} +5 -5
- package/dist/{symbol-table-BeOQBu3C-JNYN-J1H.d.mts.map → symbol-table-BeOQBu3C-DduAXEh6.d.mts.map} +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-import-spec-BijT0b-s-ccYJ7L30.d.mts → types-import-spec-BijT0b-s-253rIcmj.d.mts} +3 -3
- package/dist/{types-import-spec-BijT0b-s-ccYJ7L30.d.mts.map → types-import-spec-BijT0b-s-253rIcmj.d.mts.map} +1 -1
- 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 +15 -15
- package/dist/apply-specifier-default-control-policy-CAxiXxKg.d.mts.map +0 -1
- package/dist/authoring-CsmBwxxc.d.mts +0 -1
- package/dist/emission-CKmOaYU1.d.mts +0 -2
- package/dist/emission-types-D9HO45ZP-DNR08QfB.d.mts.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-authoring-BYgPL2X6-
|
|
1
|
+
{"version":3,"file":"framework-authoring-BYgPL2X6-DMKO0Z_k.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/framework-authoring-BYgPL2X6.d.mts"],"mappings":";;;;;;;;;;;;UAWU;WACC;WACA;;;;UAID;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;KAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0FA;;;;;;;;;;;;;KAaA,gBAAgB,mBAAmB,qBAAqB,sBAAsB;UACzE;WACC;WACA;WACA;WACA;;UAED;WACC;WACA;WACA;;UAED,4BAA4B;WAC3B;;UAED;WACC;WACA,IAAI;WACJ;;;;;;;;;;;;;;;;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;;;;iBASrI,4BAA4B,eAAe,oCAAoC;;;;;;;;;;;;;;;;;;;;iBAoB/E,yBAAyB,QAAQ,yBAAyB,QAAQ,yBAAyB,yBAAyB,wBAAwB;UACnJ;WACC;WACA;WACA,aAAa;;;;;;;;;;;;;;;;;iBAiBP,8BAA8B,WAAW,yBAAyB,oBAAoB;;;;;;;;;;iBAUtF,yCAAyC,WAAW,wBAAwB,uBAAuB;iBACnG,gCAAgC,eAAe,wBAAwB,gBAAgB,yBAAyB,sBAAsB,8BAA8B,oBAAoB,sCAAsC,0BAA0B;iBACxP,8BAA8B,UAAU,oCAAoC;iBAC5E,iCAAiC,oBAAoB,sBAAsB,2CAA2C;iBACtH,oCAAoC,YAAY,oCAAoC;WAC1F;WACA;WACA,aAAa;;iBAEP,+BAA+B,mBAAmB,oBAAoB,YAAY,+BAA+B,0BAA0B,KAAK,yBAAyB;iBACzK,gCAAgC,YAAY,gCAAgC;WAClF;aACE;aACA;aACA,aAAa;;WAEf;WACA,UAAU;WACV,oBAAoB;WACpB;WACA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as AnyCodecDescriptor } from "./codec-types-nVMtogur-
|
|
3
|
-
import { a as AuthoringContributions } from "./framework-authoring-BYgPL2X6-
|
|
4
|
-
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-BijT0b-s-
|
|
5
|
-
//#region ../../../1-framework/1-core/framework-components/dist/framework-components-
|
|
1
|
+
import { F as ExecutionMutationDefaultValue, P as ExecutionMutationDefaultPhases, a as ColumnDefault } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { t as AnyCodecDescriptor } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
3
|
+
import { a as AuthoringContributions } from "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
|
4
|
+
import { l as TypesImportSpec, t as AggregateDescriptor } from "./types-import-spec-BijT0b-s-253rIcmj.mjs";
|
|
5
|
+
//#region ../../../1-framework/1-core/framework-components/dist/framework-components-CDppKaT_.d.mts
|
|
6
6
|
//#region src/shared/mutation-default-types.d.ts
|
|
7
7
|
interface SourcePosition {
|
|
8
8
|
readonly offset: number;
|
|
@@ -243,6 +243,8 @@ interface TargetDescriptor<TFamilyId extends string, TTargetId extends string> e
|
|
|
243
243
|
readonly familyId: TFamilyId;
|
|
244
244
|
/** The target identifier (e.g., 'postgres', 'mysql', 'mongodb') */
|
|
245
245
|
readonly targetId: TTargetId;
|
|
246
|
+
/** Whether the target has a namespace mechanism (Postgres schemas, Mongo namespaces). Absent means true. When false, emitted `Models` member names and the `models` constant drop the namespace segment. */
|
|
247
|
+
readonly supportsNamespaces?: boolean;
|
|
246
248
|
}
|
|
247
249
|
/**
|
|
248
250
|
* Base shape for any pack reference. Pack refs are pure JSON-friendly objects safe to import in authoring flows.
|
|
@@ -259,6 +261,7 @@ type TargetPackRef<TFamilyId extends string = string, TTargetId extends string =
|
|
|
259
261
|
readonly targetId: TTargetId;
|
|
260
262
|
/** The namespace a bare (un-namespaced) entity name resolves to for this target (e.g. Postgres `'public'`). */
|
|
261
263
|
readonly defaultNamespaceId: string;
|
|
264
|
+
readonly supportsNamespaces?: boolean;
|
|
262
265
|
};
|
|
263
266
|
type AdapterPackRef<TFamilyId extends string = string, TTargetId extends string = string> = PackRefBase<'adapter', TFamilyId> & {
|
|
264
267
|
readonly targetId: TTargetId;
|
|
@@ -389,4 +392,4 @@ interface ExtensionInstance<TFamilyId extends string, TTargetId extends string>
|
|
|
389
392
|
}
|
|
390
393
|
//#endregion
|
|
391
394
|
export { TargetPackRef as A, MutationDefaultGeneratorDescriptor as C, TargetBoundComponentDescriptor as D, SourceSpan as E, checkContractComponentRequirements as M, TargetDescriptor as O, LoweredDefaultValue as S, SourceDiagnostic as T, ExtensionPackRef as _, ComponentMetadata as a, FamilyPackRef as b, ControlMutationDefaultEntry as c, DefaultFunctionLoweringContext as d, DriverDescriptor as f, ExtensionInstance as g, ExtensionDescriptor as h, ComponentDescriptor as i, TypedDefaultFunctionCall as j, TargetInstance as k, ControlMutationDefaultRegistry as l, DriverPackRef as m, AdapterInstance as n, ContractComponentRequirementsCheckInput as o, DriverInstance as p, AdapterPackRef as r, ContractComponentRequirementsCheckResult as s, AdapterDescriptor as t, ControlMutationDefaults as u, FamilyDescriptor as v, PackRefBase as w, LoweredDefaultResult as x, FamilyInstance as y };
|
|
392
|
-
//# sourceMappingURL=framework-components-
|
|
395
|
+
//# sourceMappingURL=framework-components-CDppKaT_-DcMHokB8.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-components-
|
|
1
|
+
{"version":3,"file":"framework-components-CDppKaT_-DcMHokB8.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/framework-components-CDppKaT_.d.mts"],"mappings":";;;;;;UAKU;WACC;WACA;WACA;;UAED;WACC,OAAO;WACP,KAAK;;UAEN;WACC;WACA;WACA;WACA,OAAO;WACP,OAAO,SAAS;;UAEjB;WACC;WACA;WACA;WACA;;KAEN;WACM;WACA,cAAc;;WAEd;WACA,WAAW;;KAEjB;WACM;WACA,OAAO;;WAEP;WACA,YAAY;;UAEb;WACC;;;;;;;;;;WAUA;;;;;;;WAOA,eAAe,OAAO,4BAA4B;;UAEnD;WACC;WACA,MAAM;WACN,MAAM,SAAS;;UAEhB;WACC;WACA,QAAQ;aACN,MAAM;aACN,SAAS;QACd;WACG;;KAEN,iCAAiC,oBAAoB;UAChD;WACC,yBAAyB;WACzB,+BAA+B;;;;;;;UAOhC;;WAEC;;;;;;WAMA,eAAe;;WAEf;aACE;;;;eAIE,SAAS;;;;;;;;eAQT,cAAc,cAAc;;;;eAI5B,oBAAoB;;;;eAIpB,mBAAmB,cAAc;;;;;aAKnC,uBAAuB,cAAc;aACrC;eACE,QAAQ;;aAEV,UAAU;eACR;eACA;eACA;eACA;;;;;;;;WAQJ,YAAY;;;;WAIZ,0BAA0B;;;;;;;;;;;;;;;;;UAi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AkB,0BAA0B;WAC3C,UAAU;WACV,UAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-
|
|
1
|
+
import { K as ProfileHashBase, M as ExecutionHashBase, Q as StorageHashBase } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-uZb7Sjk2-Dx6ifIWL.mjs";
|
|
3
3
|
//#region ../../../1-framework/0-foundation/contract/dist/hashing.d.mts
|
|
4
4
|
//#region src/hashing.d.ts
|
|
5
5
|
type ComputeStorageHashArgs = {
|
|
@@ -22,4 +22,4 @@ declare function computeProfileHash(args: {
|
|
|
22
22
|
}): ProfileHashBase<string>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { computeProfileHash as n, computeStorageHash as r, computeExecutionHash as t };
|
|
25
|
-
//# sourceMappingURL=hashing-
|
|
25
|
+
//# sourceMappingURL=hashing-D9wV2IJu.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashing-
|
|
1
|
+
{"version":3,"file":"hashing-D9wV2IJu.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/hashing.d.mts"],"mappings":";;;;KAGK;EACH;EACA;EACA,SAAS;WACA,sBAAsB;WACtB,cAAc;;iBAER,mBAAmB,MAAM,yBAAyB;iBAClD,qBAAqB;EACpC;EACA;EACA,WAAW;IACT;iBACa,mBAAmB;EAClC;EACA;EACA,cAAc,eAAe;IAC3B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-
|
|
1
|
+
import { i as StorageSort, n as PreserveEmptyPredicate } from "./canonicalization-uZb7Sjk2-Dx6ifIWL.mjs";
|
|
2
2
|
//#region ../../../1-framework/0-foundation/contract/dist/hashing-utils.d.mts
|
|
3
3
|
//#region src/canonicalization-path-match.d.ts
|
|
4
4
|
type PathSegment = string | '*' | readonly string[];
|
|
@@ -16,4 +16,4 @@ declare function compareByNameProperty(a: unknown, b: unknown): number;
|
|
|
16
16
|
declare function createStorageSort(targets: readonly NamedArraySortTarget[], compare?: (a: unknown, b: unknown) => number): StorageSort;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { compareByNameProperty as a, matchesPathPattern as c, PathSegment$1 as i, PathPattern as n, createPreserveEmptyPredicate as o, PathSegment as r, createStorageSort as s, NamedArraySortTarget as t };
|
|
19
|
-
//# sourceMappingURL=hashing-utils-
|
|
19
|
+
//# sourceMappingURL=hashing-utils-Bp0ZYY57.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashing-utils-
|
|
1
|
+
{"version":3,"file":"hashing-utils-Bp0ZYY57.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/hashing-utils.d.mts"],"mappings":";;;KAEK;KACA,uBAAuB;iBACX,mBAAmB,yBAAyB,SAAS;iBACrD,6BAA6B,mBAAmB,gBAAgB;;;KAG5E;UACK;WACC,eAAe;WACf;;iBAEM,sBAAsB,YAAY;iBAClC,kBAAkB,kBAAkB,wBAAwB,WAAW,YAAY,wBAAwB"}
|
package/dist/ids.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ColumnTypeDescriptor } from "./codec-
|
|
1
|
+
import { F as ExecutionMutationDefaultValue } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { a as ColumnTypeDescriptor } from "./codec-DxAIshoO.mjs";
|
|
3
3
|
import { cuid2 as cuid2$1 } from "uniku/cuid2";
|
|
4
4
|
import { ksuid as ksuid$1 } from "uniku/ksuid";
|
|
5
5
|
import { nanoid as nanoid$1 } from "uniku/nanoid";
|
package/dist/ids__runtime.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as GeneratedValueSpec } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
2
|
//#region ../../../1-framework/2-authoring/ids/dist/runtime.d.mts
|
|
3
3
|
//#region src/runtime.d.ts
|
|
4
4
|
declare function generateId(spec: GeneratedValueSpec): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as StorageNamespace, X as StorageBase, n as ApplicationDomain } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
2
|
import { Type } from "arktype";
|
|
3
3
|
//#region ../../../1-framework/1-core/framework-components/dist/ir.d.mts
|
|
4
4
|
//#region src/ir/ir-node.d.ts
|
|
@@ -356,4 +356,4 @@ interface StorageType extends IRNode {
|
|
|
356
356
|
}
|
|
357
357
|
//#endregion
|
|
358
358
|
export { promoteBuiltinKinds as S, domainElementCoordinates as _, IRNode as a, freezeNode as b, NamespaceBase as c, Storage as d, StorageType as f, coordinateKey as g, buildSingleNamespaceView as h, EntityKindDescriptor as i, NamespacedEntities as l, buildNamespacedEntities as m, DefaultNamespaceEntries as n, IRNodeBase as o, UNBOUND_NAMESPACE_ID as p, EntityCoordinate as r, Namespace as s, AnyEntityKindDescriptor as t, SingleNamespaceView as u, elementCoordinates as v, hydrateNamespaceEntities as x, entityAt as y };
|
|
359
|
-
//# sourceMappingURL=ir-
|
|
359
|
+
//# sourceMappingURL=ir-BGaPKem0.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ir-
|
|
1
|
+
{"version":3,"file":"ir-BGaPKem0.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/ir.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA4CU;WACC;;uBAEY,sBAAsB;oBACzB;;;;;;;;;;;iBAWH,WAAW,UAAU,QAAQ,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;cA0B1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;UAqBhO,oBAAoB;WACnB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as PslDiagnostic } from "./psl-ast-dnXw52MT-
|
|
2
|
-
import "./psl-ast-
|
|
1
|
+
import { p as PslDiagnostic } from "./psl-ast-dnXw52MT-1jSUKlC9.mjs";
|
|
2
|
+
import "./psl-ast-BkfQwHjE.mjs";
|
|
3
3
|
import { n as TokenKind, t as Token } from "./tokenizer-DcYI0Xrq-C-nNE9mE.mjs";
|
|
4
4
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/parse-B5xYL_oV.d.mts
|
|
5
5
|
//#region src/source-file.d.ts
|
|
@@ -424,4 +424,4 @@ interface ParseResult {
|
|
|
424
424
|
declare function parse(source: string): ParseResult;
|
|
425
425
|
//#endregion
|
|
426
426
|
export { parse as $, ObjectLiteralExprAst as A, SyntaxNode as B, ModelAttributeAst as C, NamespaceMemberAst as D, NamespaceDeclarationAst as E, Range as F, any as G, TokenAtOffset as H, SourceFile as I, filterChildren as J, castExpression as K, StringLiteralExprAst as L, ParseResult as M, Position as N, NumberLiteralExprAst as O, QualifiedNameAst as P, greenToken as Q, SyntaxElement as R, KeyValuePairAst as S, NamedTypeDeclarationAst as T, TypeAnnotationAst as U, SyntaxToken as V, TypesBlockAst as W, findFirstChild as X, findChildToken as Y, greenNode as Z, GenericBlockMemberAst as _, AttributeAst as a, GreenToken as b, BracedBlock as c, DocumentAst as d, printSyntax as et, ExpressionAst as f, GenericBlockDeclarationAst as g, FunctionCallAst as h, AttributeArgListAst as i, ParseDiagnostic as j, ObjectFieldAst as k, CompositeTypeDeclarationAst as l, FieldDeclarationAst as m, AstNode as n, BlockMemberAst as o, FieldAttributeAst as p, createSyntaxTree as q, AttributeArgAst as r, BooleanLiteralExprAst as s, ArrayLiteralAst as t, DeclarationAst as u, GreenElement as v, ModelDeclarationAst as w, IdentifierAst as x, GreenNode as y, SyntaxKind as z };
|
|
427
|
-
//# sourceMappingURL=parse-B5xYL_oV-
|
|
427
|
+
//# sourceMappingURL=parse-B5xYL_oV-aGFgfM8N.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-B5xYL_oV-
|
|
1
|
+
{"version":3,"file":"parse-B5xYL_oV-aGFgfM8N.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/parse-B5xYL_oV.d.mts"],"mappings":";;;;;UAGU;WACC;WACA;;UAED;WACC,OAAO;WACP,KAAK;;cAEF;;EAEZ,YAAY;MACR;MACA;MACA;EACJ;EACA,gBAAgB;EAChB,cAAc;EACd,WAAW,iBAAiB;EAC5B,SAAS,UAAU;;;;KAIhB;;;UAGK;WACC;WACA,MAAM;WACN;;UAED;WACC;WACA,MAAM;WACN,UAAU,cAAc;WACxB;;KAEN,eAAe,YAAY;iBACf,WAAW,MAAM,WAAW,eAAe;iBAC3C,UAAU,MAAM,YAAY,UAAU,cAAc,gBAAgB;;;;;;;;;;cAUvE,uBAAuB;WAC1B,OAAO;WACP,MAAM;WACN;WACA;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,YAAY,gBAAgB,QAAQ,YAAY;MAC/D;MACA;;EAEJ,SAAS;EACT,UAAU;;MAEN,sBAAsB;;MAEtB,sBAAsB;;MAEtB,aAAa;;MAEb,aAAa;;KAEd,gBAAgB,aAAa;cACpB;;UAEJ;SACD,QAAQ;SACR,OAAO,OAAO,cAAc;SAC5B,QAAQ,MAAM,aAAa,OAAO,cAAc;MACnD;MACA;EACJ,cAAc;EACd,eAAe;;cAEH;WACH,OAAO;WACP;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,WAAW,gBAAgB,QAAQ,wBAAwB;MAC1E,QAAQ;MACR;MACA;;EAEJ,SAAS;EACT,UAAU;MACN,cAAc;MACd,aAAa;MACb,eAAe;MACf,eAAe;;MAEf,sBAAsB;;MAEtB,sBAAsB;;MAEtB,cAAc;;MAEd,aAAa;EACjB,YAAY,SAAS;EACrB,cAAc,SAAS;EACvB,a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;;;;iBAMN,MAAM,iBAAiB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as CodecLookup } from "./codec-types-nVMtogur-
|
|
2
|
-
import { L as PslExtensionBlock, b as AuthoringPslBlockDescriptor } from "./framework-authoring-BYgPL2X6-
|
|
3
|
-
import { p as PslDiagnostic, x as PslNamespace } from "./psl-ast-dnXw52MT-
|
|
1
|
+
import { c as CodecLookup } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
2
|
+
import { L as PslExtensionBlock, b as AuthoringPslBlockDescriptor } from "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
|
3
|
+
import { p as PslDiagnostic, x as PslNamespace } from "./psl-ast-dnXw52MT-1jSUKlC9.mjs";
|
|
4
4
|
//#region ../../../1-framework/1-core/framework-components/dist/psl-ast.d.mts
|
|
5
5
|
//#region src/control/psl-extension-block-validator.d.ts
|
|
6
6
|
/**
|
|
@@ -34,4 +34,4 @@ interface ExtensionBlockRefResolutionContext {
|
|
|
34
34
|
declare function validateExtensionBlock(node: PslExtensionBlock, descriptor: AuthoringPslBlockDescriptor, sourceId: string, codecLookup: CodecLookup, refCtx?: ExtensionBlockRefResolutionContext): readonly PslDiagnostic[];
|
|
35
35
|
//#endregion
|
|
36
36
|
export { validateExtensionBlock as n, ExtensionBlockRefResolutionContext as t };
|
|
37
|
-
//# sourceMappingURL=psl-ast-
|
|
37
|
+
//# sourceMappingURL=psl-ast-BkfQwHjE.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"psl-ast-
|
|
1
|
+
{"version":3,"file":"psl-ast-BkfQwHjE.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast.d.mts"],"mappings":";;;;;;;;;;;;;UAYU;WACC,gBAAgB;WAChB,wBAAwB;;;;;;;;;;;;;;;;;;iBAkBlB,uBAAuB,MAAM,mBAAmB,YAAY,6BAA6B,kBAAkB,aAAa,aAAa,SAAS,8CAA8C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as CodecLookup } from "./codec-types-nVMtogur-
|
|
2
|
-
import { A as ContributedPslDiagnosticCode, I as PslDiagnosticCode, J as PslSpan, L as PslExtensionBlock, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-BYgPL2X6-
|
|
1
|
+
import { c as CodecLookup } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
2
|
+
import { A as ContributedPslDiagnosticCode, I as PslDiagnosticCode, J as PslSpan, L as PslExtensionBlock, x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/framework-components/dist/psl-ast-dnXw52MT.d.mts
|
|
4
4
|
//#region src/control/psl-ast.d.ts
|
|
5
5
|
interface PslDiagnostic {
|
|
@@ -256,4 +256,4 @@ interface ParsePslDocumentResult {
|
|
|
256
256
|
}
|
|
257
257
|
//#endregion
|
|
258
258
|
export { makePslNamespace as A, PslReferentialAction as C, UNSPECIFIED_PSL_NAMESPACE_ID as D, PslUniqueConstraint as E, namespacePslExtensionBlocks as M, flatPslCompositeTypes as O, PslNamespaceEntry as S, PslTypesBlock as T, PslIndexConstraint as _, PslAttributeArgument as a, PslNamedTypeDeclaration as b, PslAttributeTarget as c, PslDefaultLiteralValue as d, PslDefaultValue as f, PslFieldAttribute as g, PslField as h, PslAttribute as i, makePslNamespaceEntries as j, flatPslModels as k, PslCompositeType as l, PslDocumentAst as m, ParsePslDocumentInput as n, PslAttributeNamedArgument as o, PslDiagnostic as p, ParsePslDocumentResult as r, PslAttributePositionalArgument as s, BUILTIN_PSL_KIND_KEYS as t, PslDefaultFunctionValue as u, PslModel as v, PslTypeConstructorCall as w, PslNamespace as x, PslModelAttribute as y };
|
|
259
|
-
//# sourceMappingURL=psl-ast-dnXw52MT-
|
|
259
|
+
//# sourceMappingURL=psl-ast-dnXw52MT-1jSUKlC9.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"psl-ast-dnXw52MT-
|
|
1
|
+
{"version":3,"file":"psl-ast-dnXw52MT-1jSUKlC9.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast-dnXw52MT.d.mts"],"mappings":";;;;UAGU;;;;;;;;;;;WAWC,MAAM,oBAAoB;WAC1B;WACA;WACA,MAAM;;UAEP;WACC;WACA;;UAED;WACC;WACA;;KAEN,kBAAkB,0BAA0B;KAC5C;UACK;WACC;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA;WACA,MAAM;;KAEZ,uBAAuB,iCAAiC;UACnD;WACC;WACA;WACA,eAAe;WACf,MAAM;;UAEP;WACC;WACA,QAAQ;WACR;WACA,eAAe;WACf,MAAM;;KAEZ;KACA,oBAAoB;UACf;WACC;WACA;;WAEA;;WAEA;;;;;;;;;WASA;WACA,kBAAkB;WAClB;WACA;WACA;WACA,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA;WACA,MAAM;;UAEP;WACC;WACA;WACA,MAAM;;KAEZ,oBAAoB;UACf;WACC;WACA;WACA,iBAAiB;WACjB,qBAAqB;WACrB,MAAM;;;;;;;;WAQN;;;;;;;UAOD;WACC;WACA;WACA,iBAAiB;WACjB,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA;;;;;;WAMA;WACA,kBAAkB;WAClB,qBAAqB;WACrB,MAAM;;UAEP;WACC;WACA,uBAAuB;WACvB,MAAM;;;;;;;;;;;;;;cAcH;;KAET,oBAAoB,WAAW,mBAAmB;;;;;;;;;;;;UAY7C;WACC;WACA;;WAEA,SAAS,SAAS,eAAe,SAAS,eAAe;;WAEzD,iBAAiB;;WAEjB,yBAAyB;WACzB,MAAM;;;iBAGA,iBAAiB;WACvB;WACA;WACA,SAAS,SAAS,eAAe,SAAS,eAAe;WACzD,MAAM;IACb;;;;;;iBAMa,wBAAwB,iBAAiB,YAAY,yBAAyB,oBAAoB,0BAA0B,sBAAsB,SAAS,eAAe,SAAS,eAAe;UACzM;WACC;WACA;WACA,qBAAqB;WACrB,QAAQ;WACR,MAAM;;;;;;iBAMA,cAAc,KAAK,0BAA0B;;;;iBAI7C,sBAAsB,KAAK,0BAA0B;;;;;;;;;;;cAWxD,uBAAuB;;;;;;;;;iBASpB,4BAA4B,IAAI,wBAAwB;UAC/D;WACC;WACA;;;;;;;;;;;;;;;;WAgBA,sBAAsB;;;;;;;;;WAStB,cAAc;;UAEf;WACC,KAAK;WACL,sBAAsB;WACtB"}
|
package/dist/psl-parser.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as CodecLookup } from "./codec-types-nVMtogur-
|
|
2
|
-
import { B as PslExtensionBlockParamBare, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, J as PslSpan, L as PslExtensionBlock, R as PslExtensionBlockAttribute, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, b as AuthoringPslBlockDescriptor, q as PslPosition, x as AuthoringPslBlockDescriptorNamespace, z as PslExtensionBlockAttributeArg } from "./framework-authoring-BYgPL2X6-
|
|
3
|
-
import "./authoring-
|
|
4
|
-
import "./codec-
|
|
5
|
-
import { l as ControlMutationDefaultRegistry } from "./framework-components-
|
|
6
|
-
import { M as namespacePslExtensionBlocks, T as PslTypesBlock, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, o as PslAttributeNamedArgument, p as PslDiagnostic, s as PslAttributePositionalArgument, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-dnXw52MT-
|
|
1
|
+
import { c as CodecLookup } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
2
|
+
import { B as PslExtensionBlockParamBare, G as PslExtensionBlockParamValue, H as PslExtensionBlockParamOption, I as PslDiagnosticCode, J as PslSpan, L as PslExtensionBlock, R as PslExtensionBlockAttribute, U as PslExtensionBlockParamRef, V as PslExtensionBlockParamList, W as PslExtensionBlockParamScalarValue, b as AuthoringPslBlockDescriptor, q as PslPosition, x as AuthoringPslBlockDescriptorNamespace, z as PslExtensionBlockAttributeArg } from "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
|
3
|
+
import "./authoring-D2ngo2MB.mjs";
|
|
4
|
+
import "./codec-DxAIshoO.mjs";
|
|
5
|
+
import { l as ControlMutationDefaultRegistry } from "./framework-components-CDppKaT_-DcMHokB8.mjs";
|
|
6
|
+
import { M as namespacePslExtensionBlocks, T as PslTypesBlock, a as PslAttributeArgument, b as PslNamedTypeDeclaration, c as PslAttributeTarget, d as PslDefaultLiteralValue, f as PslDefaultValue, g as PslFieldAttribute, h as PslField, i as PslAttribute, k as flatPslModels, l as PslCompositeType, m as PslDocumentAst, o as PslAttributeNamedArgument, p as PslDiagnostic, s as PslAttributePositionalArgument, u as PslDefaultFunctionValue, v as PslModel, w as PslTypeConstructorCall, x as PslNamespace, y as PslModelAttribute } from "./psl-ast-dnXw52MT-1jSUKlC9.mjs";
|
|
7
7
|
import { r as Result } from "./result-Bpupv5vO.mjs";
|
|
8
|
-
import { n as AssembledAuthoringContributions } from "./control-
|
|
9
|
-
import "./psl-ast-
|
|
10
|
-
import { C as ModelAttributeAst, I as SourceFile, f as ExpressionAst, n as AstNode, p as FieldAttributeAst, r as AttributeArgAst } from "./parse-B5xYL_oV-
|
|
11
|
-
import { _ as nodePslSpan, a as ModelSymbol, b as readResolvedAttributes, c as ResolvedAttribute, d as ResolvedTypeConstructorCall, f as SymbolTable, g as keywordPslSpan, h as buildSymbolTable, i as FieldSymbol, l as ResolvedAttributeArg, m as TopLevelScope, n as BuildSymbolTableOptions, o as NamedTypeSymbol, p as SymbolTableResult, r as CompositeTypeSymbol, s as NamespaceSymbol, t as BlockSymbol, u as ResolvedNamedTypeBinding, v as rangeToPslSpan, x as readResolvedConstructorCall, y as readResolvedAttribute } from "./symbol-table-BeOQBu3C-
|
|
8
|
+
import { n as AssembledAuthoringContributions } from "./control-B32e7diK.mjs";
|
|
9
|
+
import "./psl-ast-BkfQwHjE.mjs";
|
|
10
|
+
import { C as ModelAttributeAst, I as SourceFile, f as ExpressionAst, n as AstNode, p as FieldAttributeAst, r as AttributeArgAst } from "./parse-B5xYL_oV-aGFgfM8N.mjs";
|
|
11
|
+
import { _ as nodePslSpan, a as ModelSymbol, b as readResolvedAttributes, c as ResolvedAttribute, d as ResolvedTypeConstructorCall, f as SymbolTable, g as keywordPslSpan, h as buildSymbolTable, i as FieldSymbol, l as ResolvedAttributeArg, m as TopLevelScope, n as BuildSymbolTableOptions, o as NamedTypeSymbol, p as SymbolTableResult, r as CompositeTypeSymbol, s as NamespaceSymbol, t as BlockSymbol, u as ResolvedNamedTypeBinding, v as rangeToPslSpan, x as readResolvedConstructorCall, y as readResolvedAttribute } from "./symbol-table-BeOQBu3C-DduAXEh6.mjs";
|
|
12
12
|
import { n as UnionToIntersection, t as Simplify } from "./types-DGxlljKG.mjs";
|
|
13
13
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/index.d.mts
|
|
14
14
|
//#region src/attribute-helpers.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as Contract } from "./contract-types-
|
|
1
|
+
import { t as Contract } from "./contract-types-HCUyPohe-CuimQxo_.mjs";
|
|
2
2
|
import { r as Result } from "./result-Bpupv5vO.mjs";
|
|
3
|
-
import { c as ContractSourceProvider, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, r as ContractSourceDiagnostic } from "./config-types-
|
|
4
|
-
import { I as SourceFile, d as DocumentAst } from "./parse-B5xYL_oV-
|
|
5
|
-
import { f as SymbolTable } from "./symbol-table-BeOQBu3C-
|
|
3
|
+
import { c as ContractSourceProvider, m as PslContractSourceProvider, n as ContractSourceContext, o as ContractSourceDiagnostics, r as ContractSourceDiagnostic } from "./config-types-udmMgDBA.mjs";
|
|
4
|
+
import { I as SourceFile, d as DocumentAst } from "./parse-B5xYL_oV-aGFgfM8N.mjs";
|
|
5
|
+
import { f as SymbolTable, i as FieldSymbol } from "./symbol-table-BeOQBu3C-DduAXEh6.mjs";
|
|
6
6
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/interpret.d.mts
|
|
7
7
|
//#region src/interpret.d.ts
|
|
8
8
|
/**
|
|
@@ -35,5 +35,32 @@ declare function withSeedDiagnostics(result: Result<Contract, ContractSourceDiag
|
|
|
35
35
|
/** The single seam that narrows a contract source to the interpret capability. */
|
|
36
36
|
declare function hasPslInterpreter(source: ContractSourceProvider): source is PslInterpretCapable;
|
|
37
37
|
//#endregion
|
|
38
|
-
|
|
38
|
+
//#region src/relation-backrelations.d.ts
|
|
39
|
+
/**
|
|
40
|
+
* An FK-side relation that was rejected (for example by the nullability check) and so never
|
|
41
|
+
* became relation metadata. Its back-relation candidate is not orphaned; the FK-side diagnostic
|
|
42
|
+
* already names the problem.
|
|
43
|
+
*/
|
|
44
|
+
type InvalidFkPairing = {
|
|
45
|
+
readonly pairKey: string;
|
|
46
|
+
readonly relationName?: string;
|
|
47
|
+
};
|
|
48
|
+
declare function fkRelationPairKey(declaringModelName: string, targetModelName: string): string;
|
|
49
|
+
/**
|
|
50
|
+
* Claims the one rejected FK side that pairs with this back-relation candidate: same model pair
|
|
51
|
+
* and the same relation name, where an unnamed candidate pairs only with an unnamed FK side.
|
|
52
|
+
* A claimed pairing is removed, so a second candidate on the same pair reports its own problem.
|
|
53
|
+
*/
|
|
54
|
+
declare function consumeInvalidFkPairing(candidate: {
|
|
55
|
+
readonly relationName?: string;
|
|
56
|
+
}, pairKey: string, invalidFkPairings: InvalidFkPairing[]): boolean;
|
|
57
|
+
declare function requiredOneToOneBackrelationDiagnostic(input: {
|
|
58
|
+
readonly modelName: string;
|
|
59
|
+
readonly field: FieldSymbol;
|
|
60
|
+
readonly targetModelName: string;
|
|
61
|
+
readonly sourceId: string;
|
|
62
|
+
readonly recordNoun: 'row' | 'document';
|
|
63
|
+
}): ContractSourceDiagnostic;
|
|
64
|
+
//#endregion
|
|
65
|
+
export { type InvalidFkPairing, type PslInterpretCapable, type PslInterpretInput, consumeInvalidFkPairing, fkRelationPairKey, hasPslInterpreter, requiredOneToOneBackrelationDiagnostic, withSeedDiagnostics };
|
|
39
66
|
//# sourceMappingURL=psl-parser__interpret.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"psl-parser__interpret.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/interpret.d.mts"],"mappings":";;;;;;;;;;;;UAWU;WACC,UAAU;WACV,YAAY;WACZ,aAAa;WACb;;;;;;;;UAQD,4BAA4B;EACpC,UAAU,OAAO,mBAAmB,SAAS,wBAAwB,OAAO,UAAU;;;;;;;;iBAQvE,oBAAoB,QAAQ,OAAO,UAAU,4BAA4B,0BAA0B,6BAA6B,OAAO,UAAU;;iBAEjJ,kBAAkB,QAAQ,yBAAyB,UAAU"}
|
|
1
|
+
{"version":3,"file":"psl-parser__interpret.d.mts","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/interpret.d.mts"],"mappings":";;;;;;;;;;;;UAWU;WACC,UAAU;WACV,YAAY;WACZ,aAAa;WACb;;;;;;;;UAQD,4BAA4B;EACpC,UAAU,OAAO,mBAAmB,SAAS,wBAAwB,OAAO,UAAU;;;;;;;;iBAQvE,oBAAoB,QAAQ,OAAO,UAAU,4BAA4B,0BAA0B,6BAA6B,OAAO,UAAU;;iBAEjJ,kBAAkB,QAAQ,yBAAyB,UAAU;;;;;;;;KAQzE;WACM;WACA;;iBAEM,kBAAkB,4BAA4B;;;;;;iBAM9C,wBAAwB;WAC9B;GACR,iBAAiB,mBAAmB;iBACtB,uCAAuC;WAC7C;WACA,OAAO;WACP;WACA;WACA;IACP"}
|
|
@@ -19,7 +19,30 @@ function withSeedDiagnostics(result, seedDiagnostics) {
|
|
|
19
19
|
function hasPslInterpreter(source) {
|
|
20
20
|
return source.format === "psl" && "interpret" in source && typeof source.interpret === "function";
|
|
21
21
|
}
|
|
22
|
+
function fkRelationPairKey(declaringModelName, targetModelName) {
|
|
23
|
+
return `${declaringModelName}::${targetModelName}`;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Claims the one rejected FK side that pairs with this back-relation candidate: same model pair
|
|
27
|
+
* and the same relation name, where an unnamed candidate pairs only with an unnamed FK side.
|
|
28
|
+
* A claimed pairing is removed, so a second candidate on the same pair reports its own problem.
|
|
29
|
+
*/
|
|
30
|
+
function consumeInvalidFkPairing(candidate, pairKey, invalidFkPairings) {
|
|
31
|
+
const index = invalidFkPairings.findIndex((pairing) => pairing.pairKey === pairKey && pairing.relationName === candidate.relationName);
|
|
32
|
+
if (index === -1) return false;
|
|
33
|
+
invalidFkPairings.splice(index, 1);
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function requiredOneToOneBackrelationDiagnostic(input) {
|
|
37
|
+
const { modelName, field, targetModelName, sourceId, recordNoun } = input;
|
|
38
|
+
return {
|
|
39
|
+
code: "PSL_REQUIRED_ONE_TO_ONE_BACKRELATION",
|
|
40
|
+
message: `Backrelation field "${modelName}.${field.name}" is required, but "${targetModelName}" holds the relation fields, so nothing in storage guarantees a "${targetModelName}" ${recordNoun} exists. Make it optional: "${field.name} ${targetModelName}?".`,
|
|
41
|
+
sourceId,
|
|
42
|
+
span: field.span
|
|
43
|
+
};
|
|
44
|
+
}
|
|
22
45
|
//#endregion
|
|
23
|
-
export { hasPslInterpreter, withSeedDiagnostics };
|
|
46
|
+
export { consumeInvalidFkPairing, fkRelationPairKey, hasPslInterpreter, requiredOneToOneBackrelationDiagnostic, withSeedDiagnostics };
|
|
24
47
|
|
|
25
48
|
//# sourceMappingURL=psl-parser__interpret.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"psl-parser__interpret.mjs","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/interpret.mjs"],"sourcesContent":["import { notOk } from \"@internal/utils/result\";\n//#region src/interpret.ts\n/**\n* Merges caller-side diagnostics (e.g. parse / symbol-table findings) into an\n* interpretation result. The authored headline is deliberately uniform — it\n* reports how many errors the schema has, never which pipeline stage found\n* them.\n*/\nfunction withSeedDiagnostics(result, seedDiagnostics) {\n\tif (seedDiagnostics.length === 0) return result;\n\tconst diagnostics = result.ok ? seedDiagnostics : [...seedDiagnostics, ...result.failure.diagnostics];\n\treturn notOk({\n\t\tsummary: `Schema has ${diagnostics.length} error${diagnostics.length === 1 ? \"\" : \"s\"}`,\n\t\tdiagnostics,\n\t\t...result.ok || result.failure.meta === void 0 ? {} : { meta: result.failure.meta }\n\t});\n}\n/** The single seam that narrows a contract source to the interpret capability. */\nfunction hasPslInterpreter(source) {\n\treturn source.format === \"psl\" && \"interpret\" in source && typeof source.interpret === \"function\";\n}\n//#endregion\nexport { hasPslInterpreter, withSeedDiagnostics };\n\n//# sourceMappingURL=interpret.mjs.map"],"mappings":";;;;;;;;AAQA,SAAS,oBAAoB,QAAQ,iBAAiB;CACrD,IAAI,gBAAgB,WAAW,GAAG,OAAO;CACzC,MAAM,cAAc,OAAO,KAAK,kBAAkB,CAAC,GAAG,iBAAiB,GAAG,OAAO,QAAQ,WAAW;CACpG,OAAO,MAAM;EACZ,SAAS,cAAc,YAAY,OAAO,QAAQ,YAAY,WAAW,IAAI,KAAK;EAClF;EACA,GAAG,OAAO,MAAM,OAAO,QAAQ,SAAS,KAAK,IAAI,CAAC,IAAI,EAAE,MAAM,OAAO,QAAQ,KAAK;CACnF,CAAC;AACF;;AAEA,SAAS,kBAAkB,QAAQ;CAClC,OAAO,OAAO,WAAW,SAAS,eAAe,UAAU,OAAO,OAAO,cAAc;AACxF"}
|
|
1
|
+
{"version":3,"file":"psl-parser__interpret.mjs","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/interpret.mjs"],"sourcesContent":["import { notOk } from \"@internal/utils/result\";\n//#region src/interpret.ts\n/**\n* Merges caller-side diagnostics (e.g. parse / symbol-table findings) into an\n* interpretation result. The authored headline is deliberately uniform — it\n* reports how many errors the schema has, never which pipeline stage found\n* them.\n*/\nfunction withSeedDiagnostics(result, seedDiagnostics) {\n\tif (seedDiagnostics.length === 0) return result;\n\tconst diagnostics = result.ok ? seedDiagnostics : [...seedDiagnostics, ...result.failure.diagnostics];\n\treturn notOk({\n\t\tsummary: `Schema has ${diagnostics.length} error${diagnostics.length === 1 ? \"\" : \"s\"}`,\n\t\tdiagnostics,\n\t\t...result.ok || result.failure.meta === void 0 ? {} : { meta: result.failure.meta }\n\t});\n}\n/** The single seam that narrows a contract source to the interpret capability. */\nfunction hasPslInterpreter(source) {\n\treturn source.format === \"psl\" && \"interpret\" in source && typeof source.interpret === \"function\";\n}\n//#endregion\n//#region src/relation-backrelations.ts\nfunction fkRelationPairKey(declaringModelName, targetModelName) {\n\treturn `${declaringModelName}::${targetModelName}`;\n}\n/**\n* Claims the one rejected FK side that pairs with this back-relation candidate: same model pair\n* and the same relation name, where an unnamed candidate pairs only with an unnamed FK side.\n* A claimed pairing is removed, so a second candidate on the same pair reports its own problem.\n*/\nfunction consumeInvalidFkPairing(candidate, pairKey, invalidFkPairings) {\n\tconst index = invalidFkPairings.findIndex((pairing) => pairing.pairKey === pairKey && pairing.relationName === candidate.relationName);\n\tif (index === -1) return false;\n\tinvalidFkPairings.splice(index, 1);\n\treturn true;\n}\nfunction requiredOneToOneBackrelationDiagnostic(input) {\n\tconst { modelName, field, targetModelName, sourceId, recordNoun } = input;\n\treturn {\n\t\tcode: \"PSL_REQUIRED_ONE_TO_ONE_BACKRELATION\",\n\t\tmessage: `Backrelation field \"${modelName}.${field.name}\" is required, but \"${targetModelName}\" holds the relation fields, so nothing in storage guarantees a \"${targetModelName}\" ${recordNoun} exists. Make it optional: \"${field.name} ${targetModelName}?\".`,\n\t\tsourceId,\n\t\tspan: field.span\n\t};\n}\n//#endregion\nexport { consumeInvalidFkPairing, fkRelationPairKey, hasPslInterpreter, requiredOneToOneBackrelationDiagnostic, withSeedDiagnostics };\n\n//# sourceMappingURL=interpret.mjs.map"],"mappings":";;;;;;;;AAQA,SAAS,oBAAoB,QAAQ,iBAAiB;CACrD,IAAI,gBAAgB,WAAW,GAAG,OAAO;CACzC,MAAM,cAAc,OAAO,KAAK,kBAAkB,CAAC,GAAG,iBAAiB,GAAG,OAAO,QAAQ,WAAW;CACpG,OAAO,MAAM;EACZ,SAAS,cAAc,YAAY,OAAO,QAAQ,YAAY,WAAW,IAAI,KAAK;EAClF;EACA,GAAG,OAAO,MAAM,OAAO,QAAQ,SAAS,KAAK,IAAI,CAAC,IAAI,EAAE,MAAM,OAAO,QAAQ,KAAK;CACnF,CAAC;AACF;;AAEA,SAAS,kBAAkB,QAAQ;CAClC,OAAO,OAAO,WAAW,SAAS,eAAe,UAAU,OAAO,OAAO,cAAc;AACxF;AAGA,SAAS,kBAAkB,oBAAoB,iBAAiB;CAC/D,OAAO,GAAG,mBAAmB,IAAI;AAClC;;;;;;AAMA,SAAS,wBAAwB,WAAW,SAAS,mBAAmB;CACvE,MAAM,QAAQ,kBAAkB,WAAW,YAAY,QAAQ,YAAY,WAAW,QAAQ,iBAAiB,UAAU,YAAY;CACrI,IAAI,UAAU,IAAI,OAAO;CACzB,kBAAkB,OAAO,OAAO,CAAC;CACjC,OAAO;AACR;AACA,SAAS,uCAAuC,OAAO;CACtD,MAAM,EAAE,WAAW,OAAO,iBAAiB,UAAU,eAAe;CACpE,OAAO;EACN,MAAM;EACN,SAAS,uBAAuB,UAAU,GAAG,MAAM,KAAK,sBAAsB,gBAAgB,mEAAmE,gBAAgB,IAAI,WAAW,8BAA8B,MAAM,KAAK,GAAG,gBAAgB;EAC5P;EACA,MAAM,MAAM;CACb;AACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as TokenKind } from "./tokenizer-DcYI0Xrq-C-nNE9mE.mjs";
|
|
2
|
-
import { $ as parse, A as ObjectLiteralExprAst, B as SyntaxNode, C as ModelAttributeAst, D as NamespaceMemberAst, E as NamespaceDeclarationAst, F as Range, G as any, H as TokenAtOffset, I as SourceFile, J as filterChildren, K as castExpression, L as StringLiteralExprAst, M as ParseResult, N as Position, O as NumberLiteralExprAst, P as QualifiedNameAst, Q as greenToken, R as SyntaxElement, S as KeyValuePairAst, T as NamedTypeDeclarationAst, U as TypeAnnotationAst, V as SyntaxToken, W as TypesBlockAst, X as findFirstChild, Y as findChildToken, Z as greenNode, _ as GenericBlockMemberAst, a as AttributeAst, b as GreenToken, c as BracedBlock, d as DocumentAst, et as printSyntax, f as ExpressionAst, g as GenericBlockDeclarationAst, h as FunctionCallAst, i as AttributeArgListAst, j as ParseDiagnostic, k as ObjectFieldAst, l as CompositeTypeDeclarationAst, m as FieldDeclarationAst, n as AstNode, o as BlockMemberAst, p as FieldAttributeAst, q as createSyntaxTree, r as AttributeArgAst, s as BooleanLiteralExprAst, t as ArrayLiteralAst, u as DeclarationAst, v as GreenElement, w as ModelDeclarationAst, x as IdentifierAst, y as GreenNode, z as SyntaxKind } from "./parse-B5xYL_oV-
|
|
2
|
+
import { $ as parse, A as ObjectLiteralExprAst, B as SyntaxNode, C as ModelAttributeAst, D as NamespaceMemberAst, E as NamespaceDeclarationAst, F as Range, G as any, H as TokenAtOffset, I as SourceFile, J as filterChildren, K as castExpression, L as StringLiteralExprAst, M as ParseResult, N as Position, O as NumberLiteralExprAst, P as QualifiedNameAst, Q as greenToken, R as SyntaxElement, S as KeyValuePairAst, T as NamedTypeDeclarationAst, U as TypeAnnotationAst, V as SyntaxToken, W as TypesBlockAst, X as findFirstChild, Y as findChildToken, Z as greenNode, _ as GenericBlockMemberAst, a as AttributeAst, b as GreenToken, c as BracedBlock, d as DocumentAst, et as printSyntax, f as ExpressionAst, g as GenericBlockDeclarationAst, h as FunctionCallAst, i as AttributeArgListAst, j as ParseDiagnostic, k as ObjectFieldAst, l as CompositeTypeDeclarationAst, m as FieldDeclarationAst, n as AstNode, o as BlockMemberAst, p as FieldAttributeAst, q as createSyntaxTree, r as AttributeArgAst, s as BooleanLiteralExprAst, t as ArrayLiteralAst, u as DeclarationAst, v as GreenElement, w as ModelDeclarationAst, x as IdentifierAst, y as GreenNode, z as SyntaxKind } from "./parse-B5xYL_oV-aGFgfM8N.mjs";
|
|
3
3
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/syntax.d.mts
|
|
4
4
|
//#region src/syntax/green-builder.d.ts
|
|
5
5
|
declare class GreenNodeBuilder {
|
package/dist/psl-printer.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as CodecLookup } from "./codec-types-nVMtogur-
|
|
2
|
-
import { x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-BYgPL2X6-
|
|
3
|
-
import "./authoring-
|
|
4
|
-
import "./codec-
|
|
5
|
-
import { m as PslDocumentAst } from "./psl-ast-dnXw52MT-
|
|
6
|
-
import "./psl-ast-
|
|
1
|
+
import { c as CodecLookup } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
2
|
+
import { x as AuthoringPslBlockDescriptorNamespace } from "./framework-authoring-BYgPL2X6-DMKO0Z_k.mjs";
|
|
3
|
+
import "./authoring-D2ngo2MB.mjs";
|
|
4
|
+
import "./codec-DxAIshoO.mjs";
|
|
5
|
+
import { m as PslDocumentAst } from "./psl-ast-dnXw52MT-1jSUKlC9.mjs";
|
|
6
|
+
import "./psl-ast-BkfQwHjE.mjs";
|
|
7
7
|
//#region ../../../1-framework/2-authoring/psl-printer/dist/index.d.mts
|
|
8
8
|
//#region src/print-psl.d.ts
|
|
9
9
|
type PslBlockDescriptorsNamespace = AuthoringPslBlockDescriptorNamespace;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as ContractModelBase, n as ApplicationDomain } from "./domain-envelope-
|
|
2
|
-
//#region ../../../1-framework/0-foundation/contract/dist/resolve-domain-model-
|
|
1
|
+
import { g as ContractModelBase, n as ApplicationDomain } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
//#region ../../../1-framework/0-foundation/contract/dist/resolve-domain-model-DXP2hfI2.d.mts
|
|
3
3
|
//#region src/resolve-domain-model.d.ts
|
|
4
4
|
interface ResolvedDomainModel {
|
|
5
5
|
readonly namespaceId: string;
|
|
@@ -14,4 +14,4 @@ interface ResolvedDomainModel {
|
|
|
14
14
|
declare function resolveDomainModel(domain: ApplicationDomain, modelName: string): ResolvedDomainModel | undefined;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { resolveDomainModel as n, ResolvedDomainModel as t };
|
|
17
|
-
//# sourceMappingURL=resolve-domain-model-
|
|
17
|
+
//# sourceMappingURL=resolve-domain-model-DXP2hfI2-D4fWewZQ.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-domain-model-DXP2hfI2-D4fWewZQ.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/contract/dist/resolve-domain-model-DXP2hfI2.d.mts"],"mappings":";;;UAEU;WACC;WACA,OAAO;;;;;;;;iBAQD,mBAAmB,QAAQ,mBAAmB,oBAAoB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as CodecCallContext } from "./codec-types-nVMtogur-
|
|
1
|
+
import { G as PlanMeta } from "./domain-envelope-CENjHN4U-BIIt9bl4.mjs";
|
|
2
|
+
import { r as CodecCallContext } from "./codec-types-nVMtogur-CYBdUQUH.mjs";
|
|
3
3
|
//#region ../../../1-framework/1-core/framework-components/dist/runtime.d.mts
|
|
4
4
|
//#region src/annotations.d.ts
|
|
5
5
|
/**
|
|
@@ -976,6 +976,68 @@ declare abstract class RuntimeCore<TPlan extends QueryPlan, TExec extends Execut
|
|
|
976
976
|
execute(plan: TPlan, options?: RuntimeExecuteOptions): Promise<RuntimeStatementStats>;
|
|
977
977
|
}
|
|
978
978
|
//#endregion
|
|
979
|
+
//#region src/execution/shape.d.ts
|
|
980
|
+
/**
|
|
981
|
+
* Phantom key an emitted model type carries to name its relation properties.
|
|
982
|
+
* Never present at runtime; `Scalars` and `Shape` read it to tell relations from fields.
|
|
983
|
+
*/
|
|
984
|
+
declare const RelationKeys: unique symbol;
|
|
985
|
+
/**
|
|
986
|
+
* The relation names an emitted model type declares.
|
|
987
|
+
*/
|
|
988
|
+
type RelationNamesOf<M> = Rel<M>;
|
|
989
|
+
/**
|
|
990
|
+
* Without `exactOptionalPropertyTypes` the optional phantom infers `R | undefined`, so the
|
|
991
|
+
* inferred type is filtered rather than constrained: `infer R extends string` would fall back to
|
|
992
|
+
* `string` there.
|
|
993
|
+
*/
|
|
994
|
+
type Rel<M> = M extends {
|
|
995
|
+
readonly [RelationKeys]?: infer R;
|
|
996
|
+
} ? Extract<R, string> : never;
|
|
997
|
+
/**
|
|
998
|
+
* The scalar row of a model: every field, no relations, no phantom.
|
|
999
|
+
* Distributes over a union, so the row of a polymorphic `Any<Base>` is the union of its variants' rows.
|
|
1000
|
+
*/
|
|
1001
|
+
type Scalars<M> = M extends {
|
|
1002
|
+
readonly [RelationKeys]?: unknown;
|
|
1003
|
+
} ? Omit<M, Rel<M> | typeof RelationKeys> : M;
|
|
1004
|
+
/**
|
|
1005
|
+
* An application data structure derived from a model.
|
|
1006
|
+
*
|
|
1007
|
+
* At every level of `Spec`: `'+'` names scalars and relations to keep, and narrows the scalars only
|
|
1008
|
+
* when it names one; `'-'` names scalars to drop; any other key is a relation whose value is a spec
|
|
1009
|
+
* that narrows the related model. A relation named in `'+'` comes with all of its scalars and none of
|
|
1010
|
+
* its relations. Relations are absent unless asked for; cardinality and nullability come from the
|
|
1011
|
+
* model. Distributes over a union, so each variant of `Any<Base>` keeps only its own relations.
|
|
1012
|
+
*/
|
|
1013
|
+
type Shape<M, Spec extends ShapeSpec<M, Spec> = Record<never, never>> = ShapeOf<M, Spec>;
|
|
1014
|
+
/**
|
|
1015
|
+
* The constraint a `Shape` spec satisfies. A generic that forwards a spec needs it:
|
|
1016
|
+
* `type Response<S extends ShapeSpec<User, S>> = Shape<User, S>`.
|
|
1017
|
+
*/
|
|
1018
|
+
type ShapeSpec<M, Spec> = { readonly [K in keyof Spec]: K extends '+' ? Exclude<PlusNames<M, Spec>, keyof Spec> : K extends '-' ? ScalarNamesOf<M> : K extends RelationNamesOf<M> ? ShapeSpec<RelatedModel<M, K>, Spec[K]> : UnknownSpecKey<M, K>; };
|
|
1019
|
+
type PlusNames<M, Spec> = '-' extends keyof Spec ? RelationNamesOf<M> : ScalarNamesOf<M> | RelationNamesOf<M>;
|
|
1020
|
+
type UnknownSpecKey<M, K> = [RelationNamesOf<M>] extends [never] ? `'${K & string}' is not a relation of the model, which has none; try '+' or '-'` : `'${K & string}' is not a relation of the model; try '+', '-', or '${RelationNamesOf<M>}'`;
|
|
1021
|
+
type ScalarNamesOf<M> = M extends unknown ? keyof Scalars<M> & string : never;
|
|
1022
|
+
type RelatedModel<M, K> = M extends unknown ? K extends keyof M ? UnwrapRelation<M[K]> : never : never;
|
|
1023
|
+
type UnwrapRelation<V> = V extends (infer Item)[] ? Item : NonNullable<V>;
|
|
1024
|
+
type ShapeOf<M, Spec> = ShapeOfEach<M, Spec, PlusNamesAScalar<M, Spec>>;
|
|
1025
|
+
type PlusNamesAScalar<M, Spec> = Spec extends {
|
|
1026
|
+
readonly '+': infer Keep;
|
|
1027
|
+
} ? [Extract<Keep, ScalarNamesOf<M>>] extends [never] ? false : true : false;
|
|
1028
|
+
type ShapeOfEach<M, Spec, Narrow extends boolean> = M extends unknown ? Flatten<KeptScalars<M, Spec, Narrow> & { [K in IncludedRelations<M, Spec>]: WrapLike<M[K], ShapeOf<RelatedModel<M, K>, NestedSpec<Spec, K>>>; }> : never;
|
|
1029
|
+
type KeptScalars<M, Spec, Narrow extends boolean> = Narrow extends true ? Spec extends {
|
|
1030
|
+
readonly '+': infer Keep;
|
|
1031
|
+
} ? Pick<Scalars<M>, Extract<Keep, keyof Scalars<M>>> : never : Spec extends {
|
|
1032
|
+
readonly '-': infer Drop extends PropertyKey;
|
|
1033
|
+
} ? Omit<Scalars<M>, Drop> : Scalars<M>;
|
|
1034
|
+
type IncludedRelations<M, Spec> = Extract<keyof Spec | (Spec extends {
|
|
1035
|
+
readonly '+': infer Keep;
|
|
1036
|
+
} ? Keep : never), RelationNamesOf<M> & keyof M>;
|
|
1037
|
+
type NestedSpec<Spec, K> = K extends keyof Spec ? Spec[K] : Record<never, never>;
|
|
1038
|
+
type WrapLike<V, R> = V extends unknown[] ? R[] : null extends V ? R | null : R;
|
|
1039
|
+
type Flatten<T> = { [K in keyof T]: T[K]; };
|
|
1040
|
+
//#endregion
|
|
979
1041
|
//#region src/meta-builder.d.ts
|
|
980
1042
|
/**
|
|
981
1043
|
* Per-terminal meta configurator handed to user callbacks. The terminal's
|
|
@@ -1034,5 +1096,5 @@ interface LaneMetaBuilder<K extends OperationKind> extends MetaBuilder<K> {
|
|
|
1034
1096
|
*/
|
|
1035
1097
|
declare function createMetaBuilder<K extends OperationKind>(kind: K, terminalName: string): LaneMetaBuilder<K>;
|
|
1036
1098
|
//#endregion
|
|
1037
|
-
export {
|
|
1038
|
-
//# sourceMappingURL=runtime-
|
|
1099
|
+
export { Scalars as A, raceAgainstAbort as B, RuntimeErrorEnvelope as C, RuntimeMiddleware as D, RuntimeLog as E, checkAborted as F, runtimeAborted as G, runBeforeQueryChain as H, checkMiddlewareCompatibility as I, runtimeError as K, createMetaBuilder as L, ShapeSpec as M, ValidAnnotations as N, RuntimeMiddlewareContext as O, assertAnnotationsApplicable as P, defineAnnotation as R, RuntimeCoreOptions as S, RuntimeExecutor as T, runExecuteWithMiddleware as U, runBeforeExecuteChain as V, runQueryWithMiddleware as W, RelationKeys as _, AsyncIterableResult as a, RuntimeAbortedPhase as b, ExecuteInterceptResult as c, MetaBuilder as d, OperationKind as f, RUNTIME_ABORTED as g, QueryPlan as h, AnnotationValue as i, Shape as j, RuntimeStatementStats as k, ExecutionPlan as l, QueryInterceptResult as m, AfterQueryResult as n, CrossFamilyMiddleware as o, ParamRefMutator as p, AnnotationHandle as r, DefineAnnotationOptions as s, AfterExecuteResult as t, LaneMetaBuilder as u, RelationNamesOf as v, RuntimeExecuteOptions as w, RuntimeCore as x, ResultType as y, isRuntimeError as z };
|
|
1100
|
+
//# sourceMappingURL=runtime-DOHhUPFx.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-
|
|
1
|
+
{"version":3,"file":"runtime-DOHhUPFx.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/runtime.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;KAoBK;;;;;;;;;;;;UAYK,gBAAgB,SAAS,cAAc;WACtC;WACA;WACA,OAAO;WACP,cAAc,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2C3B,iBAAiB,SAAS,cAAc;GAC/C,OAAO,UAAU,gBAAgB,SAAS;WAClC;WACA,cAAc,YAAY;EACnC,KAAK;aACM;eACE,cAAc;;MAEvB;;;;;;;;;;;;;;;;;;;;;;;;UAwBI,wBAAwB,cAAc;WACrC;WACA,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCjB,iBAAiB,mBAAmB,cAAc,eAAe,SAAS,wBAAwB,WAAW,iBAAiB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsDnJ,iBAAiB,UAAU,eAAe,oBAAoB,yBAAyB,gCAAgC,WAAW,KAAK,GAAG,WAAW,sBAAsB,SAAS,SAAS,UAAU,QAAQ,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;iBAwBtN,4BAA4B,sBAAsB,yBAAyB,kBAAkB,MAAM,eAAe;;;cAGrH,oBAAoB,gBAAgB,cAAc,MAAM,YAAY;mBAC/D;UACT;UACA;UACA;EACR,YAAY,WAAW,eAAe;GACrC,OAAO,kBAAk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gBAAgB"}
|
|
@@ -634,6 +634,11 @@ function checkMiddlewareCompatibility(middleware, runtimeFamilyId, runtimeTarget
|
|
|
634
634
|
runtimeTargetId
|
|
635
635
|
});
|
|
636
636
|
}
|
|
637
|
+
/**
|
|
638
|
+
* Phantom key an emitted model type carries to name its relation properties.
|
|
639
|
+
* Never present at runtime; `Scalars` and `Shape` read it to tell relations from fields.
|
|
640
|
+
*/
|
|
641
|
+
const RelationKeys = Symbol("RelationKeys");
|
|
637
642
|
var MetaBuilderImpl = class {
|
|
638
643
|
#kind;
|
|
639
644
|
#terminalName;
|
|
@@ -665,6 +670,6 @@ function createMetaBuilder(kind, terminalName) {
|
|
|
665
670
|
return new MetaBuilderImpl(kind, terminalName);
|
|
666
671
|
}
|
|
667
672
|
//#endregion
|
|
668
|
-
export {
|
|
673
|
+
export { assertAnnotationsApplicable as a, createMetaBuilder as c, runBeforeExecuteChain as d, runBeforeQueryChain as f, runtimeAborted as h, RuntimeCore as i, defineAnnotation as l, runQueryWithMiddleware as m, RUNTIME_ABORTED as n, checkAborted as o, runExecuteWithMiddleware as p, RelationKeys as r, checkMiddlewareCompatibility as s, AsyncIterableResult as t, raceAgainstAbort as u };
|
|
669
674
|
|
|
670
|
-
//# sourceMappingURL=runtime-
|
|
675
|
+
//# sourceMappingURL=runtime-DXmHIbAr.mjs.map
|