@kwirthmagnify/kwirth-common 0.5.0 → 0.5.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/dist/FrontChannel.d.ts +37 -0
- package/dist/FrontChannel.js +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare enum ENotifyLevel {
|
|
2
|
+
INFO = "info",
|
|
3
|
+
ERROR = "error",
|
|
4
|
+
WARNING = "warning",
|
|
5
|
+
SUCCESS = "success"
|
|
6
|
+
}
|
|
7
|
+
declare enum EChannelRefreshAction {
|
|
8
|
+
NONE = 0,
|
|
9
|
+
REFRESH = 1,
|
|
10
|
+
STOP = 2
|
|
11
|
+
}
|
|
12
|
+
interface IChannelMessageAction {
|
|
13
|
+
action: EChannelRefreshAction;
|
|
14
|
+
data?: any;
|
|
15
|
+
}
|
|
16
|
+
interface IChannelSettings {
|
|
17
|
+
channelId: string;
|
|
18
|
+
channelConfig: any;
|
|
19
|
+
channelInstanceConfig: any;
|
|
20
|
+
}
|
|
21
|
+
interface IChannelRequirements {
|
|
22
|
+
setup: boolean;
|
|
23
|
+
settings: boolean;
|
|
24
|
+
frontChannels: boolean;
|
|
25
|
+
metrics: boolean;
|
|
26
|
+
notifier: boolean;
|
|
27
|
+
notifications: boolean;
|
|
28
|
+
clusterUrl: boolean;
|
|
29
|
+
clusterInfo: boolean;
|
|
30
|
+
accessString: boolean;
|
|
31
|
+
webSocket: boolean;
|
|
32
|
+
userSettings: boolean;
|
|
33
|
+
palette: boolean;
|
|
34
|
+
exit: boolean;
|
|
35
|
+
}
|
|
36
|
+
export { ENotifyLevel, EChannelRefreshAction };
|
|
37
|
+
export type { IChannelMessageAction, IChannelSettings, IChannelRequirements };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EChannelRefreshAction = exports.ENotifyLevel = void 0;
|
|
4
|
+
var ENotifyLevel;
|
|
5
|
+
(function (ENotifyLevel) {
|
|
6
|
+
ENotifyLevel["INFO"] = "info";
|
|
7
|
+
ENotifyLevel["ERROR"] = "error";
|
|
8
|
+
ENotifyLevel["WARNING"] = "warning";
|
|
9
|
+
ENotifyLevel["SUCCESS"] = "success";
|
|
10
|
+
})(ENotifyLevel || (exports.ENotifyLevel = ENotifyLevel = {}));
|
|
11
|
+
var EChannelRefreshAction;
|
|
12
|
+
(function (EChannelRefreshAction) {
|
|
13
|
+
EChannelRefreshAction[EChannelRefreshAction["NONE"] = 0] = "NONE";
|
|
14
|
+
EChannelRefreshAction[EChannelRefreshAction["REFRESH"] = 1] = "REFRESH";
|
|
15
|
+
EChannelRefreshAction[EChannelRefreshAction["STOP"] = 2] = "STOP";
|
|
16
|
+
})(EChannelRefreshAction || (exports.EChannelRefreshAction = EChannelRefreshAction = {}));
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED