refactor: use BookingReference instead of DailyEventReference (#3667)

* refactor: use BookingReference instead of DailyEventReference

* refactor: migrate DailyEventReference records to BookingReference

* refactor: drop DailyEventReference table

* fix linting

* Daily Video API adapter fixes

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Pavel Shapelandzomars authored and GitHub committed 2022-08-10 18:53:05 -06:00
1 parent 14f0c30584
commit 6d79f80928
17 files changed
+426 -370

No files matched your search

@@ -1,6 +1,12 @@
import { DestinationCalendar } from "@prisma/client";
import type { AdditionalInformation, CalendarEvent, ConferenceData, Person } from "@calcom/types/Calendar";
import type {
AdditionalInformation,
CalendarEvent,
ConferenceData,
Person,
VideoCallData,
} from "@calcom/types/Calendar";
class CalendarEventClass implements CalendarEvent {
type!: string;
@@ -15,7 +21,7 @@ class CalendarEventClass implements CalendarEvent {
conferenceData?: ConferenceData;
additionalInformation?: AdditionalInformation;
uid?: string | null;
videoCallData?: any;
videoCallData?: VideoCallData;
paymentInfo?: any;
destinationCalendar?: DestinationCalendar | null;
cancellationReason?: string | null;