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

13 lines
1.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { AppointmentWhereInputObjectSchema as AppointmentWhereInputObjectSchema } from './AppointmentWhereInput.schema';
import { AppointmentUpdateWithoutClaimsInputObjectSchema as AppointmentUpdateWithoutClaimsInputObjectSchema } from './AppointmentUpdateWithoutClaimsInput.schema';
import { AppointmentUncheckedUpdateWithoutClaimsInputObjectSchema as AppointmentUncheckedUpdateWithoutClaimsInputObjectSchema } from './AppointmentUncheckedUpdateWithoutClaimsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => AppointmentWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => AppointmentUpdateWithoutClaimsInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutClaimsInputObjectSchema)])
}).strict();
export const AppointmentUpdateToOneWithWhereWithoutClaimsInputObjectSchema: z.ZodType<Prisma.AppointmentUpdateToOneWithWhereWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUpdateToOneWithWhereWithoutClaimsInput>;
export const AppointmentUpdateToOneWithWhereWithoutClaimsInputObjectZodSchema = makeSchema();