initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user