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

10 lines
1.7 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { NotificationOrderByWithRelationInputObjectSchema as NotificationOrderByWithRelationInputObjectSchema } from './objects/NotificationOrderByWithRelationInput.schema';
import { NotificationWhereInputObjectSchema as NotificationWhereInputObjectSchema } from './objects/NotificationWhereInput.schema';
import { NotificationWhereUniqueInputObjectSchema as NotificationWhereUniqueInputObjectSchema } from './objects/NotificationWhereUniqueInput.schema';
import { NotificationCountAggregateInputObjectSchema as NotificationCountAggregateInputObjectSchema } from './objects/NotificationCountAggregateInput.schema';
export const NotificationCountSchema: z.ZodType<Prisma.NotificationCountArgs> = z.object({ orderBy: z.union([NotificationOrderByWithRelationInputObjectSchema, NotificationOrderByWithRelationInputObjectSchema.array()]).optional(), where: NotificationWhereInputObjectSchema.optional(), cursor: NotificationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), NotificationCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.NotificationCountArgs>;
export const NotificationCountZodSchema = z.object({ orderBy: z.union([NotificationOrderByWithRelationInputObjectSchema, NotificationOrderByWithRelationInputObjectSchema.array()]).optional(), where: NotificationWhereInputObjectSchema.optional(), cursor: NotificationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), NotificationCountAggregateInputObjectSchema ]).optional() }).strict();