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

15 lines
442 B
TypeScript

import * as z from 'zod';
import { PdfTitleKeySchema } from '../../enums/PdfTitleKey.schema';
// prettier-ignore
export const PdfGroupResultSchema = 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 PdfGroupResultType = z.infer<typeof PdfGroupResultSchema>;