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

13 lines
1.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema';
import { PatientServiceHistoryUpdateWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateWithoutPatientInput.schema';
import { PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedUpdateWithoutPatientInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema),
data: z.union([z.lazy(() => PatientServiceHistoryUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema)])
}).strict();
export const PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInput>;
export const PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();