jiti-meet/react/features/calendar-sync/constants.js

27 lines
447 B
JavaScript

// @flow
/**
* An enumeration of support calendar integration types.
*
* @enum {string}
*/
export const CALENDAR_TYPE = {
GOOGLE: 'google',
MICROSOFT: 'microsoft'
};
/**
* The number of days to fetch.
*/
export const FETCH_END_DAYS = 10;
/**
* The number of days to go back when fetching.
*/
export const FETCH_START_DAYS = -1;
/**
* The max number of events to fetch from the calendar.
*/
export const MAX_LIST_LENGTH = 10;