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

13 lines
1.4 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentProcedureWhereUniqueInputObjectSchema as AppointmentProcedureWhereUniqueInputObjectSchema } from './AppointmentProcedureWhereUniqueInput.schema';
import { AppointmentProcedureUpdateWithoutAppointmentInputObjectSchema as AppointmentProcedureUpdateWithoutAppointmentInputObjectSchema } from './AppointmentProcedureUpdateWithoutAppointmentInput.schema';
import { AppointmentProcedureUncheckedUpdateWithoutAppointmentInputObjectSchema as AppointmentProcedureUncheckedUpdateWithoutAppointmentInputObjectSchema } from './AppointmentProcedureUncheckedUpdateWithoutAppointmentInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => AppointmentProcedureWhereUniqueInputObjectSchema),
data: z.union([z.lazy(() => AppointmentProcedureUpdateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedUpdateWithoutAppointmentInputObjectSchema)])
}).strict();
export const AppointmentProcedureUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureUpdateWithWhereUniqueWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentProcedureUpdateWithWhereUniqueWithoutAppointmentInput>;
export const AppointmentProcedureUpdateWithWhereUniqueWithoutAppointmentInputObjectZodSchema = makeSchema();