X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cfc5eebd666412870df195559adedeefe4178248..ac317fdfc6cc1bfdee257580a03a6054edac05a2:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index c118fd5712..b404496f93 100644 --- a/src/models/search-bar.ts +++ b/src/models/search-bar.ts @@ -2,27 +2,25 @@ // // SPDX-License-Identifier: AGPL-3.0 -import { ResourceKind } from '~/models/resource'; +import { ResourceKind } from 'models/resource'; -export type SearchBarAdvanceFormData = { +export type SearchBarAdvancedFormData = { type?: ResourceKind; - cluster?: ClusterObjectType; + cluster?: string; projectUuid?: string; inTrash: boolean; + pastVersions: boolean; 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; + keyID?: string; + value: string; + valueID?: string; } - -export enum ClusterObjectType { - INDIANAPOLIS = "indianapolis", - KAISERAUGST = "kaiseraugst", - PENZBERG = "penzberg" -} \ No newline at end of file