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'
|
2020-12-17 06:34:00 +00:00
|
|
|
import albums from './albums'
|
2020-12-21 18:25:05 +00:00
|
|
|
import album_lists from './album_lists'
|
2020-12-17 06:34:00 +00:00
|
|
|
import bookmark_collections from './bookmark_collections'
|
2020-12-03 04:22:51 +00:00
|
|
|
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'
|
2020-12-20 17:27:24 +00:00
|
|
|
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'
|
2020-12-08 05:07:04 +00:00
|
|
|
import deck from './deck'
|
2020-03-27 22:57:03 +00:00
|
|
|
import filters from './filters'
|
|
|
|
import groups from './groups'
|
2020-08-06 05:13:49 +01:00
|
|
|
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'
|
2020-12-21 23:30:46 +00:00
|
|
|
import hashtags from './hashtags'
|
2020-04-02 04:17:21 +01:00
|
|
|
import height_cache from './height_cache'
|
2020-10-29 23:46:54 +00:00
|
|
|
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'
|
2020-11-07 05:29:35 +00:00
|
|
|
import news from './news'
|
2020-04-02 04:17:21 +01:00
|
|
|
import notifications from './notifications'
|
|
|
|
import polls from './polls'
|
|
|
|
import popover from './popover'
|
2020-11-09 19:28:43 +00:00
|
|
|
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'
|
2020-07-02 02:33:10 +01:00
|
|
|
import shop from './shop'
|
2020-07-22 04:24:26 +01:00
|
|
|
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'
|
2020-09-14 17:43:45 +01:00
|
|
|
import timeline_injections from './timeline_injections'
|
2020-08-06 05:24:20 +01:00
|
|
|
import toasts from './toasts'
|
2020-07-15 00:44:42 +01:00
|
|
|
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,
|
2020-12-21 18:25:05 +00:00
|
|
|
// albums,
|
|
|
|
// album_lists,
|
2020-12-17 06:34:00 +00:00
|
|
|
bookmark_collections,
|
2020-12-03 04:22:51 +00:00
|
|
|
chats,
|
|
|
|
chat_conversation_lists,
|
|
|
|
chat_conversation_messages,
|
2020-11-25 21:22:37 +00:00
|
|
|
chat_conversations,
|
|
|
|
chat_messages,
|
2020-12-20 17:27:24 +00:00
|
|
|
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,
|
2020-12-08 05:07:04 +00:00
|
|
|
deck,
|
2020-04-02 04:17:21 +01:00
|
|
|
filters,
|
|
|
|
groups,
|
2020-08-06 05:13:49 +01:00
|
|
|
group_categories,
|
2020-04-02 04:17:21 +01:00
|
|
|
group_editor,
|
|
|
|
group_lists,
|
|
|
|
group_relationships,
|
2020-12-21 23:30:46 +00:00
|
|
|
hashtags,
|
2020-04-02 04:17:21 +01:00
|
|
|
height_cache,
|
2020-10-29 23:46:54 +00:00
|
|
|
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,
|
2020-11-07 05:29:35 +00:00
|
|
|
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,
|
2020-11-09 19:28:43 +00:00
|
|
|
promotions,
|
2020-04-02 04:17:21 +01:00
|
|
|
push_notifications,
|
|
|
|
relationships,
|
|
|
|
reports,
|
|
|
|
search,
|
|
|
|
settings,
|
2020-07-02 02:33:10 +01:00
|
|
|
shop,
|
2020-07-22 04:24:26 +01:00
|
|
|
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)
|