X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b323a94f313671b44a066a2f91dea562e9464d10..40952ad86a823635968c9abc5d6feacef316cffd:/src/models/collection.ts diff --git a/src/models/collection.ts b/src/models/collection.ts index 2a92594473..0e96f7fd3d 100644 --- a/src/models/collection.ts +++ b/src/models/collection.ts @@ -5,7 +5,7 @@ import { Resource, ResourceKind } from "./resource"; export interface CollectionResource extends Resource { - kind: ResourceKind.Collection; + kind: ResourceKind.COLLECTION; name: string; description: string; properties: any; @@ -18,3 +18,7 @@ export interface CollectionResource extends Resource { deleteAt: string; isTrashed: boolean; } + +export const getCollectionUrl = (uuid: string) => { + return `/collections/${uuid}`; +}; \ No newline at end of file