2018-06-03 21:12:40 +03:00
|
|
|
import { combineReducers } from 'redux';
|
2020-04-27 11:52:19 +03:00
|
|
|
import serversReducer from '../servers/reducers/servers';
|
2018-06-14 21:11:41 +03:00
|
|
|
import selectedServerReducer from '../servers/reducers/selectedServer';
|
2018-06-15 22:49:25 +03:00
|
|
|
import shortUrlsListReducer from '../short-urls/reducers/shortUrlsList';
|
2018-06-17 18:12:16 +03:00
|
|
|
import shortUrlsListParamsReducer from '../short-urls/reducers/shortUrlsListParams';
|
2018-09-16 11:47:17 +03:00
|
|
|
import shortUrlCreationReducer from '../short-urls/reducers/shortUrlCreation';
|
|
|
|
import shortUrlDeletionReducer from '../short-urls/reducers/shortUrlDeletion';
|
2018-08-15 19:44:54 +03:00
|
|
|
import shortUrlTagsReducer from '../short-urls/reducers/shortUrlTags';
|
2020-01-17 23:07:59 +03:00
|
|
|
import shortUrlMetaReducer from '../short-urls/reducers/shortUrlMeta';
|
2020-03-30 21:42:58 +03:00
|
|
|
import shortUrlEditionReducer from '../short-urls/reducers/shortUrlEdition';
|
2018-09-01 12:26:35 +03:00
|
|
|
import shortUrlVisitsReducer from '../visits/reducers/shortUrlVisits';
|
2020-05-10 20:02:58 +03:00
|
|
|
import tagVisitsReducer from '../visits/reducers/tagVisits';
|
2018-09-01 12:26:35 +03:00
|
|
|
import shortUrlDetailReducer from '../visits/reducers/shortUrlDetail';
|
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';
|
2020-04-17 16:51:18 +03:00
|
|
|
import mercureInfoReducer from '../mercure/reducers/mercureInfo';
|
2020-04-26 14:00:23 +03:00
|
|
|
import settingsReducer from '../settings/reducers/settings';
|
2020-08-23 10:52:09 +03:00
|
|
|
import { ShlinkState } from '../container/types';
|
2018-06-14 20:42:42 +03:00
|
|
|
|
2020-08-23 10:52:09 +03:00
|
|
|
export default combineReducers<ShlinkState>({
|
2018-06-14 21:11:41 +03:00
|
|
|
servers: serversReducer,
|
|
|
|
selectedServer: selectedServerReducer,
|
2018-06-15 22:49:25 +03:00
|
|
|
shortUrlsList: shortUrlsListReducer,
|
2018-06-17 18:12:16 +03:00
|
|
|
shortUrlsListParams: shortUrlsListParamsReducer,
|
2018-09-16 11:47:17 +03:00
|
|
|
shortUrlCreationResult: shortUrlCreationReducer,
|
|
|
|
shortUrlDeletion: shortUrlDeletionReducer,
|
2018-08-15 19:44:54 +03:00
|
|
|
shortUrlTags: shortUrlTagsReducer,
|
2020-01-17 23:07:59 +03:00
|
|
|
shortUrlMeta: shortUrlMetaReducer,
|
2020-03-30 21:42:58 +03:00
|
|
|
shortUrlEdition: shortUrlEditionReducer,
|
2018-09-01 12:26:35 +03:00
|
|
|
shortUrlVisits: shortUrlVisitsReducer,
|
2020-05-10 20:02:58 +03:00
|
|
|
tagVisits: tagVisitsReducer,
|
2018-09-01 12:26:35 +03:00
|
|
|
shortUrlDetail: shortUrlDetailReducer,
|
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,
|
2020-04-17 16:51:18 +03:00
|
|
|
mercureInfo: mercureInfoReducer,
|
2020-04-26 14:00:23 +03:00
|
|
|
settings: settingsReducer,
|
2018-06-14 20:42:42 +03:00
|
|
|
});
|