mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add interface
This commit is contained in:
@@ -1,7 +1,20 @@
|
||||
import { z } from "zod";
|
||||
import { MessageAttachmentFileType, MessageAttachmentSource } from "../../../module/chat/data/dto/message/messageOutputDTO";
|
||||
import { base64Schema } from "src/app/utils/zod";
|
||||
|
||||
|
||||
export enum MessageAttachmentSource {
|
||||
Webtrix = 1,
|
||||
Device,
|
||||
}
|
||||
|
||||
export enum MessageAttachmentFileType {
|
||||
Doc = 1,
|
||||
Image ,
|
||||
Audio ,
|
||||
Video
|
||||
}
|
||||
|
||||
|
||||
export const MessageEntitySchema = z.object({
|
||||
$id: z.any().optional(),
|
||||
id: z.string().optional(),
|
||||
|
||||
Reference in New Issue
Block a user