Skip to content

Commit 4aaac94

Browse files
committed
feat: add type for flux app status
1 parent c9333b8 commit 4aaac94

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "0.1.3-beta-2",
3+
"version": "0.1.3-beta-4",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@ interface MaterialInfo {
180180
url: string
181181
webhookData: string
182182
}
183+
export interface FluxAppStatusDetail {
184+
status: string
185+
message: string
186+
reason: string
187+
}
183188
export interface AppDetails {
184189
appId?: number
185190
appName: string
@@ -221,6 +226,7 @@ export interface AppDetails {
221226
helmPackageName?: string
222227
appStatus?: string
223228
chartAvatar?: string
229+
FluxAppStatusDetail?: FluxAppStatusDetail
224230
}
225231

226232
export enum RegistryType {

0 commit comments

Comments
 (0)