10 lines
1.9 KiB
TypeScript
10 lines
1.9 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { PatientServiceHistoryOrderByWithRelationInputObjectSchema as PatientServiceHistoryOrderByWithRelationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithRelationInput.schema';
|
|
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
|
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
|
import { PatientServiceHistoryCountAggregateInputObjectSchema as PatientServiceHistoryCountAggregateInputObjectSchema } from './objects/PatientServiceHistoryCountAggregateInput.schema';
|
|
|
|
export const PatientServiceHistoryCountSchema: z.ZodType<Prisma.PatientServiceHistoryCountArgs> = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryCountArgs>;
|
|
|
|
export const PatientServiceHistoryCountZodSchema = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional() }).strict(); |