Merge branch '16602-wb2-acr-version' refs #16602
[arvados-workbench2.git] / src / models / group.ts
index 4bb9a7fd661eba4c836f7a735f0b8674ec6ff5af..e18c8ecbb96c6b67652ee51f2245ba022eaddd17 100644 (file)
@@ -2,21 +2,18 @@
 //
 // 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.Group;
+export interface GroupResource extends TrashableResource {
+    kind: ResourceKind.GROUP;
     name: string;
     groupClass: GroupClass | null;
     description: string;
-    properties: string;
-    writeableBy: string[];
-    trashAt: string;
-    deleteAt: string;
-    isTrashed: boolean;
+    properties: any;
+    writableBy: string[];
+    ensure_unique_name: boolean;
 }
 
 export enum GroupClass {
-    Project = "project"
-}
\ No newline at end of file
+    PROJECT = "project"
+}