(feat): add sonner call invite, to be replaced with dedicated popup

(feat): add fallback screen to preview page
(feat): show users call page
This commit is contained in:
Alois 2026-04-29 16:42:17 +02:00
commit 36902e340a
7 changed files with 214 additions and 23 deletions

View file

@ -198,7 +198,19 @@ export const ttp = {
call_id: z.string(),
}),
response: z.object({
users: z.array(z.number()),
user_ids: z.array(z.number()),
}),
},
call_invite: {
request: z.object({
call_id: z.string(),
call_secret: z.base64(),
receiver_id: z.number(),
}),
response: z.object({
call_id: z.string().optional(),
call_secret: z.base64().optional(),
sender_id: z.number().optional(),
}),
},
} satisfies Record<string, { request: z.ZodType; response: z.ZodType }>;