opticore-env-access 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +72 -0
- package/dist/{index.d.mts → index.d.cts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +30 -67
- package/package.json +5 -2
- package/dist/index.mjs +0 -35
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/index.ts
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
|
+
getEnvVariable: () => getEnvVariable
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(index_exports);
|
|
36
|
+
|
|
37
|
+
// src/domains/environnement/access.env.ts
|
|
38
|
+
var import_dotenv = __toESM(require("dotenv"), 1);
|
|
39
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$;
|
|
40
|
+
var getEnvVariable = {
|
|
41
|
+
apiVersion: String((_b = (_a = import_dotenv.default.config()) == null ? void 0 : _a.parsed) == null ? void 0 : _b.API_VERSION),
|
|
42
|
+
appHost: String((_d = (_c = import_dotenv.default.config()) == null ? void 0 : _c.parsed) == null ? void 0 : _d.APP_HOST),
|
|
43
|
+
appPort: String((_f = (_e = import_dotenv.default.config()) == null ? void 0 : _e.parsed) == null ? void 0 : _f.APP_PORT),
|
|
44
|
+
argumentsDatabaseConnection: String((_h = (_g = import_dotenv.default.config()) == null ? void 0 : _g.parsed) == null ? void 0 : _h.ARGUMENTS_DATABASE_CONNECTION),
|
|
45
|
+
devEnv: String((_j = (_i = import_dotenv.default.config()) == null ? void 0 : _i.parsed) == null ? void 0 : _j.ENV_DEV),
|
|
46
|
+
dataBaseHost: String((_l = (_k = import_dotenv.default.config()) == null ? void 0 : _k.parsed) == null ? void 0 : _l.DATA_BASE_HOST),
|
|
47
|
+
dataBasePort: String((_n = (_m = import_dotenv.default.config()) == null ? void 0 : _m.parsed) == null ? void 0 : _n.DATA_BASE_PORT),
|
|
48
|
+
dataBaseUser: String((_p = (_o = import_dotenv.default.config()) == null ? void 0 : _o.parsed) == null ? void 0 : _p.DATA_BASE_USER),
|
|
49
|
+
dataBasePassword: String((_r = (_q = import_dotenv.default.config()) == null ? void 0 : _q.parsed) == null ? void 0 : _r.DATA_BASE_PASSWORD),
|
|
50
|
+
dataBaseName: String((_t = (_s = import_dotenv.default.config()) == null ? void 0 : _s.parsed) == null ? void 0 : _t.DATA_BASE_NAME),
|
|
51
|
+
defaultLocal: String((_v = (_u = import_dotenv.default.config()) == null ? void 0 : _u.parsed) == null ? void 0 : _v.DEFAULT_LOCAL_LANG),
|
|
52
|
+
protocolTransfert: String((_x = (_w = import_dotenv.default.config()) == null ? void 0 : _w.parsed) == null ? void 0 : _x.PROTOCOL_TRANSFERT),
|
|
53
|
+
logEnv: String((_z = (_y = import_dotenv.default.config()) == null ? void 0 : _y.parsed) == null ? void 0 : _z.LOG_ENVIRONMENT),
|
|
54
|
+
logFileMaxSize: Number((_B = (_A = import_dotenv.default.config()) == null ? void 0 : _A.parsed) == null ? void 0 : _B.LOG_ENVIRONMENT_FILE_MAX_SIZE),
|
|
55
|
+
logFileRotate: Boolean((_D = (_C = import_dotenv.default.config()) == null ? void 0 : _C.parsed) == null ? void 0 : _D.LOG_ENVIRONMENT_FILE_ROTATE),
|
|
56
|
+
logFileEnabled: Boolean((_F = (_E = import_dotenv.default.config()) == null ? void 0 : _E.parsed) == null ? void 0 : _F.LOG_ENVIRONMENT_FILE_ENABLED),
|
|
57
|
+
logRemoteEndPoint: String((_H = (_G = import_dotenv.default.config()) == null ? void 0 : _G.parsed) == null ? void 0 : _H.LOG_ENVIRONMENT_REMOTE_ENDPOINT),
|
|
58
|
+
logRemoteEnabled: Boolean((_J = (_I = import_dotenv.default.config()) == null ? void 0 : _I.parsed) == null ? void 0 : _J.LOG_ENVIRONMENT_REMOTE_ENABLED),
|
|
59
|
+
logConsoleEnabled: Boolean((_L = (_K = import_dotenv.default.config()) == null ? void 0 : _K.parsed) == null ? void 0 : _L.LOG_ENVIRONMENT_CONSOLE_ENABLED),
|
|
60
|
+
logLevelError: String((_N = (_M = import_dotenv.default.config()) == null ? void 0 : _M.parsed) == null ? void 0 : _N.LOG_ENVIRONMENT_LOG_LEVEL_ERROR),
|
|
61
|
+
logLevelInfo: String((_P = (_O = import_dotenv.default.config()) == null ? void 0 : _O.parsed) == null ? void 0 : _P.LOG_ENVIRONMENT_LOG_LEVEL_INFO),
|
|
62
|
+
logLevelSuccess: String((_R = (_Q = import_dotenv.default.config()) == null ? void 0 : _Q.parsed) == null ? void 0 : _R.LOG_ENVIRONMENT_LOG_LEVEL_SUCCESS),
|
|
63
|
+
logLevelWarning: String((_T = (_S = import_dotenv.default.config()) == null ? void 0 : _S.parsed) == null ? void 0 : _T.LOG_ENVIRONMENT_LOG_LEVEL_WARN),
|
|
64
|
+
logLevelDebug: String((_V = (_U = import_dotenv.default.config()) == null ? void 0 : _U.parsed) == null ? void 0 : _V.LOG_ENVIRONMENT_LOG_LEVEL_DEBUG),
|
|
65
|
+
passwordField: String((_X = (_W = import_dotenv.default.config()) == null ? void 0 : _W.parsed) == null ? void 0 : _X.PASSWORD_FIELD),
|
|
66
|
+
prodEnv: String((_Z = (_Y = import_dotenv.default.config()) == null ? void 0 : _Y.parsed) == null ? void 0 : _Z.ENV_PROD),
|
|
67
|
+
usernameField: String((_$ = (__ = import_dotenv.default.config()) == null ? void 0 : __.parsed) == null ? void 0 : _$.USERNAME_FIELD)
|
|
68
|
+
};
|
|
69
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
70
|
+
0 && (module.exports = {
|
|
71
|
+
getEnvVariable
|
|
72
|
+
});
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,72 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/index.ts
|
|
31
|
-
var index_exports = {};
|
|
32
|
-
__export(index_exports, {
|
|
33
|
-
getEnvVariable: () => getEnvVariable
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(index_exports);
|
|
36
|
-
|
|
37
1
|
// src/domains/environnement/access.env.ts
|
|
38
|
-
|
|
2
|
+
import dotenv from "dotenv";
|
|
39
3
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$;
|
|
40
4
|
var getEnvVariable = {
|
|
41
|
-
apiVersion: String((_b = (_a =
|
|
42
|
-
appHost: String((_d = (_c =
|
|
43
|
-
appPort: String((_f = (_e =
|
|
44
|
-
argumentsDatabaseConnection: String((_h = (_g =
|
|
45
|
-
devEnv: String((_j = (_i =
|
|
46
|
-
dataBaseHost: String((_l = (_k =
|
|
47
|
-
dataBasePort: String((_n = (_m =
|
|
48
|
-
dataBaseUser: String((_p = (_o =
|
|
49
|
-
dataBasePassword: String((_r = (_q =
|
|
50
|
-
dataBaseName: String((_t = (_s =
|
|
51
|
-
defaultLocal: String((_v = (_u =
|
|
52
|
-
protocolTransfert: String((_x = (_w =
|
|
53
|
-
logEnv: String((_z = (_y =
|
|
54
|
-
logFileMaxSize: Number((_B = (_A =
|
|
55
|
-
logFileRotate: Boolean((_D = (_C =
|
|
56
|
-
logFileEnabled: Boolean((_F = (_E =
|
|
57
|
-
logRemoteEndPoint: String((_H = (_G =
|
|
58
|
-
logRemoteEnabled: Boolean((_J = (_I =
|
|
59
|
-
logConsoleEnabled: Boolean((_L = (_K =
|
|
60
|
-
logLevelError: String((_N = (_M =
|
|
61
|
-
logLevelInfo: String((_P = (_O =
|
|
62
|
-
logLevelSuccess: String((_R = (_Q =
|
|
63
|
-
logLevelWarning: String((_T = (_S =
|
|
64
|
-
logLevelDebug: String((_V = (_U =
|
|
65
|
-
passwordField: String((_X = (_W =
|
|
66
|
-
prodEnv: String((_Z = (_Y =
|
|
67
|
-
usernameField: String((_$ = (__ =
|
|
5
|
+
apiVersion: String((_b = (_a = dotenv.config()) == null ? void 0 : _a.parsed) == null ? void 0 : _b.API_VERSION),
|
|
6
|
+
appHost: String((_d = (_c = dotenv.config()) == null ? void 0 : _c.parsed) == null ? void 0 : _d.APP_HOST),
|
|
7
|
+
appPort: String((_f = (_e = dotenv.config()) == null ? void 0 : _e.parsed) == null ? void 0 : _f.APP_PORT),
|
|
8
|
+
argumentsDatabaseConnection: String((_h = (_g = dotenv.config()) == null ? void 0 : _g.parsed) == null ? void 0 : _h.ARGUMENTS_DATABASE_CONNECTION),
|
|
9
|
+
devEnv: String((_j = (_i = dotenv.config()) == null ? void 0 : _i.parsed) == null ? void 0 : _j.ENV_DEV),
|
|
10
|
+
dataBaseHost: String((_l = (_k = dotenv.config()) == null ? void 0 : _k.parsed) == null ? void 0 : _l.DATA_BASE_HOST),
|
|
11
|
+
dataBasePort: String((_n = (_m = dotenv.config()) == null ? void 0 : _m.parsed) == null ? void 0 : _n.DATA_BASE_PORT),
|
|
12
|
+
dataBaseUser: String((_p = (_o = dotenv.config()) == null ? void 0 : _o.parsed) == null ? void 0 : _p.DATA_BASE_USER),
|
|
13
|
+
dataBasePassword: String((_r = (_q = dotenv.config()) == null ? void 0 : _q.parsed) == null ? void 0 : _r.DATA_BASE_PASSWORD),
|
|
14
|
+
dataBaseName: String((_t = (_s = dotenv.config()) == null ? void 0 : _s.parsed) == null ? void 0 : _t.DATA_BASE_NAME),
|
|
15
|
+
defaultLocal: String((_v = (_u = dotenv.config()) == null ? void 0 : _u.parsed) == null ? void 0 : _v.DEFAULT_LOCAL_LANG),
|
|
16
|
+
protocolTransfert: String((_x = (_w = dotenv.config()) == null ? void 0 : _w.parsed) == null ? void 0 : _x.PROTOCOL_TRANSFERT),
|
|
17
|
+
logEnv: String((_z = (_y = dotenv.config()) == null ? void 0 : _y.parsed) == null ? void 0 : _z.LOG_ENVIRONMENT),
|
|
18
|
+
logFileMaxSize: Number((_B = (_A = dotenv.config()) == null ? void 0 : _A.parsed) == null ? void 0 : _B.LOG_ENVIRONMENT_FILE_MAX_SIZE),
|
|
19
|
+
logFileRotate: Boolean((_D = (_C = dotenv.config()) == null ? void 0 : _C.parsed) == null ? void 0 : _D.LOG_ENVIRONMENT_FILE_ROTATE),
|
|
20
|
+
logFileEnabled: Boolean((_F = (_E = dotenv.config()) == null ? void 0 : _E.parsed) == null ? void 0 : _F.LOG_ENVIRONMENT_FILE_ENABLED),
|
|
21
|
+
logRemoteEndPoint: String((_H = (_G = dotenv.config()) == null ? void 0 : _G.parsed) == null ? void 0 : _H.LOG_ENVIRONMENT_REMOTE_ENDPOINT),
|
|
22
|
+
logRemoteEnabled: Boolean((_J = (_I = dotenv.config()) == null ? void 0 : _I.parsed) == null ? void 0 : _J.LOG_ENVIRONMENT_REMOTE_ENABLED),
|
|
23
|
+
logConsoleEnabled: Boolean((_L = (_K = dotenv.config()) == null ? void 0 : _K.parsed) == null ? void 0 : _L.LOG_ENVIRONMENT_CONSOLE_ENABLED),
|
|
24
|
+
logLevelError: String((_N = (_M = dotenv.config()) == null ? void 0 : _M.parsed) == null ? void 0 : _N.LOG_ENVIRONMENT_LOG_LEVEL_ERROR),
|
|
25
|
+
logLevelInfo: String((_P = (_O = dotenv.config()) == null ? void 0 : _O.parsed) == null ? void 0 : _P.LOG_ENVIRONMENT_LOG_LEVEL_INFO),
|
|
26
|
+
logLevelSuccess: String((_R = (_Q = dotenv.config()) == null ? void 0 : _Q.parsed) == null ? void 0 : _R.LOG_ENVIRONMENT_LOG_LEVEL_SUCCESS),
|
|
27
|
+
logLevelWarning: String((_T = (_S = dotenv.config()) == null ? void 0 : _S.parsed) == null ? void 0 : _T.LOG_ENVIRONMENT_LOG_LEVEL_WARN),
|
|
28
|
+
logLevelDebug: String((_V = (_U = dotenv.config()) == null ? void 0 : _U.parsed) == null ? void 0 : _V.LOG_ENVIRONMENT_LOG_LEVEL_DEBUG),
|
|
29
|
+
passwordField: String((_X = (_W = dotenv.config()) == null ? void 0 : _W.parsed) == null ? void 0 : _X.PASSWORD_FIELD),
|
|
30
|
+
prodEnv: String((_Z = (_Y = dotenv.config()) == null ? void 0 : _Y.parsed) == null ? void 0 : _Z.ENV_PROD),
|
|
31
|
+
usernameField: String((_$ = (__ = dotenv.config()) == null ? void 0 : __.parsed) == null ? void 0 : _$.USERNAME_FIELD)
|
|
68
32
|
};
|
|
69
|
-
|
|
70
|
-
0 && (module.exports = {
|
|
33
|
+
export {
|
|
71
34
|
getEnvVariable
|
|
72
|
-
}
|
|
35
|
+
};
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opticore-env-access",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "opticore environnement access",
|
|
5
|
-
"main": "index.js",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
6
9
|
"scripts": {
|
|
7
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
11
|
"build": "tsup"
|
package/dist/index.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// src/domains/environnement/access.env.ts
|
|
2
|
-
import dotenv from "dotenv";
|
|
3
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$;
|
|
4
|
-
var getEnvVariable = {
|
|
5
|
-
apiVersion: String((_b = (_a = dotenv.config()) == null ? void 0 : _a.parsed) == null ? void 0 : _b.API_VERSION),
|
|
6
|
-
appHost: String((_d = (_c = dotenv.config()) == null ? void 0 : _c.parsed) == null ? void 0 : _d.APP_HOST),
|
|
7
|
-
appPort: String((_f = (_e = dotenv.config()) == null ? void 0 : _e.parsed) == null ? void 0 : _f.APP_PORT),
|
|
8
|
-
argumentsDatabaseConnection: String((_h = (_g = dotenv.config()) == null ? void 0 : _g.parsed) == null ? void 0 : _h.ARGUMENTS_DATABASE_CONNECTION),
|
|
9
|
-
devEnv: String((_j = (_i = dotenv.config()) == null ? void 0 : _i.parsed) == null ? void 0 : _j.ENV_DEV),
|
|
10
|
-
dataBaseHost: String((_l = (_k = dotenv.config()) == null ? void 0 : _k.parsed) == null ? void 0 : _l.DATA_BASE_HOST),
|
|
11
|
-
dataBasePort: String((_n = (_m = dotenv.config()) == null ? void 0 : _m.parsed) == null ? void 0 : _n.DATA_BASE_PORT),
|
|
12
|
-
dataBaseUser: String((_p = (_o = dotenv.config()) == null ? void 0 : _o.parsed) == null ? void 0 : _p.DATA_BASE_USER),
|
|
13
|
-
dataBasePassword: String((_r = (_q = dotenv.config()) == null ? void 0 : _q.parsed) == null ? void 0 : _r.DATA_BASE_PASSWORD),
|
|
14
|
-
dataBaseName: String((_t = (_s = dotenv.config()) == null ? void 0 : _s.parsed) == null ? void 0 : _t.DATA_BASE_NAME),
|
|
15
|
-
defaultLocal: String((_v = (_u = dotenv.config()) == null ? void 0 : _u.parsed) == null ? void 0 : _v.DEFAULT_LOCAL_LANG),
|
|
16
|
-
protocolTransfert: String((_x = (_w = dotenv.config()) == null ? void 0 : _w.parsed) == null ? void 0 : _x.PROTOCOL_TRANSFERT),
|
|
17
|
-
logEnv: String((_z = (_y = dotenv.config()) == null ? void 0 : _y.parsed) == null ? void 0 : _z.LOG_ENVIRONMENT),
|
|
18
|
-
logFileMaxSize: Number((_B = (_A = dotenv.config()) == null ? void 0 : _A.parsed) == null ? void 0 : _B.LOG_ENVIRONMENT_FILE_MAX_SIZE),
|
|
19
|
-
logFileRotate: Boolean((_D = (_C = dotenv.config()) == null ? void 0 : _C.parsed) == null ? void 0 : _D.LOG_ENVIRONMENT_FILE_ROTATE),
|
|
20
|
-
logFileEnabled: Boolean((_F = (_E = dotenv.config()) == null ? void 0 : _E.parsed) == null ? void 0 : _F.LOG_ENVIRONMENT_FILE_ENABLED),
|
|
21
|
-
logRemoteEndPoint: String((_H = (_G = dotenv.config()) == null ? void 0 : _G.parsed) == null ? void 0 : _H.LOG_ENVIRONMENT_REMOTE_ENDPOINT),
|
|
22
|
-
logRemoteEnabled: Boolean((_J = (_I = dotenv.config()) == null ? void 0 : _I.parsed) == null ? void 0 : _J.LOG_ENVIRONMENT_REMOTE_ENABLED),
|
|
23
|
-
logConsoleEnabled: Boolean((_L = (_K = dotenv.config()) == null ? void 0 : _K.parsed) == null ? void 0 : _L.LOG_ENVIRONMENT_CONSOLE_ENABLED),
|
|
24
|
-
logLevelError: String((_N = (_M = dotenv.config()) == null ? void 0 : _M.parsed) == null ? void 0 : _N.LOG_ENVIRONMENT_LOG_LEVEL_ERROR),
|
|
25
|
-
logLevelInfo: String((_P = (_O = dotenv.config()) == null ? void 0 : _O.parsed) == null ? void 0 : _P.LOG_ENVIRONMENT_LOG_LEVEL_INFO),
|
|
26
|
-
logLevelSuccess: String((_R = (_Q = dotenv.config()) == null ? void 0 : _Q.parsed) == null ? void 0 : _R.LOG_ENVIRONMENT_LOG_LEVEL_SUCCESS),
|
|
27
|
-
logLevelWarning: String((_T = (_S = dotenv.config()) == null ? void 0 : _S.parsed) == null ? void 0 : _T.LOG_ENVIRONMENT_LOG_LEVEL_WARN),
|
|
28
|
-
logLevelDebug: String((_V = (_U = dotenv.config()) == null ? void 0 : _U.parsed) == null ? void 0 : _V.LOG_ENVIRONMENT_LOG_LEVEL_DEBUG),
|
|
29
|
-
passwordField: String((_X = (_W = dotenv.config()) == null ? void 0 : _W.parsed) == null ? void 0 : _X.PASSWORD_FIELD),
|
|
30
|
-
prodEnv: String((_Z = (_Y = dotenv.config()) == null ? void 0 : _Y.parsed) == null ? void 0 : _Z.ENV_PROD),
|
|
31
|
-
usernameField: String((_$ = (__ = dotenv.config()) == null ? void 0 : __.parsed) == null ? void 0 : _$.USERNAME_FIELD)
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
getEnvVariable
|
|
35
|
-
};
|