aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions/index.ts
blob: 2368e98a560a089b616fa41a81895e6436bafa21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import PropTypes from 'prop-types';

import { todoActions } from '../features/todos/actions';
import workspaces from '../features/workspaces/actions';
import app from './app';
import defineActions from './lib/actions';
import recipe from './recipe';
import recipePreview from './recipePreview';
import requests from './requests';
import service from './service';
import settings from './settings';
import ui from './ui';
import user from './user';

const actions = {
  service,
  recipe,
  recipePreview,
  ui,
  app,
  user,
  settings,
  requests,
};

export default Object.assign(
  defineActions(actions, PropTypes.checkPropTypes),
  { workspaces },
  { todos: todoActions },
);