* 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 <peeroke@gmail.com> Co-authored-by: Omar López <zomars@me.com>
32 lines
679 B
TypeScript
32 lines
679 B
TypeScript
import type { CalendarEvent } from "./Calendar";
|
|
import type { Event } from "./Event";
|
|
|
|
export interface PartialReference {
|
|
id?: number;
|
|
type: string;
|
|
uid: string;
|
|
meetingId?: string | null;
|
|
meetingPassword?: string | null;
|
|
meetingUrl?: string | null;
|
|
externalCalendarId?: string | null;
|
|
}
|
|
|
|
export interface EventResult<T> {
|
|
type: string;
|
|
success: boolean;
|
|
uid: string;
|
|
createdEvent?: T;
|
|
updatedEvent?: T | T[];
|
|
originalEvent: CalendarEvent;
|
|
}
|
|
|
|
export interface CreateUpdateResult {
|
|
results: Array<EventResult>;
|
|
referencesToCreate: Array<PartialReference>;
|
|
}
|
|
|
|
export interface PartialBooking {
|
|
id: number;
|
|
references: Array<PartialReference>;
|
|
}
|