Message post and get by id + Deps fixed

This commit is contained in:
Kevin Puig
2025-09-27 18:47:34 -04:00
parent da1310b9c8
commit 0ee3984262
11 changed files with 343 additions and 132 deletions

View File

@@ -0,0 +1,13 @@
import { z } from "zod";
export const getMessageByIdSchema = z.object({
id: z.uuidv7()
})
export const sendMessageSchema = z.object({
channelId: z.uuidv7(),
userId: z.uuidv7(),
content: z.string(),
token: z.string(),
repliedMessageId: z.uuidv7().nullable().optional()
})