Merge branch '13703-data-explorer-and-contents-api'
[arvados.git] / src / models / collection.ts
index 316b1fac59f6271ddc4fb2a0e6844669327f8c39..cf5b4e68ce0d2d36331715461a4879b593cd5dcb 100644 (file)
@@ -2,7 +2,24 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { Resource } from "./resource";
+import { Resource as R } from "./resource";
+import { Resource } from "../common/api/common-resource-service";
+import { ResourceKind } from "./kinds";
 
-export interface Collection extends Resource {
+export interface Collection extends R {
+}
+
+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;
 }