@prisma/internals 6.19.0-integration-feat-remove-library-engine.2 → 6.19.0-integration-next.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 (91) hide show
  1. package/dist/{chunk-D7L3VT6R.js → chunk-247ICNDG.js} +8 -8
  2. package/dist/{chunk-NPMHIQNM.js → chunk-36YXR6IU.js} +8 -8
  3. package/dist/{chunk-MEOOYUIZ.js → chunk-5AI4FIZ3.js} +10 -10
  4. package/dist/{chunk-5MHUYAV3.js → chunk-5XFNC2RY.js} +9 -9
  5. package/dist/chunk-6TTRTZXU.js +37 -0
  6. package/dist/{chunk-UB2X7DGZ.js → chunk-75BIJ5PX.js} +9 -9
  7. package/dist/{chunk-H6PPJ5PX.js → chunk-7QC5VORA.js} +7 -7
  8. package/dist/{chunk-OENCCIMK.js → chunk-AGCXD33Q.js} +7 -7
  9. package/dist/{chunk-N2IUVVYJ.js → chunk-AVHPQM6S.js} +47 -32
  10. package/dist/{chunk-33K2EQQZ.js → chunk-AX5N26KG.js} +10 -10
  11. package/dist/{chunk-5I4ERIIY.js → chunk-B22EOFPW.js} +6 -3
  12. package/dist/{chunk-5CBDEFHE.js → chunk-B4WDAX32.js} +5 -5
  13. package/dist/{chunk-Z2IPE4NA.js → chunk-BJUIZZOW.js} +47 -32
  14. package/dist/{chunk-32LLAKF4.js → chunk-BVJP43JS.js} +784 -13
  15. package/dist/{chunk-AOJ2N25Z.js → chunk-CAYOFOK7.js} +8 -8
  16. package/dist/{chunk-IRWX4FCC.js → chunk-D4VDA2TZ.js} +6 -6
  17. package/dist/chunk-DZYINYAA.js +68 -0
  18. package/dist/{chunk-PTRXLDT7.js → chunk-EGJS32NP.js} +8 -8
  19. package/dist/{chunk-22HIO2UL.js → chunk-FC6CQUSK.js} +7 -7
  20. package/dist/{chunk-R3J2O23S.js → chunk-FCYHZHVW.js} +4 -4
  21. package/dist/chunk-FUYRCYVL.js +53 -0
  22. package/dist/{chunk-HNRMSI3R.js → chunk-FYZCPL2Z.js} +8 -5
  23. package/dist/{chunk-7NFX7KFI.js → chunk-GFAWJ2TV.js} +5 -5
  24. package/dist/{chunk-BUQN4WLU.js → chunk-GSH4BXBI.js} +6 -6
  25. package/dist/{chunk-UMB3Y33W.js → chunk-HD2CUQO5.js} +7 -7
  26. package/dist/{chunk-CGLLQXZE.js → chunk-HHG4DGHC.js} +12 -11
  27. package/dist/{chunk-ZVTQSH5K.js → chunk-HQAD5FY2.js} +5 -5
  28. package/dist/{chunk-RXERQWBD.js → chunk-HZ6U2UGL.js} +8 -8
  29. package/dist/{chunk-3WXUQZS7.js → chunk-I6WLABB2.js} +5 -14
  30. package/dist/{chunk-FF7OLLBP.js → chunk-IDINCQMN.js} +784 -12
  31. package/dist/{chunk-NPSVUZBN.js → chunk-IEJB3DQI.js} +5 -5
  32. package/dist/{chunk-2LOGW45F.js → chunk-JOIIWB3U.js} +33 -68
  33. package/dist/{chunk-IU77SCOB.js → chunk-KIFFN3IT.js} +9 -9
  34. package/dist/{chunk-EBJBIVXN.js → chunk-MURRA56K.js} +5 -5
  35. package/dist/{chunk-KNNTV7IN.js → chunk-NVNI2SRU.js} +213 -687
  36. package/dist/{chunk-BUB5LU5N.js → chunk-O6VZIATS.js} +5 -5
  37. package/dist/{chunk-BZV6PVWV.js → chunk-ROEAPAY4.js} +8 -8
  38. package/dist/{chunk-MUZJUPDX.js → chunk-S553BGWR.js} +4 -4
  39. package/dist/{chunk-H5STSTVK.js → chunk-SRZLJFU4.js} +16 -7
  40. package/dist/{chunk-VNIE2AZB.js → chunk-TQCLUNM2.js} +4 -4
  41. package/dist/{chunk-MXAUURHG.js → chunk-TQFONRJP.js} +5 -5
  42. package/dist/{chunk-GDTMDZJA.js → chunk-UH3WB3VN.js} +5 -5
  43. package/dist/{chunk-WJKBKH3Y.js → chunk-UHI6VYFX.js} +5 -5
  44. package/dist/{chunk-NNYJV66S.js → chunk-VIEJEAGW.js} +5 -5
  45. package/dist/{chunk-GJSFP4V4.js → chunk-VRGMXDRD.js} +6 -3
  46. package/dist/{chunk-NVSVTFPX.js → chunk-XTWFEQXH.js} +5 -5
  47. package/dist/cli/checkUnsupportedDataProxy.js +49 -47
  48. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +49 -47
  49. package/dist/cli/schemaContext.js +49 -47
  50. package/dist/client/getClientEngineType.d.ts +6 -0
  51. package/dist/client/getClientEngineType.js +26 -0
  52. package/dist/engine-commands/errorHelpers.js +4 -4
  53. package/dist/engine-commands/formatSchema.js +48 -46
  54. package/dist/engine-commands/getConfig.js +10 -10
  55. package/dist/engine-commands/getDmmf.js +7 -7
  56. package/dist/engine-commands/getEngineVersion.js +9 -6
  57. package/dist/engine-commands/getEnginesInfo.js +9 -7
  58. package/dist/engine-commands/index.js +60 -58
  59. package/dist/engine-commands/lintSchema.js +8 -8
  60. package/dist/engine-commands/mergeSchemas.js +7 -7
  61. package/dist/engine-commands/validate.js +7 -7
  62. package/dist/errorReporting.js +6 -6
  63. package/dist/get-generators/getGenerators.js +51 -49
  64. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  65. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  66. package/dist/get-generators/utils/getBinaryPathsByVersion.js +5 -6
  67. package/dist/getPackedPackage.js +3 -4
  68. package/dist/highlight/highlight.js +5 -5
  69. package/dist/index.d.ts +4 -1
  70. package/dist/index.js +95 -88
  71. package/dist/{multipart-parser-UV3WZSWW.js → multipart-parser-3AFJFP6K.js} +6 -6
  72. package/dist/resolveBinary.js +7 -8
  73. package/dist/schemaEngineCommands.js +8 -9
  74. package/dist/sendPanic.js +4 -4
  75. package/dist/utils/canPrompt.js +3 -3
  76. package/dist/utils/cloudflareD1.js +3 -3
  77. package/dist/utils/drawBox.js +2 -2
  78. package/dist/utils/fs-functional.js +10 -10
  79. package/dist/utils/fs-utils.js +8 -8
  80. package/dist/utils/getVersionFromPackageJson.js +3 -3
  81. package/dist/utils/handleEngineLoadingErrors.d.ts +8 -0
  82. package/dist/utils/handleEngineLoadingErrors.js +27 -0
  83. package/dist/utils/handlePanic.js +8 -8
  84. package/dist/utils/link.js +2 -2
  85. package/dist/utils/load.d.ts +6 -0
  86. package/dist/utils/load.js +28 -0
  87. package/dist/utils/missingDatasource.js +5 -5
  88. package/dist/utils/missingGeneratorMessage.js +7 -7
  89. package/dist/wasm.js +5 -5
  90. package/package.json +12 -12
  91. package/dist/chunk-DYV47NUW.js +0 -796
@@ -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_BUB5LU5N_exports = {};
20
- __export(chunk_BUB5LU5N_exports, {
19
+ var chunk_O6VZIATS_exports = {};
20
+ __export(chunk_O6VZIATS_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_BUB5LU5N_exports);
24
- var import_chunk_GDTMDZJA = require("./chunk-GDTMDZJA.js");
25
- var packageJson = (0, import_chunk_GDTMDZJA.require_package)();
23
+ module.exports = __toCommonJS(chunk_O6VZIATS_exports);
24
+ var import_chunk_UH3WB3VN = require("./chunk-UH3WB3VN.js");
25
+ var packageJson = (0, import_chunk_UH3WB3VN.require_package)();
26
26
  var version = packageJson.version;
@@ -26,16 +26,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_BZV6PVWV_exports = {};
30
- __export(chunk_BZV6PVWV_exports, {
29
+ var chunk_ROEAPAY4_exports = {};
30
+ __export(chunk_ROEAPAY4_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_BZV6PVWV_exports);
34
+ module.exports = __toCommonJS(chunk_ROEAPAY4_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
- var import_chunk_EBJBIVXN = require("./chunk-EBJBIVXN.js");
38
- var import_chunk_ZVTQSH5K = require("./chunk-ZVTQSH5K.js");
37
+ var import_chunk_B4WDAX32 = require("./chunk-B4WDAX32.js");
38
+ var import_chunk_GFAWJ2TV = require("./chunk-GFAWJ2TV.js");
39
39
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
41
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -58,7 +58,7 @@ ${detailsHeader} ${message}`;
58
58
  }).exhaustive();
59
59
  const errorMessageWithContext = `${constructedErrorMessage}
60
60
  [Context: getDmmf]`;
61
- super((0, import_chunk_EBJBIVXN.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_B4WDAX32.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
62
  this.name = "GetDmmfError";
63
63
  }
64
64
  };
@@ -70,13 +70,13 @@ async function getDMMF(options) {
70
70
  () => {
71
71
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
72
72
  debug("Triggering a Rust panic...");
73
- import_chunk_ZVTQSH5K.prismaSchemaWasm.debug_panic();
73
+ import_chunk_GFAWJ2TV.prismaSchemaWasm.debug_panic();
74
74
  }
75
75
  const params = JSON.stringify({
76
76
  prismaSchema: options.datamodel,
77
77
  noColor: Boolean(process.env.NO_COLOR)
78
78
  });
79
- const data = import_chunk_ZVTQSH5K.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_GFAWJ2TV.prismaSchemaWasm.get_dmmf(params);
80
80
  return data;
81
81
  },
82
82
  (e) => ({
@@ -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_MUZJUPDX_exports = {};
20
- __export(chunk_MUZJUPDX_exports, {
19
+ var chunk_S553BGWR_exports = {};
20
+ __export(chunk_S553BGWR_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_MUZJUPDX_exports);
23
+ module.exports = __toCommonJS(chunk_S553BGWR_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) {
@@ -59,7 +59,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
61
  "@types/jest": "29.5.14",
62
- "@types/node": "~20.19.24",
62
+ "@types/node": "~20.19.0",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
@@ -16,20 +16,29 @@ 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_H5STSTVK_exports = {};
20
- __export(chunk_H5STSTVK_exports, {
19
+ var chunk_SRZLJFU4_exports = {};
20
+ __export(chunk_SRZLJFU4_exports, {
21
21
  getEngineVersion: () => getEngineVersion,
22
22
  safeGetEngineVersion: () => safeGetEngineVersion
23
23
  });
24
- module.exports = __toCommonJS(chunk_H5STSTVK_exports);
24
+ module.exports = __toCommonJS(chunk_SRZLJFU4_exports);
25
+ var import_chunk_6TTRTZXU = require("./chunk-6TTRTZXU.js");
25
26
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
26
- var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.js");
27
+ var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
27
28
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
28
29
  var import_fetch_engine = require("@prisma/fetch-engine");
30
+ var import_get_platform = require("@prisma/get-platform");
29
31
  async function getEngineVersion(enginePath, binaryName) {
30
- enginePath = await (0, import_chunk_HNRMSI3R.resolveBinary)(binaryName ?? import_fetch_engine.BinaryType.SchemaEngineBinary, enginePath);
31
- const { stdout } = await (0, import_chunk_JOIHHXR6.execa)(enginePath, ["--version"]);
32
- return stdout;
32
+ enginePath = await (0, import_chunk_FYZCPL2Z.resolveBinary)(binaryName ?? import_fetch_engine.BinaryType.QueryEngineLibrary, enginePath);
33
+ const platformInfo = await (0, import_get_platform.getPlatformInfo)();
34
+ if (binaryName === import_fetch_engine.BinaryType.QueryEngineLibrary) {
35
+ (0, import_get_platform.assertNodeAPISupported)();
36
+ const QE = (0, import_chunk_6TTRTZXU.loadLibrary)(enginePath, platformInfo);
37
+ return `${import_fetch_engine.BinaryType.QueryEngineLibrary} ${QE.version().commit}`;
38
+ } else {
39
+ const { stdout } = await (0, import_chunk_JOIHHXR6.execa)(enginePath, ["--version"]);
40
+ return stdout;
41
+ }
33
42
  }
34
43
  function safeGetEngineVersion(enginePath, binaryName) {
35
44
  return (0, import_chunk_5DBOS77Y.tryCatch2)(
@@ -16,15 +16,15 @@ 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_VNIE2AZB_exports = {};
20
- __export(chunk_VNIE2AZB_exports, {
19
+ var chunk_TQCLUNM2_exports = {};
20
+ __export(chunk_TQCLUNM2_exports, {
21
21
  highlightDatamodel: () => highlightDatamodel,
22
22
  highlightSql: () => highlightSql,
23
23
  highlightTS: () => highlightTS
24
24
  });
25
- module.exports = __toCommonJS(chunk_VNIE2AZB_exports);
26
- var import_chunk_CYAS6B5N = require("./chunk-CYAS6B5N.js");
25
+ module.exports = __toCommonJS(chunk_TQCLUNM2_exports);
27
26
  var import_chunk_OIVPX3BR = require("./chunk-OIVPX3BR.js");
27
+ var import_chunk_CYAS6B5N = require("./chunk-CYAS6B5N.js");
28
28
  var import_chunk_HPVMQFIY = require("./chunk-HPVMQFIY.js");
29
29
  function highlightDatamodel(str) {
30
30
  return highlight(str, import_chunk_OIVPX3BR.dml);
@@ -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_MXAUURHG_exports = {};
30
- __export(chunk_MXAUURHG_exports, {
29
+ var chunk_TQFONRJP_exports = {};
30
+ __export(chunk_TQFONRJP_exports, {
31
31
  createDirIfNotExists: () => createDirIfNotExists,
32
32
  fs_utils_exports: () => fs_utils_exports,
33
33
  getFilesInDir: () => getFilesInDir,
@@ -36,9 +36,9 @@ __export(chunk_MXAUURHG_exports, {
36
36
  removeEmptyDirs: () => removeEmptyDirs,
37
37
  writeFile: () => writeFile
38
38
  });
39
- module.exports = __toCommonJS(chunk_MXAUURHG_exports);
39
+ module.exports = __toCommonJS(chunk_TQFONRJP_exports);
40
40
  var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
41
- var import_chunk_2LOGW45F = require("./chunk-2LOGW45F.js");
41
+ var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.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_2LOGW45F.require_globby)());
54
+ var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_globby)());
55
55
  function createDirIfNotExists(dir) {
56
56
  return import_promises.default.mkdir(dir, { recursive: true });
57
57
  }
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_GDTMDZJA_exports = {};
20
- __export(chunk_GDTMDZJA_exports, {
19
+ var chunk_UH3WB3VN_exports = {};
20
+ __export(chunk_UH3WB3VN_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_GDTMDZJA_exports);
23
+ module.exports = __toCommonJS(chunk_UH3WB3VN_exports);
24
24
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
25
25
  var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "6.19.0-integration-feat-remove-library-engine.2",
29
+ version: "6.19.0-integration-next.14",
30
30
  description: "This package is intended for Prisma's internal use",
31
31
  main: "dist/index.js",
32
32
  types: "dist/index.d.ts",
@@ -59,7 +59,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
61
  "@types/jest": "29.5.14",
62
- "@types/node": "~20.19.24",
62
+ "@types/node": "~20.19.0",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_WJKBKH3Y_exports = {};
20
- __export(chunk_WJKBKH3Y_exports, {
19
+ var chunk_UHI6VYFX_exports = {};
20
+ __export(chunk_UHI6VYFX_exports, {
21
21
  SchemaEngineExitCode: () => SchemaEngineExitCode,
22
22
  canConnectToDatabase: () => canConnectToDatabase,
23
23
  createDatabase: () => createDatabase,
24
24
  dropDatabase: () => dropDatabase,
25
25
  execaCommand: () => execaCommand
26
26
  });
27
- module.exports = __toCommonJS(chunk_WJKBKH3Y_exports);
27
+ module.exports = __toCommonJS(chunk_UHI6VYFX_exports);
28
28
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
29
- var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.js");
29
+ var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
30
30
  var import_fetch_engine = require("@prisma/fetch-engine");
31
31
  var SchemaEngineExitCode = /* @__PURE__ */ ((SchemaEngineExitCode2) => {
32
32
  SchemaEngineExitCode2[SchemaEngineExitCode2["Success"] = 0] = "Success";
@@ -139,7 +139,7 @@ async function execaCommand({
139
139
  schemaEnginePath,
140
140
  engineCommandName
141
141
  }) {
142
- schemaEnginePath = schemaEnginePath || await (0, import_chunk_HNRMSI3R.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
142
+ schemaEnginePath = schemaEnginePath || await (0, import_chunk_FYZCPL2Z.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
143
143
  try {
144
144
  return await (0, import_chunk_JOIHHXR6.execa)(schemaEnginePath, ["cli", "--datasource", connectionString, engineCommandName], {
145
145
  cwd,
@@ -16,20 +16,20 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_NNYJV66S_exports = {};
20
- __export(chunk_NNYJV66S_exports, {
19
+ var chunk_VIEJEAGW_exports = {};
20
+ __export(chunk_VIEJEAGW_exports, {
21
21
  getLintWarnings: () => getLintWarnings,
22
22
  getLintWarningsAsText: () => getLintWarningsAsText,
23
23
  handleLintPanic: () => handleLintPanic,
24
24
  lintSchema: () => lintSchema,
25
25
  warningToString: () => warningToString
26
26
  });
27
- module.exports = __toCommonJS(chunk_NNYJV66S_exports);
28
- var import_chunk_ZVTQSH5K = require("./chunk-ZVTQSH5K.js");
27
+ module.exports = __toCommonJS(chunk_VIEJEAGW_exports);
28
+ var import_chunk_HQAD5FY2 = require("./chunk-HQAD5FY2.js");
29
29
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
30
30
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
31
31
  function lintSchema({ schemas }) {
32
- const lintResult = import_chunk_ZVTQSH5K.prismaSchemaWasm.lint(JSON.stringify(schemas));
32
+ const lintResult = import_chunk_HQAD5FY2.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
33
  const lintDiagnostics = JSON.parse(lintResult);
34
34
  return lintDiagnostics;
35
35
  }
@@ -16,15 +16,18 @@ 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_GJSFP4V4_exports = {};
20
- __export(chunk_GJSFP4V4_exports, {
19
+ var chunk_VRGMXDRD_exports = {};
20
+ __export(chunk_VRGMXDRD_exports, {
21
21
  engineTypeToBinaryType: () => engineTypeToBinaryType
22
22
  });
23
- module.exports = __toCommonJS(chunk_GJSFP4V4_exports);
23
+ module.exports = __toCommonJS(chunk_VRGMXDRD_exports);
24
24
  var import_fetch_engine = require("@prisma/fetch-engine");
25
25
  function engineTypeToBinaryType(engineType) {
26
26
  if (engineType === "schemaEngine") {
27
27
  return import_fetch_engine.BinaryType.SchemaEngineBinary;
28
28
  }
29
+ if (engineType === "libqueryEngine") {
30
+ return import_fetch_engine.BinaryType.QueryEngineLibrary;
31
+ }
29
32
  throw new Error(`Could not convert engine type ${engineType}`);
30
33
  }
@@ -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_NVSVTFPX_exports = {};
20
- __export(chunk_NVSVTFPX_exports, {
19
+ var chunk_XTWFEQXH_exports = {};
20
+ __export(chunk_XTWFEQXH_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_NVSVTFPX_exports);
24
- var import_chunk_MUZJUPDX = require("./chunk-MUZJUPDX.js");
25
- var packageJson = (0, import_chunk_MUZJUPDX.require_package)();
23
+ module.exports = __toCommonJS(chunk_XTWFEQXH_exports);
24
+ var import_chunk_S553BGWR = require("./chunk-S553BGWR.js");
25
+ var packageJson = (0, import_chunk_S553BGWR.require_package)();
26
26
  var version = packageJson.version;
@@ -18,72 +18,74 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var checkUnsupportedDataProxy_exports = {};
20
20
  __export(checkUnsupportedDataProxy_exports, {
21
- checkUnsupportedDataProxy: () => import_chunk_N2IUVVYJ.checkUnsupportedDataProxy,
22
- forbiddenCmdWithDataProxyFlagMessage: () => import_chunk_N2IUVVYJ.forbiddenCmdWithDataProxyFlagMessage
21
+ checkUnsupportedDataProxy: () => import_chunk_AVHPQM6S.checkUnsupportedDataProxy,
22
+ forbiddenCmdWithDataProxyFlagMessage: () => import_chunk_AVHPQM6S.forbiddenCmdWithDataProxyFlagMessage
23
23
  });
24
24
  module.exports = __toCommonJS(checkUnsupportedDataProxy_exports);
25
- var import_chunk_N2IUVVYJ = require("../chunk-N2IUVVYJ.js");
26
- var import_chunk_X77CS5RK = require("../chunk-X77CS5RK.js");
27
- var import_chunk_5MHUYAV3 = require("../chunk-5MHUYAV3.js");
28
- var import_chunk_5I4ERIIY = require("../chunk-5I4ERIIY.js");
29
- var import_chunk_GJSFP4V4 = require("../chunk-GJSFP4V4.js");
25
+ var import_chunk_AVHPQM6S = require("../chunk-AVHPQM6S.js");
30
26
  var import_chunk_X3P4J7WW = require("../chunk-X3P4J7WW.js");
31
27
  var import_chunk_LRU47BGE = require("../chunk-LRU47BGE.js");
28
+ var import_chunk_OSHZ4P3G = require("../chunk-OSHZ4P3G.js");
29
+ var import_chunk_X77CS5RK = require("../chunk-X77CS5RK.js");
30
+ var import_chunk_5XFNC2RY = require("../chunk-5XFNC2RY.js");
31
+ var import_chunk_B22EOFPW = require("../chunk-B22EOFPW.js");
32
+ var import_chunk_VRGMXDRD = require("../chunk-VRGMXDRD.js");
33
+ var import_chunk_GXW4NTU2 = require("../chunk-GXW4NTU2.js");
34
+ var import_chunk_5FJ3MENK = require("../chunk-5FJ3MENK.js");
32
35
  var import_chunk_PFYALFCY = require("../chunk-PFYALFCY.js");
33
36
  var import_chunk_5W3BSMTH = require("../chunk-5W3BSMTH.js");
34
37
  var import_chunk_ANU3HEGF = require("../chunk-ANU3HEGF.js");
35
- var import_chunk_OSHZ4P3G = require("../chunk-OSHZ4P3G.js");
38
+ var import_chunk_LRBXMV4B = require("../chunk-LRBXMV4B.js");
39
+ var import_chunk_7QC5VORA = require("../chunk-7QC5VORA.js");
40
+ var import_chunk_AX5N26KG = require("../chunk-AX5N26KG.js");
36
41
  var import_chunk_2SDPW6AX = require("../chunk-2SDPW6AX.js");
37
- var import_chunk_GXW4NTU2 = require("../chunk-GXW4NTU2.js");
38
- var import_chunk_5FJ3MENK = require("../chunk-5FJ3MENK.js");
42
+ var import_chunk_FURGECAD = require("../chunk-FURGECAD.js");
39
43
  var import_chunk_7B5PXS6N = require("../chunk-7B5PXS6N.js");
40
44
  var import_chunk_UGR6KLZN = require("../chunk-UGR6KLZN.js");
41
45
  var import_chunk_CGFNDGGI = require("../chunk-CGFNDGGI.js");
42
- var import_chunk_LRBXMV4B = require("../chunk-LRBXMV4B.js");
43
- var import_chunk_H6PPJ5PX = require("../chunk-H6PPJ5PX.js");
44
- var import_chunk_33K2EQQZ = require("../chunk-33K2EQQZ.js");
45
46
  var import_chunk_XXTPN4LB = require("../chunk-XXTPN4LB.js");
46
47
  var import_chunk_2IOZUH3U = require("../chunk-2IOZUH3U.js");
47
48
  var import_chunk_JTKAT4KZ = require("../chunk-JTKAT4KZ.js");
48
49
  var import_chunk_RBDYOTWB = require("../chunk-RBDYOTWB.js");
49
50
  var import_chunk_ZKWDIAVF = require("../chunk-ZKWDIAVF.js");
50
- var import_chunk_FURGECAD = require("../chunk-FURGECAD.js");
51
+ var import_chunk_CUD726EK = require("../chunk-CUD726EK.js");
52
+ var import_chunk_BERN76ZI = require("../chunk-BERN76ZI.js");
51
53
  var import_chunk_6QTN4DDB = require("../chunk-6QTN4DDB.js");
52
54
  var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
53
55
  var import_chunk_RFB2U4GQ = require("../chunk-RFB2U4GQ.js");
54
- var import_chunk_IU77SCOB = require("../chunk-IU77SCOB.js");
55
- var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
56
+ var import_chunk_KIFFN3IT = require("../chunk-KIFFN3IT.js");
57
+ var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
56
58
  var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
57
59
  var import_chunk_WV4QHCSM = require("../chunk-WV4QHCSM.js");
58
- var import_chunk_IRWX4FCC = require("../chunk-IRWX4FCC.js");
59
- var import_chunk_CGLLQXZE = require("../chunk-CGLLQXZE.js");
60
+ var import_chunk_D4VDA2TZ = require("../chunk-D4VDA2TZ.js");
61
+ var import_chunk_HHG4DGHC = require("../chunk-HHG4DGHC.js");
60
62
  var import_chunk_CRVLHWC5 = require("../chunk-CRVLHWC5.js");
61
- var import_chunk_UB2X7DGZ = require("../chunk-UB2X7DGZ.js");
62
- var import_chunk_MXAUURHG = require("../chunk-MXAUURHG.js");
63
+ var import_chunk_75BIJ5PX = require("../chunk-75BIJ5PX.js");
64
+ var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
63
65
  var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
64
- var import_chunk_CUD726EK = require("../chunk-CUD726EK.js");
65
- var import_chunk_BERN76ZI = require("../chunk-BERN76ZI.js");
66
+ var import_chunk_HW5RCZSE = require("../chunk-HW5RCZSE.js");
66
67
  var import_chunk_Y4TOGY6I = require("../chunk-Y4TOGY6I.js");
67
68
  var import_chunk_IL7PSY44 = require("../chunk-IL7PSY44.js");
68
69
  var import_chunk_DODIJPCS = require("../chunk-DODIJPCS.js");
69
70
  var import_chunk_L6KOIJJ5 = require("../chunk-L6KOIJJ5.js");
70
71
  var import_chunk_NIWBAJZV = require("../chunk-NIWBAJZV.js");
71
- var import_chunk_R3J2O23S = require("../chunk-R3J2O23S.js");
72
- var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
72
+ var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
73
73
  var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
74
- var import_chunk_NPMHIQNM = require("../chunk-NPMHIQNM.js");
75
- var import_chunk_VNIE2AZB = require("../chunk-VNIE2AZB.js");
76
- var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
74
+ var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
75
+ var import_chunk_36YXR6IU = require("../chunk-36YXR6IU.js");
76
+ var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
77
77
  var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
78
+ var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
78
79
  var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
79
80
  var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
80
- var import_chunk_HW5RCZSE = require("../chunk-HW5RCZSE.js");
81
- var import_chunk_RXERQWBD = require("../chunk-RXERQWBD.js");
82
- var import_chunk_PTRXLDT7 = require("../chunk-PTRXLDT7.js");
83
- var import_chunk_22HIO2UL = require("../chunk-22HIO2UL.js");
84
- var import_chunk_H5STSTVK = require("../chunk-H5STSTVK.js");
85
- var import_chunk_NPSVUZBN = require("../chunk-NPSVUZBN.js");
86
- var import_chunk_OENCCIMK = require("../chunk-OENCCIMK.js");
81
+ var import_chunk_247ICNDG = require("../chunk-247ICNDG.js");
82
+ var import_chunk_ROEAPAY4 = require("../chunk-ROEAPAY4.js");
83
+ var import_chunk_FC6CQUSK = require("../chunk-FC6CQUSK.js");
84
+ var import_chunk_SRZLJFU4 = require("../chunk-SRZLJFU4.js");
85
+ var import_chunk_6TTRTZXU = require("../chunk-6TTRTZXU.js");
86
+ var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
87
+ var import_chunk_IEJB3DQI = require("../chunk-IEJB3DQI.js");
88
+ var import_chunk_AGCXD33Q = require("../chunk-AGCXD33Q.js");
87
89
  var import_chunk_TZJROXB3 = require("../chunk-TZJROXB3.js");
88
90
  var import_chunk_C47SCASR = require("../chunk-C47SCASR.js");
89
91
  var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
@@ -91,26 +93,27 @@ var import_chunk_J7ZPY2XA = require("../chunk-J7ZPY2XA.js");
91
93
  var import_chunk_GL7OANR6 = require("../chunk-GL7OANR6.js");
92
94
  var import_chunk_OKVM3CW4 = require("../chunk-OKVM3CW4.js");
93
95
  var import_chunk_D4VZUY3O = require("../chunk-D4VZUY3O.js");
94
- var import_chunk_5CBDEFHE = require("../chunk-5CBDEFHE.js");
95
- var import_chunk_BUB5LU5N = require("../chunk-BUB5LU5N.js");
96
+ var import_chunk_FUYRCYVL = require("../chunk-FUYRCYVL.js");
97
+ var import_chunk_B4WDAX32 = require("../chunk-B4WDAX32.js");
98
+ var import_chunk_O6VZIATS = require("../chunk-O6VZIATS.js");
96
99
  var import_chunk_QN6PSQY7 = require("../chunk-QN6PSQY7.js");
97
100
  var import_chunk_DTPFRZWV = require("../chunk-DTPFRZWV.js");
98
- var import_chunk_7NFX7KFI = require("../chunk-7NFX7KFI.js");
99
- var import_chunk_GDTMDZJA = require("../chunk-GDTMDZJA.js");
101
+ var import_chunk_GFAWJ2TV = require("../chunk-GFAWJ2TV.js");
102
+ var import_chunk_UH3WB3VN = require("../chunk-UH3WB3VN.js");
100
103
  var import_chunk_6JE6QGSJ = require("../chunk-6JE6QGSJ.js");
101
104
  var import_chunk_BCQZ6JQE = require("../chunk-BCQZ6JQE.js");
102
105
  var import_chunk_ARC7TW3L = require("../chunk-ARC7TW3L.js");
103
106
  var import_chunk_XYCIH36R = require("../chunk-XYCIH36R.js");
104
107
  var import_chunk_ZJWZK45Z = require("../chunk-ZJWZK45Z.js");
105
108
  var import_chunk_2B26F5N3 = require("../chunk-2B26F5N3.js");
106
- var import_chunk_WJKBKH3Y = require("../chunk-WJKBKH3Y.js");
109
+ var import_chunk_UHI6VYFX = require("../chunk-UHI6VYFX.js");
107
110
  var import_chunk_JOIHHXR6 = require("../chunk-JOIHHXR6.js");
108
- var import_chunk_HNRMSI3R = require("../chunk-HNRMSI3R.js");
111
+ var import_chunk_FYZCPL2Z = require("../chunk-FYZCPL2Z.js");
109
112
  var import_chunk_M3GBKLGE = require("../chunk-M3GBKLGE.js");
110
- var import_chunk_FF7OLLBP = require("../chunk-FF7OLLBP.js");
113
+ var import_chunk_IDINCQMN = require("../chunk-IDINCQMN.js");
111
114
  var import_chunk_TWSLDIFL = require("../chunk-TWSLDIFL.js");
112
115
  var import_chunk_5DBOS77Y = require("../chunk-5DBOS77Y.js");
113
- var import_chunk_BUQN4WLU = require("../chunk-BUQN4WLU.js");
116
+ var import_chunk_GSH4BXBI = require("../chunk-GSH4BXBI.js");
114
117
  var import_chunk_KDHESRKE = require("../chunk-KDHESRKE.js");
115
118
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
116
119
  var import_chunk_LMVSIVKQ = require("../chunk-LMVSIVKQ.js");
@@ -122,12 +125,11 @@ var import_chunk_SBUSVJCV = require("../chunk-SBUSVJCV.js");
122
125
  var import_chunk_LYFOJ5NK = require("../chunk-LYFOJ5NK.js");
123
126
  var import_chunk_LPNBWFQ3 = require("../chunk-LPNBWFQ3.js");
124
127
  var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
125
- var import_chunk_MEOOYUIZ = require("../chunk-MEOOYUIZ.js");
126
- var import_chunk_KNNTV7IN = require("../chunk-KNNTV7IN.js");
127
- var import_chunk_32LLAKF4 = require("../chunk-32LLAKF4.js");
128
+ var import_chunk_5AI4FIZ3 = require("../chunk-5AI4FIZ3.js");
129
+ var import_chunk_NVNI2SRU = require("../chunk-NVNI2SRU.js");
130
+ var import_chunk_BVJP43JS = require("../chunk-BVJP43JS.js");
128
131
  var import_chunk_KDP6C3CB = require("../chunk-KDP6C3CB.js");
129
- var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
132
+ var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
130
133
  var import_chunk_UMM35VP5 = require("../chunk-UMM35VP5.js");
131
134
  var import_chunk_5VQNKCKW = require("../chunk-5VQNKCKW.js");
132
- var import_chunk_DYV47NUW = require("../chunk-DYV47NUW.js");
133
135
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");