@devtron-labs/devtron-fe-common-lib 0.0.11 → 0.0.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.
@@ -1,5 +1,6 @@
1
- import { ReactNode, CSSProperties } from 'react'
1
+ import React, { ReactNode, CSSProperties } from 'react'
2
2
  import { Placement } from 'tippy.js'
3
+ import { ImageComment, ReleaseTag } from "./ImageTags.Types";
3
4
  export interface ResponseType {
4
5
  code: number
5
6
  status: string
@@ -212,6 +213,34 @@ export interface UserApprovalMetadataType {
212
213
  requestedUserData: ApprovalUserDataType
213
214
  }
214
215
 
216
+
217
+ export interface CDMaterialType {
218
+ index: number
219
+ id: string
220
+ materialInfo: MaterialInfo[]
221
+ tab: CDModalTabType
222
+ scanEnabled: boolean
223
+ scanned: boolean
224
+ vulnerabilitiesLoading: boolean
225
+ lastExecution: string //timestamp
226
+ vulnerabilities: VulnerabilityType[]
227
+ vulnerable: boolean
228
+ deployedTime: string
229
+ deployedBy?: string
230
+ wfrId?: number
231
+ buildTime: string
232
+ image: string
233
+ isSelected: boolean
234
+ showSourceInfo: boolean
235
+ latest: boolean
236
+ runningOnParentCd?: boolean
237
+ userApprovalMetadata?: UserApprovalMetadataType
238
+ triggeredBy?: number
239
+ imageComment?: ImageComment
240
+ imageReleaseTags?: ReleaseTag[]
241
+ artifactStatus?: string
242
+ }
243
+
215
244
  export interface CommonNodeAttr {
216
245
  connectingCiPipelineId?: number
217
246
  parents: string | number[] | string[]
@@ -268,6 +297,8 @@ export interface CommonNodeAttr {
268
297
  action: any,
269
298
  metadataField: string
270
299
  }
300
+ appReleaseTagNames?: string[]
301
+ tagsEditable?: boolean
271
302
  }
272
303
 
273
304
  export interface VulnerabilityType {
@@ -297,33 +328,14 @@ export interface MaterialInfo {
297
328
  type?: string
298
329
  }
299
330
 
300
- export interface CDMaterialType {
301
- index: number
302
- id: string
303
- materialInfo: MaterialInfo[]
304
- tab: CDModalTabType
305
- scanEnabled: boolean
306
- scanned: boolean
307
- vulnerabilitiesLoading: boolean
308
- lastExecution: string //timestamp
309
- vulnerabilities: VulnerabilityType[]
310
- vulnerable: boolean
311
- deployedTime: string
312
- deployedBy?: string
313
- wfrId?: number
314
- buildTime: string
315
- image: string
316
- isSelected: boolean
317
- showSourceInfo: boolean
318
- latest: boolean
319
- runningOnParentCd?: boolean
320
- userApprovalMetadata?: UserApprovalMetadataType
321
- triggeredBy?: number
322
- }
323
-
324
331
  export interface CDMaterialResponseType {
325
332
  approvalUsers: string[]
326
333
  materials: any[]
327
334
  userApprovalConfig: UserApprovalConfigType
328
335
  requestedUserId: number
329
- }
336
+ tagsEditable: boolean
337
+ appReleaseTagNames: string[]
338
+ }
339
+
340
+
341
+
@@ -32,3 +32,5 @@ export { default as StyledRadioGroup } from './RadioGroup/RadioGroup'
32
32
  export * from './CIPipeline.Types'
33
33
  export * from './Policy.Types'
34
34
  export { default as DeleteComponent } from './DeleteComponentModal/DeleteComponent'
35
+ export * from './ImageTags'
36
+ export * from './ImageTags.Types'