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

25 lines
1.1 KiB
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 '../visits/reducers/shortUrlVisits';
import shortUrlTagsReducer from '../short-urls/reducers/shortUrlTags';
2018-08-16 19:59:00 +03:00
import tagsListReducer from '../tags/reducers/tagsList';
2018-08-18 17:39:47 +03:00
import tagDeleteReducer from '../tags/reducers/tagDelete';
2018-08-18 23:59:53 +03:00
import tagEditReducer from '../tags/reducers/tagEdit';
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-08-18 17:39:47 +03:00
tagDelete: tagDeleteReducer,
2018-08-18 23:59:53 +03:00
tagEdit: tagEditReducer,
2018-06-14 20:42:42 +03:00
});