projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '17691-relax-add-ssh-validation' into main. Closes #17691
[arvados-workbench2.git]
/
src
/
models
/
group.ts
diff --git
a/src/models/group.ts
b/src/models/group.ts
index dae516bddb0f19548b0417bef78f33632aa53648..365e9ccebb9fc22341da3589f2dc993287d304c7 100644
(file)
--- a/
src/models/group.ts
+++ b/
src/models/group.ts
@@
-2,17
+2,19
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { Resource } from "../common/api/common-resource-service";
-import { ResourceKind } from "./kinds";
+import { ResourceKind, TrashableResource } from "./resource";
-export interface GroupResource extends Resource {
- kind: ResourceKind.G
roup
;
+export interface GroupResource extends
Trashable
Resource {
+ kind: ResourceKind.G
ROUP
;
name: string;
name: string;
- groupClass:
string
;
+ groupClass:
GroupClass | null
;
description: string;
description: string;
- properties: string;
- writeableBy: string[];
- trashAt: string;
- deleteAt: string;
- isTrashed: boolean;
-}
\ No newline at end of file
+ properties: any;
+ writableBy: string[];
+ ensure_unique_name: boolean;
+}
+
+export enum GroupClass {
+ PROJECT = 'project',
+ FILTER = 'filter',
+}