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 798f9c8f27bd84d1aeb6fbb06aaa244771ff840b..f9320a26d700f2582afea62cf512a0fb0ba2b085 100644
(file)
--- a/
src/models/search-bar.ts
+++ b/
src/models/search-bar.ts
@@
-2,13
+2,16
@@
//
// 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 type SearchBarAdvanceFormData = {
+export type SearchBarAdvance
d
FormData = {
type?: ResourceKind;
type?: ResourceKind;
- cluster?:
ClusterObjectType
;
+ cluster?:
string
;
projectUuid?: string;
projectUuid?: string;
+ projectObject?: GroupResource;
inTrash: boolean;
inTrash: boolean;
+ pastVersions: boolean;
dateFrom: string;
dateTo: string;
saveQuery: boolean;
dateFrom: string;
dateTo: string;
saveQuery: boolean;
@@
-19,11
+22,7
@@
export type SearchBarAdvanceFormData = {
export interface PropertyValue {
key: string;
export interface PropertyValue {
key: string;
+ keyID?: string;
value: string;
value: string;
-}
-
-export enum ClusterObjectType {
- INDIANAPOLIS = "indianapolis",
- KAISERAUGST = "kaiseraugst",
- PENZBERG = "penzberg"
+ valueID?: string;
}
}