16718: Adds option to search for collection's past versions.
[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     pastVersions: boolean;
13     dateFrom: string;
14     dateTo: string;
15     saveQuery: boolean;
16     queryName: string;
17     searchValue: string;
18     properties: PropertyValue[];
19 };
20
21 export interface PropertyValue {
22     key: string;
23     keyID?: string;
24     value: string;
25     valueID?: string;
26 }