13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
|
|
import { CloudFolderCreateWithoutParentInputObjectSchema as CloudFolderCreateWithoutParentInputObjectSchema } from './CloudFolderCreateWithoutParentInput.schema';
|
|
import { CloudFolderUncheckedCreateWithoutParentInputObjectSchema as CloudFolderUncheckedCreateWithoutParentInputObjectSchema } from './CloudFolderUncheckedCreateWithoutParentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema),
|
|
create: z.union([z.lazy(() => CloudFolderCreateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutParentInputObjectSchema)])
|
|
}).strict();
|
|
export const CloudFolderCreateOrConnectWithoutParentInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateOrConnectWithoutParentInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateOrConnectWithoutParentInput>;
|
|
export const CloudFolderCreateOrConnectWithoutParentInputObjectZodSchema = makeSchema();
|