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

9 lines
1.1 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 AppointmentFileFindUniqueOrThrowSchema: z.ZodType<Prisma.AppointmentFileFindUniqueOrThrowArgs> = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.AppointmentFileFindUniqueOrThrowArgs>;
export const AppointmentFileFindUniqueOrThrowZodSchema = z.object({ select: AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInputObjectSchema }).strict();