UNPKG

twreporter-redux

Version:

redux actions and reducers for twreporter website

34 lines (31 loc) 944 B
import entities from './reducers/entities' import reduxStateFields from './constants/redux-state-fields' import indexPage from './reducers/index-page' import {post, posts} from './reducers/posts' import {topic, topics} from './reducers/topics' import { fetchIndexPageContent } from './actions/index-page' import { fetchAFullPost, fetchListedPosts, fetchEditorPickedPosts, fetchInfographicPostsOnIndexPage, fetchPhotographyPostsOnIndexPage } from './actions/posts' import { fetchAFullTopic, fetchTopics, fetchTopicsOnIndexPage } from './actions/topics' export default { actions: { fetchEditorPickedPosts, fetchTopics, fetchAFullPost, fetchAFullTopic, fetchListedPosts, fetchIndexPageContent, fetchTopicsOnIndexPage, fetchInfographicPostsOnIndexPage, fetchPhotographyPostsOnIndexPage, }, reducers: { entities, post, posts, topic, topics, indexPage, }, reduxStateFields, }