projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20493: isArrayOfType handles union type (optional) arrays
[arvados-workbench2.git]
/
src
/
models
/
search-bar.ts
diff --git
a/src/models/search-bar.ts
b/src/models/search-bar.ts
index 9fadc2af4a9d616f93ccbff5829799e39cf18bda..f9320a26d700f2582afea62cf512a0fb0ba2b085 100644
(file)
--- a/
src/models/search-bar.ts
+++ b/
src/models/search-bar.ts
@@
-2,21
+2,27
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { ResourceKind } from '~/models/resource';
+import { ResourceKind } from 'models/resource';
+import { GroupResource } from './group';
-export
interface SearchBarAdvanceFormData
{
+export
type SearchBarAdvancedFormData =
{
type?: ResourceKind;
type?: ResourceKind;
- cluster?: ClusterObjectType;
- project?: string;
+ cluster?: string;
+ projectUuid?: string;
+ projectObject?: GroupResource;
inTrash: boolean;
inTrash: boolean;
+ pastVersions: boolean;
dateFrom: string;
dateTo: string;
saveQuery: boolean;
dateFrom: string;
dateTo: string;
saveQuery: boolean;
- searchQuery: string;
-}
+ queryName: string;
+ searchValue: string;
+ properties: PropertyValue[];
+};
-export
enum ClusterObjectTyp
e {
- INDIANAPOLIS = "indianapolis",
- KAISERAUGST = "kaiseraugst",
- PENZBERG = "penzberg"
-}
\ No newline at end of file
+export
interface PropertyValu
e {
+ key: string;
+ keyID?: string;
+ value: string;
+ valueID?: string;
+}