Skip to content

Commit fdfebbb

Browse files
committed
fix: typing for ci block state
1 parent 1f06094 commit fdfebbb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Common/Types.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import React, { ReactNode, CSSProperties, ReactElement } from 'react'
1818
import { Placement } from 'tippy.js'
1919
import { UserGroupDTO } from '@Pages/GlobalConfigurations'
2020
import { ImageComment, ReleaseTag } from './ImageTags.Types'
21-
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.'
21+
import { ACTION_STATE, ConsequenceType, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.'
2222
import { RegistryType, RuntimeParamsListItemType, Severity } from '../Shared'
2323

2424
/**
@@ -607,10 +607,7 @@ export interface CommonNodeAttr {
607607
isVirtualEnvironment?: boolean
608608
deploymentAppType?: DeploymentAppTypes
609609
isCITriggerBlocked?: boolean
610-
ciBlockState?: {
611-
action: any
612-
metadataField: string
613-
}
610+
ciBlockState?: ConsequenceType
614611
appReleaseTagNames?: string[]
615612
tagsEditable?: boolean
616613
isGitOpsRepoNotConfigured?: boolean

0 commit comments

Comments
 (0)