X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/36b4e36f75ea0035b6b0de6aaaad4edd3231371c..85836abe716b2403f3b7fe75c551e4ace3995157:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index 4df5c38f..b404496f 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 { +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