initial commit
This commit is contained in:
10
packages/db/shared/schemas/countServiceLine.schema.ts
Normal file
10
packages/db/shared/schemas/countServiceLine.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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';
|
||||
|
||||
export const ServiceLineCountSchema: z.ZodType<Prisma.ServiceLineCountArgs> = z.object({ orderBy: z.union([ServiceLineOrderByWithRelationInputObjectSchema, ServiceLineOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineWhereInputObjectSchema.optional(), cursor: ServiceLineWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), ServiceLineCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.ServiceLineCountArgs>;
|
||||
|
||||
export const ServiceLineCountZodSchema = z.object({ orderBy: z.union([ServiceLineOrderByWithRelationInputObjectSchema, ServiceLineOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineWhereInputObjectSchema.optional(), cursor: ServiceLineWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), ServiceLineCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
Reference in New Issue
Block a user