Files
DentalManagement09/packages/db/shared/schemas/objects/PatientServiceHistoryArgs.schema.ts
T

12 lines
704 B
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './PatientServiceHistorySelect.schema';
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './PatientServiceHistoryInclude.schema'
const makeSchema = () => z.object({
select: z.lazy(() => PatientServiceHistorySelectObjectSchema).optional(),
include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema).optional()
}).strict();
export const PatientServiceHistoryArgsObjectSchema = makeSchema();
export const PatientServiceHistoryArgsObjectZodSchema = makeSchema();