@@ -175,13 +175,24 @@ export interface iNode extends Node {
175175 status : string
176176 pNode ?: iNode
177177}
178+
179+ export interface HelmReleaseStatus {
180+ status : string
181+ message : string
182+ description : string
183+ }
184+
178185export interface ResourceTree {
179- conditions : any
186+ nodes : Node [ ]
180187 newGenerationReplicaSet : string
181- nodes : Array < Node >
182- podMetadata : Array < PodMetaData >
183188 status : string
189+ podMetadata : PodMetaData [ ]
190+ conditions ?: any
191+ releaseStatus ?: HelmReleaseStatus
184192 resourcesSyncResult ?: Record < string , string >
193+ hasDrift ?: boolean
194+ // lastSnapshotTime and wfrId are only available for isolated
195+ lastSnapshotTime ?: string
185196 wfrId ?: number
186197}
187198
@@ -193,12 +204,6 @@ export enum AppType {
193204 EXTERNAL_FLUX_APP = 'external_flux_app' ,
194205}
195206
196- export interface HelmReleaseStatus {
197- status : string
198- message : string
199- description : string
200- }
201-
202207interface MaterialInfo {
203208 author : string
204209 branch : string
@@ -222,7 +227,7 @@ export interface AppDetails {
222227 appStoreChartName ?: string
223228 appStoreInstalledAppVersionId ?: number
224229 ciArtifactId ?: number
225- deprecated ?: false
230+ deprecated ?: boolean
226231 environmentId ?: number
227232 environmentName : string
228233 installedAppId ?: number
@@ -258,6 +263,12 @@ export interface AppDetails {
258263 FluxAppStatusDetail ?: FluxAppStatusDetail
259264 isPipelineTriggered ?: boolean
260265 releaseMode ?: ReleaseMode
266+ cdPipelineId ?: number
267+ triggerType ?: string
268+ parentEnvironmentName ?: string
269+ ciPipelineId ?: number
270+ trafficSwitched ?: boolean
271+ pcoId ?: number
261272}
262273
263274export interface ConfigDriftModalProps extends Required < Pick < AppDetails , 'appId' > > {
0 commit comments