projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relinkified outputUuid and logUuid for processes, removed public/config.json Arvados...
[arvados.git]
/
src
/
models
/
project.ts
diff --git
a/src/models/project.ts
b/src/models/project.ts
index d730bcdfd8c02ce676f368044dbf876367593a9c..04dae4d22622a9ae44c39039167e011d7ba807a7 100644
(file)
--- a/
src/models/project.ts
+++ b/
src/models/project.ts
@@
-2,8
+2,14
@@
//
// 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 {
+ frozenByUuid: null|string;
+ canManage: boolean;
+ groupClass: GroupClass.PROJECT | GroupClass.FILTER | GroupClass.ROLE;
}
}
+
+export const getProjectUrl = (uuid: string) => {
+ return `/projects/${uuid}`;
+};