import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'; import { PatientCreateWithoutGroupsInputObjectSchema as PatientCreateWithoutGroupsInputObjectSchema } from './PatientCreateWithoutGroupsInput.schema'; import { PatientUncheckedCreateWithoutGroupsInputObjectSchema as PatientUncheckedCreateWithoutGroupsInputObjectSchema } from './PatientUncheckedCreateWithoutGroupsInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => PatientWhereUniqueInputObjectSchema), create: z.union([z.lazy(() => PatientCreateWithoutGroupsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutGroupsInputObjectSchema)]) }).strict(); export const PatientCreateOrConnectWithoutGroupsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientCreateOrConnectWithoutGroupsInputObjectZodSchema = makeSchema();