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

13 lines
1.2 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './CloudFileChunkWhereUniqueInput.schema';
import { CloudFileChunkCreateWithoutFileInputObjectSchema as CloudFileChunkCreateWithoutFileInputObjectSchema } from './CloudFileChunkCreateWithoutFileInput.schema';
import { CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema as CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema } from './CloudFileChunkUncheckedCreateWithoutFileInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema),
create: z.union([z.lazy(() => CloudFileChunkCreateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema)])
}).strict();
export const CloudFileChunkCreateOrConnectWithoutFileInputObjectSchema: z.ZodType<Prisma.CloudFileChunkCreateOrConnectWithoutFileInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileChunkCreateOrConnectWithoutFileInput>;
export const CloudFileChunkCreateOrConnectWithoutFileInputObjectZodSchema = makeSchema();