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

13 lines
1.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema';
import { AppointmentCreateWithoutFilesInputObjectSchema as AppointmentCreateWithoutFilesInputObjectSchema } from './AppointmentCreateWithoutFilesInput.schema';
import { AppointmentUncheckedCreateWithoutFilesInputObjectSchema as AppointmentUncheckedCreateWithoutFilesInputObjectSchema } from './AppointmentUncheckedCreateWithoutFilesInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => AppointmentCreateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutFilesInputObjectSchema)])
}).strict();
export const AppointmentCreateOrConnectWithoutFilesInputObjectSchema: z.ZodType<Prisma.AppointmentCreateOrConnectWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateOrConnectWithoutFilesInput>;
export const AppointmentCreateOrConnectWithoutFilesInputObjectZodSchema = makeSchema();