import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PdfTitleKeySchema } from '../enums/PdfTitleKey.schema'; import { PatientCreateNestedOneWithoutGroupsInputObjectSchema as PatientCreateNestedOneWithoutGroupsInputObjectSchema } from './PatientCreateNestedOneWithoutGroupsInput.schema'; import { PdfFileCreateNestedManyWithoutGroupInputObjectSchema as PdfFileCreateNestedManyWithoutGroupInputObjectSchema } from './PdfFileCreateNestedManyWithoutGroupInput.schema' const makeSchema = () => z.object({ title: z.string(), titleKey: PdfTitleKeySchema.optional(), createdAt: z.coerce.date().optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutGroupsInputObjectSchema), pdfs: z.lazy(() => PdfFileCreateNestedManyWithoutGroupInputObjectSchema).optional() }).strict(); export const PdfGroupCreateInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PdfGroupCreateInputObjectZodSchema = makeSchema();