20493: isArrayOfType handles union type (optional) arrays
[arvados-workbench2.git] / src / models / search-bar.ts
index effaeed4c0e676882e6bccc9f445e9eb732d9483..f9320a26d700f2582afea62cf512a0fb0ba2b085 100644 (file)
@@ -2,13 +2,16 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { ResourceKind } from '~/models/resource';
+import { ResourceKind } from 'models/resource';
+import { GroupResource } from './group';
 
-export type SearchBarAdvanceFormData = {
+export type SearchBarAdvancedFormData = {
     type?: ResourceKind;
     cluster?: string;
     projectUuid?: string;
+    projectObject?: GroupResource;
     inTrash: boolean;
+    pastVersions: boolean;
     dateFrom: string;
     dateTo: string;
     saveQuery: boolean;
@@ -19,5 +22,7 @@ export type SearchBarAdvanceFormData = {
 
 export interface PropertyValue {
     key: string;
+    keyID?: string;
     value: string;
+    valueID?: string;
 }