@jfvilas/kwirth-common 0.4.4 → 0.4.6

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/ApiKey.d.ts CHANGED
@@ -3,4 +3,5 @@ export interface ApiKey {
3
3
  accessKey: AccessKey;
4
4
  description: string;
5
5
  expire: number;
6
+ days: number;
6
7
  }
@@ -17,15 +17,18 @@ export declare enum InstanceConfigViewEnum {
17
17
  }
18
18
  export declare enum InstanceConfigScopeEnum {
19
19
  NONE = "none",
20
- FILTER = "filter",
21
- VIEW = "view",
22
- RESTART = "restart",
23
20
  API = "api",
24
21
  CLUSTER = "cluster",
22
+ FILTER = "filter",
23
+ VIEW = "view",
25
24
  SNAPSHOT = "snapshot",
26
25
  STREAM = "stream",
27
26
  CREATE = "create",
28
- SUBSCRIBE = "subscribe"
27
+ SUBSCRIBE = "subscribe",
28
+ GET = "get",
29
+ EXECUTE = "execute",
30
+ SHELL = "shell",
31
+ RESTART = "restart"
29
32
  }
30
33
  export interface InstanceConfig extends InstanceMessage {
31
34
  objects: InstanceConfigObjectEnum;
@@ -1,34 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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
- // }
12
- // export enum InstanceConfigActionEnum {
13
- // NONE = 'none',
14
- // START = 'start',
15
- // STOP = 'stop',
16
- // PAUSE = 'pause',
17
- // CONTINUE = 'continue',
18
- // MODIFY = 'modify',
19
- // PING = 'ping',
20
- // RECONNECT = 'reconnect'
21
- // }
22
4
  var InstanceConfigObjectEnum;
23
5
  (function (InstanceConfigObjectEnum) {
24
6
  InstanceConfigObjectEnum["PODS"] = "pods";
25
7
  InstanceConfigObjectEnum["EVENTS"] = "events";
26
8
  })(InstanceConfigObjectEnum || (exports.InstanceConfigObjectEnum = InstanceConfigObjectEnum = {}));
27
- // export enum InstanceConfigFlowEnum {
28
- // REQUEST = 'request',
29
- // RESPONSE = 'response',
30
- // UNSOLICITED = 'unsolicited'
31
- // }
32
9
  var InstanceConfigViewEnum;
33
10
  (function (InstanceConfigViewEnum) {
34
11
  InstanceConfigViewEnum["NONE"] = "none";
@@ -41,16 +18,20 @@ var InstanceConfigViewEnum;
41
18
  var InstanceConfigScopeEnum;
42
19
  (function (InstanceConfigScopeEnum) {
43
20
  InstanceConfigScopeEnum["NONE"] = "none";
21
+ InstanceConfigScopeEnum["API"] = "api";
22
+ InstanceConfigScopeEnum["CLUSTER"] = "cluster";
44
23
  // LOG
45
24
  InstanceConfigScopeEnum["FILTER"] = "filter";
46
25
  InstanceConfigScopeEnum["VIEW"] = "view";
47
- InstanceConfigScopeEnum["RESTART"] = "restart";
48
- InstanceConfigScopeEnum["API"] = "api";
49
- InstanceConfigScopeEnum["CLUSTER"] = "cluster";
50
26
  // METRICS
51
27
  InstanceConfigScopeEnum["SNAPSHOT"] = "snapshot";
52
28
  InstanceConfigScopeEnum["STREAM"] = "stream";
53
29
  // ALARM
54
30
  InstanceConfigScopeEnum["CREATE"] = "create";
55
31
  InstanceConfigScopeEnum["SUBSCRIBE"] = "subscribe";
32
+ // OPS
33
+ InstanceConfigScopeEnum["GET"] = "get";
34
+ InstanceConfigScopeEnum["EXECUTE"] = "execute";
35
+ InstanceConfigScopeEnum["SHELL"] = "shell";
36
+ InstanceConfigScopeEnum["RESTART"] = "restart";
56
37
  })(InstanceConfigScopeEnum || (exports.InstanceConfigScopeEnum = InstanceConfigScopeEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jfvilas/kwirth-common",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "Common interfaces for integrating applications with Kwirth",
5
5
  "scripts": {
6
6
  "build": "del .\\dist\\* /s /q && tsc"