Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/CloudFileUpdateToOneWithWhereWithoutChunksInput.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 { CloudFileWhereInputObjectSchema as CloudFileWhereInputObjectSchema } from './CloudFileWhereInput.schema';
import { CloudFileUpdateWithoutChunksInputObjectSchema as CloudFileUpdateWithoutChunksInputObjectSchema } from './CloudFileUpdateWithoutChunksInput.schema';
import { CloudFileUncheckedUpdateWithoutChunksInputObjectSchema as CloudFileUncheckedUpdateWithoutChunksInputObjectSchema } from './CloudFileUncheckedUpdateWithoutChunksInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => CloudFileWhereInputObjectSchema).optional(),
data: z.union([z.lazy(() => CloudFileUpdateWithoutChunksInputObjectSchema), z.lazy(() => CloudFileUncheckedUpdateWithoutChunksInputObjectSchema)])
}).strict();
export const CloudFileUpdateToOneWithWhereWithoutChunksInputObjectSchema: z.ZodType<Prisma.CloudFileUpdateToOneWithWhereWithoutChunksInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileUpdateToOneWithWhereWithoutChunksInput>;
export const CloudFileUpdateToOneWithWhereWithoutChunksInputObjectZodSchema = makeSchema();