mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
create room
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { z } from "zod"
|
||||
|
||||
const MessageOutPutDTOSchema = z.object({
|
||||
id: z.string(),
|
||||
sender: z.object({
|
||||
wxUserId: z.number(),
|
||||
wxFullName: z.string(),
|
||||
wxeMail: z.string().email(),
|
||||
userPhoto: z.string()
|
||||
}),
|
||||
message: z.string().datetime(),
|
||||
messageType: z.string().datetime(),
|
||||
sentAt: z.number(),
|
||||
deliverAt: z.any(),
|
||||
canEdit: z.any(),
|
||||
oneShot: z.any(),
|
||||
requireUnlock: z.any()
|
||||
});
|
||||
|
||||
export type MessageOutPutDTO = z.infer<typeof MessageOutPutDTOSchema>
|
||||
Reference in New Issue
Block a user