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

14 lines
2.8 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';
import { NotificationMinAggregateInputObjectSchema as NotificationMinAggregateInputObjectSchema } from './objects/NotificationMinAggregateInput.schema';
import { NotificationMaxAggregateInputObjectSchema as NotificationMaxAggregateInputObjectSchema } from './objects/NotificationMaxAggregateInput.schema';
import { NotificationAvgAggregateInputObjectSchema as NotificationAvgAggregateInputObjectSchema } from './objects/NotificationAvgAggregateInput.schema';
import { NotificationSumAggregateInputObjectSchema as NotificationSumAggregateInputObjectSchema } from './objects/NotificationSumAggregateInput.schema';
export const NotificationAggregateSchema: z.ZodType<Prisma.NotificationAggregateArgs> = z.object({ orderBy: z.union([NotificationOrderByWithRelationInputObjectSchema, NotificationOrderByWithRelationInputObjectSchema.array()]).optional(), where: NotificationWhereInputObjectSchema.optional(), cursor: NotificationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), NotificationCountAggregateInputObjectSchema ]).optional(), _min: NotificationMinAggregateInputObjectSchema.optional(), _max: NotificationMaxAggregateInputObjectSchema.optional(), _avg: NotificationAvgAggregateInputObjectSchema.optional(), _sum: NotificationSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.NotificationAggregateArgs>;
export const NotificationAggregateZodSchema = z.object({ orderBy: z.union([NotificationOrderByWithRelationInputObjectSchema, NotificationOrderByWithRelationInputObjectSchema.array()]).optional(), where: NotificationWhereInputObjectSchema.optional(), cursor: NotificationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), NotificationCountAggregateInputObjectSchema ]).optional(), _min: NotificationMinAggregateInputObjectSchema.optional(), _max: NotificationMaxAggregateInputObjectSchema.optional(), _avg: NotificationAvgAggregateInputObjectSchema.optional(), _sum: NotificationSumAggregateInputObjectSchema.optional() }).strict();