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

13 lines
1.0 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
import { UserUpdateWithoutStaffInputObjectSchema as UserUpdateWithoutStaffInputObjectSchema } from './UserUpdateWithoutStaffInput.schema';
import { UserUncheckedUpdateWithoutStaffInputObjectSchema as UserUncheckedUpdateWithoutStaffInputObjectSchema } from './UserUncheckedUpdateWithoutStaffInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => UserWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => UserUpdateWithoutStaffInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutStaffInputObjectSchema)])
}).strict();
export const UserUpdateToOneWithWhereWithoutStaffInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutStaffInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutStaffInput>;
export const UserUpdateToOneWithWhereWithoutStaffInputObjectZodSchema = makeSchema();