17119: add basic filter group support.
[arvados-workbench2.git] / src / models / search-bar.ts
index 798f9c8f27bd84d1aeb6fbb06aaa244771ff840b..09b8b6b70d02670f115ab58f218c06253c630652 100644 (file)
@@ -4,11 +4,12 @@
 
 import { ResourceKind } from '~/models/resource';
 
-export type SearchBarAdvanceFormData = {
+export type SearchBarAdvancedFormData = {
     type?: ResourceKind;
-    cluster?: ClusterObjectType;
+    cluster?: string;
     projectUuid?: string;
     inTrash: boolean;
+    pastVersions: boolean;
     dateFrom: string;
     dateTo: string;
     saveQuery: boolean;
@@ -19,11 +20,7 @@ export type SearchBarAdvanceFormData = {
 
 export interface PropertyValue {
     key: string;
+    keyID?: string;
     value: string;
-}
-
-export enum ClusterObjectType {
-    INDIANAPOLIS = "indianapolis",
-    KAISERAUGST = "kaiseraugst",
-    PENZBERG = "penzberg"
+    valueID?: string;
 }