import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { BackupDestinationOrderByWithRelationInputObjectSchema as BackupDestinationOrderByWithRelationInputObjectSchema } from './objects/BackupDestinationOrderByWithRelationInput.schema'; import { BackupDestinationWhereInputObjectSchema as BackupDestinationWhereInputObjectSchema } from './objects/BackupDestinationWhereInput.schema'; import { BackupDestinationWhereUniqueInputObjectSchema as BackupDestinationWhereUniqueInputObjectSchema } from './objects/BackupDestinationWhereUniqueInput.schema'; import { BackupDestinationCountAggregateInputObjectSchema as BackupDestinationCountAggregateInputObjectSchema } from './objects/BackupDestinationCountAggregateInput.schema'; export const BackupDestinationCountSchema: z.ZodType = z.object({ orderBy: z.union([BackupDestinationOrderByWithRelationInputObjectSchema, BackupDestinationOrderByWithRelationInputObjectSchema.array()]).optional(), where: BackupDestinationWhereInputObjectSchema.optional(), cursor: BackupDestinationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), BackupDestinationCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType; export const BackupDestinationCountZodSchema = z.object({ orderBy: z.union([BackupDestinationOrderByWithRelationInputObjectSchema, BackupDestinationOrderByWithRelationInputObjectSchema.array()]).optional(), where: BackupDestinationWhereInputObjectSchema.optional(), cursor: BackupDestinationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), BackupDestinationCountAggregateInputObjectSchema ]).optional() }).strict();