initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFileCreateWithoutFolderInputObjectSchema as CloudFileCreateWithoutFolderInputObjectSchema } from './CloudFileCreateWithoutFolderInput.schema';
|
||||
import { CloudFileUncheckedCreateWithoutFolderInputObjectSchema as CloudFileUncheckedCreateWithoutFolderInputObjectSchema } from './CloudFileUncheckedCreateWithoutFolderInput.schema';
|
||||
import { CloudFileCreateOrConnectWithoutFolderInputObjectSchema as CloudFileCreateOrConnectWithoutFolderInputObjectSchema } from './CloudFileCreateOrConnectWithoutFolderInput.schema';
|
||||
import { CloudFileCreateManyFolderInputEnvelopeObjectSchema as CloudFileCreateManyFolderInputEnvelopeObjectSchema } from './CloudFileCreateManyFolderInputEnvelope.schema';
|
||||
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './CloudFileWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => CloudFileCreateWithoutFolderInputObjectSchema), z.lazy(() => CloudFileCreateWithoutFolderInputObjectSchema).array(), z.lazy(() => CloudFileUncheckedCreateWithoutFolderInputObjectSchema), z.lazy(() => CloudFileUncheckedCreateWithoutFolderInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => CloudFileCreateOrConnectWithoutFolderInputObjectSchema), z.lazy(() => CloudFileCreateOrConnectWithoutFolderInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => CloudFileCreateManyFolderInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => CloudFileWhereUniqueInputObjectSchema), z.lazy(() => CloudFileWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const CloudFileCreateNestedManyWithoutFolderInputObjectSchema: z.ZodType<Prisma.CloudFileCreateNestedManyWithoutFolderInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileCreateNestedManyWithoutFolderInput>;
|
||||
export const CloudFileCreateNestedManyWithoutFolderInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user