@prisma/orm-framework 8.0.0-rc.18-dev.28 → 8.0.0-rc.18-dev.30
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-Dq8t6SUs.d.mts → apply-specifier-default-control-policy-Dlz0iwnK.d.mts} +2 -2
- package/dist/apply-specifier-default-control-policy-Dlz0iwnK.d.mts.map +1 -0
- package/dist/{authoring-CnjmWENY.d.mts → authoring-BY3RNM--.d.mts} +2 -2
- package/dist/{authoring-CnjmWENY.d.mts.map → authoring-BY3RNM--.d.mts.map} +1 -1
- package/dist/{authoring-Bgq2xYhn.mjs → authoring-D77CrCtb.mjs} +2 -2
- package/dist/authoring-D77CrCtb.mjs.map +1 -0
- package/dist/{binder-BfzoRtNz-LGJyV1PO.d.mts → binder-Cm0N-oPu-deLbJ-j9.d.mts} +17 -20
- package/dist/binder-Cm0N-oPu-deLbJ-j9.d.mts.map +1 -0
- package/dist/{canonicalization-Cd9oGzy7-2SoDBziD.d.mts → canonicalization-CyrrXGmj-CeKUkht1.d.mts} +3 -3
- package/dist/{canonicalization-Cd9oGzy7-2SoDBziD.d.mts.map → canonicalization-CyrrXGmj-CeKUkht1.d.mts.map} +1 -1
- package/dist/{components-BtODGXHF.d.mts → components-BdXloTpj.d.mts} +36 -3
- package/dist/components-BdXloTpj.d.mts.map +1 -0
- package/dist/{components-Bji-LsWb.mjs → components-DJ5O7uwz.mjs} +26 -3
- package/dist/components-DJ5O7uwz.mjs.map +1 -0
- package/dist/components.d.mts +11 -11
- package/dist/components.mjs +6 -6
- package/dist/components__authoring.d.mts +3 -3
- package/dist/components__authoring.mjs +3 -3
- package/dist/components__components.d.mts +4 -3
- package/dist/components__components.mjs +3 -3
- package/dist/components__control.d.mts +4 -4
- package/dist/components__control.mjs +2 -2
- package/dist/components__emission.d.mts +2 -2
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__runtime.d.mts +1 -1
- package/dist/{config-types-B6jmUYbH.d.mts → config-types-BXw8w6h9.d.mts} +10 -7
- package/dist/config-types-BXw8w6h9.d.mts.map +1 -0
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +2 -2
- package/dist/contract-authoring.mjs +3 -3
- package/dist/{contract-types-Mp9HNgyy-zkcDkGuS.d.mts → contract-types-DEIEpzU_-DvAVuBr5.d.mts} +9 -3
- package/dist/contract-types-DEIEpzU_-DvAVuBr5.d.mts.map +1 -0
- package/dist/contract.d.mts +8 -8
- package/dist/contract.mjs +2 -2
- 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__types.d.mts +3 -3
- package/dist/contract__types.mjs +2 -2
- package/dist/{control-GBn6rSAO.mjs → control-BJypoZfu.mjs} +9 -27
- package/dist/control-BJypoZfu.mjs.map +1 -0
- package/dist/{control-Bv8UK63M-DSYx-1Xr.mjs → control-Bv8UK63M-dBsEDbTP.mjs} +2 -2
- package/dist/{control-Bv8UK63M-DSYx-1Xr.mjs.map → control-Bv8UK63M-dBsEDbTP.mjs.map} +1 -1
- package/dist/{control-C_zs63JQ-Drfjty0L.d.mts → control-C_zs63JQ-BFg3u8U5.d.mts} +2 -2
- package/dist/{control-C_zs63JQ-Drfjty0L.d.mts.map → control-C_zs63JQ-BFg3u8U5.d.mts.map} +1 -1
- package/dist/{control-CUHu82WN.d.mts → control-D2f07K6R.d.mts} +8 -9
- package/dist/{control-CUHu82WN.d.mts.map → control-D2f07K6R.d.mts.map} +1 -1
- package/dist/control-GrJDRvbD.d.mts +1 -0
- package/dist/{declarations-DuSbyF44-Dmu71nd-.mjs → declarations-DuSbyF44-D-Q7-GRi.mjs} +2 -2
- package/dist/{declarations-DuSbyF44-Dmu71nd-.mjs.map → declarations-DuSbyF44-D-Q7-GRi.mjs.map} +1 -1
- package/dist/{emission-nLoTbaCU.d.mts → emission-D9fjPyAg.d.mts} +1 -1
- package/dist/{emission-types-CH6r1DQ8-BB_7dBvp.d.mts → emission-types-CH6r1DQ8-eg79TO6Y.d.mts} +2 -2
- package/dist/{emission-types-CH6r1DQ8-BB_7dBvp.d.mts.map → emission-types-CH6r1DQ8-eg79TO6Y.d.mts.map} +1 -1
- package/dist/{enum-accessor-GZPV-WpP.d.mts → enum-accessor-BUVBc6ZH.d.mts} +2 -2
- package/dist/{enum-accessor-GZPV-WpP.d.mts.map → enum-accessor-BUVBc6ZH.d.mts.map} +1 -1
- package/dist/errors.d.mts +4 -4
- package/dist/errors.mjs +3 -3
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__control.mjs +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__execution.mjs +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/errors__migration.mjs +1 -1
- package/dist/{execution-Dya-n_dQ.d.mts → execution-B_f4fR5R.d.mts} +3 -3
- package/dist/{execution-Dya-n_dQ.d.mts.map → execution-B_f4fR5R.d.mts.map} +1 -1
- package/dist/{execution-kM8NRyxS.d.mts → execution-DbU_RTsu.d.mts} +2 -2
- package/dist/{execution-kM8NRyxS.d.mts.map → execution-DbU_RTsu.d.mts.map} +1 -1
- package/dist/{execution-CCaUAQue.mjs → execution-okmamhD2.mjs} +2 -2
- package/dist/{execution-CCaUAQue.mjs.map → execution-okmamhD2.mjs.map} +1 -1
- package/dist/{framework-components-sC9Bo0lq-DZlp3POU.d.mts → framework-components-CDiuJNYP-CwszHrSy.d.mts} +103 -5
- package/dist/framework-components-CDiuJNYP-CwszHrSy.d.mts.map +1 -0
- package/dist/generator-functions-CXbQfvYu-BIFU1Ryx.mjs +271 -0
- package/dist/generator-functions-CXbQfvYu-BIFU1Ryx.mjs.map +1 -0
- package/dist/{hashing-Bva28lrB.d.mts → hashing-D-DHz0zl.d.mts} +3 -3
- package/dist/{hashing-Bva28lrB.d.mts.map → hashing-D-DHz0zl.d.mts.map} +1 -1
- package/dist/{hashing-utils-ZiNLX0QQ.d.mts → hashing-utils-DiGHKd3b.d.mts} +2 -2
- package/dist/{hashing-utils-ZiNLX0QQ.d.mts.map → hashing-utils-DiGHKd3b.d.mts.map} +1 -1
- package/dist/ids.d.mts +1 -5
- package/dist/ids.d.mts.map +1 -1
- package/dist/ids.mjs +7 -37
- package/dist/ids.mjs.map +1 -1
- package/dist/{migration-D5r4nNRY.mjs → migration-BfUEEHWP.mjs} +2 -2
- package/dist/{migration-D5r4nNRY.mjs.map → migration-BfUEEHWP.mjs.map} +1 -1
- package/dist/{migration-DGDETB62.d.mts → migration-BmIe8pwt.d.mts} +2 -2
- package/dist/{migration-DGDETB62.d.mts.map → migration-BmIe8pwt.d.mts.map} +1 -1
- package/dist/mutation-default-types-js6llINX-WGmpaAAL.d.mts +66 -0
- package/dist/mutation-default-types-js6llINX-WGmpaAAL.d.mts.map +1 -0
- package/dist/{parse-BxcaGLV1-hxuk2zDI.mjs → parse-BxcaGLV1-BxEIfxh3.mjs} +2 -2
- package/dist/{parse-BxcaGLV1-hxuk2zDI.mjs.map → parse-BxcaGLV1-BxEIfxh3.mjs.map} +1 -1
- package/dist/{parse-CJtBvEYy-CT6L3Gsh.d.mts → parse-CJtBvEYy-wRfXv1HQ.d.mts} +4 -4
- package/dist/{parse-CJtBvEYy-CT6L3Gsh.d.mts.map → parse-CJtBvEYy-wRfXv1HQ.d.mts.map} +1 -1
- package/dist/psl-parser.d.mts +18 -7
- package/dist/psl-parser.d.mts.map +1 -1
- package/dist/psl-parser.mjs +63 -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 +5 -5
- 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 +1 -1
- package/dist/psl-printer.mjs +1 -1
- package/dist/{runtime-CBIxeFGU.d.mts → runtime-CsMROQco.d.mts} +2 -2
- package/dist/{runtime-CBIxeFGU.d.mts.map → runtime-CsMROQco.d.mts.map} +1 -1
- package/dist/{temporal-presets-woCv6gic-DW1VcyKs.mjs → temporal-presets-BcDyr_hK-CFplJNGz.mjs} +6 -104
- package/dist/temporal-presets-BcDyr_hK-CFplJNGz.mjs.map +1 -0
- package/dist/{types-QyibIZST.mjs → types-B8ULzMAX.mjs} +9 -2
- package/dist/types-B8ULzMAX.mjs.map +1 -0
- package/dist/{types-C0eTDwgl.d.mts → types-BBb-tMcj.d.mts} +2 -2
- package/dist/{types-C0eTDwgl.d.mts.map → types-BBb-tMcj.d.mts.map} +1 -1
- package/dist/{written-value-B25FrTvM--oHAqWy0.d.mts → written-value-CQt_C72W-aKFkxVmA.d.mts} +6 -42
- package/dist/written-value-CQt_C72W-aKFkxVmA.d.mts.map +1 -0
- package/package.json +15 -15
- package/dist/apply-specifier-default-control-policy-Dq8t6SUs.d.mts.map +0 -1
- package/dist/authoring-Bgq2xYhn.mjs.map +0 -1
- package/dist/binder-BfzoRtNz-LGJyV1PO.d.mts.map +0 -1
- package/dist/capabilities-Cn-Kepnv-B8FOAyUu.mjs +0 -120
- package/dist/capabilities-Cn-Kepnv-B8FOAyUu.mjs.map +0 -1
- package/dist/components-Bji-LsWb.mjs.map +0 -1
- package/dist/components-BtODGXHF.d.mts.map +0 -1
- package/dist/config-types-B6jmUYbH.d.mts.map +0 -1
- package/dist/contract-types-Mp9HNgyy-zkcDkGuS.d.mts.map +0 -1
- package/dist/control-DScCIe85.d.mts +0 -1
- package/dist/control-GBn6rSAO.mjs.map +0 -1
- package/dist/framework-components-sC9Bo0lq-DZlp3POU.d.mts.map +0 -1
- package/dist/mutation-default-types-DMtyr_6u-wZRBOsHl.d.mts +0 -96
- package/dist/mutation-default-types-DMtyr_6u-wZRBOsHl.d.mts.map +0 -1
- package/dist/temporal-presets-woCv6gic-DW1VcyKs.mjs.map +0 -1
- package/dist/types-QyibIZST.mjs.map +0 -1
- package/dist/written-value-B25FrTvM--oHAqWy0.d.mts.map +0 -1
package/dist/psl-parser.mjs
CHANGED
|
@@ -2,15 +2,15 @@ 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
4
|
import { c as createDataTypeLookup } from "./data-type-DPhZLx30-DP2Kmnf5.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { b as isAuthoringModelAttributeDescriptor, d as describeTaggedLiteralFailure, x as isAuthoringPslBlockDescriptor } from "./temporal-presets-BcDyr_hK-CFplJNGz.mjs";
|
|
6
6
|
import { r as UNBOUND_NAMESPACE_ID } from "./namespace-VUH2dgnS-By5y75h9.mjs";
|
|
7
|
-
import { S as tagForm, a as castTypedValue, c as describeRefusal, h as exactRewrite, n as admittedTags, o as describeAdmittedForms, s as describeExpected, t as admittedForms, x as readWrittenValue } from "./authoring-
|
|
7
|
+
import { S as tagForm, a as castTypedValue, c as describeRefusal, h as exactRewrite, n as admittedTags, o as describeAdmittedForms, s as describeExpected, t as admittedForms, x as readWrittenValue } from "./authoring-D77CrCtb.mjs";
|
|
8
8
|
import { a as flatPslModels, c as namespacePslExtensionBlocks, n as UNBOUND_PSL_NAMESPACE_NAME } from "./psl-ast-CyvE6CR-.mjs";
|
|
9
9
|
import { l as printSyntax } from "./ast-helpers-CzydMPdh-Mi0SrZRa.mjs";
|
|
10
10
|
import { n as isPslIdentifier } from "./tokenizer-C-GTKKjR-B1vOzJy0.mjs";
|
|
11
|
-
import { D as TypesBlockAst, S as PathExprAst, T as TaggedLiteralExprAst, a as CompositeTypeDeclarationAst, c as FieldDeclarationAst, d as IdentifierAst, f as KeyValuePairAst, g as ModelDeclarationAst, h as ModelAttributeAst, i as BooleanLiteralExprAst, l as FunctionCallAst, p as MixinDeclarationAst, t as ArrayLiteralAst, u as GenericBlockDeclarationAst, v as NamespaceDeclarationAst, w as StringLiteralExprAst, x as ObjectLiteralExprAst, y as NumberLiteralExprAst } from "./declarations-DuSbyF44-
|
|
11
|
+
import { D as TypesBlockAst, S as PathExprAst, T as TaggedLiteralExprAst, a as CompositeTypeDeclarationAst, c as FieldDeclarationAst, d as IdentifierAst, f as KeyValuePairAst, g as ModelDeclarationAst, h as ModelAttributeAst, i as BooleanLiteralExprAst, l as FunctionCallAst, p as MixinDeclarationAst, t as ArrayLiteralAst, u as GenericBlockDeclarationAst, v as NamespaceDeclarationAst, w as StringLiteralExprAst, x as ObjectLiteralExprAst, y as NumberLiteralExprAst } from "./declarations-DuSbyF44-D-Q7-GRi.mjs";
|
|
12
12
|
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";
|
|
13
|
-
//#region ../../../1-framework/2-authoring/psl-parser/dist/binder-
|
|
13
|
+
//#region ../../../1-framework/2-authoring/psl-parser/dist/binder-CzIVWo8K.mjs
|
|
14
14
|
function* modelAttributeDescriptors(namespace) {
|
|
15
15
|
for (const value of Object.values(namespace)) {
|
|
16
16
|
if (isAuthoringModelAttributeDescriptor(value)) {
|
|
@@ -830,13 +830,14 @@ function createBinder(input) {
|
|
|
830
830
|
attributeSpecs: assembleAttributeSpecs(contributions),
|
|
831
831
|
pslBlockDescriptors: contributions.pslBlockDescriptors,
|
|
832
832
|
defaultFunctionRegistry: context.controlMutationDefaults.defaultFunctionRegistry,
|
|
833
|
+
generatorFunctions: context.generatorFunctions,
|
|
833
834
|
dataTypes: context.dataTypes,
|
|
834
835
|
...describeUnsupportedAttributeFactory !== void 0 ? { describeUnsupportedAttribute: describeUnsupportedAttributeFactory(sources) } : {},
|
|
835
836
|
...describeUnresolvedTypeFactory !== void 0 ? { describeUnresolvedType: describeUnresolvedTypeFactory(contributions) } : {}
|
|
836
837
|
});
|
|
837
838
|
}
|
|
838
839
|
function bind(options) {
|
|
839
|
-
const { sources, symbolTable, contributedTypes, attributeSpecs, defaultFunctionRegistry, dataTypes, describeUnsupportedAttribute, describeUnresolvedType } = options;
|
|
840
|
+
const { sources, symbolTable, contributedTypes, attributeSpecs, defaultFunctionRegistry, generatorFunctions, dataTypes, describeUnsupportedAttribute, describeUnresolvedType } = options;
|
|
840
841
|
const pslBlockDescriptors = options.pslBlockDescriptors ?? {};
|
|
841
842
|
const contributed = contributedScope(contributedTypeScope(contributedTypes));
|
|
842
843
|
const document = documentScope(symbolTable, contributed);
|
|
@@ -966,6 +967,7 @@ function bind(options) {
|
|
|
966
967
|
symbols: symbolTable,
|
|
967
968
|
model: entity,
|
|
968
969
|
defaultFunctionRegistry,
|
|
970
|
+
generatorFunctions,
|
|
969
971
|
dataTypes
|
|
970
972
|
} : void 0;
|
|
971
973
|
bindAttributes(entity, ownAttributes(entity), attributeSpecs.model, (factory) => specContext === void 0 ? void 0 : factory(specContext), {
|
|
@@ -2148,6 +2150,61 @@ function fieldAttribute(name, config) {
|
|
|
2148
2150
|
...config.refine !== void 0 ? { refine: config.refine } : {}
|
|
2149
2151
|
};
|
|
2150
2152
|
}
|
|
2153
|
+
const GENERATOR_PHASE_DOCUMENTATION = {
|
|
2154
|
+
onCreate: "Generates a value in the client when a row is created without one.",
|
|
2155
|
+
onUpdate: "Generates a value in the client every time a row is updated."
|
|
2156
|
+
};
|
|
2157
|
+
/** The source text of a node, as the author wrote it. */
|
|
2158
|
+
function nodeSourceText(node, ctx) {
|
|
2159
|
+
return ctx.sources.sourceFileFor(node.syntax).text.slice(node.syntax.offset, node.syntax.endOffset).trim();
|
|
2160
|
+
}
|
|
2161
|
+
function calleeName(node) {
|
|
2162
|
+
return FunctionCallAst.cast(node.syntax)?.path().join(".");
|
|
2163
|
+
}
|
|
2164
|
+
function functionListText(functions, codecKnown) {
|
|
2165
|
+
if (functions.length > 0) return `Functions that apply: ${functions.map(({ name }) => `${name}()`).join(", ")}.`;
|
|
2166
|
+
return codecKnown ? "No generator function applies to this codec." : "No generator function applies to it.";
|
|
2167
|
+
}
|
|
2168
|
+
/**
|
|
2169
|
+
* The generator function arms for a field's codec. A call to a function that does not apply to the codec, or that no component declares, is refused before the arms are tried, so the author is told which functions do apply.
|
|
2170
|
+
*/
|
|
2171
|
+
function generatorCallArm(ctx) {
|
|
2172
|
+
const codecId = ctx.typeConstructor?.descriptor.output.codecId;
|
|
2173
|
+
const functions = codecId === void 0 ? [] : ctx.generatorFunctions.functionsFor(codecId);
|
|
2174
|
+
const fieldPath = `${ctx.model.name}.${ctx.field.name}`;
|
|
2175
|
+
const target = codecId === void 0 ? "the field's type" : `codec "${codecId}"`;
|
|
2176
|
+
const refuse = (arg, attributeCtx) => {
|
|
2177
|
+
const name = calleeName(arg);
|
|
2178
|
+
return notOk([name !== void 0 && !ctx.generatorFunctions.has(name) ? leafDiagnostic(attributeCtx, arg, `Field "${fieldPath}": unknown generator function "${name}". ${functionListText(functions, codecId !== void 0)}`, "PSL_UNKNOWN_GENERATOR_FUNCTION") : leafDiagnostic(attributeCtx, arg, `Field "${fieldPath}": ${nodeSourceText(arg, attributeCtx)} does not apply to ${target}. ${functionListText(functions, codecId !== void 0)}`, "PSL_GENERATOR_NOT_APPLICABLE")]);
|
|
2179
|
+
};
|
|
2180
|
+
const [first, ...rest] = functions.map(({ name, signature }) => funcCall(name, blindCast(signature)));
|
|
2181
|
+
if (first === void 0) return {
|
|
2182
|
+
kind: "rejecting",
|
|
2183
|
+
label: "generator function",
|
|
2184
|
+
message: `No generator function applies to ${target}`,
|
|
2185
|
+
parse: refuse
|
|
2186
|
+
};
|
|
2187
|
+
const value = oneOf(first, ...rest);
|
|
2188
|
+
const bound = new Set(functions.map(({ name }) => name));
|
|
2189
|
+
return {
|
|
2190
|
+
...value,
|
|
2191
|
+
parse: (arg, attributeCtx) => {
|
|
2192
|
+
const name = calleeName(arg);
|
|
2193
|
+
return name !== void 0 && !bound.has(name) ? refuse(arg, attributeCtx) : value.parse(arg, attributeCtx);
|
|
2194
|
+
}
|
|
2195
|
+
};
|
|
2196
|
+
}
|
|
2197
|
+
/** The spec of `@onCreate(fn())` or `@onUpdate(fn())`, offering the generator functions bound to the field's codec. */
|
|
2198
|
+
function generatorAttributeSpec(phase) {
|
|
2199
|
+
return (ctx) => fieldAttribute(phase, {
|
|
2200
|
+
documentation: GENERATOR_PHASE_DOCUMENTATION[phase],
|
|
2201
|
+
positional: [{
|
|
2202
|
+
key: "value",
|
|
2203
|
+
type: generatorCallArm(ctx),
|
|
2204
|
+
documentation: "A generator function that applies to the field's codec."
|
|
2205
|
+
}]
|
|
2206
|
+
});
|
|
2207
|
+
}
|
|
2151
2208
|
function modelAttribute(name, config) {
|
|
2152
2209
|
return {
|
|
2153
2210
|
level: "model",
|
|
@@ -2428,6 +2485,6 @@ function renameLegacyDirective(text) {
|
|
|
2428
2485
|
return text.replace(DIRECTIVE, (whole, lead, name, trail) => name === LEGACY_NAME ? `${lead}prisma-8${trail}` : whole);
|
|
2429
2486
|
}
|
|
2430
2487
|
//#endregion
|
|
2431
|
-
export { EMPTY_DATA_TYPES, NAME_THE_PSL_SOURCE_LOSES, PSL_UNRESOLVED_REFERENCE, assembleAttributeSpecs, blockAttribute, blockSpecContext, blockSpecFactoryOf, bool, buildSymbolTable, contributedTypeOf, createBinder, createPslDiagnosticCollector, dataTypeValue, diagnosticFromSpan, diagnosticSource, entityRef, entityReference, fieldAttribute, fieldRef, findBlockDescriptor, flatPslModels, funcCall, getPositionalArgument, identifier, int, interpretArgs, interpretAttribute, interpretExtensionBlock, interpretExtensionBlockAttributes, interpretExtensionBlocks, isNamespaceLike, isPrismaNextSchema, isPslIdentifier, json, jsonValue, keywordPslSpan, leafDiagnostic, list, mapArg, mapBlock, mapPslDiagnostics, matchesSelector, memberEntries, modelAttribute, namespacePslExtensionBlocks, nodePslSpan, num, numLiteral, oneOf, optional, parseQuotedStringLiteral, readResolvedAttribute, readResolvedAttributes, readResolvedConstructorCall, readWrittenScalar, record, referencedFieldRef, renameLegacyDirective, str, structBlock, taggedLiteral, typeReferenceNode, writtenList, writtenScalar };
|
|
2488
|
+
export { EMPTY_DATA_TYPES, NAME_THE_PSL_SOURCE_LOSES, PSL_UNRESOLVED_REFERENCE, assembleAttributeSpecs, blockAttribute, blockSpecContext, blockSpecFactoryOf, bool, buildSymbolTable, contributedTypeOf, createBinder, createPslDiagnosticCollector, dataTypeValue, diagnosticFromSpan, diagnosticSource, entityRef, entityReference, fieldAttribute, fieldRef, findBlockDescriptor, flatPslModels, funcCall, generatorAttributeSpec, getPositionalArgument, identifier, int, interpretArgs, interpretAttribute, interpretExtensionBlock, interpretExtensionBlockAttributes, interpretExtensionBlocks, isNamespaceLike, isPrismaNextSchema, isPslIdentifier, json, jsonValue, keywordPslSpan, leafDiagnostic, list, mapArg, mapBlock, mapPslDiagnostics, matchesSelector, memberEntries, modelAttribute, namespacePslExtensionBlocks, nodePslSpan, nodeSourceText, num, numLiteral, oneOf, optional, parseQuotedStringLiteral, readResolvedAttribute, readResolvedAttributes, readResolvedConstructorCall, readWrittenScalar, record, referencedFieldRef, renameLegacyDirective, str, structBlock, taggedLiteral, typeReferenceNode, writtenList, writtenScalar };
|
|
2432
2489
|
|
|
2433
2490
|
//# sourceMappingURL=psl-parser.mjs.map
|