35 lines
835 B
JavaScript
35 lines
835 B
JavaScript
import { all } from 'redux-saga/effects';
|
|
import login from './login';
|
|
import connect from './connect';
|
|
import rooms from './rooms';
|
|
import messages from './messages';
|
|
import selectServer from './selectServer';
|
|
import createChannel from './createChannel';
|
|
import init from './init';
|
|
import state from './state';
|
|
import starredMessages from './starredMessages';
|
|
import pinnedMessages from './pinnedMessages';
|
|
import mentionedMessages from './mentionedMessages';
|
|
import snippetedMessages from './snippetedMessages';
|
|
import roomFiles from './roomFiles';
|
|
|
|
const root = function* root() {
|
|
yield all([
|
|
init(),
|
|
createChannel(),
|
|
rooms(),
|
|
login(),
|
|
connect(),
|
|
messages(),
|
|
selectServer(),
|
|
state(),
|
|
starredMessages(),
|
|
pinnedMessages(),
|
|
mentionedMessages(),
|
|
snippetedMessages(),
|
|
roomFiles()
|
|
]);
|
|
};
|
|
|
|
export default root;
|