16 lines
1.8 KiB
TypeScript
16 lines
1.8 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema';
|
|
import { AppointmentFileUpdateWithoutAppointmentInputObjectSchema as AppointmentFileUpdateWithoutAppointmentInputObjectSchema } from './AppointmentFileUpdateWithoutAppointmentInput.schema';
|
|
import { AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema';
|
|
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
|
|
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema),
|
|
update: z.union([z.lazy(() => AppointmentFileUpdateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema)]),
|
|
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema)])
|
|
}).strict();
|
|
export const AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput>;
|
|
export const AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectZodSchema = makeSchema();
|