Archived
Message post and get by id + Deps fixed
This commit is contained in:
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()
|
||||
})
|
||||
Reference in new issue
Block a user