import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { DatabaseBackupWhereUniqueInputObjectSchema as DatabaseBackupWhereUniqueInputObjectSchema } from './DatabaseBackupWhereUniqueInput.schema';
import { DatabaseBackupCreateWithoutUserInputObjectSchema as DatabaseBackupCreateWithoutUserInputObjectSchema } from './DatabaseBackupCreateWithoutUserInput.schema';
import { DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema as DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema } from './DatabaseBackupUncheckedCreateWithoutUserInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema),
  create: z.union([z.lazy(() => DatabaseBackupCreateWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema)])
}).strict();
export const DatabaseBackupCreateOrConnectWithoutUserInputObjectSchema: z.ZodType<Prisma.DatabaseBackupCreateOrConnectWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.DatabaseBackupCreateOrConnectWithoutUserInput>;
export const DatabaseBackupCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema();
