15 lines
2.8 KiB
TypeScript
15 lines
2.8 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { PdfGroupWhereInputObjectSchema as PdfGroupWhereInputObjectSchema } from './objects/PdfGroupWhereInput.schema';
|
|
import { PdfGroupOrderByWithAggregationInputObjectSchema as PdfGroupOrderByWithAggregationInputObjectSchema } from './objects/PdfGroupOrderByWithAggregationInput.schema';
|
|
import { PdfGroupScalarWhereWithAggregatesInputObjectSchema as PdfGroupScalarWhereWithAggregatesInputObjectSchema } from './objects/PdfGroupScalarWhereWithAggregatesInput.schema';
|
|
import { PdfGroupScalarFieldEnumSchema } from './enums/PdfGroupScalarFieldEnum.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 PdfGroupGroupBySchema: z.ZodType<Prisma.PdfGroupGroupByArgs> = z.object({ where: PdfGroupWhereInputObjectSchema.optional(), orderBy: z.union([PdfGroupOrderByWithAggregationInputObjectSchema, PdfGroupOrderByWithAggregationInputObjectSchema.array()]).optional(), having: PdfGroupScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(PdfGroupScalarFieldEnumSchema), _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.PdfGroupGroupByArgs>;
|
|
|
|
export const PdfGroupGroupByZodSchema = z.object({ where: PdfGroupWhereInputObjectSchema.optional(), orderBy: z.union([PdfGroupOrderByWithAggregationInputObjectSchema, PdfGroupOrderByWithAggregationInputObjectSchema.array()]).optional(), having: PdfGroupScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(PdfGroupScalarFieldEnumSchema), _count: z.union([ z.literal(true), PdfGroupCountAggregateInputObjectSchema ]).optional(), _min: PdfGroupMinAggregateInputObjectSchema.optional(), _max: PdfGroupMaxAggregateInputObjectSchema.optional(), _avg: PdfGroupAvgAggregateInputObjectSchema.optional(), _sum: PdfGroupSumAggregateInputObjectSchema.optional() }).strict(); |