As Google Meet is always installed, this fixes the doubling (#3093)
* As Google Meet is always installed, this fixes the doubling * Make entire Google link clickable, fix extraData * Attempt at type fixing :) * AdditionalInformation for the booking page? * Update packages/emails/src/components/LocationInfo.tsx Being explicit :) * Exclude AdditionalInformation as it is irrelevant here Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Omar López <[email protected]>
This commit is contained in:
12 files changed
+72
-74
No files matched your search
Vendored
+2
-2
@@ -34,7 +34,7 @@ export type NewCalendarEventType = {
|
||||
type: string;
|
||||
password: string;
|
||||
url: string;
|
||||
additionalInfo: Record<string, any>;
|
||||
additionalInfo: Record<string, unknown>;
|
||||
};
|
||||
|
||||
export type CalendarEventType = {
|
||||
@@ -154,7 +154,7 @@ export interface Calendar {
|
||||
uid: string,
|
||||
event: CalendarEvent,
|
||||
externalCalendarId?: string | null
|
||||
): Promise<Event | Event[]>;
|
||||
): Promise<NewCalendarEventType | NewCalendarEventType[]>;
|
||||
|
||||
deleteEvent(uid: string, event: CalendarEvent, externalCalendarId?: string | null): Promise<unknown>;
|
||||
|
||||
|
||||
Vendored
+3
-2
@@ -1,4 +1,5 @@
|
||||
import type { PartialReference } from "./EventManager";
|
||||
import type { NewCalendarEventType, AdditionalInformation } from "@calcom/types/Calendar";
|
||||
|
||||
import type { VideoCallData } from "./VideoApiAdapter";
|
||||
|
||||
export type Event = AdditionalInformation & VideoCallData;
|
||||
export type Event = AdditionalInformation | NewCalendarEventType | VideoCallData;
|
||||
Vendored
+3
-3
@@ -11,12 +11,12 @@ export interface PartialReference {
|
||||
externalCalendarId?: string | null;
|
||||
}
|
||||
|
||||
export interface EventResult {
|
||||
export interface EventResult<T> {
|
||||
type: string;
|
||||
success: boolean;
|
||||
uid: string;
|
||||
createdEvent?: Event;
|
||||
updatedEvent?: Event | Event[];
|
||||
createdEvent?: T;
|
||||
updatedEvent?: T | T[];
|
||||
originalEvent: CalendarEvent;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user