@devtron-labs/devtron-fe-common-lib 0.0.85-beta-1 → 0.0.85
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 +20 -0
- package/dist/Common/AppStatus/index.d.ts +0 -1
- package/dist/Common/Constants.d.ts +0 -19
- package/dist/Common/Helper.d.ts +0 -8
- package/dist/Common/Pagination/index.d.ts +0 -1
- package/dist/Common/index.d.ts +0 -1
- package/dist/Shared/Components/index.d.ts +0 -3
- package/dist/Shared/Helpers.d.ts +1 -6
- package/dist/Shared/Providers/ImageSelectionUtility/types.d.ts +1 -0
- package/dist/Shared/constants.d.ts +0 -300
- package/dist/Shared/index.d.ts +1 -1
- package/dist/Shared/types.d.ts +46 -200
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-9390463e.js → cssMode-fc8027c0.js} +1 -1
- package/dist/{freemarker2-45d9c87f.js → freemarker2-a1b77c94.js} +1 -1
- package/dist/{handlebars-0272cb91.js → handlebars-600385ac.js} +1 -1
- package/dist/{html-f8322193.js → html-4b43d01e.js} +1 -1
- package/dist/{htmlMode-5eeed339.js → htmlMode-30202b19.js} +1 -1
- package/dist/{index-3fdc8a6f.js → index-b4fe7092.js} +113866 -118908
- package/dist/index.d.ts +1 -0
- package/dist/index.js +323 -399
- package/dist/{javascript-08bc2f30.js → javascript-a5c9dc03.js} +1 -1
- package/dist/{jsonMode-4272a3ca.js → jsonMode-913910ff.js} +1 -1
- package/dist/{liquid-ab223e02.js → liquid-e3f21e09.js} +1 -1
- package/dist/{mdx-f3b3175b.js → mdx-7a771bd1.js} +1 -1
- package/dist/{python-fe4d4e69.js → python-ae59b55f.js} +1 -1
- package/dist/{razor-37067534.js → razor-679f6ece.js} +1 -1
- package/dist/{tsMode-6ca5922c.js → tsMode-1536b46f.js} +1 -1
- package/dist/{typescript-5a0fc241.js → typescript-92e07346.js} +1 -1
- package/dist/{xml-1dbfa98d.js → xml-eb691a67.js} +1 -1
- package/dist/{yaml-527abc47.js → yaml-a92d5973.js} +1 -1
- package/package.json +15 -17
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +0 -5
- package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +0 -14
- package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +0 -11
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/index.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +0 -36
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +0 -11
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DetectBottom.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +0 -5
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +0 -5
- package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +0 -6
- package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -45
- package/dist/Shared/Components/CICDHistory/index.d.ts +0 -17
- package/dist/Shared/Components/CICDHistory/service.d.ts +0 -28
- package/dist/Shared/Components/CICDHistory/types.d.ts +0 -588
- package/dist/Shared/Components/CICDHistory/utils.d.ts +0 -4
- package/dist/Shared/Components/Error/ErrorBar.d.ts +0 -4
- package/dist/Shared/Components/Error/index.d.ts +0 -2
- package/dist/Shared/Components/Error/types.d.ts +0 -9
- package/dist/Shared/Components/Error/utils.d.ts +0 -3
- package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +0 -4
- package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +0 -9
- package/dist/Shared/Components/GitCommitInfoGeneric/index.d.ts +0 -1
- package/dist/Shared/Components/GitCommitInfoGeneric/types.d.ts +0 -11
- package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +0 -5
- package/dist/Shared/Store/IndexStore.d.ts +0 -48
- package/dist/Shared/Store/index.d.ts +0 -1
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,187 +1,6 @@
|
|
|
1
1
|
import { PatchOperationType } from './constants';
|
|
2
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType
|
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType } 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
|
-
}
|
|
185
4
|
export declare enum RegistryType {
|
|
186
5
|
GIT = "git",
|
|
187
6
|
GITHUB = "github",
|
|
@@ -350,8 +169,7 @@ export declare enum ResourceKindType {
|
|
|
350
169
|
job = "job",
|
|
351
170
|
cluster = "cluster",
|
|
352
171
|
release = "release",
|
|
353
|
-
releaseTrack = "release-track"
|
|
354
|
-
cdPipeline = "cd-pipeline"
|
|
172
|
+
releaseTrack = "release-track"
|
|
355
173
|
}
|
|
356
174
|
/**
|
|
357
175
|
* Versions support for the resources on BE
|
|
@@ -391,14 +209,50 @@ export declare enum WebhookEventNameType {
|
|
|
391
209
|
PULL_REQUEST = "Pull Request",
|
|
392
210
|
TAG_CREATION = "Tag Creation"
|
|
393
211
|
}
|
|
394
|
-
export
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
212
|
+
export declare enum Nodes {
|
|
213
|
+
Service = "Service",
|
|
214
|
+
Alertmanager = "Alertmanager",
|
|
215
|
+
PodSecurity = "PodSecurityPolicy",
|
|
216
|
+
ConfigMap = "ConfigMap",
|
|
217
|
+
ServiceAccount = "ServiceAccount",
|
|
218
|
+
ClusterRoleBinding = "ClusterRoleBinding",
|
|
219
|
+
RoleBinding = "RoleBinding",
|
|
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;
|
|
402
256
|
export declare enum AggregationKeys {
|
|
403
257
|
Workloads = "Workloads",
|
|
404
258
|
Networking = "Networking",
|
|
@@ -411,11 +265,3 @@ export declare enum AggregationKeys {
|
|
|
411
265
|
Namespaces = "Namespaces"
|
|
412
266
|
}
|
|
413
267
|
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 {};
|