Replace typesafe-actions with unionize, add fetching user details action
[arvados-workbench2.git] / src / store / root-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 { routerReducer, RouterState } from "react-router-redux";
7 import authReducer, { AuthState } from "./auth-reducer";
8 import projectsReducer, { ProjectState } from "./project-reducer";
9
10 export interface RootState {
11     auth: AuthState,
12     projects: ProjectState,
13     router: RouterState
14 }
15
16 const rootReducer = combineReducers({
17     auth: authReducer,
18     projects: projectsReducer,
19     router: routerReducer
20 });
21
22 export default rootReducer;