1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
11 export interface CollectionResource extends TrashableResource, ResourceWithProperties {
12 kind: ResourceKind.COLLECTION;
15 portableDataHash: string;
17 replicationDesired: number;
18 replicationConfirmed: number;
19 replicationConfirmedAt: string;
20 storageClassesDesired: string[];
21 storageClassesConfirmed: string[];
22 storageClassesConfirmedAt: string;
23 currentVersionUuid: string;
25 preserveVersion: boolean;
26 unsignedManifestText?: string;
28 fileSizeTotal: number;
31 export const getCollectionUrl = (uuid: string) => {
32 return `/collections/${uuid}`;
35 export enum CollectionType {