Fixed toaster, updated add conversation dialog
This commit is contained in:
parent
9deffbb099
commit
246b36abc9
3 changed files with 76 additions and 45 deletions
|
|
@ -128,6 +128,13 @@ export const socket = {
|
|||
}),
|
||||
response: z.object({}),
|
||||
},
|
||||
add_conversation: {
|
||||
request: z.object({
|
||||
chat_partner_id: z.number().optional(),
|
||||
chat_partner_name: z.string().min(1).max(15).optional(),
|
||||
}),
|
||||
response: z.object({}),
|
||||
},
|
||||
} satisfies Record<string, { request: z.ZodType; response: z.ZodType }>;
|
||||
|
||||
export type Socket = typeof socket;
|
||||
|
|
|
|||
Loading…
Reference in a new issue