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