projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18984: Refactor default data table view, add active filters notice to default view
[arvados-workbench2.git]
/
src
/
models
/
project.ts
diff --git
a/src/models/project.ts
b/src/models/project.ts
index 7d29de872974c62e5c7f9ce6fec6c3b591a1d5e6..b47b426f274989db009552aab3ecbd9e8c1bfa1e 100644
(file)
--- a/
src/models/project.ts
+++ b/
src/models/project.ts
@@
-2,7
+2,12
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import {
Resource } from "./resource
";
+import {
GroupClass, GroupResource } from "./group
";
-export interface Project extends Resource {
+export interface ProjectResource extends GroupResource {
+ groupClass: GroupClass.PROJECT | GroupClass.FILTER | GroupClass.ROLE;
}
}
+
+export const getProjectUrl = (uuid: string) => {
+ return `/projects/${uuid}`;
+};