initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PdfFileCreateWithoutGroupInputObjectSchema as PdfFileCreateWithoutGroupInputObjectSchema } from './PdfFileCreateWithoutGroupInput.schema';
|
||||
import { PdfFileUncheckedCreateWithoutGroupInputObjectSchema as PdfFileUncheckedCreateWithoutGroupInputObjectSchema } from './PdfFileUncheckedCreateWithoutGroupInput.schema';
|
||||
import { PdfFileCreateOrConnectWithoutGroupInputObjectSchema as PdfFileCreateOrConnectWithoutGroupInputObjectSchema } from './PdfFileCreateOrConnectWithoutGroupInput.schema';
|
||||
import { PdfFileCreateManyGroupInputEnvelopeObjectSchema as PdfFileCreateManyGroupInputEnvelopeObjectSchema } from './PdfFileCreateManyGroupInputEnvelope.schema';
|
||||
import { PdfFileWhereUniqueInputObjectSchema as PdfFileWhereUniqueInputObjectSchema } from './PdfFileWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PdfFileCreateWithoutGroupInputObjectSchema), z.lazy(() => PdfFileCreateWithoutGroupInputObjectSchema).array(), z.lazy(() => PdfFileUncheckedCreateWithoutGroupInputObjectSchema), z.lazy(() => PdfFileUncheckedCreateWithoutGroupInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => PdfFileCreateOrConnectWithoutGroupInputObjectSchema), z.lazy(() => PdfFileCreateOrConnectWithoutGroupInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => PdfFileCreateManyGroupInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => PdfFileWhereUniqueInputObjectSchema), z.lazy(() => PdfFileWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const PdfFileUncheckedCreateNestedManyWithoutGroupInputObjectSchema: z.ZodType<Prisma.PdfFileUncheckedCreateNestedManyWithoutGroupInput> = makeSchema() as unknown as z.ZodType<Prisma.PdfFileUncheckedCreateNestedManyWithoutGroupInput>;
|
||||
export const PdfFileUncheckedCreateNestedManyWithoutGroupInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user