@resolveio/server-lib 4.0.11 → 4.0.12
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 +3 -0
- package/index.js +7 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare class ResolveIOServer {
|
|
|
4
4
|
private static _mainDB;
|
|
5
5
|
private static _supportDB;
|
|
6
6
|
private static _mainServer;
|
|
7
|
+
private static _erp;
|
|
7
8
|
private static _client;
|
|
8
9
|
private static _clientDir;
|
|
9
10
|
private static _dontRunSupport;
|
|
@@ -13,4 +14,6 @@ export declare class ResolveIOServer {
|
|
|
13
14
|
static getMainServer(): ResolveIOMainServer;
|
|
14
15
|
static getMainDB(): any;
|
|
15
16
|
static getSupportDB(): any;
|
|
17
|
+
static setERP(erp: any): void;
|
|
18
|
+
static getERP(): any;
|
|
16
19
|
}
|
package/index.js
CHANGED
|
@@ -113,10 +113,17 @@ var ResolveIOServer = /** @class */ (function () {
|
|
|
113
113
|
ResolveIOServer.getSupportDB = function () {
|
|
114
114
|
return ResolveIOServer._supportDB;
|
|
115
115
|
};
|
|
116
|
+
ResolveIOServer.setERP = function (erp) {
|
|
117
|
+
this._erp = erp;
|
|
118
|
+
};
|
|
119
|
+
ResolveIOServer.getERP = function () {
|
|
120
|
+
return this._erp;
|
|
121
|
+
};
|
|
116
122
|
ResolveIOServer._serverConfig = null;
|
|
117
123
|
ResolveIOServer._mainDB = null;
|
|
118
124
|
ResolveIOServer._supportDB = null;
|
|
119
125
|
ResolveIOServer._mainServer = null;
|
|
126
|
+
ResolveIOServer._erp = null;
|
|
120
127
|
ResolveIOServer._client = '';
|
|
121
128
|
ResolveIOServer._clientDir = '';
|
|
122
129
|
ResolveIOServer._dontRunSupport = false;
|