initial commit
This commit is contained in:
10
packages/db/shared/schemas/countCommunication.schema.ts
Normal file
10
packages/db/shared/schemas/countCommunication.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommunicationOrderByWithRelationInputObjectSchema as CommunicationOrderByWithRelationInputObjectSchema } from './objects/CommunicationOrderByWithRelationInput.schema';
|
||||
import { CommunicationWhereInputObjectSchema as CommunicationWhereInputObjectSchema } from './objects/CommunicationWhereInput.schema';
|
||||
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './objects/CommunicationWhereUniqueInput.schema';
|
||||
import { CommunicationCountAggregateInputObjectSchema as CommunicationCountAggregateInputObjectSchema } from './objects/CommunicationCountAggregateInput.schema';
|
||||
|
||||
export const CommunicationCountSchema: z.ZodType<Prisma.CommunicationCountArgs> = z.object({ orderBy: z.union([CommunicationOrderByWithRelationInputObjectSchema, CommunicationOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommunicationWhereInputObjectSchema.optional(), cursor: CommunicationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommunicationCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.CommunicationCountArgs>;
|
||||
|
||||
export const CommunicationCountZodSchema = z.object({ orderBy: z.union([CommunicationOrderByWithRelationInputObjectSchema, CommunicationOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommunicationWhereInputObjectSchema.optional(), cursor: CommunicationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommunicationCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
Reference in New Issue
Block a user