@devtron-labs/devtron-fe-common-lib 0.0.86-beta-11 → 0.0.86-beta-13
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/Common/AppStatus/constants.d.ts +0 -20
- package/dist/Common/AppStatus/index.d.ts +1 -0
- package/dist/Common/Constants.d.ts +19 -0
- package/dist/Common/Helper.d.ts +8 -0
- package/dist/Common/Pagination/index.d.ts +1 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
- package/dist/Common/RJSF/utils.d.ts +1 -2
- package/dist/Common/index.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +14 -0
- package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +11 -0
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/index.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +36 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +11 -0
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DetectBottom.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +6 -0
- package/dist/Shared/Components/CICDHistory/constants.d.ts +45 -0
- package/dist/Shared/Components/CICDHistory/index.d.ts +17 -0
- package/dist/Shared/Components/CICDHistory/service.d.ts +28 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +590 -0
- package/dist/Shared/Components/CICDHistory/utils.d.ts +4 -0
- package/dist/Shared/Components/Error/ErrorBar.d.ts +4 -0
- package/dist/Shared/Components/Error/index.d.ts +2 -0
- package/dist/Shared/Components/Error/types.d.ts +9 -0
- package/dist/Shared/Components/Error/utils.d.ts +3 -0
- package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +4 -0
- package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +9 -0
- package/dist/Shared/Components/GitCommitInfoGeneric/index.d.ts +1 -0
- package/dist/Shared/Components/GitCommitInfoGeneric/types.d.ts +11 -0
- package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +5 -0
- package/dist/Shared/Components/index.d.ts +3 -0
- package/dist/Shared/Helpers.d.ts +6 -1
- package/dist/Shared/Providers/ImageSelectionUtility/types.d.ts +0 -1
- package/dist/Shared/Store/IndexStore.d.ts +48 -0
- package/dist/Shared/Store/index.d.ts +1 -0
- package/dist/Shared/constants.d.ts +300 -0
- package/dist/Shared/index.d.ts +1 -1
- package/dist/Shared/types.d.ts +200 -46
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-63690942.js → cssMode-5004d38f.js} +1 -1
- package/dist/{freemarker2-4657380b.js → freemarker2-1d2e8d90.js} +1 -1
- package/dist/{handlebars-0d0838c4.js → handlebars-86d35dcf.js} +1 -1
- package/dist/{html-ff8407ad.js → html-0c18e415.js} +1 -1
- package/dist/{htmlMode-e63db415.js → htmlMode-5f2d98fa.js} +1 -1
- package/dist/{index-39e6bb08.js → index-e062c82b.js} +68256 -63235
- package/dist/index.js +400 -324
- package/dist/{javascript-ab8e2820.js → javascript-668e6f91.js} +1 -1
- package/dist/{jsonMode-2c2057e8.js → jsonMode-a6653af5.js} +1 -1
- package/dist/{liquid-cae6f65f.js → liquid-b577c168.js} +1 -1
- package/dist/{mdx-eba4aa9c.js → mdx-0f320c15.js} +1 -1
- package/dist/{python-5f3e6280.js → python-76e9dacb.js} +1 -1
- package/dist/{razor-adf762e5.js → razor-46967fab.js} +1 -1
- package/dist/{tsMode-732221cc.js → tsMode-d547b63c.js} +1 -1
- package/dist/{typescript-cf9a41a8.js → typescript-9ef9ed62.js} +1 -1
- package/dist/{xml-f9472d4f.js → xml-f97bde48.js} +1 -1
- package/dist/{yaml-743d4408.js → yaml-67215b3f.js} +1 -1
- package/package.json +17 -15
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AppDetails, AppType, EnvDetails, Node, PodMetaData, iNode } from '../types';
|
|
2
|
+
|
|
3
|
+
export declare function getiNodesByRootNodeWithChildNodes(_nodes: Array<Node>, rootNodes: Array<iNode>, podMetadata?: Array<PodMetaData>): Array<iNode>;
|
|
4
|
+
export declare const reduceKindStatus: (aggregatedStatus: string, newStatus: string) => "healthy" | "progressing" | "degraded";
|
|
5
|
+
export declare function getiNodesByKindWithChildNodes(_nodes: Array<Node>, _kind: string): Array<iNode>;
|
|
6
|
+
export declare function getPodsRootParentNameAndStatus(_nodes: Array<Node>): Array<[string, string]>;
|
|
7
|
+
export declare const getPodsForRootNodeName: (_rootNode: string, _treeNodes: Array<Node>) => Array<iNode>;
|
|
8
|
+
export declare const IndexStore: {
|
|
9
|
+
setEnvDetails: (envType: string, appId: number, envId: number) => void;
|
|
10
|
+
getEnvDetails: () => EnvDetails;
|
|
11
|
+
getEnvDetailsObservable: () => import('rxjs').Observable<EnvDetails>;
|
|
12
|
+
publishAppDetails: (data: AppDetails, appType: AppType) => void;
|
|
13
|
+
getAppDetails: () => AppDetails;
|
|
14
|
+
getAppDetailsObservable: () => import('rxjs').Observable<AppDetails>;
|
|
15
|
+
getAppDetailsNodes: () => Node[];
|
|
16
|
+
getAppDetailsNodesObservable: () => import('rxjs').Observable<Node[]>;
|
|
17
|
+
getAppDetailsFilteredNodes: () => Node[];
|
|
18
|
+
getAppDetailsNodesFilteredObservable: () => import('rxjs').Observable<Node[]>;
|
|
19
|
+
getiNodesByKind: (_kind: string) => iNode[];
|
|
20
|
+
getNodesByKind: (_kind: string) => Node[];
|
|
21
|
+
getMetaDataForPod: (_name: string) => PodMetaData;
|
|
22
|
+
getPodMetaData: () => PodMetaData[];
|
|
23
|
+
getPodsForRootNode: (rootNode: string) => Array<iNode>;
|
|
24
|
+
getAllPodNames: () => string[];
|
|
25
|
+
getPodsRootParentNameAndStatus: () => Array<[
|
|
26
|
+
string,
|
|
27
|
+
string
|
|
28
|
+
]>;
|
|
29
|
+
getAllContainersForPod: (_name: string) => string[];
|
|
30
|
+
getAllContainers: () => {
|
|
31
|
+
containers: any[];
|
|
32
|
+
pods: PodMetaData[];
|
|
33
|
+
};
|
|
34
|
+
getAllNewContainers: () => {
|
|
35
|
+
containers: any[];
|
|
36
|
+
pods: PodMetaData[];
|
|
37
|
+
};
|
|
38
|
+
getAllOldContainers: () => {
|
|
39
|
+
containers: any[];
|
|
40
|
+
pods: PodMetaData[];
|
|
41
|
+
};
|
|
42
|
+
getAllPods: () => PodMetaData[];
|
|
43
|
+
getAllNewPods: () => PodMetaData[];
|
|
44
|
+
getAllOldPods: () => PodMetaData[];
|
|
45
|
+
getPodForAContainer: (_c: string) => any;
|
|
46
|
+
updateFilterType: (filterType: string) => void;
|
|
47
|
+
updateFilterSearch: (searchString: string) => void;
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IndexStore';
|
|
@@ -43,3 +43,303 @@ export declare enum DeploymentWithConfigType {
|
|
|
43
43
|
LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG",
|
|
44
44
|
SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG"
|
|
45
45
|
}
|
|
46
|
+
export declare enum TIMELINE_STATUS {
|
|
47
|
+
DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED",
|
|
48
|
+
GIT_COMMIT = "GIT_COMMIT",
|
|
49
|
+
GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED",
|
|
50
|
+
ARGOCD_SYNC = "ARGOCD_SYNC",
|
|
51
|
+
ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED",
|
|
52
|
+
KUBECTL_APPLY = "KUBECTL_APPLY",
|
|
53
|
+
KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED",
|
|
54
|
+
KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED",
|
|
55
|
+
HEALTHY = "HEALTHY",
|
|
56
|
+
APP_HEALTH = "APP_HEALTH",
|
|
57
|
+
DEPLOYMENT_FAILED = "FAILED",
|
|
58
|
+
FETCH_TIMED_OUT = "TIMED_OUT",
|
|
59
|
+
UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS",
|
|
60
|
+
DEGRADED = "DEGRADED",
|
|
61
|
+
DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED",
|
|
62
|
+
ABORTED = "ABORTED",
|
|
63
|
+
INPROGRESS = "INPROGRESS",
|
|
64
|
+
HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED",
|
|
65
|
+
HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO",
|
|
66
|
+
HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED"
|
|
67
|
+
}
|
|
68
|
+
export declare const EMPTY_STATE_STATUS: {
|
|
69
|
+
DATA_NOT_AVAILABLE: string;
|
|
70
|
+
API_TOKEN: {
|
|
71
|
+
TITLE: string;
|
|
72
|
+
SUBTITLE: string;
|
|
73
|
+
};
|
|
74
|
+
ARTIFACTS_EMPTY_STATE_TEXTS: {
|
|
75
|
+
NoFilesFound: string;
|
|
76
|
+
BlobStorageNotConfigured: string;
|
|
77
|
+
StoreFiles: string;
|
|
78
|
+
ConfigureBlobStorage: string;
|
|
79
|
+
NoFilesGenerated: string;
|
|
80
|
+
NoArtifactsGenerated: string;
|
|
81
|
+
NoArtifactsError: string;
|
|
82
|
+
FailedToFetchArtifacts: string;
|
|
83
|
+
FailedToFetchArtifactsError: string;
|
|
84
|
+
NoArtifactsFound: string;
|
|
85
|
+
NoArtifactsFoundError: string;
|
|
86
|
+
};
|
|
87
|
+
CI_BUILD_HISTORY_PIPELINE_TRIGGER: {
|
|
88
|
+
TITLE: string;
|
|
89
|
+
SUBTITLE: string;
|
|
90
|
+
};
|
|
91
|
+
CI_BUILD_HISTORY_LINKED_PIPELINE: {
|
|
92
|
+
TITLE: string;
|
|
93
|
+
SUBTITLE: string;
|
|
94
|
+
};
|
|
95
|
+
CI_BUILD_HISTORY_NO_PIPELINE: {
|
|
96
|
+
TITLE: string;
|
|
97
|
+
SUBTITLE: string;
|
|
98
|
+
};
|
|
99
|
+
CI_DEATILS_NO_VULNERABILITY_FOUND: {
|
|
100
|
+
TITLE: string;
|
|
101
|
+
SUBTITLE: string;
|
|
102
|
+
};
|
|
103
|
+
CI_DETAILS_IMAGE_SCANNED_DISABLED: string;
|
|
104
|
+
CI_DETAILS_IMAGE_NOT_SCANNED: {
|
|
105
|
+
TITLE: string;
|
|
106
|
+
SUBTITLE: string;
|
|
107
|
+
};
|
|
108
|
+
CD_DETAILS_NO_ENVIRONMENT: {
|
|
109
|
+
TITLE: string;
|
|
110
|
+
SUBTITLE: string;
|
|
111
|
+
};
|
|
112
|
+
CD_DETAILS_NO_DEPLOYMENT: {
|
|
113
|
+
TITLE: string;
|
|
114
|
+
SUBTITLE: string;
|
|
115
|
+
};
|
|
116
|
+
CHART: {
|
|
117
|
+
NO_SOURCE_TITLE: string;
|
|
118
|
+
NO_CHART_FOUND: string;
|
|
119
|
+
};
|
|
120
|
+
CHART_DEPLOYMENT_HISTORY: {
|
|
121
|
+
SUBTITLE: string;
|
|
122
|
+
};
|
|
123
|
+
CHART_GROUP_DEPLOYMENT: {
|
|
124
|
+
TITLE: string;
|
|
125
|
+
SUBTITLE: string;
|
|
126
|
+
};
|
|
127
|
+
DEPLOYMENT_DETAILS_SETPS_FAILED: {
|
|
128
|
+
TITLE: string;
|
|
129
|
+
SUBTITLE: string;
|
|
130
|
+
};
|
|
131
|
+
DEPLOYMENT_DETAILS_SETPS_PROGRESSING: {
|
|
132
|
+
TITLE: string;
|
|
133
|
+
SUBTITLE: string;
|
|
134
|
+
};
|
|
135
|
+
DEVTRON_APP_DEPLOYMENT_HISTORY_SOURCE_CODE: {
|
|
136
|
+
SUBTITLE: string;
|
|
137
|
+
};
|
|
138
|
+
DEPLOYMENT_HISTORY_CONFIG_LIST: {
|
|
139
|
+
SUBTITLE: string;
|
|
140
|
+
};
|
|
141
|
+
GENERATE_API_TOKEN: {
|
|
142
|
+
TITLE: string;
|
|
143
|
+
SUBTITLE: string;
|
|
144
|
+
};
|
|
145
|
+
TRIGGER_URL: {
|
|
146
|
+
TITLE: string;
|
|
147
|
+
SUBTITLE: string;
|
|
148
|
+
};
|
|
149
|
+
CD_EMPTY_STATE: {
|
|
150
|
+
TITLE: string;
|
|
151
|
+
SUBTITLE: string;
|
|
152
|
+
};
|
|
153
|
+
CI_PROGRESS_VIEW: {
|
|
154
|
+
TITLE: string;
|
|
155
|
+
SUBTITLE: string;
|
|
156
|
+
};
|
|
157
|
+
RENDER_EMPTY_STATE: {
|
|
158
|
+
TITILE: string;
|
|
159
|
+
SUBTITLE: string;
|
|
160
|
+
};
|
|
161
|
+
RENDER_NO_ENVIORNMENT_STATE: {
|
|
162
|
+
TITLE: string;
|
|
163
|
+
SUBTITLE: string;
|
|
164
|
+
};
|
|
165
|
+
RENDER_SELECT_ENVIRONMENT_VIEW: {
|
|
166
|
+
TITLE: string;
|
|
167
|
+
SUBTITLE: string;
|
|
168
|
+
};
|
|
169
|
+
SAVED_VALUES_EMPTY_STATE: {
|
|
170
|
+
TITLE: string;
|
|
171
|
+
SUBTITLE: string;
|
|
172
|
+
};
|
|
173
|
+
LOADING_CLUSTER: {
|
|
174
|
+
TITLE: string;
|
|
175
|
+
SUBTITLE: string;
|
|
176
|
+
};
|
|
177
|
+
NO_MATCHING_RESULT: {
|
|
178
|
+
TITLE: string;
|
|
179
|
+
SUBTITLE: string;
|
|
180
|
+
};
|
|
181
|
+
CLUSTER_NODE_EMPTY_STATE: {
|
|
182
|
+
TITLE: string;
|
|
183
|
+
SUBTITLE: string;
|
|
184
|
+
};
|
|
185
|
+
CHART_EMPTY_STATE: {
|
|
186
|
+
TITLE: string;
|
|
187
|
+
SUBTITLE: string;
|
|
188
|
+
};
|
|
189
|
+
CHART_VALUES_GUIT_VIEW: {
|
|
190
|
+
SUBTITLE: string;
|
|
191
|
+
};
|
|
192
|
+
DEVTRON_STACK_MANAGER: {
|
|
193
|
+
TITLE: string;
|
|
194
|
+
SUBTITLE: string;
|
|
195
|
+
};
|
|
196
|
+
NO_GROUPS: {
|
|
197
|
+
TITLE: string;
|
|
198
|
+
SUBTITLE: string;
|
|
199
|
+
};
|
|
200
|
+
NO_USER: {
|
|
201
|
+
TITLE: string;
|
|
202
|
+
SUBTITLE: string;
|
|
203
|
+
};
|
|
204
|
+
RENDER_LIST: {
|
|
205
|
+
SUBTITLE: string;
|
|
206
|
+
};
|
|
207
|
+
CUSTOM_CHART_LIST: {
|
|
208
|
+
TITLE: string;
|
|
209
|
+
};
|
|
210
|
+
BULK_ACTION_EDITS: {
|
|
211
|
+
TITLE: string;
|
|
212
|
+
SUBTITLE: string;
|
|
213
|
+
};
|
|
214
|
+
SECURITY_SCANS: {
|
|
215
|
+
TITLE: string;
|
|
216
|
+
SUBTITLE: string;
|
|
217
|
+
};
|
|
218
|
+
NOTIFICATION_TAB: {
|
|
219
|
+
TITLE: string;
|
|
220
|
+
SUBTITL: string;
|
|
221
|
+
};
|
|
222
|
+
CONFIGURATION_TAB: {
|
|
223
|
+
TITLE: string;
|
|
224
|
+
};
|
|
225
|
+
EXTERNAL_LINK_COMPONENT: {
|
|
226
|
+
TITLE: string;
|
|
227
|
+
SUBTITLE: string;
|
|
228
|
+
};
|
|
229
|
+
CD_MATERIAL: {
|
|
230
|
+
TITLE: string;
|
|
231
|
+
};
|
|
232
|
+
CI_DETAILS_NOT_FOUND: {
|
|
233
|
+
TITLE: string;
|
|
234
|
+
SUBTITLE: string;
|
|
235
|
+
};
|
|
236
|
+
TRIGGER_NOT_FOUND: {
|
|
237
|
+
TITLE: string;
|
|
238
|
+
SUBTITLE: string;
|
|
239
|
+
};
|
|
240
|
+
OVERVIEW: {
|
|
241
|
+
DEPLOYMENT_TITLE: string;
|
|
242
|
+
DEPLOYMENT_SUB_TITLE: string;
|
|
243
|
+
APP_DESCRIPTION: string;
|
|
244
|
+
JOB_DESCRIPTION: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
export declare const DEPLOYMENT_HISTORY_CONFIGURATION_LIST_MAP: {
|
|
248
|
+
DEPLOYMENT_TEMPLATE: {
|
|
249
|
+
DISPLAY_NAME: string;
|
|
250
|
+
VALUE: string;
|
|
251
|
+
};
|
|
252
|
+
PIPELINE_STRATEGY: {
|
|
253
|
+
DISPLAY_NAME: string;
|
|
254
|
+
VALUE: string;
|
|
255
|
+
};
|
|
256
|
+
CONFIGMAP: {
|
|
257
|
+
DISPLAY_NAME: string;
|
|
258
|
+
VALUE: string;
|
|
259
|
+
};
|
|
260
|
+
SECRET: {
|
|
261
|
+
DISPLAY_NAME: string;
|
|
262
|
+
VALUE: string;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
export declare const EXTERNAL_TYPES: {
|
|
266
|
+
[x: string]: {
|
|
267
|
+
'': string;
|
|
268
|
+
KubernetesSecret: string;
|
|
269
|
+
AWSSecretsManager: string;
|
|
270
|
+
AWSSystemManager: string;
|
|
271
|
+
HashiCorpVault: string;
|
|
272
|
+
ESO_HashiCorpVault: string;
|
|
273
|
+
ESO_AWSSecretsManager: string;
|
|
274
|
+
ESO_GoogleSecretsManager: string;
|
|
275
|
+
ESO_AzureSecretsManager: string;
|
|
276
|
+
KubernetesConfigMap?: undefined;
|
|
277
|
+
} | {
|
|
278
|
+
'': string;
|
|
279
|
+
KubernetesConfigMap: string;
|
|
280
|
+
KubernetesSecret?: undefined;
|
|
281
|
+
AWSSecretsManager?: undefined;
|
|
282
|
+
AWSSystemManager?: undefined;
|
|
283
|
+
HashiCorpVault?: undefined;
|
|
284
|
+
ESO_HashiCorpVault?: undefined;
|
|
285
|
+
ESO_AWSSecretsManager?: undefined;
|
|
286
|
+
ESO_GoogleSecretsManager?: undefined;
|
|
287
|
+
ESO_AzureSecretsManager?: undefined;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
export declare const DEPLOYMENT_STATUS: {
|
|
291
|
+
readonly SUCCEEDED: "succeeded";
|
|
292
|
+
readonly HEALTHY: "healthy";
|
|
293
|
+
readonly FAILED: "failed";
|
|
294
|
+
readonly TIMED_OUT: "timed_out";
|
|
295
|
+
readonly UNABLE_TO_FETCH: "unable_to_fetch";
|
|
296
|
+
readonly INPROGRESS: "inprogress";
|
|
297
|
+
readonly PROGRESSING: "progressing";
|
|
298
|
+
readonly STARTING: "starting";
|
|
299
|
+
readonly INITIATING: "initiating";
|
|
300
|
+
readonly SUPERSEDED: "superseded";
|
|
301
|
+
readonly QUEUED: "queued";
|
|
302
|
+
readonly UNKNOWN: "unknown";
|
|
303
|
+
readonly CHECKING: "checking";
|
|
304
|
+
};
|
|
305
|
+
export declare const statusIcon: {
|
|
306
|
+
failed: string;
|
|
307
|
+
queued: string;
|
|
308
|
+
suspended: string;
|
|
309
|
+
starting: string;
|
|
310
|
+
initiating: string;
|
|
311
|
+
unknown: string;
|
|
312
|
+
degraded: string;
|
|
313
|
+
healthy: string;
|
|
314
|
+
notdeployed: string;
|
|
315
|
+
missing: string;
|
|
316
|
+
progressing: string;
|
|
317
|
+
deploymentinitiated: string;
|
|
318
|
+
hibernating: string;
|
|
319
|
+
succeeded: string;
|
|
320
|
+
timedout: string;
|
|
321
|
+
unabletofetch: string;
|
|
322
|
+
};
|
|
323
|
+
export declare const statusColor: {
|
|
324
|
+
suspended: string;
|
|
325
|
+
unknown: string;
|
|
326
|
+
queued: string;
|
|
327
|
+
degraded: string;
|
|
328
|
+
healthy: string;
|
|
329
|
+
notdeployed: string;
|
|
330
|
+
missing: string;
|
|
331
|
+
progressing: string;
|
|
332
|
+
initiating: string;
|
|
333
|
+
starting: string;
|
|
334
|
+
succeeded: string;
|
|
335
|
+
running: string;
|
|
336
|
+
failed: string;
|
|
337
|
+
error: string;
|
|
338
|
+
cancelled: string;
|
|
339
|
+
aborted: string;
|
|
340
|
+
timedout: string;
|
|
341
|
+
unabletofetch: string;
|
|
342
|
+
hibernating: string;
|
|
343
|
+
};
|
|
344
|
+
export declare const APP_STATUS_HEADERS: string[];
|
|
345
|
+
export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
|
package/dist/Shared/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './Components';
|
|
2
2
|
export * from './validations';
|
|
3
3
|
export * from './Helpers';
|
|
4
|
-
export * from './constants';
|
|
5
4
|
export * from './types';
|
|
6
5
|
export * from './Providers';
|
|
7
6
|
export * from './constants';
|
|
7
|
+
export * from './Store';
|
|
8
8
|
export * from './Hooks';
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,6 +1,187 @@
|
|
|
1
1
|
import { PatchOperationType } from './constants';
|
|
2
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType } from '../Common';
|
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes } from '../Common';
|
|
3
3
|
|
|
4
|
+
export declare enum EnvType {
|
|
5
|
+
CHART = "helm_charts",
|
|
6
|
+
APPLICATION = "apps"
|
|
7
|
+
}
|
|
8
|
+
export interface EnvDetails {
|
|
9
|
+
envType: EnvType;
|
|
10
|
+
envId: number;
|
|
11
|
+
appId: number;
|
|
12
|
+
}
|
|
13
|
+
interface OtherEnvironment {
|
|
14
|
+
environmentId: number;
|
|
15
|
+
environmentName: string;
|
|
16
|
+
appMetrics: boolean;
|
|
17
|
+
infraMetrics: boolean;
|
|
18
|
+
prod: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface PodMetaData {
|
|
21
|
+
containers: Array<string>;
|
|
22
|
+
initContainers: any;
|
|
23
|
+
ephemeralContainers: any;
|
|
24
|
+
isNew: boolean;
|
|
25
|
+
name: string;
|
|
26
|
+
uid: string;
|
|
27
|
+
}
|
|
28
|
+
export interface Info {
|
|
29
|
+
value: string;
|
|
30
|
+
name: string;
|
|
31
|
+
}
|
|
32
|
+
export interface Health {
|
|
33
|
+
status: string;
|
|
34
|
+
message?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface TargetLabel {
|
|
37
|
+
'app.kubernetes.io/instance': string;
|
|
38
|
+
'app.kubernetes.io/name': string;
|
|
39
|
+
}
|
|
40
|
+
export interface TargetLabels {
|
|
41
|
+
targetLabel: TargetLabel;
|
|
42
|
+
}
|
|
43
|
+
export interface NetworkingInfo {
|
|
44
|
+
targetLabels: TargetLabels;
|
|
45
|
+
}
|
|
46
|
+
export declare enum Nodes {
|
|
47
|
+
Service = "Service",
|
|
48
|
+
Alertmanager = "Alertmanager",
|
|
49
|
+
PodSecurity = "PodSecurityPolicy",
|
|
50
|
+
ConfigMap = "ConfigMap",
|
|
51
|
+
ServiceAccount = "ServiceAccount",
|
|
52
|
+
ClusterRoleBinding = "ClusterRoleBinding",
|
|
53
|
+
RoleBinding = "RoleBinding",
|
|
54
|
+
ClusterRole = "ClusterRole",
|
|
55
|
+
Role = "Role",
|
|
56
|
+
Prometheus = "Prometheus",
|
|
57
|
+
ServiceMonitor = "ServiceMonitor",
|
|
58
|
+
Deployment = "Deployment",
|
|
59
|
+
MutatingWebhookConfiguration = "MutatingWebhookConfiguration",
|
|
60
|
+
DaemonSet = "DaemonSet",
|
|
61
|
+
Secret = "Secret",
|
|
62
|
+
ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration",
|
|
63
|
+
Pod = "Pod",
|
|
64
|
+
Ingress = "Ingress",
|
|
65
|
+
ReplicaSet = "ReplicaSet",
|
|
66
|
+
Endpoints = "Endpoints",
|
|
67
|
+
Cluster = "ClusterRoleBinding",
|
|
68
|
+
PodSecurityPolicy = "PodSecurityPolicy",
|
|
69
|
+
CronJob = "CronJob",
|
|
70
|
+
Job = "Job",
|
|
71
|
+
ReplicationController = "ReplicationController",
|
|
72
|
+
StatefulSet = "StatefulSet",
|
|
73
|
+
Rollout = "Rollout",
|
|
74
|
+
PersistentVolumeClaim = "PersistentVolumeClaim",
|
|
75
|
+
PersistentVolume = "PersistentVolume",
|
|
76
|
+
Containers = "Containers",
|
|
77
|
+
InitContainers = "InitContainers",
|
|
78
|
+
EndpointSlice = "EndpointSlice",
|
|
79
|
+
NetworkPolicy = "NetworkPolicy",
|
|
80
|
+
StorageClass = "StorageClass",
|
|
81
|
+
VolumeSnapshot = "VolumeSnapshot",
|
|
82
|
+
VolumeSnapshotContent = "VolumeSnapshotContent",
|
|
83
|
+
VolumeSnapshotClass = "VolumeSnapshotClass",
|
|
84
|
+
PodDisruptionBudget = "PodDisruptionBudget",
|
|
85
|
+
Event = "Event",
|
|
86
|
+
Namespace = "Namespace",
|
|
87
|
+
Overview = "Overview"
|
|
88
|
+
}
|
|
89
|
+
export type NodeType = keyof typeof Nodes;
|
|
90
|
+
export interface Node {
|
|
91
|
+
createdAt: Date;
|
|
92
|
+
health: Health;
|
|
93
|
+
kind: NodeType;
|
|
94
|
+
name: string;
|
|
95
|
+
namespace: string;
|
|
96
|
+
networkingInfo: NetworkingInfo;
|
|
97
|
+
resourceVersion: string;
|
|
98
|
+
uid: string;
|
|
99
|
+
version: string;
|
|
100
|
+
parentRefs: Array<Node>;
|
|
101
|
+
group: string;
|
|
102
|
+
isSelected: boolean;
|
|
103
|
+
info: Info[];
|
|
104
|
+
port: number;
|
|
105
|
+
canBeHibernated: boolean;
|
|
106
|
+
isHibernated: boolean;
|
|
107
|
+
}
|
|
108
|
+
export interface iNodes extends Array<iNode> {
|
|
109
|
+
}
|
|
110
|
+
export interface iNode extends Node {
|
|
111
|
+
childNodes: iNodes;
|
|
112
|
+
type: NodeType;
|
|
113
|
+
status: string;
|
|
114
|
+
}
|
|
115
|
+
export interface ResourceTree {
|
|
116
|
+
conditions: any;
|
|
117
|
+
newGenerationReplicaSet: string;
|
|
118
|
+
nodes: Array<Node>;
|
|
119
|
+
podMetadata: Array<PodMetaData>;
|
|
120
|
+
status: string;
|
|
121
|
+
resourcesSyncResult?: Record<string, string>;
|
|
122
|
+
}
|
|
123
|
+
export declare enum AppType {
|
|
124
|
+
DEVTRON_APP = "devtron_app",
|
|
125
|
+
DEVTRON_HELM_CHART = "devtron_helm_chart",
|
|
126
|
+
EXTERNAL_HELM_CHART = "external_helm_chart",
|
|
127
|
+
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
128
|
+
}
|
|
129
|
+
export interface HelmReleaseStatus {
|
|
130
|
+
status: string;
|
|
131
|
+
message: string;
|
|
132
|
+
description: string;
|
|
133
|
+
}
|
|
134
|
+
interface MaterialInfo {
|
|
135
|
+
author: string;
|
|
136
|
+
branch: string;
|
|
137
|
+
message: string;
|
|
138
|
+
modifiedTime: string;
|
|
139
|
+
revision: string;
|
|
140
|
+
url: string;
|
|
141
|
+
webhookData: string;
|
|
142
|
+
}
|
|
143
|
+
export interface AppDetails {
|
|
144
|
+
appId?: number;
|
|
145
|
+
appName: string;
|
|
146
|
+
appStoreAppName?: string;
|
|
147
|
+
appStoreAppVersion?: string;
|
|
148
|
+
appStoreChartId?: number;
|
|
149
|
+
appStoreChartName?: string;
|
|
150
|
+
appStoreInstalledAppVersionId?: number;
|
|
151
|
+
ciArtifactId?: number;
|
|
152
|
+
deprecated?: false;
|
|
153
|
+
environmentId?: number;
|
|
154
|
+
environmentName: string;
|
|
155
|
+
installedAppId?: number;
|
|
156
|
+
instanceDetail?: null;
|
|
157
|
+
k8sVersion?: string;
|
|
158
|
+
lastDeployedBy?: string;
|
|
159
|
+
lastDeployedTime: string;
|
|
160
|
+
namespace: string;
|
|
161
|
+
resourceTree: ResourceTree;
|
|
162
|
+
materialInfo?: MaterialInfo[];
|
|
163
|
+
releaseVersion?: string;
|
|
164
|
+
dataSource?: string;
|
|
165
|
+
lastDeployedPipeline?: string;
|
|
166
|
+
otherEnvironment?: OtherEnvironment[];
|
|
167
|
+
projectName?: string;
|
|
168
|
+
appType?: AppType;
|
|
169
|
+
helmReleaseStatus?: HelmReleaseStatus;
|
|
170
|
+
clusterId?: number;
|
|
171
|
+
notes?: string;
|
|
172
|
+
deploymentAppType?: DeploymentAppTypes;
|
|
173
|
+
ipsAccessProvided?: boolean;
|
|
174
|
+
externalCi?: boolean;
|
|
175
|
+
clusterName?: string;
|
|
176
|
+
dockerRegistryId?: string;
|
|
177
|
+
deploymentAppDeleteRequest?: boolean;
|
|
178
|
+
userApprovalConfig?: string;
|
|
179
|
+
isVirtualEnvironment?: boolean;
|
|
180
|
+
imageTag?: string;
|
|
181
|
+
helmPackageName?: string;
|
|
182
|
+
appStatus?: string;
|
|
183
|
+
chartAvatar?: string;
|
|
184
|
+
}
|
|
4
185
|
export declare enum RegistryType {
|
|
5
186
|
GIT = "git",
|
|
6
187
|
GITHUB = "github",
|
|
@@ -169,7 +350,8 @@ export declare enum ResourceKindType {
|
|
|
169
350
|
job = "job",
|
|
170
351
|
cluster = "cluster",
|
|
171
352
|
release = "release",
|
|
172
|
-
releaseTrack = "release-track"
|
|
353
|
+
releaseTrack = "release-track",
|
|
354
|
+
cdPipeline = "cd-pipeline"
|
|
173
355
|
}
|
|
174
356
|
/**
|
|
175
357
|
* Versions support for the resources on BE
|
|
@@ -209,50 +391,14 @@ export declare enum WebhookEventNameType {
|
|
|
209
391
|
PULL_REQUEST = "Pull Request",
|
|
210
392
|
TAG_CREATION = "Tag Creation"
|
|
211
393
|
}
|
|
212
|
-
export
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
ClusterRole = "ClusterRole",
|
|
221
|
-
Role = "Role",
|
|
222
|
-
Prometheus = "Prometheus",
|
|
223
|
-
ServiceMonitor = "ServiceMonitor",
|
|
224
|
-
Deployment = "Deployment",
|
|
225
|
-
MutatingWebhookConfiguration = "MutatingWebhookConfiguration",
|
|
226
|
-
DaemonSet = "DaemonSet",
|
|
227
|
-
Secret = "Secret",
|
|
228
|
-
ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration",
|
|
229
|
-
Pod = "Pod",
|
|
230
|
-
Ingress = "Ingress",
|
|
231
|
-
ReplicaSet = "ReplicaSet",
|
|
232
|
-
Endpoints = "Endpoints",
|
|
233
|
-
Cluster = "ClusterRoleBinding",
|
|
234
|
-
PodSecurityPolicy = "PodSecurityPolicy",
|
|
235
|
-
CronJob = "CronJob",
|
|
236
|
-
Job = "Job",
|
|
237
|
-
ReplicationController = "ReplicationController",
|
|
238
|
-
StatefulSet = "StatefulSet",
|
|
239
|
-
Rollout = "Rollout",
|
|
240
|
-
PersistentVolumeClaim = "PersistentVolumeClaim",
|
|
241
|
-
PersistentVolume = "PersistentVolume",
|
|
242
|
-
Containers = "Containers",
|
|
243
|
-
InitContainers = "InitContainers",
|
|
244
|
-
EndpointSlice = "EndpointSlice",
|
|
245
|
-
NetworkPolicy = "NetworkPolicy",
|
|
246
|
-
StorageClass = "StorageClass",
|
|
247
|
-
VolumeSnapshot = "VolumeSnapshot",
|
|
248
|
-
VolumeSnapshotContent = "VolumeSnapshotContent",
|
|
249
|
-
VolumeSnapshotClass = "VolumeSnapshotClass",
|
|
250
|
-
PodDisruptionBudget = "PodDisruptionBudget",
|
|
251
|
-
Event = "Event",
|
|
252
|
-
Namespace = "Namespace",
|
|
253
|
-
Overview = "Overview"
|
|
254
|
-
}
|
|
255
|
-
export type NodeType = keyof typeof Nodes;
|
|
394
|
+
export type IntersectionOptions = {
|
|
395
|
+
root?: React.RefObject<Element>;
|
|
396
|
+
rootMargin?: string;
|
|
397
|
+
threshold?: number | number[];
|
|
398
|
+
once?: boolean;
|
|
399
|
+
defaultIntersecting?: boolean;
|
|
400
|
+
};
|
|
401
|
+
export type IntersectionChangeHandler = (entry: IntersectionObserverEntry) => void;
|
|
256
402
|
export declare enum AggregationKeys {
|
|
257
403
|
Workloads = "Workloads",
|
|
258
404
|
Networking = "Networking",
|
|
@@ -265,3 +411,11 @@ export declare enum AggregationKeys {
|
|
|
265
411
|
Namespaces = "Namespaces"
|
|
266
412
|
}
|
|
267
413
|
export type AggregationKeysType = keyof typeof AggregationKeys;
|
|
414
|
+
export interface scrollableInterface {
|
|
415
|
+
autoBottomScroll: boolean;
|
|
416
|
+
}
|
|
417
|
+
export declare enum PromiseAllStatusType {
|
|
418
|
+
FULFILLED = "fulfilled",
|
|
419
|
+
REJECTED = "rejected"
|
|
420
|
+
}
|
|
421
|
+
export {};
|