Files
DentalManagementMH06/packages/db/shared/schemas/objects/AppointmentFileCreateOrConnectWithoutAppointmentInput.schema.ts

13 lines
1.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema';
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema)])
}).strict();
export const AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateOrConnectWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateOrConnectWithoutAppointmentInput>;
export const AppointmentFileCreateOrConnectWithoutAppointmentInputObjectZodSchema = makeSchema();