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.
13 lines
848 B
13 lines
848 B
7 years ago
|
import { createAction } from 'redux-actions';
|
||
|
import * as types from './actionTypes';
|
||
|
import calendarActionHandlers from './calendarActionHandlers';
|
||
|
|
||
|
export const fetchCalendar = calendarActionHandlers[types.FETCH_CALENDAR];
|
||
|
export const setCalendarDaysCount = calendarActionHandlers[types.SET_CALENDAR_DAYS_COUNT];
|
||
|
export const setCalendarIncludeUnmonitored = calendarActionHandlers[types.SET_CALENDAR_INCLUDE_UNMONITORED];
|
||
|
export const setCalendarView = calendarActionHandlers[types.SET_CALENDAR_VIEW];
|
||
|
export const gotoCalendarToday = calendarActionHandlers[types.GOTO_CALENDAR_TODAY];
|
||
|
export const gotoCalendarPreviousRange = calendarActionHandlers[types.GOTO_CALENDAR_PREVIOUS_RANGE];
|
||
|
export const gotoCalendarNextRange = calendarActionHandlers[types.GOTO_CALENDAR_NEXT_RANGE];
|
||
|
export const clearCalendar = createAction(types.CLEAR_CALENDAR);
|