@jfvilas/kwirth-common 0.4.18 → 0.4.20
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/Channel.d.ts +24 -4
- package/dist/Channel.js +6 -6
- package/dist/Global.d.ts +7 -0
- package/dist/Global.js +2 -0
- package/dist/KwirthData.d.ts +0 -13
- package/dist/KwirthData.js +13 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/Channel.d.ts
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
declare enum
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare enum ClusterTypeEnum {
|
|
2
|
+
KUBERNETES = "kubernetes",
|
|
3
|
+
DOCKER = "docker"
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
interface BackChannelData {
|
|
6
|
+
id: string;
|
|
7
|
+
routable: boolean;
|
|
8
|
+
pauseable: boolean;
|
|
9
|
+
modifyable: boolean;
|
|
10
|
+
reconnectable: boolean;
|
|
11
|
+
sources: string[];
|
|
12
|
+
metrics: boolean;
|
|
13
|
+
}
|
|
14
|
+
interface KwirthData {
|
|
15
|
+
version: string;
|
|
16
|
+
lastVersion: string;
|
|
17
|
+
clusterName: string;
|
|
18
|
+
clusterType: ClusterTypeEnum;
|
|
19
|
+
inCluster: boolean;
|
|
20
|
+
namespace: string;
|
|
21
|
+
deployment: string;
|
|
22
|
+
metricsInterval: number;
|
|
23
|
+
channels: BackChannelData[];
|
|
24
|
+
}
|
|
25
|
+
export { ClusterTypeEnum, KwirthData, BackChannelData };
|
package/dist/Channel.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})(
|
|
3
|
+
exports.ClusterTypeEnum = void 0;
|
|
4
|
+
var ClusterTypeEnum;
|
|
5
|
+
(function (ClusterTypeEnum) {
|
|
6
|
+
ClusterTypeEnum["KUBERNETES"] = "kubernetes";
|
|
7
|
+
ClusterTypeEnum["DOCKER"] = "docker";
|
|
8
|
+
})(ClusterTypeEnum || (exports.ClusterTypeEnum = ClusterTypeEnum = {}));
|
package/dist/Global.d.ts
ADDED
package/dist/Global.js
ADDED
package/dist/KwirthData.d.ts
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum ClusterTypeEnum {
|
|
2
|
-
KUBERNETES = "kubernetes",
|
|
3
|
-
DOCKER = "docker"
|
|
4
|
-
}
|
|
5
|
-
export interface KwirthData {
|
|
6
|
-
version: string;
|
|
7
|
-
lastVersion: string;
|
|
8
|
-
clusterName: string;
|
|
9
|
-
clusterType: ClusterTypeEnum;
|
|
10
|
-
inCluster: boolean;
|
|
11
|
-
namespace: string;
|
|
12
|
-
deployment: string;
|
|
13
|
-
}
|
package/dist/KwirthData.js
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
// export enum ClusterTypeEnum {
|
|
3
|
+
// KUBERNETES = 'kubernetes',
|
|
4
|
+
// DOCKER = 'docker'
|
|
5
|
+
// }
|
|
6
|
+
// export interface KwirthData {
|
|
7
|
+
// version: string
|
|
8
|
+
// lastVersion: string
|
|
9
|
+
// clusterName: string
|
|
10
|
+
// clusterType: ClusterTypeEnum
|
|
11
|
+
// inCluster: boolean
|
|
12
|
+
// namespace: string
|
|
13
|
+
// deployment: string
|
|
14
|
+
// }
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -46,6 +46,7 @@ __exportStar(require("./RouteMessage"), exports);
|
|
|
46
46
|
__exportStar(require("./SignalMessage"), exports);
|
|
47
47
|
__exportStar(require("./ApiKey"), exports);
|
|
48
48
|
__exportStar(require("./AccessKey"), exports);
|
|
49
|
-
__exportStar(require("./
|
|
49
|
+
__exportStar(require("./Global"), exports);
|
|
50
|
+
//export * from './KwirthData'
|
|
50
51
|
__exportStar(require("./LogConfig"), exports);
|
|
51
52
|
__exportStar(require("./Version"), exports);
|