X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/e8d0331277033fea37a9fd73ffc781ffca8759f0..c3cb884f7875aebfece64a7338af34e2f088f8f2:/src/models/group.ts diff --git a/src/models/group.ts b/src/models/group.ts index 4bb9a7fd..e18c8ecb 100644 --- a/src/models/group.ts +++ b/src/models/group.ts @@ -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" +}