14 lines
2.6 KiB
TypeScript
14 lines
2.6 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { PdfGroupOrderByWithRelationInputObjectSchema as PdfGroupOrderByWithRelationInputObjectSchema } from './objects/PdfGroupOrderByWithRelationInput.schema';
|
|
import { PdfGroupWhereInputObjectSchema as PdfGroupWhereInputObjectSchema } from './objects/PdfGroupWhereInput.schema';
|
|
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './objects/PdfGroupWhereUniqueInput.schema';
|
|
import { PdfGroupCountAggregateInputObjectSchema as PdfGroupCountAggregateInputObjectSchema } from './objects/PdfGroupCountAggregateInput.schema';
|
|
import { PdfGroupMinAggregateInputObjectSchema as PdfGroupMinAggregateInputObjectSchema } from './objects/PdfGroupMinAggregateInput.schema';
|
|
import { PdfGroupMaxAggregateInputObjectSchema as PdfGroupMaxAggregateInputObjectSchema } from './objects/PdfGroupMaxAggregateInput.schema';
|
|
import { PdfGroupAvgAggregateInputObjectSchema as PdfGroupAvgAggregateInputObjectSchema } from './objects/PdfGroupAvgAggregateInput.schema';
|
|
import { PdfGroupSumAggregateInputObjectSchema as PdfGroupSumAggregateInputObjectSchema } from './objects/PdfGroupSumAggregateInput.schema';
|
|
|
|
export const PdfGroupAggregateSchema: z.ZodType<Prisma.PdfGroupAggregateArgs> = z.object({ orderBy: z.union([PdfGroupOrderByWithRelationInputObjectSchema, PdfGroupOrderByWithRelationInputObjectSchema.array()]).optional(), where: PdfGroupWhereInputObjectSchema.optional(), cursor: PdfGroupWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PdfGroupCountAggregateInputObjectSchema ]).optional(), _min: PdfGroupMinAggregateInputObjectSchema.optional(), _max: PdfGroupMaxAggregateInputObjectSchema.optional(), _avg: PdfGroupAvgAggregateInputObjectSchema.optional(), _sum: PdfGroupSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PdfGroupAggregateArgs>;
|
|
|
|
export const PdfGroupAggregateZodSchema = z.object({ orderBy: z.union([PdfGroupOrderByWithRelationInputObjectSchema, PdfGroupOrderByWithRelationInputObjectSchema.array()]).optional(), where: PdfGroupWhereInputObjectSchema.optional(), cursor: PdfGroupWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PdfGroupCountAggregateInputObjectSchema ]).optional(), _min: PdfGroupMinAggregateInputObjectSchema.optional(), _max: PdfGroupMaxAggregateInputObjectSchema.optional(), _avg: PdfGroupAvgAggregateInputObjectSchema.optional(), _sum: PdfGroupSumAggregateInputObjectSchema.optional() }).strict(); |