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

16 lines
1.6 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './CloudFileWhereUniqueInput.schema';
import { CloudFileUpdateWithoutUserInputObjectSchema as CloudFileUpdateWithoutUserInputObjectSchema } from './CloudFileUpdateWithoutUserInput.schema';
import { CloudFileUncheckedUpdateWithoutUserInputObjectSchema as CloudFileUncheckedUpdateWithoutUserInputObjectSchema } from './CloudFileUncheckedUpdateWithoutUserInput.schema';
import { CloudFileCreateWithoutUserInputObjectSchema as CloudFileCreateWithoutUserInputObjectSchema } from './CloudFileCreateWithoutUserInput.schema';
import { CloudFileUncheckedCreateWithoutUserInputObjectSchema as CloudFileUncheckedCreateWithoutUserInputObjectSchema } from './CloudFileUncheckedCreateWithoutUserInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => CloudFileWhereUniqueInputObjectSchema),
update: z.union([z.lazy(() => CloudFileUpdateWithoutUserInputObjectSchema), z.lazy(() => CloudFileUncheckedUpdateWithoutUserInputObjectSchema)]),
create: z.union([z.lazy(() => CloudFileCreateWithoutUserInputObjectSchema), z.lazy(() => CloudFileUncheckedCreateWithoutUserInputObjectSchema)])
}).strict();
export const CloudFileUpsertWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.CloudFileUpsertWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileUpsertWithWhereUniqueWithoutUserInput>;
export const CloudFileUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();