X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/dcebdbfbd2d54d580932681a7ce182d27d0f98d8..342f4ed11da7860e834928aa79974f096a8f6291:/src/models/project.ts?ds=sidebyside diff --git a/src/models/project.ts b/src/models/project.ts index 83862c94..b47b426f 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 | GroupClass.FILTER | GroupClass.ROLE; } + +export const getProjectUrl = (uuid: string) => { + return `/projects/${uuid}`; +};