Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/PdfGroupUncheckedCreateWithoutPdfsInput.schema.ts
2026-04-04 22:13:55 -04:00

14 lines
662 B
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PdfTitleKeySchema } from '../enums/PdfTitleKey.schema'
const makeSchema = () => z.object({
id: z.number().int().optional(),
title: z.string(),
titleKey: PdfTitleKeySchema.optional(),
createdAt: z.coerce.date().optional(),
patientId: z.number().int()
}).strict();
export const PdfGroupUncheckedCreateWithoutPdfsInputObjectSchema: z.ZodType<Prisma.PdfGroupUncheckedCreateWithoutPdfsInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupUncheckedCreateWithoutPdfsInput>;
export const PdfGroupUncheckedCreateWithoutPdfsInputObjectZodSchema = makeSchema();