import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientCreateWithoutProceduresInputObjectSchema as PatientCreateWithoutProceduresInputObjectSchema } from './PatientCreateWithoutProceduresInput.schema'; import { PatientUncheckedCreateWithoutProceduresInputObjectSchema as PatientUncheckedCreateWithoutProceduresInputObjectSchema } from './PatientUncheckedCreateWithoutProceduresInput.schema'; import { PatientCreateOrConnectWithoutProceduresInputObjectSchema as PatientCreateOrConnectWithoutProceduresInputObjectSchema } from './PatientCreateOrConnectWithoutProceduresInput.schema'; import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => PatientCreateWithoutProceduresInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutProceduresInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutProceduresInputObjectSchema).optional(), connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional() }).strict(); export const PatientCreateNestedOneWithoutProceduresInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientCreateNestedOneWithoutProceduresInputObjectZodSchema = makeSchema();