Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/CloudFolderCreateOrConnectWithoutParentInput.schema.ts
2026-04-04 22:13:55 -04:00

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();