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

110 lines
2.8 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 albums from './albums'
import bookmark_collections from './bookmark_collections'
import chats from './chats'
import chat_conversation_lists from './chat_conversation_lists'
import chat_conversation_messages from './chat_conversation_messages'
2020-11-25 21:22:37 +00:00
import chat_conversations from './chat_conversations'
import chat_messages from './chat_messages'
import chat_settings from './chat_settings'
2020-03-27 22:57:03 +00:00
import compose from './compose'
2020-04-02 04:17:21 +01:00
import contexts from './contexts'
2020-03-27 22:57:03 +00:00
import custom_emojis from './custom_emojis'
import deck from './deck'
2020-03-27 22:57:03 +00:00
import filters from './filters'
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 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 news from './news'
2020-04-02 04:17:21 +01:00
import notifications from './notifications'
import polls from './polls'
import popover from './popover'
import promotions from './promotions'
2020-04-02 04:17:21 +01:00
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,
bookmark_collections,
chats,
chat_conversation_lists,
chat_conversation_messages,
2020-11-25 21:22:37 +00:00
chat_conversations,
chat_messages,
chat_settings,
2019-07-02 08:10:25 +01:00
compose,
2020-04-02 04:17:21 +01:00
contexts,
2019-07-02 08:10:25 +01:00
custom_emojis,
deck,
2020-04-02 04:17:21 +01:00
filters,
groups,
group_categories,
2020-04-02 04:17:21 +01:00
group_editor,
group_lists,
group_relationships,
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,
news,
2020-04-02 04:17:21 +01:00
notifications,
2019-07-02 08:10:25 +01:00
polls,
2020-04-02 04:17:21 +01:00
popover,
promotions,
2020-04-02 04:17:21 +01:00
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,
2020-12-10 16:51:45 +00:00
timeline_injections,
toasts,
user,
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)