teamActions.tsx 441 B

123456789101112131415161718192021222324
  1. import {createActions} from 'reflux';
  2. const TeamActions = createActions([
  3. 'createTeam',
  4. 'createTeamError',
  5. 'createTeamSuccess',
  6. 'fetchAll',
  7. 'fetchAllError',
  8. 'fetchAllSuccess',
  9. 'fetchDetails',
  10. 'fetchDetailsError',
  11. 'fetchDetailsSuccess',
  12. 'loadTeams',
  13. 'loadUserTeams',
  14. 'removeTeam',
  15. 'removeTeamError',
  16. 'removeTeamSuccess',
  17. 'reset',
  18. 'update',
  19. 'updateError',
  20. 'updateSuccess',
  21. ]);
  22. export default TeamActions;