exodus-framework 2.0.51 → 2.0.53
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/lib/app/core.d.ts +3 -3
- package/lib/app/core.d.ts.map +1 -1
- package/lib/app/index.d.ts +1 -1
- package/lib/app/index.d.ts.map +1 -1
- package/lib/app/index.js +7 -7
- package/lib/app/settings.d.ts +20 -75
- package/lib/app/settings.d.ts.map +1 -1
- package/lib/app/settings.js +100 -75
- package/lib/contracts/index.d.ts +1 -0
- package/lib/contracts/index.d.ts.map +1 -1
- package/lib/contracts/index.js +11 -0
- package/lib/contracts/settings.d.ts +45 -0
- package/lib/contracts/settings.d.ts.map +1 -1
- package/package.json +3 -1
package/lib/app/core.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { TLoggerLevel } from '../contracts/console';
|
2
|
-
import
|
2
|
+
import CoreSettings from './settings';
|
3
3
|
declare abstract class Core {
|
4
|
-
static settings:
|
4
|
+
static settings: CoreSettings;
|
5
5
|
constructor();
|
6
6
|
log(msg: string, level?: TLoggerLevel): void;
|
7
|
-
static setSettings(settings:
|
7
|
+
static setSettings(settings: CoreSettings): void;
|
8
8
|
}
|
9
9
|
export default Core;
|
10
10
|
//# sourceMappingURL=core.d.ts.map
|
package/lib/app/core.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/app/core.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/app/core.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,YAAY,MAAM,YAAY,CAAC;AAWtC,uBAAe,IAAI;IACjB,MAAM,CAAC,QAAQ,eAAsB;;IAK9B,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,GAAE,YAAuB;IA2CtD,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,YAAY;CAG1C;AAED,eAAe,IAAI,CAAC"}
|
package/lib/app/index.d.ts
CHANGED
@@ -3,5 +3,5 @@ export * from './controller';
|
|
3
3
|
export { default as Core } from './core';
|
4
4
|
export { default as Service } from './service';
|
5
5
|
export { default as Singleton } from './singleton';
|
6
|
-
export { default as
|
6
|
+
export { default as CoreSettings } from './settings';
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/app/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAC"}
|
package/lib/app/index.js
CHANGED
@@ -8,7 +8,7 @@ var _exportNames = {
|
|
8
8
|
Core: true,
|
9
9
|
Service: true,
|
10
10
|
Singleton: true,
|
11
|
-
|
11
|
+
CoreSettings: true
|
12
12
|
};
|
13
13
|
Object.defineProperty(exports, "Core", {
|
14
14
|
enumerable: true,
|
@@ -16,22 +16,22 @@ Object.defineProperty(exports, "Core", {
|
|
16
16
|
return _core.default;
|
17
17
|
}
|
18
18
|
});
|
19
|
-
Object.defineProperty(exports, "
|
19
|
+
Object.defineProperty(exports, "CoreSettings", {
|
20
20
|
enumerable: true,
|
21
21
|
get: function () {
|
22
|
-
return
|
22
|
+
return _settings.default;
|
23
23
|
}
|
24
24
|
});
|
25
|
-
Object.defineProperty(exports, "
|
25
|
+
Object.defineProperty(exports, "Exodus", {
|
26
26
|
enumerable: true,
|
27
27
|
get: function () {
|
28
|
-
return
|
28
|
+
return _app.default;
|
29
29
|
}
|
30
30
|
});
|
31
|
-
Object.defineProperty(exports, "
|
31
|
+
Object.defineProperty(exports, "Service", {
|
32
32
|
enumerable: true,
|
33
33
|
get: function () {
|
34
|
-
return
|
34
|
+
return _service.default;
|
35
35
|
}
|
36
36
|
});
|
37
37
|
Object.defineProperty(exports, "Singleton", {
|
package/lib/app/settings.d.ts
CHANGED
@@ -1,79 +1,24 @@
|
|
1
1
|
import 'dotenv/config';
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
database: {
|
16
|
-
master: {
|
17
|
-
database: string;
|
18
|
-
dialect: Dialect;
|
19
|
-
username: string;
|
20
|
-
password: string;
|
21
|
-
};
|
22
|
-
service: {
|
23
|
-
database: string;
|
24
|
-
};
|
25
|
-
};
|
26
|
-
http: {
|
27
|
-
publicPath: string;
|
28
|
-
formulation: string;
|
29
|
-
};
|
30
|
-
logger: {
|
31
|
-
path: string;
|
32
|
-
fileformat: string;
|
33
|
-
level: string;
|
34
|
-
console: boolean;
|
35
|
-
};
|
36
|
-
messaging: {
|
37
|
-
user: string;
|
38
|
-
pass: string;
|
39
|
-
host: string;
|
40
|
-
};
|
2
|
+
import { GeneralSettings, TApplicationSettings, TAuthenticationSettings, TCacheSettings, THttpSettings, TdatabaseSettings, Tlogger, TmessagingSettings } from '../contracts/settings';
|
3
|
+
declare class CoreSettings {
|
4
|
+
application: Partial<TApplicationSettings>;
|
5
|
+
authentication: Partial<TAuthenticationSettings>;
|
6
|
+
cache: Partial<TCacheSettings>;
|
7
|
+
database: Partial<TdatabaseSettings>;
|
8
|
+
http: Partial<THttpSettings>;
|
9
|
+
logger: Partial<Tlogger>;
|
10
|
+
messaging: Partial<TmessagingSettings>;
|
11
|
+
protected defaults: GeneralSettings;
|
12
|
+
protected settings: GeneralSettings;
|
13
|
+
constructor();
|
14
|
+
protected mergeSettings(): void;
|
41
15
|
getAppication(): TApplicationSettings;
|
42
|
-
getAuthentication():
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
port: string | number;
|
49
|
-
password: string;
|
50
|
-
};
|
51
|
-
getDatabase(): {
|
52
|
-
master: {
|
53
|
-
database: string;
|
54
|
-
dialect: Dialect;
|
55
|
-
username: string;
|
56
|
-
password: string;
|
57
|
-
};
|
58
|
-
service: {
|
59
|
-
database: string;
|
60
|
-
};
|
61
|
-
};
|
62
|
-
getHttp(): {
|
63
|
-
publicPath: string;
|
64
|
-
formulation: string;
|
65
|
-
};
|
66
|
-
getLogger(): {
|
67
|
-
path: string;
|
68
|
-
fileformat: string;
|
69
|
-
level: string;
|
70
|
-
console: boolean;
|
71
|
-
};
|
72
|
-
getMessaging(): {
|
73
|
-
user: string;
|
74
|
-
pass: string;
|
75
|
-
host: string;
|
76
|
-
};
|
16
|
+
getAuthentication(): TAuthenticationSettings;
|
17
|
+
getCache(): TCacheSettings;
|
18
|
+
getDatabase(): TdatabaseSettings;
|
19
|
+
getHttp(): THttpSettings;
|
20
|
+
getLogger(): Tlogger;
|
21
|
+
getMessaging(): TmessagingSettings;
|
77
22
|
}
|
78
|
-
export default
|
23
|
+
export default CoreSettings;
|
79
24
|
//# sourceMappingURL=settings.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/app/settings.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/app/settings.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAKvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,cAAM,YAAY;IAChB,WAAW,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACjD,KAAK,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACrC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAEvC,SAAS,CAAC,QAAQ,EAAE,eAAe,CA0EjC;IACF,SAAS,CAAC,QAAQ,EAAE,eAAe,CAAC;;IAMpC,SAAS,CAAC,aAAa;IAYvB,aAAa;IAGb,iBAAiB;IAGjB,QAAQ;IAGR,WAAW;IAGX,OAAO;IAGP,SAAS;IAGT,YAAY;CAGb;AAED,eAAe,YAAY,CAAC"}
|
package/lib/app/settings.js
CHANGED
@@ -6,98 +6,123 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.default = void 0;
|
7
7
|
require("dotenv/config");
|
8
8
|
var _os = _interopRequireDefault(require("os"));
|
9
|
+
var _lodash = _interopRequireDefault(require("lodash"));
|
9
10
|
var _path = _interopRequireDefault(require("path"));
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
11
|
-
class
|
12
|
-
application
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
12
|
+
class CoreSettings {
|
13
|
+
application;
|
14
|
+
authentication;
|
15
|
+
cache;
|
16
|
+
database;
|
17
|
+
http;
|
18
|
+
logger;
|
19
|
+
messaging;
|
20
|
+
defaults = {
|
21
|
+
application: {
|
22
|
+
appId: process.env.APP_ID,
|
23
|
+
port: Number(process.env.APP_PORT),
|
24
|
+
host: process.env.APP_URL || 'http://localhost',
|
25
|
+
description: process.env.APP_DESCRIPTION || '',
|
26
|
+
clusters: Number(process.env.APP_CLUESTERS) || _os.default.cpus().length,
|
27
|
+
/* File */
|
28
|
+
filePaths: {
|
29
|
+
temporary: _path.default.resolve(__dirname, '..', '..', 'public', 'tmp'),
|
30
|
+
image: _path.default.resolve(__dirname, '..', '..', 'public', 'images'),
|
31
|
+
audio: _path.default.resolve(__dirname, '..', '..', 'public', 'audios'),
|
32
|
+
document: _path.default.resolve(__dirname, '..', '..', 'public', 'documents'),
|
33
|
+
video: _path.default.resolve(__dirname, '..', '..', 'public', 'videos')
|
34
|
+
}
|
35
|
+
},
|
36
|
+
authentication: {
|
37
|
+
host: process.env.APP_SESSION_URL,
|
38
|
+
/* APPAuthID:APPAuthPort/SECURITY_JWT_ISSUER */
|
39
|
+
issuer: `exodus.session.hub:4000/${process.env.SECURITY_JWT_ISSUER}`
|
40
|
+
},
|
41
|
+
cache: {
|
42
|
+
host: process.env.CACHE_HOST || 'localhost',
|
43
|
+
port: Number(process.env.CACHE_PORT) || 6379,
|
44
|
+
password: process.env.CACHE_USER || 'eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81'
|
45
|
+
},
|
46
|
+
database: {
|
47
|
+
master: {
|
48
|
+
database: process.env.MASTER_DB_NAME || 'common',
|
49
|
+
dialect: process.env.MASTER_DB_DIALECT || 'mariadb',
|
50
|
+
username: process.env.MASTER_DB_USER || 'root',
|
51
|
+
password: process.env.MASTER_DB_PASS || ''
|
52
|
+
},
|
53
|
+
service: {
|
54
|
+
database: process.env.SERVICE_DB_NAME || 'unknow'
|
55
|
+
}
|
43
56
|
},
|
44
|
-
|
45
|
-
|
57
|
+
http: {
|
58
|
+
publicPath: '',
|
59
|
+
formulation: process.env.RESPONSE_FORMULATION_TYPE || 'standart'
|
60
|
+
},
|
61
|
+
logger: {
|
62
|
+
/**
|
63
|
+
* Diretório pardrão de logs
|
64
|
+
* @date 24/03/2023 - 20:19:18
|
65
|
+
*
|
66
|
+
*/
|
67
|
+
path: '../../logs',
|
68
|
+
/**
|
69
|
+
* Formato de saída dos arquivos de logs
|
70
|
+
* @date 24/03/2023 - 20:19:18
|
71
|
+
*
|
72
|
+
*/
|
73
|
+
fileformat: '.json',
|
74
|
+
/**
|
75
|
+
* Nível do logger
|
76
|
+
*/
|
77
|
+
level: process.env.LOGGER_LEVEL || 'info',
|
78
|
+
/**
|
79
|
+
* Transportar logs para o console do prompt
|
80
|
+
* @date 24/03/2023 - 20:19:18
|
81
|
+
*
|
82
|
+
*/
|
83
|
+
console: !!parseInt(process.env.LOGGER_CONSOLE) || false
|
84
|
+
},
|
85
|
+
messaging: {
|
86
|
+
user: process.env.MSG_USER || 'guest',
|
87
|
+
pass: process.env.MSG_PASS || 'guest',
|
88
|
+
host: process.env.MSG_HOST || 'localhost'
|
46
89
|
}
|
47
90
|
};
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
}
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
*/
|
64
|
-
fileformat: '.json',
|
65
|
-
/**
|
66
|
-
* Nível do logger
|
67
|
-
*/
|
68
|
-
level: process.env.LOGGER_LEVEL || 'info',
|
69
|
-
/**
|
70
|
-
* Transportar logs para o console do prompt
|
71
|
-
* @date 24/03/2023 - 20:19:18
|
72
|
-
*
|
73
|
-
*/
|
74
|
-
console: !!parseInt(process.env.LOGGER_CONSOLE) || false
|
75
|
-
};
|
76
|
-
messaging = {
|
77
|
-
user: process.env.MSG_USER || 'guest',
|
78
|
-
pass: process.env.MSG_PASS || 'guest',
|
79
|
-
host: process.env.MSG_HOST || 'localhost'
|
80
|
-
};
|
91
|
+
settings;
|
92
|
+
constructor() {
|
93
|
+
this.mergeSettings();
|
94
|
+
}
|
95
|
+
mergeSettings() {
|
96
|
+
this.settings = _lodash.default.merge({}, this.defaults, {
|
97
|
+
application: this.application,
|
98
|
+
authentication: this.authentication,
|
99
|
+
cache: this.cache,
|
100
|
+
database: this.database,
|
101
|
+
http: this.http,
|
102
|
+
logger: this.logger,
|
103
|
+
messaging: this.messaging
|
104
|
+
});
|
105
|
+
}
|
81
106
|
getAppication() {
|
82
|
-
return this.application;
|
107
|
+
return this.settings.application;
|
83
108
|
}
|
84
109
|
getAuthentication() {
|
85
|
-
return this.authentication;
|
110
|
+
return this.settings.authentication;
|
86
111
|
}
|
87
112
|
getCache() {
|
88
|
-
return this.cache;
|
113
|
+
return this.settings.cache;
|
89
114
|
}
|
90
115
|
getDatabase() {
|
91
|
-
return this.database;
|
116
|
+
return this.settings.database;
|
92
117
|
}
|
93
118
|
getHttp() {
|
94
|
-
return this.http;
|
119
|
+
return this.settings.http;
|
95
120
|
}
|
96
121
|
getLogger() {
|
97
|
-
return this.logger;
|
122
|
+
return this.settings.logger;
|
98
123
|
}
|
99
124
|
getMessaging() {
|
100
|
-
return this.messaging;
|
125
|
+
return this.settings.messaging;
|
101
126
|
}
|
102
127
|
}
|
103
|
-
var _default = exports.default =
|
128
|
+
var _default = exports.default = CoreSettings;
|
package/lib/contracts/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
|
package/lib/contracts/index.js
CHANGED
@@ -101,4 +101,15 @@ Object.keys(_socket).forEach(function (key) {
|
|
101
101
|
return _socket[key];
|
102
102
|
}
|
103
103
|
});
|
104
|
+
});
|
105
|
+
var _settings = require("./settings");
|
106
|
+
Object.keys(_settings).forEach(function (key) {
|
107
|
+
if (key === "default" || key === "__esModule") return;
|
108
|
+
if (key in exports && exports[key] === _settings[key]) return;
|
109
|
+
Object.defineProperty(exports, key, {
|
110
|
+
enumerable: true,
|
111
|
+
get: function () {
|
112
|
+
return _settings[key];
|
113
|
+
}
|
114
|
+
});
|
104
115
|
});
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Dialect } from 'sequelize';
|
1
2
|
export type TFilePathSettings = {
|
2
3
|
temporary: string;
|
3
4
|
image: string;
|
@@ -13,4 +14,48 @@ export type TApplicationSettings = {
|
|
13
14
|
clusters: number;
|
14
15
|
filePaths: TFilePathSettings;
|
15
16
|
};
|
17
|
+
export type TAuthenticationSettings = {
|
18
|
+
host: string;
|
19
|
+
issuer: string;
|
20
|
+
};
|
21
|
+
export type TCacheSettings = {
|
22
|
+
host: string;
|
23
|
+
port: number;
|
24
|
+
password: string;
|
25
|
+
};
|
26
|
+
export type TdatabaseSettings = {
|
27
|
+
master: {
|
28
|
+
database: string;
|
29
|
+
dialect: Dialect;
|
30
|
+
username: string;
|
31
|
+
password: string;
|
32
|
+
};
|
33
|
+
service: {
|
34
|
+
database: string;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
export type THttpSettings = {
|
38
|
+
publicPath: string;
|
39
|
+
formulation: 'standart' | 'direct';
|
40
|
+
};
|
41
|
+
export type Tlogger = {
|
42
|
+
path: string;
|
43
|
+
fileformat: '.json' | '.log';
|
44
|
+
level: 'warn' | 'info' | 'error' | 'trace';
|
45
|
+
console: boolean;
|
46
|
+
};
|
47
|
+
export type TmessagingSettings = {
|
48
|
+
user: string;
|
49
|
+
pass: string;
|
50
|
+
host: string;
|
51
|
+
};
|
52
|
+
export type GeneralSettings = {
|
53
|
+
application: TApplicationSettings;
|
54
|
+
authentication: TAuthenticationSettings;
|
55
|
+
cache: TCacheSettings;
|
56
|
+
database: TdatabaseSettings;
|
57
|
+
http: THttpSettings;
|
58
|
+
logger: Tlogger;
|
59
|
+
messaging: TmessagingSettings;
|
60
|
+
};
|
16
61
|
//# sourceMappingURL=settings.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,UAAU,GAAG,QAAQ,CAAC;CACpC,CAAC;AACF,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IAC3C,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,EAAE,oBAAoB,CAAC;IAClC,cAAc,EAAE,uBAAuB,CAAC;IACxC,KAAK,EAAE,cAAc,CAAC;IACtB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,kBAAkB,CAAC;CAC/B,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "exodus-framework",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.53",
|
4
4
|
"description": "Exodus Framework",
|
5
5
|
"author": "jhownpaixao",
|
6
6
|
"license": "ISC",
|
@@ -34,6 +34,7 @@
|
|
34
34
|
"express-async-errors": "^2.0.0",
|
35
35
|
"express-jwt": "^8.4.1",
|
36
36
|
"fs": "^0.0.1-security",
|
37
|
+
"lodash": "^4.17.21",
|
37
38
|
"mariadb": "^3.3.1",
|
38
39
|
"multer": "^1.4.5-lts.1",
|
39
40
|
"mysql2": "^3.11.0",
|
@@ -56,6 +57,7 @@
|
|
56
57
|
"@types/amqplib": "^0.10.5",
|
57
58
|
"@types/cors": "^2.8.17",
|
58
59
|
"@types/express": "^4.17.21",
|
60
|
+
"@types/lodash": "^4.17.7",
|
59
61
|
"@types/multer": "^1.4.12",
|
60
62
|
"@types/node": "^22.5.0",
|
61
63
|
"@types/node-schedule": "^2.1.7",
|