gab-social/app/javascript/gabsocial/reducers/index.js

95 lines
2.3 KiB
JavaScript
Raw Normal View History

2020-03-27 22:57:03 +00:00
import { combineReducers } from 'redux-immutable'
import { loadingBarReducer } from 'react-redux-loading-bar'
import accounts from './accounts'
import accounts_counters from './accounts_counters'
import compose from './compose'
2020-04-02 04:17:21 +01:00
import contexts from './contexts'
import conversations from './conversations'
2020-03-27 22:57:03 +00:00
import custom_emojis from './custom_emojis'
import filters from './filters'
import gab from './gab'
2020-03-27 22:57:03 +00:00
import groups from './groups'
import group_categories from './group_categories'
2020-03-27 22:57:03 +00:00
import group_editor from './group_editor'
2020-04-02 04:17:21 +01:00
import group_lists from './group_lists'
import group_relationships from './group_relationships'
import hashtags from './hashtags'
import height_cache from './height_cache'
import links from './links.js'
2020-04-02 04:17:21 +01:00
import lists from './lists'
import listAdder from './list_adder'
import listEditor from './list_editor'
import media_attachments from './media_attachments'
import meta from './meta'
import modal from './modal'
import mutes from './mutes'
import notifications from './notifications'
import polls from './polls'
import popover from './popover'
import push_notifications from './push_notifications'
import relationships from './relationships'
import reports from './reports'
import search from './search'
import settings from './settings'
import shop from './shop'
import shortcuts from './shortcuts'
2020-03-27 22:57:03 +00:00
import sidebar from './sidebar'
2020-04-02 04:17:21 +01:00
import statuses from './statuses'
import status_lists from './status_lists'
2020-03-27 22:57:03 +00:00
import status_revisions from './status_revisions'
2020-04-02 04:17:21 +01:00
import suggestions from './suggestions'
import timelines from './timelines'
import timeline_injections from './timeline_injections'
import toasts from './toasts'
import user from './user'
2020-04-02 04:17:21 +01:00
import user_lists from './user_lists'
2019-07-02 08:10:25 +01:00
const reducers = {
accounts,
accounts_counters,
compose,
2020-04-02 04:17:21 +01:00
contexts,
conversations,
2019-07-02 08:10:25 +01:00
custom_emojis,
2020-04-02 04:17:21 +01:00
filters,
gab,
2020-04-02 04:17:21 +01:00
groups,
group_categories,
2020-04-02 04:17:21 +01:00
group_editor,
group_lists,
group_relationships,
hashtags,
height_cache,
links,
2019-07-02 08:10:25 +01:00
lists,
listAdder,
2020-04-02 04:17:21 +01:00
listEditor,
loadingBar: loadingBarReducer,
media_attachments,
meta,
modal,
mutes,
notifications,
2019-07-02 08:10:25 +01:00
polls,
2020-04-02 04:17:21 +01:00
popover,
push_notifications,
relationships,
reports,
search,
settings,
shop,
shortcuts,
2019-08-15 04:04:03 +01:00
sidebar,
2020-04-02 04:17:21 +01:00
statuses,
status_lists,
2020-03-27 22:57:03 +00:00
status_revisions,
2020-04-02 04:17:21 +01:00
suggestions,
timelines,
timeline_injections,
toasts,
user,
2020-04-02 04:17:21 +01:00
user_lists,
2020-03-27 22:57:03 +00:00
}
2019-07-02 08:10:25 +01:00
2020-03-27 22:57:03 +00:00
export default combineReducers(reducers)