about summary refs log tree commit diff
path: root/app/assets/javascripts/components/actions/timelines.jsx
blob: 91f06511a3ce0e59865c2052e6873ac14b94b8e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export const TIMELINE_SET    = 'TIMELINE_SET';
export const TIMELINE_UPDATE = 'TIMELINE_UPDATE';


export function setTimeline(timeline, statuses) {
  return {
    type: TIMELINE_SET,
    timeline: timeline,
    statuses: statuses
  };
}

export function updateTimeline(timeline, status) {
  return {
    type: TIMELINE_UPDATE,
    timeline: timeline,
    status: status
  };
}