Fix wrong ringerId in auto-ended remote call

This commit is contained in:
Jamie Kyle
2024-01-03 11:19:08 -08:00
committed by GitHub
parent fee1359d5b
commit a60cf05f83
4 changed files with 57 additions and 16 deletions
+2
View File
@@ -79,6 +79,7 @@ export type CallDetails = Readonly<{
export type CallEventDetails = CallDetails &
Readonly<{
event: CallEvent;
eventSource: string;
}>;
export type CallHistoryDetails = CallDetails &
@@ -145,6 +146,7 @@ export const callDetailsSchema = z.object({
export const callEventDetailsSchema = callDetailsSchema.extend({
event: callEventSchema,
eventSource: z.string(),
}) satisfies z.ZodType<CallEventDetails>;
export const callHistoryDetailsSchema = callDetailsSchema.extend({