//
// SPDX-License-Identifier: AGPL-3.0
-import { Resource as R } from "./resource";
-import { Resource } from "../common/api/common-resource-service";
-import { ResourceKind } from "./kinds";
-
-export interface Collection extends R {
-}
+import { Resource, ResourceKind } from "./resource";
export interface CollectionResource extends Resource {
- kind: ResourceKind.Collection;
+ kind: ResourceKind.COLLECTION;
name: string;
description: string;
properties: any;
deleteAt: string;
isTrashed: boolean;
}
+
+export const getCollectionUrl = (uuid: string) => {
+ return `/collections/${uuid}`;
+};
\ No newline at end of file