X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/85d29bbab95a2c63314a5f637503548106c56de6..2d03b09bc6f29ab1bfe42a2fd3a88f17189e6a52:/src/models/search-bar.ts diff --git a/src/models/search-bar.ts b/src/models/search-bar.ts index abc4b72b87..c71faf2ff4 100644 --- a/src/models/search-bar.ts +++ b/src/models/search-bar.ts @@ -4,9 +4,9 @@ import { ResourceKind } from '~/models/resource'; -export type SearchBarAdvanceFormData = { +export type SearchBarAdvancedFormData = { type?: ResourceKind; - cluster?: ClusterObjectType; + cluster?: string; projectUuid?: string; inTrash: boolean; dateFrom: string; @@ -14,16 +14,12 @@ export type SearchBarAdvanceFormData = { 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; }