X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f5127724c5ca39a59a08ba20f843e530b0650be9..8c47c51f1f72135217df614cfa53e379ff68151b:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index 9fadc2af..c71faf2f 100644 --- a/src/models/search-bar.ts +++ b/src/models/search-bar.ts @@ -4,19 +4,22 @@ import { ResourceKind } from '~/models/resource'; -export interface SearchBarAdvanceFormData { +export type SearchBarAdvancedFormData = { 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; + keyID?: string; + value: string; + valueID?: string; +}