@prisma/internals 6.19.0-integration-engines-6-19-0-32-next-568b222d0ab829bbbe5f2fd48ed587836813346c.1 → 6.19.0-integration-feat-remove-library-engine.5

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 (116) hide show
  1. package/dist/{chunk-DK5SCKNO.js → chunk-2KREE2OX.js} +5 -5
  2. package/dist/{chunk-JOIIWB3U.js → chunk-2LOGW45F.js} +68 -33
  3. package/dist/{chunk-ISSTUMGH.js → chunk-2THJ6XVV.js} +12 -12
  4. package/dist/{chunk-BVJP43JS.js → chunk-32LLAKF4.js} +13 -784
  5. package/dist/{chunk-4HCWAIVZ.js → chunk-33FYCEWF.js} +14 -20
  6. package/dist/{chunk-FYZCPL2Z.js → chunk-3CAPLXKF.js} +5 -8
  7. package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
  8. package/dist/{chunk-U2GOPCRA.js → chunk-4AHWN4VZ.js} +5 -5
  9. package/dist/{chunk-OAT7ZJED.js → chunk-4YDN7W7B.js} +7 -20
  10. package/dist/{chunk-TGOAMULH.js → chunk-4ZYCASUI.js} +8 -9
  11. package/dist/{chunk-SH2TNBI6.js → chunk-5B5U2HVK.js} +7 -8
  12. package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
  13. package/dist/{chunk-F2OZV76L.js → chunk-5MHUYAV3.js} +9 -9
  14. package/dist/{chunk-HO5HRHFZ.js → chunk-5W3BSMTH.js} +3 -6
  15. package/dist/{chunk-2MJTY4KQ.js → chunk-6FP5PMMX.js} +5 -5
  16. package/dist/{chunk-YU52YNDP.js → chunk-6QTJ35DP.js} +12 -12
  17. package/dist/{chunk-PWLNUJDJ.js → chunk-7PEHIVPK.js} +5 -5
  18. package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
  19. package/dist/{chunk-HFFWZTVM.js → chunk-BUQN4WLU.js} +7 -9
  20. package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
  21. package/dist/{chunk-GMW36QQF.js → chunk-DOO45FN6.js} +7 -7
  22. package/dist/chunk-DYV47NUW.js +796 -0
  23. package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
  24. package/dist/{chunk-ZKW5OHDA.js → chunk-FP5T5YD3.js} +5 -5
  25. package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
  26. package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
  27. package/dist/{chunk-VDOBMNYY.js → chunk-HBU4ZVCA.js} +11 -11
  28. package/dist/{chunk-DSG2XXJJ.js → chunk-HQE53CGA.js} +11 -11
  29. package/dist/{chunk-UHI6VYFX.js → chunk-IHC4ZVPQ.js} +5 -5
  30. package/dist/{chunk-D4VDA2TZ.js → chunk-IRWX4FCC.js} +6 -6
  31. package/dist/{chunk-UQUWZJVN.js → chunk-IU77SCOB.js} +9 -9
  32. package/dist/{chunk-RIACS7RB.js → chunk-JGAJWFOG.js} +5 -5
  33. package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
  34. package/dist/{chunk-LBEUT2S6.js → chunk-KZ5SMOBR.js} +5 -5
  35. package/dist/{chunk-AX5N26KG.js → chunk-L2CX3ZWZ.js} +6 -6
  36. package/dist/{chunk-JD36HS5L.js → chunk-LQA25XWD.js} +14 -20
  37. package/dist/{chunk-RKDOMYIG.js → chunk-M6PZRD57.js} +38 -71
  38. package/dist/{chunk-DX7WJ45H.js → chunk-MEBZK5AR.js} +5 -5
  39. package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
  40. package/dist/{chunk-PZEUONUZ.js → chunk-MK4IWFSR.js} +11 -11
  41. package/dist/{chunk-TQFONRJP.js → chunk-MXAUURHG.js} +5 -5
  42. package/dist/{chunk-7QC5VORA.js → chunk-MYLPCGTT.js} +5 -5
  43. package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
  44. package/dist/{chunk-IKIW52QS.js → chunk-PSACKRZB.js} +11 -11
  45. package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
  46. package/dist/{chunk-75BIJ5PX.js → chunk-UB2X7DGZ.js} +9 -9
  47. package/dist/{chunk-N3UPGHTD.js → chunk-WC5A3H4V.js} +38 -71
  48. package/dist/{chunk-TZJROXB3.js → chunk-WSZXPLJQ.js} +4 -4
  49. package/dist/cli/checkUnsupportedDataProxy.js +56 -62
  50. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +56 -62
  51. package/dist/cli/getGeneratorSuccessMessage.js +2 -3
  52. package/dist/cli/getSchema.d.ts +1 -15
  53. package/dist/cli/getSchema.js +4 -5
  54. package/dist/cli/hashes.js +4 -4
  55. package/dist/cli/schemaContext.d.ts +1 -3
  56. package/dist/cli/schemaContext.js +56 -62
  57. package/dist/engine-commands/errorHelpers.js +4 -4
  58. package/dist/engine-commands/formatSchema.js +55 -61
  59. package/dist/engine-commands/getConfig.d.ts +0 -1
  60. package/dist/engine-commands/getConfig.js +13 -13
  61. package/dist/engine-commands/getDmmf.js +10 -10
  62. package/dist/engine-commands/getEngineVersion.js +6 -9
  63. package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
  64. package/dist/engine-commands/getEnginesInfo.js +7 -9
  65. package/dist/engine-commands/index.js +67 -73
  66. package/dist/engine-commands/lintSchema.js +9 -9
  67. package/dist/engine-commands/mergeSchemas.js +10 -10
  68. package/dist/engine-commands/queryEngineCommons.js +6 -6
  69. package/dist/engine-commands/validate.js +10 -10
  70. package/dist/errorReporting.js +6 -6
  71. package/dist/get-generators/getGenerators.d.ts +0 -1
  72. package/dist/get-generators/getGenerators.js +58 -64
  73. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  74. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  75. package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
  76. package/dist/getPackedPackage.js +4 -3
  77. package/dist/index.d.ts +1 -8
  78. package/dist/index.js +101 -115
  79. package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
  80. package/dist/resolveBinary.js +8 -7
  81. package/dist/schemaEngineCommands.js +9 -8
  82. package/dist/sendPanic.js +4 -4
  83. package/dist/utils/canPrompt.js +3 -3
  84. package/dist/utils/cloudflareD1.js +3 -3
  85. package/dist/utils/drawBox.js +2 -2
  86. package/dist/utils/fs-functional.js +10 -10
  87. package/dist/utils/fs-utils.js +8 -8
  88. package/dist/utils/getVersionFromPackageJson.js +3 -3
  89. package/dist/utils/handlePanic.js +8 -8
  90. package/dist/utils/link.js +2 -2
  91. package/dist/utils/missingDatasource.js +3 -3
  92. package/dist/utils/missingGeneratorMessage.js +5 -5
  93. package/dist/utils/serializeQueryEngineName.js +2 -2
  94. package/dist/wasm.js +5 -5
  95. package/package.json +15 -16
  96. package/dist/chunk-3FP46GUV.js +0 -471
  97. package/dist/chunk-46ABODUM.js +0 -186
  98. package/dist/chunk-6TTRTZXU.js +0 -37
  99. package/dist/chunk-DZYINYAA.js +0 -68
  100. package/dist/chunk-ERSH2BQA.js +0 -58
  101. package/dist/chunk-PZMRR772.js +0 -41
  102. package/dist/chunk-T2PM5TKT.js +0 -55
  103. package/dist/client/getClientEngineType.d.ts +0 -7
  104. package/dist/client/getClientEngineType.js +0 -26
  105. package/dist/dotenvExpand.d.ts +0 -35
  106. package/dist/dotenvExpand.js +0 -25
  107. package/dist/utils/getEnvPaths.d.ts +0 -14
  108. package/dist/utils/getEnvPaths.js +0 -29
  109. package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
  110. package/dist/utils/handleEngineLoadingErrors.js +0 -27
  111. package/dist/utils/load.d.ts +0 -6
  112. package/dist/utils/load.js +0 -28
  113. package/dist/utils/loadEnvFile.d.ts +0 -10
  114. package/dist/utils/loadEnvFile.js +0 -30
  115. package/dist/utils/tryLoadEnvs.d.ts +0 -25
  116. package/dist/utils/tryLoadEnvs.js +0 -30
@@ -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_LBEUT2S6_exports = {};
20
- __export(chunk_LBEUT2S6_exports, {
19
+ var chunk_KZ5SMOBR_exports = {};
20
+ __export(chunk_KZ5SMOBR_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_LBEUT2S6_exports);
24
- var import_chunk_SH2TNBI6 = require("./chunk-SH2TNBI6.js");
25
- var packageJson = (0, import_chunk_SH2TNBI6.require_package)();
23
+ module.exports = __toCommonJS(chunk_KZ5SMOBR_exports);
24
+ var import_chunk_5B5U2HVK = require("./chunk-5B5U2HVK.js");
25
+ var packageJson = (0, import_chunk_5B5U2HVK.require_package)();
26
26
  var version = packageJson.version;
@@ -16,14 +16,14 @@ 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_AX5N26KG_exports = {};
20
- __export(chunk_AX5N26KG_exports, {
19
+ var chunk_L2CX3ZWZ_exports = {};
20
+ __export(chunk_L2CX3ZWZ_exports, {
21
21
  missingGeneratorMessage: () => missingGeneratorMessage,
22
22
  missingModelMessage: () => missingModelMessage,
23
23
  missingModelMessageMongoDB: () => missingModelMessageMongoDB
24
24
  });
25
- module.exports = __toCommonJS(chunk_AX5N26KG_exports);
26
- var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
25
+ module.exports = __toCommonJS(chunk_L2CX3ZWZ_exports);
26
+ var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
27
27
  var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
28
28
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
29
29
  var missingGeneratorMessage = `
@@ -52,7 +52,7 @@ ${(0, import_chunk_PG5FDKSF.bold)(
52
52
  )}
53
53
 
54
54
  More information in our documentation:
55
- ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/prisma-schema")}
55
+ ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/prisma-schema")}
56
56
  `;
57
57
  var missingModelMessageMongoDB = `
58
58
  You don't have any ${(0, import_chunk_PG5FDKSF.bold)("models")} defined in your ${(0, import_chunk_PG5FDKSF.bold)(
@@ -69,5 +69,5 @@ ${(0, import_chunk_PG5FDKSF.bold)(
69
69
  )}
70
70
 
71
71
  More information in our documentation:
72
- ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/prisma-schema")}
72
+ ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/prisma-schema")}
73
73
  `;
@@ -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 chunk_JD36HS5L_exports = {};
30
- __export(chunk_JD36HS5L_exports, {
29
+ var chunk_LQA25XWD_exports = {};
30
+ __export(chunk_LQA25XWD_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(chunk_JD36HS5L_exports);
38
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
39
- var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
+ module.exports = __toCommonJS(chunk_LQA25XWD_exports);
38
+ var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
40
39
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
41
- var import_chunk_DK5SCKNO = require("./chunk-DK5SCKNO.js");
42
- var import_chunk_ZKW5OHDA = require("./chunk-ZKW5OHDA.js");
40
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
41
+ var import_chunk_4AHWN4VZ = require("./chunk-4AHWN4VZ.js");
42
+ var import_chunk_FP5T5YD3 = require("./chunk-FP5T5YD3.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, import_chunk_DK5SCKNO.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_4AHWN4VZ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
68
  this.name = "GetConfigError";
69
69
  }
70
70
  };
@@ -82,23 +82,17 @@ function resolveUrl(envValue) {
82
82
  return urlFromValue ?? urlEnvVarValue;
83
83
  }
84
84
  async function getConfig(options) {
85
- const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "getConfigWasm");
85
+ const debugErrorType = (0, import_chunk_WSZXPLJQ.createDebugErrorType)(debug, "getConfigWasm");
86
86
  debug(`Using getConfig Wasm`);
87
87
  const configEither = (0, import_function.pipe)(
88
88
  (0, import_chunk_5DBOS77Y.tryCatch)(
89
89
  () => {
90
90
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
91
91
  debug("Triggering a Rust panic...");
92
- import_chunk_ZKW5OHDA.prismaSchemaWasm.debug_panic();
92
+ import_chunk_FP5T5YD3.prismaSchemaWasm.debug_panic();
93
93
  }
94
- const params = JSON.stringify({
95
- prismaSchema: options.datamodel,
96
- datasourceOverrides: {},
97
- ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
98
- env: process.env
99
- });
100
- const data = import_chunk_ZKW5OHDA.prismaSchemaWasm.get_config(params);
101
- return data;
94
+ const params = JSON.stringify({ prismaSchema: options.datamodel });
95
+ return import_chunk_FP5T5YD3.prismaSchemaWasm.get_config(params);
102
96
  },
103
97
  (e) => ({
104
98
  type: "wasm-error",
@@ -156,12 +150,12 @@ async function getConfig(options) {
156
150
  return panic;
157
151
  }
158
152
  const errorOutput = e.error.message;
159
- return new GetConfigError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
153
+ return new GetConfigError((0, import_chunk_WSZXPLJQ.parseQueryEngineError)({ errorOutput, reason: e.reason }));
160
154
  }).with({ type: "validation-error" }, (e) => {
161
155
  return new GetConfigError({
162
156
  _tag: "parsed",
163
157
  errorCode: SCHEMA_VALIDATION_ERROR_CODE,
164
- reason: (0, import_chunk_TZJROXB3.createSchemaValidationError)(e.reason),
158
+ reason: (0, import_chunk_WSZXPLJQ.createSchemaValidationError)(e.reason),
165
159
  message: formatErrors(e.error)
166
160
  });
167
161
  }).otherwise((e) => {
@@ -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_RKDOMYIG_exports = {};
30
- __export(chunk_RKDOMYIG_exports, {
29
+ var chunk_M6PZRD57_exports = {};
30
+ __export(chunk_M6PZRD57_exports, {
31
31
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
32
32
  checkUnsupportedSchemaEngineWasm: () => checkUnsupportedSchemaEngineWasm,
33
33
  forbiddenCmdFlagWithSchemaEngineWasm: () => forbiddenCmdFlagWithSchemaEngineWasm,
@@ -36,39 +36,36 @@ __export(chunk_RKDOMYIG_exports, {
36
36
  getBinaryTargetForCurrentPlatform: () => import_get_platform2.getBinaryTargetForCurrentPlatform,
37
37
  getGenerator: () => getGenerator,
38
38
  getGenerators: () => getGenerators,
39
- getNodeAPIName: () => import_get_platform2.getNodeAPIName,
40
39
  knownBinaryTargets: () => knownBinaryTargets,
41
40
  loadSchemaContext: () => loadSchemaContext,
42
41
  processSchemaResult: () => processSchemaResult,
43
42
  skipIndex: () => skipIndex
44
43
  });
45
- module.exports = __toCommonJS(chunk_RKDOMYIG_exports);
44
+ module.exports = __toCommonJS(chunk_M6PZRD57_exports);
45
+ var import_chunk_5MHUYAV3 = require("./chunk-5MHUYAV3.js");
46
46
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
47
47
  var import_chunk_LRU47BGE = require("./chunk-LRU47BGE.js");
48
48
  var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
49
- var import_chunk_F2OZV76L = require("./chunk-F2OZV76L.js");
50
- var import_chunk_RS2R7COT = require("./chunk-RS2R7COT.js");
51
49
  var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
52
50
  var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
53
- var import_chunk_7QC5VORA = require("./chunk-7QC5VORA.js");
54
- var import_chunk_AX5N26KG = require("./chunk-AX5N26KG.js");
55
- var import_chunk_46ABODUM = require("./chunk-46ABODUM.js");
56
- var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
51
+ var import_chunk_MYLPCGTT = require("./chunk-MYLPCGTT.js");
52
+ var import_chunk_L2CX3ZWZ = require("./chunk-L2CX3ZWZ.js");
53
+ var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
57
54
  var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
58
- var import_chunk_JD36HS5L = require("./chunk-JD36HS5L.js");
59
- var import_chunk_IKIW52QS = require("./chunk-IKIW52QS.js");
60
- var import_chunk_RIACS7RB = require("./chunk-RIACS7RB.js");
61
- var import_chunk_DSG2XXJJ = require("./chunk-DSG2XXJJ.js");
62
- var import_chunk_EYVG6XQS = require("./chunk-EYVG6XQS.js");
63
- var import_chunk_ZKW5OHDA = require("./chunk-ZKW5OHDA.js");
64
- var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
55
+ var import_chunk_HBU4ZVCA = require("./chunk-HBU4ZVCA.js");
56
+ var import_chunk_6FP5PMMX = require("./chunk-6FP5PMMX.js");
57
+ var import_chunk_HQE53CGA = require("./chunk-HQE53CGA.js");
58
+ var import_chunk_33FYCEWF = require("./chunk-33FYCEWF.js");
59
+ var import_chunk_MEBZK5AR = require("./chunk-MEBZK5AR.js");
60
+ var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
65
61
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
66
62
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
67
63
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
68
64
  var import_chunk_BPDMLM32 = require("./chunk-BPDMLM32.js");
69
65
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
66
+ var import_chunk_32LLAKF4 = require("./chunk-32LLAKF4.js");
67
+ var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
70
68
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
71
- var import_chunk_BVJP43JS = require("./chunk-BVJP43JS.js");
72
69
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
73
70
  var import_path = __toESM(require("path"));
74
71
  var import_debug = __toESM(require("@prisma/debug"));
@@ -81,7 +78,7 @@ var forbiddenCmdFlagWithSchemaEngineWasm = ({ cmd, flag }) => `
81
78
  Passing the ${(0, import_chunk_PG5FDKSF.green)(`${flag}`)} flag to the ${(0, import_chunk_PG5FDKSF.green)(`prisma ${cmd}`)} command is not supported when
82
79
  defining an ${(0, import_chunk_PG5FDKSF.green)(`adapter`)} in Prisma config file (e.g., ${(0, import_chunk_PG5FDKSF.green)(`\`prisma.config.ts\``)}).
83
80
 
84
- More information about this limitation: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/schema-engine-limitations")}
81
+ More information about this limitation: ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/schema-engine-limitations")}
85
82
  `;
86
83
  function checkUnsupportedSchemaEngineWasm({
87
84
  cmd,
@@ -102,7 +99,7 @@ var debug = (0, import_debug.default)("prisma:format");
102
99
  async function formatSchema({ schemas }, inputFormattingOptions) {
103
100
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
104
101
  handleFormatPanic(() => {
105
- import_chunk_ZKW5OHDA.prismaSchemaWasm.debug_panic();
102
+ import_chunk_MEBZK5AR.prismaSchemaWasm.debug_panic();
106
103
  });
107
104
  }
108
105
  const defaultFormattingOptions = {
@@ -119,10 +116,10 @@ async function formatSchema({ schemas }, inputFormattingOptions) {
119
116
  const { formattedMultipleSchemas, lintDiagnostics } = handleFormatPanic(() => {
120
117
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas), documentFormattingParams);
121
118
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
122
- const lintDiagnostics2 = (0, import_chunk_RIACS7RB.lintSchema)({ schemas: formattedMultipleSchemas2 });
119
+ const lintDiagnostics2 = (0, import_chunk_6FP5PMMX.lintSchema)({ schemas: formattedMultipleSchemas2 });
123
120
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
124
121
  });
125
- const lintWarnings = (0, import_chunk_RIACS7RB.getLintWarningsAsText)(lintDiagnostics);
122
+ const lintWarnings = (0, import_chunk_6FP5PMMX.getLintWarningsAsText)(lintDiagnostics);
126
123
  if (lintWarnings && import_chunk_ZJWZK45Z.logger_exports.should.warn()) {
127
124
  console.warn(lintWarnings);
128
125
  }
@@ -149,7 +146,7 @@ function handleFormatPanic(tryCb) {
149
146
  }
150
147
  }
151
148
  function formatWasm(schema, documentFormattingParams) {
152
- const formattedSchema = import_chunk_ZKW5OHDA.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
149
+ const formattedSchema = import_chunk_MEBZK5AR.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
153
150
  return formattedSchema;
154
151
  }
155
152
  async function loadSchemaContext({
@@ -157,39 +154,37 @@ async function loadSchemaContext({
157
154
  schemaPathFromConfig,
158
155
  schemaEngineConfig,
159
156
  printLoadMessage = true,
160
- ignoreEnvVarErrors = false,
161
157
  allowNull = false,
162
158
  schemaPathArgumentName = "--schema",
163
159
  cwd = process.cwd()
164
160
  } = {}) {
165
161
  let schemaResult = null;
166
162
  if (allowNull) {
167
- schemaResult = await (0, import_chunk_EYVG6XQS.getSchemaWithPathOptional)(schemaPathFromArg, schemaPathFromConfig, {
163
+ schemaResult = await (0, import_chunk_OKVM3CW4.getSchemaWithPathOptional)(schemaPathFromArg, schemaPathFromConfig, {
168
164
  argumentName: schemaPathArgumentName,
169
165
  cwd
170
166
  });
171
167
  if (!schemaResult) return null;
172
168
  } else {
173
- schemaResult = await (0, import_chunk_EYVG6XQS.getSchemaWithPath)(schemaPathFromArg, schemaPathFromConfig, {
169
+ schemaResult = await (0, import_chunk_OKVM3CW4.getSchemaWithPath)(schemaPathFromArg, schemaPathFromConfig, {
174
170
  argumentName: schemaPathArgumentName,
175
171
  cwd
176
172
  });
177
173
  }
178
- return processSchemaResult({ schemaResult, schemaEngineConfig, printLoadMessage, ignoreEnvVarErrors, cwd });
174
+ return processSchemaResult({ schemaResult, schemaEngineConfig, printLoadMessage, cwd });
179
175
  }
180
176
  async function processSchemaResult({
181
177
  schemaResult,
182
178
  schemaEngineConfig,
183
179
  printLoadMessage = true,
184
- ignoreEnvVarErrors = false,
185
180
  cwd = process.cwd()
186
181
  }) {
187
182
  const loadedFromPathForLogMessages = import_path.default.relative(cwd, schemaResult.schemaPath);
188
183
  const schemaRootDir = schemaResult.schemaRootDir || cwd;
189
184
  if (printLoadMessage) {
190
- (0, import_chunk_EYVG6XQS.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
185
+ (0, import_chunk_OKVM3CW4.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
191
186
  }
192
- const configFromPsl = await (0, import_chunk_JD36HS5L.getConfig)({ datamodel: schemaResult.schemas, ignoreEnvVarErrors });
187
+ const configFromPsl = await (0, import_chunk_33FYCEWF.getConfig)({ datamodel: schemaResult.schemas });
193
188
  const datasourceFromPsl = configFromPsl.datasources.at(0);
194
189
  const primaryDatasource = (0, import_chunk_XKZ6CBLA.z)(schemaEngineConfig).with({ engine: "classic" }, ({ datasource }) => {
195
190
  const { url, directUrl, shadowDatabaseUrl } = datasource;
@@ -222,7 +217,7 @@ function getPrimaryDatasourceDirectory(primaryDatasource) {
222
217
  }
223
218
  return null;
224
219
  }
225
- var import_p_map = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_BVJP43JS.require_p_map)());
220
+ var import_p_map = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_32LLAKF4.require_p_map)());
226
221
  var debug2 = (0, import_debug2.default)("prisma:getGenerators");
227
222
  async function getGenerators(options) {
228
223
  if (options.registry === void 0 && options.providerAliases !== void 0) {
@@ -247,28 +242,27 @@ async function getGenerators(options) {
247
242
  binaryPathsOverride,
248
243
  generatorNames = [],
249
244
  postinstall,
250
- noEngine,
251
245
  allowNoModels = true,
252
246
  typedSql
253
247
  } = options;
254
- const schemaContext = !options.schemaContext && schemaPath ? await loadSchemaContext({ schemaPathFromArg: schemaPath, ignoreEnvVarErrors: true }) : options.schemaContext;
248
+ const schemaContext = !options.schemaContext && schemaPath ? await loadSchemaContext({ schemaPathFromArg: schemaPath }) : options.schemaContext;
255
249
  if (!schemaContext) {
256
250
  throw new Error(`no schema provided for getGenerators`);
257
251
  }
258
252
  if (!schemaContext.primaryDatasource) {
259
- throw new Error(import_chunk_7QC5VORA.missingDatasource);
253
+ throw new Error(import_chunk_MYLPCGTT.missingDatasource);
260
254
  }
261
255
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
262
256
  const previewFeatures = (0, import_chunk_CRVLHWC5.extractPreviewFeatures)(schemaContext.generators);
263
- const dmmf = await (0, import_chunk_IKIW52QS.getDMMF)({
257
+ const dmmf = await (0, import_chunk_HBU4ZVCA.getDMMF)({
264
258
  datamodel: schemaContext.schemaFiles,
265
259
  previewFeatures
266
260
  });
267
261
  if (dmmf.datamodel.models.length === 0 && !allowNoModels) {
268
262
  if (schemaContext.primaryDatasource.provider === "mongodb") {
269
- throw new Error(import_chunk_AX5N26KG.missingModelMessageMongoDB);
263
+ throw new Error(import_chunk_L2CX3ZWZ.missingModelMessageMongoDB);
270
264
  }
271
- throw new Error(import_chunk_AX5N26KG.missingModelMessage);
265
+ throw new Error(import_chunk_L2CX3ZWZ.missingModelMessage);
272
266
  }
273
267
  const generatorConfigs = filterGenerators(overrideGenerators || schemaContext.generators, generatorNames);
274
268
  await validateGenerators(generatorConfigs);
@@ -311,8 +305,7 @@ You need to define \`output\` in the generator block in the schema file.`
311
305
  fromEnvVar: null
312
306
  };
313
307
  }
314
- const datamodel = (0, import_chunk_DSG2XXJJ.mergeSchemas)({ schemas: schemaContext.schemaFiles });
315
- const envPaths = await (0, import_chunk_46ABODUM.getEnvPaths)(schemaContext.schemaPath, { cwd: generatorConfig.output.value });
308
+ const datamodel = (0, import_chunk_HQE53CGA.mergeSchemas)({ schemas: schemaContext.schemaFiles });
316
309
  const options2 = {
317
310
  datamodel,
318
311
  datasources: schemaContext.datasources,
@@ -324,9 +317,7 @@ You need to define \`output\` in the generator block in the schema file.`
324
317
  version: version2 || import_engines.enginesVersion,
325
318
  // this version makes no sense anymore and should be ignored
326
319
  postinstall,
327
- noEngine,
328
320
  allowNoModels,
329
- envPaths,
330
321
  typedSql
331
322
  };
332
323
  generatorInstance.setOptions(options2);
@@ -370,18 +361,16 @@ generator gen {
370
361
  }
371
362
  const generatorBinaryTargets = g.options?.generator?.binaryTargets;
372
363
  if (generatorBinaryTargets && generatorBinaryTargets.length > 0) {
373
- for (const binaryTarget2 of generatorBinaryTargets) {
374
- if (!neededVersions[neededVersion].binaryTargets.find((object) => object.value === binaryTarget2.value)) {
375
- neededVersions[neededVersion].binaryTargets.push(binaryTarget2);
364
+ for (const binaryTarget of generatorBinaryTargets) {
365
+ if (!neededVersions[neededVersion].binaryTargets.find((object) => object.value === binaryTarget.value)) {
366
+ neededVersions[neededVersion].binaryTargets.push(binaryTarget);
376
367
  }
377
368
  }
378
369
  }
379
370
  }
380
371
  }
381
- const queryEngineBinaryType = (0, import_engines.getCliQueryEngineBinaryType)();
382
- const queryEngineType = (0, import_chunk_RS2R7COT.binaryTypeToEngineType)(queryEngineBinaryType);
383
372
  debug2("neededVersions", JSON.stringify(neededVersions, null, 2));
384
- const { binaryPathsByVersion, binaryTarget } = await (0, import_chunk_F2OZV76L.getBinaryPathsByVersion)({
373
+ const { binaryPathsByVersion } = await (0, import_chunk_5MHUYAV3.getBinaryPathsByVersion)({
385
374
  neededVersions,
386
375
  // We're lazily computing the binary target here, to avoid printing the
387
376
  // `Prisma failed to detect the libssl/openssl version to use` warning
@@ -402,17 +391,6 @@ generator gen {
402
391
  const generatorBinaryPaths = (0, import_chunk_GXW4NTU2.pick)(binaryPaths ?? {}, generator.manifest.requiresEngines);
403
392
  debug2({ generatorBinaryPaths });
404
393
  generator.setBinaryPaths(generatorBinaryPaths);
405
- if (engineVersion !== version2 && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
406
- const customDmmf = await (0, import_chunk_IKIW52QS.getDMMF)({
407
- datamodel: schemaContext.schemaFiles,
408
- previewFeatures
409
- });
410
- const options2 = { ...generator.options, dmmf: customDmmf };
411
- debug2("generator.manifest.prettyName", generator.manifest.prettyName);
412
- debug2("options", options2);
413
- debug2("options.generator.binaryTargets", options2.generator.binaryTargets);
414
- generator.setOptions(options2);
415
- }
416
394
  }
417
395
  }
418
396
  return generators;
@@ -437,17 +415,6 @@ var oldToNewBinaryTargetsMapping = {
437
415
  async function validateGenerators(generators) {
438
416
  const binaryTarget = await (0, import_get_platform.getBinaryTargetForCurrentPlatform)();
439
417
  for (const generator of generators) {
440
- if (generator.config.platforms) {
441
- throw new Error(
442
- `The \`platforms\` field on the generator definition is deprecated. Please rename it to \`binaryTargets\`.`
443
- );
444
- }
445
- if (generator.config.pinnedBinaryTargets) {
446
- throw new Error(
447
- `The \`pinnedBinaryTargets\` field on the generator definition is deprecated.
448
- Please use the PRISMA_QUERY_ENGINE_BINARY env var instead to pin the binary target.`
449
- );
450
- }
451
418
  if (generator.binaryTargets) {
452
419
  const binaryTargets2 = generator.binaryTargets && generator.binaryTargets.length > 0 ? generator.binaryTargets : [{ fromEnvVar: null, value: "native" }];
453
420
  const resolvedBinaryTargets = binaryTargets2.flatMap((object) => (0, import_chunk_IOIAK7V7.parseBinaryTargetsEnvValue)(object)).map((p) => p === "native" ? binaryTarget : p);
@@ -511,7 +478,7 @@ var forbiddenCmdWithDataProxyFlagMessage = (command) => `
511
478
  Using an Accelerate URL is not supported for this CLI command ${(0, import_chunk_PG5FDKSF.green)(`prisma ${command}`)} yet.
512
479
  Please use a direct connection to your database via the datasource \`directUrl\` setting.
513
480
 
514
- More information about this limitation: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/accelerate-limitations")}
481
+ More information about this limitation: ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/accelerate-limitations")}
515
482
  `;
516
483
  function checkUnsupportedDataProxy({
517
484
  cmd,
@@ -524,7 +491,7 @@ function checkUnsupportedDataProxy({
524
491
  }
525
492
  }
526
493
  if (!schemaContext?.primaryDatasource) return;
527
- const url = (0, import_chunk_JD36HS5L.resolveUrl)((0, import_chunk_JD36HS5L.getEffectiveUrl)(schemaContext.primaryDatasource));
494
+ const url = (0, import_chunk_33FYCEWF.resolveUrl)((0, import_chunk_33FYCEWF.getEffectiveUrl)(schemaContext.primaryDatasource));
528
495
  if (url?.startsWith("prisma://")) {
529
496
  throw new Error(forbiddenCmdWithDataProxyFlagMessage(cmd));
530
497
  }
@@ -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_DX7WJ45H_exports = {};
30
- __export(chunk_DX7WJ45H_exports, {
29
+ var chunk_MEBZK5AR_exports = {};
30
+ __export(chunk_MEBZK5AR_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_DX7WJ45H_exports);
37
- var import_chunk_SH2TNBI6 = require("./chunk-SH2TNBI6.js");
36
+ module.exports = __toCommonJS(chunk_MEBZK5AR_exports);
37
+ var import_chunk_5B5U2HVK = require("./chunk-5B5U2HVK.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_SH2TNBI6.require_package)();
49
+ var { dependencies } = (0, import_chunk_5B5U2HVK.require_package)();
50
50
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
51
51
  var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];
@@ -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_5AI4FIZ3_exports = {};
30
- __export(chunk_5AI4FIZ3_exports, {
29
+ var chunk_MEOOYUIZ_exports = {};
30
+ __export(chunk_MEOOYUIZ_exports, {
31
31
  ErrorKind: () => ErrorKind,
32
32
  createErrorReport: () => createErrorReport,
33
33
  makeErrorReportCompleted: () => makeErrorReportCompleted,
34
34
  uploadZip: () => uploadZip
35
35
  });
36
- module.exports = __toCommonJS(chunk_5AI4FIZ3_exports);
37
- var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
36
+ module.exports = __toCommonJS(chunk_MEOOYUIZ_exports);
37
+ var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
38
38
  var import_fetch_engine = require("@prisma/fetch-engine");
39
39
  var import_node_http = __toESM(require("node:http"));
40
40
  var import_node_https = __toESM(require("node:https"));
@@ -151,8 +151,8 @@ var Body = class {
151
151
  } else if (ArrayBuffer.isView(body)) {
152
152
  body = import_node_buffer2.Buffer.from(body.buffer, body.byteOffset, body.byteLength);
153
153
  } else if (body instanceof import_node_stream2.default) {
154
- } else if (body instanceof import_chunk_NVNI2SRU.FormData) {
155
- body = (0, import_chunk_NVNI2SRU.formDataToBlob)(body);
154
+ } else if (body instanceof import_chunk_KNNTV7IN.FormData) {
155
+ body = (0, import_chunk_KNNTV7IN.formDataToBlob)(body);
156
156
  boundary = body.type.split("=")[1];
157
157
  } else {
158
158
  body = import_node_buffer2.Buffer.from(String(body));
@@ -196,14 +196,14 @@ var Body = class {
196
196
  async formData() {
197
197
  const ct = this.headers.get("content-type");
198
198
  if (ct.startsWith("application/x-www-form-urlencoded")) {
199
- const formData = new import_chunk_NVNI2SRU.FormData();
199
+ const formData = new import_chunk_KNNTV7IN.FormData();
200
200
  const parameters = new URLSearchParams(await this.text());
201
201
  for (const [name, value] of parameters) {
202
202
  formData.append(name, value);
203
203
  }
204
204
  return formData;
205
205
  }
206
- const { toFormData } = await import("./multipart-parser-3AFJFP6K.js");
206
+ const { toFormData } = await import("./multipart-parser-UV3WZSWW.js");
207
207
  return toFormData(this.body, ct);
208
208
  }
209
209
  /**
@@ -214,7 +214,7 @@ var Body = class {
214
214
  async blob() {
215
215
  const ct = this.headers && this.headers.get("content-type") || this[INTERNALS].body && this[INTERNALS].body.type || "";
216
216
  const buf = await this.arrayBuffer();
217
- return new import_chunk_NVNI2SRU.fetch_blob_default([buf], {
217
+ return new import_chunk_KNNTV7IN.fetch_blob_default([buf], {
218
218
  type: ct
219
219
  });
220
220
  }
@@ -342,7 +342,7 @@ var extractContentType = (body, request2) => {
342
342
  if (import_node_buffer2.Buffer.isBuffer(body) || import_node_util.types.isAnyArrayBuffer(body) || ArrayBuffer.isView(body)) {
343
343
  return null;
344
344
  }
345
- if (body instanceof import_chunk_NVNI2SRU.FormData) {
345
+ if (body instanceof import_chunk_KNNTV7IN.FormData) {
346
346
  return `multipart/form-data; boundary=${request2[INTERNALS].boundary}`;
347
347
  }
348
348
  if (body && typeof body.getBoundary === "function") {
@@ -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 chunk_PZEUONUZ_exports = {};
30
- __export(chunk_PZEUONUZ_exports, {
29
+ var chunk_MK4IWFSR_exports = {};
30
+ __export(chunk_MK4IWFSR_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_PZEUONUZ_exports);
35
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
- var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
34
+ module.exports = __toCommonJS(chunk_MK4IWFSR_exports);
35
+ var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
37
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_U2GOPCRA = require("./chunk-U2GOPCRA.js");
39
- var import_chunk_DX7WJ45H = require("./chunk-DX7WJ45H.js");
37
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
+ var import_chunk_4AHWN4VZ = require("./chunk-4AHWN4VZ.js");
39
+ var import_chunk_FP5T5YD3 = require("./chunk-FP5T5YD3.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, import_chunk_U2GOPCRA.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_4AHWN4VZ.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_WSZXPLJQ.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_DX7WJ45H.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_FP5T5YD3.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, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
107
+ return new MergeSchemasError((0, import_chunk_WSZXPLJQ.parseQueryEngineError)({ errorOutput, reason: e.reason }));
108
108
  }).exhaustive();
109
109
  throw error;
110
110
  }
@@ -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_TQFONRJP_exports = {};
30
- __export(chunk_TQFONRJP_exports, {
29
+ var chunk_MXAUURHG_exports = {};
30
+ __export(chunk_MXAUURHG_exports, {
31
31
  createDirIfNotExists: () => createDirIfNotExists,
32
32
  fs_utils_exports: () => fs_utils_exports,
33
33
  getFilesInDir: () => getFilesInDir,
@@ -36,9 +36,9 @@ __export(chunk_TQFONRJP_exports, {
36
36
  removeEmptyDirs: () => removeEmptyDirs,
37
37
  writeFile: () => writeFile
38
38
  });
39
- module.exports = __toCommonJS(chunk_TQFONRJP_exports);
39
+ module.exports = __toCommonJS(chunk_MXAUURHG_exports);
40
40
  var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
41
- var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
41
+ var import_chunk_2LOGW45F = require("./chunk-2LOGW45F.js");
42
42
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
43
43
  var import_promises = __toESM(require("fs/promises"));
44
44
  var import_path = __toESM(require("path"));
@@ -51,7 +51,7 @@ var fs_utils_exports = {};
51
51
  removeEmptyDirs: () => removeEmptyDirs,
52
52
  writeFile: () => writeFile
53
53
  });
54
- var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_globby)());
54
+ var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_2LOGW45F.require_globby)());
55
55
  function createDirIfNotExists(dir) {
56
56
  return import_promises.default.mkdir(dir, { recursive: true });
57
57
  }
@@ -16,12 +16,12 @@ 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_7QC5VORA_exports = {};
20
- __export(chunk_7QC5VORA_exports, {
19
+ var chunk_MYLPCGTT_exports = {};
20
+ __export(chunk_MYLPCGTT_exports, {
21
21
  missingDatasource: () => missingDatasource
22
22
  });
23
- module.exports = __toCommonJS(chunk_7QC5VORA_exports);
24
- var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
23
+ module.exports = __toCommonJS(chunk_MYLPCGTT_exports);
24
+ var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
25
25
  var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
26
26
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
27
27
  var missingDatasource = `
@@ -36,5 +36,5 @@ ${(0, import_chunk_PG5FDKSF.bold)(
36
36
  )}
37
37
 
38
38
  More information in our documentation:
39
- ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/prisma-schema")}
39
+ ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/prisma-schema")}
40
40
  `;