Skip to content

Commit 662cdd3

Browse files
committed
fix: typing for user approval config
1 parent 1b3c1f8 commit 662cdd3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Pages/CDPipeline/types.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BuildStageType, FormType } from '@Common/CIPipeline.Types'
2-
import { DeploymentAppTypes } from '@Common/Types'
2+
import { DeploymentAppTypes, UserApprovalConfigType } from '@Common/Types'
33
import { DeploymentStrategy } from '@Shared/Components'
44
import { EnvListMinDTO } from '@Shared/types'
55

@@ -61,9 +61,7 @@ export interface CDFormType {
6161
preStageConfigMapSecretNames: { configMaps: ConfigSecretType[]; secrets: ConfigSecretType[] }
6262
postStageConfigMapSecretNames: { configMaps: ConfigSecretType[]; secrets: ConfigSecretType[] }
6363
requiredApprovals: string
64-
userApprovalConfig?: {
65-
requiredCount: number
66-
}
64+
userApprovalConfig?: UserApprovalConfigType
6765
isClusterCdActive: boolean
6866
deploymentAppCreated: boolean
6967
clusterId: string

0 commit comments

Comments
 (0)