snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
35
react/features/calendar-sync/constants.ts
Normal file
35
react/features/calendar-sync/constants.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* An enumeration of support calendar integration types.
|
||||
*
|
||||
* @enum {string}
|
||||
*/
|
||||
export const CALENDAR_TYPE = {
|
||||
GOOGLE: 'google',
|
||||
MICROSOFT: 'microsoft'
|
||||
};
|
||||
|
||||
/**
|
||||
* An enumeration of known errors that can occur while interacting with the
|
||||
* calendar integration.
|
||||
*
|
||||
* @enum {string}
|
||||
*/
|
||||
export const ERRORS = {
|
||||
AUTH_FAILED: 'sign_in_failed',
|
||||
GOOGLE_APP_MISCONFIGURED: 'idpiframe_initialization_failed'
|
||||
};
|
||||
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user