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

40 lines
1.9 KiB
TypeScript
Raw Normal View History

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';
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';
import shortUrlTagsReducer from '../short-urls/reducers/shortUrlTags';
import shortUrlMetaReducer from '../short-urls/reducers/shortUrlMeta';
import shortUrlEditionReducer from '../short-urls/reducers/shortUrlEdition';
import shortUrlVisitsReducer from '../visits/reducers/shortUrlVisits';
2020-05-10 20:02:58 +03:00
import tagVisitsReducer from '../visits/reducers/tagVisits';
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';
import mercureInfoReducer from '../mercure/reducers/mercureInfo';
import settingsReducer from '../settings/reducers/settings';
import { ShlinkState } from '../container/types';
2018-06-14 20:42:42 +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,
shortUrlsListParams: shortUrlsListParamsReducer,
2018-09-16 11:47:17 +03:00
shortUrlCreationResult: shortUrlCreationReducer,
shortUrlDeletion: shortUrlDeletionReducer,
shortUrlTags: shortUrlTagsReducer,
shortUrlMeta: shortUrlMetaReducer,
shortUrlEdition: shortUrlEditionReducer,
shortUrlVisits: shortUrlVisitsReducer,
2020-05-10 20:02:58 +03:00
tagVisits: tagVisitsReducer,
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,
mercureInfo: mercureInfoReducer,
settings: settingsReducer,
2018-06-14 20:42:42 +03:00
});