X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/cfc5eebd666412870df195559adedeefe4178248..4549183cc07c5655be2108585d4d8c704cf31ff1:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index c118fd57..798f9c8f 100644 --- a/src/models/search-bar.ts +++ b/src/models/search-bar.ts @@ -12,17 +12,18 @@ export type SearchBarAdvanceFormData = { dateFrom: string; dateTo: string; saveQuery: boolean; - searchQuery: string; - properties: PropertyValues[]; -} & PropertyValues; + queryName: string; + searchValue: string; + properties: PropertyValue[]; +}; -export interface PropertyValues { - propertyKey: string; - propertyValue: string; +export interface PropertyValue { + key: string; + value: string; } export enum ClusterObjectType { INDIANAPOLIS = "indianapolis", KAISERAUGST = "kaiseraugst", PENZBERG = "penzberg" -} \ No newline at end of file +}