@prisma/internals 6.13.0-dev.2 → 6.13.0-dev.20
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-6I574ZIF.js → chunk-37LO3E4J.js} +26 -26
- package/dist/{chunk-CHOXBASF.js → chunk-4JCVHBYR.js} +5 -5
- package/dist/{chunk-BL6J3WTY.js → chunk-5QFBKBEX.js} +5 -5
- package/dist/{chunk-MY5KA4VU.js → chunk-67I7CEQJ.js} +329 -12
- package/dist/{chunk-5JNTOFOR.js → chunk-B5O6GFG4.js} +5 -5
- package/dist/{chunk-MMDCFN6O.js → chunk-BU46DJRT.js} +7 -7
- package/dist/{chunk-ZIFBTC6Y.js → chunk-CILEY36B.js} +5150 -477
- package/dist/{chunk-IGE4S4UJ.js → chunk-E6NVGRXQ.js} +8 -8
- package/dist/{chunk-JIFFPM7F.js → chunk-EQ7AL55P.js} +5 -5
- package/dist/{chunk-ZCBEMBHR.js → chunk-EYVG6XQS.js} +11 -23
- package/dist/{chunk-7LZMIPS5.js → chunk-FQY6CJCS.js} +8 -8
- package/dist/{chunk-Z2AJ5IEE.js → chunk-HAIDLPSM.js} +6 -6
- package/dist/{chunk-THMJMRIA.js → chunk-ICLPKH5W.js} +7 -7
- package/dist/{chunk-2VKVT363.js → chunk-J6HUSWHW.js} +5 -5
- package/dist/{chunk-4L22GQK3.js → chunk-KG5ENQQB.js} +5 -5
- package/dist/chunk-LWJT6EL5.js +27 -0
- package/dist/{chunk-7S4F5QCB.js → chunk-P5CSINSD.js} +8 -8
- package/dist/{chunk-WTTNML3O.js → chunk-RVCIBPDV.js} +8 -8
- package/dist/{chunk-7G7FICFI.js → chunk-VXUA6PHH.js} +7 -7
- package/dist/{chunk-X4L5SQSX.js → chunk-W4DYDNOY.js} +5 -5
- package/dist/{chunk-PMQVIRHN.js → chunk-WO7R4WLH.js} +5 -5
- package/dist/{chunk-536AZBM2.js → chunk-WRLSU3LE.js} +26 -26
- package/dist/{chunk-WXRTT6AT.js → chunk-XLPPGCBH.js} +8 -8
- package/dist/{chunk-SFFH45R3.js → chunk-Y2JAG3N5.js} +5 -5
- package/dist/{chunk-VMDJ6R7V.js → chunk-Y2NDDGHC.js} +8 -8
- package/dist/{chunk-O3FLU6UD.js → chunk-ZEMAVKSY.js} +8 -8
- package/dist/{chunk-NSA7BFND.js → chunk-ZJU2FG7Q.js} +5 -5
- package/dist/cli/checkUnsupportedDataProxy.js +20 -21
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +20 -21
- package/dist/cli/getSchema.d.ts +6 -8
- package/dist/cli/getSchema.js +5 -9
- package/dist/cli/hashes.js +4 -7
- package/dist/cli/schemaContext.js +20 -21
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +19 -20
- package/dist/engine-commands/getConfig.js +10 -10
- package/dist/engine-commands/getDmmf.js +7 -7
- 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.js +22 -23
- package/dist/getPackedPackage.js +5 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +48 -50
- package/dist/migrateTypes.d.ts +10 -0
- package/dist/resolvePkg.js +2 -3
- package/dist/utils/getEnvPaths.js +4 -6
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/loadEnvFile.js +5 -7
- package/dist/wasm.js +5 -5
- package/package.json +13 -13
- package/dist/chunk-PSFQKG2Q.js +0 -6291
- package/dist/chunk-QS3WUGE3.js +0 -341
|
@@ -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_BU46DJRT_exports = {};
|
|
30
|
+
__export(chunk_BU46DJRT_exports, {
|
|
31
31
|
MergeSchemasError: () => MergeSchemasError,
|
|
32
32
|
mergeSchemas: () => mergeSchemas
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
34
|
+
module.exports = __toCommonJS(chunk_BU46DJRT_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_B5O6GFG4 = require("./chunk-B5O6GFG4.js");
|
|
39
|
+
var import_chunk_KG5ENQQB = require("./chunk-KG5ENQQB.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_B5O6GFG4.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_KG5ENQQB.prismaSchemaWasm.merge_schemas(params);
|
|
76
76
|
},
|
|
77
77
|
(e) => ({
|
|
78
78
|
type: "wasm-error",
|