shlink-web-client/src/reducers/index.js

22 lines
983 B
JavaScript
Raw Normal View History

2018-06-03 21:12:40 +03:00
import { combineReducers } from 'redux';
2018-06-14 21:11:41 +03:00
import serversReducer from '../servers/reducers/server';
import selectedServerReducer from '../servers/reducers/selectedServer';
2018-06-15 22:49:25 +03:00
import shortUrlsListReducer from '../short-urls/reducers/shortUrlsList';
import shortUrlsListParamsReducer from '../short-urls/reducers/shortUrlsListParams';
import shortUrlCreationResultReducer from '../short-urls/reducers/shortUrlCreationResult';
import shortUrlVisitsReducer from '../short-urls/reducers/shortUrlVisits';
import shortUrlTagsReducer from '../short-urls/reducers/shortUrlTags';
2018-08-16 19:59:00 +03:00
import tagsListReducer from '../tags/reducers/tagsList';
2018-06-14 20:42:42 +03:00
2018-06-15 22:49:25 +03:00
export default combineReducers({
2018-06-14 21:11:41 +03:00
servers: serversReducer,
selectedServer: selectedServerReducer,
2018-06-15 22:49:25 +03:00
shortUrlsList: shortUrlsListReducer,
shortUrlsListParams: shortUrlsListParamsReducer,
shortUrlCreationResult: shortUrlCreationResultReducer,
shortUrlVisits: shortUrlVisitsReducer,
shortUrlTags: shortUrlTagsReducer,
2018-08-16 19:59:00 +03:00
tagsList: tagsListReducer,
2018-06-14 20:42:42 +03:00
});