13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './CloudFileWhereUniqueInput.schema';
|
|
import { CloudFileCreateWithoutFolderInputObjectSchema as CloudFileCreateWithoutFolderInputObjectSchema } from './CloudFileCreateWithoutFolderInput.schema';
|
|
import { CloudFileUncheckedCreateWithoutFolderInputObjectSchema as CloudFileUncheckedCreateWithoutFolderInputObjectSchema } from './CloudFileUncheckedCreateWithoutFolderInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => CloudFileWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => CloudFileCreateWithoutFolderInputObjectSchema), z.lazy(() => CloudFileUncheckedCreateWithoutFolderInputObjectSchema)])
|
|
}).strict();
|
|
export const CloudFileCreateOrConnectWithoutFolderInputObjectSchema: z.ZodType<Prisma.CloudFileCreateOrConnectWithoutFolderInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileCreateOrConnectWithoutFolderInput>;
|
|
export const CloudFileCreateOrConnectWithoutFolderInputObjectZodSchema = makeSchema();
|