Merge branch '14502_admin_compute_nodes'
[arvados-workbench2.git] / src / models / search-bar.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { ResourceKind } from '~/models/resource';
6
7 export type SearchBarAdvanceFormData = {
8     type?: ResourceKind;
9     cluster?: ClusterObjectType;
10     projectUuid?: string;
11     inTrash: boolean;
12     dateFrom: string;
13     dateTo: string;
14     saveQuery: boolean;
15     searchQuery: string;
16     properties: PropertyValues[];
17 } & PropertyValues;
18
19 export interface PropertyValues {
20     key: string;
21     value: string;
22 }
23
24 export enum ClusterObjectType {
25     INDIANAPOLIS = "indianapolis",
26     KAISERAUGST = "kaiseraugst",
27     PENZBERG = "penzberg"
28 }