Rocket.Chat.ReactNative/app/sagas/index.js

37 lines
875 B
JavaScript
Raw Normal View History

import { all } from 'redux-saga/effects';
2017-08-17 00:24:06 +00:00
import hello from './hello';
import login from './login';
2017-08-17 01:06:31 +00:00
import connect from './connect';
2017-08-17 02:06:22 +00:00
import rooms from './rooms';
2017-08-17 06:28:41 +00:00
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';
2017-08-17 00:24:06 +00:00
const root = function* root() {
yield all([
init(),
createChannel(),
hello(),
rooms(),
login(),
connect(),
messages(),
selectServer(),
state(),
starredMessages(),
pinnedMessages(),
mentionedMessages(),
snippetedMessages(),
roomFiles()
]);
2017-08-17 00:24:06 +00:00
};
2017-08-17 00:24:06 +00:00
export default root;