* init endpoints for office 365 syncing * get web app url for oauth * update typings * nethods for office 365 calendar * update office 365 connect endpoint * update packages * add calendar type and if office 365 calendar * add SelectedCalendarsRepository and TokensModule * add functions for getting oauth credentials, getting default calendars and redirect url for office 365 calendar * update controllers * e2e tests for office 365 calendar endpoints * fixup! Merge branch 'main' into rajiv/cal-3544-outlookoffice365-integration-connect-atom * fixup! fixup! Merge branch 'main' into rajiv/cal-3544-outlookoffice365-integration-connect-atom * fix merge conflict * update typings * abstract microsoft outlook into its own module * add one common interface for calendar apps * make calendars dynamic * abstract every calendar app into its own service * cleanup * make all calendar endpoints dynamic * calendar app constants * cleanup * remove unused repositories * rename microsoft calendar type * fix typings * add google and outlook calendar service to calendars module * fixup * some more e2e tests including google calendar * chore: small type change and apple calendar not implemented yet --------- Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com> Co-authored-by: Morgan Vernay <morgan@cal.com> Co-authored-by: Rajiv Sahal <rajivsahal@Rajivs-MacBook-Pro.local>
15 lines
624 B
TypeScript
15 lines
624 B
TypeScript
export const GOOGLE_CALENDAR_TYPE = "google_calendar";
|
|
export const GOOGLE_CALENDAR_ID = "google-calendar";
|
|
export const OFFICE_365_CALENDAR_TYPE = "office365_calendar";
|
|
export const OFFICE_365_CALENDAR_ID = "office365-calendar";
|
|
export const GOOGLE_CALENDAR = "google";
|
|
export const OFFICE_365_CALENDAR = "office365";
|
|
export const APPLE_CALENDAR = "apple";
|
|
// APPLE_CALENDAR is not implemented yet
|
|
export const CALENDARS = [GOOGLE_CALENDAR, OFFICE_365_CALENDAR] as const;
|
|
|
|
export const APPS_TYPE_ID_MAPPING = {
|
|
[GOOGLE_CALENDAR_TYPE]: GOOGLE_CALENDAR_ID,
|
|
[OFFICE_365_CALENDAR_TYPE]: OFFICE_365_CALENDAR_ID,
|
|
} as const;
|