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

16 lines
1.9 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';
import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema';
import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema),
update: z.union([z.lazy(() => PatientServiceHistoryUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema)]),
create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema)])
}).strict();
export const PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInput>;
export const PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();