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