Implement reducer and state mapping functions
[arvados-workbench2.git] / src / store / collection-panel / collection-panel-files / collection-panel-files-state.ts
index 8869fd3035e47c72d25cf4e20e5ff9c4369b45ad..953f4c0111492863100f2aecf8b43330ff64a805 100644 (file)
@@ -5,10 +5,10 @@
 export type CollectionPanelFilesState = Array<CollectionPanelFile>;
 
 export interface CollectionPanelFile {
-    parentId: string;
+    parentId?: string;
     id: string;
     name: string;
-    size: number;
+    size?: number;
     collapsed: boolean;
     selected: boolean;
     type: string;