@resolveio/server-lib 8.0.15 → 8.0.16
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/index.d.ts +1 -0
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +70 -0
- package/public_api.js +39 -0
- package/public_api.js.map +1 -0
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -35,6 +35,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
+
function __export(m) {
|
|
39
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
40
|
+
}
|
|
38
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
42
|
var mongoose = require("mongoose");
|
|
40
43
|
var ResolveIOServer = /** @class */ (function () {
|
|
@@ -94,5 +97,6 @@ var ResolveIOServer = /** @class */ (function () {
|
|
|
94
97
|
return ResolveIOServer;
|
|
95
98
|
}());
|
|
96
99
|
exports.ResolveIOServer = ResolveIOServer;
|
|
100
|
+
__export(require("./public_api"));
|
|
97
101
|
|
|
98
102
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAqC;AAGrC;IAUC,yBAAY,UAAU,EAAE,YAAY,EAAE,YAAsB,EAAE,MAAc,EAAE,SAAS,EAAE,OAAc;QAAd,wBAAA,EAAA,cAAc;QACtG,eAAe,CAAC,aAAa,GAAG,UAAU,CAAC;QAC3C,eAAe,CAAC,aAAa,GAAG,YAAY,CAAC;QAC7C,eAAe,CAAC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AE,CAAC;IACnB,uBAAO,GAAwB,IAAI,CAAC;IACpC,2BAAW,GAAwB,IAAI,CAAC;IACxC,uBAAO,GAAG,EAAE,CAAC;IACb,0BAAU,GAAG,EAAE,CAAC;IAChB,wBAAQ,GAAG,IAAI,CAAC;IA0ChC,sBAAC;CAlDD,AAkDC,IAAA;AAlDY,0CAAe;AAoD5B,kCAA6B","file":"index.js","sourcesContent":["import * as mongoose from 'mongoose';\nimport ResolveIOMainServer from './server-app';\n\nexport class ResolveIOServer {\n\tprivate static _monitorAgent = null;\n\tprivate static _serverConfig = null;\n\tprivate static _clientRoutes = [];\n\tprivate static _mainDB: mongoose.Connection = null;\n\tprivate static _mainServer: ResolveIOMainServer = null;\n\tprivate static _client = '';\n\tprivate static _clientDir = '';\n\tprivate static _sesMail = true;\n\n\tconstructor(monitoring, serverConfig, clientRoutes: string[], client: string, clientDir, sesMail = true) {\n\t\tResolveIOServer._monitorAgent = monitoring;\n\t\tResolveIOServer._serverConfig = serverConfig;\n\t\tResolveIOServer._clientRoutes = clientRoutes;\n\t\tResolveIOServer._client = client;\n\t\tResolveIOServer._clientDir = clientDir;\n\t\tResolveIOServer._sesMail = sesMail;\n\t}\n\n\tpublic static connectAndRun() {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tmongoose.createConnection(ResolveIOServer._serverConfig['MONGO_URL'], <any>{ \n\t\t\t\tuseNewUrlParser: true, \n\t\t\t\tuseCreateIndex: true, \n\t\t\t\tuseUnifiedTopology: true\n\t\t\t}).then(async (dbMain) => {\n\t\t\t\tResolveIOServer._mainDB = dbMain;\n\t\t\t\t\n\t\t\t\tlet serverApp = (await import('./server-app')).default;\n\t\t\t\tResolveIOServer._mainServer = new serverApp(this, ResolveIOServer._monitorAgent, ResolveIOServer._serverConfig, ResolveIOServer._clientRoutes, this._clientDir, this._sesMail);\n\n\t\t\t\tresolve();\n\t\t\t}, (err) => {\n\t\t\t\tprocess.exit();\n\t\t\t\treject();\n\t\t\t});\n\t\t});\n\t}\n\n\tpublic static getClientName() {\n\t\treturn this._client;\n\t}\n\n\tpublic static getMainServer() {\n\t\treturn ResolveIOServer._mainServer;\n\t}\n\n\tpublic static getMainDB() {\n\t\treturn ResolveIOServer._mainDB;\n\t}\n}\n\nexport * from './public_api';"]}
|
package/package.json
CHANGED
package/public_api.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export * from './collections/app-status.collection';
|
|
2
|
+
export * from './collections/app-version.collection';
|
|
3
|
+
export * from './collections/counter.collection';
|
|
4
|
+
export * from './collections/cron-job-history.collection';
|
|
5
|
+
export * from './collections/cron-job.collection';
|
|
6
|
+
export * from './collections/email-history.collection';
|
|
7
|
+
export * from './collections/email-verified.collection';
|
|
8
|
+
export * from './collections/file.collection';
|
|
9
|
+
export * from './collections/flag.collection';
|
|
10
|
+
export * from './collections/log-method-latency.collection';
|
|
11
|
+
export * from './collections/log-subscription.collection';
|
|
12
|
+
export * from './collections/log.collection';
|
|
13
|
+
export * from './collections/logged-in-users.collection';
|
|
14
|
+
export * from './collections/method-call.collection';
|
|
15
|
+
export * from './collections/method-response.collection';
|
|
16
|
+
export * from './collections/monitor-cpu.collection';
|
|
17
|
+
export * from './collections/monitor-https-inbound.collection';
|
|
18
|
+
export * from './collections/monitor-https-outbound.collection';
|
|
19
|
+
export * from './collections/monitor-memory.collection';
|
|
20
|
+
export * from './collections/monitor-mongo.collection';
|
|
21
|
+
export * from './collections/notification.collection';
|
|
22
|
+
export * from './collections/queue-flag.collection';
|
|
23
|
+
export * from './collections/queue-method.collection';
|
|
24
|
+
export * from './collections/queue-response.collection';
|
|
25
|
+
export * from './collections/report-builder-library.collection';
|
|
26
|
+
export * from './collections/report-builder-report.collection';
|
|
27
|
+
export * from './collections/user-group.collection';
|
|
28
|
+
export * from './collections/user-guide.collection';
|
|
29
|
+
export * from './collections/user.collection';
|
|
30
|
+
export * from './models/app-status.model';
|
|
31
|
+
export * from './models/app-version.model';
|
|
32
|
+
export * from './models/billing-logged-in-users.model';
|
|
33
|
+
export * from './models/collection-document.model';
|
|
34
|
+
export * from './models/counter.model';
|
|
35
|
+
export * from './models/cron-job-history.model';
|
|
36
|
+
export * from './models/cron-job.model';
|
|
37
|
+
export * from './models/dialog.model';
|
|
38
|
+
export * from './models/email-history.model';
|
|
39
|
+
export * from './models/email-verified.model';
|
|
40
|
+
export * from './models/file.model';
|
|
41
|
+
export * from './models/flag.model';
|
|
42
|
+
export * from './models/log-method-latency.model';
|
|
43
|
+
export * from './models/log-subscription.model';
|
|
44
|
+
export * from './models/log.model';
|
|
45
|
+
export * from './models/logged-in-users.model';
|
|
46
|
+
export * from './models/method-call.model';
|
|
47
|
+
export * from './models/method-response.model';
|
|
48
|
+
export * from './models/method.model';
|
|
49
|
+
export * from './models/monitor-cpu.model';
|
|
50
|
+
export * from './models/monitor-https-inbound.model';
|
|
51
|
+
export * from './models/monitor-https-outbound.model';
|
|
52
|
+
export * from './models/monitor-memory.model';
|
|
53
|
+
export * from './models/monitor-mongo.model';
|
|
54
|
+
export * from './models/notification.model';
|
|
55
|
+
export * from './models/pagination.model';
|
|
56
|
+
export * from './models/permission.model';
|
|
57
|
+
export * from './models/queue-method.model';
|
|
58
|
+
export * from './models/queue-response.model';
|
|
59
|
+
export * from './models/report-builder-library.model';
|
|
60
|
+
export * from './models/report-builder-report.model';
|
|
61
|
+
export * from './models/report-builder.model';
|
|
62
|
+
export * from './models/select-data-label.model';
|
|
63
|
+
export * from './models/server-response.model';
|
|
64
|
+
export * from './models/subscription.model';
|
|
65
|
+
export * from './models/support-ticket.model';
|
|
66
|
+
export * from './models/user-group.model';
|
|
67
|
+
export * from './models/user-guide.model';
|
|
68
|
+
export * from './models/user.model';
|
|
69
|
+
export * from './util/common';
|
|
70
|
+
export * from './util/schema-report-builder';
|
package/public_api.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
function __export(m) {
|
|
3
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4
|
+
}
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
__export(require("./collections/app-status.collection"));
|
|
7
|
+
__export(require("./collections/app-version.collection"));
|
|
8
|
+
__export(require("./collections/counter.collection"));
|
|
9
|
+
__export(require("./collections/cron-job-history.collection"));
|
|
10
|
+
__export(require("./collections/cron-job.collection"));
|
|
11
|
+
__export(require("./collections/email-history.collection"));
|
|
12
|
+
__export(require("./collections/email-verified.collection"));
|
|
13
|
+
__export(require("./collections/file.collection"));
|
|
14
|
+
__export(require("./collections/flag.collection"));
|
|
15
|
+
__export(require("./collections/log-method-latency.collection"));
|
|
16
|
+
__export(require("./collections/log-subscription.collection"));
|
|
17
|
+
__export(require("./collections/log.collection"));
|
|
18
|
+
__export(require("./collections/logged-in-users.collection"));
|
|
19
|
+
__export(require("./collections/method-call.collection"));
|
|
20
|
+
__export(require("./collections/method-response.collection"));
|
|
21
|
+
__export(require("./collections/monitor-cpu.collection"));
|
|
22
|
+
__export(require("./collections/monitor-https-inbound.collection"));
|
|
23
|
+
__export(require("./collections/monitor-https-outbound.collection"));
|
|
24
|
+
__export(require("./collections/monitor-memory.collection"));
|
|
25
|
+
__export(require("./collections/monitor-mongo.collection"));
|
|
26
|
+
__export(require("./collections/notification.collection"));
|
|
27
|
+
__export(require("./collections/queue-flag.collection"));
|
|
28
|
+
__export(require("./collections/queue-method.collection"));
|
|
29
|
+
__export(require("./collections/queue-response.collection"));
|
|
30
|
+
__export(require("./collections/report-builder-library.collection"));
|
|
31
|
+
__export(require("./collections/report-builder-report.collection"));
|
|
32
|
+
__export(require("./collections/user-group.collection"));
|
|
33
|
+
__export(require("./collections/user-guide.collection"));
|
|
34
|
+
__export(require("./collections/user.collection"));
|
|
35
|
+
__export(require("./models/pagination.model"));
|
|
36
|
+
__export(require("./util/common"));
|
|
37
|
+
__export(require("./util/schema-report-builder"));
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=public_api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/public_api.ts"],"names":[],"mappings":";;;;;AAAA,yDAAoD;AACpD,0DAAqD;AACrD,sDAAiD;AACjD,+DAA0D;AAC1D,uDAAkD;AAClD,4DAAuD;AACvD,6DAAwD;AACxD,mDAA8C;AAC9C,mDAA8C;AAC9C,iEAA4D;AAC5D,+DAA0D;AAC1D,kDAA6C;AAC7C,8DAAyD;AACzD,0DAAqD;AACrD,8DAAyD;AACzD,0DAAqD;AACrD,oEAA+D;AAC/D,qEAAgE;AAChE,6DAAwD;AACxD,4DAAuD;AACvD,2DAAsD;AACtD,yDAAoD;AACpD,2DAAsD;AACtD,6DAAwD;AACxD,qEAAgE;AAChE,oEAA+D;AAC/D,yDAAoD;AACpD,yDAAoD;AACpD,mDAA8C;AA0B9C,+CAA0C;AAc1C,mCAA8B;AAC9B,kDAA6C","file":"public_api.js","sourcesContent":["export * from './collections/app-status.collection';\nexport * from './collections/app-version.collection';\nexport * from './collections/counter.collection';\nexport * from './collections/cron-job-history.collection';\nexport * from './collections/cron-job.collection';\nexport * from './collections/email-history.collection';\nexport * from './collections/email-verified.collection';\nexport * from './collections/file.collection';\nexport * from './collections/flag.collection';\nexport * from './collections/log-method-latency.collection';\nexport * from './collections/log-subscription.collection';\nexport * from './collections/log.collection';\nexport * from './collections/logged-in-users.collection';\nexport * from './collections/method-call.collection';\nexport * from './collections/method-response.collection';\nexport * from './collections/monitor-cpu.collection';\nexport * from './collections/monitor-https-inbound.collection';\nexport * from './collections/monitor-https-outbound.collection';\nexport * from './collections/monitor-memory.collection';\nexport * from './collections/monitor-mongo.collection';\nexport * from './collections/notification.collection';\nexport * from './collections/queue-flag.collection';\nexport * from './collections/queue-method.collection';\nexport * from './collections/queue-response.collection';\nexport * from './collections/report-builder-library.collection';\nexport * from './collections/report-builder-report.collection';\nexport * from './collections/user-group.collection';\nexport * from './collections/user-guide.collection';\nexport * from './collections/user.collection';\nexport * from './models/app-status.model';\nexport * from './models/app-version.model';\nexport * from './models/billing-logged-in-users.model';\nexport * from './models/collection-document.model';\nexport * from './models/counter.model';\nexport * from './models/cron-job-history.model';\nexport * from './models/cron-job.model';\nexport * from './models/dialog.model';\nexport * from './models/email-history.model';\nexport * from './models/email-verified.model';\nexport * from './models/file.model';\nexport * from './models/flag.model';\nexport * from './models/log-method-latency.model';\nexport * from './models/log-subscription.model';\nexport * from './models/log.model';\nexport * from './models/logged-in-users.model';\nexport * from './models/method-call.model';\nexport * from './models/method-response.model';\nexport * from './models/method.model';\nexport * from './models/monitor-cpu.model';\nexport * from './models/monitor-https-inbound.model';\nexport * from './models/monitor-https-outbound.model';\nexport * from './models/monitor-memory.model';\nexport * from './models/monitor-mongo.model';\nexport * from './models/notification.model';\nexport * from './models/pagination.model';\nexport * from './models/permission.model';\nexport * from './models/queue-method.model';\nexport * from './models/queue-response.model';\nexport * from './models/report-builder-library.model';\nexport * from './models/report-builder-report.model';\nexport * from './models/report-builder.model';\nexport * from './models/select-data-label.model';\nexport * from './models/server-response.model';\nexport * from './models/subscription.model';\nexport * from './models/support-ticket.model';\nexport * from './models/user-group.model';\nexport * from './models/user-guide.model';\nexport * from './models/user.model';\nexport * from './util/common';\nexport * from './util/schema-report-builder';"]}
|