@prisma/internals 6.20.0-integration-feat-prisma-7-config.3 → 6.20.0-integration-oidc-truster-publishers.1
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/{chunk-VFZCLI5X.js → chunk-26ZV6OR7.js} +5 -5
- package/dist/{chunk-5FTKVAG5.js → chunk-2GUGGLPK.js} +97 -40
- package/dist/chunk-3FP46GUV.js +471 -0
- package/dist/chunk-46ABODUM.js +186 -0
- package/dist/{chunk-GJSFP4V4.js → chunk-4CGPN5SR.js} +9 -3
- package/dist/{chunk-GL7OANR6.js → chunk-4JCVHBYR.js} +5 -5
- package/dist/{chunk-MEOOYUIZ.js → chunk-5AI4FIZ3.js} +10 -10
- package/dist/{chunk-LS2GZ6B3.js → chunk-5VHPFZRR.js} +11 -11
- package/dist/{chunk-73HXEN2A.js → chunk-6LDZU7KZ.js} +5 -5
- package/dist/{chunk-VHE2A7YV.js → chunk-6MO7MVPQ.js} +11 -11
- package/dist/chunk-6TTRTZXU.js +37 -0
- package/dist/{chunk-SMJRM3EM.js → chunk-75BIJ5PX.js} +9 -9
- package/dist/{chunk-MYLPCGTT.js → chunk-7QC5VORA.js} +5 -5
- package/dist/{chunk-TGA7DC5A.js → chunk-AX5N26KG.js} +9 -14
- package/dist/{chunk-QSVWJ2S2.js → chunk-BVJP43JS.js} +784 -13
- package/dist/{chunk-B2BNIZB2.js → chunk-CCLAMTCA.js} +8 -7
- package/dist/{chunk-3ZWEK4N6.js → chunk-CPCSIALL.js} +5 -5
- package/dist/chunk-D4VDA2TZ.js +66 -0
- package/dist/chunk-DZYINYAA.js +68 -0
- package/dist/{chunk-E355HAZP.js → chunk-E4H6V3Z4.js} +11 -11
- package/dist/chunk-ERSH2BQA.js +58 -0
- package/dist/{chunk-OKVM3CW4.js → chunk-EYVG6XQS.js} +39 -3
- package/dist/{chunk-5MHUYAV3.js → chunk-F2OZV76L.js} +9 -9
- package/dist/{chunk-O4JHL7XP.js → chunk-FHZ5QJLR.js} +5 -5
- package/dist/{chunk-HNRMSI3R.js → chunk-FYZCPL2Z.js} +8 -5
- package/dist/{chunk-22HIO2UL.js → chunk-GMW36QQF.js} +7 -7
- package/dist/{chunk-LD5PU7J5.js → chunk-GVZIPRAQ.js} +97 -40
- package/dist/{chunk-BUQN4WLU.js → chunk-HFFWZTVM.js} +9 -7
- package/dist/{chunk-CGLLQXZE.js → chunk-HHG4DGHC.js} +12 -11
- package/dist/{chunk-5W3BSMTH.js → chunk-HO5HRHFZ.js} +6 -3
- package/dist/{chunk-SDDES4ZN.js → chunk-HTUTYKBP.js} +12 -12
- package/dist/{chunk-3WXUQZS7.js → chunk-I6WLABB2.js} +5 -14
- package/dist/{chunk-FF7OLLBP.js → chunk-IDINCQMN.js} +784 -12
- package/dist/{chunk-LA5QBRTU.js → chunk-IUXRC7ZP.js} +20 -14
- package/dist/{chunk-QOZ7USPD.js → chunk-JOIIWB3U.js} +159 -193
- package/dist/{chunk-UGVSG4YK.js → chunk-JTS4UPHJ.js} +5 -5
- package/dist/{chunk-24ZPBDBI.js → chunk-LV27YCGC.js} +11 -11
- package/dist/{chunk-KNNTV7IN.js → chunk-NVNI2SRU.js} +213 -687
- package/dist/{chunk-H5STSTVK.js → chunk-OAT7ZJED.js} +20 -7
- package/dist/chunk-PZMRR772.js +41 -0
- package/dist/{chunk-SLV6CI6L.js → chunk-QJ3QPUM5.js} +5 -5
- package/dist/{chunk-5I4ERIIY.js → chunk-RS2R7COT.js} +9 -3
- package/dist/{chunk-Z2RQHZ3W.js → chunk-SOKSKSEX.js} +20 -14
- package/dist/chunk-T2PM5TKT.js +55 -0
- package/dist/{chunk-GVDRC4TL.js → chunk-TBR6SNKL.js} +5 -5
- package/dist/{chunk-FNXXQZUZ.js → chunk-TEOXRLQU.js} +9 -8
- package/dist/{chunk-MLFKBBDL.js → chunk-TQFONRJP.js} +5 -5
- package/dist/{chunk-WSZXPLJQ.js → chunk-TZJROXB3.js} +4 -4
- package/dist/{chunk-WJKBKH3Y.js → chunk-UHI6VYFX.js} +5 -5
- package/dist/{chunk-BM3JIFQT.js → chunk-UQUWZJVN.js} +7 -7
- package/dist/{chunk-2Q43C56O.js → chunk-WEU72JRD.js} +5 -5
- package/dist/{chunk-ARC7TW3L.js → chunk-WFNB7VRA.js} +14 -4
- package/dist/{chunk-C5YUUOQW.js → chunk-WYQJ4JWO.js} +12 -12
- package/dist/cli/checkUnsupportedDataProxy.js +60 -53
- package/dist/cli/checkUnsupportedSchemaEngineWasm.d.ts +22 -0
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +135 -0
- package/dist/cli/getGeneratorSuccessMessage.js +3 -2
- package/dist/cli/getSchema.d.ts +15 -1
- package/dist/cli/getSchema.js +5 -4
- package/dist/cli/hashes.js +4 -4
- package/dist/cli/schemaContext.d.ts +11 -2
- package/dist/cli/schemaContext.js +60 -53
- package/dist/client/getClientEngineType.d.ts +7 -0
- package/dist/client/getClientEngineType.js +26 -0
- package/dist/dotenvExpand.d.ts +35 -0
- package/dist/dotenvExpand.js +25 -0
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +59 -52
- package/dist/engine-commands/getConfig.d.ts +1 -0
- package/dist/engine-commands/getConfig.js +13 -13
- package/dist/engine-commands/getDmmf.js +10 -10
- package/dist/engine-commands/getEngineVersion.js +9 -6
- package/dist/engine-commands/getEnginesInfo.d.ts +1 -0
- package/dist/engine-commands/getEnginesInfo.js +9 -7
- package/dist/engine-commands/index.js +71 -64
- package/dist/engine-commands/lintSchema.js +9 -9
- package/dist/engine-commands/mergeSchemas.js +10 -10
- package/dist/engine-commands/queryEngineCommons.js +6 -6
- package/dist/engine-commands/validate.js +10 -10
- package/dist/errorReporting.js +6 -6
- package/dist/get-generators/getGenerators.d.ts +1 -0
- package/dist/get-generators/getGenerators.js +62 -55
- package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
- package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +5 -6
- package/dist/getPackedPackage.js +3 -4
- package/dist/index.d.ts +10 -1
- package/dist/index.js +112 -95
- package/dist/{multipart-parser-UV3WZSWW.js → multipart-parser-3AFJFP6K.js} +6 -6
- package/dist/resolveBinary.js +7 -8
- package/dist/schemaEngineCommands.js +8 -9
- package/dist/sendPanic.js +4 -4
- package/dist/utils/cloudflareD1.d.ts +5 -0
- package/dist/utils/cloudflareD1.js +27 -0
- package/dist/utils/drawBox.js +2 -2
- package/dist/utils/fs-functional.js +10 -10
- package/dist/utils/fs-utils.js +8 -8
- package/dist/utils/getEnvPaths.d.ts +14 -0
- package/dist/utils/getEnvPaths.js +29 -0
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handleEngineLoadingErrors.d.ts +8 -0
- package/dist/utils/handleEngineLoadingErrors.js +27 -0
- package/dist/utils/handlePanic.js +6 -6
- package/dist/utils/link.js +2 -2
- package/dist/utils/load.d.ts +6 -0
- package/dist/utils/load.js +28 -0
- package/dist/utils/loadEnvFile.d.ts +10 -0
- package/dist/utils/loadEnvFile.js +30 -0
- package/dist/utils/missingDatasource.js +3 -3
- package/dist/utils/missingGeneratorMessage.js +5 -5
- package/dist/utils/serializeQueryEngineName.js +2 -2
- package/dist/utils/tryLoadEnvs.d.ts +25 -0
- package/dist/utils/tryLoadEnvs.js +30 -0
- package/dist/wasm.js +5 -5
- package/package.json +16 -15
- package/dist/chunk-DYV47NUW.js +0 -796
|
@@ -16,20 +16,33 @@ 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_OAT7ZJED_exports = {};
|
|
20
|
+
__export(chunk_OAT7ZJED_exports, {
|
|
21
21
|
getEngineVersion: () => getEngineVersion,
|
|
22
22
|
safeGetEngineVersion: () => safeGetEngineVersion
|
|
23
23
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
24
|
+
module.exports = __toCommonJS(chunk_OAT7ZJED_exports);
|
|
25
|
+
var import_chunk_6TTRTZXU = require("./chunk-6TTRTZXU.js");
|
|
25
26
|
var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
|
|
26
|
-
var
|
|
27
|
+
var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
|
|
27
28
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
29
|
+
var import_engines = require("@prisma/engines");
|
|
28
30
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
|
31
|
+
var import_get_platform = require("@prisma/get-platform");
|
|
29
32
|
async function getEngineVersion(enginePath, binaryName) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
if (!binaryName) {
|
|
34
|
+
binaryName = (0, import_engines.getCliQueryEngineBinaryType)();
|
|
35
|
+
}
|
|
36
|
+
enginePath = await (0, import_chunk_FYZCPL2Z.resolveBinary)(binaryName, enginePath);
|
|
37
|
+
const platformInfo = await (0, import_get_platform.getPlatformInfo)();
|
|
38
|
+
if (binaryName === import_fetch_engine.BinaryType.QueryEngineLibrary) {
|
|
39
|
+
(0, import_get_platform.assertNodeAPISupported)();
|
|
40
|
+
const QE = (0, import_chunk_6TTRTZXU.loadLibrary)(enginePath, platformInfo);
|
|
41
|
+
return `${import_fetch_engine.BinaryType.QueryEngineLibrary} ${QE.version().commit}`;
|
|
42
|
+
} else {
|
|
43
|
+
const { stdout } = await (0, import_chunk_JOIHHXR6.execa)(enginePath, ["--version"]);
|
|
44
|
+
return stdout;
|
|
45
|
+
}
|
|
33
46
|
}
|
|
34
47
|
function safeGetEngineVersion(enginePath, binaryName) {
|
|
35
48
|
return (0, import_chunk_5DBOS77Y.tryCatch2)(
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_PZMRR772_exports = {};
|
|
20
|
+
__export(chunk_PZMRR772_exports, {
|
|
21
|
+
loadEnvFile: () => loadEnvFile
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_PZMRR772_exports);
|
|
24
|
+
var import_chunk_46ABODUM = require("./chunk-46ABODUM.js");
|
|
25
|
+
var import_chunk_3FP46GUV = require("./chunk-3FP46GUV.js");
|
|
26
|
+
async function loadEnvFile({
|
|
27
|
+
schemaPath,
|
|
28
|
+
config,
|
|
29
|
+
printMessage = false
|
|
30
|
+
}) {
|
|
31
|
+
if (config.loadedFromFile) {
|
|
32
|
+
process.stderr.write(`Prisma config detected, skipping environment variable loading.
|
|
33
|
+
`);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const envPaths = await (0, import_chunk_46ABODUM.getEnvPaths)(schemaPath);
|
|
37
|
+
const envData = (0, import_chunk_3FP46GUV.tryLoadEnvs)(envPaths, { conflictCheck: "error" });
|
|
38
|
+
if (printMessage && envData && envData.message) {
|
|
39
|
+
process.stderr.write(envData.message + "\n");
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -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_QJ3QPUM5_exports = {};
|
|
20
|
+
__export(chunk_QJ3QPUM5_exports, {
|
|
21
21
|
version: () => version
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
24
|
-
var
|
|
25
|
-
var packageJson = (0,
|
|
23
|
+
module.exports = __toCommonJS(chunk_QJ3QPUM5_exports);
|
|
24
|
+
var import_chunk_CCLAMTCA = require("./chunk-CCLAMTCA.js");
|
|
25
|
+
var packageJson = (0, import_chunk_CCLAMTCA.require_package)();
|
|
26
26
|
var version = packageJson.version;
|
|
@@ -16,15 +16,21 @@ 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_RS2R7COT_exports = {};
|
|
20
|
+
__export(chunk_RS2R7COT_exports, {
|
|
21
21
|
binaryTypeToEngineType: () => binaryTypeToEngineType
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
23
|
+
module.exports = __toCommonJS(chunk_RS2R7COT_exports);
|
|
24
24
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
|
25
25
|
function binaryTypeToEngineType(binaryType) {
|
|
26
26
|
if (binaryType === import_fetch_engine.BinaryType.SchemaEngineBinary) {
|
|
27
27
|
return "schemaEngine";
|
|
28
28
|
}
|
|
29
|
+
if (binaryType === import_fetch_engine.BinaryType.QueryEngineLibrary) {
|
|
30
|
+
return "libqueryEngine";
|
|
31
|
+
}
|
|
32
|
+
if (binaryType === import_fetch_engine.BinaryType.QueryEngineBinary) {
|
|
33
|
+
return "queryEngine";
|
|
34
|
+
}
|
|
29
35
|
throw new Error(`Could not convert binary type ${binaryType}`);
|
|
30
36
|
}
|
|
@@ -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_SOKSKSEX_exports = {};
|
|
30
|
+
__export(chunk_SOKSKSEX_exports, {
|
|
31
31
|
GetConfigError: () => GetConfigError,
|
|
32
32
|
getConfig: () => getConfig,
|
|
33
33
|
getDirectUrl: () => getDirectUrl,
|
|
34
34
|
getEffectiveUrl: () => getEffectiveUrl,
|
|
35
35
|
resolveUrl: () => resolveUrl
|
|
36
36
|
});
|
|
37
|
-
module.exports = __toCommonJS(
|
|
38
|
-
var
|
|
39
|
-
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
37
|
+
module.exports = __toCommonJS(chunk_SOKSKSEX_exports);
|
|
38
|
+
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
40
39
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
41
|
-
var
|
|
42
|
-
var
|
|
40
|
+
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
41
|
+
var import_chunk_JTS4UPHJ = require("./chunk-JTS4UPHJ.js");
|
|
42
|
+
var import_chunk_FHZ5QJLR = require("./chunk-FHZ5QJLR.js");
|
|
43
43
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
44
44
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
45
45
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
@@ -64,7 +64,7 @@ ${detailsHeader} ${message}`;
|
|
|
64
64
|
}).exhaustive();
|
|
65
65
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
66
66
|
[Context: getConfig]`;
|
|
67
|
-
super((0,
|
|
67
|
+
super((0, import_chunk_JTS4UPHJ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
68
68
|
this.name = "GetConfigError";
|
|
69
69
|
}
|
|
70
70
|
};
|
|
@@ -82,17 +82,23 @@ function resolveUrl(envValue) {
|
|
|
82
82
|
return urlFromValue ?? urlEnvVarValue;
|
|
83
83
|
}
|
|
84
84
|
async function getConfig(options) {
|
|
85
|
-
const debugErrorType = (0,
|
|
85
|
+
const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "getConfigWasm");
|
|
86
86
|
debug(`Using getConfig Wasm`);
|
|
87
87
|
const configEither = (0, import_function.pipe)(
|
|
88
88
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
|
89
89
|
() => {
|
|
90
90
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
|
|
91
91
|
debug("Triggering a Rust panic...");
|
|
92
|
-
|
|
92
|
+
import_chunk_FHZ5QJLR.prismaSchemaWasm.debug_panic();
|
|
93
93
|
}
|
|
94
|
-
const params = JSON.stringify({
|
|
95
|
-
|
|
94
|
+
const params = JSON.stringify({
|
|
95
|
+
prismaSchema: options.datamodel,
|
|
96
|
+
datasourceOverrides: {},
|
|
97
|
+
ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
|
|
98
|
+
env: process.env
|
|
99
|
+
});
|
|
100
|
+
const data = import_chunk_FHZ5QJLR.prismaSchemaWasm.get_config(params);
|
|
101
|
+
return data;
|
|
96
102
|
},
|
|
97
103
|
(e) => ({
|
|
98
104
|
type: "wasm-error",
|
|
@@ -150,12 +156,12 @@ async function getConfig(options) {
|
|
|
150
156
|
return panic;
|
|
151
157
|
}
|
|
152
158
|
const errorOutput = e.error.message;
|
|
153
|
-
return new GetConfigError((0,
|
|
159
|
+
return new GetConfigError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
|
154
160
|
}).with({ type: "validation-error" }, (e) => {
|
|
155
161
|
return new GetConfigError({
|
|
156
162
|
_tag: "parsed",
|
|
157
163
|
errorCode: SCHEMA_VALIDATION_ERROR_CODE,
|
|
158
|
-
reason: (0,
|
|
164
|
+
reason: (0, import_chunk_TZJROXB3.createSchemaValidationError)(e.reason),
|
|
159
165
|
message: formatErrors(e.error)
|
|
160
166
|
});
|
|
161
167
|
}).otherwise((e) => {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_T2PM5TKT_exports = {};
|
|
20
|
+
__export(chunk_T2PM5TKT_exports, {
|
|
21
|
+
dotenvExpand: () => dotenvExpand
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_T2PM5TKT_exports);
|
|
24
|
+
function dotenvExpand(config) {
|
|
25
|
+
const environment = config.ignoreProcessEnv ? {} : process.env;
|
|
26
|
+
const interpolate = (envValue) => {
|
|
27
|
+
const matches = envValue.match(/(.?\${(?:[a-zA-Z0-9_]+)?})/g);
|
|
28
|
+
return matches?.reduce(function(newEnv, match) {
|
|
29
|
+
const parts = /(.?)\${([a-zA-Z0-9_]+)?}/g.exec(match);
|
|
30
|
+
if (!parts) {
|
|
31
|
+
return newEnv;
|
|
32
|
+
}
|
|
33
|
+
const prefix = parts[1];
|
|
34
|
+
let value, replacePart;
|
|
35
|
+
if (prefix === "\\") {
|
|
36
|
+
replacePart = parts[0];
|
|
37
|
+
value = replacePart.replace("\\$", "$");
|
|
38
|
+
} else {
|
|
39
|
+
const key = parts[2];
|
|
40
|
+
replacePart = parts[0].substring(prefix.length);
|
|
41
|
+
value = Object.hasOwnProperty.call(environment, key) ? environment[key] : config.parsed[key] || "";
|
|
42
|
+
value = interpolate(value);
|
|
43
|
+
}
|
|
44
|
+
return newEnv.replace(replacePart, value);
|
|
45
|
+
}, envValue) ?? envValue;
|
|
46
|
+
};
|
|
47
|
+
for (const configKey in config.parsed) {
|
|
48
|
+
const value = Object.hasOwnProperty.call(environment, configKey) ? environment[configKey] : config.parsed[configKey];
|
|
49
|
+
config.parsed[configKey] = interpolate(value);
|
|
50
|
+
}
|
|
51
|
+
for (const processKey in config.parsed) {
|
|
52
|
+
environment[processKey] = config.parsed[processKey];
|
|
53
|
+
}
|
|
54
|
+
return config;
|
|
55
|
+
}
|
|
@@ -16,20 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var chunk_TBR6SNKL_exports = {};
|
|
20
|
+
__export(chunk_TBR6SNKL_exports, {
|
|
21
21
|
getLintWarnings: () => getLintWarnings,
|
|
22
22
|
getLintWarningsAsText: () => getLintWarningsAsText,
|
|
23
23
|
handleLintPanic: () => handleLintPanic,
|
|
24
24
|
lintSchema: () => lintSchema,
|
|
25
25
|
warningToString: () => warningToString
|
|
26
26
|
});
|
|
27
|
-
module.exports = __toCommonJS(
|
|
28
|
-
var
|
|
27
|
+
module.exports = __toCommonJS(chunk_TBR6SNKL_exports);
|
|
28
|
+
var import_chunk_FHZ5QJLR = require("./chunk-FHZ5QJLR.js");
|
|
29
29
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
30
30
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
31
31
|
function lintSchema({ schemas }) {
|
|
32
|
-
const lintResult =
|
|
32
|
+
const lintResult = import_chunk_FHZ5QJLR.prismaSchemaWasm.lint(JSON.stringify(schemas));
|
|
33
33
|
const lintDiagnostics = JSON.parse(lintResult);
|
|
34
34
|
return lintDiagnostics;
|
|
35
35
|
}
|
|
@@ -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_TEOXRLQU_exports = {};
|
|
20
|
+
__export(chunk_TEOXRLQU_exports, {
|
|
21
21
|
require_package: () => require_package
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
23
|
+
module.exports = __toCommonJS(chunk_TEOXRLQU_exports);
|
|
24
24
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
25
25
|
var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
26
26
|
"package.json"(exports, module2) {
|
|
27
27
|
module2.exports = {
|
|
28
28
|
name: "@prisma/internals",
|
|
29
|
-
version: "6.20.0-integration-
|
|
29
|
+
version: "6.20.0-integration-oidc-truster-publishers.1",
|
|
30
30
|
description: "This package is intended for Prisma's internal use",
|
|
31
31
|
main: "dist/index.js",
|
|
32
32
|
types: "dist/index.d.ts",
|
|
@@ -59,11 +59,12 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
59
59
|
"@swc/jest": "0.2.37",
|
|
60
60
|
"@types/babel__helper-validator-identifier": "7.15.2",
|
|
61
61
|
"@types/jest": "29.5.14",
|
|
62
|
-
"@types/node": "
|
|
62
|
+
"@types/node": "18.19.76",
|
|
63
63
|
"@types/resolve": "1.20.6",
|
|
64
64
|
archiver: "6.0.2",
|
|
65
65
|
"checkpoint-client": "1.1.33",
|
|
66
66
|
"cli-truncate": "4.0.0",
|
|
67
|
+
dotenv: "16.5.0",
|
|
67
68
|
empathic: "2.0.0",
|
|
68
69
|
"escape-string-regexp": "5.0.0",
|
|
69
70
|
execa: "8.0.1",
|
|
@@ -108,14 +109,14 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
108
109
|
"@prisma/generator": "workspace:*",
|
|
109
110
|
"@prisma/generator-helper": "workspace:*",
|
|
110
111
|
"@prisma/get-platform": "workspace:*",
|
|
111
|
-
"@prisma/prisma-schema-wasm": "6.19.0-
|
|
112
|
-
"@prisma/schema-engine-wasm": "6.19.0-
|
|
112
|
+
"@prisma/prisma-schema-wasm": "6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773",
|
|
113
|
+
"@prisma/schema-engine-wasm": "6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773",
|
|
113
114
|
"@prisma/schema-files-loader": "workspace:*",
|
|
114
115
|
arg: "5.0.2",
|
|
115
116
|
prompts: "2.4.2"
|
|
116
117
|
},
|
|
117
118
|
peerDependencies: {
|
|
118
|
-
typescript: ">=5.
|
|
119
|
+
typescript: ">=5.1.0"
|
|
119
120
|
},
|
|
120
121
|
peerDependenciesMeta: {
|
|
121
122
|
typescript: {
|
|
@@ -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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_TQFONRJP_exports = {};
|
|
30
|
+
__export(chunk_TQFONRJP_exports, {
|
|
31
31
|
createDirIfNotExists: () => createDirIfNotExists,
|
|
32
32
|
fs_utils_exports: () => fs_utils_exports,
|
|
33
33
|
getFilesInDir: () => getFilesInDir,
|
|
@@ -36,9 +36,9 @@ __export(chunk_MLFKBBDL_exports, {
|
|
|
36
36
|
removeEmptyDirs: () => removeEmptyDirs,
|
|
37
37
|
writeFile: () => writeFile
|
|
38
38
|
});
|
|
39
|
-
module.exports = __toCommonJS(
|
|
39
|
+
module.exports = __toCommonJS(chunk_TQFONRJP_exports);
|
|
40
40
|
var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
|
|
41
|
-
var
|
|
41
|
+
var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
|
|
42
42
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
43
43
|
var import_promises = __toESM(require("fs/promises"));
|
|
44
44
|
var import_path = __toESM(require("path"));
|
|
@@ -51,7 +51,7 @@ var fs_utils_exports = {};
|
|
|
51
51
|
removeEmptyDirs: () => removeEmptyDirs,
|
|
52
52
|
writeFile: () => writeFile
|
|
53
53
|
});
|
|
54
|
-
var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0,
|
|
54
|
+
var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_globby)());
|
|
55
55
|
function createDirIfNotExists(dir) {
|
|
56
56
|
return import_promises.default.mkdir(dir, { recursive: true });
|
|
57
57
|
}
|
|
@@ -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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_TZJROXB3_exports = {};
|
|
30
|
+
__export(chunk_TZJROXB3_exports, {
|
|
31
31
|
createDebugErrorType: () => createDebugErrorType,
|
|
32
32
|
createSchemaValidationError: () => createSchemaValidationError,
|
|
33
33
|
parseQueryEngineError: () => parseQueryEngineError,
|
|
34
34
|
unlinkTempDatamodelPath: () => unlinkTempDatamodelPath
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
37
|
-
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
36
|
+
module.exports = __toCommonJS(chunk_TZJROXB3_exports);
|
|
38
37
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
38
|
+
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
39
39
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
40
40
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
41
41
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
@@ -16,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_UHI6VYFX_exports = {};
|
|
20
|
+
__export(chunk_UHI6VYFX_exports, {
|
|
21
21
|
SchemaEngineExitCode: () => SchemaEngineExitCode,
|
|
22
22
|
canConnectToDatabase: () => canConnectToDatabase,
|
|
23
23
|
createDatabase: () => createDatabase,
|
|
24
24
|
dropDatabase: () => dropDatabase,
|
|
25
25
|
execaCommand: () => execaCommand
|
|
26
26
|
});
|
|
27
|
-
module.exports = __toCommonJS(
|
|
27
|
+
module.exports = __toCommonJS(chunk_UHI6VYFX_exports);
|
|
28
28
|
var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
|
|
29
|
-
var
|
|
29
|
+
var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
|
|
30
30
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
|
31
31
|
var SchemaEngineExitCode = /* @__PURE__ */ ((SchemaEngineExitCode2) => {
|
|
32
32
|
SchemaEngineExitCode2[SchemaEngineExitCode2["Success"] = 0] = "Success";
|
|
@@ -139,7 +139,7 @@ async function execaCommand({
|
|
|
139
139
|
schemaEnginePath,
|
|
140
140
|
engineCommandName
|
|
141
141
|
}) {
|
|
142
|
-
schemaEnginePath = schemaEnginePath || await (0,
|
|
142
|
+
schemaEnginePath = schemaEnginePath || await (0, import_chunk_FYZCPL2Z.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
|
|
143
143
|
try {
|
|
144
144
|
return await (0, import_chunk_JOIHHXR6.execa)(schemaEnginePath, ["cli", "--datasource", connectionString, engineCommandName], {
|
|
145
145
|
cwd,
|
|
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_UQUWZJVN_exports = {};
|
|
30
|
+
__export(chunk_UQUWZJVN_exports, {
|
|
31
31
|
handlePanic: () => handlePanic
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(chunk_UQUWZJVN_exports);
|
|
34
|
+
var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
|
|
35
35
|
var import_chunk_7IKUTPWQ = require("./chunk-7IKUTPWQ.js");
|
|
36
36
|
var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
|
|
37
|
-
var
|
|
37
|
+
var import_chunk_HFFWZTVM = require("./chunk-HFFWZTVM.js");
|
|
38
38
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
39
39
|
var import_prompts = __toESM(require("prompts"));
|
|
40
40
|
async function handlePanic(args) {
|
|
@@ -56,7 +56,7 @@ ${(0, import_chunk_PG5FDKSF.red)(errorMessage)}
|
|
|
56
56
|
|
|
57
57
|
${(0, import_chunk_PG5FDKSF.bold)("Please help us improve Prisma by submitting an error report.")}
|
|
58
58
|
${(0, import_chunk_PG5FDKSF.bold)("Error reports never contain personal or other sensitive information.")}
|
|
59
|
-
${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0,
|
|
59
|
+
${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/telemetry")}`)}
|
|
60
60
|
`);
|
|
61
61
|
const { value: shouldSubmitReport } = await (0, import_prompts.default)({
|
|
62
62
|
type: "select",
|
|
@@ -79,7 +79,7 @@ ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_3WXUQZS7.link)(
|
|
|
79
79
|
if (shouldSubmitReport) {
|
|
80
80
|
try {
|
|
81
81
|
console.log("Submitting...");
|
|
82
|
-
const reportId = await (0,
|
|
82
|
+
const reportId = await (0, import_chunk_HFFWZTVM.sendPanic)({ error, cliVersion, enginesVersion, getDatabaseVersionSafe });
|
|
83
83
|
console.log(`
|
|
84
84
|
${(0, import_chunk_PG5FDKSF.bold)(`We successfully received the error report id: ${reportId}`)}`);
|
|
85
85
|
console.log(`
|
|
@@ -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_WEU72JRD_exports = {};
|
|
20
|
+
__export(chunk_WEU72JRD_exports, {
|
|
21
21
|
addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
23
|
+
module.exports = __toCommonJS(chunk_WEU72JRD_exports);
|
|
24
|
+
var import_chunk_26ZV6OR7 = require("./chunk-26ZV6OR7.js");
|
|
24
25
|
var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
|
|
25
|
-
var import_chunk_VFZCLI5X = require("./chunk-VFZCLI5X.js");
|
|
26
26
|
function addVersionDetailsToErrorMessage(message) {
|
|
27
|
-
const rows = [["Prisma CLI Version",
|
|
27
|
+
const rows = [["Prisma CLI Version", import_chunk_26ZV6OR7.version]];
|
|
28
28
|
return `${message}
|
|
29
29
|
|
|
30
30
|
${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
|
|
@@ -26,12 +26,13 @@ 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_WFNB7VRA_exports = {};
|
|
30
|
+
__export(chunk_WFNB7VRA_exports, {
|
|
31
31
|
getGeneratorSuccessMessage: () => getGeneratorSuccessMessage
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_WFNB7VRA_exports);
|
|
34
34
|
var import_chunk_XYCIH36R = require("./chunk-XYCIH36R.js");
|
|
35
|
+
var import_chunk_ERSH2BQA = require("./chunk-ERSH2BQA.js");
|
|
35
36
|
var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
|
|
36
37
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
37
38
|
var import_path = __toESM(require("path"));
|
|
@@ -44,7 +45,16 @@ function getGeneratorSuccessMessage(generator, time) {
|
|
|
44
45
|
function formatVersion(generator) {
|
|
45
46
|
const version = generator.manifest?.version;
|
|
46
47
|
if (generator.getProvider() === "prisma-client-js") {
|
|
47
|
-
|
|
48
|
+
const engineType = (0, import_chunk_ERSH2BQA.getClientEngineType)(generator.config);
|
|
49
|
+
let engineHint = "";
|
|
50
|
+
if (generator.options?.noEngine) {
|
|
51
|
+
engineHint = ", engine=none";
|
|
52
|
+
} else if (engineType === "binary") {
|
|
53
|
+
engineHint = ", engine=binary";
|
|
54
|
+
} else if (engineType === "library") {
|
|
55
|
+
engineHint = "";
|
|
56
|
+
}
|
|
57
|
+
return `v${version ?? "?.?.?"}${engineHint}`;
|
|
48
58
|
}
|
|
49
59
|
return version;
|
|
50
60
|
}
|
|
@@ -26,17 +26,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_WYQJ4JWO_exports = {};
|
|
30
|
+
__export(chunk_WYQJ4JWO_exports, {
|
|
31
31
|
ValidateError: () => ValidateError,
|
|
32
32
|
validate: () => validate
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
36
|
-
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
34
|
+
module.exports = __toCommonJS(chunk_WYQJ4JWO_exports);
|
|
35
|
+
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
37
36
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
38
|
-
var
|
|
39
|
-
var
|
|
37
|
+
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
38
|
+
var import_chunk_JTS4UPHJ = require("./chunk-JTS4UPHJ.js");
|
|
39
|
+
var import_chunk_FHZ5QJLR = require("./chunk-FHZ5QJLR.js");
|
|
40
40
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
41
41
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
42
42
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
@@ -59,25 +59,25 @@ ${detailsHeader} ${message}`;
|
|
|
59
59
|
}).exhaustive();
|
|
60
60
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
61
61
|
[Context: validate]`;
|
|
62
|
-
super((0,
|
|
62
|
+
super((0, import_chunk_JTS4UPHJ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
63
63
|
this.name = "ValidateError";
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
function validate(options) {
|
|
67
|
-
const debugErrorType = (0,
|
|
67
|
+
const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "validateWasm");
|
|
68
68
|
debug(`Using validate Wasm`);
|
|
69
69
|
const validateEither = (0, import_function.pipe)(
|
|
70
70
|
(0, import_chunk_5DBOS77Y.tryCatch)(
|
|
71
71
|
() => {
|
|
72
72
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
|
|
73
73
|
debug("Triggering a Rust panic...");
|
|
74
|
-
|
|
74
|
+
import_chunk_FHZ5QJLR.prismaSchemaWasm.debug_panic();
|
|
75
75
|
}
|
|
76
76
|
const params = JSON.stringify({
|
|
77
77
|
prismaSchema: options.schemas,
|
|
78
78
|
noColor: Boolean(process.env.NO_COLOR)
|
|
79
79
|
});
|
|
80
|
-
|
|
80
|
+
import_chunk_FHZ5QJLR.prismaSchemaWasm.validate(params);
|
|
81
81
|
},
|
|
82
82
|
(e) => ({
|
|
83
83
|
type: "wasm-error",
|
|
@@ -109,7 +109,7 @@ function validate(options) {
|
|
|
109
109
|
return panic;
|
|
110
110
|
}
|
|
111
111
|
const errorOutput = e.error.message;
|
|
112
|
-
return new ValidateError((0,
|
|
112
|
+
return new ValidateError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
|
113
113
|
}).exhaustive();
|
|
114
114
|
throw error;
|
|
115
115
|
}
|