X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/85d29bbab95a2c63314a5f637503548106c56de6..750b2c391b5418bfd3db88e59429abad9fde6c1e:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index abc4b72b87..f9320a26d7 100644 --- a/src/models/search-bar.ts +++ b/src/models/search-bar.ts @@ -2,28 +2,27 @@ // // SPDX-License-Identifier: AGPL-3.0 -import { ResourceKind } from '~/models/resource'; +import { ResourceKind } from 'models/resource'; +import { GroupResource } from './group'; -export type SearchBarAdvanceFormData = { +export type SearchBarAdvancedFormData = { type?: ResourceKind; - cluster?: ClusterObjectType; + cluster?: string; projectUuid?: string; + projectObject?: GroupResource; inTrash: boolean; + pastVersions: boolean; dateFrom: string; dateTo: string; saveQuery: boolean; queryName: string; searchValue: string; - properties: PropertyValues[]; + properties: PropertyValue[]; }; -export interface PropertyValues { +export interface PropertyValue { key: string; + keyID?: string; value: string; -} - -export enum ClusterObjectType { - INDIANAPOLIS = "indianapolis", - KAISERAUGST = "kaiseraugst", - PENZBERG = "penzberg" + valueID?: string; }