import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFileCreateWithoutChunksInputObjectSchema as CloudFileCreateWithoutChunksInputObjectSchema } from './CloudFileCreateWithoutChunksInput.schema';
import { CloudFileUncheckedCreateWithoutChunksInputObjectSchema as CloudFileUncheckedCreateWithoutChunksInputObjectSchema } from './CloudFileUncheckedCreateWithoutChunksInput.schema';
import { CloudFileCreateOrConnectWithoutChunksInputObjectSchema as CloudFileCreateOrConnectWithoutChunksInputObjectSchema } from './CloudFileCreateOrConnectWithoutChunksInput.schema';
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './CloudFileWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFileCreateWithoutChunksInputObjectSchema), z.lazy(() => CloudFileUncheckedCreateWithoutChunksInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => CloudFileCreateOrConnectWithoutChunksInputObjectSchema).optional(),
  connect: z.lazy(() => CloudFileWhereUniqueInputObjectSchema).optional()
}).strict();
export const CloudFileCreateNestedOneWithoutChunksInputObjectSchema: z.ZodType<Prisma.CloudFileCreateNestedOneWithoutChunksInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileCreateNestedOneWithoutChunksInput>;
export const CloudFileCreateNestedOneWithoutChunksInputObjectZodSchema = makeSchema();
