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.
20 lines
378 B
20 lines
378 B
8 years ago
|
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
|
||
|
};
|
||
|
}
|