13 lines
1.2 KiB
TypeScript
13 lines
1.2 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { CommunicationScalarWhereInputObjectSchema as CommunicationScalarWhereInputObjectSchema } from './CommunicationScalarWhereInput.schema';
|
|
import { CommunicationUpdateManyMutationInputObjectSchema as CommunicationUpdateManyMutationInputObjectSchema } from './CommunicationUpdateManyMutationInput.schema';
|
|
import { CommunicationUncheckedUpdateManyWithoutPatientInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => CommunicationScalarWhereInputObjectSchema),
|
|
data: z.union([z.lazy(() => CommunicationUpdateManyMutationInputObjectSchema), z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientInputObjectSchema)])
|
|
}).strict();
|
|
export const CommunicationUpdateManyWithWhereWithoutPatientInputObjectSchema: z.ZodType<Prisma.CommunicationUpdateManyWithWhereWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CommunicationUpdateManyWithWhereWithoutPatientInput>;
|
|
export const CommunicationUpdateManyWithWhereWithoutPatientInputObjectZodSchema = makeSchema();
|