exodus-framework 2.0.0 → 2.0.6
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/{build → lib}/app/app.d.ts +3 -4
- package/lib/app/app.d.ts.map +1 -0
- package/lib/app/app.js +84 -0
- package/{build → lib}/app/controller.d.ts +2 -2
- package/lib/app/controller.d.ts.map +1 -0
- package/{build → lib}/app/controller.js +2 -1
- package/lib/app/core.d.ts +10 -0
- package/lib/app/core.d.ts.map +1 -0
- package/{build → lib}/app/core.js +5 -0
- package/lib/app/index.d.ts +7 -0
- package/lib/app/index.d.ts.map +1 -0
- package/lib/app/index.js +60 -0
- package/lib/app/settings.d.ts +24 -0
- package/lib/app/settings.d.ts.map +1 -0
- package/lib/app/settings.js +130 -0
- package/{build → lib}/app/singleton.d.ts +1 -1
- package/{build → lib}/app/singleton.d.ts.map +1 -1
- package/lib/contracts/console.d.ts.map +1 -0
- package/{build/@types → lib/contracts}/entity.d.ts +2 -1
- package/lib/contracts/entity.d.ts.map +1 -0
- package/lib/contracts/http.d.ts.map +1 -0
- package/{build/@types → lib/contracts}/index.d.ts +2 -2
- package/lib/contracts/index.d.ts.map +1 -0
- package/{build/@types → lib/contracts}/index.js +22 -11
- package/{build/@types → lib/contracts}/messaging.d.ts +6 -0
- package/lib/contracts/messaging.d.ts.map +1 -0
- package/{build/@types → lib/contracts}/messaging.js +1 -0
- package/lib/contracts/service.d.ts.map +1 -0
- package/{build/@types → lib/contracts}/session.d.ts +0 -1
- package/lib/contracts/session.d.ts.map +1 -0
- package/lib/contracts/settings.d.ts +62 -0
- package/lib/contracts/settings.d.ts.map +1 -0
- package/{build/@types → lib/contracts}/singleton.d.ts +1 -1
- package/lib/contracts/singleton.d.ts.map +1 -0
- package/{build/@types → lib/contracts}/socket.d.ts +1 -1
- package/lib/contracts/socket.d.ts.map +1 -0
- package/{build → lib}/controllers/api/file.d.ts +1 -1
- package/{build → lib}/controllers/api/file.d.ts.map +1 -1
- package/{build → lib}/controllers/api/file.js +1 -1
- package/lib/controllers/api/index.d.ts +2 -0
- package/{build → lib}/controllers/api/index.d.ts.map +1 -1
- package/lib/controllers/api/index.js +13 -0
- package/{build → lib}/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -0
- package/{build → lib}/index.js +15 -5
- package/{build → lib}/middlewares/access.d.ts +2 -2
- package/lib/middlewares/access.d.ts.map +1 -0
- package/{build → lib}/middlewares/access.js +1 -1
- package/{build → lib}/middlewares/authentication.d.ts +1 -1
- package/{build → lib}/middlewares/authentication.d.ts.map +1 -1
- package/{build → lib}/middlewares/authentication.js +9 -4
- package/{build → lib}/middlewares/file.d.ts +1 -1
- package/{build → lib}/middlewares/file.d.ts.map +1 -1
- package/{build → lib}/middlewares/file.js +3 -3
- package/lib/middlewares/index.d.ts +4 -0
- package/lib/middlewares/index.d.ts.map +1 -0
- package/lib/middlewares/index.js +27 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -0
- package/{build/controllers/api → lib/models}/index.js +4 -4
- package/{build → lib}/services/error.d.ts +1 -1
- package/{build → lib}/services/error.d.ts.map +1 -1
- package/{build → lib}/services/error.js +4 -10
- package/{build → lib}/services/express.d.ts +3 -3
- package/lib/services/express.d.ts.map +1 -0
- package/{build → lib}/services/express.js +12 -14
- package/lib/services/file.d.ts +13 -0
- package/lib/services/file.d.ts.map +1 -0
- package/{build → lib}/services/file.js +17 -6
- package/lib/services/index.d.ts +9 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +80 -0
- package/{build → lib}/services/rabitmq.d.ts +3 -3
- package/lib/services/rabitmq.d.ts.map +1 -0
- package/{build → lib}/services/rabitmq.js +2 -2
- package/{build → lib}/services/redis.d.ts +2 -2
- package/lib/services/redis.d.ts.map +1 -0
- package/{build → lib}/services/redis.js +3 -3
- package/{build → lib}/services/sequelize.d.ts +3 -2
- package/lib/services/sequelize.d.ts.map +1 -0
- package/{build → lib}/services/sequelize.js +10 -8
- package/{build → lib}/services/socket.d.ts +3 -3
- package/lib/services/socket.d.ts.map +1 -0
- package/{build → lib}/services/task.d.ts +5 -5
- package/lib/services/task.d.ts.map +1 -0
- package/{build → lib}/services/task.js +15 -12
- package/{build → lib}/utils/api.d.ts +2 -2
- package/{build → lib}/utils/api.d.ts.map +1 -1
- package/lib/utils/database.d.ts.map +1 -0
- package/{build → lib}/utils/database.js +9 -9
- package/lib/utils/index.d.ts +6 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/{build → lib}/utils/index.js +22 -22
- package/lib/utils/logger.d.ts.map +1 -0
- package/lib/utils/logger.js +48 -0
- package/{build → lib}/utils/session.d.ts +1 -1
- package/package.json +12 -9
- package/build/@types/app.d.ts +0 -5
- package/build/@types/app.d.ts.map +0 -1
- package/build/@types/console.d.ts.map +0 -1
- package/build/@types/entity.d.ts.map +0 -1
- package/build/@types/http.d.ts.map +0 -1
- package/build/@types/index.d.ts.map +0 -1
- package/build/@types/messaging.d.ts.map +0 -1
- package/build/@types/service.d.ts.map +0 -1
- package/build/@types/session.d.ts.map +0 -1
- package/build/@types/singleton.d.ts.map +0 -1
- package/build/@types/socket.d.ts.map +0 -1
- package/build/app/app.d.ts.map +0 -1
- package/build/app/app.js +0 -68
- package/build/app/controller.d.ts.map +0 -1
- package/build/app/core.d.ts +0 -7
- package/build/app/core.d.ts.map +0 -1
- package/build/app/index.d.ts +0 -8
- package/build/app/index.d.ts.map +0 -1
- package/build/app/index.js +0 -70
- package/build/config/app.d.ts +0 -16
- package/build/config/app.d.ts.map +0 -1
- package/build/config/app.js +0 -25
- package/build/config/auth.d.ts +0 -5
- package/build/config/auth.d.ts.map +0 -1
- package/build/config/auth.js +0 -11
- package/build/config/cache.d.ts +0 -7
- package/build/config/cache.d.ts.map +0 -1
- package/build/config/cache.js +0 -12
- package/build/config/db.d.ts +0 -13
- package/build/config/db.d.ts.map +0 -1
- package/build/config/db.js +0 -17
- package/build/config/http.d.ts +0 -5
- package/build/config/http.d.ts.map +0 -1
- package/build/config/http.js +0 -10
- package/build/config/index.d.ts +0 -9
- package/build/config/index.d.ts.map +0 -1
- package/build/config/index.js +0 -93
- package/build/config/logger.d.ts +0 -7
- package/build/config/logger.d.ts.map +0 -1
- package/build/config/logger.js +0 -33
- package/build/config/messaging.d.ts +0 -7
- package/build/config/messaging.d.ts.map +0 -1
- package/build/config/messaging.js +0 -12
- package/build/config/task.d.ts +0 -6
- package/build/config/task.d.ts.map +0 -1
- package/build/config/task.js +0 -13
- package/build/controllers/api/index.d.ts +0 -2
- package/build/index.d.ts.map +0 -1
- package/build/middlewares/access.d.ts.map +0 -1
- package/build/middlewares/index.d.ts +0 -4
- package/build/middlewares/index.d.ts.map +0 -1
- package/build/middlewares/index.js +0 -38
- package/build/models/index.d.ts +0 -5
- package/build/models/index.d.ts.map +0 -1
- package/build/models/index.js +0 -14
- package/build/server.d.ts +0 -2
- package/build/server.d.ts.map +0 -1
- package/build/server.js +0 -33
- package/build/services/express.d.ts.map +0 -1
- package/build/services/file.d.ts +0 -12
- package/build/services/file.d.ts.map +0 -1
- package/build/services/index.d.ts +0 -9
- package/build/services/index.d.ts.map +0 -1
- package/build/services/index.js +0 -93
- package/build/services/rabitmq.d.ts.map +0 -1
- package/build/services/redis.d.ts.map +0 -1
- package/build/services/sequelize.d.ts.map +0 -1
- package/build/services/socket.d.ts.map +0 -1
- package/build/services/task.d.ts.map +0 -1
- package/build/utils/database.d.ts.map +0 -1
- package/build/utils/index.d.ts +0 -6
- package/build/utils/index.d.ts.map +0 -1
- package/build/utils/logger.d.ts.map +0 -1
- package/build/utils/logger.js +0 -45
- /package/{build → lib}/app/service.d.ts +0 -0
- /package/{build → lib}/app/service.d.ts.map +0 -0
- /package/{build → lib}/app/service.js +0 -0
- /package/{build → lib}/app/singleton.js +0 -0
- /package/{build/@types → lib/contracts}/console.d.ts +0 -0
- /package/{build/@types → lib/contracts}/console.js +0 -0
- /package/{build/@types → lib/contracts}/entity.js +0 -0
- /package/{build/@types → lib/contracts}/http.d.ts +0 -0
- /package/{build/@types → lib/contracts}/http.js +0 -0
- /package/{build/@types → lib/contracts}/service.d.ts +0 -0
- /package/{build/@types → lib/contracts}/service.js +0 -0
- /package/{build/@types → lib/contracts}/session.js +0 -0
- /package/{build/@types/app.js → lib/contracts/settings.js} +0 -0
- /package/{build/@types → lib/contracts}/singleton.js +0 -0
- /package/{build/@types → lib/contracts}/socket.js +0 -0
- /package/{build → lib}/controllers/index.d.ts +0 -0
- /package/{build → lib}/controllers/index.d.ts.map +0 -0
- /package/{build → lib}/controllers/index.js +0 -0
- /package/{build/@types → lib}/express.d.js +0 -0
- /package/{build → lib}/models/Connection.d.ts +0 -0
- /package/{build → lib}/models/Connection.d.ts.map +0 -0
- /package/{build → lib}/models/Connection.js +0 -0
- /package/{build → lib}/services/socket.js +0 -0
- /package/{build → lib}/utils/api.js +0 -0
- /package/{build → lib}/utils/database.d.ts +0 -0
- /package/{build → lib}/utils/date.d.ts +0 -0
- /package/{build → lib}/utils/date.d.ts.map +0 -0
- /package/{build → lib}/utils/date.js +0 -0
- /package/{build → lib}/utils/logger.d.ts +0 -0
- /package/{build → lib}/utils/session.d.ts.map +0 -0
- /package/{build → lib}/utils/session.js +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/@types/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,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../src/@types/messaging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAElD,oBAAY,eAAe;IACzB,IAAI,sBAAsB;IAG1B,cAAc,2BAA2B;IAGzC,kBAAkB,+BAA+B;IACjD,uBAAuB,qCAAqC;CAC7D;AAGD,MAAM,MAAM,oBAAoB,GAAG;IACjC,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE;QACtB,IAAI,EAAE,GAAG,CAAC;KACX,CAAC;IACF,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC3C,CAAC,eAAe,CAAC,kBAAkB,CAAC,EAAE,YAAY,CAAC;IACnD,CAAC,eAAe,CAAC,uBAAuB,CAAC,EAAE;QACzC,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,oBAAoB,GAAG,GAAG,IAAI,CAC/E,IAAI,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAC7B,GAAG,EAAE,MAAM,IAAI,KACZ,IAAI,CAAC;AAEV,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,MAAM,CAAC,MAAM,oBAAoB,EAAE,sBAAsB,CAAC,CAC3D,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/@types/service.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/@types/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,QAAQ,CAAC;CACnB;AACD,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../src/@types/singleton.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,KAAK,kBAAkB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,UAAU,GAAG,GAAG,KAAK,GAAG,CAAC;CAAE,CAAC,MAAM,CAAC,CAAC,CAAC;AACjG,KAAK,cAAc,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AACxD,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,SAAS,IAAI,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAAE,QAAQ,CAAC,CAAA;CAAE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"socket.d.ts","sourceRoot":"","sources":["../../src/@types/socket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,oBAAY,YAAY;IACtB,IAAI,6BAA6B;IACjC,KAAK,8BAA8B;CACpC;AAED,KAAK,kBAAkB,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC3C,KAAK,kBAAkB,GAAG,CAAC,MAAM,CAAC,CAAC;AAGnC,MAAM,MAAM,mBAAmB,GAAG;IAChC,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,kBAAkB,CAAC;IACxC,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC1C,CAAC;AACF,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,GAAG,CAAC,CAAC;AAExF,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,mBAAmB,IAAI,CACtE,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,MAAM,KACV,kBAAkB,CAAC,CAAC,CAAC,CAAC;AAE3B,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,MAAM,mBAAmB,IAAI,CAEpE,OAAO,EAAE,aAAa,EACtB,GAAG,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAC5B,IAAI,CAAC;AAEV,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,MAAM,CAAC,MAAM,mBAAmB,EAAE,kBAAkB,CAAC,MAAM,mBAAmB,CAAC,CAAC,CACjF,CAAC;AAEF,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,MAAM,mBAAmB,GAAG,GAAG,IAAI,CACrF,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC,KACzB,IAAI,CAAC"}
|
package/build/app/app.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/app/app.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,IAAI,MAAM,QAAQ,CAAC;AAS1B,cAAM,MAAO,SAAQ,IAAI;IACvB,OAAO,CAAC,QAAQ,CAAa;IAC7B,OAAO,CAAC,KAAK,CAA4B;gBAG7B,KAAK,EAAE,yBAAyB;IAKtC,KAAK;IASL,UAAU;IAIV,WAAW;IAIX,cAAc;IAgBpB,wBAAwB,CAAC,OAAO,EAAE,QAAQ;IAGpC,YAAY;CAKnB;AACD,eAAe,MAAM,CAAC"}
|
package/build/app/app.js
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.default = void 0;
|
7
|
-
var _app = require("../config/app");
|
8
|
-
var _cluster = _interopRequireDefault(require("cluster"));
|
9
|
-
var _core = _interopRequireDefault(require("./core"));
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
11
|
-
/**
|
12
|
-
* Classe da aplicação principal
|
13
|
-
* Responsável por inicializar todos os recursos usados por este micro-serviço
|
14
|
-
*
|
15
|
-
* @class Application
|
16
|
-
* @extends {Core}
|
17
|
-
*/
|
18
|
-
class Exodus extends _core.default {
|
19
|
-
services;
|
20
|
-
props;
|
21
|
-
|
22
|
-
//* Initialization
|
23
|
-
constructor(props) {
|
24
|
-
super();
|
25
|
-
this.props = props;
|
26
|
-
this.services = [];
|
27
|
-
}
|
28
|
-
async start() {
|
29
|
-
if (_cluster.default.isPrimary) {
|
30
|
-
this.initMaster();
|
31
|
-
} else {
|
32
|
-
await this.initCluster();
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
//* Cluster Managment
|
37
|
-
async initMaster() {
|
38
|
-
this.log(`✨ Starting ${_app.AppConfig.description} · Clusters: ${_app.AppConfig.clusters}`);
|
39
|
-
this.createClusters();
|
40
|
-
}
|
41
|
-
async initCluster() {
|
42
|
-
this.log(`📊 Cluster ${_cluster.default.worker.id} started · PID ${_cluster.default.worker.process.pid}`);
|
43
|
-
this.initServices();
|
44
|
-
}
|
45
|
-
async createClusters() {
|
46
|
-
for (let i = 0; i < this.props.maxClusters; i++) {
|
47
|
-
_cluster.default.fork();
|
48
|
-
}
|
49
|
-
_cluster.default.on('exit', (worker, _code, _signal) => {
|
50
|
-
this.log(`Cluester ${worker.process.pid} foi encerrado`, 'warning');
|
51
|
-
if (this.props.clustersRestarts) {
|
52
|
-
this.log(`Reiniciando cluster`, 'warning');
|
53
|
-
_cluster.default.fork();
|
54
|
-
}
|
55
|
-
});
|
56
|
-
}
|
57
|
-
|
58
|
-
//* Service Managment
|
59
|
-
registerSingletonService(service) {
|
60
|
-
this.services.push(service);
|
61
|
-
}
|
62
|
-
async initServices() {
|
63
|
-
for (const service of this.services) {
|
64
|
-
await service.init();
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
68
|
-
var _default = exports.default = Exodus;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../src/app/controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC5F,OAAO,IAAI,MAAM,QAAQ,CAAC;AAS1B,uBAAe,cAAe,SAAQ,IAAI;;IAexC,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,GAAG,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI;IAIhG,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAG7C;AAUD,8BAAsB,gBAAiB,SAAQ,IAAI;;IAKjD,SAAS,CAAC,gBAAgB,CAAC,CAAC,SAAS,MAAM,mBAAmB,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAC,CAAC,SAC1E,aAAa,QAAQ,mBAAmB,CAAC,CAAC,CAAC;IAM1D,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM;CAGpC;AACD,qBAAa,aAAc,SAAQ,IAAI;IACrC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,KAAK,EAAE,MAAM,mBAAmB,CAAC;gBAE/B,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB;IAM7D,IAAI,CAAC,CAAC,SAAS,MAAM,mBAAmB,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAInF,QAAQ;IAGR,SAAS;IAIT,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG;CAGjC;AAED,8BAAsB,mBAAoB,SAAQ,IAAI;;IAKpD,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM;CAGpC;AAED,eAAe,cAAc,CAAC"}
|
package/build/app/core.d.ts
DELETED
package/build/app/core.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/app/core.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAWjD,uBAAe,IAAI;;IAKV,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,GAAE,YAAuB;CA0CvD;AAED,eAAe,IAAI,CAAC"}
|
package/build/app/index.d.ts
DELETED
package/build/app/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,OAAO,CAAC;AAE3B,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAE5B,eAAe,MAAM,CAAC"}
|
package/build/app/index.js
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
var _exportNames = {};
|
7
|
-
exports.default = void 0;
|
8
|
-
var _app = _interopRequireWildcard(require("./app"));
|
9
|
-
Object.keys(_app).forEach(function (key) {
|
10
|
-
if (key === "default" || key === "__esModule") return;
|
11
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
12
|
-
if (key in exports && exports[key] === _app[key]) return;
|
13
|
-
Object.defineProperty(exports, key, {
|
14
|
-
enumerable: true,
|
15
|
-
get: function () {
|
16
|
-
return _app[key];
|
17
|
-
}
|
18
|
-
});
|
19
|
-
});
|
20
|
-
var _controller = require("./controller");
|
21
|
-
Object.keys(_controller).forEach(function (key) {
|
22
|
-
if (key === "default" || key === "__esModule") return;
|
23
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
24
|
-
if (key in exports && exports[key] === _controller[key]) return;
|
25
|
-
Object.defineProperty(exports, key, {
|
26
|
-
enumerable: true,
|
27
|
-
get: function () {
|
28
|
-
return _controller[key];
|
29
|
-
}
|
30
|
-
});
|
31
|
-
});
|
32
|
-
var _core = require("./core");
|
33
|
-
Object.keys(_core).forEach(function (key) {
|
34
|
-
if (key === "default" || key === "__esModule") return;
|
35
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
36
|
-
if (key in exports && exports[key] === _core[key]) return;
|
37
|
-
Object.defineProperty(exports, key, {
|
38
|
-
enumerable: true,
|
39
|
-
get: function () {
|
40
|
-
return _core[key];
|
41
|
-
}
|
42
|
-
});
|
43
|
-
});
|
44
|
-
var _service = require("./service");
|
45
|
-
Object.keys(_service).forEach(function (key) {
|
46
|
-
if (key === "default" || key === "__esModule") return;
|
47
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
48
|
-
if (key in exports && exports[key] === _service[key]) return;
|
49
|
-
Object.defineProperty(exports, key, {
|
50
|
-
enumerable: true,
|
51
|
-
get: function () {
|
52
|
-
return _service[key];
|
53
|
-
}
|
54
|
-
});
|
55
|
-
});
|
56
|
-
var _singleton = require("./singleton");
|
57
|
-
Object.keys(_singleton).forEach(function (key) {
|
58
|
-
if (key === "default" || key === "__esModule") return;
|
59
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
60
|
-
if (key in exports && exports[key] === _singleton[key]) return;
|
61
|
-
Object.defineProperty(exports, key, {
|
62
|
-
enumerable: true,
|
63
|
-
get: function () {
|
64
|
-
return _singleton[key];
|
65
|
-
}
|
66
|
-
});
|
67
|
-
});
|
68
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
69
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
70
|
-
var _default = exports.default = _app.default;
|
package/build/config/app.d.ts
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
import 'dotenv/config';
|
2
|
-
export declare const AppConfig: {
|
3
|
-
appId: string;
|
4
|
-
port: string;
|
5
|
-
host: string;
|
6
|
-
description: string;
|
7
|
-
clusters: string | number;
|
8
|
-
filePaths: {
|
9
|
-
temporary: string;
|
10
|
-
image: string;
|
11
|
-
audio: string;
|
12
|
-
document: string;
|
13
|
-
video: string;
|
14
|
-
};
|
15
|
-
};
|
16
|
-
//# sourceMappingURL=app.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/config/app.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAIvB,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAerB,CAAC"}
|
package/build/config/app.js
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.AppConfig = void 0;
|
7
|
-
require("dotenv/config");
|
8
|
-
var _os = _interopRequireDefault(require("os"));
|
9
|
-
var _path = _interopRequireDefault(require("path"));
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
11
|
-
const AppConfig = exports.AppConfig = {
|
12
|
-
appId: process.env.APP_ID,
|
13
|
-
port: process.env.APP_PORT,
|
14
|
-
host: process.env.APP_URL || 'http://localhost',
|
15
|
-
description: process.env.APP_DESCRIPTION || '',
|
16
|
-
clusters: process.env.APP_CLUESTERS || _os.default.cpus().length,
|
17
|
-
/* File */
|
18
|
-
filePaths: {
|
19
|
-
temporary: _path.default.resolve(__dirname, '..', '..', 'public', 'tmp'),
|
20
|
-
image: _path.default.resolve(__dirname, '..', '..', 'public', 'images'),
|
21
|
-
audio: _path.default.resolve(__dirname, '..', '..', 'public', 'audios'),
|
22
|
-
document: _path.default.resolve(__dirname, '..', '..', 'public', 'documents'),
|
23
|
-
video: _path.default.resolve(__dirname, '..', '..', 'public', 'videos')
|
24
|
-
}
|
25
|
-
};
|
package/build/config/auth.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/config/auth.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;CAItB,CAAC"}
|
package/build/config/auth.js
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.AuthConfig = void 0;
|
7
|
-
const AuthConfig = exports.AuthConfig = {
|
8
|
-
host: process.env.APP_SESSION_URL,
|
9
|
-
/* APPAuthID:APPAuthPort/SECURITY_JWT_ISSUER */
|
10
|
-
issuer: `exodus.session.hub:4000/${process.env.SECURITY_JWT_ISSUER}`
|
11
|
-
};
|
package/build/config/cache.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/config/cache.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;CAIhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/build/config/cache.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.default = void 0;
|
7
|
-
const CacheConfig = {
|
8
|
-
host: process.env.CACHE_HOST || 'localhost',
|
9
|
-
port: process.env.CACHE_PORT || 6379,
|
10
|
-
password: process.env.CACHE_USER || 'eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81'
|
11
|
-
};
|
12
|
-
var _default = exports.default = CacheConfig;
|
package/build/config/db.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Dialect } from 'sequelize';
|
2
|
-
export declare const DatabaseConfig: {
|
3
|
-
master: {
|
4
|
-
database: string;
|
5
|
-
dialect: Dialect;
|
6
|
-
username: string;
|
7
|
-
password: string;
|
8
|
-
};
|
9
|
-
service: {
|
10
|
-
database: string;
|
11
|
-
};
|
12
|
-
};
|
13
|
-
//# sourceMappingURL=db.d.ts.map
|
package/build/config/db.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../src/config/db.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;;;;;;;CAU1B,CAAC"}
|
package/build/config/db.js
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.DatabaseConfig = void 0;
|
7
|
-
const DatabaseConfig = exports.DatabaseConfig = {
|
8
|
-
master: {
|
9
|
-
database: process.env.MASTER_DB_NAME || 'common',
|
10
|
-
dialect: process.env.MASTER_DB_DIALECT || 'mariadb',
|
11
|
-
username: process.env.MASTER_DB_USER || 'root',
|
12
|
-
password: process.env.MASTER_DB_PASS || ''
|
13
|
-
},
|
14
|
-
service: {
|
15
|
-
database: process.env.SERVICE_DB_NAME || 'unknow'
|
16
|
-
}
|
17
|
-
};
|
package/build/config/http.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/config/http.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;CAGtB,CAAC"}
|
package/build/config/http.js
DELETED
package/build/config/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC"}
|
package/build/config/index.js
DELETED
@@ -1,93 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
var _app = require("./app");
|
7
|
-
Object.keys(_app).forEach(function (key) {
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
9
|
-
if (key in exports && exports[key] === _app[key]) return;
|
10
|
-
Object.defineProperty(exports, key, {
|
11
|
-
enumerable: true,
|
12
|
-
get: function () {
|
13
|
-
return _app[key];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
});
|
17
|
-
var _auth = require("./auth");
|
18
|
-
Object.keys(_auth).forEach(function (key) {
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
20
|
-
if (key in exports && exports[key] === _auth[key]) return;
|
21
|
-
Object.defineProperty(exports, key, {
|
22
|
-
enumerable: true,
|
23
|
-
get: function () {
|
24
|
-
return _auth[key];
|
25
|
-
}
|
26
|
-
});
|
27
|
-
});
|
28
|
-
var _cache = require("./cache");
|
29
|
-
Object.keys(_cache).forEach(function (key) {
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
31
|
-
if (key in exports && exports[key] === _cache[key]) return;
|
32
|
-
Object.defineProperty(exports, key, {
|
33
|
-
enumerable: true,
|
34
|
-
get: function () {
|
35
|
-
return _cache[key];
|
36
|
-
}
|
37
|
-
});
|
38
|
-
});
|
39
|
-
var _db = require("./db");
|
40
|
-
Object.keys(_db).forEach(function (key) {
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
42
|
-
if (key in exports && exports[key] === _db[key]) return;
|
43
|
-
Object.defineProperty(exports, key, {
|
44
|
-
enumerable: true,
|
45
|
-
get: function () {
|
46
|
-
return _db[key];
|
47
|
-
}
|
48
|
-
});
|
49
|
-
});
|
50
|
-
var _http = require("./http");
|
51
|
-
Object.keys(_http).forEach(function (key) {
|
52
|
-
if (key === "default" || key === "__esModule") return;
|
53
|
-
if (key in exports && exports[key] === _http[key]) return;
|
54
|
-
Object.defineProperty(exports, key, {
|
55
|
-
enumerable: true,
|
56
|
-
get: function () {
|
57
|
-
return _http[key];
|
58
|
-
}
|
59
|
-
});
|
60
|
-
});
|
61
|
-
var _logger = require("./logger");
|
62
|
-
Object.keys(_logger).forEach(function (key) {
|
63
|
-
if (key === "default" || key === "__esModule") return;
|
64
|
-
if (key in exports && exports[key] === _logger[key]) return;
|
65
|
-
Object.defineProperty(exports, key, {
|
66
|
-
enumerable: true,
|
67
|
-
get: function () {
|
68
|
-
return _logger[key];
|
69
|
-
}
|
70
|
-
});
|
71
|
-
});
|
72
|
-
var _messaging = require("./messaging");
|
73
|
-
Object.keys(_messaging).forEach(function (key) {
|
74
|
-
if (key === "default" || key === "__esModule") return;
|
75
|
-
if (key in exports && exports[key] === _messaging[key]) return;
|
76
|
-
Object.defineProperty(exports, key, {
|
77
|
-
enumerable: true,
|
78
|
-
get: function () {
|
79
|
-
return _messaging[key];
|
80
|
-
}
|
81
|
-
});
|
82
|
-
});
|
83
|
-
var _task = require("./task");
|
84
|
-
Object.keys(_task).forEach(function (key) {
|
85
|
-
if (key === "default" || key === "__esModule") return;
|
86
|
-
if (key in exports && exports[key] === _task[key]) return;
|
87
|
-
Object.defineProperty(exports, key, {
|
88
|
-
enumerable: true,
|
89
|
-
get: function () {
|
90
|
-
return _task[key];
|
91
|
-
}
|
92
|
-
});
|
93
|
-
});
|
package/build/config/logger.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/config/logger.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;CA+BxB,CAAC"}
|
package/build/config/logger.js
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.LoggerConfig = void 0;
|
7
|
-
var _dateFns = require("date-fns");
|
8
|
-
var _path = _interopRequireDefault(require("path"));
|
9
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
10
|
-
const LoggerConfig = exports.LoggerConfig = {
|
11
|
-
/**
|
12
|
-
* Diretório pardrão de logs
|
13
|
-
* @date 24/03/2023 - 20:19:18
|
14
|
-
*
|
15
|
-
*/
|
16
|
-
path: _path.default.resolve(__dirname, '../../logs', (0, _dateFns.format)(new Date(), 'dd-MM-yyyy'), (0, _dateFns.format)(new Date(), 'HH_mm')),
|
17
|
-
/**
|
18
|
-
* Formato de saída dos arquivos de logs
|
19
|
-
* @date 24/03/2023 - 20:19:18
|
20
|
-
*
|
21
|
-
*/
|
22
|
-
fileformat: '.json',
|
23
|
-
/**
|
24
|
-
* Nível do logger
|
25
|
-
*/
|
26
|
-
level: process.env.LOGGER_LEVEL || 'info',
|
27
|
-
/**
|
28
|
-
* Transportar logs para o console do prompt
|
29
|
-
* @date 24/03/2023 - 20:19:18
|
30
|
-
*
|
31
|
-
*/
|
32
|
-
console: !!parseInt(process.env.LOGGER_CONSOLE) || false
|
33
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../src/config/messaging.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe;;;;CAIpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.default = void 0;
|
7
|
-
const MessagingConfig = {
|
8
|
-
user: process.env.MSG_USER || 'guest',
|
9
|
-
pass: process.env.MSG_PASS || 'guest',
|
10
|
-
host: process.env.MSG_HOST || 'localhost'
|
11
|
-
};
|
12
|
-
var _default = exports.default = MessagingConfig;
|
package/build/config/task.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../src/config/task.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/build/config/task.js
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.default = void 0;
|
7
|
-
var _path = _interopRequireDefault(require("path"));
|
8
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
9
|
-
const JobConfig = {
|
10
|
-
schedulerPath: _path.default.resolve(__dirname, '../tasks/schedulers/'),
|
11
|
-
queuePath: _path.default.resolve(__dirname, '../tasks/queue/')
|
12
|
-
};
|
13
|
-
var _default = exports.default = JobConfig;
|
package/build/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../../src/middlewares/access.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,cAAM,gBAAiB,SAAQ,cAAc;IAC3C,WAAW,UAAW,YAAY,EAAE,KAAG,cAAc,CAWnD;CACH;AAED,eAAe,gBAAgB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/middlewares/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
var _access = require("./access");
|
7
|
-
Object.keys(_access).forEach(function (key) {
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
9
|
-
if (key in exports && exports[key] === _access[key]) return;
|
10
|
-
Object.defineProperty(exports, key, {
|
11
|
-
enumerable: true,
|
12
|
-
get: function () {
|
13
|
-
return _access[key];
|
14
|
-
}
|
15
|
-
});
|
16
|
-
});
|
17
|
-
var _authentication = require("./authentication");
|
18
|
-
Object.keys(_authentication).forEach(function (key) {
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
20
|
-
if (key in exports && exports[key] === _authentication[key]) return;
|
21
|
-
Object.defineProperty(exports, key, {
|
22
|
-
enumerable: true,
|
23
|
-
get: function () {
|
24
|
-
return _authentication[key];
|
25
|
-
}
|
26
|
-
});
|
27
|
-
});
|
28
|
-
var _file = require("./file");
|
29
|
-
Object.keys(_file).forEach(function (key) {
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
31
|
-
if (key in exports && exports[key] === _file[key]) return;
|
32
|
-
Object.defineProperty(exports, key, {
|
33
|
-
enumerable: true,
|
34
|
-
get: function () {
|
35
|
-
return _file[key];
|
36
|
-
}
|
37
|
-
});
|
38
|
-
});
|
package/build/models/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,EAAiB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,CAAC"}
|