//
// 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;
}
export enum GroupClass {
- Project = "project"
-}
\ No newline at end of file
+ PROJECT = "project"
+}