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

15 lines
1.4 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFileCreateWithoutChunksInputObjectSchema as CloudFileCreateWithoutChunksInputObjectSchema } from './CloudFileCreateWithoutChunksInput.schema';
import { CloudFileUncheckedCreateWithoutChunksInputObjectSchema as CloudFileUncheckedCreateWithoutChunksInputObjectSchema } from './CloudFileUncheckedCreateWithoutChunksInput.schema';
import { CloudFileCreateOrConnectWithoutChunksInputObjectSchema as CloudFileCreateOrConnectWithoutChunksInputObjectSchema } from './CloudFileCreateOrConnectWithoutChunksInput.schema';
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './CloudFileWhereUniqueInput.schema'
const makeSchema = () => z.object({
create: z.union([z.lazy(() => CloudFileCreateWithoutChunksInputObjectSchema), z.lazy(() => CloudFileUncheckedCreateWithoutChunksInputObjectSchema)]).optional(),
connectOrCreate: z.lazy(() => CloudFileCreateOrConnectWithoutChunksInputObjectSchema).optional(),
connect: z.lazy(() => CloudFileWhereUniqueInputObjectSchema).optional()
}).strict();
export const CloudFileCreateNestedOneWithoutChunksInputObjectSchema: z.ZodType<Prisma.CloudFileCreateNestedOneWithoutChunksInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileCreateNestedOneWithoutChunksInput>;
export const CloudFileCreateNestedOneWithoutChunksInputObjectZodSchema = makeSchema();