Message post and get by id + Deps fixed

This commit is contained in:
Kevin Puig committed 2025-09-27 18:47:34 -04:00
1 parent da1310b9c8
commit 0ee3984262
11 files changed
+343 -132

No files matched your search

@@ -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()
})