@prisma/internals 6.19.0 → 6.20.0-integration-next.2

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-GMW36QQF.js → chunk-22HIO2UL.js} +7 -7
  2. package/dist/{chunk-C7SAKLK2.js → chunk-24ZPBDBI.js} +11 -11
  3. package/dist/{chunk-D7OTFXCP.js → chunk-2Q43C56O.js} +5 -5
  4. package/dist/{chunk-SOKSKSEX.js → chunk-2UPB3LSW.js} +14 -20
  5. package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
  6. package/dist/{chunk-Y7XBA7JY.js → chunk-3ZWEK4N6.js} +5 -5
  7. package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
  8. package/dist/{chunk-F2OZV76L.js → chunk-5MHUYAV3.js} +9 -9
  9. package/dist/{chunk-HO5HRHFZ.js → chunk-5W3BSMTH.js} +3 -6
  10. package/dist/{chunk-TBR6SNKL.js → chunk-73HXEN2A.js} +5 -5
  11. package/dist/{chunk-FHZ5QJLR.js → chunk-AL7ZUBHY.js} +5 -5
  12. package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
  13. package/dist/{chunk-CCLAMTCA.js → chunk-B2BNIZB2.js} +7 -8
  14. package/dist/{chunk-UQUWZJVN.js → chunk-BM3JIFQT.js} +7 -7
  15. package/dist/{chunk-2GUGGLPK.js → chunk-BMMRL7AY.js} +38 -94
  16. package/dist/{chunk-HFFWZTVM.js → chunk-BUQN4WLU.js} +7 -9
  17. package/dist/{chunk-AP3F7M3T.js → chunk-C5YUUOQW.js} +12 -12
  18. package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
  19. package/dist/chunk-DYV47NUW.js +796 -0
  20. package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
  21. package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
  22. package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
  23. package/dist/{chunk-OAT7ZJED.js → chunk-H5STSTVK.js} +7 -20
  24. package/dist/{chunk-FYZCPL2Z.js → chunk-HNRMSI3R.js} +5 -8
  25. package/dist/{chunk-JTS4UPHJ.js → chunk-IQLWIY62.js} +5 -5
  26. package/dist/{chunk-LU7NT333.js → chunk-K5SXCDBM.js} +11 -11
  27. package/dist/{chunk-5IQ5L5E4.js → chunk-KGES6NIS.js} +38 -94
  28. package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
  29. package/dist/{chunk-LFFCR67R.js → chunk-LA5QBRTU.js} +14 -20
  30. package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
  31. package/dist/{chunk-TQFONRJP.js → chunk-MLFKBBDL.js} +5 -5
  32. package/dist/{chunk-7QC5VORA.js → chunk-MYLPCGTT.js} +5 -5
  33. package/dist/{chunk-LV27YCGC.js → chunk-NCYLUGLI.js} +11 -11
  34. package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
  35. package/dist/{chunk-JOIIWB3U.js → chunk-QOZ7USPD.js} +193 -159
  36. package/dist/{chunk-BVJP43JS.js → chunk-QSVWJ2S2.js} +13 -784
  37. package/dist/{chunk-WYQJ4JWO.js → chunk-S3KGFJ2G.js} +12 -12
  38. package/dist/{chunk-75BIJ5PX.js → chunk-SMJRM3EM.js} +9 -9
  39. package/dist/{chunk-FGU7IK4W.js → chunk-SQI3K6L7.js} +8 -9
  40. package/dist/{chunk-AX5N26KG.js → chunk-TGA7DC5A.js} +14 -9
  41. package/dist/{chunk-QJ3QPUM5.js → chunk-VFZCLI5X.js} +5 -5
  42. package/dist/{chunk-E4H6V3Z4.js → chunk-VHE2A7YV.js} +11 -11
  43. package/dist/{chunk-UHI6VYFX.js → chunk-WJKBKH3Y.js} +5 -5
  44. package/dist/{chunk-TZJROXB3.js → chunk-WSZXPLJQ.js} +4 -4
  45. package/dist/{chunk-PHFQSMQF.js → chunk-WU6O3W6S.js} +5 -5
  46. package/dist/{chunk-E6MOBIU5.js → chunk-ZKAM5JVB.js} +5 -5
  47. package/dist/cli/checkUnsupportedDataProxy.js +53 -60
  48. package/dist/cli/getGeneratorSuccessMessage.js +2 -3
  49. package/dist/cli/getSchema.d.ts +1 -15
  50. package/dist/cli/getSchema.js +4 -5
  51. package/dist/cli/hashes.js +4 -4
  52. package/dist/cli/schemaContext.d.ts +1 -3
  53. package/dist/cli/schemaContext.js +53 -60
  54. package/dist/engine-commands/errorHelpers.js +4 -4
  55. package/dist/engine-commands/formatSchema.js +52 -59
  56. package/dist/engine-commands/getConfig.d.ts +0 -1
  57. package/dist/engine-commands/getConfig.js +13 -13
  58. package/dist/engine-commands/getDmmf.js +10 -10
  59. package/dist/engine-commands/getEngineVersion.js +6 -9
  60. package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
  61. package/dist/engine-commands/getEnginesInfo.js +7 -9
  62. package/dist/engine-commands/index.js +64 -71
  63. package/dist/engine-commands/lintSchema.js +9 -9
  64. package/dist/engine-commands/mergeSchemas.js +10 -10
  65. package/dist/engine-commands/queryEngineCommons.js +6 -6
  66. package/dist/engine-commands/validate.js +10 -10
  67. package/dist/errorReporting.js +6 -6
  68. package/dist/get-generators/getGenerators.d.ts +0 -1
  69. package/dist/get-generators/getGenerators.js +55 -62
  70. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  71. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  72. package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
  73. package/dist/getPackedPackage.js +4 -3
  74. package/dist/index.d.ts +1 -10
  75. package/dist/index.js +95 -112
  76. package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
  77. package/dist/resolveBinary.js +8 -7
  78. package/dist/schemaEngineCommands.js +9 -8
  79. package/dist/sendPanic.js +4 -4
  80. package/dist/utils/drawBox.js +2 -2
  81. package/dist/utils/fs-functional.js +10 -10
  82. package/dist/utils/fs-utils.js +8 -8
  83. package/dist/utils/getVersionFromPackageJson.js +3 -3
  84. package/dist/utils/handlePanic.js +6 -6
  85. package/dist/utils/link.js +2 -2
  86. package/dist/utils/missingDatasource.js +3 -3
  87. package/dist/utils/missingGeneratorMessage.js +5 -5
  88. package/dist/utils/serializeQueryEngineName.js +2 -2
  89. package/dist/wasm.js +5 -5
  90. package/package.json +15 -16
  91. package/dist/chunk-3FP46GUV.js +0 -471
  92. package/dist/chunk-46ABODUM.js +0 -186
  93. package/dist/chunk-6TTRTZXU.js +0 -37
  94. package/dist/chunk-D4VDA2TZ.js +0 -66
  95. package/dist/chunk-DZYINYAA.js +0 -68
  96. package/dist/chunk-ERSH2BQA.js +0 -58
  97. package/dist/chunk-PZMRR772.js +0 -41
  98. package/dist/chunk-T2PM5TKT.js +0 -55
  99. package/dist/cli/checkUnsupportedSchemaEngineWasm.d.ts +0 -22
  100. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +0 -135
  101. package/dist/client/getClientEngineType.d.ts +0 -7
  102. package/dist/client/getClientEngineType.js +0 -26
  103. package/dist/dotenvExpand.d.ts +0 -35
  104. package/dist/dotenvExpand.js +0 -25
  105. package/dist/utils/cloudflareD1.d.ts +0 -5
  106. package/dist/utils/cloudflareD1.js +0 -27
  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
@@ -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_WYQJ4JWO_exports = {};
30
- __export(chunk_WYQJ4JWO_exports, {
29
+ var chunk_S3KGFJ2G_exports = {};
30
+ __export(chunk_S3KGFJ2G_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_WYQJ4JWO_exports);
35
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
- var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
34
+ module.exports = __toCommonJS(chunk_S3KGFJ2G_exports);
35
+ var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
37
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_JTS4UPHJ = require("./chunk-JTS4UPHJ.js");
39
- var import_chunk_FHZ5QJLR = require("./chunk-FHZ5QJLR.js");
37
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
+ var import_chunk_IQLWIY62 = require("./chunk-IQLWIY62.js");
39
+ var import_chunk_AL7ZUBHY = require("./chunk-AL7ZUBHY.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,25 +59,25 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: validate]`;
62
- super((0, import_chunk_JTS4UPHJ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_IQLWIY62.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_WSZXPLJQ.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_QUERY_ENGINE_GET_DMMF) {
73
73
  debug("Triggering a Rust panic...");
74
- import_chunk_FHZ5QJLR.prismaSchemaWasm.debug_panic();
74
+ import_chunk_AL7ZUBHY.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_FHZ5QJLR.prismaSchemaWasm.validate(params);
80
+ import_chunk_AL7ZUBHY.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-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_WSZXPLJQ.parseQueryEngineError)({ errorOutput, reason: e.reason }));
113
113
  }).exhaustive();
114
114
  throw error;
115
115
  }
@@ -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_75BIJ5PX_exports = {};
30
- __export(chunk_75BIJ5PX_exports, {
29
+ var chunk_SMJRM3EM_exports = {};
30
+ __export(chunk_SMJRM3EM_exports, {
31
31
  createDirIfNotExists: () => createDirIfNotExists2,
32
32
  fs_functional_exports: () => fs_functional_exports,
33
33
  getFilesInDir: () => getFilesInDir2,
@@ -37,8 +37,8 @@ __export(chunk_75BIJ5PX_exports, {
37
37
  removeFile: () => removeFile,
38
38
  writeFile: () => writeFile2
39
39
  });
40
- module.exports = __toCommonJS(chunk_75BIJ5PX_exports);
41
- var import_chunk_TQFONRJP = require("./chunk-TQFONRJP.js");
40
+ module.exports = __toCommonJS(chunk_SMJRM3EM_exports);
41
+ var import_chunk_MLFKBBDL = require("./chunk-MLFKBBDL.js");
42
42
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
43
43
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
44
44
  var import_promises = __toESM(require("fs/promises"));
@@ -3981,13 +3981,13 @@ var fs_functional_exports = {};
3981
3981
  });
3982
3982
  var import_function = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_R6QH57HZ.require_function)());
3983
3983
  var TE = (0, import_chunk_4VNS5WPM.__toESM)(require_TaskEither());
3984
- var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.createDirIfNotExists)(dir), createTaggedSystemError("fs-create-dir", { dir }));
3985
- var writeFile2 = (params) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.writeFile)(params), createTaggedSystemError("fs-write-file", params));
3986
- var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.removeEmptyDirs)(dir), createTaggedSystemError("fs-remove-empty-dirs", { dir }));
3984
+ var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0, import_chunk_MLFKBBDL.createDirIfNotExists)(dir), createTaggedSystemError("fs-create-dir", { dir }));
3985
+ var writeFile2 = (params) => TE.tryCatch(() => (0, import_chunk_MLFKBBDL.writeFile)(params), createTaggedSystemError("fs-write-file", params));
3986
+ var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0, import_chunk_MLFKBBDL.removeEmptyDirs)(dir), createTaggedSystemError("fs-remove-empty-dirs", { dir }));
3987
3987
  var removeDir = (dir) => (0, import_function.pipe)(TE.tryCatch(() => import_promises.default.rm(dir, { recursive: true }), createTaggedSystemError("fs-remove-dir", { dir })));
3988
3988
  var removeFile = (filePath) => (0, import_function.pipe)(TE.tryCatch(() => import_promises.default.unlink(filePath), createTaggedSystemError("fs-remove-file", { filePath })));
3989
- var getNestedFoldersInDir2 = (dir) => () => (0, import_chunk_TQFONRJP.getNestedFoldersInDir)(dir);
3990
- var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_TQFONRJP.getFilesInDir)(dir, pattern);
3989
+ var getNestedFoldersInDir2 = (dir) => () => (0, import_chunk_MLFKBBDL.getNestedFoldersInDir)(dir);
3990
+ var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_MLFKBBDL.getFilesInDir)(dir, pattern);
3991
3991
  function createTaggedSystemError(type, meta) {
3992
3992
  return (e) => ({
3993
3993
  type,
@@ -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_FGU7IK4W_exports = {};
20
- __export(chunk_FGU7IK4W_exports, {
19
+ var chunk_SQI3K6L7_exports = {};
20
+ __export(chunk_SQI3K6L7_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_FGU7IK4W_exports);
23
+ module.exports = __toCommonJS(chunk_SQI3K6L7_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",
29
+ version: "6.20.0-integration-next.2",
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,12 +59,11 @@ 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": "18.19.76",
62
+ "@types/node": "~20.19.24",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
66
66
  "cli-truncate": "4.0.0",
67
- dotenv: "16.5.0",
68
67
  empathic: "2.0.0",
69
68
  "escape-string-regexp": "5.0.0",
70
69
  execa: "8.0.1",
@@ -109,14 +108,14 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
109
108
  "@prisma/generator": "workspace:*",
110
109
  "@prisma/generator-helper": "workspace:*",
111
110
  "@prisma/get-platform": "workspace:*",
112
- "@prisma/prisma-schema-wasm": "6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773",
113
- "@prisma/schema-engine-wasm": "6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773",
111
+ "@prisma/prisma-schema-wasm": "6.19.0-33.next-fca7ed8aa5fe6347594ad793adb59b37f021379a",
112
+ "@prisma/schema-engine-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
114
113
  "@prisma/schema-files-loader": "workspace:*",
115
114
  arg: "5.0.2",
116
115
  prompts: "2.4.2"
117
116
  },
118
117
  peerDependencies: {
119
- typescript: ">=5.1.0"
118
+ typescript: ">=5.4.0"
120
119
  },
121
120
  peerDependenciesMeta: {
122
121
  typescript: {
@@ -16,27 +16,32 @@ 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_TGA7DC5A_exports = {};
20
+ __export(chunk_TGA7DC5A_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_TGA7DC5A_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 = `
30
30
  ${(0, import_chunk_PG5FDKSF.blue)("info")} You don't have any generators defined in your ${(0, import_chunk_PG5FDKSF.bold)(
31
31
  "schema.prisma"
32
32
  )}, so nothing will be generated.
33
- You can define them like this:
33
+ Add the Prisma Client generator like this:
34
34
 
35
35
  ${(0, import_chunk_PG5FDKSF.bold)(
36
36
  (0, import_chunk_TQCLUNM2.highlightDatamodel)(`generator client {
37
- provider = "prisma-client-js"
37
+ provider = "prisma-client"
38
+ output = "../src/generated/prisma"
38
39
  }`)
39
- )}`;
40
+ )}
41
+
42
+ More information in our documentation:
43
+ ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/prisma-schema")}
44
+ `;
40
45
  var missingModelMessage = `
41
46
  You don't have any ${(0, import_chunk_PG5FDKSF.bold)("models")} defined in your ${(0, import_chunk_PG5FDKSF.bold)(
42
47
  "schema.prisma"
@@ -52,7 +57,7 @@ ${(0, import_chunk_PG5FDKSF.bold)(
52
57
  )}
53
58
 
54
59
  More information in our documentation:
55
- ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/prisma-schema")}
60
+ ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/prisma-schema")}
56
61
  `;
57
62
  var missingModelMessageMongoDB = `
58
63
  You don't have any ${(0, import_chunk_PG5FDKSF.bold)("models")} defined in your ${(0, import_chunk_PG5FDKSF.bold)(
@@ -69,5 +74,5 @@ ${(0, import_chunk_PG5FDKSF.bold)(
69
74
  )}
70
75
 
71
76
  More information in our documentation:
72
- ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/prisma-schema")}
77
+ ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/prisma-schema")}
73
78
  `;
@@ -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_QJ3QPUM5_exports = {};
20
- __export(chunk_QJ3QPUM5_exports, {
19
+ var chunk_VFZCLI5X_exports = {};
20
+ __export(chunk_VFZCLI5X_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_QJ3QPUM5_exports);
24
- var import_chunk_CCLAMTCA = require("./chunk-CCLAMTCA.js");
25
- var packageJson = (0, import_chunk_CCLAMTCA.require_package)();
23
+ module.exports = __toCommonJS(chunk_VFZCLI5X_exports);
24
+ var import_chunk_B2BNIZB2 = require("./chunk-B2BNIZB2.js");
25
+ var packageJson = (0, import_chunk_B2BNIZB2.require_package)();
26
26
  var version = packageJson.version;
@@ -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_E4H6V3Z4_exports = {};
30
- __export(chunk_E4H6V3Z4_exports, {
29
+ var chunk_VHE2A7YV_exports = {};
30
+ __export(chunk_VHE2A7YV_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_E4H6V3Z4_exports);
35
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
- var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
34
+ module.exports = __toCommonJS(chunk_VHE2A7YV_exports);
35
+ var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
37
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_JTS4UPHJ = require("./chunk-JTS4UPHJ.js");
39
- var import_chunk_FHZ5QJLR = require("./chunk-FHZ5QJLR.js");
37
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
+ var import_chunk_2Q43C56O = require("./chunk-2Q43C56O.js");
39
+ var import_chunk_3ZWEK4N6 = require("./chunk-3ZWEK4N6.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_JTS4UPHJ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_2Q43C56O.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_FHZ5QJLR.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_3ZWEK4N6.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
  }
@@ -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_UHI6VYFX_exports = {};
20
- __export(chunk_UHI6VYFX_exports, {
19
+ var chunk_WJKBKH3Y_exports = {};
20
+ __export(chunk_WJKBKH3Y_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_UHI6VYFX_exports);
27
+ module.exports = __toCommonJS(chunk_WJKBKH3Y_exports);
28
28
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
29
- var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
29
+ var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.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_FYZCPL2Z.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
142
+ schemaEnginePath = schemaEnginePath || await (0, import_chunk_HNRMSI3R.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,
@@ -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_TZJROXB3_exports = {};
30
- __export(chunk_TZJROXB3_exports, {
29
+ var chunk_WSZXPLJQ_exports = {};
30
+ __export(chunk_WSZXPLJQ_exports, {
31
31
  createDebugErrorType: () => createDebugErrorType,
32
32
  createSchemaValidationError: () => createSchemaValidationError,
33
33
  parseQueryEngineError: () => parseQueryEngineError,
34
34
  unlinkTempDatamodelPath: () => unlinkTempDatamodelPath
35
35
  });
36
- module.exports = __toCommonJS(chunk_TZJROXB3_exports);
37
- var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
36
+ module.exports = __toCommonJS(chunk_WSZXPLJQ_exports);
38
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.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_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -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_PHFQSMQF_exports = {};
20
- __export(chunk_PHFQSMQF_exports, {
19
+ var chunk_WU6O3W6S_exports = {};
20
+ __export(chunk_WU6O3W6S_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_PHFQSMQF_exports);
24
- var import_chunk_FGU7IK4W = require("./chunk-FGU7IK4W.js");
25
- var packageJson = (0, import_chunk_FGU7IK4W.require_package)();
23
+ module.exports = __toCommonJS(chunk_WU6O3W6S_exports);
24
+ var import_chunk_SQI3K6L7 = require("./chunk-SQI3K6L7.js");
25
+ var packageJson = (0, import_chunk_SQI3K6L7.require_package)();
26
26
  var version = packageJson.version;
@@ -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_E6MOBIU5_exports = {};
20
- __export(chunk_E6MOBIU5_exports, {
19
+ var chunk_ZKAM5JVB_exports = {};
20
+ __export(chunk_ZKAM5JVB_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_E6MOBIU5_exports);
28
- var import_chunk_Y7XBA7JY = require("./chunk-Y7XBA7JY.js");
27
+ module.exports = __toCommonJS(chunk_ZKAM5JVB_exports);
28
+ var import_chunk_AL7ZUBHY = require("./chunk-AL7ZUBHY.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_Y7XBA7JY.prismaSchemaWasm.lint(JSON.stringify(schemas));
32
+ const lintResult = import_chunk_AL7ZUBHY.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
33
  const lintDiagnostics = JSON.parse(lintResult);
34
34
  return lintDiagnostics;
35
35
  }
@@ -18,118 +18,111 @@ 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_5IQ5L5E4.checkUnsupportedDataProxy,
22
- forbiddenCmdWithDataProxyFlagMessage: () => import_chunk_5IQ5L5E4.forbiddenCmdWithDataProxyFlagMessage
21
+ checkUnsupportedDataProxy: () => import_chunk_BMMRL7AY.checkUnsupportedDataProxy,
22
+ forbiddenCmdWithDataProxyFlagMessage: () => import_chunk_BMMRL7AY.forbiddenCmdWithDataProxyFlagMessage
23
23
  });
24
24
  module.exports = __toCommonJS(checkUnsupportedDataProxy_exports);
25
- var import_chunk_5IQ5L5E4 = require("../chunk-5IQ5L5E4.js");
26
- var import_chunk_X3P4J7WW = require("../chunk-X3P4J7WW.js");
25
+ var import_chunk_BMMRL7AY = require("../chunk-BMMRL7AY.js");
27
26
  var import_chunk_LRU47BGE = require("../chunk-LRU47BGE.js");
28
27
  var import_chunk_OSHZ4P3G = require("../chunk-OSHZ4P3G.js");
29
28
  var import_chunk_X77CS5RK = require("../chunk-X77CS5RK.js");
30
- var import_chunk_F2OZV76L = require("../chunk-F2OZV76L.js");
31
- var import_chunk_RS2R7COT = require("../chunk-RS2R7COT.js");
32
- var import_chunk_4CGPN5SR = require("../chunk-4CGPN5SR.js");
29
+ var import_chunk_5MHUYAV3 = require("../chunk-5MHUYAV3.js");
30
+ var import_chunk_5I4ERIIY = require("../chunk-5I4ERIIY.js");
31
+ var import_chunk_GJSFP4V4 = require("../chunk-GJSFP4V4.js");
32
+ var import_chunk_X3P4J7WW = require("../chunk-X3P4J7WW.js");
33
33
  var import_chunk_GXW4NTU2 = require("../chunk-GXW4NTU2.js");
34
34
  var import_chunk_5FJ3MENK = require("../chunk-5FJ3MENK.js");
35
35
  var import_chunk_PFYALFCY = require("../chunk-PFYALFCY.js");
36
- var import_chunk_HO5HRHFZ = require("../chunk-HO5HRHFZ.js");
36
+ var import_chunk_5W3BSMTH = require("../chunk-5W3BSMTH.js");
37
37
  var import_chunk_ANU3HEGF = require("../chunk-ANU3HEGF.js");
38
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");
39
+ var import_chunk_MYLPCGTT = require("../chunk-MYLPCGTT.js");
40
+ var import_chunk_TGA7DC5A = require("../chunk-TGA7DC5A.js");
41
41
  var import_chunk_2SDPW6AX = require("../chunk-2SDPW6AX.js");
42
- var import_chunk_PZMRR772 = require("../chunk-PZMRR772.js");
42
+ var import_chunk_RBDYOTWB = require("../chunk-RBDYOTWB.js");
43
+ var import_chunk_ZKWDIAVF = require("../chunk-ZKWDIAVF.js");
43
44
  var import_chunk_7B5PXS6N = require("../chunk-7B5PXS6N.js");
44
45
  var import_chunk_UGR6KLZN = require("../chunk-UGR6KLZN.js");
45
46
  var import_chunk_CGFNDGGI = require("../chunk-CGFNDGGI.js");
47
+ var import_chunk_BM3JIFQT = require("../chunk-BM3JIFQT.js");
48
+ var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
49
+ var import_chunk_WV4QHCSM = require("../chunk-WV4QHCSM.js");
46
50
  var import_chunk_XXTPN4LB = require("../chunk-XXTPN4LB.js");
47
51
  var import_chunk_2IOZUH3U = require("../chunk-2IOZUH3U.js");
48
52
  var import_chunk_JTKAT4KZ = require("../chunk-JTKAT4KZ.js");
49
- var import_chunk_RBDYOTWB = require("../chunk-RBDYOTWB.js");
50
- var import_chunk_ZKWDIAVF = require("../chunk-ZKWDIAVF.js");
53
+ var import_chunk_SMJRM3EM = require("../chunk-SMJRM3EM.js");
54
+ var import_chunk_MLFKBBDL = require("../chunk-MLFKBBDL.js");
55
+ var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
51
56
  var import_chunk_CUD726EK = require("../chunk-CUD726EK.js");
52
57
  var import_chunk_BERN76ZI = require("../chunk-BERN76ZI.js");
53
- var import_chunk_46ABODUM = require("../chunk-46ABODUM.js");
54
- var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
55
- var import_chunk_RFB2U4GQ = require("../chunk-RFB2U4GQ.js");
56
- var import_chunk_UQUWZJVN = require("../chunk-UQUWZJVN.js");
57
- var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
58
58
  var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
59
- var import_chunk_WV4QHCSM = require("../chunk-WV4QHCSM.js");
60
- var import_chunk_D4VDA2TZ = require("../chunk-D4VDA2TZ.js");
61
- var import_chunk_HHG4DGHC = require("../chunk-HHG4DGHC.js");
62
- var import_chunk_CRVLHWC5 = require("../chunk-CRVLHWC5.js");
63
- var import_chunk_75BIJ5PX = require("../chunk-75BIJ5PX.js");
64
- var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
65
- var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
66
- var import_chunk_HW5RCZSE = require("../chunk-HW5RCZSE.js");
67
- var import_chunk_Y4TOGY6I = require("../chunk-Y4TOGY6I.js");
68
- var import_chunk_IL7PSY44 = require("../chunk-IL7PSY44.js");
59
+ var import_chunk_RFB2U4GQ = require("../chunk-RFB2U4GQ.js");
69
60
  var import_chunk_DODIJPCS = require("../chunk-DODIJPCS.js");
70
61
  var import_chunk_L6KOIJJ5 = require("../chunk-L6KOIJJ5.js");
71
62
  var import_chunk_NIWBAJZV = require("../chunk-NIWBAJZV.js");
72
63
  var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
73
64
  var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
74
65
  var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
75
- var import_chunk_AP3F7M3T = require("../chunk-AP3F7M3T.js");
66
+ var import_chunk_CGLLQXZE = require("../chunk-CGLLQXZE.js");
67
+ var import_chunk_CRVLHWC5 = require("../chunk-CRVLHWC5.js");
76
68
  var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
77
69
  var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
78
70
  var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
79
71
  var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
80
72
  var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
81
- var import_chunk_LFFCR67R = require("../chunk-LFFCR67R.js");
82
- var import_chunk_C7SAKLK2 = require("../chunk-C7SAKLK2.js");
83
- var import_chunk_GMW36QQF = require("../chunk-GMW36QQF.js");
84
- var import_chunk_OAT7ZJED = require("../chunk-OAT7ZJED.js");
85
- var import_chunk_6TTRTZXU = require("../chunk-6TTRTZXU.js");
86
- var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
87
- var import_chunk_E6MOBIU5 = require("../chunk-E6MOBIU5.js");
88
- var import_chunk_LU7NT333 = require("../chunk-LU7NT333.js");
89
- var import_chunk_TZJROXB3 = require("../chunk-TZJROXB3.js");
90
- var import_chunk_C47SCASR = require("../chunk-C47SCASR.js");
91
- var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
92
- var import_chunk_J7ZPY2XA = require("../chunk-J7ZPY2XA.js");
93
- var import_chunk_4JCVHBYR = require("../chunk-4JCVHBYR.js");
94
- var import_chunk_EYVG6XQS = require("../chunk-EYVG6XQS.js");
73
+ var import_chunk_HW5RCZSE = require("../chunk-HW5RCZSE.js");
74
+ var import_chunk_Y4TOGY6I = require("../chunk-Y4TOGY6I.js");
75
+ var import_chunk_IL7PSY44 = require("../chunk-IL7PSY44.js");
76
+ var import_chunk_22HIO2UL = require("../chunk-22HIO2UL.js");
77
+ var import_chunk_H5STSTVK = require("../chunk-H5STSTVK.js");
78
+ var import_chunk_ZKAM5JVB = require("../chunk-ZKAM5JVB.js");
79
+ var import_chunk_K5SXCDBM = require("../chunk-K5SXCDBM.js");
80
+ var import_chunk_S3KGFJ2G = require("../chunk-S3KGFJ2G.js");
81
+ var import_chunk_GL7OANR6 = require("../chunk-GL7OANR6.js");
95
82
  var import_chunk_D4VZUY3O = require("../chunk-D4VZUY3O.js");
96
- var import_chunk_D7OTFXCP = require("../chunk-D7OTFXCP.js");
97
- var import_chunk_PHFQSMQF = require("../chunk-PHFQSMQF.js");
83
+ var import_chunk_2UPB3LSW = require("../chunk-2UPB3LSW.js");
84
+ var import_chunk_NCYLUGLI = require("../chunk-NCYLUGLI.js");
85
+ var import_chunk_WSZXPLJQ = require("../chunk-WSZXPLJQ.js");
86
+ var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
87
+ var import_chunk_C47SCASR = require("../chunk-C47SCASR.js");
88
+ var import_chunk_IQLWIY62 = require("../chunk-IQLWIY62.js");
98
89
  var import_chunk_QN6PSQY7 = require("../chunk-QN6PSQY7.js");
90
+ var import_chunk_WU6O3W6S = require("../chunk-WU6O3W6S.js");
99
91
  var import_chunk_DTPFRZWV = require("../chunk-DTPFRZWV.js");
100
- var import_chunk_Y7XBA7JY = require("../chunk-Y7XBA7JY.js");
101
- var import_chunk_FGU7IK4W = require("../chunk-FGU7IK4W.js");
92
+ var import_chunk_AL7ZUBHY = require("../chunk-AL7ZUBHY.js");
93
+ var import_chunk_SQI3K6L7 = require("../chunk-SQI3K6L7.js");
102
94
  var import_chunk_6JE6QGSJ = require("../chunk-6JE6QGSJ.js");
103
95
  var import_chunk_BCQZ6JQE = require("../chunk-BCQZ6JQE.js");
104
- var import_chunk_WFNB7VRA = require("../chunk-WFNB7VRA.js");
96
+ var import_chunk_ARC7TW3L = require("../chunk-ARC7TW3L.js");
105
97
  var import_chunk_XYCIH36R = require("../chunk-XYCIH36R.js");
106
- var import_chunk_ERSH2BQA = require("../chunk-ERSH2BQA.js");
107
- var import_chunk_ZJWZK45Z = require("../chunk-ZJWZK45Z.js");
98
+ var import_chunk_OKVM3CW4 = require("../chunk-OKVM3CW4.js");
99
+ var import_chunk_J7ZPY2XA = require("../chunk-J7ZPY2XA.js");
108
100
  var import_chunk_2B26F5N3 = require("../chunk-2B26F5N3.js");
109
- var import_chunk_UHI6VYFX = require("../chunk-UHI6VYFX.js");
101
+ var import_chunk_WJKBKH3Y = require("../chunk-WJKBKH3Y.js");
110
102
  var import_chunk_JOIHHXR6 = require("../chunk-JOIHHXR6.js");
111
- var import_chunk_FYZCPL2Z = require("../chunk-FYZCPL2Z.js");
103
+ var import_chunk_HNRMSI3R = require("../chunk-HNRMSI3R.js");
112
104
  var import_chunk_M3GBKLGE = require("../chunk-M3GBKLGE.js");
113
- var import_chunk_IDINCQMN = require("../chunk-IDINCQMN.js");
105
+ var import_chunk_FF7OLLBP = require("../chunk-FF7OLLBP.js");
114
106
  var import_chunk_TWSLDIFL = require("../chunk-TWSLDIFL.js");
115
107
  var import_chunk_5DBOS77Y = require("../chunk-5DBOS77Y.js");
116
- var import_chunk_HFFWZTVM = require("../chunk-HFFWZTVM.js");
108
+ var import_chunk_BUQN4WLU = require("../chunk-BUQN4WLU.js");
117
109
  var import_chunk_KDHESRKE = require("../chunk-KDHESRKE.js");
118
110
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
119
111
  var import_chunk_LMVSIVKQ = require("../chunk-LMVSIVKQ.js");
120
112
  var import_chunk_BPDMLM32 = require("../chunk-BPDMLM32.js");
121
113
  var import_chunk_IOIAK7V7 = require("../chunk-IOIAK7V7.js");
122
- var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
123
114
  var import_chunk_WXRVYSYN = require("../chunk-WXRVYSYN.js");
124
115
  var import_chunk_SBUSVJCV = require("../chunk-SBUSVJCV.js");
125
116
  var import_chunk_LYFOJ5NK = require("../chunk-LYFOJ5NK.js");
126
117
  var import_chunk_LPNBWFQ3 = require("../chunk-LPNBWFQ3.js");
127
- var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.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");
118
+ var import_chunk_MEOOYUIZ = require("../chunk-MEOOYUIZ.js");
119
+ var import_chunk_KNNTV7IN = require("../chunk-KNNTV7IN.js");
120
+ var import_chunk_QSVWJ2S2 = require("../chunk-QSVWJ2S2.js");
131
121
  var import_chunk_KDP6C3CB = require("../chunk-KDP6C3CB.js");
132
- var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
122
+ var import_chunk_QOZ7USPD = require("../chunk-QOZ7USPD.js");
133
123
  var import_chunk_UMM35VP5 = require("../chunk-UMM35VP5.js");
134
124
  var import_chunk_5VQNKCKW = require("../chunk-5VQNKCKW.js");
125
+ var import_chunk_DYV47NUW = require("../chunk-DYV47NUW.js");
126
+ var import_chunk_ZJWZK45Z = require("../chunk-ZJWZK45Z.js");
127
+ var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
135
128
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,12 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getGeneratorSuccessMessage_exports = {};
20
20
  __export(getGeneratorSuccessMessage_exports, {
21
- getGeneratorSuccessMessage: () => import_chunk_WFNB7VRA.getGeneratorSuccessMessage
21
+ getGeneratorSuccessMessage: () => import_chunk_ARC7TW3L.getGeneratorSuccessMessage
22
22
  });
23
23
  module.exports = __toCommonJS(getGeneratorSuccessMessage_exports);
24
- var import_chunk_WFNB7VRA = require("../chunk-WFNB7VRA.js");
24
+ var import_chunk_ARC7TW3L = require("../chunk-ARC7TW3L.js");
25
25
  var import_chunk_XYCIH36R = require("../chunk-XYCIH36R.js");
26
- var import_chunk_ERSH2BQA = require("../chunk-ERSH2BQA.js");
27
26
  var import_chunk_IOIAK7V7 = require("../chunk-IOIAK7V7.js");
28
27
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
29
28
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -1,10 +1,4 @@
1
- import type { GetSchemaResult, SuccessfulLookupResult } from '@prisma/schema-files-loader';
2
- type PackageJsonLookupResult = SuccessfulLookupResult | {
3
- ok: false;
4
- error: {
5
- kind: 'PackageJsonNotConfigured';
6
- };
7
- };
1
+ import type { GetSchemaResult } from '@prisma/schema-files-loader';
8
2
  export type GetSchemaOptions = {
9
3
  cwd?: string;
10
4
  argumentName?: string;
@@ -28,11 +22,3 @@ export declare function getSchemaWithPath(schemaPathFromArgs?: string, schemaPat
28
22
  */
29
23
  export declare function getSchemaWithPathOptional(schemaPathFromArgs?: string, schemaPathFromConfig?: string, { cwd, argumentName }?: GetSchemaOptions): Promise<GetSchemaResult | null>;
30
24
  export declare function printSchemaLoadedMessage(schemaPath: string): void;
31
- /**
32
- * Trying to access this function results in a deprecation warning.
33
- * Users should be instructed to use the Prisma config file instead.
34
- * See: https://pris.ly/prisma-config.
35
- * @deprecated
36
- */
37
- export declare function getSchemaFromPackageJson(cwd: string): Promise<PackageJsonLookupResult>;
38
- export {};
@@ -18,12 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getSchema_exports = {};
20
20
  __export(getSchema_exports, {
21
- getSchemaFromPackageJson: () => import_chunk_EYVG6XQS.getSchemaFromPackageJson,
22
- getSchemaWithPath: () => import_chunk_EYVG6XQS.getSchemaWithPath,
23
- getSchemaWithPathOptional: () => import_chunk_EYVG6XQS.getSchemaWithPathOptional,
24
- printSchemaLoadedMessage: () => import_chunk_EYVG6XQS.printSchemaLoadedMessage
21
+ getSchemaWithPath: () => import_chunk_OKVM3CW4.getSchemaWithPath,
22
+ getSchemaWithPathOptional: () => import_chunk_OKVM3CW4.getSchemaWithPathOptional,
23
+ printSchemaLoadedMessage: () => import_chunk_OKVM3CW4.printSchemaLoadedMessage
25
24
  });
26
25
  module.exports = __toCommonJS(getSchema_exports);
27
- var import_chunk_EYVG6XQS = require("../chunk-EYVG6XQS.js");
26
+ var import_chunk_OKVM3CW4 = require("../chunk-OKVM3CW4.js");
28
27
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
29
28
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");