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

13 lines
1.2 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserCreateWithoutBackupDestinationsInputObjectSchema as UserCreateWithoutBackupDestinationsInputObjectSchema } from './UserCreateWithoutBackupDestinationsInput.schema';
import { UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema as UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema } from './UserUncheckedCreateWithoutBackupDestinationsInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => UserWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => UserCreateWithoutBackupDestinationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema)])
}).strict();
export const UserCreateOrConnectWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserCreateOrConnectWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateOrConnectWithoutBackupDestinationsInput>;
export const UserCreateOrConnectWithoutBackupDestinationsInputObjectZodSchema = makeSchema();