(fix): tooltips in fullscreen mode
All checks were successful
/ deploy (push) Successful in 14m47s

(feat): adjust to new calls array from ident res
This commit is contained in:
Alois 2026-05-09 21:33:21 +02:00
commit 8e5ed8217d
6 changed files with 27 additions and 11 deletions

View file

@ -45,6 +45,7 @@ export type Contacts = z.infer<
export type Communities = z.infer<
typeof ttp.challenge_response.response.shape.communities
>;
export type Calls = z.infer<typeof ttp.challenge_response.response.shape.calls>;
// TTP
export const ttp = {
@ -67,9 +68,6 @@ export const ttp = {
communities: z.array(z.object({})).optional(),
contacts: z.array(
z.object({
calls: z
.array(z.object({ call_id: z.string(), call_secret: z.base64() }))
.optional(),
last_message_at: z.number(),
user_id: z.number(),
last_message: z
@ -81,6 +79,13 @@ export const ttp = {
messages: z.array(message),
}),
),
calls: z.array(
z.object({
call_id: z.string(),
call_secret: z.base64().optional(),
call_members: z.array(z.number()),
}),
),
}),
},
get_user_data: {