aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions/index.js
blob: 1c033fb96c5e9731d9aacb2b07adc17901752a1d (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
31
32
33
34
35
36
37
38
import PropTypes from 'prop-types';

import defineActions from './lib/actions';
import service from './service';
import recipe from './recipe';
import recipePreview from './recipePreview';
import ui from './ui';
import app from './app';
import user from './user';
import payment from './payment';
import news from './news';
import settings from './settings';
import requests from './requests';
import announcements from '../features/announcements/actions';
import workspaces from '../features/workspaces/actions';
import todos from '../features/todos/actions';
import planSelection from '../features/planSelection/actions';

const actions = Object.assign({}, {
  service,
  recipe,
  recipePreview,
  ui,
  app,
  user,
  payment,
  news,
  settings,
  requests,
});

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