11 lines
774 B
TypeScript
11 lines
774 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { CommunicationCreateManyUserInputObjectSchema as CommunicationCreateManyUserInputObjectSchema } from './CommunicationCreateManyUserInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
data: z.union([z.lazy(() => CommunicationCreateManyUserInputObjectSchema), z.lazy(() => CommunicationCreateManyUserInputObjectSchema).array()]),
|
|
skipDuplicates: z.boolean().optional()
|
|
}).strict();
|
|
export const CommunicationCreateManyUserInputEnvelopeObjectSchema: z.ZodType<Prisma.CommunicationCreateManyUserInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.CommunicationCreateManyUserInputEnvelope>;
|
|
export const CommunicationCreateManyUserInputEnvelopeObjectZodSchema = makeSchema();
|