14 lines
3.1 KiB
TypeScript
14 lines
3.1 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { InsuranceCredentialOrderByWithRelationInputObjectSchema as InsuranceCredentialOrderByWithRelationInputObjectSchema } from './objects/InsuranceCredentialOrderByWithRelationInput.schema';
|
|
import { InsuranceCredentialWhereInputObjectSchema as InsuranceCredentialWhereInputObjectSchema } from './objects/InsuranceCredentialWhereInput.schema';
|
|
import { InsuranceCredentialWhereUniqueInputObjectSchema as InsuranceCredentialWhereUniqueInputObjectSchema } from './objects/InsuranceCredentialWhereUniqueInput.schema';
|
|
import { InsuranceCredentialCountAggregateInputObjectSchema as InsuranceCredentialCountAggregateInputObjectSchema } from './objects/InsuranceCredentialCountAggregateInput.schema';
|
|
import { InsuranceCredentialMinAggregateInputObjectSchema as InsuranceCredentialMinAggregateInputObjectSchema } from './objects/InsuranceCredentialMinAggregateInput.schema';
|
|
import { InsuranceCredentialMaxAggregateInputObjectSchema as InsuranceCredentialMaxAggregateInputObjectSchema } from './objects/InsuranceCredentialMaxAggregateInput.schema';
|
|
import { InsuranceCredentialAvgAggregateInputObjectSchema as InsuranceCredentialAvgAggregateInputObjectSchema } from './objects/InsuranceCredentialAvgAggregateInput.schema';
|
|
import { InsuranceCredentialSumAggregateInputObjectSchema as InsuranceCredentialSumAggregateInputObjectSchema } from './objects/InsuranceCredentialSumAggregateInput.schema';
|
|
|
|
export const InsuranceCredentialAggregateSchema: z.ZodType<Prisma.InsuranceCredentialAggregateArgs> = z.object({ orderBy: z.union([InsuranceCredentialOrderByWithRelationInputObjectSchema, InsuranceCredentialOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceCredentialWhereInputObjectSchema.optional(), cursor: InsuranceCredentialWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), InsuranceCredentialCountAggregateInputObjectSchema ]).optional(), _min: InsuranceCredentialMinAggregateInputObjectSchema.optional(), _max: InsuranceCredentialMaxAggregateInputObjectSchema.optional(), _avg: InsuranceCredentialAvgAggregateInputObjectSchema.optional(), _sum: InsuranceCredentialSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.InsuranceCredentialAggregateArgs>;
|
|
|
|
export const InsuranceCredentialAggregateZodSchema = z.object({ orderBy: z.union([InsuranceCredentialOrderByWithRelationInputObjectSchema, InsuranceCredentialOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceCredentialWhereInputObjectSchema.optional(), cursor: InsuranceCredentialWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), InsuranceCredentialCountAggregateInputObjectSchema ]).optional(), _min: InsuranceCredentialMinAggregateInputObjectSchema.optional(), _max: InsuranceCredentialMaxAggregateInputObjectSchema.optional(), _avg: InsuranceCredentialAvgAggregateInputObjectSchema.optional(), _sum: InsuranceCredentialSumAggregateInputObjectSchema.optional() }).strict(); |