Files
DentalManagementMHAprilgg/packages/db/shared/schemas/countPdfFile.schema.ts
2026-04-04 22:13:55 -04:00

10 lines
1.6 KiB
TypeScript

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();