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

16 lines
1.5 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserUpdateWithoutNpiProvidersInputObjectSchema as UserUpdateWithoutNpiProvidersInputObjectSchema } from './UserUpdateWithoutNpiProvidersInput.schema';
import { UserUncheckedUpdateWithoutNpiProvidersInputObjectSchema as UserUncheckedUpdateWithoutNpiProvidersInputObjectSchema } from './UserUncheckedUpdateWithoutNpiProvidersInput.schema';
import { UserCreateWithoutNpiProvidersInputObjectSchema as UserCreateWithoutNpiProvidersInputObjectSchema } from './UserCreateWithoutNpiProvidersInput.schema';
import { UserUncheckedCreateWithoutNpiProvidersInputObjectSchema as UserUncheckedCreateWithoutNpiProvidersInputObjectSchema } from './UserUncheckedCreateWithoutNpiProvidersInput.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
const makeSchema = () => z.object({
update: z.union([z.lazy(() => UserUpdateWithoutNpiProvidersInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutNpiProvidersInputObjectSchema)]),
create: z.union([z.lazy(() => UserCreateWithoutNpiProvidersInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutNpiProvidersInputObjectSchema)]),
where: z.lazy(() => UserWhereInputObjectSchema).optional()
}).strict();
export const UserUpsertWithoutNpiProvidersInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutNpiProvidersInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutNpiProvidersInput>;
export const UserUpsertWithoutNpiProvidersInputObjectZodSchema = makeSchema();