16848: Avoids showing API errors when the extra token creation fails.
[arvados.git] / src / models / search-bar.ts
index abc4b72b8721ba05acd1408473246d8aa2e65664..09b8b6b70d02670f115ab58f218c06253c630652 100644 (file)
@@ -4,26 +4,23 @@
 
 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;
     queryName: string;
     searchValue: string;
-    properties: PropertyValues[];
+    properties: PropertyValue[];
 };
 
-export interface PropertyValues {
+export interface PropertyValue {
     key: string;
+    keyID?: string;
     value: string;
-}
-
-export enum ClusterObjectType {
-    INDIANAPOLIS = "indianapolis",
-    KAISERAUGST = "kaiseraugst",
-    PENZBERG = "penzberg"
+    valueID?: string;
 }