projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update tree test
[arvados-workbench2.git]
/
src
/
models
/
collection.ts
diff --git
a/src/models/collection.ts
b/src/models/collection.ts
index 9cb8bb84f6d0963ac59eaf1db2d3276211ceedd8..f8e38f9a0fac227bd2cfeccd62654723f9c66ef5 100644
(file)
--- a/
src/models/collection.ts
+++ b/
src/models/collection.ts
@@
-2,9
+2,9
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { Resource
, ResourceKind
} from "./resource";
+import { Resource
Kind, TrashableResource
} from "./resource";
-export interface CollectionResource extends Resource {
+export interface CollectionResource extends
Trashable
Resource {
kind: ResourceKind.COLLECTION;
name: string;
description: string;
kind: ResourceKind.COLLECTION;
name: string;
description: string;
@@
-14,7
+14,8
@@
export interface CollectionResource extends Resource {
replicationDesired: number;
replicationConfirmed: number;
replicationConfirmedAt: string;
replicationDesired: number;
replicationConfirmed: number;
replicationConfirmedAt: string;
- trashAt: string;
- deleteAt: string;
- isTrashed: boolean;
}
}
+
+export const getCollectionUrl = (uuid: string) => {
+ return `/collections/${uuid}`;
+};