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

16 lines
1.7 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './CloudFileChunkWhereUniqueInput.schema';
import { CloudFileChunkUpdateWithoutFileInputObjectSchema as CloudFileChunkUpdateWithoutFileInputObjectSchema } from './CloudFileChunkUpdateWithoutFileInput.schema';
import { CloudFileChunkUncheckedUpdateWithoutFileInputObjectSchema as CloudFileChunkUncheckedUpdateWithoutFileInputObjectSchema } from './CloudFileChunkUncheckedUpdateWithoutFileInput.schema';
import { CloudFileChunkCreateWithoutFileInputObjectSchema as CloudFileChunkCreateWithoutFileInputObjectSchema } from './CloudFileChunkCreateWithoutFileInput.schema';
import { CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema as CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema } from './CloudFileChunkUncheckedCreateWithoutFileInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema),
update: z.union([z.lazy(() => CloudFileChunkUpdateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUncheckedUpdateWithoutFileInputObjectSchema)]),
create: z.union([z.lazy(() => CloudFileChunkCreateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema)])
}).strict();
export const CloudFileChunkUpsertWithWhereUniqueWithoutFileInputObjectSchema: z.ZodType<Prisma.CloudFileChunkUpsertWithWhereUniqueWithoutFileInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileChunkUpsertWithWhereUniqueWithoutFileInput>;
export const CloudFileChunkUpsertWithWhereUniqueWithoutFileInputObjectZodSchema = makeSchema();