@prisma/orm-framework 8.0.0-rc.14-dev.35 → 8.0.0-rc.14-dev.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{authoring-CUDReFVP.d.mts → authoring-CcT010vl.d.mts} +5 -5
- package/dist/{authoring-CUDReFVP.d.mts.map → authoring-CcT010vl.d.mts.map} +1 -1
- package/dist/{authoring-Cp71GImA.mjs → authoring-iMWszF7p.mjs} +15 -5
- package/dist/authoring-iMWszF7p.mjs.map +1 -0
- package/dist/{binder-Dz5zT7tr-CCCwiQ29.d.mts → binder-Dz5zT7tr-UEfDpcxO.d.mts} +9 -9
- package/dist/{binder-Dz5zT7tr-CCCwiQ29.d.mts.map → binder-Dz5zT7tr-UEfDpcxO.d.mts.map} +1 -1
- package/dist/{codec-0XB-9TzG.d.mts → codec-BSm2qNVe.d.mts} +4 -8
- package/dist/codec-BSm2qNVe.d.mts.map +1 -0
- package/dist/{codec-Cz-bOon3.mjs → codec-U-xbQys_.mjs} +12 -7
- package/dist/codec-U-xbQys_.mjs.map +1 -0
- package/dist/{codec-types-CZ8xRBJy-BMjCsUt1.d.mts → codec-types-8NKqm4AQ-DyNSay3e.d.mts} +17 -5
- package/dist/codec-types-8NKqm4AQ-DyNSay3e.d.mts.map +1 -0
- package/dist/{components-CRRIFm30.d.mts → components-CK8GHz8l.d.mts} +4 -4
- package/dist/{components-CRRIFm30.d.mts.map → components-CK8GHz8l.d.mts.map} +1 -1
- package/dist/components.d.mts +18 -18
- package/dist/components.mjs +6 -6
- package/dist/components__authoring.d.mts +4 -4
- package/dist/components__authoring.mjs +3 -3
- package/dist/components__codec.d.mts +3 -3
- package/dist/components__codec.mjs +3 -3
- package/dist/components__components.d.mts +3 -3
- package/dist/components__control.d.mts +4 -4
- package/dist/components__control.mjs +3 -3
- 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 +1 -1
- package/dist/{config-types-E4OZwoHK.d.mts → config-types-D7Gkm2iv.d.mts} +6 -6
- package/dist/{config-types-E4OZwoHK.d.mts.map → config-types-D7Gkm2iv.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 +10 -13
- package/dist/contract-authoring.d.mts.map +1 -1
- package/dist/contract-authoring.mjs +1 -3
- package/dist/contract-authoring.mjs.map +1 -1
- package/dist/{control-D9TxxGse.mjs → control-BIv_-3QB.mjs} +20 -5
- package/dist/control-BIv_-3QB.mjs.map +1 -0
- package/dist/{control-DtFLqCvx.d.mts → control-C1x8zzHb.d.mts} +56 -41
- package/dist/control-C1x8zzHb.d.mts.map +1 -0
- package/dist/{declarations-DDT0hm5r-D_XDM-WN.mjs → declarations-DDT0hm5r-BZoOKiu1.mjs} +2 -2
- package/dist/{declarations-DDT0hm5r-D_XDM-WN.mjs.map → declarations-DDT0hm5r-BZoOKiu1.mjs.map} +1 -1
- package/dist/emission-D9NsURmS.d.mts +2 -0
- package/dist/{emission-types-CKbNqwUs-hrIslUsL.d.mts → emission-types-BpY3maMX-pzm7Xmn7.d.mts} +4 -4
- package/dist/{emission-types-CKbNqwUs-hrIslUsL.d.mts.map → emission-types-BpY3maMX-pzm7Xmn7.d.mts.map} +1 -1
- package/dist/errors.d.mts +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/{execution-ZWG0tqRB.d.mts → execution-gjfB1CvH.d.mts} +2 -2
- package/dist/{execution-ZWG0tqRB.d.mts.map → execution-gjfB1CvH.d.mts.map} +1 -1
- package/dist/{execution-DHWSU95b.d.mts → execution-o-z5gzZh.d.mts} +2 -2
- package/dist/{execution-DHWSU95b.d.mts.map → execution-o-z5gzZh.d.mts.map} +1 -1
- package/dist/{framework-authoring-BJf_-FTJ-K8fp3V_r.d.mts → framework-authoring-DRrZ8_s0-CJ7XXqvx.d.mts} +37 -4
- package/dist/framework-authoring-DRrZ8_s0-CJ7XXqvx.d.mts.map +1 -0
- package/dist/{framework-components-7SQpxVko-BaUd55aP.d.mts → framework-components-DDr6lZoZ-EpXYrZj7.d.mts} +6 -12
- package/dist/framework-components-DDr6lZoZ-EpXYrZj7.d.mts.map +1 -0
- package/dist/ids.d.mts +1 -1
- package/dist/ids.mjs +1 -4
- package/dist/ids.mjs.map +1 -1
- package/dist/{ir-BOKp6I1y.d.mts → ir-bkQr_x1E.d.mts} +2 -2
- package/dist/{ir-BOKp6I1y.d.mts.map → ir-bkQr_x1E.d.mts.map} +1 -1
- package/dist/{mutation-default-types-CrA6rrwU-BkMgh2pO.d.mts → mutation-default-types-D_M8NC3U-BQNexfRU.d.mts} +3 -3
- package/dist/{mutation-default-types-CrA6rrwU-BkMgh2pO.d.mts.map → mutation-default-types-D_M8NC3U-BQNexfRU.d.mts.map} +1 -1
- package/dist/{parse-eSQ_clQv-BIek6vrj.d.mts → parse-eSQ_clQv-BQKtf4px.d.mts} +6 -6
- package/dist/{parse-eSQ_clQv-BIek6vrj.d.mts.map → parse-eSQ_clQv-BQKtf4px.d.mts.map} +1 -1
- package/dist/{parse-ymgXJUnk-SzrYveCt.mjs → parse-ymgXJUnk-CwVCe8ZD.mjs} +2 -2
- package/dist/{parse-ymgXJUnk-SzrYveCt.mjs.map → parse-ymgXJUnk-CwVCe8ZD.mjs.map} +1 -1
- package/dist/{psl-ast-DtjFlM-c-amCHIsWc.d.mts → psl-ast-BVYEC5xX-BEqjBVqF.d.mts} +3 -3
- package/dist/{psl-ast-DtjFlM-c-amCHIsWc.d.mts.map → psl-ast-BVYEC5xX-BEqjBVqF.d.mts.map} +1 -1
- package/dist/psl-ast-a1L1ep0a.d.mts +2 -0
- package/dist/psl-parser.d.mts +8 -8
- package/dist/psl-parser.mjs +19 -6
- package/dist/psl-parser.mjs.map +1 -1
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__format.mjs +2 -2
- package/dist/psl-parser__interpret.d.mts +6 -6
- package/dist/psl-parser__interpret.mjs +1 -1
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-parser__syntax.mjs +2 -2
- package/dist/psl-printer.d.mts +4 -4
- package/dist/psl-printer.mjs +1 -1
- package/dist/{resolve-codec-qE0g980d-Ck_gIaTi.mjs → resolve-codec-vOfdHcIJ-IeNjz3Tm.mjs} +6 -5
- package/dist/resolve-codec-vOfdHcIJ-IeNjz3Tm.mjs.map +1 -0
- package/dist/{runtime-BccsLa5m.d.mts → runtime-DynmbuWH.d.mts} +2 -2
- package/dist/{runtime-BccsLa5m.d.mts.map → runtime-DynmbuWH.d.mts.map} +1 -1
- package/dist/{temporal-presets-pC0xlwib-Diikns1l.d.mts → temporal-presets-CLsu00ZK-CAx-cLAM.d.mts} +4 -4
- package/dist/{temporal-presets-pC0xlwib-Diikns1l.d.mts.map → temporal-presets-CLsu00ZK-CAx-cLAM.d.mts.map} +1 -1
- package/dist/{temporal-presets-UoKnoAlu-6864WUSv.mjs → temporal-presets-DIo9uYtS-Odk6WBk8.mjs} +19 -3
- package/dist/temporal-presets-DIo9uYtS-Odk6WBk8.mjs.map +1 -0
- package/dist/{types-import-spec-BLFYPur6-QN7ntocb.d.mts → types-import-spec-U2GFdg-x-CRt_XdWj.d.mts} +3 -3
- package/dist/{types-import-spec-BLFYPur6-QN7ntocb.d.mts.map → types-import-spec-U2GFdg-x-CRt_XdWj.d.mts.map} +1 -1
- package/package.json +15 -15
- package/dist/authoring-Cp71GImA.mjs.map +0 -1
- package/dist/codec-0XB-9TzG.d.mts.map +0 -1
- package/dist/codec-Cz-bOon3.mjs.map +0 -1
- package/dist/codec-types-CZ8xRBJy-BMjCsUt1.d.mts.map +0 -1
- package/dist/control-D9TxxGse.mjs.map +0 -1
- package/dist/control-DtFLqCvx.d.mts.map +0 -1
- package/dist/emission-CKIZBZw3.d.mts +0 -2
- package/dist/framework-authoring-BJf_-FTJ-K8fp3V_r.d.mts.map +0 -1
- package/dist/framework-components-7SQpxVko-BaUd55aP.d.mts.map +0 -1
- package/dist/psl-ast-CcQp_u_l.d.mts +0 -2
- package/dist/resolve-codec-qE0g980d-Ck_gIaTi.mjs.map +0 -1
- package/dist/temporal-presets-UoKnoAlu-6864WUSv.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as PslDiagnosticCode, L as PslExtensionBlock, M as ContributedPslDiagnosticCode, U as PslSpan } from "./framework-authoring-
|
|
2
|
-
//#region ../../../1-framework/1-core/framework-components/dist/psl-ast-
|
|
1
|
+
import { I as PslDiagnosticCode, L as PslExtensionBlock, M as ContributedPslDiagnosticCode, U as PslSpan } from "./framework-authoring-DRrZ8_s0-CJ7XXqvx.mjs";
|
|
2
|
+
//#region ../../../1-framework/1-core/framework-components/dist/psl-ast-BVYEC5xX.d.mts
|
|
3
3
|
//#region src/control/psl-ast.d.ts
|
|
4
4
|
interface PslDiagnostic {
|
|
5
5
|
/**
|
|
@@ -227,4 +227,4 @@ declare const BUILTIN_PSL_KIND_KEYS: ReadonlySet<string>;
|
|
|
227
227
|
declare function namespacePslExtensionBlocks(ns: PslNamespace): readonly PslExtensionBlock[];
|
|
228
228
|
//#endregion
|
|
229
229
|
export { makePslNamespaceEntries as A, PslTypesBlock as C, flatPslCompositeTypes as D, UNSPECIFIED_PSL_NAMESPACE_ID as E, flatPslModels as O, PslTypeConstructorCall as S, UNBOUND_PSL_NAMESPACE_NAME as T, PslModelAttribute as _, PslAttributePositionalArgument as a, PslNamespaceEntry as b, PslDefaultFunctionValue as c, PslDiagnostic as d, PslDocumentAst as f, PslModel as g, PslIndexConstraint as h, PslAttributeNamedArgument as i, namespacePslExtensionBlocks as j, makePslNamespace as k, PslDefaultLiteralValue as l, PslFieldAttribute as m, PslAttribute as n, PslAttributeTarget as o, PslField as p, PslAttributeArgument as r, PslCompositeType as s, BUILTIN_PSL_KIND_KEYS as t, PslDefaultValue as u, PslNamedTypeDeclaration as v, PslUniqueConstraint as w, PslReferentialAction as x, PslNamespace as y };
|
|
230
|
-
//# sourceMappingURL=psl-ast-
|
|
230
|
+
//# sourceMappingURL=psl-ast-BVYEC5xX-BEqjBVqF.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"psl-ast-
|
|
1
|
+
{"version":3,"file":"psl-ast-BVYEC5xX-BEqjBVqF.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/psl-ast-BVYEC5xX.d.mts"],"mappings":";;;UAEU;;;;;;;;;;;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;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;;;;;cAKA;;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"}
|
package/dist/psl-parser.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { B as PslExtensionBlockParsedAttribute, C as AuthoringPslBlockDescriptorNamespace, F as ParsedPslExtensionBlock, H as PslPosition, I as PslDiagnosticCode, L as PslExtensionBlock, R as PslExtensionBlockAttribute, S as AuthoringPslBlockDescriptor, U as PslSpan, V as PslExtensionBlockPrintEntry, z as PslExtensionBlockAttributeArg } from "./framework-authoring-
|
|
2
|
-
import { t as ControlDefaultRegistries } from "./mutation-default-types-
|
|
3
|
-
import "./authoring-
|
|
4
|
-
import { C as PslTypesBlock, O as flatPslModels, S as PslTypeConstructorCall, _ as PslModelAttribute, a as PslAttributePositionalArgument, c as PslDefaultFunctionValue, f as PslDocumentAst, g as PslModel, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, u as PslDefaultValue, v as PslNamedTypeDeclaration, y as PslNamespace } from "./psl-ast-
|
|
1
|
+
import { B as PslExtensionBlockParsedAttribute, C as AuthoringPslBlockDescriptorNamespace, F as ParsedPslExtensionBlock, H as PslPosition, I as PslDiagnosticCode, L as PslExtensionBlock, R as PslExtensionBlockAttribute, S as AuthoringPslBlockDescriptor, U as PslSpan, V as PslExtensionBlockPrintEntry, z as PslExtensionBlockAttributeArg } from "./framework-authoring-DRrZ8_s0-CJ7XXqvx.mjs";
|
|
2
|
+
import { t as ControlDefaultRegistries } from "./mutation-default-types-D_M8NC3U-BQNexfRU.mjs";
|
|
3
|
+
import "./authoring-CcT010vl.mjs";
|
|
4
|
+
import { C as PslTypesBlock, O as flatPslModels, S as PslTypeConstructorCall, _ as PslModelAttribute, a as PslAttributePositionalArgument, c as PslDefaultFunctionValue, f as PslDocumentAst, g as PslModel, i as PslAttributeNamedArgument, j as namespacePslExtensionBlocks, l as PslDefaultLiteralValue, m as PslFieldAttribute, n as PslAttribute, o as PslAttributeTarget, p as PslField, r as PslAttributeArgument, s as PslCompositeType, u as PslDefaultValue, v as PslNamedTypeDeclaration, y as PslNamespace } from "./psl-ast-BVYEC5xX-BEqjBVqF.mjs";
|
|
5
5
|
import { r as Result } from "./result-BYCOANWy.mjs";
|
|
6
|
-
import { n as AssembledAuthoringContributions } from "./control-
|
|
7
|
-
import "./psl-ast-
|
|
6
|
+
import { n as AssembledAuthoringContributions } from "./control-C1x8zzHb.mjs";
|
|
7
|
+
import "./psl-ast-a1L1ep0a.mjs";
|
|
8
8
|
import { i as isPslIdentifier } from "./tokenizer-DW30uwhx-BHsWTwYk.mjs";
|
|
9
|
-
import { L as PslDiagnostic, R as PslDiagnosticCollector, T as ModelAttributeAst, d as DiagnosticSource, dt as mapPslDiagnostics, it as diagnosticSource, m as FieldAttributeAst, n as AstNode, q as SyntaxNode, r as AttributeArgAst, rt as diagnosticFromSpan, tt as createPslDiagnosticCollector, z as PslSources } from "./parse-eSQ_clQv-
|
|
10
|
-
import { $ as NamedTypeSymbol, A as DescribeUnsupportedAttribute, At as TypedFuncCall, B as FuncCallArgType, Bt as isNamespaceLike, C as ContributedTypeNamespace, Ct as ResolvedTypeConstructorCall, D as CtxOf, Dt as SymbolTableResult, E as CreateBinderInput, Et as SymbolTable, F as FieldRefArgType, Ft as UnsupportedAttribute, G as InspectableArgType, Gt as readResolvedAttribute, H as FunctionSymbol, Ht as matchesSelector, I as FieldSymbol, It as buildSymbolTable, J as JsonValueArgType, Jt as typeReferenceNode, K as IntArgType, Kt as readResolvedAttributes, L as FixedIdentifierArgType, Lt as contributedTypeOf, M as EntityRefArgType, Mt as UnrestrictedIdentifierArgType, N as EntitySelector, Nt as UnrestrictedNumArgType, O as DeclarationFor, Ot as TaggedLiteralArgType, P as FieldAttributeCtx, Pt as UnrestrictedStrArgType, Q as NamedOut, R as FixedNumArgType, Rt as createBinder, S as ContributedTypeDescriptor, St as ResolvedNamedTypeBinding, T as ContributedTypeSymbol, Tt as ScopeResolution, U as IdentifierArgType, Ut as memberEntries, V as FuncCallSig, Vt as keywordPslSpan, W as InferAttr, Wt as nodePslSpan, X as ModelAttributeCtx, Y as ListArgType, Z as ModelSymbol, _ as CompositeTypeSymbol, _t as RequiredContextFor, a as AttributeLevel, at as OptionalArgType, b as ContributedMember, bt as ResolvedAttributeArg, c as AttributeSymbol, ct as Param, d as BinderResult, dt as PosOut, et as NamespaceSymbol, f as BlockAttributeCtx, ft as PositionalParam, g as BuildSymbolTableOptions, gt as RejectingArgType, h as BoundSpec, ht as ReferencedFieldRefArgType, i as AttributeCtx, it as OneOfArgType, j as EntityDeclaration, jt as UnresolvedTypeReference, k as DescribeUnresolvedType, kt as TopLevelScope, l as Binder, lt as ParameterSymbol, m as BoolArgType, mt as RecordArgType, n as ArgType, nt as NumLiteral, o as AttributeOut, ot as OutOf, p as BlockSymbol, pt as PslSymbol, q as JsonArgType, qt as readResolvedConstructorCall, r as ArgTypeKind, rt as NumLiteralArgType, s as AttributeSpec, st as PSL_UNRESOLVED_REFERENCE, t as AnyArgType, tt as NullArgType, u as BinderContext, ut as ParsedTaggedLiteral, v as ConstantSymbol, vt as Resolution, w as ContributedTypeScope, wt as Scope, x as ContributedNamespaceSymbol, xt as ResolvedEntityReference, y as ContextForRequirement, yt as ResolvedAttribute, z as FixedStrArgType, zt as entityReference } from "./binder-Dz5zT7tr-
|
|
9
|
+
import { L as PslDiagnostic, R as PslDiagnosticCollector, T as ModelAttributeAst, d as DiagnosticSource, dt as mapPslDiagnostics, it as diagnosticSource, m as FieldAttributeAst, n as AstNode, q as SyntaxNode, r as AttributeArgAst, rt as diagnosticFromSpan, tt as createPslDiagnosticCollector, z as PslSources } from "./parse-eSQ_clQv-BQKtf4px.mjs";
|
|
10
|
+
import { $ as NamedTypeSymbol, A as DescribeUnsupportedAttribute, At as TypedFuncCall, B as FuncCallArgType, Bt as isNamespaceLike, C as ContributedTypeNamespace, Ct as ResolvedTypeConstructorCall, D as CtxOf, Dt as SymbolTableResult, E as CreateBinderInput, Et as SymbolTable, F as FieldRefArgType, Ft as UnsupportedAttribute, G as InspectableArgType, Gt as readResolvedAttribute, H as FunctionSymbol, Ht as matchesSelector, I as FieldSymbol, It as buildSymbolTable, J as JsonValueArgType, Jt as typeReferenceNode, K as IntArgType, Kt as readResolvedAttributes, L as FixedIdentifierArgType, Lt as contributedTypeOf, M as EntityRefArgType, Mt as UnrestrictedIdentifierArgType, N as EntitySelector, Nt as UnrestrictedNumArgType, O as DeclarationFor, Ot as TaggedLiteralArgType, P as FieldAttributeCtx, Pt as UnrestrictedStrArgType, Q as NamedOut, R as FixedNumArgType, Rt as createBinder, S as ContributedTypeDescriptor, St as ResolvedNamedTypeBinding, T as ContributedTypeSymbol, Tt as ScopeResolution, U as IdentifierArgType, Ut as memberEntries, V as FuncCallSig, Vt as keywordPslSpan, W as InferAttr, Wt as nodePslSpan, X as ModelAttributeCtx, Y as ListArgType, Z as ModelSymbol, _ as CompositeTypeSymbol, _t as RequiredContextFor, a as AttributeLevel, at as OptionalArgType, b as ContributedMember, bt as ResolvedAttributeArg, c as AttributeSymbol, ct as Param, d as BinderResult, dt as PosOut, et as NamespaceSymbol, f as BlockAttributeCtx, ft as PositionalParam, g as BuildSymbolTableOptions, gt as RejectingArgType, h as BoundSpec, ht as ReferencedFieldRefArgType, i as AttributeCtx, it as OneOfArgType, j as EntityDeclaration, jt as UnresolvedTypeReference, k as DescribeUnresolvedType, kt as TopLevelScope, l as Binder, lt as ParameterSymbol, m as BoolArgType, mt as RecordArgType, n as ArgType, nt as NumLiteral, o as AttributeOut, ot as OutOf, p as BlockSymbol, pt as PslSymbol, q as JsonArgType, qt as readResolvedConstructorCall, r as ArgTypeKind, rt as NumLiteralArgType, s as AttributeSpec, st as PSL_UNRESOLVED_REFERENCE, t as AnyArgType, tt as NullArgType, u as BinderContext, ut as ParsedTaggedLiteral, v as ConstantSymbol, vt as Resolution, w as ContributedTypeScope, wt as Scope, x as ContributedNamespaceSymbol, xt as ResolvedEntityReference, y as ContextForRequirement, yt as ResolvedAttribute, z as FixedStrArgType, zt as entityReference } from "./binder-Dz5zT7tr-UEfDpcxO.mjs";
|
|
11
11
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/index.d.mts
|
|
12
12
|
//#region src/attribute-helpers.d.ts
|
|
13
13
|
declare function getPositionalArgument(attribute: PslAttribute, index?: number): string | undefined;
|
package/dist/psl-parser.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as blindCast } from "./casts-DpaahrlC-Bd5n2coI.mjs";
|
|
2
2
|
import { t as InternalError } from "./internal-error-ChGYPVpq-DhUD05u0.mjs";
|
|
3
3
|
import { a as or, i as okVoid, n as notOk, r as ok, t as and } from "./result-8OXF26MN.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { S as isAuthoringPslBlockDescriptor, x as isAuthoringModelAttributeDescriptor } from "./temporal-presets-DIo9uYtS-Odk6WBk8.mjs";
|
|
5
5
|
import { a as flatPslModels, c as namespacePslExtensionBlocks } from "./psl-ast-CyvE6CR-.mjs";
|
|
6
6
|
import { n as isPslIdentifier } from "./tokenizer-BMz7z2KR-J0yZ4im3.mjs";
|
|
7
|
-
import { C as TaggedLiteralExprAst, S as StringLiteralExprAst, T as TypesBlockAst, _ as NumberLiteralExprAst, a as CompositeTypeDeclarationAst, b as PathExprAst, d as IdentifierAst, g as NamespaceDeclarationAst, i as BooleanLiteralExprAst, l as FunctionCallAst, m as ModelDeclarationAst, t as ArrayLiteralAst, u as GenericBlockDeclarationAst, y as ObjectLiteralExprAst } from "./declarations-DDT0hm5r-
|
|
7
|
+
import { C as TaggedLiteralExprAst, S as StringLiteralExprAst, T as TypesBlockAst, _ as NumberLiteralExprAst, a as CompositeTypeDeclarationAst, b as PathExprAst, d as IdentifierAst, g as NamespaceDeclarationAst, i as BooleanLiteralExprAst, l as FunctionCallAst, m as ModelDeclarationAst, t as ArrayLiteralAst, u as GenericBlockDeclarationAst, y as ObjectLiteralExprAst } from "./declarations-DDT0hm5r-BZoOKiu1.mjs";
|
|
8
8
|
import { a as mapPslDiagnostics, c as readResolvedAttributes, i as keywordPslSpan, l as readResolvedConstructorCall, n as diagnosticFromSpan, o as nodePslSpan, r as diagnosticSource, s as readResolvedAttribute, t as createPslDiagnosticCollector } from "./resolve-C8PUf8zv-QAvnPhCt.mjs";
|
|
9
9
|
//#region ../../../1-framework/2-authoring/psl-parser/dist/symbol-table-BgS0X0JI.mjs
|
|
10
10
|
function* modelAttributeDescriptors(namespace) {
|
|
@@ -1763,6 +1763,7 @@ function interpretExtensionBlock(input) {
|
|
|
1763
1763
|
name: block.name,
|
|
1764
1764
|
values: blindCast(entries.values),
|
|
1765
1765
|
parameterSpans: entries.parameterSpans,
|
|
1766
|
+
numberTexts: entries.numberTexts,
|
|
1766
1767
|
attributes: interpretedAttributes.attributes,
|
|
1767
1768
|
span: block.span
|
|
1768
1769
|
});
|
|
@@ -1772,6 +1773,7 @@ function interpretStructBlock(block, spec, ctx) {
|
|
|
1772
1773
|
let failed = false;
|
|
1773
1774
|
const values = Object.create(null);
|
|
1774
1775
|
const parameterSpans = Object.create(null);
|
|
1776
|
+
const numberTexts = Object.create(null);
|
|
1775
1777
|
const seen = /* @__PURE__ */ new Set();
|
|
1776
1778
|
for (const entry of block.node.entries()) {
|
|
1777
1779
|
const key = entry.key()?.name();
|
|
@@ -1794,8 +1796,10 @@ function interpretStructBlock(block, spec, ctx) {
|
|
|
1794
1796
|
continue;
|
|
1795
1797
|
}
|
|
1796
1798
|
const parsed = rule.parse(value, ctx);
|
|
1797
|
-
if (parsed.ok)
|
|
1798
|
-
|
|
1799
|
+
if (parsed.ok) {
|
|
1800
|
+
values[key] = parsed.value;
|
|
1801
|
+
recordNumberText(numberTexts, key, value);
|
|
1802
|
+
} else {
|
|
1799
1803
|
failed = true;
|
|
1800
1804
|
diagnostics.push(...parsed.failure);
|
|
1801
1805
|
}
|
|
@@ -1811,6 +1815,7 @@ function interpretStructBlock(block, spec, ctx) {
|
|
|
1811
1815
|
return {
|
|
1812
1816
|
values,
|
|
1813
1817
|
parameterSpans,
|
|
1818
|
+
numberTexts,
|
|
1814
1819
|
diagnostics,
|
|
1815
1820
|
failed
|
|
1816
1821
|
};
|
|
@@ -1820,6 +1825,7 @@ function interpretMapBlock(block, spec, ctx) {
|
|
|
1820
1825
|
let failed = false;
|
|
1821
1826
|
const values = Object.create(null);
|
|
1822
1827
|
const parameterSpans = Object.create(null);
|
|
1828
|
+
const numberTexts = Object.create(null);
|
|
1823
1829
|
const seen = /* @__PURE__ */ new Set();
|
|
1824
1830
|
for (const entry of block.node.entries()) {
|
|
1825
1831
|
const key = entry.key()?.name();
|
|
@@ -1841,8 +1847,10 @@ function interpretMapBlock(block, spec, ctx) {
|
|
|
1841
1847
|
continue;
|
|
1842
1848
|
}
|
|
1843
1849
|
const parsed = spec.value.type.parse(value, ctx);
|
|
1844
|
-
if (parsed.ok)
|
|
1845
|
-
|
|
1850
|
+
if (parsed.ok) {
|
|
1851
|
+
values[key] = parsed.value;
|
|
1852
|
+
recordNumberText(numberTexts, key, value);
|
|
1853
|
+
} else {
|
|
1846
1854
|
failed = true;
|
|
1847
1855
|
diagnostics.push(...parsed.failure);
|
|
1848
1856
|
}
|
|
@@ -1850,10 +1858,15 @@ function interpretMapBlock(block, spec, ctx) {
|
|
|
1850
1858
|
return {
|
|
1851
1859
|
values,
|
|
1852
1860
|
parameterSpans,
|
|
1861
|
+
numberTexts,
|
|
1853
1862
|
diagnostics,
|
|
1854
1863
|
failed
|
|
1855
1864
|
};
|
|
1856
1865
|
}
|
|
1866
|
+
function recordNumberText(numberTexts, key, value) {
|
|
1867
|
+
const text = NumberLiteralExprAst.cast(value.syntax)?.token()?.text;
|
|
1868
|
+
if (text !== void 0) numberTexts[key] = text;
|
|
1869
|
+
}
|
|
1857
1870
|
function duplicateParameterDiagnostic(block, key, ctx, node, span) {
|
|
1858
1871
|
return entryDiagnostic("PSL_EXTENSION_DUPLICATE_PARAMETER", `Duplicate parameter "${key}" in "${block.keyword}" block "${block.name}"; first occurrence wins`, ctx, node, span);
|
|
1859
1872
|
}
|