Files
habitica/website/client/store/actions/index.js
T
2017-06-08 14:33:23 -07:00

23 lines
546 B
JavaScript

import { flattenAndNamespace } from 'client/libs/store/helpers/internals';
import * as common from './common';
import * as user from './user';
import * as tasks from './tasks';
import * as guilds from './guilds';
import * as party from './party';
import * as members from './members';
// Actions should be named as 'actionName' and can be accessed as 'namespace:actionName'
// Example: fetch in user.js -> 'user:fetch'
const actions = flattenAndNamespace({
common,
user,
tasks,
guilds,
party,
members,
});
export default actions;