Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/CloudFileCreateNestedManyWithoutFolderInput.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 { 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();