Add OPEN_DETAILS_PANEL action
[arvados-workbench2.git] / src / models / search-bar.ts
index c118fd5712addf7e8d970f1bb60a870745e32caf..798f9c8f27bd84d1aeb6fbb06aaa244771ff840b 100644 (file)
@@ -12,17 +12,18 @@ export type SearchBarAdvanceFormData = {
     dateFrom: string;
     dateTo: string;
     saveQuery: boolean;
-    searchQuery: string;
-    properties: PropertyValues[];
-} & PropertyValues;
+    queryName: string;
+    searchValue: string;
+    properties: PropertyValue[];
+};
 
-export interface PropertyValues {
-    propertyKey: string;
-    propertyValue: string;
+export interface PropertyValue {
+    key: string;
+    value: string;
 }
 
 export enum ClusterObjectType {
     INDIANAPOLIS = "indianapolis",
     KAISERAUGST = "kaiseraugst",
     PENZBERG = "penzberg"
-}
\ No newline at end of file
+}