mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-27 03:18:22 +03:00
39 lines
1.9 KiB
TypeScript
39 lines
1.9 KiB
TypeScript
import { combineReducers } from 'redux';
|
|
import serversReducer from '../servers/reducers/servers';
|
|
import selectedServerReducer from '../servers/reducers/selectedServer';
|
|
import shortUrlsListReducer from '../short-urls/reducers/shortUrlsList';
|
|
import shortUrlsListParamsReducer from '../short-urls/reducers/shortUrlsListParams';
|
|
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';
|
|
import tagVisitsReducer from '../visits/reducers/tagVisits';
|
|
import shortUrlDetailReducer from '../visits/reducers/shortUrlDetail';
|
|
import tagsListReducer from '../tags/reducers/tagsList';
|
|
import tagDeleteReducer from '../tags/reducers/tagDelete';
|
|
import tagEditReducer from '../tags/reducers/tagEdit';
|
|
import mercureInfoReducer from '../mercure/reducers/mercureInfo';
|
|
import settingsReducer from '../settings/reducers/settings';
|
|
import { ShlinkState } from '../container/types';
|
|
|
|
export default combineReducers<ShlinkState>({
|
|
servers: serversReducer,
|
|
selectedServer: selectedServerReducer,
|
|
shortUrlsList: shortUrlsListReducer,
|
|
shortUrlsListParams: shortUrlsListParamsReducer,
|
|
shortUrlCreationResult: shortUrlCreationReducer,
|
|
shortUrlDeletion: shortUrlDeletionReducer,
|
|
shortUrlTags: shortUrlTagsReducer,
|
|
shortUrlMeta: shortUrlMetaReducer,
|
|
shortUrlEdition: shortUrlEditionReducer,
|
|
shortUrlVisits: shortUrlVisitsReducer,
|
|
tagVisits: tagVisitsReducer,
|
|
shortUrlDetail: shortUrlDetailReducer,
|
|
tagsList: tagsListReducer,
|
|
tagDelete: tagDeleteReducer,
|
|
tagEdit: tagEditReducer,
|
|
mercureInfo: mercureInfoReducer,
|
|
settings: settingsReducer,
|
|
});
|