import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { UserCreateWithoutPatientsInputObjectSchema as UserCreateWithoutPatientsInputObjectSchema } from './UserCreateWithoutPatientsInput.schema'; import { UserUncheckedCreateWithoutPatientsInputObjectSchema as UserUncheckedCreateWithoutPatientsInputObjectSchema } from './UserUncheckedCreateWithoutPatientsInput.schema'; import { UserCreateOrConnectWithoutPatientsInputObjectSchema as UserCreateOrConnectWithoutPatientsInputObjectSchema } from './UserCreateOrConnectWithoutPatientsInput.schema'; import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => UserCreateWithoutPatientsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientsInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutPatientsInputObjectSchema).optional(), connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional() }).strict(); export const UserCreateNestedOneWithoutPatientsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const UserCreateNestedOneWithoutPatientsInputObjectZodSchema = makeSchema();