@prisma/internals 6.6.0-dev.38 → 6.6.0-dev.39
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/{chunk-MILJUDNM.js → chunk-3GSMZHEZ.js} +12 -12
- package/dist/{chunk-U4ISIQPY.js → chunk-5PNJER7H.js} +29 -28
- package/dist/{chunk-7FH5JKIS.js → chunk-5TPBYAYG.js} +5 -5
- package/dist/{chunk-K4HUXELY.js → chunk-6LXUM3J5.js} +13 -13
- package/dist/{chunk-HL5VFJX4.js → chunk-7NELNWFH.js} +7 -7
- package/dist/{chunk-WSCZQCHP.js → chunk-AQJV4AGE.js} +23 -22
- package/dist/{chunk-VLBKBUPL.js → chunk-BTIX67Y6.js} +7 -7
- package/dist/{chunk-U4WXIU7C.js → chunk-C3XVEHBX.js} +4 -4
- package/dist/{chunk-HAFET56E.js → chunk-DGLNFHJB.js} +5 -5
- package/dist/{chunk-PAIGKNMY.js → chunk-F3AMC52Y.js} +7 -7
- package/dist/{chunk-BXZXLEEH.js → chunk-LLMEYK53.js} +7 -7
- package/dist/{chunk-BOEMO5MX.js → chunk-M6WKKED7.js} +5 -5
- package/dist/{chunk-CMIKSBKL.js → chunk-MWUHUQI3.js} +4 -4
- package/dist/{chunk-KYRIJMHI.js → chunk-PCD5SHSJ.js} +5 -5
- package/dist/{chunk-57G2SVPI.js → chunk-PKIVYJWI.js} +11 -11
- package/dist/{chunk-Q6VZHKYE.js → chunk-PYCGBYLY.js} +7 -7
- package/dist/{chunk-2ZPYYZJB.js → chunk-QC7APOLV.js} +5 -5
- package/dist/{chunk-HNAV4IFZ.js → chunk-QY2WL356.js} +5 -5
- package/dist/{chunk-Q2SWUYN2.js → chunk-T4QTTY5D.js} +4 -4
- package/dist/{chunk-2VT4AM4Y.js → chunk-T4ZYOYTH.js} +8 -8
- package/dist/{chunk-VNIE2AZB.js → chunk-TQCLUNM2.js} +4 -4
- package/dist/chunk-TV34NMBZ.js +46 -0
- package/dist/{chunk-ZWWPO23M.js → chunk-XTF5F2RB.js} +11 -11
- package/dist/{chunk-UCI7OFQ4.js → chunk-YE7HS3KJ.js} +5 -5
- package/dist/cli/checkUnsupportedDataProxy.js +32 -31
- package/dist/cli/directoryConfig.d.ts +7 -0
- package/dist/cli/directoryConfig.js +25 -0
- package/dist/cli/getSchema.js +36 -35
- package/dist/cli/hashes.js +32 -31
- package/dist/cli/schemaContext.js +32 -31
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +31 -30
- package/dist/engine-commands/getConfig.js +12 -12
- package/dist/engine-commands/getDmmf.js +9 -9
- package/dist/engine-commands/getEngineVersion.js +5 -5
- package/dist/engine-commands/getEnginesMetaInfo.js +8 -8
- package/dist/engine-commands/index.js +42 -41
- package/dist/engine-commands/lintSchema.js +8 -8
- package/dist/engine-commands/mergeSchemas.js +9 -9
- package/dist/engine-commands/queryEngineCommons.js +6 -6
- package/dist/engine-commands/validate.js +9 -9
- package/dist/get-generators/generatorResolvers/generatorResolvers.js +31 -30
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +31 -30
- package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +32 -31
- package/dist/get-generators/getGenerators.js +34 -33
- package/dist/highlight/highlight.js +5 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.js +75 -73
- package/dist/resolveBinary.js +7 -7
- package/dist/schemaEngineCommands.js +8 -8
- package/dist/sendPanic.js +31 -30
- package/dist/utils/getEnvPaths.js +31 -30
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +31 -30
- package/dist/utils/loadEnvFile.js +31 -30
- package/dist/utils/missingDatasource.js +4 -4
- package/dist/utils/missingGeneratorMessage.js +6 -6
- package/dist/wasm.js +4 -4
- package/package.json +8 -8
@@ -26,19 +26,19 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_3GSMZHEZ_exports = {};
|
30
|
+
__export(chunk_3GSMZHEZ_exports, {
|
31
31
|
ValidateError: () => ValidateError,
|
32
32
|
validate: () => validate
|
33
33
|
});
|
34
|
-
module.exports = __toCommonJS(
|
34
|
+
module.exports = __toCommonJS(chunk_3GSMZHEZ_exports);
|
35
35
|
var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
|
36
|
-
var
|
36
|
+
var import_chunk_MWUHUQI3 = require("./chunk-MWUHUQI3.js");
|
37
37
|
var import_chunk_ZGAIRZ32 = require("./chunk-ZGAIRZ32.js");
|
38
|
-
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
39
|
-
var import_chunk_HNAV4IFZ = require("./chunk-HNAV4IFZ.js");
|
40
38
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
41
|
-
var
|
39
|
+
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
40
|
+
var import_chunk_QY2WL356 = require("./chunk-QY2WL356.js");
|
41
|
+
var import_chunk_DGLNFHJB = require("./chunk-DGLNFHJB.js");
|
42
42
|
var import_chunk_CCQRDM7X = require("./chunk-CCQRDM7X.js");
|
43
43
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
44
44
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
@@ -60,25 +60,25 @@ ${detailsHeader} ${message}`;
|
|
60
60
|
}).exhaustive();
|
61
61
|
const errorMessageWithContext = `${constructedErrorMessage}
|
62
62
|
[Context: validate]`;
|
63
|
-
super((0,
|
63
|
+
super((0, import_chunk_QY2WL356.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
64
64
|
this.name = "ValidateError";
|
65
65
|
}
|
66
66
|
};
|
67
67
|
function validate(options) {
|
68
|
-
const debugErrorType = (0,
|
68
|
+
const debugErrorType = (0, import_chunk_MWUHUQI3.createDebugErrorType)(debug, "validateWasm");
|
69
69
|
debug(`Using validate Wasm`);
|
70
70
|
const validateEither = (0, import_function.pipe)(
|
71
71
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
72
72
|
() => {
|
73
73
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
|
74
74
|
debug("Triggering a Rust panic...");
|
75
|
-
|
75
|
+
import_chunk_DGLNFHJB.prismaSchemaWasm.debug_panic();
|
76
76
|
}
|
77
77
|
const params = JSON.stringify({
|
78
78
|
prismaSchema: options.schemas,
|
79
79
|
noColor: Boolean(process.env.NO_COLOR)
|
80
80
|
});
|
81
|
-
|
81
|
+
import_chunk_DGLNFHJB.prismaSchemaWasm.validate(params);
|
82
82
|
},
|
83
83
|
(e) => ({
|
84
84
|
type: "wasm-error",
|
@@ -113,7 +113,7 @@ function validate(options) {
|
|
113
113
|
return panic;
|
114
114
|
}
|
115
115
|
const errorOutput = e.error.message;
|
116
|
-
return new ValidateError((0,
|
116
|
+
return new ValidateError((0, import_chunk_MWUHUQI3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
117
117
|
}).exhaustive();
|
118
118
|
throw error;
|
119
119
|
}
|
@@ -26,8 +26,8 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export2(
|
29
|
+
var chunk_5PNJER7H_exports = {};
|
30
|
+
__export2(chunk_5PNJER7H_exports, {
|
31
31
|
checkTypeScriptVersion: () => checkTypeScriptVersion,
|
32
32
|
checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
|
33
33
|
debug: () => debug5,
|
@@ -56,11 +56,11 @@ __export2(chunk_U4ISIQPY_exports, {
|
|
56
56
|
sendPanic: () => sendPanic,
|
57
57
|
skipIndex: () => skipIndex
|
58
58
|
});
|
59
|
-
module.exports = __toCommonJS2(
|
59
|
+
module.exports = __toCommonJS2(chunk_5PNJER7H_exports);
|
60
|
+
var import_chunk_ETNCBIDF = require("./chunk-ETNCBIDF.js");
|
60
61
|
var import_chunk_GHHABGYW = require("./chunk-GHHABGYW.js");
|
61
62
|
var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
|
62
63
|
var import_chunk_DGZO4GAJ = require("./chunk-DGZO4GAJ.js");
|
63
|
-
var import_chunk_ETNCBIDF = require("./chunk-ETNCBIDF.js");
|
64
64
|
var import_chunk_72UZXEBG = require("./chunk-72UZXEBG.js");
|
65
65
|
var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
|
66
66
|
var import_chunk_EIERU2IM = require("./chunk-EIERU2IM.js");
|
@@ -72,24 +72,24 @@ var import_chunk_ZCVVZ6U6 = require("./chunk-ZCVVZ6U6.js");
|
|
72
72
|
var import_chunk_5V36RLCO = require("./chunk-5V36RLCO.js");
|
73
73
|
var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
|
74
74
|
var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
|
75
|
-
var
|
76
|
-
var
|
75
|
+
var import_chunk_QC7APOLV = require("./chunk-QC7APOLV.js");
|
76
|
+
var import_chunk_7NELNWFH = require("./chunk-7NELNWFH.js");
|
77
77
|
var import_chunk_FNA4EAZ6 = require("./chunk-FNA4EAZ6.js");
|
78
|
+
var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
|
78
79
|
var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
|
79
80
|
var import_chunk_2T4NJDHK = require("./chunk-2T4NJDHK.js");
|
80
81
|
var import_chunk_R3J2O23S = require("./chunk-R3J2O23S.js");
|
81
|
-
var
|
82
|
-
var
|
83
|
-
var
|
84
|
-
var
|
85
|
-
var import_chunk_ZWWPO23M = require("./chunk-ZWWPO23M.js");
|
82
|
+
var import_chunk_PCD5SHSJ = require("./chunk-PCD5SHSJ.js");
|
83
|
+
var import_chunk_PKIVYJWI = require("./chunk-PKIVYJWI.js");
|
84
|
+
var import_chunk_6LXUM3J5 = require("./chunk-6LXUM3J5.js");
|
85
|
+
var import_chunk_XTF5F2RB = require("./chunk-XTF5F2RB.js");
|
86
86
|
var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
|
87
87
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
88
|
-
var
|
88
|
+
var import_chunk_DGLNFHJB = require("./chunk-DGLNFHJB.js");
|
89
89
|
var import_chunk_CCQRDM7X = require("./chunk-CCQRDM7X.js");
|
90
90
|
var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
|
91
|
-
var import_chunk_RAYPCPVU = require("./chunk-RAYPCPVU.js");
|
92
91
|
var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
92
|
+
var import_chunk_RAYPCPVU = require("./chunk-RAYPCPVU.js");
|
93
93
|
var import_chunk_DYVL6P7F = require("./chunk-DYVL6P7F.js");
|
94
94
|
var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
|
95
95
|
var import_chunk_NLYH6XB4 = require("./chunk-NLYH6XB4.js");
|
@@ -14417,7 +14417,7 @@ async function formatSchema({ schemas }, inputFormattingOptions) {
|
|
14417
14417
|
if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
|
14418
14418
|
handleFormatPanic(
|
14419
14419
|
() => {
|
14420
|
-
|
14420
|
+
import_chunk_DGLNFHJB.prismaSchemaWasm.debug_panic();
|
14421
14421
|
},
|
14422
14422
|
{ schemas }
|
14423
14423
|
);
|
@@ -14437,12 +14437,12 @@ async function formatSchema({ schemas }, inputFormattingOptions) {
|
|
14437
14437
|
() => {
|
14438
14438
|
const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas), documentFormattingParams);
|
14439
14439
|
const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
|
14440
|
-
const lintDiagnostics2 = (0,
|
14440
|
+
const lintDiagnostics2 = (0, import_chunk_PCD5SHSJ.lintSchema)({ schemas: formattedMultipleSchemas2 });
|
14441
14441
|
return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
|
14442
14442
|
},
|
14443
14443
|
{ schemas }
|
14444
14444
|
);
|
14445
|
-
const lintWarnings = (0,
|
14445
|
+
const lintWarnings = (0, import_chunk_PCD5SHSJ.getLintWarningsAsText)(lintDiagnostics);
|
14446
14446
|
if (lintWarnings && import_chunk_MBB2KJWX.logger_exports.should.warn()) {
|
14447
14447
|
console.warn(lintWarnings);
|
14448
14448
|
}
|
@@ -14472,7 +14472,7 @@ function handleFormatPanic(tryCb, { schemas }) {
|
|
14472
14472
|
}
|
14473
14473
|
}
|
14474
14474
|
function formatWasm(schema, documentFormattingParams) {
|
14475
|
-
const formattedSchema =
|
14475
|
+
const formattedSchema = import_chunk_DGLNFHJB.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
|
14476
14476
|
return formattedSchema;
|
14477
14477
|
}
|
14478
14478
|
var readFile = (0, import_util.promisify)(import_fs.default.readFile);
|
@@ -14513,7 +14513,7 @@ async function readSchemaFromDirectory(schemaPath2) {
|
|
14513
14513
|
}
|
14514
14514
|
const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
|
14515
14515
|
debug3("Loading config");
|
14516
|
-
const config = await (0,
|
14516
|
+
const config = await (0, import_chunk_6LXUM3J5.getConfig)({
|
14517
14517
|
datamodel: files,
|
14518
14518
|
ignoreEnvVarErrors: true
|
14519
14519
|
});
|
@@ -14786,16 +14786,17 @@ async function processSchemaResult({
|
|
14786
14786
|
if (printLoadMessage) {
|
14787
14787
|
process.stdout.write((0, import_chunk_PG5FDKSF.dim)(`Prisma schema loaded from ${loadedFromPathForLogMessages}`) + "\n");
|
14788
14788
|
}
|
14789
|
-
const configFromPsl = await (0,
|
14789
|
+
const configFromPsl = await (0, import_chunk_6LXUM3J5.getConfig)({ datamodel: schemaResult.schemas, ignoreEnvVarErrors });
|
14790
14790
|
const primaryDatasource = configFromPsl.datasources.at(0);
|
14791
|
+
const schemaRootDir = schemaResult.schemaRootDir || cwd;
|
14791
14792
|
return {
|
14792
14793
|
schemaFiles: schemaResult.schemas,
|
14793
14794
|
schemaPath: schemaResult.schemaPath,
|
14794
|
-
schemaRootDir
|
14795
|
+
schemaRootDir,
|
14795
14796
|
datasources: configFromPsl.datasources,
|
14796
14797
|
generators: configFromPsl.generators,
|
14797
14798
|
primaryDatasource,
|
14798
|
-
primaryDatasourceDirectory: primaryDatasourceDirectory(primaryDatasource) ||
|
14799
|
+
primaryDatasourceDirectory: primaryDatasourceDirectory(primaryDatasource) || schemaRootDir,
|
14799
14800
|
warnings: configFromPsl.warnings,
|
14800
14801
|
loadedFromPathForLogMessages
|
14801
14802
|
};
|
@@ -14951,19 +14952,19 @@ async function getGenerators(options) {
|
|
14951
14952
|
}
|
14952
14953
|
}
|
14953
14954
|
if (!schemaContext.primaryDatasource) {
|
14954
|
-
throw new Error(
|
14955
|
+
throw new Error(import_chunk_QC7APOLV.missingDatasource);
|
14955
14956
|
}
|
14956
14957
|
(0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
|
14957
14958
|
const previewFeatures = (0, import_chunk_CRVLHWC5.extractPreviewFeatures)(schemaContext.generators);
|
14958
|
-
const dmmf = await (0,
|
14959
|
+
const dmmf = await (0, import_chunk_XTF5F2RB.getDMMF)({
|
14959
14960
|
datamodel: schemaContext.schemaFiles,
|
14960
14961
|
previewFeatures
|
14961
14962
|
});
|
14962
14963
|
if (dmmf.datamodel.models.length === 0 && !allowNoModels) {
|
14963
14964
|
if (schemaContext.primaryDatasource.provider === "mongodb") {
|
14964
|
-
throw new Error(
|
14965
|
+
throw new Error(import_chunk_7NELNWFH.missingModelMessageMongoDB);
|
14965
14966
|
}
|
14966
|
-
throw new Error(
|
14967
|
+
throw new Error(import_chunk_7NELNWFH.missingModelMessage);
|
14967
14968
|
}
|
14968
14969
|
const generatorConfigs = filterGenerators(overrideGenerators || schemaContext.generators, generatorNames);
|
14969
14970
|
await validateGenerators(generatorConfigs);
|
@@ -15013,7 +15014,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
|
|
15013
15014
|
fromEnvVar: null
|
15014
15015
|
};
|
15015
15016
|
}
|
15016
|
-
const datamodel = (0,
|
15017
|
+
const datamodel = (0, import_chunk_PKIVYJWI.mergeSchemas)({ schemas: schemaContext.schemaFiles });
|
15017
15018
|
const envPaths2 = await getEnvPaths(schemaContext.schemaPath, { cwd: generator.output.value });
|
15018
15019
|
const options2 = {
|
15019
15020
|
datamodel,
|
@@ -15097,7 +15098,7 @@ generator gen {
|
|
15097
15098
|
debug6({ generatorBinaryPaths });
|
15098
15099
|
generator.setBinaryPaths(generatorBinaryPaths);
|
15099
15100
|
if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
|
15100
|
-
const customDmmf = await (0,
|
15101
|
+
const customDmmf = await (0, import_chunk_XTF5F2RB.getDMMF)({
|
15101
15102
|
datamodel: schemaContext.schemaFiles,
|
15102
15103
|
previewFeatures
|
15103
15104
|
});
|
@@ -15559,7 +15560,7 @@ function checkUnsupportedDataProxy({
|
|
15559
15560
|
}
|
15560
15561
|
}
|
15561
15562
|
if (!schemaContext2?.primaryDatasource) return;
|
15562
|
-
const url = (0,
|
15563
|
+
const url = (0, import_chunk_6LXUM3J5.resolveUrl)((0, import_chunk_6LXUM3J5.getEffectiveUrl)(schemaContext2.primaryDatasource));
|
15563
15564
|
if (url?.startsWith("prisma://")) {
|
15564
15565
|
throw new Error(forbiddenCmdWithDataProxyFlagMessage(cmd));
|
15565
15566
|
}
|
@@ -16,15 +16,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_5TPBYAYG_exports = {};
|
20
|
+
__export(chunk_5TPBYAYG_exports, {
|
21
21
|
getEngineVersion: () => getEngineVersion,
|
22
22
|
safeGetEngineVersion: () => safeGetEngineVersion
|
23
23
|
});
|
24
|
-
module.exports = __toCommonJS(
|
24
|
+
module.exports = __toCommonJS(chunk_5TPBYAYG_exports);
|
25
25
|
var import_chunk_LSYWDURQ = require("./chunk-LSYWDURQ.js");
|
26
26
|
var import_chunk_2WR3PY2L = require("./chunk-2WR3PY2L.js");
|
27
|
-
var
|
27
|
+
var import_chunk_C3XVEHBX = require("./chunk-C3XVEHBX.js");
|
28
28
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
29
29
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
30
30
|
var import_engines = require("@prisma/engines");
|
@@ -35,7 +35,7 @@ async function getEngineVersion(enginePath, binaryName) {
|
|
35
35
|
if (!binaryName) {
|
36
36
|
binaryName = (0, import_engines.getCliQueryEngineBinaryType)();
|
37
37
|
}
|
38
|
-
enginePath = await (0,
|
38
|
+
enginePath = await (0, import_chunk_C3XVEHBX.resolveBinary)(binaryName, enginePath);
|
39
39
|
const platformInfo = await (0, import_get_platform.getPlatformInfo)();
|
40
40
|
if (binaryName === import_fetch_engine.BinaryType.QueryEngineLibrary) {
|
41
41
|
(0, import_get_platform.assertNodeAPISupported)();
|
@@ -26,22 +26,22 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_6LXUM3J5_exports = {};
|
30
|
+
__export(chunk_6LXUM3J5_exports, {
|
31
31
|
GetConfigError: () => GetConfigError,
|
32
32
|
getConfig: () => getConfig,
|
33
33
|
getDirectUrl: () => getDirectUrl,
|
34
34
|
getEffectiveUrl: () => getEffectiveUrl,
|
35
35
|
resolveUrl: () => resolveUrl
|
36
36
|
});
|
37
|
-
module.exports = __toCommonJS(
|
37
|
+
module.exports = __toCommonJS(chunk_6LXUM3J5_exports);
|
38
38
|
var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
|
39
|
-
var
|
39
|
+
var import_chunk_MWUHUQI3 = require("./chunk-MWUHUQI3.js");
|
40
40
|
var import_chunk_ZGAIRZ32 = require("./chunk-ZGAIRZ32.js");
|
41
|
-
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
42
|
-
var import_chunk_HNAV4IFZ = require("./chunk-HNAV4IFZ.js");
|
43
41
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
44
|
-
var
|
42
|
+
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
43
|
+
var import_chunk_QY2WL356 = require("./chunk-QY2WL356.js");
|
44
|
+
var import_chunk_DGLNFHJB = require("./chunk-DGLNFHJB.js");
|
45
45
|
var import_chunk_CCQRDM7X = require("./chunk-CCQRDM7X.js");
|
46
46
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
47
47
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
@@ -65,7 +65,7 @@ ${detailsHeader} ${message}`;
|
|
65
65
|
}).exhaustive();
|
66
66
|
const errorMessageWithContext = `${constructedErrorMessage}
|
67
67
|
[Context: getConfig]`;
|
68
|
-
super((0,
|
68
|
+
super((0, import_chunk_QY2WL356.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
69
69
|
this.name = "GetConfigError";
|
70
70
|
}
|
71
71
|
};
|
@@ -83,14 +83,14 @@ function resolveUrl(envValue) {
|
|
83
83
|
return urlFromValue ?? urlEnvVarValue;
|
84
84
|
}
|
85
85
|
async function getConfig(options) {
|
86
|
-
const debugErrorType = (0,
|
86
|
+
const debugErrorType = (0, import_chunk_MWUHUQI3.createDebugErrorType)(debug, "getConfigWasm");
|
87
87
|
debug(`Using getConfig Wasm`);
|
88
88
|
const configEither = (0, import_function.pipe)(
|
89
89
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
90
90
|
() => {
|
91
91
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
|
92
92
|
debug("Triggering a Rust panic...");
|
93
|
-
|
93
|
+
import_chunk_DGLNFHJB.prismaSchemaWasm.debug_panic();
|
94
94
|
}
|
95
95
|
const params = JSON.stringify({
|
96
96
|
prismaSchema: options.datamodel,
|
@@ -98,7 +98,7 @@ async function getConfig(options) {
|
|
98
98
|
ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
|
99
99
|
env: process.env
|
100
100
|
});
|
101
|
-
const data =
|
101
|
+
const data = import_chunk_DGLNFHJB.prismaSchemaWasm.get_config(params);
|
102
102
|
return data;
|
103
103
|
},
|
104
104
|
(e) => ({
|
@@ -160,12 +160,12 @@ async function getConfig(options) {
|
|
160
160
|
return panic;
|
161
161
|
}
|
162
162
|
const errorOutput = e.error.message;
|
163
|
-
return new GetConfigError((0,
|
163
|
+
return new GetConfigError((0, import_chunk_MWUHUQI3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
164
164
|
}).with({ type: "validation-error" }, (e) => {
|
165
165
|
return new GetConfigError({
|
166
166
|
_tag: "parsed",
|
167
167
|
errorCode: SCHEMA_VALIDATION_ERROR_CODE,
|
168
|
-
reason: (0,
|
168
|
+
reason: (0, import_chunk_MWUHUQI3.createSchemaValidationError)(e.reason),
|
169
169
|
message: formatErrors(e.error)
|
170
170
|
});
|
171
171
|
}).otherwise((e) => {
|
@@ -16,15 +16,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_7NELNWFH_exports = {};
|
20
|
+
__export(chunk_7NELNWFH_exports, {
|
21
21
|
missingGeneratorMessage: () => missingGeneratorMessage,
|
22
22
|
missingModelMessage: () => missingModelMessage,
|
23
23
|
missingModelMessageMongoDB: () => missingModelMessageMongoDB
|
24
24
|
});
|
25
|
-
module.exports = __toCommonJS(
|
25
|
+
module.exports = __toCommonJS(chunk_7NELNWFH_exports);
|
26
26
|
var import_chunk_FNA4EAZ6 = require("./chunk-FNA4EAZ6.js");
|
27
|
-
var
|
27
|
+
var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
|
28
28
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
29
29
|
var missingGeneratorMessage = `
|
30
30
|
${(0, import_chunk_PG5FDKSF.blue)("info")} You don't have any generators defined in your ${(0, import_chunk_PG5FDKSF.bold)(
|
@@ -33,7 +33,7 @@ ${(0, import_chunk_PG5FDKSF.blue)("info")} You don't have any generators defined
|
|
33
33
|
You can define them like this:
|
34
34
|
|
35
35
|
${(0, import_chunk_PG5FDKSF.bold)(
|
36
|
-
(0,
|
36
|
+
(0, import_chunk_TQCLUNM2.highlightDatamodel)(`generator client {
|
37
37
|
provider = "prisma-client-js"
|
38
38
|
}`)
|
39
39
|
)}`;
|
@@ -44,7 +44,7 @@ You don't have any ${(0, import_chunk_PG5FDKSF.bold)("models")} defined in your
|
|
44
44
|
You can define a model like this:
|
45
45
|
|
46
46
|
${(0, import_chunk_PG5FDKSF.bold)(
|
47
|
-
(0,
|
47
|
+
(0, import_chunk_TQCLUNM2.highlightDatamodel)(`model User {
|
48
48
|
id Int @id @default(autoincrement())
|
49
49
|
email String @unique
|
50
50
|
name String?
|
@@ -61,7 +61,7 @@ You don't have any ${(0, import_chunk_PG5FDKSF.bold)("models")} defined in your
|
|
61
61
|
You can define a model like this:
|
62
62
|
|
63
63
|
${(0, import_chunk_PG5FDKSF.bold)(
|
64
|
-
(0,
|
64
|
+
(0, import_chunk_TQCLUNM2.highlightDatamodel)(`model User {
|
65
65
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
66
66
|
email String @unique
|
67
67
|
name String?
|
@@ -26,8 +26,8 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export2(
|
29
|
+
var chunk_AQJV4AGE_exports = {};
|
30
|
+
__export2(chunk_AQJV4AGE_exports, {
|
31
31
|
checkTypeScriptVersion: () => checkTypeScriptVersion,
|
32
32
|
checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
|
33
33
|
debug: () => debug5,
|
@@ -56,11 +56,11 @@ __export2(chunk_WSCZQCHP_exports, {
|
|
56
56
|
sendPanic: () => sendPanic,
|
57
57
|
skipIndex: () => skipIndex
|
58
58
|
});
|
59
|
-
module.exports = __toCommonJS2(
|
59
|
+
module.exports = __toCommonJS2(chunk_AQJV4AGE_exports);
|
60
|
+
var import_chunk_ETNCBIDF = require("./chunk-ETNCBIDF.js");
|
60
61
|
var import_chunk_GHHABGYW = require("./chunk-GHHABGYW.js");
|
61
62
|
var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
|
62
63
|
var import_chunk_DGZO4GAJ = require("./chunk-DGZO4GAJ.js");
|
63
|
-
var import_chunk_ETNCBIDF = require("./chunk-ETNCBIDF.js");
|
64
64
|
var import_chunk_72UZXEBG = require("./chunk-72UZXEBG.js");
|
65
65
|
var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
|
66
66
|
var import_chunk_EIERU2IM = require("./chunk-EIERU2IM.js");
|
@@ -72,24 +72,24 @@ var import_chunk_ZCVVZ6U6 = require("./chunk-ZCVVZ6U6.js");
|
|
72
72
|
var import_chunk_5V36RLCO = require("./chunk-5V36RLCO.js");
|
73
73
|
var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
|
74
74
|
var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
|
75
|
-
var
|
76
|
-
var
|
75
|
+
var import_chunk_QC7APOLV = require("./chunk-QC7APOLV.js");
|
76
|
+
var import_chunk_7NELNWFH = require("./chunk-7NELNWFH.js");
|
77
77
|
var import_chunk_FNA4EAZ6 = require("./chunk-FNA4EAZ6.js");
|
78
|
+
var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
|
78
79
|
var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
|
79
80
|
var import_chunk_2T4NJDHK = require("./chunk-2T4NJDHK.js");
|
80
81
|
var import_chunk_R3J2O23S = require("./chunk-R3J2O23S.js");
|
81
|
-
var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
|
82
82
|
var import_chunk_7CMXNYMQ = require("./chunk-7CMXNYMQ.js");
|
83
|
-
var
|
84
|
-
var
|
85
|
-
var
|
83
|
+
var import_chunk_PYCGBYLY = require("./chunk-PYCGBYLY.js");
|
84
|
+
var import_chunk_T4ZYOYTH = require("./chunk-T4ZYOYTH.js");
|
85
|
+
var import_chunk_BTIX67Y6 = require("./chunk-BTIX67Y6.js");
|
86
86
|
var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
|
87
87
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
88
88
|
var import_chunk_R7U45FIQ = require("./chunk-R7U45FIQ.js");
|
89
89
|
var import_chunk_CCQRDM7X = require("./chunk-CCQRDM7X.js");
|
90
90
|
var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
|
91
|
-
var import_chunk_RAYPCPVU = require("./chunk-RAYPCPVU.js");
|
92
91
|
var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
92
|
+
var import_chunk_RAYPCPVU = require("./chunk-RAYPCPVU.js");
|
93
93
|
var import_chunk_DYVL6P7F = require("./chunk-DYVL6P7F.js");
|
94
94
|
var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
|
95
95
|
var import_chunk_NLYH6XB4 = require("./chunk-NLYH6XB4.js");
|
@@ -14513,7 +14513,7 @@ async function readSchemaFromDirectory(schemaPath2) {
|
|
14513
14513
|
}
|
14514
14514
|
const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
|
14515
14515
|
debug3("Loading config");
|
14516
|
-
const config = await (0,
|
14516
|
+
const config = await (0, import_chunk_T4ZYOYTH.getConfig)({
|
14517
14517
|
datamodel: files,
|
14518
14518
|
ignoreEnvVarErrors: true
|
14519
14519
|
});
|
@@ -14786,16 +14786,17 @@ async function processSchemaResult({
|
|
14786
14786
|
if (printLoadMessage) {
|
14787
14787
|
process.stdout.write((0, import_chunk_PG5FDKSF.dim)(`Prisma schema loaded from ${loadedFromPathForLogMessages}`) + "\n");
|
14788
14788
|
}
|
14789
|
-
const configFromPsl = await (0,
|
14789
|
+
const configFromPsl = await (0, import_chunk_T4ZYOYTH.getConfig)({ datamodel: schemaResult.schemas, ignoreEnvVarErrors });
|
14790
14790
|
const primaryDatasource = configFromPsl.datasources.at(0);
|
14791
|
+
const schemaRootDir = schemaResult.schemaRootDir || cwd;
|
14791
14792
|
return {
|
14792
14793
|
schemaFiles: schemaResult.schemas,
|
14793
14794
|
schemaPath: schemaResult.schemaPath,
|
14794
|
-
schemaRootDir
|
14795
|
+
schemaRootDir,
|
14795
14796
|
datasources: configFromPsl.datasources,
|
14796
14797
|
generators: configFromPsl.generators,
|
14797
14798
|
primaryDatasource,
|
14798
|
-
primaryDatasourceDirectory: primaryDatasourceDirectory(primaryDatasource) ||
|
14799
|
+
primaryDatasourceDirectory: primaryDatasourceDirectory(primaryDatasource) || schemaRootDir,
|
14799
14800
|
warnings: configFromPsl.warnings,
|
14800
14801
|
loadedFromPathForLogMessages
|
14801
14802
|
};
|
@@ -14951,19 +14952,19 @@ async function getGenerators(options) {
|
|
14951
14952
|
}
|
14952
14953
|
}
|
14953
14954
|
if (!schemaContext.primaryDatasource) {
|
14954
|
-
throw new Error(
|
14955
|
+
throw new Error(import_chunk_QC7APOLV.missingDatasource);
|
14955
14956
|
}
|
14956
14957
|
(0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
|
14957
14958
|
const previewFeatures = (0, import_chunk_CRVLHWC5.extractPreviewFeatures)(schemaContext.generators);
|
14958
|
-
const dmmf = await (0,
|
14959
|
+
const dmmf = await (0, import_chunk_BTIX67Y6.getDMMF)({
|
14959
14960
|
datamodel: schemaContext.schemaFiles,
|
14960
14961
|
previewFeatures
|
14961
14962
|
});
|
14962
14963
|
if (dmmf.datamodel.models.length === 0 && !allowNoModels) {
|
14963
14964
|
if (schemaContext.primaryDatasource.provider === "mongodb") {
|
14964
|
-
throw new Error(
|
14965
|
+
throw new Error(import_chunk_7NELNWFH.missingModelMessageMongoDB);
|
14965
14966
|
}
|
14966
|
-
throw new Error(
|
14967
|
+
throw new Error(import_chunk_7NELNWFH.missingModelMessage);
|
14967
14968
|
}
|
14968
14969
|
const generatorConfigs = filterGenerators(overrideGenerators || schemaContext.generators, generatorNames);
|
14969
14970
|
await validateGenerators(generatorConfigs);
|
@@ -15013,7 +15014,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
|
|
15013
15014
|
fromEnvVar: null
|
15014
15015
|
};
|
15015
15016
|
}
|
15016
|
-
const datamodel = (0,
|
15017
|
+
const datamodel = (0, import_chunk_PYCGBYLY.mergeSchemas)({ schemas: schemaContext.schemaFiles });
|
15017
15018
|
const envPaths2 = await getEnvPaths(schemaContext.schemaPath, { cwd: generator.output.value });
|
15018
15019
|
const options2 = {
|
15019
15020
|
datamodel,
|
@@ -15097,7 +15098,7 @@ generator gen {
|
|
15097
15098
|
debug6({ generatorBinaryPaths });
|
15098
15099
|
generator.setBinaryPaths(generatorBinaryPaths);
|
15099
15100
|
if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
|
15100
|
-
const customDmmf = await (0,
|
15101
|
+
const customDmmf = await (0, import_chunk_BTIX67Y6.getDMMF)({
|
15101
15102
|
datamodel: schemaContext.schemaFiles,
|
15102
15103
|
previewFeatures
|
15103
15104
|
});
|
@@ -15559,7 +15560,7 @@ function checkUnsupportedDataProxy({
|
|
15559
15560
|
}
|
15560
15561
|
}
|
15561
15562
|
if (!schemaContext2?.primaryDatasource) return;
|
15562
|
-
const url = (0,
|
15563
|
+
const url = (0, import_chunk_T4ZYOYTH.resolveUrl)((0, import_chunk_T4ZYOYTH.getEffectiveUrl)(schemaContext2.primaryDatasource));
|
15563
15564
|
if (url?.startsWith("prisma://")) {
|
15564
15565
|
throw new Error(forbiddenCmdWithDataProxyFlagMessage(cmd));
|
15565
15566
|
}
|
@@ -26,17 +26,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_BTIX67Y6_exports = {};
|
30
|
+
__export(chunk_BTIX67Y6_exports, {
|
31
31
|
GetDmmfError: () => GetDmmfError,
|
32
32
|
getDMMF: () => getDMMF
|
33
33
|
});
|
34
|
-
module.exports = __toCommonJS(
|
34
|
+
module.exports = __toCommonJS(chunk_BTIX67Y6_exports);
|
35
35
|
var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
|
36
|
-
var
|
36
|
+
var import_chunk_MWUHUQI3 = require("./chunk-MWUHUQI3.js");
|
37
37
|
var import_chunk_ZGAIRZ32 = require("./chunk-ZGAIRZ32.js");
|
38
|
-
var import_chunk_QKPV6M3S = require("./chunk-QKPV6M3S.js");
|
39
38
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
39
|
+
var import_chunk_QKPV6M3S = require("./chunk-QKPV6M3S.js");
|
40
40
|
var import_chunk_R7U45FIQ = require("./chunk-R7U45FIQ.js");
|
41
41
|
var import_chunk_CCQRDM7X = require("./chunk-CCQRDM7X.js");
|
42
42
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
@@ -64,7 +64,7 @@ ${detailsHeader} ${message}`;
|
|
64
64
|
}
|
65
65
|
};
|
66
66
|
async function getDMMF(options) {
|
67
|
-
const debugErrorType = (0,
|
67
|
+
const debugErrorType = (0, import_chunk_MWUHUQI3.createDebugErrorType)(debug, "getDmmfWasm");
|
68
68
|
debug(`Using getDmmf Wasm`);
|
69
69
|
const dmmfPipeline = (0, import_function.pipe)(
|
70
70
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
@@ -128,7 +128,7 @@ async function getDMMF(options) {
|
|
128
128
|
return panic;
|
129
129
|
}
|
130
130
|
const errorOutput = e.error.message;
|
131
|
-
return new GetDmmfError((0,
|
131
|
+
return new GetDmmfError((0, import_chunk_MWUHUQI3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
132
132
|
}).with({ type: "parse-json" }, (e) => {
|
133
133
|
debugErrorType(e);
|
134
134
|
return new GetDmmfError({ _tag: "unparsed", message: e.error.message, reason: e.reason });
|
@@ -26,17 +26,17 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_C3XVEHBX_exports = {};
|
30
|
+
__export(chunk_C3XVEHBX_exports, {
|
31
31
|
BinaryType: () => import_fetch_engine.BinaryType,
|
32
32
|
engineEnvVarMap: () => import_fetch_engine.engineEnvVarMap,
|
33
33
|
maybeCopyToTmp: () => maybeCopyToTmp,
|
34
34
|
resolveBinary: () => resolveBinary,
|
35
35
|
safeResolveBinary: () => safeResolveBinary
|
36
36
|
});
|
37
|
-
module.exports = __toCommonJS(
|
38
|
-
var import_chunk_RAYPCPVU = require("./chunk-RAYPCPVU.js");
|
37
|
+
module.exports = __toCommonJS(chunk_C3XVEHBX_exports);
|
39
38
|
var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
39
|
+
var import_chunk_RAYPCPVU = require("./chunk-RAYPCPVU.js");
|
40
40
|
var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
|
41
41
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
42
42
|
var import_chunk_6TVEFPKE = require("./chunk-6TVEFPKE.js");
|
@@ -26,14 +26,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_DGLNFHJB_exports = {};
|
30
|
+
__export(chunk_DGLNFHJB_exports, {
|
31
31
|
prismaSchemaWasm: () => import_prisma_schema_wasm.default,
|
32
32
|
prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
|
33
33
|
wasm_exports: () => wasm_exports
|
34
34
|
});
|
35
|
-
module.exports = __toCommonJS(
|
36
|
-
var
|
35
|
+
module.exports = __toCommonJS(chunk_DGLNFHJB_exports);
|
36
|
+
var import_chunk_T4QTTY5D = require("./chunk-T4QTTY5D.js");
|
37
37
|
var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
|
38
38
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
39
39
|
var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
|
@@ -42,6 +42,6 @@ var wasm_exports = {};
|
|
42
42
|
prismaSchemaWasm: () => import_prisma_schema_wasm.default,
|
43
43
|
prismaSchemaWasmVersion: () => prismaSchemaWasmVersion
|
44
44
|
});
|
45
|
-
var { dependencies } = (0,
|
45
|
+
var { dependencies } = (0, import_chunk_T4QTTY5D.require_package)();
|
46
46
|
var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
|
47
47
|
globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
|