aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions/index.js
blob: fc525afeb58a0e8eb9b3f487836c604c741877e0 (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
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';

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

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