X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f83344568cb070f716527288abe88a4ec5b0c305..d416c9aa7b70da4f8998792a42616b991d882f26:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index 798f9c8f..b404496f 100644 --- a/src/models/search-bar.ts +++ b/src/models/search-bar.ts @@ -2,13 +2,14 @@ // // 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; @@ -19,11 +20,7 @@ export type SearchBarAdvanceFormData = { export interface PropertyValue { key: string; + keyID?: string; value: string; -} - -export enum ClusterObjectType { - INDIANAPOLIS = "indianapolis", - KAISERAUGST = "kaiseraugst", - PENZBERG = "penzberg" + valueID?: string; }