projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'main' into 19438-resource-panel refs #19438
[arvados.git]
/
src
/
models
/
project.ts
diff --git
a/src/models/project.ts
b/src/models/project.ts
index 83fb59bd3eb0b4f77854848a3637488ce9894eb2..04dae4d22622a9ae44c39039167e011d7ba807a7 100644
(file)
--- a/
src/models/project.ts
+++ b/
src/models/project.ts
@@
-2,11
+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;
+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}`;
+};