X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dcebdbfbd2d54d580932681a7ce182d27d0f98d8..35d6c5a870aeff7bb2cbf6ec80d306debad872c1:/src/models/project.ts diff --git a/src/models/project.ts b/src/models/project.ts index 83862c9400..8e101ce29f 100644 --- a/src/models/project.ts +++ b/src/models/project.ts @@ -2,11 +2,12 @@ // // 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 { + groupClass: GroupClass.PROJECT; } + +export const getProjectUrl = (uuid: string) => { + return `/projects/${uuid}`; +};