21128: readonly collections good Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox...
[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     groupClass: GroupClass.PROJECT | GroupClass.FILTER | GroupClass.ROLE;
10 }
11
12 export const getProjectUrl = (uuid: string) => {
13     return `/projects/${uuid}`;
14 };