X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/3ad7e33a2d50e9ed2298624ea5cac7cb5cd21a6f..41f6f1e495c82fcfa79b87cf718fa2e9cd91c726:/src/models/project.ts diff --git a/src/models/project.ts b/src/models/project.ts index 83fb59bd..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}`; +};