initial commit
This commit is contained in:
10
packages/db/shared/schemas/countPdfFile.schema.ts
Normal file
10
packages/db/shared/schemas/countPdfFile.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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';
|
||||
|
||||
export const PdfFileCountSchema: z.ZodType<Prisma.PdfFileCountArgs> = z.object({ orderBy: z.union([PdfFileOrderByWithRelationInputObjectSchema, PdfFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: PdfFileWhereInputObjectSchema.optional(), cursor: PdfFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PdfFileCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.PdfFileCountArgs>;
|
||||
|
||||
export const PdfFileCountZodSchema = z.object({ orderBy: z.union([PdfFileOrderByWithRelationInputObjectSchema, PdfFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: PdfFileWhereInputObjectSchema.optional(), cursor: PdfFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PdfFileCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
Reference in New Issue
Block a user