Files
DentalManagementMH06/packages/db/shared/schemas/aggregateAppointmentFile.schema.ts

14 lines
2.9 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { AppointmentFileOrderByWithRelationInputObjectSchema as AppointmentFileOrderByWithRelationInputObjectSchema } from './objects/AppointmentFileOrderByWithRelationInput.schema';
import { AppointmentFileWhereInputObjectSchema as AppointmentFileWhereInputObjectSchema } from './objects/AppointmentFileWhereInput.schema';
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './objects/AppointmentFileWhereUniqueInput.schema';
import { AppointmentFileCountAggregateInputObjectSchema as AppointmentFileCountAggregateInputObjectSchema } from './objects/AppointmentFileCountAggregateInput.schema';
import { AppointmentFileMinAggregateInputObjectSchema as AppointmentFileMinAggregateInputObjectSchema } from './objects/AppointmentFileMinAggregateInput.schema';
import { AppointmentFileMaxAggregateInputObjectSchema as AppointmentFileMaxAggregateInputObjectSchema } from './objects/AppointmentFileMaxAggregateInput.schema';
import { AppointmentFileAvgAggregateInputObjectSchema as AppointmentFileAvgAggregateInputObjectSchema } from './objects/AppointmentFileAvgAggregateInput.schema';
import { AppointmentFileSumAggregateInputObjectSchema as AppointmentFileSumAggregateInputObjectSchema } from './objects/AppointmentFileSumAggregateInput.schema';
export const AppointmentFileAggregateSchema: z.ZodType<Prisma.AppointmentFileAggregateArgs> = z.object({ orderBy: z.union([AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), AppointmentFileCountAggregateInputObjectSchema ]).optional(), _min: AppointmentFileMinAggregateInputObjectSchema.optional(), _max: AppointmentFileMaxAggregateInputObjectSchema.optional(), _avg: AppointmentFileAvgAggregateInputObjectSchema.optional(), _sum: AppointmentFileSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.AppointmentFileAggregateArgs>;
export const AppointmentFileAggregateZodSchema = z.object({ orderBy: z.union([AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), AppointmentFileCountAggregateInputObjectSchema ]).optional(), _min: AppointmentFileMinAggregateInputObjectSchema.optional(), _max: AppointmentFileMaxAggregateInputObjectSchema.optional(), _avg: AppointmentFileAvgAggregateInputObjectSchema.optional(), _sum: AppointmentFileSumAggregateInputObjectSchema.optional() }).strict();