X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4f5fdd49c0c9866fbb613c6c82641d686b0b8ad5..f06094d87f1c1b1bb8e886dd723bcdf17f0b727d:/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; +}