Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/BackupDestinationUpdateWithWhereUniqueWithoutUserInput.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 { BackupDestinationWhereUniqueInputObjectSchema as BackupDestinationWhereUniqueInputObjectSchema } from './BackupDestinationWhereUniqueInput.schema';
import { BackupDestinationUpdateWithoutUserInputObjectSchema as BackupDestinationUpdateWithoutUserInputObjectSchema } from './BackupDestinationUpdateWithoutUserInput.schema';
import { BackupDestinationUncheckedUpdateWithoutUserInputObjectSchema as BackupDestinationUncheckedUpdateWithoutUserInputObjectSchema } from './BackupDestinationUncheckedUpdateWithoutUserInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => BackupDestinationWhereUniqueInputObjectSchema),
data: z.union([z.lazy(() => BackupDestinationUpdateWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUncheckedUpdateWithoutUserInputObjectSchema)])
}).strict();
export const BackupDestinationUpdateWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.BackupDestinationUpdateWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.BackupDestinationUpdateWithWhereUniqueWithoutUserInput>;
export const BackupDestinationUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();