@prisma/internals 6.19.0 → 6.20.0-integration-next.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-GMW36QQF.js → chunk-22HIO2UL.js} +7 -7
- package/dist/{chunk-C7SAKLK2.js → chunk-24ZPBDBI.js} +11 -11
- package/dist/{chunk-D7OTFXCP.js → chunk-2Q43C56O.js} +5 -5
- package/dist/{chunk-TBR6SNKL.js → chunk-3L2WF742.js} +5 -5
- package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
- package/dist/{chunk-Y7XBA7JY.js → chunk-3ZWEK4N6.js} +5 -5
- package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
- package/dist/{chunk-F2OZV76L.js → chunk-5MHUYAV3.js} +9 -9
- package/dist/{chunk-HO5HRHFZ.js → chunk-5W3BSMTH.js} +3 -6
- package/dist/{chunk-FGU7IK4W.js → chunk-6AA7BHPW.js} +8 -9
- package/dist/{chunk-E6MOBIU5.js → chunk-73HXEN2A.js} +5 -5
- package/dist/{chunk-LU7NT333.js → chunk-7FBMZKZS.js} +11 -11
- package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
- package/dist/{chunk-CCLAMTCA.js → chunk-B2BNIZB2.js} +7 -8
- package/dist/{chunk-UQUWZJVN.js → chunk-BM3JIFQT.js} +7 -7
- package/dist/{chunk-HFFWZTVM.js → chunk-BUQN4WLU.js} +7 -9
- package/dist/{chunk-AP3F7M3T.js → chunk-C5YUUOQW.js} +12 -12
- package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
- package/dist/{chunk-LV27YCGC.js → chunk-DQV64JMK.js} +11 -11
- package/dist/chunk-DYV47NUW.js +796 -0
- package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
- package/dist/{chunk-JTS4UPHJ.js → chunk-GH4UGGRD.js} +5 -5
- package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
- package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
- package/dist/{chunk-OAT7ZJED.js → chunk-H5STSTVK.js} +7 -20
- package/dist/{chunk-FYZCPL2Z.js → chunk-HNRMSI3R.js} +5 -8
- package/dist/{chunk-2GUGGLPK.js → chunk-KGES6NIS.js} +38 -94
- package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
- package/dist/{chunk-SOKSKSEX.js → chunk-LA5QBRTU.js} +14 -20
- package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
- package/dist/{chunk-FHZ5QJLR.js → chunk-MGIYZQLY.js} +5 -5
- package/dist/{chunk-TQFONRJP.js → chunk-MLFKBBDL.js} +5 -5
- package/dist/{chunk-7QC5VORA.js → chunk-MYLPCGTT.js} +5 -5
- package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
- package/dist/{chunk-JOIIWB3U.js → chunk-QOZ7USPD.js} +193 -159
- package/dist/{chunk-BVJP43JS.js → chunk-QSVWJ2S2.js} +13 -784
- package/dist/{chunk-QJ3QPUM5.js → chunk-RHMWJEBL.js} +5 -5
- package/dist/{chunk-75BIJ5PX.js → chunk-SMJRM3EM.js} +9 -9
- package/dist/{chunk-AX5N26KG.js → chunk-TGA7DC5A.js} +14 -9
- package/dist/{chunk-LFFCR67R.js → chunk-UR5IPQXA.js} +14 -20
- package/dist/{chunk-5IQ5L5E4.js → chunk-VFU3QB5Z.js} +38 -94
- package/dist/{chunk-PHFQSMQF.js → chunk-VFZCLI5X.js} +5 -5
- package/dist/{chunk-E4H6V3Z4.js → chunk-VHE2A7YV.js} +11 -11
- package/dist/{chunk-UHI6VYFX.js → chunk-WJKBKH3Y.js} +5 -5
- package/dist/{chunk-TZJROXB3.js → chunk-WSZXPLJQ.js} +4 -4
- package/dist/{chunk-WYQJ4JWO.js → chunk-ZUKCLMNA.js} +12 -12
- package/dist/cli/checkUnsupportedDataProxy.js +53 -60
- package/dist/cli/getGeneratorSuccessMessage.js +2 -3
- package/dist/cli/getSchema.d.ts +1 -15
- package/dist/cli/getSchema.js +4 -5
- package/dist/cli/hashes.js +4 -4
- package/dist/cli/schemaContext.d.ts +1 -3
- package/dist/cli/schemaContext.js +53 -60
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +52 -59
- package/dist/engine-commands/getConfig.d.ts +0 -1
- package/dist/engine-commands/getConfig.js +13 -13
- package/dist/engine-commands/getDmmf.js +10 -10
- package/dist/engine-commands/getEngineVersion.js +6 -9
- package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
- package/dist/engine-commands/getEnginesInfo.js +7 -9
- package/dist/engine-commands/index.js +64 -71
- 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 +0 -1
- package/dist/get-generators/getGenerators.js +55 -62
- 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 +6 -5
- package/dist/getPackedPackage.js +4 -3
- package/dist/index.d.ts +1 -10
- package/dist/index.js +95 -112
- package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
- package/dist/resolveBinary.js +8 -7
- package/dist/schemaEngineCommands.js +9 -8
- package/dist/sendPanic.js +4 -4
- 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/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +6 -6
- package/dist/utils/link.js +2 -2
- package/dist/utils/missingDatasource.js +3 -3
- package/dist/utils/missingGeneratorMessage.js +5 -5
- package/dist/utils/serializeQueryEngineName.js +2 -2
- package/dist/wasm.js +5 -5
- package/package.json +15 -16
- package/dist/chunk-3FP46GUV.js +0 -471
- package/dist/chunk-46ABODUM.js +0 -186
- package/dist/chunk-6TTRTZXU.js +0 -37
- package/dist/chunk-D4VDA2TZ.js +0 -66
- package/dist/chunk-DZYINYAA.js +0 -68
- package/dist/chunk-ERSH2BQA.js +0 -58
- package/dist/chunk-PZMRR772.js +0 -41
- package/dist/chunk-T2PM5TKT.js +0 -55
- package/dist/cli/checkUnsupportedSchemaEngineWasm.d.ts +0 -22
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +0 -135
- package/dist/client/getClientEngineType.d.ts +0 -7
- package/dist/client/getClientEngineType.js +0 -26
- package/dist/dotenvExpand.d.ts +0 -35
- package/dist/dotenvExpand.js +0 -25
- package/dist/utils/cloudflareD1.d.ts +0 -5
- package/dist/utils/cloudflareD1.js +0 -27
- package/dist/utils/getEnvPaths.d.ts +0 -14
- package/dist/utils/getEnvPaths.js +0 -29
- package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
- package/dist/utils/handleEngineLoadingErrors.js +0 -27
- package/dist/utils/load.d.ts +0 -6
- package/dist/utils/load.js +0 -28
- package/dist/utils/loadEnvFile.d.ts +0 -10
- package/dist/utils/loadEnvFile.js +0 -30
- package/dist/utils/tryLoadEnvs.d.ts +0 -25
- package/dist/utils/tryLoadEnvs.js +0 -30
|
@@ -1,26 +0,0 @@
|
|
|
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 getClientEngineType_exports = {};
|
|
20
|
-
__export(getClientEngineType_exports, {
|
|
21
|
-
ClientEngineType: () => import_chunk_ERSH2BQA.ClientEngineType,
|
|
22
|
-
getClientEngineType: () => import_chunk_ERSH2BQA.getClientEngineType
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(getClientEngineType_exports);
|
|
25
|
-
var import_chunk_ERSH2BQA = require("../chunk-ERSH2BQA.js");
|
|
26
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
package/dist/dotenvExpand.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { DotenvConfigOutput } from 'dotenv';
|
|
2
|
-
/**
|
|
3
|
-
* Modified version of https://github.com/motdotla/dotenv-expand
|
|
4
|
-
* Our version does only expand ${ENV} - curly braces but not without curly braces
|
|
5
|
-
*
|
|
6
|
-
* Original License from https://github.com/motdotla/dotenv-expand/blob/de9e5cb0215495452f475f5be4dea1580b8217cd/LICENSE
|
|
7
|
-
* Copyright (c) 2016, Scott Motte
|
|
8
|
-
* All rights reserved.
|
|
9
|
-
*
|
|
10
|
-
* Redistribution and use in source and binary forms, with or without
|
|
11
|
-
* modification, are permitted provided that the following conditions are met:
|
|
12
|
-
*
|
|
13
|
-
* * Redistributions of source code must retain the above copyright notice, this
|
|
14
|
-
* list of conditions and the following disclaimer.
|
|
15
|
-
*
|
|
16
|
-
* * Redistributions in binary form must reproduce the above copyright notice,
|
|
17
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
18
|
-
* and/or other materials provided with the distribution.
|
|
19
|
-
*
|
|
20
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
-
*/
|
|
31
|
-
export declare function dotenvExpand(config: DotenvConfigOutput & {
|
|
32
|
-
ignoreProcessEnv?: boolean;
|
|
33
|
-
}): DotenvConfigOutput & {
|
|
34
|
-
ignoreProcessEnv?: boolean | undefined;
|
|
35
|
-
};
|
package/dist/dotenvExpand.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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 dotenvExpand_exports = {};
|
|
20
|
-
__export(dotenvExpand_exports, {
|
|
21
|
-
dotenvExpand: () => import_chunk_T2PM5TKT.dotenvExpand
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(dotenvExpand_exports);
|
|
24
|
-
var import_chunk_T2PM5TKT = require("./chunk-T2PM5TKT.js");
|
|
25
|
-
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
@@ -1,27 +0,0 @@
|
|
|
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 cloudflareD1_exports = {};
|
|
20
|
-
__export(cloudflareD1_exports, {
|
|
21
|
-
locateLocalCloudflareD1: () => import_chunk_D4VDA2TZ.locateLocalCloudflareD1
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(cloudflareD1_exports);
|
|
24
|
-
var import_chunk_D4VDA2TZ = require("../chunk-D4VDA2TZ.js");
|
|
25
|
-
var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
|
|
26
|
-
var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
|
|
27
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EnvPaths } from '@prisma/generator';
|
|
2
|
-
/**
|
|
3
|
-
* 1. Search in project root
|
|
4
|
-
* 1. Schema
|
|
5
|
-
* 1. Search location from schema arg `--schema`
|
|
6
|
-
* 1. Search location from pkgJSON `"prisma": {"schema": "/path/to/schema.prisma"}`
|
|
7
|
-
* 1. Search default location `./prisma/.env`
|
|
8
|
-
* 1. Search cwd `./.env`
|
|
9
|
-
*
|
|
10
|
-
* @returns `{ rootEnvPath, schemaEnvPath }`
|
|
11
|
-
*/
|
|
12
|
-
export declare function getEnvPaths(schemaPath?: string | null, opts?: {
|
|
13
|
-
cwd: string;
|
|
14
|
-
}): Promise<EnvPaths>;
|
|
@@ -1,29 +0,0 @@
|
|
|
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 getEnvPaths_exports = {};
|
|
20
|
-
__export(getEnvPaths_exports, {
|
|
21
|
-
getEnvPaths: () => import_chunk_46ABODUM.getEnvPaths
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getEnvPaths_exports);
|
|
24
|
-
var import_chunk_46ABODUM = require("../chunk-46ABODUM.js");
|
|
25
|
-
var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
|
|
26
|
-
var import_chunk_EYVG6XQS = require("../chunk-EYVG6XQS.js");
|
|
27
|
-
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
28
|
-
var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
|
|
29
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type PlatformInfo } from '@prisma/get-platform';
|
|
2
|
-
type HandleLibraryLoadingErrorsInput = {
|
|
3
|
-
e: Error;
|
|
4
|
-
platformInfo: PlatformInfo;
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function handleLibraryLoadingErrors(args: HandleLibraryLoadingErrorsInput): string;
|
|
8
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
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 handleEngineLoadingErrors_exports = {};
|
|
20
|
-
__export(handleEngineLoadingErrors_exports, {
|
|
21
|
-
handleLibraryLoadingErrors: () => import_chunk_DZYINYAA.handleLibraryLoadingErrors
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(handleEngineLoadingErrors_exports);
|
|
24
|
-
var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
|
|
25
|
-
var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
|
|
26
|
-
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
27
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
package/dist/utils/load.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { PlatformInfo } from '@prisma/get-platform';
|
|
2
|
-
/**
|
|
3
|
-
* This is a wrapper around `require` for loading a Node-API library.
|
|
4
|
-
* This is to avoid eval and hide require away from bundlers
|
|
5
|
-
*/
|
|
6
|
-
export declare function loadLibrary<T>(id: string, platformInfo: PlatformInfo): T;
|
package/dist/utils/load.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
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 load_exports = {};
|
|
20
|
-
__export(load_exports, {
|
|
21
|
-
loadLibrary: () => import_chunk_6TTRTZXU.loadLibrary
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(load_exports);
|
|
24
|
-
var import_chunk_6TTRTZXU = require("../chunk-6TTRTZXU.js");
|
|
25
|
-
var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
|
|
26
|
-
var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
|
|
27
|
-
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
28
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
|
-
/**
|
|
3
|
-
* Read .env file only if next to schema.prisma
|
|
4
|
-
* .env found: print to console its relative path
|
|
5
|
-
*/
|
|
6
|
-
export declare function loadEnvFile({ schemaPath, config, printMessage, }: {
|
|
7
|
-
schemaPath?: string;
|
|
8
|
-
printMessage?: boolean;
|
|
9
|
-
config: PrismaConfigInternal;
|
|
10
|
-
}): Promise<void>;
|
|
@@ -1,30 +0,0 @@
|
|
|
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 loadEnvFile_exports = {};
|
|
20
|
-
__export(loadEnvFile_exports, {
|
|
21
|
-
loadEnvFile: () => import_chunk_PZMRR772.loadEnvFile
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(loadEnvFile_exports);
|
|
24
|
-
var import_chunk_PZMRR772 = require("../chunk-PZMRR772.js");
|
|
25
|
-
var import_chunk_46ABODUM = require("../chunk-46ABODUM.js");
|
|
26
|
-
var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
|
|
27
|
-
var import_chunk_EYVG6XQS = require("../chunk-EYVG6XQS.js");
|
|
28
|
-
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
29
|
-
var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
|
|
30
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import dotenv from 'dotenv';
|
|
2
|
-
type DotenvResult = dotenv.DotenvConfigOutput & {
|
|
3
|
-
ignoreProcessEnv?: boolean | undefined;
|
|
4
|
-
};
|
|
5
|
-
interface DotenvLoadEnvResult {
|
|
6
|
-
message: string;
|
|
7
|
-
path: string;
|
|
8
|
-
dotenvResult: DotenvResult;
|
|
9
|
-
}
|
|
10
|
-
export type LoadedEnv = {
|
|
11
|
-
message?: string;
|
|
12
|
-
parsed: {
|
|
13
|
-
[x: string]: string;
|
|
14
|
-
};
|
|
15
|
-
} | undefined;
|
|
16
|
-
export declare function tryLoadEnvs({ rootEnvPath, schemaEnvPath, }: {
|
|
17
|
-
rootEnvPath: string | null | undefined;
|
|
18
|
-
schemaEnvPath: string | null | undefined;
|
|
19
|
-
}, opts?: {
|
|
20
|
-
conflictCheck: 'warn' | 'error' | 'none';
|
|
21
|
-
}): LoadedEnv;
|
|
22
|
-
export declare function loadEnv(envPath: string | null | undefined): DotenvLoadEnvResult | null;
|
|
23
|
-
export declare function pathsEqual(path1: string | null | undefined, path2: string | null | undefined): boolean | "" | null | undefined;
|
|
24
|
-
export declare function exists(p: string | null | undefined): p is string;
|
|
25
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
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 tryLoadEnvs_exports = {};
|
|
20
|
-
__export(tryLoadEnvs_exports, {
|
|
21
|
-
exists: () => import_chunk_3FP46GUV.exists,
|
|
22
|
-
loadEnv: () => import_chunk_3FP46GUV.loadEnv,
|
|
23
|
-
pathsEqual: () => import_chunk_3FP46GUV.pathsEqual,
|
|
24
|
-
tryLoadEnvs: () => import_chunk_3FP46GUV.tryLoadEnvs
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(tryLoadEnvs_exports);
|
|
27
|
-
var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
|
|
28
|
-
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
29
|
-
var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
|
|
30
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|