Riverside,whereby doesnt have videoApi handle that (#3494)
This commit is contained in:
1 parent
9b5d311136
commit
e04cb8fc61
2 files changed
+19
-12
No files matched your search
Vendored
+9
-6
@@ -9,14 +9,17 @@ export interface VideoCallData {
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface VideoApiAdapter {
|
||||
createMeeting(event: CalendarEvent): Promise<VideoCallData>;
|
||||
// VideoApiAdapter is defined by the Video App. The App currently can choose to not define it. So, consider in type that VideoApiAdapter can be undefined.
|
||||
export type VideoApiAdapter =
|
||||
| {
|
||||
createMeeting(event: CalendarEvent): Promise<VideoCallData>;
|
||||
|
||||
updateMeeting(bookingRef: PartialReference, event: CalendarEvent): Promise<VideoCallData>;
|
||||
updateMeeting(bookingRef: PartialReference, event: CalendarEvent): Promise<VideoCallData>;
|
||||
|
||||
deleteMeeting(uid: string): Promise<unknown>;
|
||||
deleteMeeting(uid: string): Promise<unknown>;
|
||||
|
||||
getAvailability(dateFrom?: string, dateTo?: string): Promise<EventBusyDate[]>;
|
||||
}
|
||||
getAvailability(dateFrom?: string, dateTo?: string): Promise<EventBusyDate[]>;
|
||||
}
|
||||
| undefined;
|
||||
|
||||
export type VideoApiAdapterFactory = (credential: Credential) => VideoApiAdapter;
|
||||
Reference in new issue
Block a user