Files
DentalManagementMHAprilgg/packages/db/shared/schemas/variants/input/PdfGroup.input.ts
2026-04-04 22:13:55 -04:00

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>;