mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
show last messae and date
This commit is contained in:
@@ -36,7 +36,7 @@ export const MessageEntitySchema = z.object({
|
||||
wxUserId: z.number(),
|
||||
wxFullName: z.string(),
|
||||
wxeMail: z.string(),
|
||||
userPhoto: z.string(),
|
||||
userPhoto: z.string().nullable(),
|
||||
}),
|
||||
reactions: z.object({
|
||||
id: z.string(),
|
||||
@@ -61,7 +61,7 @@ export const MessageEntitySchema = z.object({
|
||||
mimeType: z.string().optional(),
|
||||
safeFile: z.any().optional(),
|
||||
description: z.string().nullable().optional()
|
||||
})).optional()
|
||||
})).optional(),
|
||||
})
|
||||
|
||||
export type IMessage = z.infer<typeof MessageEntitySchema>;
|
||||
|
||||
Reference in New Issue
Block a user