@prisma/internals 7.1.0-dev.3 → 7.1.0-dev.30

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 (48) hide show
  1. package/dist/{chunk-LYFOJ5NK.js → chunk-3U4QB2G3.js} +4 -6
  2. package/dist/{chunk-OKVM3CW4.js → chunk-42R3EIRM.js} +55 -31
  3. package/dist/{chunk-63BLJTNP.js → chunk-5HY5O3QI.js} +8 -8
  4. package/dist/{chunk-XWE6KPUV.js → chunk-5VJOIEUV.js} +5 -5
  5. package/dist/{chunk-45OGSI3O.js → chunk-AYNUHA2H.js} +8 -8
  6. package/dist/{chunk-XHCMC2VY.js → chunk-BJ6ZRB4X.js} +5 -5
  7. package/dist/{chunk-PHCC4RQK.js → chunk-D65MYNGN.js} +7 -7
  8. package/dist/{chunk-MAKVUSNK.js → chunk-EHIQW2AO.js} +5 -5
  9. package/dist/{chunk-KV5M6BWD.js → chunk-FQ7WIKWB.js} +8 -8
  10. package/dist/{chunk-6XDWK3XF.js → chunk-KXRZEF4O.js} +8 -8
  11. package/dist/{chunk-UIA6QRTF.js → chunk-LFSKUVWS.js} +5 -5
  12. package/dist/{chunk-XV3WHAKH.js → chunk-LVQSYNOU.js} +5 -5
  13. package/dist/{chunk-F3NCUEIW.js → chunk-MUPZZXLU.js} +8 -8
  14. package/dist/{chunk-ZWUKKRVR.js → chunk-N45JGAVD.js} +7 -7
  15. package/dist/{chunk-MXPUEQHZ.js → chunk-NOI2AJX3.js} +27 -34
  16. package/dist/{chunk-GD6GHRFU.js → chunk-NY2HELEV.js} +6 -6
  17. package/dist/{chunk-NHM75P2J.js → chunk-QMERU7AD.js} +5 -5
  18. package/dist/{chunk-L7W5THJX.js → chunk-RGHDR5I7.js} +8 -8
  19. package/dist/{chunk-AYH4F3GT.js → chunk-RGLVF6RI.js} +5 -5
  20. package/dist/{chunk-UMNKTAYQ.js → chunk-SLBWUMBE.js} +5 -5
  21. package/dist/{chunk-TRAG7WPX.js → chunk-SQL6LDBX.js} +4 -6
  22. package/dist/{chunk-GL7OANR6.js → chunk-TCDF53CN.js} +6 -6
  23. package/dist/{chunk-UYMUOW4P.js → chunk-U2AE24P7.js} +27 -34
  24. package/dist/{chunk-UUZVVTOP.js → chunk-UOGUU34E.js} +5 -5
  25. package/dist/cli/checkUnsupportedDataProxy.js +16 -16
  26. package/dist/cli/getSchema.d.ts +27 -5
  27. package/dist/cli/getSchema.js +7 -4
  28. package/dist/cli/hashes.d.ts +2 -1
  29. package/dist/cli/hashes.js +4 -4
  30. package/dist/cli/schemaContext.d.ts +2 -2
  31. package/dist/cli/schemaContext.js +17 -17
  32. package/dist/cli/types.d.ts +1 -1
  33. package/dist/convertCredentials.js +4 -4
  34. package/dist/engine-commands/errorHelpers.js +4 -4
  35. package/dist/engine-commands/formatSchema.js +15 -15
  36. package/dist/engine-commands/getConfig.js +7 -7
  37. package/dist/engine-commands/getDmmf.js +7 -7
  38. package/dist/engine-commands/index.js +22 -22
  39. package/dist/engine-commands/lintSchema.js +8 -8
  40. package/dist/engine-commands/mergeSchemas.js +7 -7
  41. package/dist/engine-commands/validate.js +7 -7
  42. package/dist/get-generators/getGenerators.js +18 -18
  43. package/dist/index.d.ts +1 -1
  44. package/dist/index.js +44 -43
  45. package/dist/schemaEngineCommands.js +6 -6
  46. package/dist/utils/getVersionFromPackageJson.js +3 -3
  47. package/dist/wasm.js +5 -5
  48. package/package.json +13 -13
@@ -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_MXPUEQHZ_exports = {};
30
- __export(chunk_MXPUEQHZ_exports, {
29
+ var chunk_NOI2AJX3_exports = {};
30
+ __export(chunk_NOI2AJX3_exports, {
31
31
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
32
32
  forbiddenCmdWithDataProxyFlagMessage: () => forbiddenCmdWithDataProxyFlagMessage,
33
33
  formatSchema: () => formatSchema,
@@ -40,7 +40,7 @@ __export(chunk_MXPUEQHZ_exports, {
40
40
  processSchemaResult: () => processSchemaResult,
41
41
  skipIndex: () => skipIndex
42
42
  });
43
- module.exports = __toCommonJS(chunk_MXPUEQHZ_exports);
43
+ module.exports = __toCommonJS(chunk_NOI2AJX3_exports);
44
44
  var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
45
45
  var import_chunk_PKOQQT7I = require("./chunk-PKOQQT7I.js");
46
46
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
@@ -51,12 +51,12 @@ var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
51
51
  var import_chunk_BGMZPA2F = require("./chunk-BGMZPA2F.js");
52
52
  var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
53
53
  var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
54
- var import_chunk_MAKVUSNK = require("./chunk-MAKVUSNK.js");
55
- var import_chunk_ZWUKKRVR = require("./chunk-ZWUKKRVR.js");
56
- var import_chunk_45OGSI3O = require("./chunk-45OGSI3O.js");
57
- var import_chunk_L7W5THJX = require("./chunk-L7W5THJX.js");
58
- var import_chunk_XHCMC2VY = require("./chunk-XHCMC2VY.js");
59
- var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
54
+ var import_chunk_LFSKUVWS = require("./chunk-LFSKUVWS.js");
55
+ var import_chunk_N45JGAVD = require("./chunk-N45JGAVD.js");
56
+ var import_chunk_KXRZEF4O = require("./chunk-KXRZEF4O.js");
57
+ var import_chunk_5HY5O3QI = require("./chunk-5HY5O3QI.js");
58
+ var import_chunk_BJ6ZRB4X = require("./chunk-BJ6ZRB4X.js");
59
+ var import_chunk_42R3EIRM = require("./chunk-42R3EIRM.js");
60
60
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
61
61
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
62
62
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -77,7 +77,7 @@ var debug = (0, import_debug.default)("prisma:format");
77
77
  async function formatSchema({ schemas }, inputFormattingOptions) {
78
78
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
79
79
  handleFormatPanic(() => {
80
- import_chunk_XHCMC2VY.prismaSchemaWasm.debug_panic();
80
+ import_chunk_BJ6ZRB4X.prismaSchemaWasm.debug_panic();
81
81
  });
82
82
  }
83
83
  const defaultFormattingOptions = {
@@ -94,10 +94,10 @@ async function formatSchema({ schemas }, inputFormattingOptions) {
94
94
  const { formattedMultipleSchemas, lintDiagnostics } = handleFormatPanic(() => {
95
95
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas), documentFormattingParams);
96
96
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
97
- const lintDiagnostics2 = (0, import_chunk_MAKVUSNK.lintSchema)({ schemas: formattedMultipleSchemas2 });
97
+ const lintDiagnostics2 = (0, import_chunk_LFSKUVWS.lintSchema)({ schemas: formattedMultipleSchemas2 });
98
98
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
99
99
  });
100
- const lintWarnings = (0, import_chunk_MAKVUSNK.getLintWarningsAsText)(lintDiagnostics);
100
+ const lintWarnings = (0, import_chunk_LFSKUVWS.getLintWarningsAsText)(lintDiagnostics);
101
101
  if (lintWarnings && import_chunk_ZJWZK45Z.logger_exports.should.warn()) {
102
102
  console.warn(lintWarnings);
103
103
  }
@@ -124,29 +124,22 @@ function handleFormatPanic(tryCb) {
124
124
  }
125
125
  }
126
126
  function formatWasm(schema, documentFormattingParams) {
127
- const formattedSchema = import_chunk_XHCMC2VY.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
127
+ const formattedSchema = import_chunk_BJ6ZRB4X.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
128
128
  return formattedSchema;
129
129
  }
130
- async function loadSchemaContext({
131
- schemaPathFromArg,
132
- schemaPathFromConfig,
133
- printLoadMessage = true,
134
- allowNull = false,
135
- schemaPathArgumentName = "--schema",
136
- cwd = process.cwd()
137
- } = {}) {
130
+ async function loadSchemaContext({ schemaPath, printLoadMessage, allowNull, schemaPathArgumentName, cwd } = {
131
+ schemaPath: { baseDir: process.cwd() },
132
+ printLoadMessage: true,
133
+ allowNull: false,
134
+ schemaPathArgumentName: "--schema",
135
+ cwd: process.cwd()
136
+ }) {
138
137
  let schemaResult = null;
139
138
  if (allowNull) {
140
- schemaResult = await (0, import_chunk_OKVM3CW4.getSchemaWithPathOptional)(schemaPathFromArg, schemaPathFromConfig, {
141
- argumentName: schemaPathArgumentName,
142
- cwd
143
- });
139
+ schemaResult = await (0, import_chunk_42R3EIRM.getSchemaWithPathOptional)({ schemaPath, cwd, argumentName: schemaPathArgumentName });
144
140
  if (!schemaResult) return null;
145
141
  } else {
146
- schemaResult = await (0, import_chunk_OKVM3CW4.getSchemaWithPath)(schemaPathFromArg, schemaPathFromConfig, {
147
- argumentName: schemaPathArgumentName,
148
- cwd
149
- });
142
+ schemaResult = await (0, import_chunk_42R3EIRM.getSchemaWithPath)({ schemaPath, cwd, argumentName: schemaPathArgumentName });
150
143
  }
151
144
  return processSchemaResult({ schemaResult, printLoadMessage, cwd });
152
145
  }
@@ -158,9 +151,9 @@ async function processSchemaResult({
158
151
  const loadedFromPathForLogMessages = import_node_path.default.relative(cwd, schemaResult.schemaPath);
159
152
  const schemaRootDir = schemaResult.schemaRootDir || cwd;
160
153
  if (printLoadMessage) {
161
- (0, import_chunk_OKVM3CW4.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
154
+ (0, import_chunk_42R3EIRM.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
162
155
  }
163
- const configFromPsl = await (0, import_chunk_45OGSI3O.getConfig)({ datamodel: schemaResult.schemas });
156
+ const configFromPsl = await (0, import_chunk_KXRZEF4O.getConfig)({ datamodel: schemaResult.schemas });
164
157
  const primaryDatasource = configFromPsl.datasources.at(0);
165
158
  return {
166
159
  schemaFiles: schemaResult.schemas,
@@ -206,7 +199,7 @@ async function getGenerators(options) {
206
199
  allowNoModels = true,
207
200
  typedSql
208
201
  } = options;
209
- const schemaContext = !options.schemaContext && schemaPath ? await loadSchemaContext({ schemaPathFromArg: schemaPath }) : options.schemaContext;
202
+ const schemaContext = !options.schemaContext && schemaPath ? await loadSchemaContext({ schemaPath: { cliProvidedPath: schemaPath } }) : options.schemaContext;
210
203
  if (!schemaContext) {
211
204
  throw new Error(`no schema provided for getGenerators`);
212
205
  }
@@ -215,7 +208,7 @@ async function getGenerators(options) {
215
208
  }
216
209
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
217
210
  const previewFeatures = (0, import_chunk_CRVLHWC5.extractPreviewFeatures)(schemaContext.generators);
218
- const dmmf = await (0, import_chunk_L7W5THJX.getDMMF)({
211
+ const dmmf = await (0, import_chunk_5HY5O3QI.getDMMF)({
219
212
  datamodel: schemaContext.schemaFiles,
220
213
  previewFeatures
221
214
  });
@@ -266,7 +259,7 @@ You need to define \`output\` in the generator block in the schema file.`
266
259
  fromEnvVar: null
267
260
  };
268
261
  }
269
- const datamodel = (0, import_chunk_ZWUKKRVR.mergeSchemas)({ schemas: schemaContext.schemaFiles });
262
+ const datamodel = (0, import_chunk_N45JGAVD.mergeSchemas)({ schemas: schemaContext.schemaFiles });
270
263
  const options2 = {
271
264
  datamodel,
272
265
  datasources: schemaContext.datasources,
@@ -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_GD6GHRFU_exports = {};
20
- __export(chunk_GD6GHRFU_exports, {
19
+ var chunk_NY2HELEV_exports = {};
20
+ __export(chunk_NY2HELEV_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_GD6GHRFU_exports);
23
+ module.exports = __toCommonJS(chunk_NY2HELEV_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: "7.1.0-dev.3",
29
+ version: "7.1.0-dev.30",
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",
@@ -107,8 +107,8 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
107
107
  "@prisma/generator": "workspace:*",
108
108
  "@prisma/generator-helper": "workspace:*",
109
109
  "@prisma/get-platform": "workspace:*",
110
- "@prisma/prisma-schema-wasm": "6.20.0-16.next-0c19ccc313cf9911a90d99d2ac2eb0280c76c513",
111
- "@prisma/schema-engine-wasm": "6.20.0-16.next-0c19ccc313cf9911a90d99d2ac2eb0280c76c513",
110
+ "@prisma/prisma-schema-wasm": "7.1.0-5.ab17e348034e9823a063101c707b39f4ba1e6dd4",
111
+ "@prisma/schema-engine-wasm": "7.1.0-5.ab17e348034e9823a063101c707b39f4ba1e6dd4",
112
112
  "@prisma/schema-files-loader": "workspace:*",
113
113
  arg: "5.0.2",
114
114
  prompts: "2.4.2"
@@ -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_NHM75P2J_exports = {};
20
- __export(chunk_NHM75P2J_exports, {
19
+ var chunk_QMERU7AD_exports = {};
20
+ __export(chunk_QMERU7AD_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_NHM75P2J_exports);
23
+ module.exports = __toCommonJS(chunk_QMERU7AD_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) {
@@ -107,8 +107,8 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
107
107
  "@prisma/generator": "workspace:*",
108
108
  "@prisma/generator-helper": "workspace:*",
109
109
  "@prisma/get-platform": "workspace:*",
110
- "@prisma/prisma-schema-wasm": "6.20.0-16.next-0c19ccc313cf9911a90d99d2ac2eb0280c76c513",
111
- "@prisma/schema-engine-wasm": "6.20.0-16.next-0c19ccc313cf9911a90d99d2ac2eb0280c76c513",
110
+ "@prisma/prisma-schema-wasm": "7.1.0-5.ab17e348034e9823a063101c707b39f4ba1e6dd4",
111
+ "@prisma/schema-engine-wasm": "7.1.0-5.ab17e348034e9823a063101c707b39f4ba1e6dd4",
112
112
  "@prisma/schema-files-loader": "workspace:*",
113
113
  arg: "5.0.2",
114
114
  prompts: "2.4.2"
@@ -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_L7W5THJX_exports = {};
30
- __export(chunk_L7W5THJX_exports, {
29
+ var chunk_RGHDR5I7_exports = {};
30
+ __export(chunk_RGHDR5I7_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_L7W5THJX_exports);
34
+ module.exports = __toCommonJS(chunk_RGHDR5I7_exports);
35
35
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
- var import_chunk_UMNKTAYQ = require("./chunk-UMNKTAYQ.js");
38
- var import_chunk_XHCMC2VY = require("./chunk-XHCMC2VY.js");
37
+ var import_chunk_UOGUU34E = require("./chunk-UOGUU34E.js");
38
+ var import_chunk_LVQSYNOU = require("./chunk-LVQSYNOU.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_UMNKTAYQ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_UOGUU34E.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_GET_DMMF) {
72
72
  debug("Triggering a Rust panic...");
73
- import_chunk_XHCMC2VY.prismaSchemaWasm.debug_panic();
73
+ import_chunk_LVQSYNOU.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_XHCMC2VY.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_LVQSYNOU.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_AYH4F3GT_exports = {};
20
- __export(chunk_AYH4F3GT_exports, {
19
+ var chunk_RGLVF6RI_exports = {};
20
+ __export(chunk_RGLVF6RI_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_AYH4F3GT_exports);
24
- var import_chunk_NHM75P2J = require("./chunk-NHM75P2J.js");
25
- var packageJson = (0, import_chunk_NHM75P2J.require_package)();
23
+ module.exports = __toCommonJS(chunk_RGLVF6RI_exports);
24
+ var import_chunk_QMERU7AD = require("./chunk-QMERU7AD.js");
25
+ var packageJson = (0, import_chunk_QMERU7AD.require_package)();
26
26
  var version = packageJson.version;
@@ -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_UMNKTAYQ_exports = {};
20
- __export(chunk_UMNKTAYQ_exports, {
19
+ var chunk_SLBWUMBE_exports = {};
20
+ __export(chunk_SLBWUMBE_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_UMNKTAYQ_exports);
23
+ module.exports = __toCommonJS(chunk_SLBWUMBE_exports);
24
24
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
25
- var import_chunk_XWE6KPUV = require("./chunk-XWE6KPUV.js");
25
+ var import_chunk_RGLVF6RI = require("./chunk-RGLVF6RI.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_XWE6KPUV.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_RGLVF6RI.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_TRAG7WPX_exports = {};
20
- __export(chunk_TRAG7WPX_exports, {
19
+ var chunk_SQL6LDBX_exports = {};
20
+ __export(chunk_SQL6LDBX_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_TRAG7WPX_exports);
27
+ module.exports = __toCommonJS(chunk_SQL6LDBX_exports);
28
28
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
29
29
  var import_chunk_FASYSGWP = require("./chunk-FASYSGWP.js");
30
30
  var import_fetch_engine = require("@prisma/fetch-engine");
@@ -50,9 +50,7 @@ function parseJsonFromStderr(stderr) {
50
50
  }
51
51
  async function canConnectToDatabase(connectionString, cwd = process.cwd(), schemaEnginePath) {
52
52
  if (!connectionString) {
53
- throw new Error(
54
- "Connection url is empty. See https://www.prisma.io/docs/reference/database-reference/connection-urls"
55
- );
53
+ throw new Error("Connection url is empty. See https://pris.ly/d/config-url");
56
54
  }
57
55
  try {
58
56
  await execaCommand({
@@ -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_GL7OANR6_exports = {};
30
- __export(chunk_GL7OANR6_exports, {
29
+ var chunk_TCDF53CN_exports = {};
30
+ __export(chunk_TCDF53CN_exports, {
31
31
  getCLIPathHash: () => getCLIPathHash,
32
32
  getProjectHash: () => getProjectHash
33
33
  });
34
- module.exports = __toCommonJS(chunk_GL7OANR6_exports);
35
- var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
34
+ module.exports = __toCommonJS(chunk_TCDF53CN_exports);
35
+ var import_chunk_42R3EIRM = require("./chunk-42R3EIRM.js");
36
36
  var import_crypto = __toESM(require("crypto"));
37
- async function getProjectHash(schemaPathFromArgs, schemaPathFromConfig) {
38
- const projectPath = (await (0, import_chunk_OKVM3CW4.getSchemaWithPath)(schemaPathFromArgs, schemaPathFromConfig))?.schemaPath ?? process.cwd();
37
+ async function getProjectHash(schemaPath) {
38
+ const projectPath = (await (0, import_chunk_42R3EIRM.getSchemaWithPath)({ schemaPath }))?.schemaPath ?? process.cwd();
39
39
  return import_crypto.default.createHash("sha256").update(projectPath).digest("hex").substring(0, 8);
40
40
  }
41
41
  function getCLIPathHash() {
@@ -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_UYMUOW4P_exports = {};
30
- __export(chunk_UYMUOW4P_exports, {
29
+ var chunk_U2AE24P7_exports = {};
30
+ __export(chunk_U2AE24P7_exports, {
31
31
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
32
32
  forbiddenCmdWithDataProxyFlagMessage: () => forbiddenCmdWithDataProxyFlagMessage,
33
33
  formatSchema: () => formatSchema,
@@ -40,7 +40,7 @@ __export(chunk_UYMUOW4P_exports, {
40
40
  processSchemaResult: () => processSchemaResult,
41
41
  skipIndex: () => skipIndex
42
42
  });
43
- module.exports = __toCommonJS(chunk_UYMUOW4P_exports);
43
+ module.exports = __toCommonJS(chunk_U2AE24P7_exports);
44
44
  var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
45
45
  var import_chunk_PKOQQT7I = require("./chunk-PKOQQT7I.js");
46
46
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
@@ -51,12 +51,12 @@ var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
51
51
  var import_chunk_BGMZPA2F = require("./chunk-BGMZPA2F.js");
52
52
  var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
53
53
  var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
54
- var import_chunk_UIA6QRTF = require("./chunk-UIA6QRTF.js");
55
- var import_chunk_PHCC4RQK = require("./chunk-PHCC4RQK.js");
56
- var import_chunk_6XDWK3XF = require("./chunk-6XDWK3XF.js");
57
- var import_chunk_63BLJTNP = require("./chunk-63BLJTNP.js");
58
- var import_chunk_XV3WHAKH = require("./chunk-XV3WHAKH.js");
59
- var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
54
+ var import_chunk_EHIQW2AO = require("./chunk-EHIQW2AO.js");
55
+ var import_chunk_D65MYNGN = require("./chunk-D65MYNGN.js");
56
+ var import_chunk_AYNUHA2H = require("./chunk-AYNUHA2H.js");
57
+ var import_chunk_RGHDR5I7 = require("./chunk-RGHDR5I7.js");
58
+ var import_chunk_LVQSYNOU = require("./chunk-LVQSYNOU.js");
59
+ var import_chunk_42R3EIRM = require("./chunk-42R3EIRM.js");
60
60
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
61
61
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
62
62
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -77,7 +77,7 @@ var debug = (0, import_debug.default)("prisma:format");
77
77
  async function formatSchema({ schemas }, inputFormattingOptions) {
78
78
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
79
79
  handleFormatPanic(() => {
80
- import_chunk_XV3WHAKH.prismaSchemaWasm.debug_panic();
80
+ import_chunk_LVQSYNOU.prismaSchemaWasm.debug_panic();
81
81
  });
82
82
  }
83
83
  const defaultFormattingOptions = {
@@ -94,10 +94,10 @@ async function formatSchema({ schemas }, inputFormattingOptions) {
94
94
  const { formattedMultipleSchemas, lintDiagnostics } = handleFormatPanic(() => {
95
95
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas), documentFormattingParams);
96
96
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
97
- const lintDiagnostics2 = (0, import_chunk_UIA6QRTF.lintSchema)({ schemas: formattedMultipleSchemas2 });
97
+ const lintDiagnostics2 = (0, import_chunk_EHIQW2AO.lintSchema)({ schemas: formattedMultipleSchemas2 });
98
98
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
99
99
  });
100
- const lintWarnings = (0, import_chunk_UIA6QRTF.getLintWarningsAsText)(lintDiagnostics);
100
+ const lintWarnings = (0, import_chunk_EHIQW2AO.getLintWarningsAsText)(lintDiagnostics);
101
101
  if (lintWarnings && import_chunk_ZJWZK45Z.logger_exports.should.warn()) {
102
102
  console.warn(lintWarnings);
103
103
  }
@@ -124,29 +124,22 @@ function handleFormatPanic(tryCb) {
124
124
  }
125
125
  }
126
126
  function formatWasm(schema, documentFormattingParams) {
127
- const formattedSchema = import_chunk_XV3WHAKH.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
127
+ const formattedSchema = import_chunk_LVQSYNOU.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
128
128
  return formattedSchema;
129
129
  }
130
- async function loadSchemaContext({
131
- schemaPathFromArg,
132
- schemaPathFromConfig,
133
- printLoadMessage = true,
134
- allowNull = false,
135
- schemaPathArgumentName = "--schema",
136
- cwd = process.cwd()
137
- } = {}) {
130
+ async function loadSchemaContext({ schemaPath, printLoadMessage, allowNull, schemaPathArgumentName, cwd } = {
131
+ schemaPath: { baseDir: process.cwd() },
132
+ printLoadMessage: true,
133
+ allowNull: false,
134
+ schemaPathArgumentName: "--schema",
135
+ cwd: process.cwd()
136
+ }) {
138
137
  let schemaResult = null;
139
138
  if (allowNull) {
140
- schemaResult = await (0, import_chunk_OKVM3CW4.getSchemaWithPathOptional)(schemaPathFromArg, schemaPathFromConfig, {
141
- argumentName: schemaPathArgumentName,
142
- cwd
143
- });
139
+ schemaResult = await (0, import_chunk_42R3EIRM.getSchemaWithPathOptional)({ schemaPath, cwd, argumentName: schemaPathArgumentName });
144
140
  if (!schemaResult) return null;
145
141
  } else {
146
- schemaResult = await (0, import_chunk_OKVM3CW4.getSchemaWithPath)(schemaPathFromArg, schemaPathFromConfig, {
147
- argumentName: schemaPathArgumentName,
148
- cwd
149
- });
142
+ schemaResult = await (0, import_chunk_42R3EIRM.getSchemaWithPath)({ schemaPath, cwd, argumentName: schemaPathArgumentName });
150
143
  }
151
144
  return processSchemaResult({ schemaResult, printLoadMessage, cwd });
152
145
  }
@@ -158,9 +151,9 @@ async function processSchemaResult({
158
151
  const loadedFromPathForLogMessages = import_node_path.default.relative(cwd, schemaResult.schemaPath);
159
152
  const schemaRootDir = schemaResult.schemaRootDir || cwd;
160
153
  if (printLoadMessage) {
161
- (0, import_chunk_OKVM3CW4.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
154
+ (0, import_chunk_42R3EIRM.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
162
155
  }
163
- const configFromPsl = await (0, import_chunk_6XDWK3XF.getConfig)({ datamodel: schemaResult.schemas });
156
+ const configFromPsl = await (0, import_chunk_AYNUHA2H.getConfig)({ datamodel: schemaResult.schemas });
164
157
  const primaryDatasource = configFromPsl.datasources.at(0);
165
158
  return {
166
159
  schemaFiles: schemaResult.schemas,
@@ -206,7 +199,7 @@ async function getGenerators(options) {
206
199
  allowNoModels = true,
207
200
  typedSql
208
201
  } = options;
209
- const schemaContext = !options.schemaContext && schemaPath ? await loadSchemaContext({ schemaPathFromArg: schemaPath }) : options.schemaContext;
202
+ const schemaContext = !options.schemaContext && schemaPath ? await loadSchemaContext({ schemaPath: { cliProvidedPath: schemaPath } }) : options.schemaContext;
210
203
  if (!schemaContext) {
211
204
  throw new Error(`no schema provided for getGenerators`);
212
205
  }
@@ -215,7 +208,7 @@ async function getGenerators(options) {
215
208
  }
216
209
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
217
210
  const previewFeatures = (0, import_chunk_CRVLHWC5.extractPreviewFeatures)(schemaContext.generators);
218
- const dmmf = await (0, import_chunk_63BLJTNP.getDMMF)({
211
+ const dmmf = await (0, import_chunk_RGHDR5I7.getDMMF)({
219
212
  datamodel: schemaContext.schemaFiles,
220
213
  previewFeatures
221
214
  });
@@ -266,7 +259,7 @@ You need to define \`output\` in the generator block in the schema file.`
266
259
  fromEnvVar: null
267
260
  };
268
261
  }
269
- const datamodel = (0, import_chunk_PHCC4RQK.mergeSchemas)({ schemas: schemaContext.schemaFiles });
262
+ const datamodel = (0, import_chunk_D65MYNGN.mergeSchemas)({ schemas: schemaContext.schemaFiles });
270
263
  const options2 = {
271
264
  datamodel,
272
265
  datasources: schemaContext.datasources,
@@ -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_UUZVVTOP_exports = {};
20
- __export(chunk_UUZVVTOP_exports, {
19
+ var chunk_UOGUU34E_exports = {};
20
+ __export(chunk_UOGUU34E_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_UUZVVTOP_exports);
23
+ module.exports = __toCommonJS(chunk_UOGUU34E_exports);
24
24
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
25
- var import_chunk_AYH4F3GT = require("./chunk-AYH4F3GT.js");
25
+ var import_chunk_5VJOIEUV = require("./chunk-5VJOIEUV.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_AYH4F3GT.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_5VJOIEUV.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -18,11 +18,11 @@ 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_MXPUEQHZ.checkUnsupportedDataProxy,
22
- forbiddenCmdWithDataProxyFlagMessage: () => import_chunk_MXPUEQHZ.forbiddenCmdWithDataProxyFlagMessage
21
+ checkUnsupportedDataProxy: () => import_chunk_U2AE24P7.checkUnsupportedDataProxy,
22
+ forbiddenCmdWithDataProxyFlagMessage: () => import_chunk_U2AE24P7.forbiddenCmdWithDataProxyFlagMessage
23
23
  });
24
24
  module.exports = __toCommonJS(checkUnsupportedDataProxy_exports);
25
- var import_chunk_MXPUEQHZ = require("../chunk-MXPUEQHZ.js");
25
+ var import_chunk_U2AE24P7 = require("../chunk-U2AE24P7.js");
26
26
  var import_chunk_X77CS5RK = require("../chunk-X77CS5RK.js");
27
27
  var import_chunk_PKOQQT7I = require("../chunk-PKOQQT7I.js");
28
28
  var import_chunk_5I4ERIIY = require("../chunk-5I4ERIIY.js");
@@ -74,30 +74,30 @@ var import_chunk_Y4TOGY6I = require("../chunk-Y4TOGY6I.js");
74
74
  var import_chunk_IL7PSY44 = require("../chunk-IL7PSY44.js");
75
75
  var import_chunk_V6DWK6TN = require("../chunk-V6DWK6TN.js");
76
76
  var import_chunk_MNP6VO5F = require("../chunk-MNP6VO5F.js");
77
- var import_chunk_MAKVUSNK = require("../chunk-MAKVUSNK.js");
78
- var import_chunk_ZWUKKRVR = require("../chunk-ZWUKKRVR.js");
79
- var import_chunk_F3NCUEIW = require("../chunk-F3NCUEIW.js");
80
- var import_chunk_GL7OANR6 = require("../chunk-GL7OANR6.js");
77
+ var import_chunk_EHIQW2AO = require("../chunk-EHIQW2AO.js");
78
+ var import_chunk_D65MYNGN = require("../chunk-D65MYNGN.js");
79
+ var import_chunk_MUPZZXLU = require("../chunk-MUPZZXLU.js");
80
+ var import_chunk_TCDF53CN = require("../chunk-TCDF53CN.js");
81
81
  var import_chunk_D4VZUY3O = require("../chunk-D4VZUY3O.js");
82
- var import_chunk_45OGSI3O = require("../chunk-45OGSI3O.js");
83
- var import_chunk_L7W5THJX = require("../chunk-L7W5THJX.js");
82
+ var import_chunk_AYNUHA2H = require("../chunk-AYNUHA2H.js");
83
+ var import_chunk_RGHDR5I7 = require("../chunk-RGHDR5I7.js");
84
84
  var import_chunk_WSZXPLJQ = require("../chunk-WSZXPLJQ.js");
85
85
  var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
86
86
  var import_chunk_C47SCASR = require("../chunk-C47SCASR.js");
87
- var import_chunk_UMNKTAYQ = require("../chunk-UMNKTAYQ.js");
87
+ var import_chunk_UOGUU34E = require("../chunk-UOGUU34E.js");
88
88
  var import_chunk_QN6PSQY7 = require("../chunk-QN6PSQY7.js");
89
- var import_chunk_XWE6KPUV = require("../chunk-XWE6KPUV.js");
89
+ var import_chunk_5VJOIEUV = require("../chunk-5VJOIEUV.js");
90
90
  var import_chunk_DTPFRZWV = require("../chunk-DTPFRZWV.js");
91
- var import_chunk_XHCMC2VY = require("../chunk-XHCMC2VY.js");
92
- var import_chunk_GD6GHRFU = require("../chunk-GD6GHRFU.js");
91
+ var import_chunk_LVQSYNOU = require("../chunk-LVQSYNOU.js");
92
+ var import_chunk_NY2HELEV = require("../chunk-NY2HELEV.js");
93
93
  var import_chunk_6JE6QGSJ = require("../chunk-6JE6QGSJ.js");
94
94
  var import_chunk_NBWRGVYR = require("../chunk-NBWRGVYR.js");
95
95
  var import_chunk_ARC7TW3L = require("../chunk-ARC7TW3L.js");
96
96
  var import_chunk_XYCIH36R = require("../chunk-XYCIH36R.js");
97
- var import_chunk_OKVM3CW4 = require("../chunk-OKVM3CW4.js");
97
+ var import_chunk_42R3EIRM = require("../chunk-42R3EIRM.js");
98
98
  var import_chunk_J7ZPY2XA = require("../chunk-J7ZPY2XA.js");
99
99
  var import_chunk_2B26F5N3 = require("../chunk-2B26F5N3.js");
100
- var import_chunk_TRAG7WPX = require("../chunk-TRAG7WPX.js");
100
+ var import_chunk_SQL6LDBX = require("../chunk-SQL6LDBX.js");
101
101
  var import_chunk_JOIHHXR6 = require("../chunk-JOIHHXR6.js");
102
102
  var import_chunk_FASYSGWP = require("../chunk-FASYSGWP.js");
103
103
  var import_chunk_M3GBKLGE = require("../chunk-M3GBKLGE.js");
@@ -111,7 +111,7 @@ var import_chunk_BPDMLM32 = require("../chunk-BPDMLM32.js");
111
111
  var import_chunk_IOIAK7V7 = require("../chunk-IOIAK7V7.js");
112
112
  var import_chunk_WXRVYSYN = require("../chunk-WXRVYSYN.js");
113
113
  var import_chunk_SBUSVJCV = require("../chunk-SBUSVJCV.js");
114
- var import_chunk_LYFOJ5NK = require("../chunk-LYFOJ5NK.js");
114
+ var import_chunk_3U4QB2G3 = require("../chunk-3U4QB2G3.js");
115
115
  var import_chunk_LPNBWFQ3 = require("../chunk-LPNBWFQ3.js");
116
116
  var import_chunk_5AI4FIZ3 = require("../chunk-5AI4FIZ3.js");
117
117
  var import_chunk_NVNI2SRU = require("../chunk-NVNI2SRU.js");
@@ -1,15 +1,35 @@
1
1
  import type { GetSchemaResult } from '@prisma/schema-files-loader';
2
2
  export type GetSchemaOptions = {
3
+ schemaPath: SchemaPathInput;
3
4
  cwd?: string;
4
5
  argumentName?: string;
5
6
  };
7
+ /**
8
+ * Creates SchemaPathInput based on a combination of possible inputs
9
+ * from CLI args, config file, or base directory.
10
+ * `baseDir` is either the directory containing the prisma config file or the working directory
11
+ * of the CLI invocation if no config file is found.
12
+ */
13
+ export declare function createSchemaPathInput({ schemaPathFromArgs, schemaPathFromConfig, baseDir, }: {
14
+ schemaPathFromArgs?: string;
15
+ schemaPathFromConfig?: string;
16
+ baseDir: string;
17
+ }): SchemaPathInput;
6
18
  /**
7
19
  * Loads the schema, throws an error if it is not found
8
- * @param schemaPathFromArgs
9
- * @param schemaPathFromConfig
10
- * @param opts
11
20
  */
12
- export declare function getSchemaWithPath(schemaPathFromArgs?: string, schemaPathFromConfig?: string, { cwd, argumentName }?: GetSchemaOptions): Promise<GetSchemaResult>;
21
+ export declare function getSchemaWithPath({ schemaPath, cwd, argumentName, }: GetSchemaOptions): Promise<GetSchemaResult>;
22
+ /**
23
+ * The schema path can be provided as a CLI argument, a configuration file, or a base directory
24
+ * that is expected to contain the schema in one of the default locations.
25
+ */
26
+ export type SchemaPathInput = {
27
+ cliProvidedPath: string;
28
+ } | {
29
+ configProvidedPath: string;
30
+ } | {
31
+ baseDir: string;
32
+ };
13
33
  /**
14
34
  * Loads the schema, returns null if it is not found
15
35
  * Throws an error if schema is specified explicitly in
@@ -20,5 +40,7 @@ export declare function getSchemaWithPath(schemaPathFromArgs?: string, schemaPat
20
40
  * @param opts
21
41
  * @returns
22
42
  */
23
- export declare function getSchemaWithPathOptional(schemaPathFromArgs?: string, schemaPathFromConfig?: string, { cwd, argumentName }?: GetSchemaOptions): Promise<GetSchemaResult | null>;
43
+ export declare function getSchemaWithPathOptional({ schemaPath, cwd, argumentName, }: GetSchemaOptions): Promise<GetSchemaResult | null>;
24
44
  export declare function printSchemaLoadedMessage(schemaPath: string): void;
45
+ export declare function getCliProvidedSchemaFile(schemaPathFromArgs: string, cwd?: string, argumentName?: string): Promise<GetSchemaResult>;
46
+ export declare function getConfigProvidedSchemaFile(schemaPathFromConfig: string): Promise<GetSchemaResult>;
@@ -18,11 +18,14 @@ 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
- getSchemaWithPath: () => import_chunk_OKVM3CW4.getSchemaWithPath,
22
- getSchemaWithPathOptional: () => import_chunk_OKVM3CW4.getSchemaWithPathOptional,
23
- printSchemaLoadedMessage: () => import_chunk_OKVM3CW4.printSchemaLoadedMessage
21
+ createSchemaPathInput: () => import_chunk_42R3EIRM.createSchemaPathInput,
22
+ getCliProvidedSchemaFile: () => import_chunk_42R3EIRM.getCliProvidedSchemaFile,
23
+ getConfigProvidedSchemaFile: () => import_chunk_42R3EIRM.getConfigProvidedSchemaFile,
24
+ getSchemaWithPath: () => import_chunk_42R3EIRM.getSchemaWithPath,
25
+ getSchemaWithPathOptional: () => import_chunk_42R3EIRM.getSchemaWithPathOptional,
26
+ printSchemaLoadedMessage: () => import_chunk_42R3EIRM.printSchemaLoadedMessage
24
27
  });
25
28
  module.exports = __toCommonJS(getSchema_exports);
26
- var import_chunk_OKVM3CW4 = require("../chunk-OKVM3CW4.js");
29
+ var import_chunk_42R3EIRM = require("../chunk-42R3EIRM.js");
27
30
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
28
31
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");