15768: cleanup before sort/refresh fix Arvados-DCO-1.1-Signed-off-by: Lisa Knox...
[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 import { GroupResource } from './group';
7
8 export type SearchBarAdvancedFormData = {
9     type?: ResourceKind;
10     cluster?: string;
11     projectUuid?: string;
12     projectObject?: GroupResource;
13     inTrash: boolean;
14     pastVersions: boolean;
15     dateFrom: string;
16     dateTo: string;
17     saveQuery: boolean;
18     queryName: string;
19     searchValue: string;
20     properties: PropertyValue[];
21 };
22
23 export interface PropertyValue {
24     key: string;
25     keyID?: string;
26     value: string;
27     valueID?: string;
28 }