projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '15020-collection-with-the-same-content-adress'
[arvados-workbench2.git]
/
src
/
models
/
search-bar.ts
diff --git
a/src/models/search-bar.ts
b/src/models/search-bar.ts
index 9fadc2af4a9d616f93ccbff5829799e39cf18bda..effaeed4c0e676882e6bccc9f445e9eb732d9483 100644
(file)
--- a/
src/models/search-bar.ts
+++ b/
src/models/search-bar.ts
@@
-4,19
+4,20
@@
import { ResourceKind } from '~/models/resource';
import { ResourceKind } from '~/models/resource';
-export
interface SearchBarAdvanceFormData
{
+export
type SearchBarAdvanceFormData =
{
type?: ResourceKind;
type?: ResourceKind;
- cluster?:
ClusterObjectType
;
- project?: string;
+ cluster?:
string
;
+ project
Uuid
?: string;
inTrash: boolean;
dateFrom: string;
dateTo: string;
saveQuery: boolean;
inTrash: boolean;
dateFrom: string;
dateTo: string;
saveQuery: boolean;
- searchQuery: string;
-}
+ queryName: string;
+ searchValue: string;
+ properties: PropertyValue[];
+};
-export enum ClusterObjectType {
- INDIANAPOLIS = "indianapolis",
- KAISERAUGST = "kaiseraugst",
- PENZBERG = "penzberg"
-}
\ No newline at end of file
+export interface PropertyValue {
+ key: string;
+ value: string;
+}