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

14 lines
3.2 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { ServiceLineTransactionOrderByWithRelationInputObjectSchema as ServiceLineTransactionOrderByWithRelationInputObjectSchema } from './objects/ServiceLineTransactionOrderByWithRelationInput.schema';
import { ServiceLineTransactionWhereInputObjectSchema as ServiceLineTransactionWhereInputObjectSchema } from './objects/ServiceLineTransactionWhereInput.schema';
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './objects/ServiceLineTransactionWhereUniqueInput.schema';
import { ServiceLineTransactionCountAggregateInputObjectSchema as ServiceLineTransactionCountAggregateInputObjectSchema } from './objects/ServiceLineTransactionCountAggregateInput.schema';
import { ServiceLineTransactionMinAggregateInputObjectSchema as ServiceLineTransactionMinAggregateInputObjectSchema } from './objects/ServiceLineTransactionMinAggregateInput.schema';
import { ServiceLineTransactionMaxAggregateInputObjectSchema as ServiceLineTransactionMaxAggregateInputObjectSchema } from './objects/ServiceLineTransactionMaxAggregateInput.schema';
import { ServiceLineTransactionAvgAggregateInputObjectSchema as ServiceLineTransactionAvgAggregateInputObjectSchema } from './objects/ServiceLineTransactionAvgAggregateInput.schema';
import { ServiceLineTransactionSumAggregateInputObjectSchema as ServiceLineTransactionSumAggregateInputObjectSchema } from './objects/ServiceLineTransactionSumAggregateInput.schema';
export const ServiceLineTransactionAggregateSchema: z.ZodType<Prisma.ServiceLineTransactionAggregateArgs> = z.object({ orderBy: z.union([ServiceLineTransactionOrderByWithRelationInputObjectSchema, ServiceLineTransactionOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineTransactionWhereInputObjectSchema.optional(), cursor: ServiceLineTransactionWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ServiceLineTransactionCountAggregateInputObjectSchema ]).optional(), _min: ServiceLineTransactionMinAggregateInputObjectSchema.optional(), _max: ServiceLineTransactionMaxAggregateInputObjectSchema.optional(), _avg: ServiceLineTransactionAvgAggregateInputObjectSchema.optional(), _sum: ServiceLineTransactionSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ServiceLineTransactionAggregateArgs>;
export const ServiceLineTransactionAggregateZodSchema = z.object({ orderBy: z.union([ServiceLineTransactionOrderByWithRelationInputObjectSchema, ServiceLineTransactionOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineTransactionWhereInputObjectSchema.optional(), cursor: ServiceLineTransactionWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ServiceLineTransactionCountAggregateInputObjectSchema ]).optional(), _min: ServiceLineTransactionMinAggregateInputObjectSchema.optional(), _max: ServiceLineTransactionMaxAggregateInputObjectSchema.optional(), _avg: ServiceLineTransactionAvgAggregateInputObjectSchema.optional(), _sum: ServiceLineTransactionSumAggregateInputObjectSchema.optional() }).strict();