Merge branch '16602-wb2-acr-version' refs #16602
[arvados-workbench2.git] / src / models / project.ts
index 83862c94001a575f55136faa8b1d93653a44f415..8e101ce29ffeaac99cb7c2073aae96b8b79ac9e8 100644 (file)
@@ -2,11 +2,12 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-export interface Project {
-    name: string;
-    createdAt: string;
-    modifiedAt: string;
-    uuid: string;
-    ownerUuid: string;
-    href: string
+import { GroupClass, GroupResource } from "./group";
+
+export interface ProjectResource extends GroupResource {
+    groupClass: GroupClass.PROJECT;
 }
+
+export const getProjectUrl = (uuid: string) => {
+    return `/projects/${uuid}`;
+};