Files
DentalManagementMH05/packages/db/shared/schemas/deleteOneAppointmentFile.schema.ts

9 lines
1.0 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 { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './objects/AppointmentFileWhereUniqueInput.schema';
export const AppointmentFileDeleteOneSchema: z.ZodType<Prisma.AppointmentFileDeleteArgs> = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.AppointmentFileDeleteArgs>;
export const AppointmentFileDeleteOneZodSchema = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInputObjectSchema }).strict();