Files
DentalManagement09/packages/db/shared/schemas/findUniquePatientServiceHistory.schema.ts
T

9 lines
1.2 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './objects/PatientServiceHistorySelect.schema';
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema';
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
export const PatientServiceHistoryFindUniqueSchema: z.ZodType<Prisma.PatientServiceHistoryFindUniqueArgs> = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryFindUniqueArgs>;
export const PatientServiceHistoryFindUniqueZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict();