@jfvilas/kwirth-common 0.3.67 → 0.3.69

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.
@@ -1,12 +1,4 @@
1
1
  import { InstanceMessage } from "./InstanceMessage";
2
- export declare enum InstanceConfigChannelEnum {
3
- NONE = "none",
4
- LOG = "log",
5
- METRICS = "metrics",
6
- AUDIT = "audit",
7
- ALARM = "alarm",
8
- ALERT = "alert"
9
- }
10
2
  export declare enum InstanceConfigObjectEnum {
11
3
  PODS = "pods",
12
4
  EVENTS = "events"
@@ -40,7 +32,6 @@ export interface InstanceConfig extends InstanceMessage {
40
32
  group: string;
41
33
  pod: string;
42
34
  container: string;
43
- reconnectKey?: string;
44
35
  data?: any;
45
36
  }
46
37
  export interface InstanceConfigResponse extends InstanceMessage {
@@ -1,15 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstanceConfigScopeEnum = exports.InstanceConfigViewEnum = exports.InstanceConfigObjectEnum = exports.InstanceConfigChannelEnum = void 0;
4
- var InstanceConfigChannelEnum;
5
- (function (InstanceConfigChannelEnum) {
6
- InstanceConfigChannelEnum["NONE"] = "none";
7
- InstanceConfigChannelEnum["LOG"] = "log";
8
- InstanceConfigChannelEnum["METRICS"] = "metrics";
9
- InstanceConfigChannelEnum["AUDIT"] = "audit";
10
- InstanceConfigChannelEnum["ALARM"] = "alarm";
11
- InstanceConfigChannelEnum["ALERT"] = "alert";
12
- })(InstanceConfigChannelEnum || (exports.InstanceConfigChannelEnum = InstanceConfigChannelEnum = {}));
3
+ exports.InstanceConfigScopeEnum = exports.InstanceConfigViewEnum = exports.InstanceConfigObjectEnum = void 0;
4
+ // export enum InstanceConfigChannelEnum {
5
+ // NONE = 'none',
6
+ // LOG = 'log',
7
+ // METRICS = 'metrics',
8
+ // AUDIT = 'audit',
9
+ // ALARM = 'alarm',
10
+ // ALERT = 'alert'
11
+ // }
13
12
  // export enum InstanceConfigActionEnum {
14
13
  // NONE = 'none',
15
14
  // START = 'start',
@@ -1,3 +1,11 @@
1
+ export declare enum InstanceMessageChannelEnum {
2
+ NONE = "none",
3
+ LOG = "log",
4
+ METRICS = "metrics",
5
+ AUDIT = "audit",
6
+ ALARM = "alarm",
7
+ ALERT = "alert"
8
+ }
1
9
  export declare enum InstanceMessageTypeEnum {
2
10
  DATA = "data",
3
11
  SIGNAL = "signal"
@@ -1,6 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstanceMessageFlowEnum = exports.InstanceMessageActionEnum = exports.InstanceMessageTypeEnum = void 0;
3
+ exports.InstanceMessageFlowEnum = exports.InstanceMessageActionEnum = exports.InstanceMessageTypeEnum = exports.InstanceMessageChannelEnum = void 0;
4
+ var InstanceMessageChannelEnum;
5
+ (function (InstanceMessageChannelEnum) {
6
+ InstanceMessageChannelEnum["NONE"] = "none";
7
+ InstanceMessageChannelEnum["LOG"] = "log";
8
+ InstanceMessageChannelEnum["METRICS"] = "metrics";
9
+ InstanceMessageChannelEnum["AUDIT"] = "audit";
10
+ InstanceMessageChannelEnum["ALARM"] = "alarm";
11
+ InstanceMessageChannelEnum["ALERT"] = "alert";
12
+ })(InstanceMessageChannelEnum || (exports.InstanceMessageChannelEnum = InstanceMessageChannelEnum = {}));
4
13
  var InstanceMessageTypeEnum;
5
14
  (function (InstanceMessageTypeEnum) {
6
15
  InstanceMessageTypeEnum["DATA"] = "data";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from './StreamMessage';
2
2
  export * from './InstanceMessage';
3
- export * from './AlarmMessage';
3
+ export * from './AlertMessage';
4
4
  export * from './LogMessage';
5
5
  export * from './MetricsMessage';
6
6
  export * from './SignalMessage';
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ limitations under the License.
31
31
  */
32
32
  __exportStar(require("./StreamMessage"), exports);
33
33
  __exportStar(require("./InstanceMessage"), exports);
34
- __exportStar(require("./AlarmMessage"), exports);
34
+ __exportStar(require("./AlertMessage"), exports);
35
35
  __exportStar(require("./LogMessage"), exports);
36
36
  __exportStar(require("./MetricsMessage"), exports);
37
37
  __exportStar(require("./SignalMessage"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jfvilas/kwirth-common",
3
- "version": "0.3.67",
3
+ "version": "0.3.69",
4
4
  "description": "Common interfaces for integrating applications with Kwirth",
5
5
  "scripts": {
6
6
  "build": "del .\\dist\\* /s /q && tsc"