Merge branch '14013-upload-collection-files-using-webdav' into 14014-create-collectio...
[arvados.git] / src / store / collections / collections-reducer.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { combineReducers } from 'redux';
6 import { collectionCreatorReducer, CollectionCreatorState } from "./creator/collection-creator-reducer";
7 import { collectionUpdaterReducer, CollectionUpdaterState } from "./updater/collection-updater-reducer";
8 import { collectionUploaderReducer, CollectionUploaderState } from "./uploader/collection-uploader-reducer";
9
10 export type CollectionsState = {
11     creator: CollectionCreatorState;
12     updater: CollectionUpdaterState;
13     uploader: CollectionUploaderState
14 };
15
16 export const collectionsReducer = combineReducers({
17     creator: collectionCreatorReducer,
18     updater: collectionUpdaterReducer,
19     uploader: collectionUploaderReducer
20 });