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

11 lines
1.7 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 { PatientServiceHistoryUpdateInputObjectSchema as PatientServiceHistoryUpdateInputObjectSchema } from './objects/PatientServiceHistoryUpdateInput.schema';
import { PatientServiceHistoryUncheckedUpdateInputObjectSchema as PatientServiceHistoryUncheckedUpdateInputObjectSchema } from './objects/PatientServiceHistoryUncheckedUpdateInput.schema';
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
export const PatientServiceHistoryUpdateOneSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateArgs> = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), data: z.union([PatientServiceHistoryUpdateInputObjectSchema, PatientServiceHistoryUncheckedUpdateInputObjectSchema]), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateArgs>;
export const PatientServiceHistoryUpdateOneZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), data: z.union([PatientServiceHistoryUpdateInputObjectSchema, PatientServiceHistoryUncheckedUpdateInputObjectSchema]), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict();