@intuitionrobotics/ts-common 0.41.69 → 0.41.72
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/core/application.js +12 -28
- package/core/application.js.map +1 -1
- package/core/debug-flags.js +27 -30
- package/core/debug-flags.js.map +1 -1
- package/core/dispatcher.js +17 -54
- package/core/dispatcher.js.map +1 -1
- package/core/error-handling.js +1 -1
- package/core/error-handling.js.map +1 -1
- package/core/exceptions.js +47 -81
- package/core/exceptions.js.map +1 -1
- package/core/logger/BeLogged.js +19 -25
- package/core/logger/BeLogged.js.map +1 -1
- package/core/logger/LogClient.js +14 -15
- package/core/logger/LogClient.js.map +1 -1
- package/core/logger/LogClient_BaseRotate.js +20 -39
- package/core/logger/LogClient_BaseRotate.js.map +1 -1
- package/core/logger/LogClient_Browser.js +12 -31
- package/core/logger/LogClient_Browser.js.map +1 -1
- package/core/logger/LogClient_Function.js +14 -31
- package/core/logger/LogClient_Function.js.map +1 -1
- package/core/logger/LogClient_MemBuffer.js +14 -32
- package/core/logger/LogClient_MemBuffer.js.map +1 -1
- package/core/logger/LogClient_Terminal.js +12 -31
- package/core/logger/LogClient_Terminal.js.map +1 -1
- package/core/logger/Logger.js +36 -77
- package/core/logger/Logger.js.map +1 -1
- package/core/logger/utils.js +16 -17
- package/core/logger/utils.js.map +1 -1
- package/core/module-manager.js +33 -58
- package/core/module-manager.js.map +1 -1
- package/core/module.js +43 -62
- package/core/module.js.map +1 -1
- package/modules/CSVModule.js +37 -87
- package/modules/CSVModule.js.map +1 -1
- package/modules/CliParamsModule.js +32 -51
- package/modules/CliParamsModule.js.map +1 -1
- package/package.json +1 -1
- package/permissions/permission-group.js +9 -11
- package/permissions/permission-group.js.map +1 -1
- package/testing/test-model.js +28 -87
- package/testing/test-model.js.map +1 -1
- package/ts-generics/array-params.js +14 -22
- package/ts-generics/array-params.js.map +1 -1
- package/ts-generics/omit-and-join.js +4 -15
- package/ts-generics/omit-and-join.js.map +1 -1
- package/utils/array-tools.js +40 -99
- package/utils/array-tools.js.map +1 -1
- package/utils/crypto-tools.js +1 -1
- package/utils/crypto-tools.js.map +1 -1
- package/utils/date-time-tools.js +17 -69
- package/utils/date-time-tools.js.map +1 -1
- package/utils/filter-tools.js +16 -18
- package/utils/filter-tools.js.map +1 -1
- package/utils/hash-tools.js +4 -7
- package/utils/hash-tools.js.map +1 -1
- package/utils/merge-tools.js +6 -6
- package/utils/merge-tools.js.map +1 -1
- package/utils/object-tools.js +13 -15
- package/utils/object-tools.js.map +1 -1
- package/utils/queue.js +47 -112
- package/utils/queue.js.map +1 -1
- package/utils/random-tools.js +2 -2
- package/utils/random-tools.js.map +1 -1
- package/utils/string-tools.js +1 -1
- package/utils/string-tools.js.map +1 -1
- package/utils/tools.js +6 -6
- package/utils/tools.js.map +1 -1
- package/utils/types.js +1 -1
- package/utils/types.js.map +1 -1
- package/utils/version-tools.js +6 -6
- package/utils/version-tools.js.map +1 -1
- package/validator/validator.js +64 -97
- package/validator/validator.js.map +1 -1
package/core/application.js
CHANGED
|
@@ -16,38 +16,22 @@
|
|
|
16
16
|
* See the License for the specific language governing permissions and
|
|
17
17
|
* limitations under the License.
|
|
18
18
|
*/
|
|
19
|
-
var __extends = (this && this.__extends) || (function () {
|
|
20
|
-
var extendStatics = function (d, b) {
|
|
21
|
-
extendStatics = Object.setPrototypeOf ||
|
|
22
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
23
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
24
|
-
return extendStatics(d, b);
|
|
25
|
-
};
|
|
26
|
-
return function (d, b) {
|
|
27
|
-
extendStatics(d, b);
|
|
28
|
-
function __() { this.constructor = d; }
|
|
29
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
30
|
-
};
|
|
31
|
-
})();
|
|
32
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
20
|
exports.Application = void 0;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return _super.call(this) || this;
|
|
21
|
+
const module_manager_1 = require("./module-manager");
|
|
22
|
+
class Application extends module_manager_1.ModuleManager {
|
|
23
|
+
constructor() {
|
|
24
|
+
super();
|
|
39
25
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
_super.prototype.build.call(this);
|
|
26
|
+
build(onStarted) {
|
|
27
|
+
super.build();
|
|
43
28
|
onStarted && onStarted()
|
|
44
|
-
.then(
|
|
45
|
-
data &&
|
|
46
|
-
|
|
29
|
+
.then((data) => {
|
|
30
|
+
data && this.logInfo("data: ", data);
|
|
31
|
+
this.logInfo("Completed");
|
|
47
32
|
})
|
|
48
|
-
.catch(
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
}(module_manager_1.ModuleManager));
|
|
33
|
+
.catch((err) => this.logError("Error", err));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
52
36
|
exports.Application = Application;
|
|
53
37
|
//# sourceMappingURL=application.js.map
|
package/core/application.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../src/main/core/application.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../src/main/core/application.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,qDAA+C;AAE/C,MAAa,WACZ,SAAQ,8BAAa;IAErB;QACC,KAAK,EAAE,CAAC;IACT,CAAC;IAED,KAAK,CAAC,SAA8B;QACnC,KAAK,CAAC,KAAK,EAAE,CAAC;QACd,SAAS,IAAI,SAAS,EAAE;aACtB,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;YACd,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YACrC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC3B,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;IAC/C,CAAC;CACD;AAhBD,kCAgBC"}
|
package/core/debug-flags.js
CHANGED
|
@@ -18,60 +18,57 @@
|
|
|
18
18
|
*/
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.DebugFlags = exports.DebugFlag = void 0;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
const array_tools_1 = require("../utils/array-tools");
|
|
22
|
+
class DebugFlag {
|
|
23
|
+
constructor(key) {
|
|
24
24
|
this.key = key;
|
|
25
25
|
DebugFlags.add(this);
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
rename(newKey) {
|
|
28
28
|
DebugFlags.rename(this.key, newKey);
|
|
29
|
-
}
|
|
30
|
-
|
|
29
|
+
}
|
|
30
|
+
getKey() {
|
|
31
31
|
return this.key;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
if (enable === void 0) { enable = true; }
|
|
32
|
+
}
|
|
33
|
+
enable(enable = true) {
|
|
35
34
|
if (this.isEnabled() === enable)
|
|
36
35
|
return;
|
|
37
36
|
if (enable)
|
|
38
37
|
this._enable();
|
|
39
38
|
else
|
|
40
39
|
this._disable();
|
|
41
|
-
}
|
|
42
|
-
|
|
40
|
+
}
|
|
41
|
+
_enable() {
|
|
43
42
|
array_tools_1.addItemToArray(DebugFlags.instance.ActiveDebugFlags, this.key);
|
|
44
|
-
}
|
|
45
|
-
|
|
43
|
+
}
|
|
44
|
+
_disable() {
|
|
46
45
|
array_tools_1.removeItemFromArray(DebugFlags.instance.ActiveDebugFlags, this.key);
|
|
47
|
-
}
|
|
48
|
-
|
|
46
|
+
}
|
|
47
|
+
isEnabled() {
|
|
49
48
|
return DebugFlags.instance.ActiveDebugFlags.includes(this.key);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
}());
|
|
49
|
+
}
|
|
50
|
+
}
|
|
53
51
|
exports.DebugFlag = DebugFlag;
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
class DebugFlags {
|
|
53
|
+
constructor() {
|
|
56
54
|
this.AllDebugFlags = {};
|
|
57
55
|
this.ActiveDebugFlags = [];
|
|
58
56
|
}
|
|
59
|
-
|
|
57
|
+
static createFlag(key) {
|
|
60
58
|
// @ts-ignore
|
|
61
59
|
return new DebugFlag(key);
|
|
62
|
-
}
|
|
63
|
-
|
|
60
|
+
}
|
|
61
|
+
static add(flag) {
|
|
64
62
|
this.instance.AllDebugFlags[flag.getKey()] = flag;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
}
|
|
64
|
+
static rename(previousKey, newKey) {
|
|
65
|
+
const flag = this.instance.AllDebugFlags[previousKey];
|
|
68
66
|
if (!flag)
|
|
69
67
|
return;
|
|
70
68
|
delete this.instance.AllDebugFlags[previousKey];
|
|
71
69
|
this.instance.AllDebugFlags[newKey] = flag;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
return DebugFlags;
|
|
75
|
-
}());
|
|
70
|
+
}
|
|
71
|
+
}
|
|
76
72
|
exports.DebugFlags = DebugFlags;
|
|
73
|
+
DebugFlags.instance = new DebugFlags();
|
|
77
74
|
//# sourceMappingURL=debug-flags.js.map
|
package/core/debug-flags.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-flags.js","sourceRoot":"","sources":["../../src/main/core/debug-flags.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAGH,
|
|
1
|
+
{"version":3,"file":"debug-flags.js","sourceRoot":"","sources":["../../src/main/core/debug-flags.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAGH,sDAG8B;AAE9B,MAAa,SAAS;IAIrB,YAAoB,GAAW;Q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,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QACtD,IAAI,CAAC,IAAI;YACR,OAAO;QAER,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAChD,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5C,CAAC;;AA1BF,gCA2BC;AAzBgB,mBAAQ,GAAe,IAAI,UAAU,EAAE,CAAC"}
|
package/core/dispatcher.js
CHANGED
|
@@ -25,64 +25,27 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
25
25
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
29
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
30
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
31
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
32
|
-
function step(op) {
|
|
33
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
34
|
-
while (_) try {
|
|
35
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
36
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
37
|
-
switch (op[0]) {
|
|
38
|
-
case 0: case 1: t = op; break;
|
|
39
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
40
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
41
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
42
|
-
default:
|
|
43
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
44
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
45
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
46
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
47
|
-
if (t[2]) _.ops.pop();
|
|
48
|
-
_.trys.pop(); continue;
|
|
49
|
-
}
|
|
50
|
-
op = body.call(thisArg, _);
|
|
51
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
52
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
56
29
|
exports.Dispatcher = void 0;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
var _this = this;
|
|
30
|
+
class Dispatcher {
|
|
31
|
+
constructor(method) {
|
|
60
32
|
this.method = method;
|
|
61
|
-
this.filter =
|
|
33
|
+
this.filter = (listener) => !!listener[this.method];
|
|
62
34
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
return [2 /*return*/, Promise.all(listeners.filter(this.filter).map(function (listener) { return __awaiter(_this, void 0, void 0, function () {
|
|
76
|
-
var params;
|
|
77
|
-
return __generator(this, function (_a) {
|
|
78
|
-
params = p;
|
|
79
|
-
return [2 /*return*/, listener[this.method].apply(listener, params)];
|
|
80
|
-
});
|
|
81
|
-
}); }))];
|
|
82
|
-
});
|
|
35
|
+
dispatchModule(p) {
|
|
36
|
+
const listeners = Dispatcher.modulesResolver();
|
|
37
|
+
const params = p;
|
|
38
|
+
return listeners.filter(this.filter).map((listener) => listener[this.method](...params));
|
|
39
|
+
}
|
|
40
|
+
dispatchModuleAsync(p) {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
const listeners = Dispatcher.modulesResolver();
|
|
43
|
+
return Promise.all(listeners.filter(this.filter).map((listener) => __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
const params = p;
|
|
45
|
+
return listener[this.method](...params);
|
|
46
|
+
})));
|
|
83
47
|
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
}());
|
|
48
|
+
}
|
|
49
|
+
}
|
|
87
50
|
exports.Dispatcher = Dispatcher;
|
|
88
51
|
//# sourceMappingURL=dispatcher.js.map
|
package/core/dispatcher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispatcher.js","sourceRoot":"","sources":["../../src/main/core/dispatcher.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG
|
|
1
|
+
{"version":3,"file":"dispatcher.js","sourceRoot":"","sources":["../../src/main/core/dispatcher.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;;;;;;;;;;AAOH,MAAa,UAAU;IAOtB,YAAY,MAAS;QACpB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,CAAC,QAAa,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IAEM,cAAc,CAAC,CAAmB;QACxC,MAAM,SAAS,GAAG,UAAU,CAAC,eAAe,EAAE,CAAC;QAC/C,MAAM,MAAM,GAAQ,CAAC,CAAC;QACtB,OAAO,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,QAAW,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC;IAC7F,CAAC;IAEY,mBAAmB,CAAC,CAAmB;;YACnD,MAAM,SAAS,GAAG,UAAU,CAAC,eAAe,EAAE,CAAC;YAC/C,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAO,QAAW,EAAE,EAAE;gBAC1E,MAAM,MAAM,GAAQ,CAAC,CAAC;gBACtB,OAAO,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;YACzC,CAAC,CAAA,CAAC,CAAC,CAAC;QACL,CAAC;KAAA;CACD;AAzBD,gCAyBC"}
|
package/core/error-handling.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.dispatch_onServerError = exports.ServerErrorSeverity_Ordinal = exports.ServerErrorSeverity = void 0;
|
|
21
|
-
|
|
21
|
+
const dispatcher_1 = require("./dispatcher");
|
|
22
22
|
var ServerErrorSeverity;
|
|
23
23
|
(function (ServerErrorSeverity) {
|
|
24
24
|
ServerErrorSeverity["Debug"] = "Debug";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-handling.js","sourceRoot":"","sources":["../../src/main/core/error-handling.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAGH,
|
|
1
|
+
{"version":3,"file":"error-handling.js","sourceRoot":"","sources":["../../src/main/core/error-handling.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAGH,6CAAwC;AAExC,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,sCAAkB,CAAA;IAClB,oCAAiB,CAAA;IACjB,0CAAoB,CAAA;IACpB,sCAAkB,CAAA;IAClB,4CAAqB,CAAA;AACtB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAEY,QAAA,2BAA2B,GAAG;IAC1C,mBAAmB,CAAC,KAAK;IACzB,mBAAmB,CAAC,IAAI;IACxB,mBAAmB,CAAC,OAAO;IAC3B,mBAAmB,CAAC,KAAK;IACzB,mBAAmB,CAAC,QAAQ;CAC5B,CAAC;AAMW,QAAA,sBAAsB,GAAG,IAAI,uBAAU,CAAkD,2BAA2B,CAAC,CAAC"}
|
package/core/exceptions.js
CHANGED
|
@@ -19,113 +19,79 @@
|
|
|
19
19
|
/**
|
|
20
20
|
* Created by IR on 3/16/17.
|
|
21
21
|
*/
|
|
22
|
-
var __extends = (this && this.__extends) || (function () {
|
|
23
|
-
var extendStatics = function (d, b) {
|
|
24
|
-
extendStatics = Object.setPrototypeOf ||
|
|
25
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
26
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
27
|
-
return extendStatics(d, b);
|
|
28
|
-
};
|
|
29
|
-
return function (d, b) {
|
|
30
|
-
extendStatics(d, b);
|
|
31
|
-
function __() { this.constructor = d; }
|
|
32
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
23
|
exports.AssertionException = exports.WhoCallthisException = exports.DontCallthisException = exports.ThisShouldNotHappenException = exports.NotImplementedYetException = exports.MUSTNeverHappenException = exports.ImplementationMissingException = exports.BadImplementationException = exports.Exception = exports.CustomException = exports.isErrorOfType = void 0;
|
|
37
24
|
function isErrorOfType(e, _exceptionType) {
|
|
38
|
-
|
|
25
|
+
const _e = e;
|
|
39
26
|
if (_e.isInstanceOf && _e.isInstanceOf(_exceptionType))
|
|
40
27
|
return e;
|
|
41
28
|
}
|
|
42
29
|
exports.isErrorOfType = isErrorOfType;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
return _this.exceptionType === _exceptionType.name;
|
|
30
|
+
class CustomException extends Error {
|
|
31
|
+
constructor(exceptionType, message, cause) {
|
|
32
|
+
super(message);
|
|
33
|
+
this.message = message;
|
|
34
|
+
this.stack = (new Error(message)).stack;
|
|
35
|
+
this.cause = cause;
|
|
36
|
+
this.exceptionType = exceptionType.name;
|
|
37
|
+
this.isInstanceOf = (_exceptionType) => {
|
|
38
|
+
return this.exceptionType === _exceptionType.name;
|
|
53
39
|
};
|
|
54
|
-
return _this;
|
|
55
40
|
}
|
|
56
|
-
|
|
57
|
-
}(Error));
|
|
41
|
+
}
|
|
58
42
|
exports.CustomException = CustomException;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return _super.call(this, Exception, message, cause) || this;
|
|
43
|
+
class Exception extends CustomException {
|
|
44
|
+
constructor(message, cause) {
|
|
45
|
+
super(Exception, message, cause);
|
|
63
46
|
}
|
|
64
|
-
|
|
65
|
-
}(CustomException));
|
|
47
|
+
}
|
|
66
48
|
exports.Exception = Exception;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return _super.call(this, BadImplementationException, message, cause) || this;
|
|
49
|
+
class BadImplementationException extends CustomException {
|
|
50
|
+
constructor(message, cause) {
|
|
51
|
+
super(BadImplementationException, message, cause);
|
|
71
52
|
}
|
|
72
|
-
|
|
73
|
-
}(CustomException));
|
|
53
|
+
}
|
|
74
54
|
exports.BadImplementationException = BadImplementationException;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
return _super.call(this, ImplementationMissingException, message, cause) || this;
|
|
55
|
+
class ImplementationMissingException extends CustomException {
|
|
56
|
+
constructor(message, cause) {
|
|
57
|
+
super(ImplementationMissingException, message, cause);
|
|
79
58
|
}
|
|
80
|
-
|
|
81
|
-
}(CustomException));
|
|
59
|
+
}
|
|
82
60
|
exports.ImplementationMissingException = ImplementationMissingException;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
return _super.call(this, MUSTNeverHappenException, message, cause) || this;
|
|
61
|
+
class MUSTNeverHappenException extends CustomException {
|
|
62
|
+
constructor(message, cause) {
|
|
63
|
+
super(MUSTNeverHappenException, message, cause);
|
|
87
64
|
}
|
|
88
|
-
|
|
89
|
-
}(CustomException));
|
|
65
|
+
}
|
|
90
66
|
exports.MUSTNeverHappenException = MUSTNeverHappenException;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
return _super.call(this, NotImplementedYetException, message, cause) || this;
|
|
67
|
+
class NotImplementedYetException extends CustomException {
|
|
68
|
+
constructor(message, cause) {
|
|
69
|
+
super(NotImplementedYetException, message, cause);
|
|
95
70
|
}
|
|
96
|
-
|
|
97
|
-
}(CustomException));
|
|
71
|
+
}
|
|
98
72
|
exports.NotImplementedYetException = NotImplementedYetException;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
return _super.call(this, ThisShouldNotHappenException, message, cause) || this;
|
|
73
|
+
class ThisShouldNotHappenException extends CustomException {
|
|
74
|
+
constructor(message, cause) {
|
|
75
|
+
super(ThisShouldNotHappenException, message, cause);
|
|
103
76
|
}
|
|
104
|
-
|
|
105
|
-
}(CustomException));
|
|
77
|
+
}
|
|
106
78
|
exports.ThisShouldNotHappenException = ThisShouldNotHappenException;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
return _super.call(this, DontCallthisException, message, cause) || this;
|
|
79
|
+
class DontCallthisException extends CustomException {
|
|
80
|
+
constructor(message, cause) {
|
|
81
|
+
super(DontCallthisException, message, cause);
|
|
111
82
|
}
|
|
112
|
-
|
|
113
|
-
}(CustomException));
|
|
83
|
+
}
|
|
114
84
|
exports.DontCallthisException = DontCallthisException;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
return _super.call(this, WhoCallthisException, message, cause) || this;
|
|
85
|
+
class WhoCallthisException extends CustomException {
|
|
86
|
+
constructor(message, cause) {
|
|
87
|
+
super(WhoCallthisException, message, cause);
|
|
119
88
|
}
|
|
120
|
-
|
|
121
|
-
}(CustomException));
|
|
89
|
+
}
|
|
122
90
|
exports.WhoCallthisException = WhoCallthisException;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
return _super.call(this, AssertionException, message, cause) || this;
|
|
91
|
+
class AssertionException extends CustomException {
|
|
92
|
+
constructor(message, cause) {
|
|
93
|
+
super(AssertionException, message, cause);
|
|
127
94
|
}
|
|
128
|
-
|
|
129
|
-
}(CustomException));
|
|
95
|
+
}
|
|
130
96
|
exports.AssertionException = AssertionException;
|
|
131
97
|
//# sourceMappingURL=exceptions.js.map
|
package/core/exceptions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exceptions.js","sourceRoot":"","sources":["../../src/main/core/exceptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;AACH;;GAEG
|
|
1
|
+
{"version":3,"file":"exceptions.js","sourceRoot":"","sources":["../../src/main/core/exceptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;AACH;;GAEG;;;AAKH,SAAgB,aAAa,CAAkB,CAAQ,EAAE,cAA8B;IACtF,MAAM,EAAE,GAAG,CAAQ,CAAC;IACpB,IAAI,EAAE,CAAC,YAAY,IAAI,EAAE,CAAC,YAAY,CAAC,cAAc,CAAC;QACrD,OAAO,CAAM,CAAC;AAChB,CAAC;AAJD,sCAIC;AAED,MAAsB,eACrB,SAAQ,KAAK;IAOb,YAAsB,aAAuB,EAAE,OAAe,EAAE,KAAa;QAC5E,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;QACxC,IAAI,CAAC,KAAK,GAAG,K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BAAqB,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9C,CAAC;CACD;AAND,sDAMC;AAED,MAAa,oBACZ,SAAQ,eAAe;IAEvB,YAAY,OAAe,EAAE,KAAa;QACzC,KAAK,CAAC,oBAAoB,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAC7C,CAAC;CACD;AAND,oDAMC;AAED,MAAa,kBACZ,SAAQ,eAAe;IAEvB,YAAY,OAAe,EAAE,KAAa;QACzC,KAAK,CAAC,kBAAkB,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAC3C,CAAC;CACD;AAND,gDAMC"}
|
package/core/logger/BeLogged.js
CHANGED
|
@@ -18,44 +18,38 @@
|
|
|
18
18
|
*/
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.BeLogged = void 0;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
const array_tools_1 = require("../../utils/array-tools");
|
|
22
|
+
class BeLogged_Class {
|
|
23
|
+
constructor() {
|
|
24
24
|
this.clients = [];
|
|
25
25
|
this.lineCount = 0;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
addClient(client) {
|
|
28
28
|
if (this.clients.indexOf(client) !== -1)
|
|
29
29
|
return;
|
|
30
30
|
this.clients.push(client);
|
|
31
|
-
}
|
|
32
|
-
|
|
31
|
+
}
|
|
32
|
+
removeConsole(client) {
|
|
33
33
|
if (this.clients.indexOf(client) === -1)
|
|
34
34
|
return;
|
|
35
35
|
array_tools_1.removeItemFromArray(this.clients, client);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
var toLog = [];
|
|
39
|
-
for (var _i = 3; _i < arguments.length; _i++) {
|
|
40
|
-
toLog[_i - 3] = arguments[_i];
|
|
41
|
-
}
|
|
36
|
+
}
|
|
37
|
+
log(tag, level, bold, ...toLog) {
|
|
42
38
|
this.logImpl(tag, level, bold, toLog);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
for (
|
|
46
|
-
var client = _a[_i];
|
|
39
|
+
}
|
|
40
|
+
logImpl(tag, level, bold, toLog) {
|
|
41
|
+
for (const client of this.clients) {
|
|
47
42
|
client.log(tag, level, bold, toLog);
|
|
48
43
|
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
for (
|
|
52
|
-
process.stdout.write(
|
|
44
|
+
}
|
|
45
|
+
clearFooter() {
|
|
46
|
+
for (let i = 0; i < this.lineCount + 3; i++) {
|
|
47
|
+
process.stdout.write(`\n`);
|
|
53
48
|
}
|
|
54
|
-
}
|
|
55
|
-
|
|
49
|
+
}
|
|
50
|
+
rewriteConsole(lineCount) {
|
|
56
51
|
this.lineCount = lineCount;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}());
|
|
52
|
+
}
|
|
53
|
+
}
|
|
60
54
|
exports.BeLogged = new BeLogged_Class();
|
|
61
55
|
//# sourceMappingURL=BeLogged.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BeLogged.js","sourceRoot":"","sources":["../../../src/main/core/logger/BeLogged.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAIH,
|
|
1
|
+
{"version":3,"file":"BeLogged.js","sourceRoot":"","sources":["../../../src/main/core/logger/BeLogged.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAIH,yDAA4D;AAM5D,MAAM,cAAc;IAApB;QAES,YAAO,GAAgB,EAAE,CAAC;QAC1B,cAAS,GAAG,CAAC,CAAC;IAoCvB,CAAC;IAlCO,SAAS,CAA2B,MAAc;QACxD,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACtC,OAAO;QAER,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC;IAEM,aAAa,CAA2B,MAAc;QAC5D,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACtC,OAAO;QAER,iCAAmB,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAe,EAAE,IAAa,EAAE,GAAG,KAAiB;QAC3E,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;IAEO,OAAO,CAAC,GAAW,EAAE,KAAe,EAAE,IAAa,EAAE,KAAiB;QAC7E,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE;YAClC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;SACpC;IACF,CAAC;IAGM,WAAW;QACjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;YAC5C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SAC3B;IACF,CAAC;IAEM,cAAc,CAAC,SAAiB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC5B,CAAC;CACD;AAEY,QAAA,QAAQ,GAAG,IAAI,cAAc,EAAE,CAAC"}
|
package/core/logger/LogClient.js
CHANGED
|
@@ -18,26 +18,25 @@
|
|
|
18
18
|
*/
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.DefaultLogPrefixComposer = exports._logger_getPrefix = exports._logger_finalDate = exports._logger_timezoneOffset = exports.LogClient = void 0;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
const types_1 = require("./types");
|
|
22
|
+
class LogClient {
|
|
23
|
+
constructor() {
|
|
24
24
|
this.prefixComposer = exports.DefaultLogPrefixComposer;
|
|
25
|
-
this.filter =
|
|
25
|
+
this.filter = () => true;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
setComposer(logComposer) {
|
|
28
28
|
this.prefixComposer = logComposer;
|
|
29
|
-
}
|
|
30
|
-
|
|
29
|
+
}
|
|
30
|
+
setFilter(filter) {
|
|
31
31
|
this.filter = filter;
|
|
32
32
|
return this;
|
|
33
|
-
}
|
|
34
|
-
|
|
33
|
+
}
|
|
34
|
+
log(tag, level, bold, toLog) {
|
|
35
35
|
if (!this.filter(level, tag))
|
|
36
36
|
return;
|
|
37
37
|
this.logMessage(level, bold, this.prefixComposer(tag, level), toLog);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}());
|
|
38
|
+
}
|
|
39
|
+
}
|
|
41
40
|
exports.LogClient = LogClient;
|
|
42
41
|
exports._logger_timezoneOffset = new Date().getTimezoneOffset() * 60000; //offset in milliseconds
|
|
43
42
|
exports._logger_finalDate = new Date();
|
|
@@ -58,10 +57,10 @@ function _logger_getPrefix(level) {
|
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
59
|
exports._logger_getPrefix = _logger_getPrefix;
|
|
61
|
-
|
|
60
|
+
const DefaultLogPrefixComposer = (tag, level) => {
|
|
62
61
|
exports._logger_finalDate.setTime(Date.now() - exports._logger_timezoneOffset);
|
|
63
|
-
|
|
64
|
-
return
|
|
62
|
+
const date = exports._logger_finalDate.toISOString().replace(/T/, '_').replace(/Z/, '').substr(0, 23);
|
|
63
|
+
return ` ${date} ${_logger_getPrefix(level)} ${tag}: `;
|
|
65
64
|
};
|
|
66
65
|
exports.DefaultLogPrefixComposer = DefaultLogPrefixComposer;
|
|
67
66
|
//# sourceMappingURL=LogClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogClient.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"LogClient.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient.ts"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