@prisma/internals 7.10.0-dev.12 → 7.10.0-dev.14

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.
Files changed (47) hide show
  1. package/dist/{chunk-3GIVRMID.js → chunk-3A3NTB3N.js} +5 -5
  2. package/dist/{chunk-EBLNHWW6.js → chunk-3VD46SL7.js} +9 -9
  3. package/dist/{chunk-6PILE32P.js → chunk-4RP7BDVC.js} +17 -17
  4. package/dist/{chunk-RBFAP5EL.js → chunk-64YXLOV7.js} +13 -13
  5. package/dist/{chunk-TZJROXB3.js → chunk-6Z766KGR.js} +6 -6
  6. package/dist/{chunk-GZY7QBBF.js → chunk-AHCUHED6.js} +5 -5
  7. package/dist/{chunk-5EYNYPAK.js → chunk-CGXVFQSY.js} +5 -5
  8. package/dist/{chunk-ICTWZY5B.js → chunk-CIZQR6HX.js} +5 -5
  9. package/dist/{chunk-B42M3GH5.js → chunk-CLREU2MP.js} +5 -5
  10. package/dist/{chunk-GZLJZGHX.js → chunk-DUDEWDFC.js} +7 -7
  11. package/dist/{chunk-L2BUQUNG.js → chunk-EBGURKMQ.js} +5 -5
  12. package/dist/{chunk-YXCPS3WU.js → chunk-FRVJZOHP.js} +6 -6
  13. package/dist/{chunk-4YZJJPK2.js → chunk-GK5W4R3E.js} +15 -15
  14. package/dist/{chunk-FVGPNJ3S.js → chunk-KS7PC7PU.js} +14 -14
  15. package/dist/{chunk-MD47SEWA.js → chunk-L4JMOS76.js} +14 -14
  16. package/dist/{chunk-PP22IZ7I.js → chunk-LZIEKANU.js} +5 -5
  17. package/dist/{chunk-LZ2DP3UC.js → chunk-PEUHIMSW.js} +4 -4
  18. package/dist/{chunk-V6IFBKBA.js → chunk-PIFY3ZJ6.js} +5 -5
  19. package/dist/{chunk-T5AOAO6V.js → chunk-QCKNWMNN.js} +10 -10
  20. package/dist/{chunk-ZB2V476P.js → chunk-QNRGB5V4.js} +10 -10
  21. package/dist/{chunk-Q4QPHMZT.js → chunk-R5FZQB6S.js} +17 -17
  22. package/dist/{chunk-WYECRSUI.js → chunk-SJPFYGMK.js} +5 -5
  23. package/dist/{chunk-PWSUOJOI.js → chunk-W5B6SWFP.js} +15 -15
  24. package/dist/{chunk-5P4WR3QW.js → chunk-YMWJKHOM.js} +13 -13
  25. package/dist/chunk-YNDZCLVL.js +307 -0
  26. package/dist/{chunk-7IKUTPWQ.js → chunk-YXB6APHS.js} +5 -5
  27. package/dist/cli/checkUnsupportedDataProxy.js +18 -18
  28. package/dist/cli/schemaContext.js +19 -19
  29. package/dist/engine-commands/errorHelpers.js +4 -4
  30. package/dist/engine-commands/formatSchema.js +17 -17
  31. package/dist/engine-commands/getConfig.js +9 -9
  32. package/dist/engine-commands/getDmmf.js +10 -10
  33. package/dist/engine-commands/getEnginesInfo.js +4 -4
  34. package/dist/engine-commands/index.js +28 -28
  35. package/dist/engine-commands/lintSchema.js +8 -8
  36. package/dist/engine-commands/mergeSchemas.js +9 -9
  37. package/dist/engine-commands/queryEngineCommons.js +6 -6
  38. package/dist/engine-commands/validate.js +9 -9
  39. package/dist/get-generators/getGenerators.js +20 -20
  40. package/dist/index.js +39 -39
  41. package/dist/sendPanic.js +3 -3
  42. package/dist/utils/getGitHubIssueUrl.js +4 -4
  43. package/dist/utils/getVersionFromPackageJson.js +3 -3
  44. package/dist/utils/handlePanic.js +5 -5
  45. package/dist/wasm.js +5 -5
  46. package/package.json +13 -13
  47. package/dist/chunk-XKZ6CBLA.js +0 -281
@@ -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 chunk_FVGPNJ3S_exports = {};
30
- __export(chunk_FVGPNJ3S_exports, {
29
+ var chunk_KS7PC7PU_exports = {};
30
+ __export(chunk_KS7PC7PU_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_FVGPNJ3S_exports);
35
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
34
+ module.exports = __toCommonJS(chunk_KS7PC7PU_exports);
35
+ var import_chunk_6Z766KGR = require("./chunk-6Z766KGR.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_ICTWZY5B = require("./chunk-ICTWZY5B.js");
39
- var import_chunk_WYECRSUI = require("./chunk-WYECRSUI.js");
38
+ var import_chunk_CIZQR6HX = require("./chunk-CIZQR6HX.js");
39
+ var import_chunk_LZIEKANU = require("./chunk-LZIEKANU.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
- var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
+ var import_chunk_YNDZCLVL = require("./chunk-YNDZCLVL.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
44
44
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -47,7 +47,7 @@ var import_function = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_R6QH57
47
47
  var debug = (0, import_debug.default)("prisma:validate");
48
48
  var ValidateError = class extends Error {
49
49
  constructor(params) {
50
- const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
50
+ const constructedErrorMessage = (0, import_chunk_YNDZCLVL.M)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
51
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
52
52
  return `${reason}
53
53
  ${errorCodeMessage}
@@ -59,25 +59,25 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: validate]`;
62
- super((0, import_chunk_ICTWZY5B.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_CIZQR6HX.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "ValidateError";
64
64
  }
65
65
  };
66
66
  function validate(options) {
67
- const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "validateWasm");
67
+ const debugErrorType = (0, import_chunk_6Z766KGR.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
- import_chunk_WYECRSUI.prismaSchemaWasm.debug_panic();
74
+ import_chunk_LZIEKANU.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
- import_chunk_WYECRSUI.prismaSchemaWasm.validate(params);
80
+ import_chunk_LZIEKANU.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",
@@ -89,7 +89,7 @@ function validate(options) {
89
89
  if ((0, import_chunk_5DBOS77Y.isRight)(validateEither)) {
90
90
  return;
91
91
  }
92
- const error = (0, import_chunk_XKZ6CBLA.z)(validateEither.left).with({ type: "wasm-error" }, (e) => {
92
+ const error = (0, import_chunk_YNDZCLVL.M)(validateEither.left).with({ type: "wasm-error" }, (e) => {
93
93
  debugErrorType(e);
94
94
  console.error("");
95
95
  if ((0, import_chunk_LMVSIVKQ.isWasmPanic)(e.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, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
112
+ return new ValidateError((0, import_chunk_6Z766KGR.parseQueryEngineError)({ errorOutput, reason: e.reason }));
113
113
  }).exhaustive();
114
114
  throw error;
115
115
  }
@@ -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 chunk_MD47SEWA_exports = {};
30
- __export(chunk_MD47SEWA_exports, {
29
+ var chunk_L4JMOS76_exports = {};
30
+ __export(chunk_L4JMOS76_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_MD47SEWA_exports);
35
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
34
+ module.exports = __toCommonJS(chunk_L4JMOS76_exports);
35
+ var import_chunk_6Z766KGR = require("./chunk-6Z766KGR.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_GZY7QBBF = require("./chunk-GZY7QBBF.js");
39
- var import_chunk_PP22IZ7I = require("./chunk-PP22IZ7I.js");
38
+ var import_chunk_AHCUHED6 = require("./chunk-AHCUHED6.js");
39
+ var import_chunk_SJPFYGMK = require("./chunk-SJPFYGMK.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
- var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
+ var import_chunk_YNDZCLVL = require("./chunk-YNDZCLVL.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
44
44
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -47,7 +47,7 @@ var import_function = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_R6QH57
47
47
  var debug = (0, import_debug.default)("prisma:validate");
48
48
  var ValidateError = class extends Error {
49
49
  constructor(params) {
50
- const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
50
+ const constructedErrorMessage = (0, import_chunk_YNDZCLVL.M)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
51
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
52
52
  return `${reason}
53
53
  ${errorCodeMessage}
@@ -59,25 +59,25 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: validate]`;
62
- super((0, import_chunk_GZY7QBBF.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_AHCUHED6.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "ValidateError";
64
64
  }
65
65
  };
66
66
  function validate(options) {
67
- const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "validateWasm");
67
+ const debugErrorType = (0, import_chunk_6Z766KGR.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
- import_chunk_PP22IZ7I.prismaSchemaWasm.debug_panic();
74
+ import_chunk_SJPFYGMK.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
- import_chunk_PP22IZ7I.prismaSchemaWasm.validate(params);
80
+ import_chunk_SJPFYGMK.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",
@@ -89,7 +89,7 @@ function validate(options) {
89
89
  if ((0, import_chunk_5DBOS77Y.isRight)(validateEither)) {
90
90
  return;
91
91
  }
92
- const error = (0, import_chunk_XKZ6CBLA.z)(validateEither.left).with({ type: "wasm-error" }, (e) => {
92
+ const error = (0, import_chunk_YNDZCLVL.M)(validateEither.left).with({ type: "wasm-error" }, (e) => {
93
93
  debugErrorType(e);
94
94
  console.error("");
95
95
  if ((0, import_chunk_LMVSIVKQ.isWasmPanic)(e.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, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
112
+ return new ValidateError((0, import_chunk_6Z766KGR.parseQueryEngineError)({ errorOutput, reason: e.reason }));
113
113
  }).exhaustive();
114
114
  throw error;
115
115
  }
@@ -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 chunk_PP22IZ7I_exports = {};
30
- __export(chunk_PP22IZ7I_exports, {
29
+ var chunk_LZIEKANU_exports = {};
30
+ __export(chunk_LZIEKANU_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(chunk_PP22IZ7I_exports);
37
- var import_chunk_LZ2DP3UC = require("./chunk-LZ2DP3UC.js");
36
+ module.exports = __toCommonJS(chunk_LZIEKANU_exports);
37
+ var import_chunk_CGXVFQSY = require("./chunk-CGXVFQSY.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, import_chunk_LZ2DP3UC.require_package)();
49
+ var { dependencies } = (0, import_chunk_CGXVFQSY.require_package)();
50
50
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
51
51
  var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];
@@ -16,11 +16,11 @@ 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 chunk_LZ2DP3UC_exports = {};
20
- __export(chunk_LZ2DP3UC_exports, {
19
+ var chunk_PEUHIMSW_exports = {};
20
+ __export(chunk_PEUHIMSW_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_LZ2DP3UC_exports);
23
+ module.exports = __toCommonJS(chunk_PEUHIMSW_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) {
@@ -85,7 +85,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
85
85
  tempy: "1.0.1",
86
86
  "terminal-link": "4.0.0",
87
87
  tmp: "0.2.3",
88
- "ts-pattern": "5.6.2",
88
+ "ts-pattern": "5.9.0",
89
89
  "ts-toolbelt": "9.6.0",
90
90
  typescript: "5.4.5",
91
91
  yarn: "1.22.22"
@@ -16,11 +16,11 @@ 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 chunk_V6IFBKBA_exports = {};
20
- __export(chunk_V6IFBKBA_exports, {
19
+ var chunk_PIFY3ZJ6_exports = {};
20
+ __export(chunk_PIFY3ZJ6_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_V6IFBKBA_exports);
24
- var import_chunk_5EYNYPAK = require("./chunk-5EYNYPAK.js");
25
- var packageJson = (0, import_chunk_5EYNYPAK.require_package)();
23
+ module.exports = __toCommonJS(chunk_PIFY3ZJ6_exports);
24
+ var import_chunk_PEUHIMSW = require("./chunk-PEUHIMSW.js");
25
+ var packageJson = (0, import_chunk_PEUHIMSW.require_package)();
26
26
  var version = packageJson.version;
@@ -26,28 +26,28 @@ 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 chunk_T5AOAO6V_exports = {};
30
- __export(chunk_T5AOAO6V_exports, {
29
+ var chunk_QCKNWMNN_exports = {};
30
+ __export(chunk_QCKNWMNN_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(chunk_T5AOAO6V_exports);
36
+ module.exports = __toCommonJS(chunk_QCKNWMNN_exports);
37
37
  var import_chunk_IL7PSY44 = require("./chunk-IL7PSY44.js");
38
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
39
- var import_chunk_ICTWZY5B = require("./chunk-ICTWZY5B.js");
40
- var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
38
+ var import_chunk_6Z766KGR = require("./chunk-6Z766KGR.js");
39
+ var import_chunk_AHCUHED6 = require("./chunk-AHCUHED6.js");
40
+ var import_chunk_YNDZCLVL = require("./chunk-YNDZCLVL.js");
41
41
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
42
42
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
43
43
  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, import_chunk_TZJROXB3.createDebugErrorType)(debug, "getDmmfWasm");
47
+ var debugErrorType = (0, import_chunk_6Z766KGR.createDebugErrorType)(debug, "getDmmfWasm");
48
48
  var GetDmmfError = class extends Error {
49
49
  constructor(params) {
50
- const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
50
+ const constructedErrorMessage = (0, import_chunk_YNDZCLVL.M)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
51
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
52
52
  return `${reason}
53
53
  ${errorCodeMessage}
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: getDmmf]`;
62
- super((0, import_chunk_ICTWZY5B.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_AHCUHED6.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, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason }));
103
+ return new GetDmmfError((0, import_chunk_6Z766KGR.parseQueryEngineError)({ errorOutput, reason }));
104
104
  }
@@ -26,28 +26,28 @@ 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 chunk_ZB2V476P_exports = {};
30
- __export(chunk_ZB2V476P_exports, {
29
+ var chunk_QNRGB5V4_exports = {};
30
+ __export(chunk_QNRGB5V4_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(chunk_ZB2V476P_exports);
36
+ module.exports = __toCommonJS(chunk_QNRGB5V4_exports);
37
37
  var import_chunk_IL7PSY44 = require("./chunk-IL7PSY44.js");
38
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
39
- var import_chunk_GZY7QBBF = require("./chunk-GZY7QBBF.js");
40
- var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
38
+ var import_chunk_6Z766KGR = require("./chunk-6Z766KGR.js");
39
+ var import_chunk_CIZQR6HX = require("./chunk-CIZQR6HX.js");
40
+ var import_chunk_YNDZCLVL = require("./chunk-YNDZCLVL.js");
41
41
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
42
42
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
43
43
  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, import_chunk_TZJROXB3.createDebugErrorType)(debug, "getDmmfWasm");
47
+ var debugErrorType = (0, import_chunk_6Z766KGR.createDebugErrorType)(debug, "getDmmfWasm");
48
48
  var GetDmmfError = class extends Error {
49
49
  constructor(params) {
50
- const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
50
+ const constructedErrorMessage = (0, import_chunk_YNDZCLVL.M)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
51
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
52
52
  return `${reason}
53
53
  ${errorCodeMessage}
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: getDmmf]`;
62
- super((0, import_chunk_GZY7QBBF.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_CIZQR6HX.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, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason }));
103
+ return new GetDmmfError((0, import_chunk_6Z766KGR.parseQueryEngineError)({ errorOutput, reason }));
104
104
  }
@@ -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 chunk_Q4QPHMZT_exports = {};
30
- __export(chunk_Q4QPHMZT_exports, {
29
+ var chunk_R5FZQB6S_exports = {};
30
+ __export(chunk_R5FZQB6S_exports, {
31
31
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
32
32
  forbiddenCmdWithDataProxyFlagMessage: () => forbiddenCmdWithDataProxyFlagMessage,
33
33
  formatSchema: () => formatSchema,
@@ -40,7 +40,7 @@ __export(chunk_Q4QPHMZT_exports, {
40
40
  processSchemaResult: () => processSchemaResult,
41
41
  skipIndex: () => skipIndex
42
42
  });
43
- module.exports = __toCommonJS(chunk_Q4QPHMZT_exports);
43
+ module.exports = __toCommonJS(chunk_R5FZQB6S_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");
@@ -50,15 +50,15 @@ var import_chunk_NUKBOD54 = require("./chunk-NUKBOD54.js");
50
50
  var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
51
51
  var import_chunk_BGMZPA2F = require("./chunk-BGMZPA2F.js");
52
52
  var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
53
- var import_chunk_PWSUOJOI = require("./chunk-PWSUOJOI.js");
54
- var import_chunk_T5AOAO6V = require("./chunk-T5AOAO6V.js");
55
- var import_chunk_B42M3GH5 = require("./chunk-B42M3GH5.js");
56
- var import_chunk_RBFAP5EL = require("./chunk-RBFAP5EL.js");
53
+ var import_chunk_GK5W4R3E = require("./chunk-GK5W4R3E.js");
54
+ var import_chunk_QNRGB5V4 = require("./chunk-QNRGB5V4.js");
55
+ var import_chunk_EBGURKMQ = require("./chunk-EBGURKMQ.js");
56
+ var import_chunk_64YXLOV7 = require("./chunk-64YXLOV7.js");
57
57
  var import_chunk_2BXDHSSY = require("./chunk-2BXDHSSY.js");
58
- var import_chunk_WYECRSUI = require("./chunk-WYECRSUI.js");
58
+ var import_chunk_LZIEKANU = require("./chunk-LZIEKANU.js");
59
59
  var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
60
60
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
61
- var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
61
+ var import_chunk_YNDZCLVL = require("./chunk-YNDZCLVL.js");
62
62
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
63
63
  var import_chunk_BPDMLM32 = require("./chunk-BPDMLM32.js");
64
64
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
@@ -76,7 +76,7 @@ var debug = (0, import_debug.default)("prisma:format");
76
76
  async function formatSchema({ schemas }, inputFormattingOptions) {
77
77
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
78
78
  handleFormatPanic(() => {
79
- import_chunk_WYECRSUI.prismaSchemaWasm.debug_panic();
79
+ import_chunk_LZIEKANU.prismaSchemaWasm.debug_panic();
80
80
  });
81
81
  }
82
82
  const defaultFormattingOptions = {
@@ -93,10 +93,10 @@ async function formatSchema({ schemas }, inputFormattingOptions) {
93
93
  const { formattedMultipleSchemas, lintDiagnostics } = handleFormatPanic(() => {
94
94
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas), documentFormattingParams);
95
95
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
96
- const lintDiagnostics2 = (0, import_chunk_B42M3GH5.lintSchema)({ schemas: formattedMultipleSchemas2 });
96
+ const lintDiagnostics2 = (0, import_chunk_EBGURKMQ.lintSchema)({ schemas: formattedMultipleSchemas2 });
97
97
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
98
98
  });
99
- const lintWarnings = (0, import_chunk_B42M3GH5.getLintWarningsAsText)(lintDiagnostics);
99
+ const lintWarnings = (0, import_chunk_EBGURKMQ.getLintWarningsAsText)(lintDiagnostics);
100
100
  if (lintWarnings && import_chunk_ZJWZK45Z.logger_exports.should.warn()) {
101
101
  console.warn(lintWarnings);
102
102
  }
@@ -123,7 +123,7 @@ function handleFormatPanic(tryCb) {
123
123
  }
124
124
  }
125
125
  function formatWasm(schema, documentFormattingParams) {
126
- const formattedSchema = import_chunk_WYECRSUI.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
126
+ const formattedSchema = import_chunk_LZIEKANU.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
127
127
  return formattedSchema;
128
128
  }
129
129
  async function loadSchemaContext({ schemaPath, printLoadMessage, allowNull, schemaPathArgumentName, cwd } = {
@@ -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, import_chunk_PWSUOJOI.getConfig)({ datamodel: schemaResult.schemas });
155
+ const configFromPsl = await (0, import_chunk_GK5W4R3E.getConfig)({ datamodel: schemaResult.schemas });
156
156
  const primaryDatasource = configFromPsl.datasources.at(0);
157
157
  return {
158
158
  schemaFiles: schemaResult.schemas,
@@ -206,7 +206,7 @@ async function getGenerators(options) {
206
206
  throw new Error(import_chunk_BGMZPA2F.missingDatasource);
207
207
  }
208
208
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
209
- const dmmf = await (0, import_chunk_T5AOAO6V.getDMMF)({ datamodel: schemaContext.schemaFiles });
209
+ const dmmf = await (0, import_chunk_QNRGB5V4.getDMMF)({ datamodel: schemaContext.schemaFiles });
210
210
  if (dmmf.datamodel.models.length === 0 && !allowNoModels) {
211
211
  if (schemaContext.primaryDatasource.provider === "mongodb") {
212
212
  throw new Error(import_chunk_NUKBOD54.missingModelMessageMongoDB);
@@ -226,7 +226,7 @@ async function getGenerators(options) {
226
226
  type: "rpc",
227
227
  generatorPath: providerValue
228
228
  };
229
- const generatorInstance = (0, import_chunk_XKZ6CBLA.z)(generatorDefinition).with({ type: "in-process" }, ({ generator }) => new import_chunk_BPDMLM32.InProcessGenerator(generatorConfig, generator)).with(
229
+ const generatorInstance = (0, import_chunk_YNDZCLVL.M)(generatorDefinition).with({ type: "in-process" }, ({ generator }) => new import_chunk_BPDMLM32.InProcessGenerator(generatorConfig, generator)).with(
230
230
  { type: "rpc" },
231
231
  ({ generatorPath, isNode }) => new import_chunk_BPDMLM32.JsonRpcGenerator(generatorPath, generatorConfig, isNode)
232
232
  ).exhaustive();
@@ -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, import_chunk_RBFAP5EL.mergeSchemas)({ schemas: schemaContext.schemaFiles });
257
+ const datamodel = (0, import_chunk_64YXLOV7.mergeSchemas)({ schemas: schemaContext.schemaFiles });
258
258
  const options2 = {
259
259
  datamodel,
260
260
  datasources: schemaContext.datasources,
@@ -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 chunk_WYECRSUI_exports = {};
30
- __export(chunk_WYECRSUI_exports, {
29
+ var chunk_SJPFYGMK_exports = {};
30
+ __export(chunk_SJPFYGMK_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(chunk_WYECRSUI_exports);
37
- var import_chunk_5EYNYPAK = require("./chunk-5EYNYPAK.js");
36
+ module.exports = __toCommonJS(chunk_SJPFYGMK_exports);
37
+ var import_chunk_PEUHIMSW = require("./chunk-PEUHIMSW.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, import_chunk_5EYNYPAK.require_package)();
49
+ var { dependencies } = (0, import_chunk_PEUHIMSW.require_package)();
50
50
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
51
51
  var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];
@@ -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 chunk_PWSUOJOI_exports = {};
30
- __export(chunk_PWSUOJOI_exports, {
29
+ var chunk_W5B6SWFP_exports = {};
30
+ __export(chunk_W5B6SWFP_exports, {
31
31
  GetConfigError: () => GetConfigError,
32
32
  getConfig: () => getConfig
33
33
  });
34
- module.exports = __toCommonJS(chunk_PWSUOJOI_exports);
35
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
34
+ module.exports = __toCommonJS(chunk_W5B6SWFP_exports);
35
+ var import_chunk_6Z766KGR = require("./chunk-6Z766KGR.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_ICTWZY5B = require("./chunk-ICTWZY5B.js");
39
- var import_chunk_WYECRSUI = require("./chunk-WYECRSUI.js");
38
+ var import_chunk_AHCUHED6 = require("./chunk-AHCUHED6.js");
39
+ var import_chunk_SJPFYGMK = require("./chunk-SJPFYGMK.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
- var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
+ var import_chunk_YNDZCLVL = require("./chunk-YNDZCLVL.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
44
44
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -49,7 +49,7 @@ var debug = (0, import_debug.default)("prisma:getConfig");
49
49
  var SCHEMA_VALIDATION_ERROR_CODE = "P1012";
50
50
  var GetConfigError = class extends Error {
51
51
  constructor(params) {
52
- const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
52
+ const constructedErrorMessage = (0, import_chunk_YNDZCLVL.M)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
53
53
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
54
54
  return `${reason}
55
55
  ${errorCodeMessage}
@@ -61,22 +61,22 @@ ${detailsHeader} ${message}`;
61
61
  }).exhaustive();
62
62
  const errorMessageWithContext = `${constructedErrorMessage}
63
63
  [Context: getConfig]`;
64
- super((0, import_chunk_ICTWZY5B.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
+ super((0, import_chunk_AHCUHED6.addVersionDetailsToErrorMessage)(errorMessageWithContext));
65
65
  this.name = "GetConfigError";
66
66
  }
67
67
  };
68
68
  async function getConfig(options) {
69
- const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "getConfigWasm");
69
+ const debugErrorType = (0, import_chunk_6Z766KGR.createDebugErrorType)(debug, "getConfigWasm");
70
70
  debug(`Using getConfig Wasm`);
71
71
  const configEither = (0, import_function.pipe)(
72
72
  (0, import_chunk_5DBOS77Y.tryCatch)(
73
73
  () => {
74
74
  if (process.env.FORCE_PANIC_GET_CONFIG) {
75
75
  debug("Triggering a Rust panic...");
76
- import_chunk_WYECRSUI.prismaSchemaWasm.debug_panic();
76
+ import_chunk_SJPFYGMK.prismaSchemaWasm.debug_panic();
77
77
  }
78
78
  const params = JSON.stringify({ prismaSchema: options.datamodel });
79
- return import_chunk_WYECRSUI.prismaSchemaWasm.get_config(params);
79
+ return import_chunk_SJPFYGMK.prismaSchemaWasm.get_config(params);
80
80
  },
81
81
  (e) => ({
82
82
  type: "wasm-error",
@@ -117,7 +117,7 @@ async function getConfig(options) {
117
117
  }
118
118
  return Promise.resolve(data);
119
119
  }
120
- const error = (0, import_chunk_XKZ6CBLA.z)(configEither.left).with({ type: "wasm-error" }, (e) => {
120
+ const error = (0, import_chunk_YNDZCLVL.M)(configEither.left).with({ type: "wasm-error" }, (e) => {
121
121
  debugErrorType(e);
122
122
  if ((0, import_chunk_LMVSIVKQ.isWasmPanic)(e.error)) {
123
123
  const { message, stack } = (0, import_chunk_LMVSIVKQ.getWasmError)(e.error);
@@ -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, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
137
+ return new GetConfigError((0, import_chunk_6Z766KGR.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, import_chunk_TZJROXB3.createSchemaValidationError)(e.reason),
142
+ reason: (0, import_chunk_6Z766KGR.createSchemaValidationError)(e.reason),
143
143
  message: formatErrors(e.error)
144
144
  });
145
145
  }).otherwise((e) => {
@@ -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 chunk_5P4WR3QW_exports = {};
30
- __export(chunk_5P4WR3QW_exports, {
29
+ var chunk_YMWJKHOM_exports = {};
30
+ __export(chunk_YMWJKHOM_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_5P4WR3QW_exports);
35
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
34
+ module.exports = __toCommonJS(chunk_YMWJKHOM_exports);
35
+ var import_chunk_6Z766KGR = require("./chunk-6Z766KGR.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_GZY7QBBF = require("./chunk-GZY7QBBF.js");
39
- var import_chunk_PP22IZ7I = require("./chunk-PP22IZ7I.js");
38
+ var import_chunk_AHCUHED6 = require("./chunk-AHCUHED6.js");
39
+ var import_chunk_SJPFYGMK = require("./chunk-SJPFYGMK.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
- var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
+ var import_chunk_YNDZCLVL = require("./chunk-YNDZCLVL.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
44
44
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -47,7 +47,7 @@ var import_function = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_R6QH57
47
47
  var debug = (0, import_debug.default)("prisma:mergeSchemas");
48
48
  var MergeSchemasError = class extends Error {
49
49
  constructor(params) {
50
- const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
50
+ const constructedErrorMessage = (0, import_chunk_YNDZCLVL.M)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
51
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
52
52
  return `${reason}
53
53
  ${errorCodeMessage}
@@ -59,12 +59,12 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: mergeSchemas]`;
62
- super((0, import_chunk_GZY7QBBF.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_AHCUHED6.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "MergeSchemasError";
64
64
  }
65
65
  };
66
66
  function mergeSchemas(options) {
67
- const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "mergeSchemasWasm");
67
+ const debugErrorType = (0, import_chunk_6Z766KGR.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 import_chunk_PP22IZ7I.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_SJPFYGMK.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -84,7 +84,7 @@ function mergeSchemas(options) {
84
84
  if ((0, import_chunk_5DBOS77Y.isRight)(mergeSchemasEither)) {
85
85
  return mergeSchemasEither.right;
86
86
  }
87
- const error = (0, import_chunk_XKZ6CBLA.z)(mergeSchemasEither.left).with({ type: "wasm-error" }, (e) => {
87
+ const error = (0, import_chunk_YNDZCLVL.M)(mergeSchemasEither.left).with({ type: "wasm-error" }, (e) => {
88
88
  debugErrorType(e);
89
89
  console.error("");
90
90
  if ((0, import_chunk_LMVSIVKQ.isWasmPanic)(e.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, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
107
+ return new MergeSchemasError((0, import_chunk_6Z766KGR.parseQueryEngineError)({ errorOutput, reason: e.reason }));
108
108
  }).exhaustive();
109
109
  throw error;
110
110
  }