Use required attribute for required fields in my account
[arvados.git] / src / models / collection.ts
index f8e38f9a0fac227bd2cfeccd62654723f9c66ef5..2b16ea2523a4de9d4cb4a776e402fc6ce2e7168e 100644 (file)
@@ -14,8 +14,17 @@ export interface CollectionResource extends TrashableResource {
     replicationDesired: number;
     replicationConfirmed: number;
     replicationConfirmedAt: string;
+    storageClassesDesired: string[];
+    storageClassesConfirmed: string[];
+    storageClassesConfirmedAt: string;
 }
 
 export const getCollectionUrl = (uuid: string) => {
     return `/collections/${uuid}`;
 };
+
+export enum CollectionType {
+    GENERAL = 'nil',
+    OUTPUT = 'output',
+    LOG = 'log',
+}