1
- import { DeploymentType , NodeGroup } from "../../cloudchamber/client" ;
1
+ import {
2
+ DeploymentType ,
3
+ NodeGroup ,
4
+ PlacementStatusHealth ,
5
+ } from "../../cloudchamber/client" ;
2
6
import type {
3
7
DeploymentV2 ,
4
8
PlacementWithEvents ,
@@ -42,7 +46,7 @@ export const MOCK_DEPLOYMENTS: DeploymentV2[] = [
42
46
} ,
43
47
current_placement : {
44
48
deployment_version : 2 ,
45
- status : { health : "running" } ,
49
+ status : { health : PlacementStatusHealth . RUNNING } ,
46
50
deployment_id : "2" ,
47
51
terminate : false ,
48
52
created_at : "123" ,
@@ -91,7 +95,7 @@ export const MOCK_DEPLOYMENTS_COMPLEX: DeploymentV2[] = [
91
95
} ,
92
96
current_placement : {
93
97
deployment_version : 2 ,
94
- status : { health : "running" } ,
98
+ status : { health : PlacementStatusHealth . RUNNING } ,
95
99
deployment_id : "2" ,
96
100
terminate : false ,
97
101
created_at : "123" ,
@@ -137,7 +141,7 @@ export const MOCK_DEPLOYMENTS_COMPLEX: DeploymentV2[] = [
137
141
} ,
138
142
current_placement : {
139
143
deployment_version : 2 ,
140
- status : { health : "running" } ,
144
+ status : { health : PlacementStatusHealth . RUNNING } ,
141
145
deployment_id : "2" ,
142
146
terminate : false ,
143
147
created_at : "123" ,
@@ -156,7 +160,7 @@ export const MOCK_PLACEMENTS: PlacementWithEvents[] = [
156
160
deployment_version : 2 ,
157
161
terminate : false ,
158
162
events : [ ] ,
159
- status : { health : "stopped" } ,
163
+ status : { health : PlacementStatusHealth . STOPPED } ,
160
164
} ,
161
165
{
162
166
id : "3" ,
@@ -165,7 +169,7 @@ export const MOCK_PLACEMENTS: PlacementWithEvents[] = [
165
169
deployment_version : 3 ,
166
170
terminate : false ,
167
171
events : [ ] ,
168
- status : { health : "failed" } ,
172
+ status : { health : PlacementStatusHealth . FAILED } ,
169
173
} ,
170
174
{
171
175
id : "1" ,
@@ -174,6 +178,6 @@ export const MOCK_PLACEMENTS: PlacementWithEvents[] = [
174
178
deployment_version : 4 ,
175
179
terminate : false ,
176
180
events : [ ] ,
177
- status : { health : "running" } ,
181
+ status : { health : PlacementStatusHealth . RUNNING } ,
178
182
} ,
179
183
] ;
0 commit comments