projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '18594-Collection-Advanced-Menu-is-trying-to-fetch-User-record-with...
[arvados.git]
/
src
/
models
/
project.ts
diff --git
a/src/models/project.ts
b/src/models/project.ts
index f4faf7d64e14acddce651b3bc64b71a2d47ba78c..b47b426f274989db009552aab3ecbd9e8c1bfa1e 100644
(file)
--- a/
src/models/project.ts
+++ b/
src/models/project.ts
@@
-2,12
+2,12
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-export interface Project {
- name: string;
- createdAt: string;
- modifiedAt: string;
- uuid: string;
- ownerUuid: string;
- href: string;
- icon?: any;
+import { GroupClass, GroupResource } from "./group";
+
+export interface ProjectResource extends GroupResource {
+ groupClass: GroupClass.PROJECT | GroupClass.FILTER | GroupClass.ROLE;
}
}
+
+export const getProjectUrl = (uuid: string) => {
+ return `/projects/${uuid}`;
+};