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
356 B
19 lines
356 B
8 years ago
|
export const SET_TIMELINE = 'SET_TIMELINE';
|
||
|
export const ADD_STATUS = 'ADD_STATUS';
|
||
|
|
||
|
export function setTimeline(timeline, statuses) {
|
||
|
return {
|
||
|
type: SET_TIMELINE,
|
||
|
timeline: timeline,
|
||
|
statuses: statuses
|
||
|
};
|
||
|
}
|
||
|
|
||
|
export function addStatus(timeline, status) {
|
||
|
return {
|
||
|
type: ADD_STATUS,
|
||
|
timeline: timeline,
|
||
|
status: status
|
||
|
};
|
||
|
}
|