Merge branch 'master'
[arvados-workbench2.git] / src / models / collection.ts
index 316b1fac59f6271ddc4fb2a0e6844669327f8c39..2a92594473cac819263e0af8ece34044475ba37f 100644 (file)
@@ -2,7 +2,19 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { Resource } from "./resource";
+import { Resource, ResourceKind } from "./resource";
 
-export interface Collection extends Resource {
+export interface CollectionResource extends Resource {
+    kind: ResourceKind.Collection;
+    name: string;
+    description: string;
+    properties: any;
+    portableDataHash: string;
+    manifestText: string;
+    replicationDesired: number;
+    replicationConfirmed: number;
+    replicationConfirmedAt: string;
+    trashAt: string;
+    deleteAt: string;
+    isTrashed: boolean;
 }