11 lines
765 B
TypeScript
11 lines
765 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { NotificationCreateManyUserInputObjectSchema as NotificationCreateManyUserInputObjectSchema } from './NotificationCreateManyUserInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
data: z.union([z.lazy(() => NotificationCreateManyUserInputObjectSchema), z.lazy(() => NotificationCreateManyUserInputObjectSchema).array()]),
|
|
skipDuplicates: z.boolean().optional()
|
|
}).strict();
|
|
export const NotificationCreateManyUserInputEnvelopeObjectSchema: z.ZodType<Prisma.NotificationCreateManyUserInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.NotificationCreateManyUserInputEnvelope>;
|
|
export const NotificationCreateManyUserInputEnvelopeObjectZodSchema = makeSchema();
|