projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19315: Add container started by to process details attributes
[arvados.git]
/
src
/
models
/
project.ts
diff --git
a/src/models/project.ts
b/src/models/project.ts
index f4faf7d64e14acddce651b3bc64b71a2d47ba78c..04dae4d22622a9ae44c39039167e011d7ba807a7 100644
(file)
--- a/
src/models/project.ts
+++ b/
src/models/project.ts
@@
-2,12
+2,14
@@
//
// 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 {
+ frozenByUuid: null|string;
+ canManage: boolean;
+ groupClass: GroupClass.PROJECT | GroupClass.FILTER | GroupClass.ROLE;
}
}
+
+export const getProjectUrl = (uuid: string) => {
+ return `/projects/${uuid}`;
+};