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