mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 16:18:07 +01:00
19 lines
378 B
JavaScript
19 lines
378 B
JavaScript
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
|
|
};
|
|
}
|