14 lines
3.2 KiB
TypeScript
14 lines
3.2 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { PatientServiceHistoryOrderByWithRelationInputObjectSchema as PatientServiceHistoryOrderByWithRelationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithRelationInput.schema';
|
|
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
|
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
|
import { PatientServiceHistoryCountAggregateInputObjectSchema as PatientServiceHistoryCountAggregateInputObjectSchema } from './objects/PatientServiceHistoryCountAggregateInput.schema';
|
|
import { PatientServiceHistoryMinAggregateInputObjectSchema as PatientServiceHistoryMinAggregateInputObjectSchema } from './objects/PatientServiceHistoryMinAggregateInput.schema';
|
|
import { PatientServiceHistoryMaxAggregateInputObjectSchema as PatientServiceHistoryMaxAggregateInputObjectSchema } from './objects/PatientServiceHistoryMaxAggregateInput.schema';
|
|
import { PatientServiceHistoryAvgAggregateInputObjectSchema as PatientServiceHistoryAvgAggregateInputObjectSchema } from './objects/PatientServiceHistoryAvgAggregateInput.schema';
|
|
import { PatientServiceHistorySumAggregateInputObjectSchema as PatientServiceHistorySumAggregateInputObjectSchema } from './objects/PatientServiceHistorySumAggregateInput.schema';
|
|
|
|
export const PatientServiceHistoryAggregateSchema: z.ZodType<Prisma.PatientServiceHistoryAggregateArgs> = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional(), _min: PatientServiceHistoryMinAggregateInputObjectSchema.optional(), _max: PatientServiceHistoryMaxAggregateInputObjectSchema.optional(), _avg: PatientServiceHistoryAvgAggregateInputObjectSchema.optional(), _sum: PatientServiceHistorySumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryAggregateArgs>;
|
|
|
|
export const PatientServiceHistoryAggregateZodSchema = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional(), _min: PatientServiceHistoryMinAggregateInputObjectSchema.optional(), _max: PatientServiceHistoryMaxAggregateInputObjectSchema.optional(), _avg: PatientServiceHistoryAvgAggregateInputObjectSchema.optional(), _sum: PatientServiceHistorySumAggregateInputObjectSchema.optional() }).strict(); |