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

16 lines
1.6 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserUpdateWithoutUpdatedPaymentsInputObjectSchema as UserUpdateWithoutUpdatedPaymentsInputObjectSchema } from './UserUpdateWithoutUpdatedPaymentsInput.schema';
import { UserUncheckedUpdateWithoutUpdatedPaymentsInputObjectSchema as UserUncheckedUpdateWithoutUpdatedPaymentsInputObjectSchema } from './UserUncheckedUpdateWithoutUpdatedPaymentsInput.schema';
import { UserCreateWithoutUpdatedPaymentsInputObjectSchema as UserCreateWithoutUpdatedPaymentsInputObjectSchema } from './UserCreateWithoutUpdatedPaymentsInput.schema';
import { UserUncheckedCreateWithoutUpdatedPaymentsInputObjectSchema as UserUncheckedCreateWithoutUpdatedPaymentsInputObjectSchema } from './UserUncheckedCreateWithoutUpdatedPaymentsInput.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
const makeSchema = () => z.object({
update: z.union([z.lazy(() => UserUpdateWithoutUpdatedPaymentsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutUpdatedPaymentsInputObjectSchema)]),
create: z.union([z.lazy(() => UserCreateWithoutUpdatedPaymentsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutUpdatedPaymentsInputObjectSchema)]),
where: z.lazy(() => UserWhereInputObjectSchema).optional()
}).strict();
export const UserUpsertWithoutUpdatedPaymentsInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutUpdatedPaymentsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutUpdatedPaymentsInput>;
export const UserUpsertWithoutUpdatedPaymentsInputObjectZodSchema = makeSchema();