13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { AppointmentScalarWhereInputObjectSchema as AppointmentScalarWhereInputObjectSchema } from './AppointmentScalarWhereInput.schema';
|
|
import { AppointmentUpdateManyMutationInputObjectSchema as AppointmentUpdateManyMutationInputObjectSchema } from './AppointmentUpdateManyMutationInput.schema';
|
|
import { AppointmentUncheckedUpdateManyWithoutUserInputObjectSchema as AppointmentUncheckedUpdateManyWithoutUserInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutUserInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => AppointmentScalarWhereInputObjectSchema),
|
|
data: z.union([z.lazy(() => AppointmentUpdateManyMutationInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserInputObjectSchema)])
|
|
}).strict();
|
|
export const AppointmentUpdateManyWithWhereWithoutUserInputObjectSchema: z.ZodType<Prisma.AppointmentUpdateManyWithWhereWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUpdateManyWithWhereWithoutUserInput>;
|
|
export const AppointmentUpdateManyWithWhereWithoutUserInputObjectZodSchema = makeSchema();
|