@@ -18,6 +18,7 @@ type RequestParamsKeys = keyof Pick<
1818 | 'target_runs'
1919 | 'target_jobs'
2020 | 'target_volumes'
21+ | 'target_gateways'
2122 | 'within_projects'
2223 | 'within_fleets'
2324 | 'within_runs'
@@ -33,6 +34,7 @@ const filterKeys: Record<string, RequestParamsKeys> = {
3334 TARGET_RUNS : 'target_runs' ,
3435 TARGET_JOBS : 'target_jobs' ,
3536 TARGET_VOLUMES : 'target_volumes' ,
37+ TARGET_GATEWAYS : 'target_gateways' ,
3638 WITHIN_PROJECTS : 'within_projects' ,
3739 WITHIN_FLEETS : 'within_fleets' ,
3840 WITHIN_RUNS : 'within_runs' ,
@@ -50,6 +52,7 @@ const multipleChoiseKeys: RequestParamsKeys[] = [
5052 'target_runs' ,
5153 'target_jobs' ,
5254 'target_volumes' ,
55+ 'target_gateways' ,
5356 'within_projects' ,
5457 'within_fleets' ,
5558 'within_runs' ,
@@ -65,6 +68,7 @@ const targetTypes = [
6568 { label : 'Run' , value : 'run' } ,
6669 { label : 'Job' , value : 'job' } ,
6770 { label : 'Volume' , value : 'volume' } ,
71+ { label : 'Gateway' , value : 'gateway' } ,
6872] ;
6973
7074export const useFilters = ( ) => {
@@ -162,6 +166,11 @@ export const useFilters = () => {
162166 operators : [ '=' ] ,
163167 propertyLabel : 'Target volumes' ,
164168 } ,
169+ {
170+ key : filterKeys . TARGET_GATEWAYS ,
171+ operators : [ '=' ] ,
172+ propertyLabel : 'Target gateways' ,
173+ } ,
165174
166175 {
167176 key : filterKeys . WITHIN_PROJECTS ,
0 commit comments