@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.86 → 0.0.1-alpha.88
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/openapi-k8s-toolkit.es.js +157 -9
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +157 -9
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/ArrayOfObjectsToKeyValues.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/utils.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/utils.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/utils.d.ts +13 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +42 -26
- package/dist/types/localTypes/bff/table.d.ts +1 -0
- package/package.json +1 -1
package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type TEnrichedTableProps = {
|
|
|
9
9
|
pathToNavigate?: string;
|
|
10
10
|
recordKeysForNavigation?: string[];
|
|
11
11
|
recordKeysForNavigationSecond?: string[];
|
|
12
|
+
recordKeysForNavigationThird?: string[];
|
|
12
13
|
additionalPrinterColumnsUndefinedValues?: TAdditionalPrinterColumnsUndefinedValues;
|
|
13
14
|
additionalPrinterColumnsTrimLengths?: TAdditionalPrinterColumnsTrimLengths;
|
|
14
15
|
additionalPrinterColumnsColWidths?: TAdditionalPrinterColumnsColWidths;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ArrayOfObjectsToKeyValues';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatLocalDate: (iso: string) => string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const getResult: ({ valuePrepared, criteriaSuccess, criteriaError, valueToCompareSuccess, valueToCompareError, successText, errorText, fallbackText, }: {
|
|
2
|
+
valuePrepared: string;
|
|
3
|
+
criteriaSuccess: 'equals' | 'notEquals';
|
|
4
|
+
criteriaError: 'equals' | 'notEquals';
|
|
5
|
+
valueToCompareSuccess: unknown[];
|
|
6
|
+
valueToCompareError: unknown[];
|
|
7
|
+
successText: string;
|
|
8
|
+
errorText: string;
|
|
9
|
+
fallbackText: string;
|
|
10
|
+
}) => {
|
|
11
|
+
type: 'success' | 'danger' | 'warning';
|
|
12
|
+
text: string;
|
|
13
|
+
};
|
|
@@ -6,51 +6,52 @@ import { TContentCardProps, TSpacerProps } from '../../atoms';
|
|
|
6
6
|
import { TManageableSidebarWithDataProviderProps, TEnrichedTableProviderProps } from '../../molecules';
|
|
7
7
|
export type TDynamicComponentsAppTypeMap = {
|
|
8
8
|
DefaultDiv: {
|
|
9
|
-
id: number;
|
|
9
|
+
id: number | string;
|
|
10
10
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
11
11
|
antdText: {
|
|
12
|
-
id: number;
|
|
12
|
+
id: number | string;
|
|
13
13
|
text: string;
|
|
14
14
|
} & Omit<TextProps, 'id' | 'children'>;
|
|
15
15
|
antdLink: {
|
|
16
|
-
id: number;
|
|
16
|
+
id: number | string;
|
|
17
17
|
text: string;
|
|
18
18
|
href: string;
|
|
19
19
|
} & Omit<LinkProps, 'id' | 'children' | 'href'>;
|
|
20
20
|
antdCard: {
|
|
21
|
-
id: number;
|
|
21
|
+
id: number | string;
|
|
22
22
|
} & Omit<CardProps, 'id'>;
|
|
23
23
|
antdFlex: {
|
|
24
|
-
id: number;
|
|
24
|
+
id: number | string;
|
|
25
25
|
} & Omit<FlexProps, 'id' | 'children'>;
|
|
26
26
|
antdRow: {
|
|
27
|
-
id: number;
|
|
27
|
+
id: number | string;
|
|
28
28
|
} & Omit<RowProps, 'id' | 'children'>;
|
|
29
29
|
antdCol: {
|
|
30
|
-
id: number;
|
|
30
|
+
id: number | string;
|
|
31
31
|
} & Omit<ColProps, 'id' | 'children'>;
|
|
32
32
|
antdTabs: {
|
|
33
|
-
id: number;
|
|
33
|
+
id: number | string;
|
|
34
34
|
} & Omit<TabsProps, 'id' | 'children'>;
|
|
35
35
|
antdButton: {
|
|
36
|
-
id: number;
|
|
36
|
+
id: number | string;
|
|
37
37
|
text: string;
|
|
38
38
|
} & Omit<ButtonProps, 'id' | 'children'>;
|
|
39
39
|
partsOfUrl: {
|
|
40
|
-
id: number;
|
|
40
|
+
id: number | string;
|
|
41
41
|
text: string;
|
|
42
42
|
};
|
|
43
43
|
multiQuery: {
|
|
44
|
-
id: number;
|
|
44
|
+
id: number | string;
|
|
45
45
|
text: string;
|
|
46
46
|
};
|
|
47
47
|
parsedText: {
|
|
48
|
-
id: number;
|
|
48
|
+
id: number | string;
|
|
49
49
|
text: string;
|
|
50
|
+
formatter?: 'timestamp';
|
|
50
51
|
style?: CSSProperties;
|
|
51
52
|
};
|
|
52
53
|
ProjectInfoCard: {
|
|
53
|
-
id: number;
|
|
54
|
+
id: number | string;
|
|
54
55
|
clusterNamePartOfUrl: string;
|
|
55
56
|
namespacePartOfUrl: string;
|
|
56
57
|
baseApiGroup: string;
|
|
@@ -63,7 +64,7 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
63
64
|
baseprefix?: string;
|
|
64
65
|
};
|
|
65
66
|
MarketplaceCard: {
|
|
66
|
-
id: number;
|
|
67
|
+
id: number | string;
|
|
67
68
|
clusterNamePartOfUrl: string;
|
|
68
69
|
namespacePartOfUrl: string;
|
|
69
70
|
baseApiGroup: string;
|
|
@@ -74,24 +75,27 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
74
75
|
standalone?: boolean;
|
|
75
76
|
};
|
|
76
77
|
ContentCard: {
|
|
77
|
-
id: number;
|
|
78
|
+
id: number | string;
|
|
78
79
|
} & TContentCardProps;
|
|
79
80
|
Spacer: {
|
|
80
|
-
id: number;
|
|
81
|
+
id: number | string;
|
|
81
82
|
} & TSpacerProps;
|
|
82
83
|
StatusText: {
|
|
83
|
-
id: number;
|
|
84
|
+
id: number | string;
|
|
84
85
|
value: string;
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
criteriaSuccess: 'equals' | 'notEquals';
|
|
87
|
+
criteriaError: 'equals' | 'notEquals';
|
|
88
|
+
valueToCompareSuccess: unknown[];
|
|
89
|
+
valueToCompareError: unknown[];
|
|
87
90
|
successText: string;
|
|
88
91
|
errorText: string;
|
|
92
|
+
fallbackText: string;
|
|
89
93
|
} & Omit<TextProps, 'id' | 'children'>;
|
|
90
94
|
SidebarProvider: {
|
|
91
|
-
id: number;
|
|
95
|
+
id: number | string;
|
|
92
96
|
} & Omit<TManageableSidebarWithDataProviderProps, 'replaceValues'>;
|
|
93
97
|
EnrichedTable: {
|
|
94
|
-
id: number;
|
|
98
|
+
id: number | string;
|
|
95
99
|
fetchUrl: string;
|
|
96
100
|
pathToItems: string[];
|
|
97
101
|
clusterNamePartOfUrl: string;
|
|
@@ -106,27 +110,27 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
106
110
|
};
|
|
107
111
|
} & Omit<TEnrichedTableProviderProps, 'tableMappingsReplaceValues' | 'cluster' | 'theme' | 'tableProps' | 'dataItems' | 'withoutControls'>;
|
|
108
112
|
PodTerminal: {
|
|
109
|
-
id: number;
|
|
113
|
+
id: number | string;
|
|
110
114
|
cluster: string;
|
|
111
115
|
namespace: string;
|
|
112
116
|
podName: string;
|
|
113
117
|
substractHeight?: number;
|
|
114
118
|
};
|
|
115
119
|
NodeTerminal: {
|
|
116
|
-
id: number;
|
|
120
|
+
id: number | string;
|
|
117
121
|
cluster: string;
|
|
118
122
|
nodeName: string;
|
|
119
123
|
substractHeight?: number;
|
|
120
124
|
};
|
|
121
125
|
PodLogs: {
|
|
122
|
-
id: number;
|
|
126
|
+
id: number | string;
|
|
123
127
|
cluster: string;
|
|
124
128
|
namespace: string;
|
|
125
129
|
podName: string;
|
|
126
130
|
substractHeight?: number;
|
|
127
131
|
};
|
|
128
132
|
YamlEditorSingleton: {
|
|
129
|
-
id: number;
|
|
133
|
+
id: number | string;
|
|
130
134
|
cluster: string;
|
|
131
135
|
isNameSpaced: boolean;
|
|
132
136
|
type: 'builtin' | 'apis';
|
|
@@ -137,7 +141,19 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
137
141
|
substractHeight?: number;
|
|
138
142
|
};
|
|
139
143
|
VisibilityContainer: {
|
|
140
|
-
id: number;
|
|
144
|
+
id: number | string;
|
|
141
145
|
value: string;
|
|
142
146
|
};
|
|
147
|
+
ArrayOfObjectsToKeyValues: {
|
|
148
|
+
id: number | string;
|
|
149
|
+
reqIndex: string;
|
|
150
|
+
jsonPathToArray: string;
|
|
151
|
+
keyFieldName: string;
|
|
152
|
+
valueFieldName: string;
|
|
153
|
+
separator?: string;
|
|
154
|
+
containerStyle?: CSSProperties;
|
|
155
|
+
rowStyle?: CSSProperties;
|
|
156
|
+
keyFieldStyle?: CSSProperties;
|
|
157
|
+
valueFieldStyle?: CSSProperties;
|
|
158
|
+
};
|
|
143
159
|
};
|
package/package.json
CHANGED