X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f5127724c5ca39a59a08ba20f843e530b0650be9..4b961d16b8f8ef8afbd13697a79fe4684acd0416:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index 9fadc2af..effaeed4 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; +}