Files
DentalManagementMH06/packages/db/shared/schemas/updateOneAppointmentFile.schema.ts

11 lines
1.6 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { AppointmentFileSelectObjectSchema as AppointmentFileSelectObjectSchema } from './objects/AppointmentFileSelect.schema';
import { AppointmentFileIncludeObjectSchema as AppointmentFileIncludeObjectSchema } from './objects/AppointmentFileInclude.schema';
import { AppointmentFileUpdateInputObjectSchema as AppointmentFileUpdateInputObjectSchema } from './objects/AppointmentFileUpdateInput.schema';
import { AppointmentFileUncheckedUpdateInputObjectSchema as AppointmentFileUncheckedUpdateInputObjectSchema } from './objects/AppointmentFileUncheckedUpdateInput.schema';
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './objects/AppointmentFileWhereUniqueInput.schema';
export const AppointmentFileUpdateOneSchema: z.ZodType<Prisma.AppointmentFileUpdateArgs> = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), data: z.union([AppointmentFileUpdateInputObjectSchema, AppointmentFileUncheckedUpdateInputObjectSchema]), where: AppointmentFileWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.AppointmentFileUpdateArgs>;
export const AppointmentFileUpdateOneZodSchema = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), data: z.union([AppointmentFileUpdateInputObjectSchema, AppointmentFileUncheckedUpdateInputObjectSchema]), where: AppointmentFileWhereUniqueInputObjectSchema }).strict();