X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dcebdbfbd2d54d580932681a7ce182d27d0f98d8..c0afd448c39a41d229612afe47643aed7a2cf5dd:/src/models/project.ts diff --git a/src/models/project.ts b/src/models/project.ts index 83862c9400..b919450774 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 { GroupResource, GroupClass } from "./group"; + +export interface ProjectResource extends GroupResource { + groupClass: GroupClass.PROJECT; } + +export const getProjectUrl = (uuid: string) => { + return `/projects/${uuid}`; +};