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