mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
* wip: add guilds discovery page * add public guilds page * fix and add tests for the groups utilities mixin
16 lines
No EOL
392 B
JavaScript
16 lines
No EOL
392 B
JavaScript
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; |