13 lines
1.2 KiB
TypeScript
13 lines
1.2 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 { AppointmentUncheckedUpdateManyWithoutStaffInputObjectSchema as AppointmentUncheckedUpdateManyWithoutStaffInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutStaffInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => AppointmentScalarWhereInputObjectSchema),
|
|
data: z.union([z.lazy(() => AppointmentUpdateManyMutationInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateManyWithoutStaffInputObjectSchema)])
|
|
}).strict();
|
|
export const AppointmentUpdateManyWithWhereWithoutStaffInputObjectSchema: z.ZodType<Prisma.AppointmentUpdateManyWithWhereWithoutStaffInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentUpdateManyWithWhereWithoutStaffInput>;
|
|
export const AppointmentUpdateManyWithWhereWithoutStaffInputObjectZodSchema = makeSchema();
|