@devtron-labs/devtron-fe-common-lib 0.0.82-beta-14 → 0.0.82-beta-15
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/Constants.d.ts +17 -0
- package/dist/Common/Helper.d.ts +8 -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 +10 -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/types.d.ts +29 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +10 -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/GitCommitInfoGeneric.d.ts +12 -0
- package/dist/Shared/Components/CICDHistory/GitMaterialInfoHeader.d.ts +9 -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 +284 -0
- package/dist/Shared/Components/CICDHistory/index.d.ts +6 -0
- package/dist/Shared/Components/CICDHistory/service.d.ts +29 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +558 -0
- package/dist/Shared/Components/CICDHistory/utils.d.ts +13 -0
- package/dist/Shared/Components/Error/ErrorBar.d.ts +4 -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/ShowMoreText/ShowMoreText.d.ts +5 -0
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/Shared/Helpers.d.ts +2 -1
- package/dist/Shared/constants.d.ts +57 -0
- package/dist/Shared/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +181 -44
- package/dist/abap-9f67f57a.js +1314 -0
- package/dist/apex-ff62e532.js +315 -0
- package/dist/assets/editor.worker-d26000ef.js +9 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/json.worker-f23a4654.js +40 -0
- package/dist/assets/yaml.worker-bbf7a2a6.js +467 -0
- package/dist/azcli-31e64a7f.js +74 -0
- package/dist/bat-0ffe897e.js +95 -0
- package/dist/bicep-3414a2b1.js +108 -0
- package/dist/cameligo-df1f3f25.js +168 -0
- package/dist/clojure-65b0f010.js +754 -0
- package/dist/coffee-437f0fba.js +228 -0
- package/dist/cpp-66843dd5.js +390 -0
- package/dist/csharp-621d9a49.js +320 -0
- package/dist/csp-de0d5244.js +57 -0
- package/dist/css-7cd5ed4c.js +186 -0
- package/dist/cssMode-497cae5d.js +1446 -0
- package/dist/cypher-70ad96fe.js +262 -0
- package/dist/dart-33ae3739.js +270 -0
- package/dist/dockerfile-f2274a50.js +132 -0
- package/dist/ecl-3b8294a3.js +454 -0
- package/dist/elixir-b9dcc73a.js +489 -0
- package/dist/flow9-bdde8316.js +141 -0
- package/dist/freemarker2-c52bf224.js +643 -0
- package/dist/fsharp-eac2e449.js +210 -0
- package/dist/go-d12ed8d4.js +208 -0
- package/dist/graphql-c7356b69.js +141 -0
- package/dist/handlebars-39fc636e.js +391 -0
- package/dist/hcl-e883a0d4.js +177 -0
- package/dist/html-801255cd.js +281 -0
- package/dist/htmlMode-492ccae1.js +1456 -0
- package/dist/index-8e795a39.js +129929 -0
- package/dist/index.js +365 -20898
- package/dist/ini-425ab711.js +68 -0
- package/dist/java-2bc0fd68.js +221 -0
- package/dist/javascript-01941c8d.js +75 -0
- package/dist/jsonMode-aa18a8d0.js +1867 -0
- package/dist/julia-1c932615.js +496 -0
- package/dist/kotlin-1ab839c8.js +245 -0
- package/dist/less-6fe856f5.js +168 -0
- package/dist/lexon-4955ac52.js +151 -0
- package/dist/liquid-4987bdc3.js +238 -0
- package/dist/lua-3cca0047.js +157 -0
- package/dist/m3-132e9cb6.js +210 -0
- package/dist/markdown-ea59a0c1.js +202 -0
- package/dist/mips-19811f4b.js +194 -0
- package/dist/msdax-69954a10.js +377 -0
- package/dist/mysql-82088e5d.js +876 -0
- package/dist/objective-c-1976eccc.js +188 -0
- package/dist/pascal-8ef177cb.js +245 -0
- package/dist/pascaligo-bc517b9e.js +158 -0
- package/dist/perl-8b93582c.js +599 -0
- package/dist/pgsql-00c11a6d.js +847 -0
- package/dist/php-4c8c276f.js +471 -0
- package/dist/pla-e9b4ffb1.js +131 -0
- package/dist/postiats-2071af8c.js +544 -0
- package/dist/powerquery-8e388ceb.js +890 -0
- package/dist/powershell-e35db398.js +233 -0
- package/dist/protobuf-a24b9176.js +422 -0
- package/dist/pug-2c94d9b8.js +393 -0
- package/dist/python-c3709d2a.js +259 -0
- package/dist/qsharp-d730d7fe.js +282 -0
- package/dist/r-be193556.js +245 -0
- package/dist/razor-284fc6a5.js +512 -0
- package/dist/redis-9690c6ac.js +298 -0
- package/dist/redshift-6bdcdeaa.js +806 -0
- package/dist/restructuredtext-a08c1d20.js +162 -0
- package/dist/ruby-2247692b.js +444 -0
- package/dist/rust-1dffb4d5.js +337 -0
- package/dist/sb-136598e9.js +110 -0
- package/dist/scala-b1100fed.js +353 -0
- package/dist/scheme-038c8094.js +114 -0
- package/dist/scss-700d1b52.js +244 -0
- package/dist/shell-86c16e0f.js +224 -0
- package/dist/solidity-c05fdf3c.js +1351 -0
- package/dist/sophia-cd645d71.js +190 -0
- package/dist/sparql-01d9ec9c.js +193 -0
- package/dist/sql-4c33df41.js +818 -0
- package/dist/st-52cf1408.js +414 -0
- package/dist/swift-13c792ba.js +315 -0
- package/dist/systemverilog-0bd8b730.js +556 -0
- package/dist/tcl-463d7c75.js +232 -0
- package/dist/tsMode-2501ec00.js +811 -0
- package/dist/twig-0d98f5ec.js +323 -0
- package/dist/typescript-922bae20.js +328 -0
- package/dist/vb-3a2b0a51.js +364 -0
- package/dist/wgsl-b2ddb3e4.js +420 -0
- package/dist/xml-ebe7b3ab.js +95 -0
- package/dist/yaml-91cea596.js +184 -0
- package/package.json +17 -16
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,6 +1,171 @@
|
|
|
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
|
+
interface OtherEnvironment {
|
|
5
|
+
environmentId: number;
|
|
6
|
+
environmentName: string;
|
|
7
|
+
appMetrics: boolean;
|
|
8
|
+
infraMetrics: boolean;
|
|
9
|
+
prod: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface PodMetaData {
|
|
12
|
+
containers: Array<string>;
|
|
13
|
+
initContainers: any;
|
|
14
|
+
ephemeralContainers: any;
|
|
15
|
+
isNew: boolean;
|
|
16
|
+
name: string;
|
|
17
|
+
uid: string;
|
|
18
|
+
}
|
|
19
|
+
export interface Info {
|
|
20
|
+
value: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
export interface Health {
|
|
24
|
+
status: string;
|
|
25
|
+
message?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface TargetLabel {
|
|
28
|
+
'app.kubernetes.io/instance': string;
|
|
29
|
+
'app.kubernetes.io/name': string;
|
|
30
|
+
}
|
|
31
|
+
export interface TargetLabels {
|
|
32
|
+
targetLabel: TargetLabel;
|
|
33
|
+
}
|
|
34
|
+
export interface NetworkingInfo {
|
|
35
|
+
targetLabels: TargetLabels;
|
|
36
|
+
}
|
|
37
|
+
export declare enum Nodes {
|
|
38
|
+
Service = "Service",
|
|
39
|
+
Alertmanager = "Alertmanager",
|
|
40
|
+
PodSecurity = "PodSecurityPolicy",
|
|
41
|
+
ConfigMap = "ConfigMap",
|
|
42
|
+
ServiceAccount = "ServiceAccount",
|
|
43
|
+
ClusterRoleBinding = "ClusterRoleBinding",
|
|
44
|
+
RoleBinding = "RoleBinding",
|
|
45
|
+
ClusterRole = "ClusterRole",
|
|
46
|
+
Role = "Role",
|
|
47
|
+
Prometheus = "Prometheus",
|
|
48
|
+
ServiceMonitor = "ServiceMonitor",
|
|
49
|
+
Deployment = "Deployment",
|
|
50
|
+
MutatingWebhookConfiguration = "MutatingWebhookConfiguration",
|
|
51
|
+
DaemonSet = "DaemonSet",
|
|
52
|
+
Secret = "Secret",
|
|
53
|
+
ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration",
|
|
54
|
+
Pod = "Pod",
|
|
55
|
+
Ingress = "Ingress",
|
|
56
|
+
ReplicaSet = "ReplicaSet",
|
|
57
|
+
Endpoints = "Endpoints",
|
|
58
|
+
Cluster = "ClusterRoleBinding",
|
|
59
|
+
PodSecurityPolicy = "PodSecurityPolicy",
|
|
60
|
+
CronJob = "CronJob",
|
|
61
|
+
Job = "Job",
|
|
62
|
+
ReplicationController = "ReplicationController",
|
|
63
|
+
StatefulSet = "StatefulSet",
|
|
64
|
+
Rollout = "Rollout",
|
|
65
|
+
PersistentVolumeClaim = "PersistentVolumeClaim",
|
|
66
|
+
PersistentVolume = "PersistentVolume",
|
|
67
|
+
Containers = "Containers",
|
|
68
|
+
InitContainers = "InitContainers",
|
|
69
|
+
EndpointSlice = "EndpointSlice",
|
|
70
|
+
NetworkPolicy = "NetworkPolicy",
|
|
71
|
+
StorageClass = "StorageClass",
|
|
72
|
+
VolumeSnapshot = "VolumeSnapshot",
|
|
73
|
+
VolumeSnapshotContent = "VolumeSnapshotContent",
|
|
74
|
+
VolumeSnapshotClass = "VolumeSnapshotClass",
|
|
75
|
+
PodDisruptionBudget = "PodDisruptionBudget",
|
|
76
|
+
Event = "Event",
|
|
77
|
+
Namespace = "Namespace",
|
|
78
|
+
Overview = "Overview"
|
|
79
|
+
}
|
|
80
|
+
export type NodeType = keyof typeof Nodes;
|
|
81
|
+
export interface Node {
|
|
82
|
+
createdAt: Date;
|
|
83
|
+
health: Health;
|
|
84
|
+
kind: NodeType;
|
|
85
|
+
name: string;
|
|
86
|
+
namespace: string;
|
|
87
|
+
networkingInfo: NetworkingInfo;
|
|
88
|
+
resourceVersion: string;
|
|
89
|
+
uid: string;
|
|
90
|
+
version: string;
|
|
91
|
+
parentRefs: Array<Node>;
|
|
92
|
+
group: string;
|
|
93
|
+
isSelected: boolean;
|
|
94
|
+
info: Info[];
|
|
95
|
+
port: number;
|
|
96
|
+
canBeHibernated: boolean;
|
|
97
|
+
isHibernated: boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface ResourceTree {
|
|
100
|
+
conditions: any;
|
|
101
|
+
newGenerationReplicaSet: string;
|
|
102
|
+
nodes: Array<Node>;
|
|
103
|
+
podMetadata: Array<PodMetaData>;
|
|
104
|
+
status: string;
|
|
105
|
+
resourcesSyncResult?: Record<string, string>;
|
|
106
|
+
}
|
|
107
|
+
export declare enum AppType {
|
|
108
|
+
DEVTRON_APP = "devtron_app",
|
|
109
|
+
DEVTRON_HELM_CHART = "devtron_helm_chart",
|
|
110
|
+
EXTERNAL_HELM_CHART = "external_helm_chart",
|
|
111
|
+
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
112
|
+
}
|
|
113
|
+
export interface HelmReleaseStatus {
|
|
114
|
+
status: string;
|
|
115
|
+
message: string;
|
|
116
|
+
description: string;
|
|
117
|
+
}
|
|
118
|
+
interface MaterialInfo {
|
|
119
|
+
author: string;
|
|
120
|
+
branch: string;
|
|
121
|
+
message: string;
|
|
122
|
+
modifiedTime: string;
|
|
123
|
+
revision: string;
|
|
124
|
+
url: string;
|
|
125
|
+
webhookData: string;
|
|
126
|
+
}
|
|
127
|
+
export interface AppDetails {
|
|
128
|
+
appId?: number;
|
|
129
|
+
appName: string;
|
|
130
|
+
appStoreAppName?: string;
|
|
131
|
+
appStoreAppVersion?: string;
|
|
132
|
+
appStoreChartId?: number;
|
|
133
|
+
appStoreChartName?: string;
|
|
134
|
+
appStoreInstalledAppVersionId?: number;
|
|
135
|
+
ciArtifactId?: number;
|
|
136
|
+
deprecated?: false;
|
|
137
|
+
environmentId?: number;
|
|
138
|
+
environmentName: string;
|
|
139
|
+
installedAppId?: number;
|
|
140
|
+
instanceDetail?: null;
|
|
141
|
+
k8sVersion?: string;
|
|
142
|
+
lastDeployedBy?: string;
|
|
143
|
+
lastDeployedTime: string;
|
|
144
|
+
namespace: string;
|
|
145
|
+
resourceTree: ResourceTree;
|
|
146
|
+
materialInfo?: MaterialInfo[];
|
|
147
|
+
releaseVersion?: string;
|
|
148
|
+
dataSource?: string;
|
|
149
|
+
lastDeployedPipeline?: string;
|
|
150
|
+
otherEnvironment?: OtherEnvironment[];
|
|
151
|
+
projectName?: string;
|
|
152
|
+
appType?: AppType;
|
|
153
|
+
helmReleaseStatus?: HelmReleaseStatus;
|
|
154
|
+
clusterId?: number;
|
|
155
|
+
notes?: string;
|
|
156
|
+
deploymentAppType?: DeploymentAppTypes;
|
|
157
|
+
ipsAccessProvided?: boolean;
|
|
158
|
+
externalCi?: boolean;
|
|
159
|
+
clusterName?: string;
|
|
160
|
+
dockerRegistryId?: string;
|
|
161
|
+
deploymentAppDeleteRequest?: boolean;
|
|
162
|
+
userApprovalConfig?: string;
|
|
163
|
+
isVirtualEnvironment?: boolean;
|
|
164
|
+
imageTag?: string;
|
|
165
|
+
helmPackageName?: string;
|
|
166
|
+
appStatus?: string;
|
|
167
|
+
chartAvatar?: string;
|
|
168
|
+
}
|
|
4
169
|
export declare enum RegistryType {
|
|
5
170
|
GIT = "git",
|
|
6
171
|
GITHUB = "github",
|
|
@@ -209,47 +374,19 @@ export declare enum WebhookEventNameType {
|
|
|
209
374
|
PULL_REQUEST = "Pull Request",
|
|
210
375
|
TAG_CREATION = "Tag Creation"
|
|
211
376
|
}
|
|
212
|
-
export
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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"
|
|
377
|
+
export type IntersectionOptions = {
|
|
378
|
+
root?: React.RefObject<Element>;
|
|
379
|
+
rootMargin?: string;
|
|
380
|
+
threshold?: number | number[];
|
|
381
|
+
once?: boolean;
|
|
382
|
+
defaultIntersecting?: boolean;
|
|
383
|
+
};
|
|
384
|
+
export type IntersectionChangeHandler = (entry: IntersectionObserverEntry) => void;
|
|
385
|
+
export interface scrollableInterface {
|
|
386
|
+
autoBottomScroll: boolean;
|
|
254
387
|
}
|
|
255
|
-
export
|
|
388
|
+
export declare enum PromiseAllStatusType {
|
|
389
|
+
FULFILLED = "fulfilled",
|
|
390
|
+
REJECTED = "rejected"
|
|
391
|
+
}
|
|
392
|
+
export {};
|