import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutCloudFoldersInputObjectSchema as UserCreateWithoutCloudFoldersInputObjectSchema } from './UserCreateWithoutCloudFoldersInput.schema';
import { UserUncheckedCreateWithoutCloudFoldersInputObjectSchema as UserUncheckedCreateWithoutCloudFoldersInputObjectSchema } from './UserUncheckedCreateWithoutCloudFoldersInput.schema';
import { UserCreateOrConnectWithoutCloudFoldersInputObjectSchema as UserCreateOrConnectWithoutCloudFoldersInputObjectSchema } from './UserCreateOrConnectWithoutCloudFoldersInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutCloudFoldersInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutCloudFoldersInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional()
}).strict();
export const UserCreateNestedOneWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.UserCreateNestedOneWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateNestedOneWithoutCloudFoldersInput>;
export const UserCreateNestedOneWithoutCloudFoldersInputObjectZodSchema = makeSchema();
