File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
import { BuildStageType , FormType } from '@Common/CIPipeline.Types'
2
2
import { DeploymentAppTypes } from '@Common/Types'
3
3
import { DeploymentStrategy } from '@Shared/Components'
4
+ import { EnvListMinDTO } from '@Shared/types'
4
5
5
6
interface ConfigSecretType {
6
7
label : string
7
8
value : string
8
9
type : string
9
10
}
10
11
11
- export interface Environment {
12
- description ?: string
13
- id : number
12
+ export interface Environment
13
+ extends Pick < EnvListMinDTO , 'id' | 'active' | 'namespace' | 'isClusterCdActive' > ,
14
+ Partial <
15
+ Pick <
16
+ EnvListMinDTO ,
17
+ 'isVirtualEnvironment' | 'allowedDeploymentTypes' | 'description' | 'isDigestEnforcedForEnv'
18
+ >
19
+ > {
14
20
name : string
15
- namespace : string
16
- active : boolean
17
21
clusterName : string
18
22
clusterId : string
19
- isClusterCdActive : boolean
20
- isVirtualEnvironment ?: boolean
21
- allowedDeploymentTypes ?: DeploymentAppTypes [ ]
22
- isDigestEnforcedForEnv ?: boolean
23
23
}
24
24
25
25
export interface PipelineBuildStageType extends BuildStageType {
You can’t perform that action at this time.
0 commit comments