mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
19 lines
511 B
TypeScript
19 lines
511 B
TypeScript
import { z } from "zod";
|
|
|
|
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>;
|