2021-05-08 18:49:08 +02:00
|
|
|
import { combineReducers } from 'redux';
|
|
|
|
|
2021-11-09 12:21:36 +01:00
|
|
|
import { themeReducer } from './theme';
|
|
|
|
import { configReducer } from './config';
|
|
|
|
import { notificationReducer } from './notification';
|
2021-11-09 13:19:53 +01:00
|
|
|
import { appsReducer } from './app';
|
|
|
|
import { bookmarksReducer } from './bookmark';
|
2021-05-11 16:44:05 +02:00
|
|
|
|
2021-11-09 12:21:36 +01:00
|
|
|
export const reducers = combineReducers({
|
2021-05-10 19:02:16 +02:00
|
|
|
theme: themeReducer,
|
2021-11-09 12:21:36 +01:00
|
|
|
config: configReducer,
|
2021-06-13 00:16:57 +02:00
|
|
|
notification: notificationReducer,
|
2021-11-09 13:19:53 +01:00
|
|
|
apps: appsReducer,
|
|
|
|
bookmarks: bookmarksReducer,
|
2021-11-09 12:21:36 +01:00
|
|
|
});
|
2021-05-08 18:49:08 +02:00
|
|
|
|
2021-11-09 12:21:36 +01:00
|
|
|
export type State = ReturnType<typeof reducers>;
|