projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add trash view
[arvados.git]
/
src
/
models
/
collection.ts
diff --git
a/src/models/collection.ts
b/src/models/collection.ts
index 0e96f7fd3dd6f1473f62d8c2a2e3226aa42f6507..5215998956cde1d419b00e1c47a71beab565f4eb 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, TrashResource
} from "./resource";
-export interface CollectionResource extends Resource {
+export interface CollectionResource extends
Trash
Resource {
kind: ResourceKind.COLLECTION;
name: string;
description: string;
kind: ResourceKind.COLLECTION;
name: string;
description: string;
@@
-14,11
+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}`;
}
export const getCollectionUrl = (uuid: string) => {
return `/collections/${uuid}`;
-};
\ No newline at end of file
+};