14 lines
2.5 KiB
TypeScript
14 lines
2.5 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { PdfFileOrderByWithRelationInputObjectSchema as PdfFileOrderByWithRelationInputObjectSchema } from './objects/PdfFileOrderByWithRelationInput.schema';
|
|
import { PdfFileWhereInputObjectSchema as PdfFileWhereInputObjectSchema } from './objects/PdfFileWhereInput.schema';
|
|
import { PdfFileWhereUniqueInputObjectSchema as PdfFileWhereUniqueInputObjectSchema } from './objects/PdfFileWhereUniqueInput.schema';
|
|
import { PdfFileCountAggregateInputObjectSchema as PdfFileCountAggregateInputObjectSchema } from './objects/PdfFileCountAggregateInput.schema';
|
|
import { PdfFileMinAggregateInputObjectSchema as PdfFileMinAggregateInputObjectSchema } from './objects/PdfFileMinAggregateInput.schema';
|
|
import { PdfFileMaxAggregateInputObjectSchema as PdfFileMaxAggregateInputObjectSchema } from './objects/PdfFileMaxAggregateInput.schema';
|
|
import { PdfFileAvgAggregateInputObjectSchema as PdfFileAvgAggregateInputObjectSchema } from './objects/PdfFileAvgAggregateInput.schema';
|
|
import { PdfFileSumAggregateInputObjectSchema as PdfFileSumAggregateInputObjectSchema } from './objects/PdfFileSumAggregateInput.schema';
|
|
|
|
export const PdfFileAggregateSchema: z.ZodType<Prisma.PdfFileAggregateArgs> = z.object({ orderBy: z.union([PdfFileOrderByWithRelationInputObjectSchema, PdfFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: PdfFileWhereInputObjectSchema.optional(), cursor: PdfFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PdfFileCountAggregateInputObjectSchema ]).optional(), _min: PdfFileMinAggregateInputObjectSchema.optional(), _max: PdfFileMaxAggregateInputObjectSchema.optional(), _avg: PdfFileAvgAggregateInputObjectSchema.optional(), _sum: PdfFileSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PdfFileAggregateArgs>;
|
|
|
|
export const PdfFileAggregateZodSchema = z.object({ orderBy: z.union([PdfFileOrderByWithRelationInputObjectSchema, PdfFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: PdfFileWhereInputObjectSchema.optional(), cursor: PdfFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PdfFileCountAggregateInputObjectSchema ]).optional(), _min: PdfFileMinAggregateInputObjectSchema.optional(), _max: PdfFileMaxAggregateInputObjectSchema.optional(), _avg: PdfFileAvgAggregateInputObjectSchema.optional(), _sum: PdfFileSumAggregateInputObjectSchema.optional() }).strict(); |