@prisma/internals 6.5.0-integration-feat-prisma-config-without-new-package.5 → 6.5.0-integration-feat-prisma-config-without-new-package.7
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.
- package/dist/Generator.js +2 -2
- package/dist/WasmPanicRegistry.js +2 -2
- package/dist/{chunk-TQCAD4LB.js → chunk-2CLHVJN7.js} +12 -12
- package/dist/{chunk-CHELWBGJ.js → chunk-3BUJ76XG.js} +5 -5
- package/dist/{chunk-DPFQAPWU.js → chunk-4BIM67DA.js} +24 -24
- package/dist/{chunk-SSELI7X6.js → chunk-6CEU2T4S.js} +11 -11
- package/dist/{chunk-TUSGJ6GU.js → chunk-AGQLNLYE.js} +5 -5
- package/dist/{chunk-A4QWQE3W.js → chunk-ATFQZVBS.js} +11 -4
- package/dist/{chunk-IZB6DOJJ.js → chunk-BOSKBIEW.js} +5 -5
- package/dist/{chunk-HOZFIXMD.js → chunk-BPZFDGKN.js} +5 -4
- package/dist/{chunk-NUGMMPL2.js → chunk-DQGTDMKZ.js} +12 -12
- package/dist/{chunk-GABO6IUE.js → chunk-EPF2VC52.js} +5 -5
- package/dist/{chunk-WMCSNHUF.js → chunk-FIAOONJQ.js} +11 -11
- package/dist/{chunk-HRNIB5ZF.js → chunk-HKQAB33T.js} +6 -6
- package/dist/{chunk-V2VT4B4O.js → chunk-KJTSTIRI.js} +12 -12
- package/dist/chunk-KKGIKPIK.js +573 -0
- package/dist/{chunk-Q7TE2TEB.js → chunk-M546VQV7.js} +7 -7
- package/dist/{chunk-A7RZQY5A.js → chunk-O37OFT3W.js} +7 -7
- package/dist/{chunk-OSFD4434.js → chunk-OIJ3DLA7.js} +12 -12
- package/dist/{chunk-ZOBZBU6K.js → chunk-PYW3KPIO.js} +8 -8
- package/dist/{chunk-XVEU6UM7.js → chunk-TILVPSCV.js} +12 -12
- package/dist/{chunk-BGRRWLCY.js → chunk-UB7B3VT4.js} +8 -8
- package/dist/{chunk-QUX3H4X5.js → chunk-WJFWR7QP.js} +24 -24
- package/dist/{chunk-HGEWBHJ5.js → chunk-YFBVJSFY.js} +5 -5
- package/dist/{chunk-TDG5WQHD.js → chunk-ZP5B4U6D.js} +12 -12
- package/dist/{chunk-635TMBAP.js → chunk-ZYW3HGSH.js} +8 -4
- package/dist/cli/checkUnsupportedDataProxy.js +16 -16
- package/dist/cli/getSchema.js +20 -20
- package/dist/cli/hashes.js +16 -16
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +15 -15
- package/dist/engine-commands/getConfig.js +12 -12
- package/dist/engine-commands/getDmmf.js +9 -9
- package/dist/engine-commands/index.js +24 -24
- package/dist/engine-commands/lintSchema.js +10 -10
- package/dist/engine-commands/mergeSchemas.js +9 -9
- package/dist/engine-commands/validate.js +9 -9
- package/dist/get-generators/generatorResolvers/generatorResolvers.js +15 -15
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +15 -15
- package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +16 -16
- package/dist/get-generators/getGenerators.js +18 -18
- package/dist/index.js +48 -48
- package/dist/panic.js +6 -6
- package/dist/sendPanic.js +15 -15
- package/dist/utils/drawBox.js +2 -2
- package/dist/utils/getEnvPaths.js +15 -15
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +15 -15
- package/dist/utils/loadEnvFile.js +15 -15
- package/dist/wasm.js +5 -5
- package/package.json +10 -10
- package/dist/chunk-F3SIWK3J.js +0 -1404
    
        package/dist/Generator.js
    CHANGED
    
    | @@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => { | |
| 18 18 | 
             
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         | 
| 19 19 | 
             
            var Generator_exports = {};
         | 
| 20 20 | 
             
            __export(Generator_exports, {
         | 
| 21 | 
            -
              Generator: () =>  | 
| 21 | 
            +
              Generator: () => import_chunk_ZYW3HGSH.Generator
         | 
| 22 22 | 
             
            });
         | 
| 23 23 | 
             
            module.exports = __toCommonJS(Generator_exports);
         | 
| 24 | 
            -
            var  | 
| 24 | 
            +
            var import_chunk_ZYW3HGSH = require("./chunk-ZYW3HGSH.js");
         | 
| 25 25 | 
             
            var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
         | 
| 26 26 | 
             
            var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
         | 
| 27 27 | 
             
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| @@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => { | |
| 18 18 | 
             
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         | 
| 19 19 | 
             
            var WasmPanicRegistry_exports = {};
         | 
| 20 20 | 
             
            __export(WasmPanicRegistry_exports, {
         | 
| 21 | 
            -
              WasmPanicRegistry: () =>  | 
| 21 | 
            +
              WasmPanicRegistry: () => import_chunk_BPZFDGKN.WasmPanicRegistry
         | 
| 22 22 | 
             
            });
         | 
| 23 23 | 
             
            module.exports = __toCommonJS(WasmPanicRegistry_exports);
         | 
| 24 | 
            -
            var  | 
| 24 | 
            +
            var import_chunk_BPZFDGKN = require("./chunk-BPZFDGKN.js");
         | 
| 25 25 | 
             
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| @@ -26,20 +26,20 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge | |
| 26 26 | 
             
              mod
         | 
| 27 27 | 
             
            ));
         | 
| 28 28 | 
             
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         | 
| 29 | 
            -
            var  | 
| 30 | 
            -
            __export( | 
| 29 | 
            +
            var chunk_2CLHVJN7_exports = {};
         | 
| 30 | 
            +
            __export(chunk_2CLHVJN7_exports, {
         | 
| 31 31 | 
             
              ValidateError: () => ValidateError,
         | 
| 32 32 | 
             
              validate: () => validate
         | 
| 33 33 | 
             
            });
         | 
| 34 | 
            -
            module.exports = __toCommonJS( | 
| 34 | 
            +
            module.exports = __toCommonJS(chunk_2CLHVJN7_exports);
         | 
| 35 35 | 
             
            var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
         | 
| 36 36 | 
             
            var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
         | 
| 37 37 | 
             
            var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
         | 
| 38 | 
            -
            var  | 
| 38 | 
            +
            var import_chunk_AGQLNLYE = require("./chunk-AGQLNLYE.js");
         | 
| 39 39 | 
             
            var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
         | 
| 40 40 | 
             
            var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
         | 
| 41 | 
            -
            var  | 
| 42 | 
            -
            var  | 
| 41 | 
            +
            var import_chunk_O37OFT3W = require("./chunk-O37OFT3W.js");
         | 
| 42 | 
            +
            var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
         | 
| 43 43 | 
             
            var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
         | 
| 44 44 | 
             
            var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
         | 
| 45 45 | 
             
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| @@ -60,7 +60,7 @@ ${detailsHeader} ${message}`; | |
| 60 60 | 
             
                }).exhaustive();
         | 
| 61 61 | 
             
                const errorMessageWithContext = `${constructedErrorMessage}
         | 
| 62 62 | 
             
            [Context: validate]`;
         | 
| 63 | 
            -
                super((0,  | 
| 63 | 
            +
                super((0, import_chunk_AGQLNLYE.addVersionDetailsToErrorMessage)(errorMessageWithContext));
         | 
| 64 64 | 
             
                this.name = "ValidateError";
         | 
| 65 65 | 
             
              }
         | 
| 66 66 | 
             
            };
         | 
| @@ -72,13 +72,13 @@ function validate(options) { | |
| 72 72 | 
             
                  () => {
         | 
| 73 73 | 
             
                    if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
         | 
| 74 74 | 
             
                      debug("Triggering a Rust panic...");
         | 
| 75 | 
            -
                       | 
| 75 | 
            +
                      import_chunk_O37OFT3W.prismaSchemaWasm.debug_panic();
         | 
| 76 76 | 
             
                    }
         | 
| 77 77 | 
             
                    const params = JSON.stringify({
         | 
| 78 78 | 
             
                      prismaSchema: options.schemas,
         | 
| 79 79 | 
             
                      noColor: Boolean(process.env.NO_COLOR)
         | 
| 80 80 | 
             
                    });
         | 
| 81 | 
            -
                     | 
| 81 | 
            +
                    import_chunk_O37OFT3W.prismaSchemaWasm.validate(params);
         | 
| 82 82 | 
             
                  },
         | 
| 83 83 | 
             
                  (e) => ({
         | 
| 84 84 | 
             
                    type: "wasm-error",
         | 
| @@ -93,11 +93,11 @@ function validate(options) { | |
| 93 93 | 
             
              const error = (0, import_chunk_XKZ6CBLA.z)(validateEither.left).with({ type: "wasm-error" }, (e) => {
         | 
| 94 94 | 
             
                debugErrorType(e);
         | 
| 95 95 | 
             
                console.error("");
         | 
| 96 | 
            -
                if ((0,  | 
| 97 | 
            -
                  const { message, stack } = (0,  | 
| 96 | 
            +
                if ((0, import_chunk_ATFQZVBS.isWasmPanic)(e.error)) {
         | 
| 97 | 
            +
                  const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e.error);
         | 
| 98 98 | 
             
                  debug(`Error validating schema: ${message}`);
         | 
| 99 99 | 
             
                  debug(stack);
         | 
| 100 | 
            -
                  const panic = new  | 
| 100 | 
            +
                  const panic = new import_chunk_ATFQZVBS.RustPanic(
         | 
| 101 101 | 
             
                    /* message */
         | 
| 102 102 | 
             
                    message,
         | 
| 103 103 | 
             
                    /* rustStack */
         | 
| @@ -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  | 
| 20 | 
            -
            __export( | 
| 19 | 
            +
            var chunk_3BUJ76XG_exports = {};
         | 
| 20 | 
            +
            __export(chunk_3BUJ76XG_exports, {
         | 
| 21 21 | 
             
              version: () => version
         | 
| 22 22 | 
             
            });
         | 
| 23 | 
            -
            module.exports = __toCommonJS( | 
| 24 | 
            -
            var  | 
| 25 | 
            -
            var packageJson = (0,  | 
| 23 | 
            +
            module.exports = __toCommonJS(chunk_3BUJ76XG_exports);
         | 
| 24 | 
            +
            var import_chunk_EPF2VC52 = require("./chunk-EPF2VC52.js");
         | 
| 25 | 
            +
            var packageJson = (0, import_chunk_EPF2VC52.require_package)();
         | 
| 26 26 | 
             
            var version = packageJson.version;
         | 
| @@ -26,8 +26,8 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g | |
| 26 26 | 
             
              mod
         | 
| 27 27 | 
             
            ));
         | 
| 28 28 | 
             
            var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         | 
| 29 | 
            -
            var  | 
| 30 | 
            -
            __export2( | 
| 29 | 
            +
            var chunk_4BIM67DA_exports = {};
         | 
| 30 | 
            +
            __export2(chunk_4BIM67DA_exports, {
         | 
| 31 31 | 
             
              checkTypeScriptVersion: () => checkTypeScriptVersion,
         | 
| 32 32 | 
             
              checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
         | 
| 33 33 | 
             
              debug: () => debug5,
         | 
| @@ -54,7 +54,7 @@ __export2(chunk_DPFQAPWU_exports, { | |
| 54 54 | 
             
              sendPanic: () => sendPanic,
         | 
| 55 55 | 
             
              skipIndex: () => skipIndex
         | 
| 56 56 | 
             
            });
         | 
| 57 | 
            -
            module.exports = __toCommonJS2( | 
| 57 | 
            +
            module.exports = __toCommonJS2(chunk_4BIM67DA_exports);
         | 
| 58 58 | 
             
            var import_chunk_S57RMXZW = require("./chunk-S57RMXZW.js");
         | 
| 59 59 | 
             
            var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
         | 
| 60 60 | 
             
            var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
         | 
| @@ -79,18 +79,18 @@ var import_chunk_AC6EAR56 = require("./chunk-AC6EAR56.js"); | |
| 79 79 | 
             
            var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
         | 
| 80 80 | 
             
            var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
         | 
| 81 81 | 
             
            var import_chunk_TSJICM5S = require("./chunk-TSJICM5S.js");
         | 
| 82 | 
            -
            var  | 
| 83 | 
            -
            var  | 
| 84 | 
            -
            var  | 
| 85 | 
            -
            var  | 
| 82 | 
            +
            var import_chunk_UB7B3VT4 = require("./chunk-UB7B3VT4.js");
         | 
| 83 | 
            +
            var import_chunk_FIAOONJQ = require("./chunk-FIAOONJQ.js");
         | 
| 84 | 
            +
            var import_chunk_KJTSTIRI = require("./chunk-KJTSTIRI.js");
         | 
| 85 | 
            +
            var import_chunk_ZP5B4U6D = require("./chunk-ZP5B4U6D.js");
         | 
| 86 86 | 
             
            var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
         | 
| 87 87 | 
             
            var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
         | 
| 88 | 
            -
            var  | 
| 89 | 
            -
            var  | 
| 88 | 
            +
            var import_chunk_M546VQV7 = require("./chunk-M546VQV7.js");
         | 
| 89 | 
            +
            var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
         | 
| 90 90 | 
             
            var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
         | 
| 91 91 | 
             
            var import_chunk_GXDYIY4M = require("./chunk-GXDYIY4M.js");
         | 
| 92 92 | 
             
            var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
         | 
| 93 | 
            -
            var  | 
| 93 | 
            +
            var import_chunk_ZYW3HGSH = require("./chunk-ZYW3HGSH.js");
         | 
| 94 94 | 
             
            var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
         | 
| 95 95 | 
             
            var import_chunk_KQOJB3ZW = require("./chunk-KQOJB3ZW.js");
         | 
| 96 96 | 
             
            var import_chunk_IZ57EPVG = require("./chunk-IZ57EPVG.js");
         | 
| @@ -14750,7 +14750,7 @@ async function readSchemaFromDirectory(schemaPath2) { | |
| 14750 14750 | 
             
              }
         | 
| 14751 14751 | 
             
              const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
         | 
| 14752 14752 | 
             
              debug2("Loading config");
         | 
| 14753 | 
            -
              const config2 = await (0,  | 
| 14753 | 
            +
              const config2 = await (0, import_chunk_KJTSTIRI.getConfig)({
         | 
| 14754 14754 | 
             
                datamodel: files,
         | 
| 14755 14755 | 
             
                ignoreEnvVarErrors: true
         | 
| 14756 14756 | 
             
              });
         | 
| @@ -15076,8 +15076,8 @@ async function checkUnsupportedDataProxyMessage(command, args, schemaPathFromCon | |
| 15076 15076 | 
             
                if (argName.includes("schema")) {
         | 
| 15077 15077 | 
             
                  await loadEnvFile({ schemaPath: argValue, printMessage: false, config: (0, import_config.defaultTestConfig)() });
         | 
| 15078 15078 | 
             
                  const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
         | 
| 15079 | 
            -
                  const config2 = await (0,  | 
| 15080 | 
            -
                  const url = (0,  | 
| 15079 | 
            +
                  const config2 = await (0, import_chunk_KJTSTIRI.getConfig)({ datamodel, ignoreEnvVarErrors: true });
         | 
| 15080 | 
            +
                  const url = (0, import_chunk_KJTSTIRI.resolveUrl)((0, import_chunk_KJTSTIRI.getEffectiveUrl)(config2.datasources[0]));
         | 
| 15081 15081 | 
             
                  if (url?.startsWith("prisma://")) {
         | 
| 15082 15082 | 
             
                    return forbiddenCmdWithDataProxyFlagMessage(command);
         | 
| 15083 15083 | 
             
                  }
         | 
| @@ -15250,7 +15250,7 @@ async function getGenerators(options) { | |
| 15250 15250 | 
             
                  prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
         | 
| 15251 15251 | 
             
                }
         | 
| 15252 15252 | 
             
              }
         | 
| 15253 | 
            -
              const config = await (0,  | 
| 15253 | 
            +
              const config = await (0, import_chunk_KJTSTIRI.getConfig)({
         | 
| 15254 15254 | 
             
                datamodel: schemas,
         | 
| 15255 15255 | 
             
                datamodelPath: schemaPath,
         | 
| 15256 15256 | 
             
                prismaPath,
         | 
| @@ -15261,7 +15261,7 @@ async function getGenerators(options) { | |
| 15261 15261 | 
             
              }
         | 
| 15262 15262 | 
             
              (0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
         | 
| 15263 15263 | 
             
              const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
         | 
| 15264 | 
            -
              const dmmf = await (0,  | 
| 15264 | 
            +
              const dmmf = await (0, import_chunk_ZP5B4U6D.getDMMF)({
         | 
| 15265 15265 | 
             
                datamodel: schemas,
         | 
| 15266 15266 | 
             
                datamodelPath: schemaPath,
         | 
| 15267 15267 | 
             
                prismaPath,
         | 
| @@ -15292,7 +15292,7 @@ async function getGenerators(options) { | |
| 15292 15292 | 
             
                      paths2 = await generatorResolvers[providerValue](baseDir, cliVersion);
         | 
| 15293 15293 | 
             
                      generatorPath = paths2.generatorPath;
         | 
| 15294 15294 | 
             
                    }
         | 
| 15295 | 
            -
                    const generatorInstance = new  | 
| 15295 | 
            +
                    const generatorInstance = new import_chunk_ZYW3HGSH.Generator(generatorPath, generator, paths2?.isNode);
         | 
| 15296 15296 | 
             
                    await generatorInstance.init();
         | 
| 15297 15297 | 
             
                    if (generator.output) {
         | 
| 15298 15298 | 
             
                      generator.output = {
         | 
| @@ -15322,7 +15322,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest | |
| 15322 15322 | 
             
                        fromEnvVar: "null"
         | 
| 15323 15323 | 
             
                      };
         | 
| 15324 15324 | 
             
                    }
         | 
| 15325 | 
            -
                    const datamodel = (0,  | 
| 15325 | 
            +
                    const datamodel = (0, import_chunk_FIAOONJQ.mergeSchemas)({ schemas });
         | 
| 15326 15326 | 
             
                    const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
         | 
| 15327 15327 | 
             
                    const options2 = {
         | 
| 15328 15328 | 
             
                      datamodel,
         | 
| @@ -15405,7 +15405,7 @@ generator gen { | |
| 15405 15405 | 
             
                    debug6({ generatorBinaryPaths });
         | 
| 15406 15406 | 
             
                    generator.setBinaryPaths(generatorBinaryPaths);
         | 
| 15407 15407 | 
             
                    if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
         | 
| 15408 | 
            -
                      const customDmmf = await (0,  | 
| 15408 | 
            +
                      const customDmmf = await (0, import_chunk_ZP5B4U6D.getDMMF)({
         | 
| 15409 15409 | 
             
                        datamodel: schemas,
         | 
| 15410 15410 | 
             
                        datamodelPath: schemaPath,
         | 
| 15411 15411 | 
             
                        prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
         | 
| @@ -15703,7 +15703,7 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) { | |
| 15703 15703 | 
             
              if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
         | 
| 15704 15704 | 
             
                handleFormatPanic(
         | 
| 15705 15705 | 
             
                  () => {
         | 
| 15706 | 
            -
                     | 
| 15706 | 
            +
                    import_chunk_M546VQV7.prismaSchemaWasm.debug_panic();
         | 
| 15707 15707 | 
             
                  },
         | 
| 15708 15708 | 
             
                  { schemas: schemas2 }
         | 
| 15709 15709 | 
             
                );
         | 
| @@ -15723,12 +15723,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) { | |
| 15723 15723 | 
             
                () => {
         | 
| 15724 15724 | 
             
                  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
         | 
| 15725 15725 | 
             
                  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
         | 
| 15726 | 
            -
                  const lintDiagnostics2 = (0,  | 
| 15726 | 
            +
                  const lintDiagnostics2 = (0, import_chunk_UB7B3VT4.lintSchema)({ schemas: formattedMultipleSchemas2 });
         | 
| 15727 15727 | 
             
                  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
         | 
| 15728 15728 | 
             
                },
         | 
| 15729 15729 | 
             
                { schemas: schemas2 }
         | 
| 15730 15730 | 
             
              );
         | 
| 15731 | 
            -
              const lintWarnings = (0,  | 
| 15731 | 
            +
              const lintWarnings = (0, import_chunk_UB7B3VT4.getLintWarningsAsText)(lintDiagnostics);
         | 
| 15732 15732 | 
             
              if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
         | 
| 15733 15733 | 
             
                console.warn(lintWarnings);
         | 
| 15734 15734 | 
             
              }
         | 
| @@ -15738,10 +15738,10 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) { | |
| 15738 15738 | 
             
              try {
         | 
| 15739 15739 | 
             
                return tryCb();
         | 
| 15740 15740 | 
             
              } catch (e) {
         | 
| 15741 | 
            -
                const { message, stack } = (0,  | 
| 15741 | 
            +
                const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e);
         | 
| 15742 15742 | 
             
                debug7(`Error formatting schema: ${message}`);
         | 
| 15743 15743 | 
             
                debug7(stack);
         | 
| 15744 | 
            -
                const panic = new  | 
| 15744 | 
            +
                const panic = new import_chunk_ATFQZVBS.RustPanic(
         | 
| 15745 15745 | 
             
                  /* message */
         | 
| 15746 15746 | 
             
                  message,
         | 
| 15747 15747 | 
             
                  /* rustStack */
         | 
| @@ -15758,7 +15758,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) { | |
| 15758 15758 | 
             
              }
         | 
| 15759 15759 | 
             
            }
         | 
| 15760 15760 | 
             
            function formatWasm(schema, documentFormattingParams) {
         | 
| 15761 | 
            -
              const formattedSchema =  | 
| 15761 | 
            +
              const formattedSchema = import_chunk_M546VQV7.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
         | 
| 15762 15762 | 
             
              return formattedSchema;
         | 
| 15763 15763 | 
             
            }
         | 
| 15764 15764 | 
             
            /*! Bundled license information:
         | 
| @@ -26,20 +26,20 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge | |
| 26 26 | 
             
              mod
         | 
| 27 27 | 
             
            ));
         | 
| 28 28 | 
             
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         | 
| 29 | 
            -
            var  | 
| 30 | 
            -
            __export( | 
| 29 | 
            +
            var chunk_6CEU2T4S_exports = {};
         | 
| 30 | 
            +
            __export(chunk_6CEU2T4S_exports, {
         | 
| 31 31 | 
             
              MergeSchemasError: () => MergeSchemasError,
         | 
| 32 32 | 
             
              mergeSchemas: () => mergeSchemas
         | 
| 33 33 | 
             
            });
         | 
| 34 | 
            -
            module.exports = __toCommonJS( | 
| 34 | 
            +
            module.exports = __toCommonJS(chunk_6CEU2T4S_exports);
         | 
| 35 35 | 
             
            var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
         | 
| 36 36 | 
             
            var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
         | 
| 37 37 | 
             
            var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
         | 
| 38 | 
            -
            var  | 
| 38 | 
            +
            var import_chunk_AGQLNLYE = require("./chunk-AGQLNLYE.js");
         | 
| 39 39 | 
             
            var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
         | 
| 40 40 | 
             
            var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
         | 
| 41 | 
            -
            var  | 
| 42 | 
            -
            var  | 
| 41 | 
            +
            var import_chunk_O37OFT3W = require("./chunk-O37OFT3W.js");
         | 
| 42 | 
            +
            var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
         | 
| 43 43 | 
             
            var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
         | 
| 44 44 | 
             
            var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
         | 
| 45 45 | 
             
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| @@ -60,7 +60,7 @@ ${detailsHeader} ${message}`; | |
| 60 60 | 
             
                }).exhaustive();
         | 
| 61 61 | 
             
                const errorMessageWithContext = `${constructedErrorMessage}
         | 
| 62 62 | 
             
            [Context: mergeSchemas]`;
         | 
| 63 | 
            -
                super((0,  | 
| 63 | 
            +
                super((0, import_chunk_AGQLNLYE.addVersionDetailsToErrorMessage)(errorMessageWithContext));
         | 
| 64 64 | 
             
                this.name = "MergeSchemasError";
         | 
| 65 65 | 
             
              }
         | 
| 66 66 | 
             
            };
         | 
| @@ -73,7 +73,7 @@ function mergeSchemas(options) { | |
| 73 73 | 
             
                    const params = JSON.stringify({
         | 
| 74 74 | 
             
                      schema: options.schemas
         | 
| 75 75 | 
             
                    });
         | 
| 76 | 
            -
                    return  | 
| 76 | 
            +
                    return import_chunk_O37OFT3W.prismaSchemaWasm.merge_schemas(params);
         | 
| 77 77 | 
             
                  },
         | 
| 78 78 | 
             
                  (e) => ({
         | 
| 79 79 | 
             
                    type: "wasm-error",
         | 
| @@ -88,11 +88,11 @@ function mergeSchemas(options) { | |
| 88 88 | 
             
              const error = (0, import_chunk_XKZ6CBLA.z)(mergeSchemasEither.left).with({ type: "wasm-error" }, (e) => {
         | 
| 89 89 | 
             
                debugErrorType(e);
         | 
| 90 90 | 
             
                console.error("");
         | 
| 91 | 
            -
                if ((0,  | 
| 92 | 
            -
                  const { message, stack } = (0,  | 
| 91 | 
            +
                if ((0, import_chunk_ATFQZVBS.isWasmPanic)(e.error)) {
         | 
| 92 | 
            +
                  const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e.error);
         | 
| 93 93 | 
             
                  debug(`Error merging schemas: ${message}`);
         | 
| 94 94 | 
             
                  debug(stack);
         | 
| 95 | 
            -
                  const panic = new  | 
| 95 | 
            +
                  const panic = new import_chunk_ATFQZVBS.RustPanic(
         | 
| 96 96 | 
             
                    /* message */
         | 
| 97 97 | 
             
                    message,
         | 
| 98 98 | 
             
                    /* rustStack */
         | 
| @@ -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  | 
| 20 | 
            -
            __export( | 
| 19 | 
            +
            var chunk_AGQLNLYE_exports = {};
         | 
| 20 | 
            +
            __export(chunk_AGQLNLYE_exports, {
         | 
| 21 21 | 
             
              addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
         | 
| 22 22 | 
             
            });
         | 
| 23 | 
            -
            module.exports = __toCommonJS( | 
| 24 | 
            -
            var  | 
| 23 | 
            +
            module.exports = __toCommonJS(chunk_AGQLNLYE_exports);
         | 
| 24 | 
            +
            var import_chunk_YFBVJSFY = require("./chunk-YFBVJSFY.js");
         | 
| 25 25 | 
             
            var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
         | 
| 26 26 | 
             
            function addVersionDetailsToErrorMessage(message) {
         | 
| 27 | 
            -
              const rows = [["Prisma CLI Version",  | 
| 27 | 
            +
              const rows = [["Prisma CLI Version", import_chunk_YFBVJSFY.version]];
         | 
| 28 28 | 
             
              return `${message}
         | 
| 29 29 |  | 
| 30 30 | 
             
            ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
         | 
| @@ -16,19 +16,26 @@ 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  | 
| 20 | 
            -
            __export( | 
| 19 | 
            +
            var chunk_ATFQZVBS_exports = {};
         | 
| 20 | 
            +
            __export(chunk_ATFQZVBS_exports, {
         | 
| 21 21 | 
             
              ErrorArea: () => ErrorArea,
         | 
| 22 22 | 
             
              RustPanic: () => RustPanic,
         | 
| 23 23 | 
             
              getWasmError: () => getWasmError,
         | 
| 24 24 | 
             
              isRustPanic: () => isRustPanic,
         | 
| 25 25 | 
             
              isWasmPanic: () => isWasmPanic
         | 
| 26 26 | 
             
            });
         | 
| 27 | 
            -
            module.exports = __toCommonJS( | 
| 27 | 
            +
            module.exports = __toCommonJS(chunk_ATFQZVBS_exports);
         | 
| 28 | 
            +
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| 28 29 | 
             
            var RustPanic = class extends Error {
         | 
| 29 30 | 
             
              constructor(message, rustStack, request, area, schemaPath, schema, introspectionUrl) {
         | 
| 30 31 | 
             
                super(message);
         | 
| 31 | 
            -
                this | 
| 32 | 
            +
                (0, import_chunk_WWAWV7DQ.__publicField)(this, "__typename", "RustPanic");
         | 
| 33 | 
            +
                (0, import_chunk_WWAWV7DQ.__publicField)(this, "request");
         | 
| 34 | 
            +
                (0, import_chunk_WWAWV7DQ.__publicField)(this, "rustStack");
         | 
| 35 | 
            +
                (0, import_chunk_WWAWV7DQ.__publicField)(this, "area");
         | 
| 36 | 
            +
                (0, import_chunk_WWAWV7DQ.__publicField)(this, "schemaPath");
         | 
| 37 | 
            +
                (0, import_chunk_WWAWV7DQ.__publicField)(this, "schema");
         | 
| 38 | 
            +
                (0, import_chunk_WWAWV7DQ.__publicField)(this, "introspectionUrl");
         | 
| 32 39 | 
             
                this.name = "RustPanic";
         | 
| 33 40 | 
             
                this.rustStack = rustStack;
         | 
| 34 41 | 
             
                this.request = request;
         | 
| @@ -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  | 
| 20 | 
            -
            __export( | 
| 19 | 
            +
            var chunk_BOSKBIEW_exports = {};
         | 
| 20 | 
            +
            __export(chunk_BOSKBIEW_exports, {
         | 
| 21 21 | 
             
              addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
         | 
| 22 22 | 
             
            });
         | 
| 23 | 
            -
            module.exports = __toCommonJS( | 
| 24 | 
            -
            var  | 
| 23 | 
            +
            module.exports = __toCommonJS(chunk_BOSKBIEW_exports);
         | 
| 24 | 
            +
            var import_chunk_3BUJ76XG = require("./chunk-3BUJ76XG.js");
         | 
| 25 25 | 
             
            var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
         | 
| 26 26 | 
             
            function addVersionDetailsToErrorMessage(message) {
         | 
| 27 | 
            -
              const rows = [["Prisma CLI Version",  | 
| 27 | 
            +
              const rows = [["Prisma CLI Version", import_chunk_3BUJ76XG.version]];
         | 
| 28 28 | 
             
              return `${message}
         | 
| 29 29 |  | 
| 30 30 | 
             
            ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
         | 
| @@ -16,14 +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  | 
| 20 | 
            -
            __export( | 
| 19 | 
            +
            var chunk_BPZFDGKN_exports = {};
         | 
| 20 | 
            +
            __export(chunk_BPZFDGKN_exports, {
         | 
| 21 21 | 
             
              WasmPanicRegistry: () => WasmPanicRegistry
         | 
| 22 22 | 
             
            });
         | 
| 23 | 
            -
            module.exports = __toCommonJS( | 
| 23 | 
            +
            module.exports = __toCommonJS(chunk_BPZFDGKN_exports);
         | 
| 24 | 
            +
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| 24 25 | 
             
            var WasmPanicRegistry = class {
         | 
| 25 26 | 
             
              constructor() {
         | 
| 26 | 
            -
                this | 
| 27 | 
            +
                (0, import_chunk_WWAWV7DQ.__publicField)(this, "message", "");
         | 
| 27 28 | 
             
              }
         | 
| 28 29 | 
             
              get() {
         | 
| 29 30 | 
             
                return `${this.message}`;
         | 
| @@ -26,20 +26,20 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge | |
| 26 26 | 
             
              mod
         | 
| 27 27 | 
             
            ));
         | 
| 28 28 | 
             
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         | 
| 29 | 
            -
            var  | 
| 30 | 
            -
            __export( | 
| 29 | 
            +
            var chunk_DQGTDMKZ_exports = {};
         | 
| 30 | 
            +
            __export(chunk_DQGTDMKZ_exports, {
         | 
| 31 31 | 
             
              ValidateError: () => ValidateError,
         | 
| 32 32 | 
             
              validate: () => validate
         | 
| 33 33 | 
             
            });
         | 
| 34 | 
            -
            module.exports = __toCommonJS( | 
| 34 | 
            +
            module.exports = __toCommonJS(chunk_DQGTDMKZ_exports);
         | 
| 35 35 | 
             
            var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
         | 
| 36 36 | 
             
            var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
         | 
| 37 37 | 
             
            var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
         | 
| 38 | 
            -
            var  | 
| 38 | 
            +
            var import_chunk_BOSKBIEW = require("./chunk-BOSKBIEW.js");
         | 
| 39 39 | 
             
            var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
         | 
| 40 40 | 
             
            var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
         | 
| 41 | 
            -
            var  | 
| 42 | 
            -
            var  | 
| 41 | 
            +
            var import_chunk_M546VQV7 = require("./chunk-M546VQV7.js");
         | 
| 42 | 
            +
            var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
         | 
| 43 43 | 
             
            var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
         | 
| 44 44 | 
             
            var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
         | 
| 45 45 | 
             
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| @@ -60,7 +60,7 @@ ${detailsHeader} ${message}`; | |
| 60 60 | 
             
                }).exhaustive();
         | 
| 61 61 | 
             
                const errorMessageWithContext = `${constructedErrorMessage}
         | 
| 62 62 | 
             
            [Context: validate]`;
         | 
| 63 | 
            -
                super((0,  | 
| 63 | 
            +
                super((0, import_chunk_BOSKBIEW.addVersionDetailsToErrorMessage)(errorMessageWithContext));
         | 
| 64 64 | 
             
                this.name = "ValidateError";
         | 
| 65 65 | 
             
              }
         | 
| 66 66 | 
             
            };
         | 
| @@ -72,13 +72,13 @@ function validate(options) { | |
| 72 72 | 
             
                  () => {
         | 
| 73 73 | 
             
                    if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
         | 
| 74 74 | 
             
                      debug("Triggering a Rust panic...");
         | 
| 75 | 
            -
                       | 
| 75 | 
            +
                      import_chunk_M546VQV7.prismaSchemaWasm.debug_panic();
         | 
| 76 76 | 
             
                    }
         | 
| 77 77 | 
             
                    const params = JSON.stringify({
         | 
| 78 78 | 
             
                      prismaSchema: options.schemas,
         | 
| 79 79 | 
             
                      noColor: Boolean(process.env.NO_COLOR)
         | 
| 80 80 | 
             
                    });
         | 
| 81 | 
            -
                     | 
| 81 | 
            +
                    import_chunk_M546VQV7.prismaSchemaWasm.validate(params);
         | 
| 82 82 | 
             
                  },
         | 
| 83 83 | 
             
                  (e) => ({
         | 
| 84 84 | 
             
                    type: "wasm-error",
         | 
| @@ -93,11 +93,11 @@ function validate(options) { | |
| 93 93 | 
             
              const error = (0, import_chunk_XKZ6CBLA.z)(validateEither.left).with({ type: "wasm-error" }, (e) => {
         | 
| 94 94 | 
             
                debugErrorType(e);
         | 
| 95 95 | 
             
                console.error("");
         | 
| 96 | 
            -
                if ((0,  | 
| 97 | 
            -
                  const { message, stack } = (0,  | 
| 96 | 
            +
                if ((0, import_chunk_ATFQZVBS.isWasmPanic)(e.error)) {
         | 
| 97 | 
            +
                  const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e.error);
         | 
| 98 98 | 
             
                  debug(`Error validating schema: ${message}`);
         | 
| 99 99 | 
             
                  debug(stack);
         | 
| 100 | 
            -
                  const panic = new  | 
| 100 | 
            +
                  const panic = new import_chunk_ATFQZVBS.RustPanic(
         | 
| 101 101 | 
             
                    /* message */
         | 
| 102 102 | 
             
                    message,
         | 
| 103 103 | 
             
                    /* rustStack */
         | 
| @@ -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  | 
| 20 | 
            -
            __export( | 
| 19 | 
            +
            var chunk_EPF2VC52_exports = {};
         | 
| 20 | 
            +
            __export(chunk_EPF2VC52_exports, {
         | 
| 21 21 | 
             
              require_package: () => require_package
         | 
| 22 22 | 
             
            });
         | 
| 23 | 
            -
            module.exports = __toCommonJS( | 
| 23 | 
            +
            module.exports = __toCommonJS(chunk_EPF2VC52_exports);
         | 
| 24 24 | 
             
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| 25 25 | 
             
            var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
         | 
| 26 26 | 
             
              "package.json"(exports, module2) {
         | 
| @@ -64,7 +64,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({ | |
| 64 64 | 
             
                    "@types/resolve": "1.20.6",
         | 
| 65 65 | 
             
                    archiver: "6.0.2",
         | 
| 66 66 | 
             
                    "checkpoint-client": "1.1.33",
         | 
| 67 | 
            -
                    "cli-truncate": " | 
| 67 | 
            +
                    "cli-truncate": "4.0.0",
         | 
| 68 68 | 
             
                    dotenv: "16.4.7",
         | 
| 69 69 | 
             
                    esbuild: "0.24.2",
         | 
| 70 70 | 
             
                    "escape-string-regexp": "4.0.0",
         | 
| @@ -111,7 +111,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({ | |
| 111 111 | 
             
                    "@prisma/fetch-engine": "workspace:*",
         | 
| 112 112 | 
             
                    "@prisma/generator-helper": "workspace:*",
         | 
| 113 113 | 
             
                    "@prisma/get-platform": "workspace:*",
         | 
| 114 | 
            -
                    "@prisma/prisma-schema-wasm": "6.5.0- | 
| 114 | 
            +
                    "@prisma/prisma-schema-wasm": "6.5.0-42.ebe92748df38ea968da11e62e111f2596014342a",
         | 
| 115 115 | 
             
                    "@prisma/schema-files-loader": "workspace:*",
         | 
| 116 116 | 
             
                    arg: "5.0.2",
         | 
| 117 117 | 
             
                    prompts: "2.4.2"
         | 
| @@ -26,20 +26,20 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge | |
| 26 26 | 
             
              mod
         | 
| 27 27 | 
             
            ));
         | 
| 28 28 | 
             
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         | 
| 29 | 
            -
            var  | 
| 30 | 
            -
            __export( | 
| 29 | 
            +
            var chunk_FIAOONJQ_exports = {};
         | 
| 30 | 
            +
            __export(chunk_FIAOONJQ_exports, {
         | 
| 31 31 | 
             
              MergeSchemasError: () => MergeSchemasError,
         | 
| 32 32 | 
             
              mergeSchemas: () => mergeSchemas
         | 
| 33 33 | 
             
            });
         | 
| 34 | 
            -
            module.exports = __toCommonJS( | 
| 34 | 
            +
            module.exports = __toCommonJS(chunk_FIAOONJQ_exports);
         | 
| 35 35 | 
             
            var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
         | 
| 36 36 | 
             
            var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
         | 
| 37 37 | 
             
            var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
         | 
| 38 | 
            -
            var  | 
| 38 | 
            +
            var import_chunk_BOSKBIEW = require("./chunk-BOSKBIEW.js");
         | 
| 39 39 | 
             
            var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
         | 
| 40 40 | 
             
            var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
         | 
| 41 | 
            -
            var  | 
| 42 | 
            -
            var  | 
| 41 | 
            +
            var import_chunk_M546VQV7 = require("./chunk-M546VQV7.js");
         | 
| 42 | 
            +
            var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
         | 
| 43 43 | 
             
            var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
         | 
| 44 44 | 
             
            var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
         | 
| 45 45 | 
             
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| @@ -60,7 +60,7 @@ ${detailsHeader} ${message}`; | |
| 60 60 | 
             
                }).exhaustive();
         | 
| 61 61 | 
             
                const errorMessageWithContext = `${constructedErrorMessage}
         | 
| 62 62 | 
             
            [Context: mergeSchemas]`;
         | 
| 63 | 
            -
                super((0,  | 
| 63 | 
            +
                super((0, import_chunk_BOSKBIEW.addVersionDetailsToErrorMessage)(errorMessageWithContext));
         | 
| 64 64 | 
             
                this.name = "MergeSchemasError";
         | 
| 65 65 | 
             
              }
         | 
| 66 66 | 
             
            };
         | 
| @@ -73,7 +73,7 @@ function mergeSchemas(options) { | |
| 73 73 | 
             
                    const params = JSON.stringify({
         | 
| 74 74 | 
             
                      schema: options.schemas
         | 
| 75 75 | 
             
                    });
         | 
| 76 | 
            -
                    return  | 
| 76 | 
            +
                    return import_chunk_M546VQV7.prismaSchemaWasm.merge_schemas(params);
         | 
| 77 77 | 
             
                  },
         | 
| 78 78 | 
             
                  (e) => ({
         | 
| 79 79 | 
             
                    type: "wasm-error",
         | 
| @@ -88,11 +88,11 @@ function mergeSchemas(options) { | |
| 88 88 | 
             
              const error = (0, import_chunk_XKZ6CBLA.z)(mergeSchemasEither.left).with({ type: "wasm-error" }, (e) => {
         | 
| 89 89 | 
             
                debugErrorType(e);
         | 
| 90 90 | 
             
                console.error("");
         | 
| 91 | 
            -
                if ((0,  | 
| 92 | 
            -
                  const { message, stack } = (0,  | 
| 91 | 
            +
                if ((0, import_chunk_ATFQZVBS.isWasmPanic)(e.error)) {
         | 
| 92 | 
            +
                  const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e.error);
         | 
| 93 93 | 
             
                  debug(`Error merging schemas: ${message}`);
         | 
| 94 94 | 
             
                  debug(stack);
         | 
| 95 | 
            -
                  const panic = new  | 
| 95 | 
            +
                  const panic = new import_chunk_ATFQZVBS.RustPanic(
         | 
| 96 96 | 
             
                    /* message */
         | 
| 97 97 | 
             
                    message,
         | 
| 98 98 | 
             
                    /* rustStack */
         | 
| @@ -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  | 
| 20 | 
            -
            __export( | 
| 19 | 
            +
            var chunk_HKQAB33T_exports = {};
         | 
| 20 | 
            +
            __export(chunk_HKQAB33T_exports, {
         | 
| 21 21 | 
             
              require_package: () => require_package
         | 
| 22 22 | 
             
            });
         | 
| 23 | 
            -
            module.exports = __toCommonJS( | 
| 23 | 
            +
            module.exports = __toCommonJS(chunk_HKQAB33T_exports);
         | 
| 24 24 | 
             
            var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
         | 
| 25 25 | 
             
            var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
         | 
| 26 26 | 
             
              "package.json"(exports, module2) {
         | 
| 27 27 | 
             
                module2.exports = {
         | 
| 28 28 | 
             
                  name: "@prisma/internals",
         | 
| 29 | 
            -
                  version: "6.5.0-integration-feat-prisma-config-without-new-package. | 
| 29 | 
            +
                  version: "6.5.0-integration-feat-prisma-config-without-new-package.7",
         | 
| 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",
         | 
| @@ -64,7 +64,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({ | |
| 64 64 | 
             
                    "@types/resolve": "1.20.6",
         | 
| 65 65 | 
             
                    archiver: "6.0.2",
         | 
| 66 66 | 
             
                    "checkpoint-client": "1.1.33",
         | 
| 67 | 
            -
                    "cli-truncate": " | 
| 67 | 
            +
                    "cli-truncate": "4.0.0",
         | 
| 68 68 | 
             
                    dotenv: "16.4.7",
         | 
| 69 69 | 
             
                    esbuild: "0.24.2",
         | 
| 70 70 | 
             
                    "escape-string-regexp": "4.0.0",
         | 
| @@ -111,7 +111,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({ | |
| 111 111 | 
             
                    "@prisma/fetch-engine": "workspace:*",
         | 
| 112 112 | 
             
                    "@prisma/generator-helper": "workspace:*",
         | 
| 113 113 | 
             
                    "@prisma/get-platform": "workspace:*",
         | 
| 114 | 
            -
                    "@prisma/prisma-schema-wasm": "6.5.0- | 
| 114 | 
            +
                    "@prisma/prisma-schema-wasm": "6.5.0-42.ebe92748df38ea968da11e62e111f2596014342a",
         | 
| 115 115 | 
             
                    "@prisma/schema-files-loader": "workspace:*",
         | 
| 116 116 | 
             
                    arg: "5.0.2",
         | 
| 117 117 | 
             
                    prompts: "2.4.2"
         |