Unify use of Collection and Project resource types
[arvados-workbench2.git] / src / models / collection.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Resource } from "../common/api/common-resource-service";
6 import { ResourceKind } from "./kinds";
7
8 export interface CollectionResource extends Resource {
9     kind: ResourceKind.Collection;
10     name: string;
11     description: string;
12     properties: any;
13     portableDataHash: string;
14     manifestText: string;
15     replicationDesired: number;
16     replicationConfirmed: number;
17     replicationConfirmedAt: string;
18     trashAt: string;
19     deleteAt: string;
20     isTrashed: boolean;
21 }