Merge branch '16602-wb2-acr-version' refs #16602
[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 SearchBarAdvancedFormData = {
8     type?: ResourceKind;
9     cluster?: string;
10     projectUuid?: string;
11     inTrash: boolean;
12     dateFrom: string;
13     dateTo: string;
14     saveQuery: boolean;
15     queryName: string;
16     searchValue: string;
17     properties: PropertyValue[];
18 };
19
20 export interface PropertyValue {
21     key: string;
22     keyID?: string;
23     value: string;
24     valueID?: string;
25 }