projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16212: Updates form POST to use new 'users/authenticate' endpoint.
[arvados-workbench2.git]
/
src
/
models
/
project.ts
diff --git
a/src/models/project.ts
b/src/models/project.ts
index d730bcdfd8c02ce676f368044dbf876367593a9c..8e101ce29ffeaac99cb7c2073aae96b8b79ac9e8 100644
(file)
--- a/
src/models/project.ts
+++ b/
src/models/project.ts
@@
-2,8
+2,12
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-export interface Project {
- name: string;
- createdAt: string;
-
icon?: any
;
+import { GroupClass, GroupResource } from "./group";
+
+export interface ProjectResource extends GroupResource {
+
groupClass: GroupClass.PROJECT
;
}
}
+
+export const getProjectUrl = (uuid: string) => {
+ return `/projects/${uuid}`;
+};