10 lines
1.8 KiB
TypeScript
10 lines
1.8 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { AppointmentFileOrderByWithRelationInputObjectSchema as AppointmentFileOrderByWithRelationInputObjectSchema } from './objects/AppointmentFileOrderByWithRelationInput.schema';
|
|
import { AppointmentFileWhereInputObjectSchema as AppointmentFileWhereInputObjectSchema } from './objects/AppointmentFileWhereInput.schema';
|
|
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './objects/AppointmentFileWhereUniqueInput.schema';
|
|
import { AppointmentFileCountAggregateInputObjectSchema as AppointmentFileCountAggregateInputObjectSchema } from './objects/AppointmentFileCountAggregateInput.schema';
|
|
|
|
export const AppointmentFileCountSchema: z.ZodType<Prisma.AppointmentFileCountArgs> = z.object({ orderBy: z.union([AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), AppointmentFileCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.AppointmentFileCountArgs>;
|
|
|
|
export const AppointmentFileCountZodSchema = z.object({ orderBy: z.union([AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), AppointmentFileCountAggregateInputObjectSchema ]).optional() }).strict(); |