@jfvilas/plugin-kwirth-frontend 0.13.2 → 0.13.4
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/index.d.ts +34 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Entity } from '@backstage/catalog-model';
|
|
3
|
-
import { ClusterValidPods } from '@jfvilas/plugin-kwirth-common';
|
|
3
|
+
import { ClusterValidPods, IStatusLine, IBackendInfo } from '@jfvilas/plugin-kwirth-common';
|
|
4
|
+
import { InstanceConfigScopeEnum, SignalMessageLevelEnum } from '@jfvilas/kwirth-common';
|
|
4
5
|
|
|
5
6
|
declare enum ErrorType {
|
|
6
7
|
NO_PODS = 0,
|
|
@@ -11,16 +12,44 @@ declare const ComponentNotFound: (props: {
|
|
|
11
12
|
entity: Entity;
|
|
12
13
|
}) => React.JSX.Element;
|
|
13
14
|
|
|
14
|
-
interface IProps {
|
|
15
|
+
interface IProps$3 {
|
|
15
16
|
onSelect: (namespaces: string[], podNames: string[], containerNames: string[]) => void;
|
|
16
17
|
cluster: ClusterValidPods;
|
|
17
18
|
selectedNamespaces: string[];
|
|
18
19
|
selectedPodNames: string[];
|
|
19
20
|
selectedContainerNames: string[];
|
|
21
|
+
scope: InstanceConfigScopeEnum;
|
|
20
22
|
disabled: boolean;
|
|
21
23
|
}
|
|
22
|
-
declare const ObjectSelector: (props: IProps) => React.JSX.Element;
|
|
24
|
+
declare const ObjectSelector: (props: IProps$3) => React.JSX.Element;
|
|
25
|
+
|
|
26
|
+
interface IProps$2 {
|
|
27
|
+
resources: ClusterValidPods[];
|
|
28
|
+
selectedClusterName: string;
|
|
29
|
+
onSelect: (name: string | undefined) => void;
|
|
30
|
+
}
|
|
31
|
+
declare const ClusterList: (props: IProps$2) => React.JSX.Element;
|
|
32
|
+
|
|
33
|
+
interface IProps$1 {
|
|
34
|
+
level: SignalMessageLevelEnum;
|
|
35
|
+
statusMessages: IStatusLine[];
|
|
36
|
+
onClear: (level: SignalMessageLevelEnum) => void;
|
|
37
|
+
onClose: () => void;
|
|
38
|
+
}
|
|
39
|
+
declare const StatusLog: (props: IProps$1) => React.JSX.Element;
|
|
40
|
+
|
|
41
|
+
interface IProps {
|
|
42
|
+
backendVersion: string;
|
|
43
|
+
latestVersions?: IBackendInfo;
|
|
44
|
+
ownVersion: string;
|
|
45
|
+
}
|
|
46
|
+
declare const KwirthNews: React.FC<IProps>;
|
|
47
|
+
|
|
48
|
+
declare const ShowError: (props: {
|
|
49
|
+
message: string;
|
|
50
|
+
onClose: () => void;
|
|
51
|
+
}) => React.JSX.Element;
|
|
23
52
|
|
|
24
|
-
declare const VERSION = "0.
|
|
53
|
+
declare const VERSION = "0.13.2";
|
|
25
54
|
|
|
26
|
-
export { ComponentNotFound, ErrorType, ObjectSelector, VERSION };
|
|
55
|
+
export { ClusterList, ComponentNotFound, ErrorType, KwirthNews, ObjectSelector, ShowError, StatusLog, VERSION };
|