13 lines
1.3 KiB
TypeScript
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 { AppointmentFileUpdateWithoutAppointmentInputObjectSchema as AppointmentFileUpdateWithoutAppointmentInputObjectSchema } from './AppointmentFileUpdateWithoutAppointmentInput.schema';
|
|
import { AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema),
|
|
data: z.union([z.lazy(() => AppointmentFileUpdateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema)])
|
|
}).strict();
|
|
export const AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput>;
|
|
export const AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectZodSchema = makeSchema();
|