@intuitionrobotics/ts-common 0.45.0 → 0.45.1
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/consts/consts.js +17 -0
- package/consts/consts.js.map +1 -1
- package/core/application.js +17 -0
- package/core/application.js.map +1 -1
- package/core/debug-flags.js +17 -0
- package/core/debug-flags.js.map +1 -1
- package/core/dispatcher.js +17 -0
- package/core/dispatcher.js.map +1 -1
- package/core/error-handling.js +17 -0
- package/core/error-handling.js.map +1 -1
- package/core/exceptions.d.ts +3 -0
- package/core/exceptions.js +20 -0
- package/core/exceptions.js.map +1 -1
- package/core/logger/BeLogged.js +17 -0
- package/core/logger/BeLogged.js.map +1 -1
- package/core/logger/LogClient.js +17 -0
- package/core/logger/LogClient.js.map +1 -1
- package/core/logger/LogClient_BaseRotate.js +18 -0
- package/core/logger/LogClient_BaseRotate.js.map +1 -1
- package/core/logger/LogClient_Browser.js +17 -0
- package/core/logger/LogClient_Browser.js.map +1 -1
- package/core/logger/LogClient_Function.js +17 -0
- package/core/logger/LogClient_Function.js.map +1 -1
- package/core/logger/LogClient_MemBuffer.js +18 -0
- package/core/logger/LogClient_MemBuffer.js.map +1 -1
- package/core/logger/LogClient_Terminal.js +17 -0
- package/core/logger/LogClient_Terminal.js.map +1 -1
- package/core/logger/Logger.js +17 -0
- package/core/logger/Logger.js.map +1 -1
- package/core/logger/types.js +17 -0
- package/core/logger/types.js.map +1 -1
- package/core/logger/utils.js +20 -0
- package/core/logger/utils.js.map +1 -1
- package/core/module-manager.d.ts +3 -0
- package/core/module-manager.js +17 -0
- package/core/module-manager.js.map +1 -1
- package/core/module.d.ts +5 -6
- package/core/module.js +24 -17
- package/core/module.js.map +1 -1
- package/index.d.ts +35 -0
- package/index.js +63 -0
- package/index.js.map +1 -1
- package/modules/CliParamsModule.js +3 -3
- package/modules/CliParamsModule.js.map +1 -1
- package/package.json +1 -1
- package/permissions/permission-group.js +20 -4
- package/permissions/permission-group.js.map +1 -1
- package/testing/test-model.js +17 -0
- package/testing/test-model.js.map +1 -1
- package/ts-generics/array-params.js +17 -0
- package/ts-generics/array-params.js.map +1 -1
- package/ts-generics/omit-and-join.js +17 -0
- package/ts-generics/omit-and-join.js.map +1 -1
- package/utils/array-tools.js +17 -0
- package/utils/array-tools.js.map +1 -1
- package/utils/crypto-tools.js +17 -0
- package/utils/crypto-tools.js.map +1 -1
- package/utils/date-time-tools.d.ts +4 -1
- package/utils/date-time-tools.js +42 -3
- package/utils/date-time-tools.js.map +1 -1
- package/utils/filter-tools.js +17 -0
- package/utils/filter-tools.js.map +1 -1
- package/utils/hash-tools.js +17 -0
- package/utils/hash-tools.js.map +1 -1
- package/utils/merge-tools.js +22 -6
- package/utils/merge-tools.js.map +1 -1
- package/utils/object-tools.js +20 -3
- package/utils/object-tools.js.map +1 -1
- package/utils/queue.js +20 -3
- package/utils/queue.js.map +1 -1
- package/utils/random-tools.js +17 -0
- package/utils/random-tools.js.map +1 -1
- package/utils/string-tools.js +17 -0
- package/utils/string-tools.js.map +1 -1
- package/utils/tools.js +17 -0
- package/utils/tools.js.map +1 -1
- package/utils/types.js +17 -0
- package/utils/types.js.map +1 -1
- package/utils/version-tools.js +20 -3
- package/utils/version-tools.js.map +1 -1
- package/validator/validator.js +19 -5
- package/validator/validator.js.map +1 -1
- package/utils/date-manipulation-tools.d.ts +0 -4
- package/utils/date-manipulation-tools.js +0 -28
- package/utils/date-manipulation-tools.js.map +0 -1
package/consts/consts.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports._U = void 0;
|
|
4
21
|
exports._U = undefined;
|
package/consts/consts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../src/main/consts/consts.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../src/main/consts/consts.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEU,QAAA,EAAE,GAAG,SAAS,CAAC"}
|
package/core/application.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.Application = void 0;
|
|
4
21
|
const module_manager_1 = require("./module-manager");
|
package/core/application.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../src/main/core/application.ts"],"names":[],"mappings":";;;
|
|
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
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.DebugFlags = exports.DebugFlag = void 0;
|
|
4
21
|
const array_tools_1 = require("../utils/array-tools");
|
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":";;;
|
|
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;QAC9B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,MAAM,CAAC,MAAc;QACpB,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IACrC,CAAC;IAED,MAAM;QACL,OAAO,IAAI,CAAC,GAAG,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,MAAM,GAAG,IAAI;QACnB,IAAI,IAAI,CAAC,SAAS,EAAE,KAAK,MAAM;YAC9B,OAAO;QAER,IAAI,MAAM;YACT,IAAI,CAAC,OAAO,EAAE,CAAC;;YAEf,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAEO,OAAO;QACd,4BAAc,CAAC,UAAU,CAAC,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAChE,CAAC;IAEO,QAAQ;QACf,iCAAmB,CAAC,UAAU,CAAC,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACrE,CAAC;IAEM,SAAS;QACf,OAAO,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAChE,CAAC;CACD;AAtCD,8BAsCC;AAED,MAAa,UAAU;IAOtB;QAHS,kBAAa,GAA+B,EAAE,CAAC;QAC/C,qBAAgB,GAAa,EAAE,CAAC;IAGzC,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,GAAW;QACnC,aAAa;QACb,OAAO,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED,MAAM,CAAC,GAAG,CAAC,IAAe;QACzB,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC;IACnD,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,WAAmB,EAAE,MAAc;QAChD,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
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
20
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
21
|
return new (P || (P = Promise))(function (resolve, reject) {
|
package/core/dispatcher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispatcher.js","sourceRoot":"","sources":["../../src/main/core/dispatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
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
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.dispatch_onServerError = exports.ServerErrorSeverity_Ordinal = exports.ServerErrorSeverity = void 0;
|
|
4
21
|
const dispatcher_1 = require("./dispatcher");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-handling.js","sourceRoot":"","sources":["../../src/main/core/error-handling.ts"],"names":[],"mappings":";;;
|
|
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.d.ts
CHANGED
package/core/exceptions.js
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* Created by IR on 3/16/17.
|
|
21
|
+
*/
|
|
2
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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;
|
|
4
24
|
function isErrorOfType(e, _exceptionType) {
|
package/core/exceptions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exceptions.js","sourceRoot":"","sources":["../../src/main/core/exceptions.ts"],"names":[],"mappings":";;;
|
|
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,KAAK,CAAC;QACnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC,IAAI,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,CAAC,cAAwB,EAAW,EAAE;YACzD,OAAO,IAAI,CAAC,aAAa,KAAK,cAAc,CAAC,IAAI,CAAC;QACnD,CAAC,CAAA;IACF,CAAC;CACD;AAlBD,0CAkBC;AAED,MAAa,SACZ,SAAQ,eAAe;IAEvB,YAAY,OAAe,EAAE,KAAa;QACzC,KAAK,CAAC,SAAS,EAAE,OAAO,E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,EAAE,KAAK,CAAC,CAAC;IAC3C,CAAC;CACD;AAND,gDAMC"}
|
package/core/logger/BeLogged.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.BeLogged = void 0;
|
|
4
21
|
const array_tools_1 = require("../../utils/array-tools");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BeLogged.js","sourceRoot":"","sources":["../../../src/main/core/logger/BeLogged.ts"],"names":[],"mappings":";;;
|
|
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
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.DefaultLogPrefixComposer = exports._logger_getPrefix = exports._logger_finalDate = exports._logger_timezoneOffset = exports.LogClient = void 0;
|
|
4
21
|
const types_1 = require("./types");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogClient.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LogClient.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,mCAIiB;AAIjB,MAAsB,SAAS;IAA/B;QAES,mBAAc,GAAsB,gCAAwB,CAAC;QAC7D,WAAM,GAAc,GAAG,EAAE,CAAC,IAAI,CAAC;IAmBxC,CAAC;IAfO,WAAW,CAAC,WAA8B;QAChD,IAAI,CAAC,cAAc,GAAG,WAAW,CAAC;IACnC,CAAC;IAED,SAAS,CAAC,MAAiB;QAC1B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,GAAG,CAAC,GAAW,EAAE,KAAe,EAAE,IAAa,EAAE,KAAiB;QACxE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC;YAC3B,OAAO;QAER,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC;CACD;AAtBD,8BAsBC;AAEY,QAAA,sBAAsB,GAAW,IAAI,IAAI,EAAE,CAAC,iBAAiB,EAAE,GAAG,KAAK,CAAC,CAAC,wBAAwB;AACjG,QAAA,iBAAiB,GAAS,IAAI,IAAI,EAAE,CAAC;AAElD,SAAgB,iBAAiB,CAAC,KAAe;IAChD,QAAQ,KAAK,EAAE;QACd,KAAK,gBAAQ,CAAC,OAAO;YACpB,OAAO,KAAK,CAAC;QAEd,KAAK,gBAAQ,CAAC,KAAK;YAClB,OAAO,KAAK,CAAC;QAEd,KAAK,gBAAQ,CAAC,IAAI;YACjB,OAAO,KAAK,CAAC;QAEd,KAAK,gBAAQ,CAAC,OAAO;YACpB,OAAO,KAAK,CAAC;QAEd,KAAK,gBAAQ,CAAC,KAAK;YAClB,OAAO,KAAK,CAAC;QAEd;YACC,OAAO,KAAK,CAAC;KACd;AACF,CAAC;AApBD,8CAoBC;AAEM,MAAM,wBAAwB,GAAsB,CAAC,GAAW,EAAE,KAAe,EAAU,EAAE;IACnG,yBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,8BAAsB,CAAC,CAAC;IAC/D,MAAM,IAAI,GAAG,yBAAiB,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC9F,OAAO,KAAK,IAAI,IAAI,iBAAiB,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC;AAC1D,CAAC,CAAC;AAJW,QAAA,wBAAwB,4BAInC"}
|
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Permissions management system, define access level for each of
|
|
4
|
+
* your server apis, and restrict users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
2
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
21
|
exports.LogClient_BaseRotate = void 0;
|
|
4
22
|
const LogClient_1 = require("./LogClient");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogClient_BaseRotate.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_BaseRotate.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LogClient_BaseRotate.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_BaseRotate.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,2CAAsC;AAKtC,mCAA0D;AAI1D,MAAsB,oBACrB,SAAQ,qBAAS;IAUjB,YAAsB,IAAY,EAAE,UAAU,GAAG,EAAE,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI;QACzE,KAAK,EAAE,CAAC;QALC,eAAU,GAAG,CAAC,CAAC;QAMxB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC9B,CAAC;IAES,UAAU,CAAC,KAAe,EAAE,IAAa,EAAE,MAAc,EAAE,KAAiB;QACrF,MAAM,aAAa,GAAG,yCAAiC,CAAC,KAAK,CAAC,CAAC;QAC/D,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,KAAK,MAAM,aAAa,IAAI,aAAa,EAAE;YAC1C,MAAM,GAAG,GAAG,aAAa,GAAG,IAAI,CAAC;YACjC,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;YAC1B,IAAI,CAAC,UAAU,IAAI,GAAG,CAAC,MAAM,CAAC;SAC9B;IACF,CAAC;IAED,mBAAmB,CAAC,gBAAmC;QACtD,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,OAAO,IAAI,CAAC;IACb,CAAC;IAIO,MAAM;;QACb,IAAI,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,OAAO;YACjC,OAAO;QAER,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;YAC7C,IAAI,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;SAC5B;QAED,MAAA,IAAI,CAAC,gBAAgB,+CAArB,IAAI,EAAsB;QAC1B,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,OAAO,EAAE,CAAC;IAChB,CAAC;CAQD;AAxDD,oDAwDC"}
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.LogClient_Browser = void 0;
|
|
4
21
|
const types_1 = require("./types");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogClient_Browser.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_Browser.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LogClient_Browser.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_Browser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,mCAGiB;AACjB,2CAAsC;AAEtC,MAAM,uBACL,SAAQ,qBAAS;IAEjB,QAAQ,CAAC,KAAe,EAAE,IAAa;QACtC,IAAI,KAAK,CAAC;QACV,QAAQ,KAAK,EAAE;YACd,KAAK,gBAAQ,CAAC,OAAO;gBACpB,KAAK,GAAG,SAAS,CAAC;gBAClB,MAAM;YAEP,KAAK,gBAAQ,CAAC,KAAK;gBAClB,KAAK,GAAG,SAAS,CAAC;gBAClB,MAAM;YAEP,KAAK,gBAAQ,CAAC,IAAI;gBACjB,KAAK,GAAG,SAAS,CAAC;gBAClB,MAAM;YAEP,KAAK,gBAAQ,CAAC,OAAO;gBACpB,KAAK,GAAG,SAAS,CAAC;gBAClB,MAAM;YAEP,KAAK,gBAAQ,CAAC,KAAK;gBAClB,KAAK,GAAG,SAAS,CAAC;gBAClB,MAAM;SACP;QAED,OAAO,KAAK,IAAI,SAAS,CAAC;IAC3B,CAAC;IAES,UAAU,CAAC,KAAe,EAAE,IAAa,EAAE,MAAc,EAAE,KAAiB;QACrF,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACzC,KAAK,MAAM,KAAK,IAAI,KAAK,EAAE;YAC1B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;gBAC9B,OAAO,CAAC,GAAG,CAAC,KAAK,MAAM,GAAG,KAAK,EAAE,EAAE,UAAU,KAAK,EAAE,CAAC,CAAC;gBACtD,SAAQ;aACR;YAED,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;SACnB;IACF,CAAC;CACD;AAEY,QAAA,iBAAiB,GAAG,IAAI,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.LogClient_Function = void 0;
|
|
4
21
|
const LogClient_1 = require("./LogClient");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogClient_Function.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_Function.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LogClient_Function.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_Function.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;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users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
2
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
21
|
exports.LogClient_MemBuffer = void 0;
|
|
4
22
|
const LogClient_BaseRotate_1 = require("./LogClient_BaseRotate");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogClient_MemBuffer.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_MemBuffer.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LogClient_MemBuffer.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_MemBuffer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,iEAA4D;AAG5D,MAAa,mBACZ,SAAQ,2CAAoB;IAI5B,YAAY,IAAY,EAAE,UAAU,GAAG,EAAE,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI;QAC/D,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;QAHzB,YAAO,GAAa,CAAC,EAAE,CAAC,CAAC;IAIlC,CAAC;IAES,eAAe,CAAC,GAAW;QACpC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC;IACxB,CAAC;IAES,OAAO;IACjB,CAAC;IAES,YAAY,CAAC,SAAiB,EAAE,OAAe;QACxD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACjD,CAAC;IAES,OAAO;QAChB,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IACtB,CAAC;CACD;AAvBD,kDAuBC"}
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.LogClient_Terminal = exports.NoColor = void 0;
|
|
4
21
|
const types_1 = require("./types");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogClient_Terminal.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_Terminal.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LogClient_Terminal.js","sourceRoot":"","sources":["../../../src/main/core/logger/LogClient_Terminal.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,mCAGiB;AACjB,2CAAsC;AACtC,mCAGiB;AAEJ,QAAA,OAAO,GAAG,SAAS,CAAC;AAEjC,MAAM,wBACL,SAAQ,qBAAS;IAEjB,QAAQ,CAAC,KAAe,EAAE,IAAI,GAAG,KAAK;QACrC,IAAI,KAAK,CAAC;QACV,QAAQ,KAAK,EAAE;YACd,KAAK,gBAAQ,CAAC,OAAO;gBACpB,KAAK,GAAG,UAAU,CAAC;gBACnB,MAAM;YAEP,KAAK,gBAAQ,CAAC,KAAK;gBAClB,KAAK,GAAG,UAAU,CAAC;gBACnB,MAAM;YAEP,KAAK,gBAAQ,CAAC,IAAI;gBACjB,KAAK,GAAG,UAAU,CAAC;gBACnB,MAAM;YAEP,KAAK,gBAAQ,CAAC,OAAO;gBACpB,KAAK,GAAG,UAAU,CAAC;gBACnB,MAAM;YAEP,KAAK,gBAAQ,CAAC,KAAK;gBAClB,KAAK,GAAG,UAAU,CAAC;gBACnB,MAAM;SACP;QACD,OAAO,KAAK,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACxC,CAAC;IAES,UAAU,CAAC,KAAe,EAAE,IAAa,EAAE,MAAc,EAAE,KAAiB;QACrF,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACzC,MAAM,eAAe,GAAG,yCAAiC,CAAC,KAAK,CAAC,CAAC;QAEjE,OAAO,CAAC,GAAG,CAAC,+BAAuB,CAAC,KAAK,GAAG,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,eAAO,CAAC,CAAA;IAC1F,CAAC;CACD;AAGY,QAAA,kBAAkB,GAAG,IAAI,wBAAwB,EAAE,CAAC"}
|
package/core/logger/Logger.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.Logger = void 0;
|
|
4
21
|
const debug_flags_1 = require("../debug-flags");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../../src/main/core/logger/Logger.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../../src/main/core/logger/Logger.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,gDAGwB;AACxB,mCAIiB;AACjB,yCAAoC;AAEpC,MAAa,MAAM;IASlB,YAAmB,GAAY;QAFrB,aAAQ,GAAG,gBAAQ,CAAC,OAAO,CAAC;QAGrC,IAAI,CAAC,GAAG,GAAG,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAE3C,IAAI,CAAC,WAAW,GAAG,wBAAU,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACnD,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAClD,CAAC;IAED,WAAW,CAAC,QAAkB;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC1B,CAAC;IAES,MAAM,CAAC,GAAW;QAC3B,IAAI,CAAC,G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,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAEM,YAAY,CAAC,GAAG,KAAiB;QACvC,IAAI,CAAC,GAAG,CAAC,gBAAQ,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;IAEM,GAAG,CAAC,KAAe,EAAE,IAAa,EAAE,KAAiB;QAC3D,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC;YAC9B,OAAO;QAER,aAAa;QACb,mBAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IAChD,CAAC;IAEO,cAAc,CAAC,KAAe;QACrC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE;YAChC,OAAO;QAER,OAAO,uBAAe,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,uBAAe,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAChF,CAAC;;AA9EF,wBA+EC;AA7EuB,UAAG,GAAG,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC;AAGpC,uBAAgB,GAAG,IAAI,CAAC"}
|
package/core/logger/types.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.LogLevelOrdinal = exports.LogLevel = void 0;
|
|
4
21
|
var LogLevel;
|
package/core/logger/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/main/core/logger/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/main/core/logger/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,IAAY,QAMX;AAND,WAAY,QAAQ;IACnB,+BAAmB,CAAA;IACnB,2BAAiB,CAAA;IACjB,yBAAgB,CAAA;IAChB,+BAAmB,CAAA;IACnB,2BAAiB,CAAA;AAClB,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAEY,QAAA,eAAe,GAAG;IAC9B,QAAQ,CAAC,OAAO;IAChB,QAAQ,CAAC,KAAK;IACd,QAAQ,CAAC,IAAI;IACb,QAAQ,CAAC,OAAO;IAChB,QAAQ,CAAC,KAAK;CACd,CAAC"}
|
package/core/logger/utils.js
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports._logger_indentNewLineBy = exports._logger_logException = exports._logger_convertLogParamsToStrings = exports._logger_logObject = void 0;
|
|
21
|
+
/**
|
|
22
|
+
* Created by IR on 3/16/17.
|
|
23
|
+
*/
|
|
4
24
|
const array_tools_1 = require("../../utils/array-tools");
|
|
5
25
|
const tools_1 = require("../../utils/tools");
|
|
6
26
|
function _logger_logObject(instance) {
|
package/core/logger/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/main/core/logger/utils.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/main/core/logger/utils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH;;GAEG;AAEH,yDAA4D;AAC5D,6CAA8C;AAG9C,SAAgB,iBAAiB,CAAC,QAAgB;IACjD,OAAO,mBAAW,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AACpC,CAAC;AAFD,8CAEC;AAED,SAAgB,iCAAiC,CAAC,MAAkB;IACnE,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;QACzB,IAAI,OAAO,KAAK,KAAK,WAAW;YAC/B,OAAO,WAAW,CAAC;QAEpB,IAAI,KAAK,KAAK,IAAI;YACjB,OAAO,MAAM,CAAC;QAEf,IAAI,OAAO,KAAK,KAAK,QAAQ;YAC5B,OAAO,KAAK,CAAC;QAEd,IAAI,OAAO,KAAK,KAAK,QAAQ;YAC5B,OAAO,GAAG,KAAK,EAAE,CAAC;QAEnB,aAAa;QACb,IAAI,KAAK,CAAC,KAAK;YACd,OAAO,oBAAoB,CAAC,KAAc,CAAC,CAAA;QAE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CAAC,KAAK,CAAC;IACxC,IAAI,KAAK,EAAE;QACV,IAAI,UAAU,GAAG,oBAAoB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACtD,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,UAAU,KAAK,CAAC,OAAO,EAAE,EAAE,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;QAC/E,OAAO,IAAI,GAAG,UAAU,EAAE,CAAC;KAC3B;IAED,OAAO,OAAO,CAAC;AAChB,CAAC;AAlCD,oDAkCC;AAED,SAAgB,uBAAuB,CAAC,UAAkB,EAAE,KAAa;IACxE,OAAO,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,UAAU,EAAE,CAAC,CAAA;AAC5D,CAAC;AAFD,0DAEC"}
|
package/core/module-manager.d.ts
CHANGED
package/core/module-manager.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ts-common is the basic building blocks of our typescript projects
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
2
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
20
|
exports.ModuleManager = exports.moduleResolver = void 0;
|
|
4
21
|
const dispatcher_1 = require("./dispatcher");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-manager.js","sourceRoot":"","sources":["../../src/main/core/module-manager.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"module-manager.js","sourceRoot":"","sources":["../../src/main/core/module-manager.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAMH,6CAAwC;AACxC,6CAAwD;AACxD,4CAAuC;AACvC,sDAG8B;AAG9B,MAAM,QAAQ,GAAa,EAAE,CAAC;AAE9B,SAAgB,cAAc;IAC7B,OAAO,QAAQ,CAAC;AACjB,CAAC;AAFD,wCAEC;AAED,MAAa,aACZ,SAAQ,eAAM;IAMd,oCAAoC;IACpC;QACC,KAAK,EAAE,CAAC;QALC,YAAO,GAAa,QAAQ,CAAC;QAMtC,IAAI,aAAa,CAAC,QAAQ;YACzB,MAAM,IAAI,uCAA0B,CAAC,4CAA4C,CAAC,CAAC;QAEpF,aAAa,CAAC,QAAQ,GAAG,IAAI,CAAC;QAC9B,uBAAU,CAAC,eAAe,GAAG,cAAc,CAAC;IAC7C,CAAC;IAED,aAAa,CAAI,MAAgC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAmB,CAAC;IACtD,CAAC;IAED,SAAS,CAAI,UAAkB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,UAAU,CAAiB,CAAC;IACrF,CAAC;IAEM,SAAS,CAAC,MAAc;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,UAAU,CAAC,GAAG,OAAiB;QACrC,OAAO,CAAC,MAAM,CAAC,CAAC,KAAe,EAAE,MAAc,EAAE,EAAE;YAClD,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;gBAC1B,4BAAc,CAAC,KAAK,EAAE,MAAM,CAAC,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leManager } from "./module-manager";
|
|
2
5
|
import { Logger } from "./logger/Logger";
|
|
3
6
|
import { ValidatorTypeResolver } from "../validator/validator";
|
|
@@ -11,20 +14,16 @@ export declare abstract class Module<Config = any> extends Logger {
|
|
|
11
14
|
protected timeoutMap: {
|
|
12
15
|
[k: string]: number;
|
|
13
16
|
};
|
|
14
|
-
constructor(
|
|
15
|
-
constructor(name: string, tag?: string);
|
|
17
|
+
constructor(name: string);
|
|
16
18
|
private deduceName;
|
|
17
19
|
debounce(handler: TimerHandler, key: string, ms?: number): void;
|
|
18
20
|
throttle(handler: TimerHandler, key: string, ms?: number): void;
|
|
19
21
|
throttleV2(handler: TimerHandler, key: string, ms: number, force?: boolean): void;
|
|
20
22
|
setConfigValidator(validator: ValidatorTypeResolver<Config>): void;
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated The method has been deprecated in favour of {@link setConfig}
|
|
23
|
-
*/
|
|
24
23
|
setDefaultConfig(config: Partial<Config>): void;
|
|
25
24
|
getName(): string;
|
|
26
25
|
setName(name: string): void;
|
|
27
|
-
setConfig(config:
|
|
26
|
+
setConfig(config: Config): void;
|
|
28
27
|
setManager(manager: ModuleManager): void;
|
|
29
28
|
protected runAsync: (label: string, toCall: () => Promise<any>) => void;
|
|
30
29
|
protected init(): void;
|