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.

19 lines
378 B

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