15 lines
439 B
TypeScript
15 lines
439 B
TypeScript
import * as z from 'zod';
|
|
import { PdfTitleKeySchema } from '../../enums/PdfTitleKey.schema';
|
|
// prettier-ignore
|
|
export const PdfGroupInputSchema = z.object({
|
|
id: z.number().int(),
|
|
title: z.string(),
|
|
titleKey: PdfTitleKeySchema,
|
|
createdAt: z.date(),
|
|
patientId: z.number().int(),
|
|
patient: z.unknown(),
|
|
pdfs: z.array(z.unknown())
|
|
}).strict();
|
|
|
|
export type PdfGroupInputType = z.infer<typeof PdfGroupInputSchema>;
|