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

17 lines
2.0 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderCreateWithoutParentInputObjectSchema as CloudFolderCreateWithoutParentInputObjectSchema } from './CloudFolderCreateWithoutParentInput.schema';
import { CloudFolderUncheckedCreateWithoutParentInputObjectSchema as CloudFolderUncheckedCreateWithoutParentInputObjectSchema } from './CloudFolderUncheckedCreateWithoutParentInput.schema';
import { CloudFolderCreateOrConnectWithoutParentInputObjectSchema as CloudFolderCreateOrConnectWithoutParentInputObjectSchema } from './CloudFolderCreateOrConnectWithoutParentInput.schema';
import { CloudFolderCreateManyParentInputEnvelopeObjectSchema as CloudFolderCreateManyParentInputEnvelopeObjectSchema } from './CloudFolderCreateManyParentInputEnvelope.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => CloudFolderCreateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutParentInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutParentInputObjectSchema).array()]).optional(),
connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutParentInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutParentInputObjectSchema).array()]).optional(),
createMany: z.lazy(() => CloudFolderCreateManyParentInputEnvelopeObjectSchema).optional(),
connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CloudFolderCreateNestedManyWithoutParentInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateNestedManyWithoutParentInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateNestedManyWithoutParentInput>;
export const CloudFolderCreateNestedManyWithoutParentInputObjectZodSchema = makeSchema();