import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { CloudFileChunkOrderByWithRelationInputObjectSchema as CloudFileChunkOrderByWithRelationInputObjectSchema } from './objects/CloudFileChunkOrderByWithRelationInput.schema'; import { CloudFileChunkWhereInputObjectSchema as CloudFileChunkWhereInputObjectSchema } from './objects/CloudFileChunkWhereInput.schema'; import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './objects/CloudFileChunkWhereUniqueInput.schema'; import { CloudFileChunkCountAggregateInputObjectSchema as CloudFileChunkCountAggregateInputObjectSchema } from './objects/CloudFileChunkCountAggregateInput.schema'; import { CloudFileChunkMinAggregateInputObjectSchema as CloudFileChunkMinAggregateInputObjectSchema } from './objects/CloudFileChunkMinAggregateInput.schema'; import { CloudFileChunkMaxAggregateInputObjectSchema as CloudFileChunkMaxAggregateInputObjectSchema } from './objects/CloudFileChunkMaxAggregateInput.schema'; import { CloudFileChunkAvgAggregateInputObjectSchema as CloudFileChunkAvgAggregateInputObjectSchema } from './objects/CloudFileChunkAvgAggregateInput.schema'; import { CloudFileChunkSumAggregateInputObjectSchema as CloudFileChunkSumAggregateInputObjectSchema } from './objects/CloudFileChunkSumAggregateInput.schema'; export const CloudFileChunkAggregateSchema: z.ZodType = z.object({ orderBy: z.union([CloudFileChunkOrderByWithRelationInputObjectSchema, CloudFileChunkOrderByWithRelationInputObjectSchema.array()]).optional(), where: CloudFileChunkWhereInputObjectSchema.optional(), cursor: CloudFileChunkWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CloudFileChunkCountAggregateInputObjectSchema ]).optional(), _min: CloudFileChunkMinAggregateInputObjectSchema.optional(), _max: CloudFileChunkMaxAggregateInputObjectSchema.optional(), _avg: CloudFileChunkAvgAggregateInputObjectSchema.optional(), _sum: CloudFileChunkSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType; export const CloudFileChunkAggregateZodSchema = z.object({ orderBy: z.union([CloudFileChunkOrderByWithRelationInputObjectSchema, CloudFileChunkOrderByWithRelationInputObjectSchema.array()]).optional(), where: CloudFileChunkWhereInputObjectSchema.optional(), cursor: CloudFileChunkWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CloudFileChunkCountAggregateInputObjectSchema ]).optional(), _min: CloudFileChunkMinAggregateInputObjectSchema.optional(), _max: CloudFileChunkMaxAggregateInputObjectSchema.optional(), _avg: CloudFileChunkAvgAggregateInputObjectSchema.optional(), _sum: CloudFileChunkSumAggregateInputObjectSchema.optional() }).strict();