This commit is contained in:
Kevin Puig
2025-09-28 06:06:44 -04:00
parent af8371ed84
commit d55049dfc4
4 changed files with 66 additions and 0 deletions

View File

@@ -18,3 +18,12 @@ export const sendMessageSchema = z.object({
token: z.string(),
repliedMessageId: z.uuidv7().nullable().optional(),
});
export const putMessageSchema = z.object({
id: z.uuidv7(),
content: z.string().optional(),
deleted: z.boolean().optional(),
token: z.string(),
});
export type PutMessage = z.infer<typeof putMessageSchema>;