Revert "Revert "Feature/cal 274 add webhooks (#628)" (#854)" (#876)

This reverts commit 6868474c92.

Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
Omar LópezandBailey Pumfleet authored and GitHub committed 2021-10-07 15:14:47 +00:00
1 parent a9ee2ef9ae
commit 30f97117e8
19 files changed
+956 -62

No files matched your search

@@ -1,5 +1,6 @@
import { Credential } from "@prisma/client";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import ICAL from "ical.js";
import { Attendee, createEvent, DurationObject, Person } from "ics";
import {
@@ -19,6 +20,8 @@ import logger from "@lib/logger";
import { CalendarApiAdapter, CalendarEvent, IntegrationCalendar } from "../../calendarClient";
import { stripHtml } from "../../emails/helpers";
dayjs.extend(utc);
const log = logger.getChildLogger({ prefix: ["[lib] caldav"] });
type EventBusyDate = Record<"start" | "end", Date>;