Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/AppointmentProcedureUpdateWithWhereUniqueWithoutPatientInput.schema.ts
2026-04-04 22:13:55 -04:00

13 lines
1.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentProcedureWhereUniqueInputObjectSchema as AppointmentProcedureWhereUniqueInputObjectSchema } from './AppointmentProcedureWhereUniqueInput.schema';
import { AppointmentProcedureUpdateWithoutPatientInputObjectSchema as AppointmentProcedureUpdateWithoutPatientInputObjectSchema } from './AppointmentProcedureUpdateWithoutPatientInput.schema';
import { AppointmentProcedureUncheckedUpdateWithoutPatientInputObjectSchema as AppointmentProcedureUncheckedUpdateWithoutPatientInputObjectSchema } from './AppointmentProcedureUncheckedUpdateWithoutPatientInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => AppointmentProcedureWhereUniqueInputObjectSchema),
data: z.union([z.lazy(() => AppointmentProcedureUpdateWithoutPatientInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedUpdateWithoutPatientInputObjectSchema)])
}).strict();
export const AppointmentProcedureUpdateWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureUpdateWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentProcedureUpdateWithWhereUniqueWithoutPatientInput>;
export const AppointmentProcedureUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();