import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { StaffCreateWithoutAppointmentsInputObjectSchema as StaffCreateWithoutAppointmentsInputObjectSchema } from './StaffCreateWithoutAppointmentsInput.schema'; import { StaffUncheckedCreateWithoutAppointmentsInputObjectSchema as StaffUncheckedCreateWithoutAppointmentsInputObjectSchema } from './StaffUncheckedCreateWithoutAppointmentsInput.schema'; import { StaffCreateOrConnectWithoutAppointmentsInputObjectSchema as StaffCreateOrConnectWithoutAppointmentsInputObjectSchema } from './StaffCreateOrConnectWithoutAppointmentsInput.schema'; import { StaffWhereUniqueInputObjectSchema as StaffWhereUniqueInputObjectSchema } from './StaffWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => StaffCreateWithoutAppointmentsInputObjectSchema), z.lazy(() => StaffUncheckedCreateWithoutAppointmentsInputObjectSchema)]).optional(), connectOrCreate: z.lazy(() => StaffCreateOrConnectWithoutAppointmentsInputObjectSchema).optional(), connect: z.lazy(() => StaffWhereUniqueInputObjectSchema).optional() }).strict(); export const StaffCreateNestedOneWithoutAppointmentsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const StaffCreateNestedOneWithoutAppointmentsInputObjectZodSchema = makeSchema();