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

13 lines
1.2 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentWhereInputObjectSchema as AppointmentWhereInputObjectSchema } from './AppointmentWhereInput.schema';
import { AppointmentUpdateWithoutProceduresInputObjectSchema as AppointmentUpdateWithoutProceduresInputObjectSchema } from './AppointmentUpdateWithoutProceduresInput.schema';
import { AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema as AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema } from './AppointmentUncheckedUpdateWithoutProceduresInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => AppointmentWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => AppointmentUpdateWithoutProceduresInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema)])
}).strict();
export const AppointmentUpdateToOneWithWhereWithoutProceduresInputObjectSchema: z.ZodType<Prisma.AppointmentUpdateToOneWithWhereWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUpdateToOneWithWhereWithoutProceduresInput>;
export const AppointmentUpdateToOneWithWhereWithoutProceduresInputObjectZodSchema = makeSchema();