Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutAppointmentsInput.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 { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
import { UserUpdateWithoutAppointmentsInputObjectSchema as UserUpdateWithoutAppointmentsInputObjectSchema } from './UserUpdateWithoutAppointmentsInput.schema';
import { UserUncheckedUpdateWithoutAppointmentsInputObjectSchema as UserUncheckedUpdateWithoutAppointmentsInputObjectSchema } from './UserUncheckedUpdateWithoutAppointmentsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => UserWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => UserUpdateWithoutAppointmentsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutAppointmentsInputObjectSchema)])
}).strict();
export const UserUpdateToOneWithWhereWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutAppointmentsInput>;
export const UserUpdateToOneWithWhereWithoutAppointmentsInputObjectZodSchema = makeSchema();