initial commit
This commit is contained in:
14
packages/db/shared/schemas/aggregateServiceLine.schema.ts
Normal file
14
packages/db/shared/schemas/aggregateServiceLine.schema.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ServiceLineOrderByWithRelationInputObjectSchema as ServiceLineOrderByWithRelationInputObjectSchema } from './objects/ServiceLineOrderByWithRelationInput.schema';
|
||||
import { ServiceLineWhereInputObjectSchema as ServiceLineWhereInputObjectSchema } from './objects/ServiceLineWhereInput.schema';
|
||||
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './objects/ServiceLineWhereUniqueInput.schema';
|
||||
import { ServiceLineCountAggregateInputObjectSchema as ServiceLineCountAggregateInputObjectSchema } from './objects/ServiceLineCountAggregateInput.schema';
|
||||
import { ServiceLineMinAggregateInputObjectSchema as ServiceLineMinAggregateInputObjectSchema } from './objects/ServiceLineMinAggregateInput.schema';
|
||||
import { ServiceLineMaxAggregateInputObjectSchema as ServiceLineMaxAggregateInputObjectSchema } from './objects/ServiceLineMaxAggregateInput.schema';
|
||||
import { ServiceLineAvgAggregateInputObjectSchema as ServiceLineAvgAggregateInputObjectSchema } from './objects/ServiceLineAvgAggregateInput.schema';
|
||||
import { ServiceLineSumAggregateInputObjectSchema as ServiceLineSumAggregateInputObjectSchema } from './objects/ServiceLineSumAggregateInput.schema';
|
||||
|
||||
export const ServiceLineAggregateSchema: z.ZodType<Prisma.ServiceLineAggregateArgs> = z.object({ orderBy: z.union([ServiceLineOrderByWithRelationInputObjectSchema, ServiceLineOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineWhereInputObjectSchema.optional(), cursor: ServiceLineWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ServiceLineCountAggregateInputObjectSchema ]).optional(), _min: ServiceLineMinAggregateInputObjectSchema.optional(), _max: ServiceLineMaxAggregateInputObjectSchema.optional(), _avg: ServiceLineAvgAggregateInputObjectSchema.optional(), _sum: ServiceLineSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ServiceLineAggregateArgs>;
|
||||
|
||||
export const ServiceLineAggregateZodSchema = z.object({ orderBy: z.union([ServiceLineOrderByWithRelationInputObjectSchema, ServiceLineOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineWhereInputObjectSchema.optional(), cursor: ServiceLineWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ServiceLineCountAggregateInputObjectSchema ]).optional(), _min: ServiceLineMinAggregateInputObjectSchema.optional(), _max: ServiceLineMaxAggregateInputObjectSchema.optional(), _avg: ServiceLineAvgAggregateInputObjectSchema.optional(), _sum: ServiceLineSumAggregateInputObjectSchema.optional() }).strict();
|
||||
Reference in New Issue
Block a user