Add OPEN_DETAILS_PANEL action
[arvados-workbench2.git] / src / models / search-bar.ts
index 9fadc2af4a9d616f93ccbff5829799e39cf18bda..798f9c8f27bd84d1aeb6fbb06aaa244771ff840b 100644 (file)
@@ -4,19 +4,26 @@
 
 import { ResourceKind } from '~/models/resource';
 
-export interface SearchBarAdvanceFormData {
+export type SearchBarAdvanceFormData = {
     type?: ResourceKind;
     cluster?: ClusterObjectType;
-    project?: string;
+    projectUuid?: string;
     inTrash: boolean;
     dateFrom: string;
     dateTo: string;
     saveQuery: boolean;
-    searchQuery: string;
+    queryName: string;
+    searchValue: string;
+    properties: PropertyValue[];
+};
+
+export interface PropertyValue {
+    key: string;
+    value: string;
 }
 
 export enum ClusterObjectType {
     INDIANAPOLIS = "indianapolis",
     KAISERAUGST = "kaiseraugst",
     PENZBERG = "penzberg"
-}
\ No newline at end of file
+}