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