//
// SPDX-License-Identifier: AGPL-3.0
-import { Resource } from "../common/api/common-resource-service";
-import { ResourceKind } from "./kinds";
+import { Resource, ResourceKind } from "./resource";
export interface GroupResource extends Resource {
- kind: ResourceKind.Group;
+ kind: ResourceKind.GROUP;
name: string;
- groupClass: 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