Files
DentalManagementMH05/packages/db/shared/schemas/objects/AppointmentFileScalarWhereWithAggregatesInput.schema.ts

19 lines
1.9 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema';
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'
const appointmentfilescalarwherewithaggregatesinputSchema = z.object({
AND: z.union([z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
OR: z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array().optional(),
NOT: z.union([z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
appointmentId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
filename: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
mimeType: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
filePath: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable()
}).strict();
export const AppointmentFileScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.AppointmentFileScalarWhereWithAggregatesInput> = appointmentfilescalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.AppointmentFileScalarWhereWithAggregatesInput>;
export const AppointmentFileScalarWhereWithAggregatesInputObjectZodSchema = appointmentfilescalarwherewithaggregatesinputSchema;