X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2cfb56ef5060cbad461062690fad650f15c49731..76c84f182253b2b10b570d669589fa576dd8ba81:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index 9fadc2af4a..effaeed4c0 100644 --- a/src/models/search-bar.ts +++ b/src/models/search-bar.ts @@ -4,19 +4,20 @@ import { ResourceKind } from '~/models/resource'; -export interface SearchBarAdvanceFormData { +export type SearchBarAdvanceFormData = { type?: ResourceKind; - cluster?: ClusterObjectType; - project?: string; + cluster?: string; + projectUuid?: string; inTrash: boolean; dateFrom: string; dateTo: string; saveQuery: boolean; - searchQuery: string; -} + queryName: string; + searchValue: string; + properties: PropertyValue[]; +}; -export enum ClusterObjectType { - INDIANAPOLIS = "indianapolis", - KAISERAUGST = "kaiseraugst", - PENZBERG = "penzberg" -} \ No newline at end of file +export interface PropertyValue { + key: string; + value: string; +}