@jfvilas/kwirth-common 0.3.18 → 0.3.19
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/dist/MetricsConfig.d.ts +2 -2
- package/dist/MetricsConfig.js +2 -2
- package/dist/MetricsMessage.d.ts +1 -1
- package/dist/ServiceConfig.d.ts +7 -7
- package/dist/ServiceConfig.js +7 -7
- package/dist/SignalMessage.d.ts +7 -1
- package/dist/SignalMessage.js +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/MetricsConfig.d.ts
CHANGED
package/dist/MetricsConfig.js
CHANGED
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MetricsConfigModeEnum = void 0;
|
|
4
4
|
var MetricsConfigModeEnum;
|
|
5
5
|
(function (MetricsConfigModeEnum) {
|
|
6
|
-
MetricsConfigModeEnum["SNAPSHOT"] = "
|
|
7
|
-
MetricsConfigModeEnum["STREAM"] = "
|
|
6
|
+
MetricsConfigModeEnum[MetricsConfigModeEnum["SNAPSHOT"] = 0] = "SNAPSHOT";
|
|
7
|
+
MetricsConfigModeEnum[MetricsConfigModeEnum["STREAM"] = 1] = "STREAM";
|
|
8
8
|
})(MetricsConfigModeEnum || (exports.MetricsConfigModeEnum = MetricsConfigModeEnum = {}));
|
package/dist/MetricsMessage.d.ts
CHANGED
package/dist/ServiceConfig.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare enum ServiceConfigChannelEnum {
|
|
2
|
-
UNDEFINED =
|
|
3
|
-
LOG =
|
|
4
|
-
METRICS =
|
|
2
|
+
UNDEFINED = 0,
|
|
3
|
+
LOG = 1,
|
|
4
|
+
METRICS = 2
|
|
5
5
|
}
|
|
6
6
|
export declare enum ServiceConfigActionEnum {
|
|
7
|
-
START =
|
|
8
|
-
STOP =
|
|
7
|
+
START = 0,
|
|
8
|
+
STOP = 1
|
|
9
9
|
}
|
|
10
10
|
export declare enum ServiceConfigFlowEnum {
|
|
11
|
-
REQUEST =
|
|
12
|
-
RESPONSE =
|
|
11
|
+
REQUEST = 0,
|
|
12
|
+
RESPONSE = 1
|
|
13
13
|
}
|
|
14
14
|
export interface ServiceConfig {
|
|
15
15
|
channel: ServiceConfigChannelEnum;
|
package/dist/ServiceConfig.js
CHANGED
|
@@ -3,17 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ServiceConfigFlowEnum = exports.ServiceConfigActionEnum = exports.ServiceConfigChannelEnum = void 0;
|
|
4
4
|
var ServiceConfigChannelEnum;
|
|
5
5
|
(function (ServiceConfigChannelEnum) {
|
|
6
|
-
ServiceConfigChannelEnum["UNDEFINED"] = "
|
|
7
|
-
ServiceConfigChannelEnum["LOG"] = "
|
|
8
|
-
ServiceConfigChannelEnum["METRICS"] = "
|
|
6
|
+
ServiceConfigChannelEnum[ServiceConfigChannelEnum["UNDEFINED"] = 0] = "UNDEFINED";
|
|
7
|
+
ServiceConfigChannelEnum[ServiceConfigChannelEnum["LOG"] = 1] = "LOG";
|
|
8
|
+
ServiceConfigChannelEnum[ServiceConfigChannelEnum["METRICS"] = 2] = "METRICS";
|
|
9
9
|
})(ServiceConfigChannelEnum || (exports.ServiceConfigChannelEnum = ServiceConfigChannelEnum = {}));
|
|
10
10
|
var ServiceConfigActionEnum;
|
|
11
11
|
(function (ServiceConfigActionEnum) {
|
|
12
|
-
ServiceConfigActionEnum["START"] = "
|
|
13
|
-
ServiceConfigActionEnum["STOP"] = "
|
|
12
|
+
ServiceConfigActionEnum[ServiceConfigActionEnum["START"] = 0] = "START";
|
|
13
|
+
ServiceConfigActionEnum[ServiceConfigActionEnum["STOP"] = 1] = "STOP";
|
|
14
14
|
})(ServiceConfigActionEnum || (exports.ServiceConfigActionEnum = ServiceConfigActionEnum = {}));
|
|
15
15
|
var ServiceConfigFlowEnum;
|
|
16
16
|
(function (ServiceConfigFlowEnum) {
|
|
17
|
-
ServiceConfigFlowEnum["REQUEST"] = "
|
|
18
|
-
ServiceConfigFlowEnum["RESPONSE"] = "
|
|
17
|
+
ServiceConfigFlowEnum[ServiceConfigFlowEnum["REQUEST"] = 0] = "REQUEST";
|
|
18
|
+
ServiceConfigFlowEnum[ServiceConfigFlowEnum["RESPONSE"] = 1] = "RESPONSE";
|
|
19
19
|
})(ServiceConfigFlowEnum || (exports.ServiceConfigFlowEnum = ServiceConfigFlowEnum = {}));
|
package/dist/SignalMessage.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { ServiceMessage } from './ServiceMessage';
|
|
2
|
-
export
|
|
2
|
+
export declare enum SignalMessageLevelEnum {
|
|
3
|
+
INFO = 0,
|
|
4
|
+
WARNING = 1,
|
|
5
|
+
ERROR = 2
|
|
6
|
+
}
|
|
7
|
+
export interface SignalMessage extends ServiceMessage {
|
|
3
8
|
timestamp?: Date;
|
|
9
|
+
level: SignalMessageLevelEnum;
|
|
4
10
|
text: string;
|
|
5
11
|
}
|
package/dist/SignalMessage.js
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SignalMessageLevelEnum = void 0;
|
|
4
|
+
var SignalMessageLevelEnum;
|
|
5
|
+
(function (SignalMessageLevelEnum) {
|
|
6
|
+
SignalMessageLevelEnum[SignalMessageLevelEnum["INFO"] = 0] = "INFO";
|
|
7
|
+
SignalMessageLevelEnum[SignalMessageLevelEnum["WARNING"] = 1] = "WARNING";
|
|
8
|
+
SignalMessageLevelEnum[SignalMessageLevelEnum["ERROR"] = 2] = "ERROR";
|
|
9
|
+
})(SignalMessageLevelEnum || (exports.SignalMessageLevelEnum = SignalMessageLevelEnum = {}));
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __exportStar(require("./StreamMessage"), exports);
|
|
|
33
33
|
__exportStar(require("./ServiceMessage"), exports);
|
|
34
34
|
__exportStar(require("./LogMessage"), exports);
|
|
35
35
|
__exportStar(require("./MetricsMessage"), exports);
|
|
36
|
+
__exportStar(require("./SignalMessage"), exports);
|
|
36
37
|
__exportStar(require("./ApiKey"), exports);
|
|
37
38
|
__exportStar(require("./AccessKey"), exports);
|
|
38
39
|
__exportStar(require("./KwirthData"), exports);
|