@prisma/internals 7.9.0-dev.27 → 7.9.0-dev.29
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-KKBHWTBY.js → chunk-37LOCTBO.js} +8 -8
- package/dist/{chunk-NVEEOXTL.js → chunk-4YZJJPK2.js} +10 -10
- package/dist/{chunk-7EO73JTV.js → chunk-5P4WR3QW.js} +9 -9
- package/dist/{chunk-WMYLXKKD.js → chunk-5PJQQKQI.js} +4 -4
- package/dist/{chunk-7IJ5WYJF.js → chunk-5TIW7FM4.js} +4 -4
- package/dist/{chunk-2QZ2WZX3.js → chunk-6PILE32P.js} +16 -16
- package/dist/chunk-6S5MN3NA.js +124 -0
- package/dist/{chunk-DXWYZA7B.js → chunk-BGMZPA2F.js} +5 -5
- package/dist/{chunk-T3R75LJS.js → chunk-CXEXLFVL.js} +5 -5
- package/dist/{chunk-7A3WHLGE.js → chunk-D3TXIPBV.js} +12 -12
- package/dist/{chunk-IUIBK4UT.js → chunk-E7B3RH4Q.js} +11 -11
- package/dist/{chunk-KARIQA23.js → chunk-EBLNHWW6.js} +7 -7
- package/dist/{chunk-5KYW3X5L.js → chunk-GUVBAGV6.js} +5 -5
- package/dist/{chunk-TGRDYRJD.js → chunk-GZY7QBBF.js} +4 -4
- package/dist/{chunk-6I5EQPM7.js → chunk-L6V54WGO.js} +5 -5
- package/dist/{chunk-2HMIJ7OE.js → chunk-MD47SEWA.js} +9 -9
- package/dist/{chunk-DRWHCM7T.js → chunk-NUKBOD54.js} +7 -7
- package/dist/{chunk-VGDPJDCO.js → chunk-RDPHZLI7.js} +5 -5
- package/dist/{chunk-WSZXPLJQ.js → chunk-TZJROXB3.js} +4 -4
- package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
- package/dist/{chunk-4C4OXTHF.js → chunk-WV2QGKQD.js} +5 -5
- package/dist/{chunk-BZTL7FS6.js → chunk-Y37AV37U.js} +13 -13
- package/dist/{chunk-U4MWSIDP.js → chunk-YPQO766S.js} +21 -21
- package/dist/{chunk-YBBSEE6O.js → chunk-ZB2V476P.js} +8 -8
- package/dist/{chunk-QBXGMMKI.js → chunk-ZHUN72WH.js} +5 -5
- package/dist/cli/checkUnsupportedDataProxy.js +29 -28
- package/dist/cli/completion-values.d.ts +24 -0
- package/dist/cli/completion-values.js +47 -0
- package/dist/cli/schemaContext.js +30 -29
- package/dist/cli/types.d.ts +16 -0
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +28 -27
- package/dist/engine-commands/getConfig.js +9 -9
- package/dist/engine-commands/getDmmf.js +10 -10
- package/dist/engine-commands/getEngineVersion.js +5 -5
- package/dist/engine-commands/getEnginesInfo.js +6 -6
- package/dist/engine-commands/index.js +40 -39
- 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/getGenerators.js +31 -30
- package/dist/highlight/highlight.js +5 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +83 -59
- package/dist/resolveBinary.js +7 -7
- package/dist/schemaEngineCommands.js +8 -8
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/missingDatasource.js +4 -4
- package/dist/utils/missingGeneratorMessage.js +6 -6
- package/dist/wasm.js +5 -5
- package/package.json +12 -12
|
@@ -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_37LOCTBO_exports = {};
|
|
30
|
+
__export(chunk_37LOCTBO_exports, {
|
|
31
31
|
GetDmmfError: () => GetDmmfError,
|
|
32
32
|
externalToInternalDmmf: () => import_get_dmmf2.externalToInternalDmmf,
|
|
33
33
|
getDMMF: () => getDMMF,
|
|
34
34
|
getInternalDMMF: () => getInternalDMMF
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
36
|
+
module.exports = __toCommonJS(chunk_37LOCTBO_exports);
|
|
37
37
|
var import_chunk_IL7PSY44 = require("./chunk-IL7PSY44.js");
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
39
|
+
var import_chunk_RDPHZLI7 = require("./chunk-RDPHZLI7.js");
|
|
40
40
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
41
41
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
42
42
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
@@ -44,7 +44,7 @@ var import_debug = __toESM(require("@prisma/debug"));
|
|
|
44
44
|
var import_get_dmmf = require("@prisma/get-dmmf");
|
|
45
45
|
var import_get_dmmf2 = require("@prisma/get-dmmf");
|
|
46
46
|
var debug = (0, import_debug.default)("prisma:getDMMF");
|
|
47
|
-
var debugErrorType = (0,
|
|
47
|
+
var debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "getDmmfWasm");
|
|
48
48
|
var GetDmmfError = class extends Error {
|
|
49
49
|
constructor(params) {
|
|
50
50
|
const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
|
|
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
|
|
|
59
59
|
}).exhaustive();
|
|
60
60
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
61
61
|
[Context: getDmmf]`;
|
|
62
|
-
super((0,
|
|
62
|
+
super((0, import_chunk_RDPHZLI7.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
63
63
|
this.name = "GetDmmfError";
|
|
64
64
|
}
|
|
65
65
|
};
|
|
@@ -100,5 +100,5 @@ function mapWasmPanicToGetDmmfError(error, reason) {
|
|
|
100
100
|
return panic;
|
|
101
101
|
}
|
|
102
102
|
const errorOutput = error.message;
|
|
103
|
-
return new GetDmmfError((0,
|
|
103
|
+
return new GetDmmfError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason }));
|
|
104
104
|
}
|
|
@@ -26,16 +26,16 @@ 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_4YZJJPK2_exports = {};
|
|
30
|
+
__export(chunk_4YZJJPK2_exports, {
|
|
31
31
|
GetConfigError: () => GetConfigError,
|
|
32
32
|
getConfig: () => getConfig
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
36
|
-
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
34
|
+
module.exports = __toCommonJS(chunk_4YZJJPK2_exports);
|
|
35
|
+
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
37
36
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
38
|
-
var
|
|
37
|
+
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
38
|
+
var import_chunk_GZY7QBBF = require("./chunk-GZY7QBBF.js");
|
|
39
39
|
var import_chunk_PP22IZ7I = require("./chunk-PP22IZ7I.js");
|
|
40
40
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
41
41
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
@@ -61,12 +61,12 @@ ${detailsHeader} ${message}`;
|
|
|
61
61
|
}).exhaustive();
|
|
62
62
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
63
63
|
[Context: getConfig]`;
|
|
64
|
-
super((0,
|
|
64
|
+
super((0, import_chunk_GZY7QBBF.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
65
65
|
this.name = "GetConfigError";
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
async function getConfig(options) {
|
|
69
|
-
const debugErrorType = (0,
|
|
69
|
+
const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "getConfigWasm");
|
|
70
70
|
debug(`Using getConfig Wasm`);
|
|
71
71
|
const configEither = (0, import_function.pipe)(
|
|
72
72
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
|
@@ -134,12 +134,12 @@ async function getConfig(options) {
|
|
|
134
134
|
return panic;
|
|
135
135
|
}
|
|
136
136
|
const errorOutput = e.error.message;
|
|
137
|
-
return new GetConfigError((0,
|
|
137
|
+
return new GetConfigError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
|
138
138
|
}).with({ type: "validation-error" }, (e) => {
|
|
139
139
|
return new GetConfigError({
|
|
140
140
|
_tag: "parsed",
|
|
141
141
|
errorCode: SCHEMA_VALIDATION_ERROR_CODE,
|
|
142
|
-
reason: (0,
|
|
142
|
+
reason: (0, import_chunk_TZJROXB3.createSchemaValidationError)(e.reason),
|
|
143
143
|
message: formatErrors(e.error)
|
|
144
144
|
});
|
|
145
145
|
}).otherwise((e) => {
|
|
@@ -26,16 +26,16 @@ 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_5P4WR3QW_exports = {};
|
|
30
|
+
__export(chunk_5P4WR3QW_exports, {
|
|
31
31
|
MergeSchemasError: () => MergeSchemasError,
|
|
32
32
|
mergeSchemas: () => mergeSchemas
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
36
|
-
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
34
|
+
module.exports = __toCommonJS(chunk_5P4WR3QW_exports);
|
|
35
|
+
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
37
36
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
38
|
-
var
|
|
37
|
+
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
38
|
+
var import_chunk_GZY7QBBF = require("./chunk-GZY7QBBF.js");
|
|
39
39
|
var import_chunk_PP22IZ7I = require("./chunk-PP22IZ7I.js");
|
|
40
40
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
41
41
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
@@ -59,12 +59,12 @@ ${detailsHeader} ${message}`;
|
|
|
59
59
|
}).exhaustive();
|
|
60
60
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
61
61
|
[Context: mergeSchemas]`;
|
|
62
|
-
super((0,
|
|
62
|
+
super((0, import_chunk_GZY7QBBF.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
63
63
|
this.name = "MergeSchemasError";
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
function mergeSchemas(options) {
|
|
67
|
-
const debugErrorType = (0,
|
|
67
|
+
const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "mergeSchemasWasm");
|
|
68
68
|
debug(`Using mergeSchemas Wasm`);
|
|
69
69
|
const mergeSchemasEither = (0, import_function.pipe)(
|
|
70
70
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
|
@@ -104,7 +104,7 @@ function mergeSchemas(options) {
|
|
|
104
104
|
return panic;
|
|
105
105
|
}
|
|
106
106
|
const errorOutput = e.error.message;
|
|
107
|
-
return new MergeSchemasError((0,
|
|
107
|
+
return new MergeSchemasError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
|
108
108
|
}).exhaustive();
|
|
109
109
|
throw error;
|
|
110
110
|
}
|
|
@@ -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_5PJQQKQI_exports = {};
|
|
30
|
+
__export(chunk_5PJQQKQI_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_E476ARWS = require("./chunk-E476ARWS.js");
|
|
37
|
+
module.exports = __toCommonJS(chunk_5PJQQKQI_exports);
|
|
39
38
|
var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
|
39
|
+
var import_chunk_E476ARWS = require("./chunk-E476ARWS.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_5VQNKCKW = require("./chunk-5VQNKCKW.js");
|
|
@@ -16,17 +16,17 @@ 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_5TIW7FM4_exports = {};
|
|
20
|
+
__export(chunk_5TIW7FM4_exports, {
|
|
21
21
|
require_package: () => require_package
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
23
|
+
module.exports = __toCommonJS(chunk_5TIW7FM4_exports);
|
|
24
24
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
25
25
|
var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
26
26
|
"package.json"(exports, module2) {
|
|
27
27
|
module2.exports = {
|
|
28
28
|
name: "@prisma/internals",
|
|
29
|
-
version: "7.9.0-dev.
|
|
29
|
+
version: "7.9.0-dev.29",
|
|
30
30
|
description: "This package is intended for Prisma's internal use",
|
|
31
31
|
main: "dist/index.js",
|
|
32
32
|
types: "dist/index.d.ts",
|
|
@@ -26,8 +26,8 @@ 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_6PILE32P_exports = {};
|
|
30
|
+
__export(chunk_6PILE32P_exports, {
|
|
31
31
|
checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
|
|
32
32
|
forbiddenCmdWithDataProxyFlagMessage: () => forbiddenCmdWithDataProxyFlagMessage,
|
|
33
33
|
formatSchema: () => formatSchema,
|
|
@@ -40,22 +40,22 @@ __export(chunk_2QZ2WZX3_exports, {
|
|
|
40
40
|
processSchemaResult: () => processSchemaResult,
|
|
41
41
|
skipIndex: () => skipIndex
|
|
42
42
|
});
|
|
43
|
-
module.exports = __toCommonJS(
|
|
43
|
+
module.exports = __toCommonJS(chunk_6PILE32P_exports);
|
|
44
44
|
var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
|
|
45
45
|
var import_chunk_DZ4QWHTB = require("./chunk-DZ4QWHTB.js");
|
|
46
46
|
var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
|
|
47
47
|
var import_chunk_LRU47BGE = require("./chunk-LRU47BGE.js");
|
|
48
|
-
var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
|
|
49
48
|
var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
|
|
50
|
-
var
|
|
51
|
-
var
|
|
49
|
+
var import_chunk_NUKBOD54 = require("./chunk-NUKBOD54.js");
|
|
50
|
+
var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
|
|
51
|
+
var import_chunk_BGMZPA2F = require("./chunk-BGMZPA2F.js");
|
|
52
52
|
var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
|
|
53
|
-
var
|
|
53
|
+
var import_chunk_4YZJJPK2 = require("./chunk-4YZJJPK2.js");
|
|
54
|
+
var import_chunk_ZB2V476P = require("./chunk-ZB2V476P.js");
|
|
54
55
|
var import_chunk_L2BUQUNG = require("./chunk-L2BUQUNG.js");
|
|
55
|
-
var
|
|
56
|
-
var import_chunk_NVEEOXTL = require("./chunk-NVEEOXTL.js");
|
|
57
|
-
var import_chunk_PP22IZ7I = require("./chunk-PP22IZ7I.js");
|
|
56
|
+
var import_chunk_5P4WR3QW = require("./chunk-5P4WR3QW.js");
|
|
58
57
|
var import_chunk_2BXDHSSY = require("./chunk-2BXDHSSY.js");
|
|
58
|
+
var import_chunk_PP22IZ7I = require("./chunk-PP22IZ7I.js");
|
|
59
59
|
var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
|
|
60
60
|
var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
|
|
61
61
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
@@ -152,7 +152,7 @@ async function processSchemaResult({
|
|
|
152
152
|
if (printLoadMessage) {
|
|
153
153
|
(0, import_chunk_2BXDHSSY.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
|
|
154
154
|
}
|
|
155
|
-
const configFromPsl = await (0,
|
|
155
|
+
const configFromPsl = await (0, import_chunk_4YZJJPK2.getConfig)({ datamodel: schemaResult.schemas });
|
|
156
156
|
const primaryDatasource = configFromPsl.datasources.at(0);
|
|
157
157
|
return {
|
|
158
158
|
schemaFiles: schemaResult.schemas,
|
|
@@ -203,15 +203,15 @@ async function getGenerators(options) {
|
|
|
203
203
|
throw new Error(`no schema provided for getGenerators`);
|
|
204
204
|
}
|
|
205
205
|
if (!schemaContext.primaryDatasource) {
|
|
206
|
-
throw new Error(
|
|
206
|
+
throw new Error(import_chunk_BGMZPA2F.missingDatasource);
|
|
207
207
|
}
|
|
208
208
|
(0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
|
|
209
|
-
const dmmf = await (0,
|
|
209
|
+
const dmmf = await (0, import_chunk_ZB2V476P.getDMMF)({ datamodel: schemaContext.schemaFiles });
|
|
210
210
|
if (dmmf.datamodel.models.length === 0 && !allowNoModels) {
|
|
211
211
|
if (schemaContext.primaryDatasource.provider === "mongodb") {
|
|
212
|
-
throw new Error(
|
|
212
|
+
throw new Error(import_chunk_NUKBOD54.missingModelMessageMongoDB);
|
|
213
213
|
}
|
|
214
|
-
throw new Error(
|
|
214
|
+
throw new Error(import_chunk_NUKBOD54.missingModelMessage);
|
|
215
215
|
}
|
|
216
216
|
const generatorConfigs = filterGenerators(overrideGenerators || schemaContext.generators, generatorNames);
|
|
217
217
|
await validateGenerators(generatorConfigs);
|
|
@@ -254,7 +254,7 @@ You need to define \`output\` in the generator block in the schema file.`
|
|
|
254
254
|
fromEnvVar: null
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
const datamodel = (0,
|
|
257
|
+
const datamodel = (0, import_chunk_5P4WR3QW.mergeSchemas)({ schemas: schemaContext.schemaFiles });
|
|
258
258
|
const options2 = {
|
|
259
259
|
datamodel,
|
|
260
260
|
datasources: schemaContext.datasources,
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_6S5MN3NA_exports = {};
|
|
20
|
+
__export(chunk_6S5MN3NA_exports, {
|
|
21
|
+
completionApiKeyHint: () => completionApiKeyHint,
|
|
22
|
+
completionClientOutputPaths: () => completionClientOutputPaths,
|
|
23
|
+
completionCompositeTypeDepths: () => completionCompositeTypeDepths,
|
|
24
|
+
completionConfigPaths: () => completionConfigPaths,
|
|
25
|
+
completionDatabaseIdHint: () => completionDatabaseIdHint,
|
|
26
|
+
completionDatabaseSchemas: () => completionDatabaseSchemas,
|
|
27
|
+
completionDatasourceProviders: () => completionDatasourceProviders,
|
|
28
|
+
completionDatasourceUrls: () => completionDatasourceUrls,
|
|
29
|
+
completionDevDbPorts: () => completionDevDbPorts,
|
|
30
|
+
completionDevHttpPorts: () => completionDevHttpPorts,
|
|
31
|
+
completionDevServerNames: () => completionDevServerNames,
|
|
32
|
+
completionDevShadowDbPorts: () => completionDevShadowDbPorts,
|
|
33
|
+
completionDiffOutputPaths: () => completionDiffOutputPaths,
|
|
34
|
+
completionGeneratorNames: () => completionGeneratorNames,
|
|
35
|
+
completionGeneratorProviders: () => completionGeneratorProviders,
|
|
36
|
+
completionMigrationIds: () => completionMigrationIds,
|
|
37
|
+
completionMigrationNames: () => completionMigrationNames,
|
|
38
|
+
completionMigrationsDirPaths: () => completionMigrationsDirPaths,
|
|
39
|
+
completionPreviewFeatures: () => completionPreviewFeatures,
|
|
40
|
+
completionSchemaPaths: () => completionSchemaPaths,
|
|
41
|
+
completionSqlScriptPaths: () => completionSqlScriptPaths,
|
|
42
|
+
completionStudioBrowsers: () => completionStudioBrowsers,
|
|
43
|
+
completionStudioPorts: () => completionStudioPorts
|
|
44
|
+
});
|
|
45
|
+
module.exports = __toCommonJS(chunk_6S5MN3NA_exports);
|
|
46
|
+
var completionSchemaPaths = [
|
|
47
|
+
{ value: "prisma/schema.prisma", description: "Default schema path" },
|
|
48
|
+
{ value: "./schema.prisma", description: "Schema in project root" }
|
|
49
|
+
];
|
|
50
|
+
var completionConfigPaths = [
|
|
51
|
+
{ value: "prisma.config.ts", description: "Default config path" }
|
|
52
|
+
];
|
|
53
|
+
var completionDatasourceUrls = [
|
|
54
|
+
{ value: "postgresql://", description: "PostgreSQL connection string" },
|
|
55
|
+
{ value: "mysql://", description: "MySQL connection string" },
|
|
56
|
+
{ value: "file:", description: "SQLite connection string" },
|
|
57
|
+
{ value: "mongodb://", description: "MongoDB connection string" },
|
|
58
|
+
{ value: "sqlserver://", description: "SQL Server connection string" }
|
|
59
|
+
];
|
|
60
|
+
var completionApiKeyHint = [{ value: "<your-api-key>", description: "Workspace API key" }];
|
|
61
|
+
var completionDatabaseIdHint = [
|
|
62
|
+
{ value: "db_", description: "Database ID prefix (e.g. db_abc123)" }
|
|
63
|
+
];
|
|
64
|
+
var completionGeneratorNames = [
|
|
65
|
+
{ value: "prisma-client", description: "Prisma Client generator" },
|
|
66
|
+
{ value: "prisma-client-js", description: "Legacy Prisma Client JS generator" }
|
|
67
|
+
];
|
|
68
|
+
var completionClientOutputPaths = [
|
|
69
|
+
{ value: "./generated/prisma", description: "Common client output path" },
|
|
70
|
+
{ value: "../generated/prisma", description: "Alternative client output path" }
|
|
71
|
+
];
|
|
72
|
+
var completionPreviewFeatures = [
|
|
73
|
+
{ value: "typedSql", description: "TypedSQL preview feature" }
|
|
74
|
+
];
|
|
75
|
+
var completionSqlScriptPaths = [{ value: "./script.sql", description: "SQL script file" }];
|
|
76
|
+
var completionMigrationsDirPaths = [
|
|
77
|
+
{ value: "prisma/migrations", description: "Default migrations directory" },
|
|
78
|
+
{ value: "./migrations", description: "Custom migrations directory" }
|
|
79
|
+
];
|
|
80
|
+
var completionDiffOutputPaths = [{ value: "diff.sql", description: "SQL diff output file" }];
|
|
81
|
+
var completionMigrationNames = [
|
|
82
|
+
{ value: "init", description: "Initial migration name" },
|
|
83
|
+
{ value: "add_users", description: "Example migration name" }
|
|
84
|
+
];
|
|
85
|
+
var completionMigrationIds = [
|
|
86
|
+
{ value: "20201231000000_add_users_table", description: "Example migration ID" }
|
|
87
|
+
];
|
|
88
|
+
var completionCompositeTypeDepths = [
|
|
89
|
+
{ value: "-1", description: "Infinite depth (default)" },
|
|
90
|
+
{ value: "0", description: "Off" },
|
|
91
|
+
{ value: "2", description: "Two levels deep" }
|
|
92
|
+
];
|
|
93
|
+
var completionDatabaseSchemas = [
|
|
94
|
+
{ value: "public", description: "PostgreSQL default schema" }
|
|
95
|
+
];
|
|
96
|
+
var completionDatasourceProviders = [
|
|
97
|
+
{ value: "postgresql", description: "PostgreSQL" },
|
|
98
|
+
{ value: "mysql", description: "MySQL" },
|
|
99
|
+
{ value: "sqlite", description: "SQLite" },
|
|
100
|
+
{ value: "mongodb", description: "MongoDB" },
|
|
101
|
+
{ value: "sqlserver", description: "SQL Server" },
|
|
102
|
+
{ value: "cockroachdb", description: "CockroachDB" }
|
|
103
|
+
];
|
|
104
|
+
var completionGeneratorProviders = [
|
|
105
|
+
{ value: "prisma-client", description: "Prisma Client" },
|
|
106
|
+
{ value: "prisma-client-js", description: "Legacy Prisma Client JS" }
|
|
107
|
+
];
|
|
108
|
+
var completionStudioPorts = [
|
|
109
|
+
{ value: "51212", description: "Default Studio port" },
|
|
110
|
+
{ value: "5555", description: "Common custom port" },
|
|
111
|
+
{ value: "3000", description: "Alternative port" }
|
|
112
|
+
];
|
|
113
|
+
var completionStudioBrowsers = [
|
|
114
|
+
{ value: "none", description: "Do not open browser" },
|
|
115
|
+
{ value: "chrome", description: "Google Chrome" },
|
|
116
|
+
{ value: "firefox", description: "Mozilla Firefox" },
|
|
117
|
+
{ value: "safari", description: "Safari" }
|
|
118
|
+
];
|
|
119
|
+
var completionDevServerNames = [{ value: "default", description: "Default server name" }];
|
|
120
|
+
var completionDevHttpPorts = [{ value: "51213", description: "Default HTTP server port" }];
|
|
121
|
+
var completionDevDbPorts = [{ value: "51214", description: "Default database port" }];
|
|
122
|
+
var completionDevShadowDbPorts = [
|
|
123
|
+
{ value: "51215", description: "Default shadow database port" }
|
|
124
|
+
];
|
|
@@ -16,20 +16,20 @@ 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_BGMZPA2F_exports = {};
|
|
20
|
+
__export(chunk_BGMZPA2F_exports, {
|
|
21
21
|
missingDatasource: () => missingDatasource
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
23
|
+
module.exports = __toCommonJS(chunk_BGMZPA2F_exports);
|
|
24
24
|
var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
|
|
25
|
-
var
|
|
25
|
+
var import_chunk_VNIE2AZB = require("./chunk-VNIE2AZB.js");
|
|
26
26
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
27
27
|
var missingDatasource = `
|
|
28
28
|
You don't have any ${(0, import_chunk_PG5FDKSF.bold)("datasource")} defined in your ${(0, import_chunk_PG5FDKSF.bold)("schema.prisma")}.
|
|
29
29
|
You can define a datasource like this:
|
|
30
30
|
|
|
31
31
|
${(0, import_chunk_PG5FDKSF.bold)(
|
|
32
|
-
(0,
|
|
32
|
+
(0, import_chunk_VNIE2AZB.highlightDatamodel)(`datasource db {
|
|
33
33
|
provider = "postgresql"
|
|
34
34
|
}`)
|
|
35
35
|
)}
|
|
@@ -16,17 +16,17 @@ 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_CXEXLFVL_exports = {};
|
|
20
|
+
__export(chunk_CXEXLFVL_exports, {
|
|
21
21
|
SchemaEngineExitCode: () => SchemaEngineExitCode,
|
|
22
22
|
canConnectToDatabase: () => canConnectToDatabase,
|
|
23
23
|
createDatabase: () => createDatabase,
|
|
24
24
|
dropDatabase: () => dropDatabase,
|
|
25
25
|
execaCommand: () => execaCommand
|
|
26
26
|
});
|
|
27
|
-
module.exports = __toCommonJS(
|
|
27
|
+
module.exports = __toCommonJS(chunk_CXEXLFVL_exports);
|
|
28
28
|
var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
|
|
29
|
-
var
|
|
29
|
+
var import_chunk_5PJQQKQI = require("./chunk-5PJQQKQI.js");
|
|
30
30
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
|
31
31
|
var SchemaEngineExitCode = /* @__PURE__ */ ((SchemaEngineExitCode2) => {
|
|
32
32
|
SchemaEngineExitCode2[SchemaEngineExitCode2["Success"] = 0] = "Success";
|
|
@@ -137,7 +137,7 @@ async function execaCommand({
|
|
|
137
137
|
schemaEnginePath,
|
|
138
138
|
engineCommandName
|
|
139
139
|
}) {
|
|
140
|
-
schemaEnginePath = schemaEnginePath || await (0,
|
|
140
|
+
schemaEnginePath = schemaEnginePath || await (0, import_chunk_5PJQQKQI.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
|
|
141
141
|
try {
|
|
142
142
|
return await (0, import_chunk_JOIHHXR6.execa)(
|
|
143
143
|
schemaEnginePath,
|
|
@@ -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_D3TXIPBV_exports = {};
|
|
30
|
+
__export(chunk_D3TXIPBV_exports, {
|
|
31
31
|
ValidateError: () => ValidateError,
|
|
32
32
|
validate: () => validate
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
36
|
-
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
34
|
+
module.exports = __toCommonJS(chunk_D3TXIPBV_exports);
|
|
35
|
+
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
37
36
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
38
|
-
var
|
|
39
|
-
var
|
|
37
|
+
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
38
|
+
var import_chunk_RDPHZLI7 = require("./chunk-RDPHZLI7.js");
|
|
39
|
+
var import_chunk_GUVBAGV6 = require("./chunk-GUVBAGV6.js");
|
|
40
40
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
41
41
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
42
42
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
@@ -59,25 +59,25 @@ ${detailsHeader} ${message}`;
|
|
|
59
59
|
}).exhaustive();
|
|
60
60
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
61
61
|
[Context: validate]`;
|
|
62
|
-
super((0,
|
|
62
|
+
super((0, import_chunk_RDPHZLI7.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
63
63
|
this.name = "ValidateError";
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
function validate(options) {
|
|
67
|
-
const debugErrorType = (0,
|
|
67
|
+
const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "validateWasm");
|
|
68
68
|
debug(`Using validate Wasm`);
|
|
69
69
|
const validateEither = (0, import_function.pipe)(
|
|
70
70
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
|
71
71
|
() => {
|
|
72
72
|
if (process.env.FORCE_PANIC_GET_DMMF) {
|
|
73
73
|
debug("Triggering a Rust panic...");
|
|
74
|
-
|
|
74
|
+
import_chunk_GUVBAGV6.prismaSchemaWasm.debug_panic();
|
|
75
75
|
}
|
|
76
76
|
const params = JSON.stringify({
|
|
77
77
|
prismaSchema: options.schemas,
|
|
78
78
|
noColor: Boolean(process.env.NO_COLOR)
|
|
79
79
|
});
|
|
80
|
-
|
|
80
|
+
import_chunk_GUVBAGV6.prismaSchemaWasm.validate(params);
|
|
81
81
|
},
|
|
82
82
|
(e) => ({
|
|
83
83
|
type: "wasm-error",
|
|
@@ -109,7 +109,7 @@ function validate(options) {
|
|
|
109
109
|
return panic;
|
|
110
110
|
}
|
|
111
111
|
const errorOutput = e.error.message;
|
|
112
|
-
return new ValidateError((0,
|
|
112
|
+
return new ValidateError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
|
113
113
|
}).exhaustive();
|
|
114
114
|
throw error;
|
|
115
115
|
}
|
|
@@ -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_E7B3RH4Q_exports = {};
|
|
30
|
+
__export(chunk_E7B3RH4Q_exports, {
|
|
31
31
|
MergeSchemasError: () => MergeSchemasError,
|
|
32
32
|
mergeSchemas: () => mergeSchemas
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
36
|
-
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
34
|
+
module.exports = __toCommonJS(chunk_E7B3RH4Q_exports);
|
|
35
|
+
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
37
36
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
38
|
-
var
|
|
39
|
-
var
|
|
37
|
+
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
38
|
+
var import_chunk_RDPHZLI7 = require("./chunk-RDPHZLI7.js");
|
|
39
|
+
var import_chunk_GUVBAGV6 = require("./chunk-GUVBAGV6.js");
|
|
40
40
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
41
41
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
42
42
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
@@ -59,12 +59,12 @@ ${detailsHeader} ${message}`;
|
|
|
59
59
|
}).exhaustive();
|
|
60
60
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
61
61
|
[Context: mergeSchemas]`;
|
|
62
|
-
super((0,
|
|
62
|
+
super((0, import_chunk_RDPHZLI7.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
63
63
|
this.name = "MergeSchemasError";
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
function mergeSchemas(options) {
|
|
67
|
-
const debugErrorType = (0,
|
|
67
|
+
const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "mergeSchemasWasm");
|
|
68
68
|
debug(`Using mergeSchemas Wasm`);
|
|
69
69
|
const mergeSchemasEither = (0, import_function.pipe)(
|
|
70
70
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
|
@@ -72,7 +72,7 @@ function mergeSchemas(options) {
|
|
|
72
72
|
const params = JSON.stringify({
|
|
73
73
|
schema: options.schemas
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return import_chunk_GUVBAGV6.prismaSchemaWasm.merge_schemas(params);
|
|
76
76
|
},
|
|
77
77
|
(e) => ({
|
|
78
78
|
type: "wasm-error",
|
|
@@ -104,7 +104,7 @@ function mergeSchemas(options) {
|
|
|
104
104
|
return panic;
|
|
105
105
|
}
|
|
106
106
|
const errorOutput = e.error.message;
|
|
107
|
-
return new MergeSchemasError((0,
|
|
107
|
+
return new MergeSchemasError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
|
108
108
|
}).exhaustive();
|
|
109
109
|
throw error;
|
|
110
110
|
}
|
|
@@ -26,15 +26,15 @@ 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_EBLNHWW6_exports = {};
|
|
30
|
+
__export(chunk_EBLNHWW6_exports, {
|
|
31
31
|
getEnginesInfo: () => getEnginesInfo,
|
|
32
32
|
resolveEngine: () => resolveEngine
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
34
|
+
module.exports = __toCommonJS(chunk_EBLNHWW6_exports);
|
|
35
|
+
var import_chunk_L6V54WGO = require("./chunk-L6V54WGO.js");
|
|
36
36
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
37
|
-
var
|
|
37
|
+
var import_chunk_5PJQQKQI = require("./chunk-5PJQQKQI.js");
|
|
38
38
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
39
39
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
40
40
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
@@ -131,7 +131,7 @@ async function resolveEngine(binaryName) {
|
|
|
131
131
|
const enginePathEither = await (0, import_function2.pipe)(
|
|
132
132
|
pathFromEnvOption,
|
|
133
133
|
fold(
|
|
134
|
-
() => (0,
|
|
134
|
+
() => (0, import_chunk_5PJQQKQI.safeResolveBinary)(binaryName),
|
|
135
135
|
(pathFromEnv) => (0, import_chunk_5DBOS77Y.right2)(pathFromEnv.path)
|
|
136
136
|
)
|
|
137
137
|
)();
|
|
@@ -139,7 +139,7 @@ async function resolveEngine(binaryName) {
|
|
|
139
139
|
enginePathEither,
|
|
140
140
|
import_chunk_5DBOS77Y.fromEither,
|
|
141
141
|
(0, import_chunk_5DBOS77Y.chain)((enginePath) => {
|
|
142
|
-
return (0,
|
|
142
|
+
return (0, import_chunk_L6V54WGO.safeGetEngineVersion)(enginePath, binaryName);
|
|
143
143
|
})
|
|
144
144
|
)();
|
|
145
145
|
const engineInfo = {
|
|
@@ -26,15 +26,15 @@ 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_GUVBAGV6_exports = {};
|
|
30
|
+
__export(chunk_GUVBAGV6_exports, {
|
|
31
31
|
prismaSchemaWasm: () => import_prisma_schema_wasm.default,
|
|
32
32
|
prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
|
|
33
33
|
schemaEngineWasmVersion: () => schemaEngineWasmVersion,
|
|
34
34
|
wasm_exports: () => wasm_exports
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
37
|
-
var
|
|
36
|
+
module.exports = __toCommonJS(chunk_GUVBAGV6_exports);
|
|
37
|
+
var import_chunk_5TIW7FM4 = require("./chunk-5TIW7FM4.js");
|
|
38
38
|
var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
|
|
39
39
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
40
40
|
var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
|
|
@@ -46,6 +46,6 @@ var wasm_exports = {};
|
|
|
46
46
|
});
|
|
47
47
|
var globalWithPanicRegistry = globalThis;
|
|
48
48
|
globalWithPanicRegistry.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
|
|
49
|
-
var { dependencies } = (0,
|
|
49
|
+
var { dependencies } = (0, import_chunk_5TIW7FM4.require_package)();
|
|
50
50
|
var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
|
|
51
51
|
var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];
|