@prisma/internals 6.17.0-dev.3 → 6.17.0-dev.31
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-MM3X7Q65.js → chunk-6IYOEJDW.js} +5 -5
- package/dist/{chunk-OGVTXEA7.js → chunk-6YPBEZCK.js} +7 -8
- package/dist/{chunk-K55E5MZF.js → chunk-A4ULCVBT.js} +6 -7
- package/dist/{chunk-HCIV233Z.js → chunk-BVJP43JS.js} +15 -5
- package/dist/{chunk-GY62OD5U.js → chunk-C7PKSDLK.js} +19 -19
- package/dist/{chunk-AYOS4YC3.js → chunk-EQXESRGL.js} +5 -5
- package/dist/{chunk-25S3GPVW.js → chunk-F6HNKDU2.js} +8 -8
- package/dist/{chunk-STB4433D.js → chunk-FAL2B34N.js} +5 -5
- package/dist/{chunk-ERAGRX7O.js → chunk-FNMRP3QB.js} +8 -8
- package/dist/{chunk-NABCZ7JF.js → chunk-G3XQ6VYU.js} +5 -5
- package/dist/{chunk-HUZCOOMQ.js → chunk-GML5HG7N.js} +5 -5
- package/dist/{chunk-TN5X76G7.js → chunk-GMW36QQF.js} +5 -5
- package/dist/{chunk-BQH2H7YM.js → chunk-GRIHMQXS.js} +19 -19
- package/dist/{chunk-FR6ARI7J.js → chunk-H4G37AHB.js} +7 -7
- package/dist/{chunk-ZYJQD2CH.js → chunk-I34HIWKG.js} +8 -8
- package/dist/chunk-JOIHHXR6.js +2067 -0
- package/dist/{chunk-PRGTOMXU.js → chunk-OAT7ZJED.js} +5 -7
- package/dist/{chunk-SBQYDKIB.js → chunk-ONCM5JQB.js} +5 -5
- package/dist/{chunk-VQQVQMOL.js → chunk-PCVSB2UV.js} +5 -5
- package/dist/{chunk-FRYOH4IB.js → chunk-QKLOO4ZA.js} +8 -8
- package/dist/{chunk-RB4NKTPC.js → chunk-QL2EZ7FF.js} +8 -8
- package/dist/{chunk-WUR6EOBP.js → chunk-QRWZ6QLE.js} +8 -8
- package/dist/{chunk-ONPT5QRX.js → chunk-UHI6VYFX.js} +5 -7
- package/dist/{chunk-EYKBXO4E.js → chunk-WHHNGXGC.js} +7 -7
- package/dist/{chunk-MWXZ7AXF.js → chunk-XISXLFWO.js} +5 -5
- package/dist/cli/checkUnsupportedDataProxy.js +17 -18
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +17 -18
- package/dist/cli/schemaContext.js +17 -18
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +16 -17
- package/dist/engine-commands/getConfig.js +10 -10
- package/dist/engine-commands/getDmmf.js +7 -7
- package/dist/engine-commands/getEngineVersion.js +4 -5
- package/dist/engine-commands/getEnginesInfo.js +5 -6
- package/dist/engine-commands/index.js +28 -29
- package/dist/engine-commands/lintSchema.js +8 -8
- package/dist/engine-commands/mergeSchemas.js +7 -7
- package/dist/engine-commands/validate.js +7 -7
- package/dist/get-generators/getGenerators.d.ts +1 -0
- package/dist/get-generators/getGenerators.js +19 -20
- package/dist/getPackedPackage.js +2 -3
- package/dist/index.js +44 -45
- package/dist/schemaEngineCommands.d.ts +1 -2
- package/dist/schemaEngineCommands.js +7 -8
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/wasm.js +5 -5
- package/package.json +14 -15
- package/dist/chunk-ETYWYJBX.js +0 -1908
- package/dist/chunk-MM4ARWWY.js +0 -35
|
@@ -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_H4G37AHB_exports = {};
|
|
30
|
+
__export(chunk_H4G37AHB_exports, {
|
|
31
31
|
MergeSchemasError: () => MergeSchemasError,
|
|
32
32
|
mergeSchemas: () => mergeSchemas
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
34
|
+
module.exports = __toCommonJS(chunk_H4G37AHB_exports);
|
|
35
35
|
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
36
36
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
37
37
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var import_chunk_PCVSB2UV = require("./chunk-PCVSB2UV.js");
|
|
39
|
+
var import_chunk_EQXESRGL = require("./chunk-EQXESRGL.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,7 +59,7 @@ ${detailsHeader} ${message}`;
|
|
|
59
59
|
}).exhaustive();
|
|
60
60
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
61
61
|
[Context: mergeSchemas]`;
|
|
62
|
-
super((0,
|
|
62
|
+
super((0, import_chunk_PCVSB2UV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
63
63
|
this.name = "MergeSchemasError";
|
|
64
64
|
}
|
|
65
65
|
};
|
|
@@ -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_EQXESRGL.prismaSchemaWasm.merge_schemas(params);
|
|
76
76
|
},
|
|
77
77
|
(e) => ({
|
|
78
78
|
type: "wasm-error",
|
|
@@ -26,20 +26,20 @@ 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_I34HIWKG_exports = {};
|
|
30
|
+
__export(chunk_I34HIWKG_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_I34HIWKG_exports);
|
|
38
38
|
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
39
39
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
40
40
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
41
|
-
var
|
|
42
|
-
var
|
|
41
|
+
var import_chunk_FAL2B34N = require("./chunk-FAL2B34N.js");
|
|
42
|
+
var import_chunk_G3XQ6VYU = require("./chunk-G3XQ6VYU.js");
|
|
43
43
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
44
44
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
45
45
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
@@ -64,7 +64,7 @@ ${detailsHeader} ${message}`;
|
|
|
64
64
|
}).exhaustive();
|
|
65
65
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
66
66
|
[Context: getConfig]`;
|
|
67
|
-
super((0,
|
|
67
|
+
super((0, import_chunk_FAL2B34N.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
68
68
|
this.name = "GetConfigError";
|
|
69
69
|
}
|
|
70
70
|
};
|
|
@@ -89,7 +89,7 @@ async function getConfig(options) {
|
|
|
89
89
|
() => {
|
|
90
90
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
|
|
91
91
|
debug("Triggering a Rust panic...");
|
|
92
|
-
|
|
92
|
+
import_chunk_G3XQ6VYU.prismaSchemaWasm.debug_panic();
|
|
93
93
|
}
|
|
94
94
|
const params = JSON.stringify({
|
|
95
95
|
prismaSchema: options.datamodel,
|
|
@@ -97,7 +97,7 @@ async function getConfig(options) {
|
|
|
97
97
|
ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
|
|
98
98
|
env: process.env
|
|
99
99
|
});
|
|
100
|
-
const data =
|
|
100
|
+
const data = import_chunk_G3XQ6VYU.prismaSchemaWasm.get_config(params);
|
|
101
101
|
return data;
|
|
102
102
|
},
|
|
103
103
|
(e) => ({
|