13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { PdfGroupWhereUniqueInputObjectSchema as PdfGroupWhereUniqueInputObjectSchema } from './PdfGroupWhereUniqueInput.schema';
|
|
import { PdfGroupCreateWithoutPdfsInputObjectSchema as PdfGroupCreateWithoutPdfsInputObjectSchema } from './PdfGroupCreateWithoutPdfsInput.schema';
|
|
import { PdfGroupUncheckedCreateWithoutPdfsInputObjectSchema as PdfGroupUncheckedCreateWithoutPdfsInputObjectSchema } from './PdfGroupUncheckedCreateWithoutPdfsInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => PdfGroupWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => PdfGroupCreateWithoutPdfsInputObjectSchema), z.lazy(() => PdfGroupUncheckedCreateWithoutPdfsInputObjectSchema)])
|
|
}).strict();
|
|
export const PdfGroupCreateOrConnectWithoutPdfsInputObjectSchema: z.ZodType<Prisma.PdfGroupCreateOrConnectWithoutPdfsInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfGroupCreateOrConnectWithoutPdfsInput>;
|
|
export const PdfGroupCreateOrConnectWithoutPdfsInputObjectZodSchema = makeSchema();
|