X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/80fb3b40df59f68ddfee58b1b45272093ece2af5..9c7918c98200f68bcce5f9e63a211986a50a2159:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index 4df5c38f..c71faf2f 100644 --- a/src/models/search-bar.ts +++ b/src/models/search-bar.ts @@ -4,25 +4,22 @@ import { ResourceKind } from '~/models/resource'; -export type SearchBarAdvanceFormData = { +export type SearchBarAdvancedFormData = { type?: ResourceKind; - cluster?: ClusterObjectType; + cluster?: string; projectUuid?: string; inTrash: boolean; dateFrom: string; dateTo: string; saveQuery: boolean; - searchQuery: string; - properties: PropertyValues[]; -} & PropertyValues; + queryName: string; + searchValue: string; + properties: PropertyValue[]; +}; -export interface PropertyValues { +export interface PropertyValue { key: string; + keyID?: string; value: string; + valueID?: string; } - -export enum ClusterObjectType { - INDIANAPOLIS = "indianapolis", - KAISERAUGST = "kaiseraugst", - PENZBERG = "penzberg" -} \ No newline at end of file