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

10 lines
1.4 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 { PatientServiceHistoryCreateInputObjectSchema as PatientServiceHistoryCreateInputObjectSchema } from './objects/PatientServiceHistoryCreateInput.schema';
import { PatientServiceHistoryUncheckedCreateInputObjectSchema as PatientServiceHistoryUncheckedCreateInputObjectSchema } from './objects/PatientServiceHistoryUncheckedCreateInput.schema';
export const PatientServiceHistoryCreateOneSchema: z.ZodType<Prisma.PatientServiceHistoryCreateArgs> = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), data: z.union([PatientServiceHistoryCreateInputObjectSchema, PatientServiceHistoryUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateArgs>;
export const PatientServiceHistoryCreateOneZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), data: z.union([PatientServiceHistoryCreateInputObjectSchema, PatientServiceHistoryUncheckedCreateInputObjectSchema]) }).strict();