mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add viewer do task details
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
import { z } from "zod";
|
||||
|
||||
const Bodyschema = z.object({
|
||||
SerialNumber: z.string(),
|
||||
DispatchDocId: z.number(),
|
||||
FolderID: z.any(),
|
||||
Subject: z.string(),
|
||||
Comment: z.string().optional(),
|
||||
DelegatedUserEmail: z.string().email(),
|
||||
UserId: z.any(),
|
||||
DraftIds: z.string(),
|
||||
export const ViewerAttachmentParams = z.object({
|
||||
ApplicationId: z.string().optional(),
|
||||
Assunto: z.string({}).nonempty(),
|
||||
DocDate: z.string(),
|
||||
DocId: z.string().nonempty(),
|
||||
DocNumber: z.string(),
|
||||
FolderId: z.string(),
|
||||
Sender: z.string(),
|
||||
SourceDocId: z.string(),
|
||||
content: z.string().nonempty(),
|
||||
path: z.string().nonempty(),
|
||||
ownerId: z.string().nonempty(),
|
||||
status: z.string().nonempty(),
|
||||
})
|
||||
|
||||
export type ViewerAttachment = z.infer<typeof ViewerAttachmentParams>;
|
||||
|
||||
Reference in New Issue
Block a user