2019-04-04 23:05:23 +02:00
|
|
|
import { combineReducers } from 'redux';
|
|
|
|
import { connectRouter } from 'connected-react-router';
|
2019-06-11 20:10:58 +02:00
|
|
|
import {
|
|
|
|
claimsReducer,
|
|
|
|
fileInfoReducer,
|
|
|
|
searchReducer,
|
|
|
|
walletReducer,
|
2019-07-02 23:00:05 +02:00
|
|
|
tagsReducer,
|
2019-05-17 20:21:07 +02:00
|
|
|
commentReducer,
|
2019-08-02 17:11:31 +02:00
|
|
|
blockedReducer,
|
2019-07-03 04:30:34 +02:00
|
|
|
publishReducer,
|
2019-06-11 20:10:58 +02:00
|
|
|
} from 'lbry-redux';
|
2019-07-17 05:32:29 +02:00
|
|
|
import {
|
|
|
|
costInfoReducer,
|
|
|
|
blacklistReducer,
|
|
|
|
filteredReducer,
|
|
|
|
homepageReducer,
|
|
|
|
statsReducer,
|
2019-08-20 14:29:59 +02:00
|
|
|
syncReducer,
|
2020-05-07 20:44:11 +02:00
|
|
|
webReducer,
|
2019-07-17 05:32:29 +02:00
|
|
|
} from 'lbryinc';
|
2019-04-04 23:05:23 +02:00
|
|
|
import appReducer from 'redux/reducers/app';
|
|
|
|
import contentReducer from 'redux/reducers/content';
|
|
|
|
import settingsReducer from 'redux/reducers/settings';
|
|
|
|
import subscriptionsReducer from 'redux/reducers/subscriptions';
|
2020-06-15 22:33:03 +02:00
|
|
|
import notificationsReducer from 'redux/reducers/notifications';
|
|
|
|
import rewardsReducer from 'redux/reducers/rewards';
|
|
|
|
import userReducer from 'redux/reducers/user';
|
2019-07-03 04:30:34 +02:00
|
|
|
|
2019-04-04 23:05:23 +02:00
|
|
|
export default history =>
|
|
|
|
combineReducers({
|
|
|
|
router: connectRouter(history),
|
|
|
|
app: appReducer,
|
|
|
|
blacklist: blacklistReducer,
|
2019-07-17 05:32:29 +02:00
|
|
|
filtered: filteredReducer,
|
2019-04-04 23:05:23 +02:00
|
|
|
claims: claimsReducer,
|
2019-05-17 20:21:07 +02:00
|
|
|
comments: commentReducer,
|
2019-04-04 23:05:23 +02:00
|
|
|
content: contentReducer,
|
|
|
|
costInfo: costInfoReducer,
|
|
|
|
fileInfo: fileInfoReducer,
|
|
|
|
homepage: homepageReducer,
|
|
|
|
notifications: notificationsReducer,
|
|
|
|
publish: publishReducer,
|
|
|
|
rewards: rewardsReducer,
|
|
|
|
search: searchReducer,
|
|
|
|
settings: settingsReducer,
|
|
|
|
stats: statsReducer,
|
|
|
|
subscriptions: subscriptionsReducer,
|
2019-07-02 23:00:05 +02:00
|
|
|
tags: tagsReducer,
|
2019-08-02 17:11:31 +02:00
|
|
|
blocked: blockedReducer,
|
2019-04-04 23:05:23 +02:00
|
|
|
user: userReducer,
|
|
|
|
wallet: walletReducer,
|
2019-08-20 14:29:59 +02:00
|
|
|
sync: syncReducer,
|
2020-05-07 20:44:11 +02:00
|
|
|
web: webReducer,
|
2019-04-04 23:05:23 +02:00
|
|
|
});
|