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 { CommunicationUncheckedUpdateManyWithoutUserInputObjectSchema as CommunicationUncheckedUpdateManyWithoutUserInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutUserInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => CommunicationScalarWhereInputObjectSchema),
|
|
data: z.union([z.lazy(() => CommunicationUpdateManyMutationInputObjectSchema), z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserInputObjectSchema)])
|
|
}).strict();
|
|
export const CommunicationUpdateManyWithWhereWithoutUserInputObjectSchema: z.ZodType<Prisma.CommunicationUpdateManyWithWhereWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.CommunicationUpdateManyWithWhereWithoutUserInput>;
|
|
export const CommunicationUpdateManyWithWhereWithoutUserInputObjectZodSchema = makeSchema();
|