20031: Add includeDirectories flag to ProjectsTreePicker and add collection/directory...
[arvados.git] / src / models / project.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { GroupClass, GroupResource } from "./group";
6
7 export interface ProjectResource extends GroupResource {
8     frozenByUuid: null|string;
9     canManage: boolean;
10     groupClass: GroupClass.PROJECT | GroupClass.FILTER | GroupClass.ROLE;
11 }
12
13 export const getProjectUrl = (uuid: string) => {
14     return `/projects/${uuid}`;
15 };