initial commit
This commit is contained in:
15
packages/db/shared/schemas/groupByPdfGroup.schema.ts
Normal file
15
packages/db/shared/schemas/groupByPdfGroup.schema.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user