You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
356 B

  1. export const SET_TIMELINE = 'SET_TIMELINE';
  2. export const ADD_STATUS = 'ADD_STATUS';
  3. export function setTimeline(timeline, statuses) {
  4. return {
  5. type: SET_TIMELINE,
  6. timeline: timeline,
  7. statuses: statuses
  8. };
  9. }
  10. export function addStatus(timeline, status) {
  11. return {
  12. type: ADD_STATUS,
  13. timeline: timeline,
  14. status: status
  15. };
  16. }