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.

constants.ts 694B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * An enumeration of support calendar integration types.
  3. *
  4. * @enum {string}
  5. */
  6. export const CALENDAR_TYPE = {
  7. GOOGLE: 'google',
  8. MICROSOFT: 'microsoft'
  9. };
  10. /**
  11. * An enumeration of known errors that can occur while interacting with the
  12. * calendar integration.
  13. *
  14. * @enum {string}
  15. */
  16. export const ERRORS = {
  17. AUTH_FAILED: 'sign_in_failed',
  18. GOOGLE_APP_MISCONFIGURED: 'idpiframe_initialization_failed'
  19. };
  20. /**
  21. * The number of days to fetch.
  22. */
  23. export const FETCH_END_DAYS = 10;
  24. /**
  25. * The number of days to go back when fetching.
  26. */
  27. export const FETCH_START_DAYS = -1;
  28. /**
  29. * The max number of events to fetch from the calendar.
  30. */
  31. export const MAX_LIST_LENGTH = 10;