Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/ClaimUpdateWithWhereUniqueWithoutPatientInput.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 { ClaimWhereUniqueInputObjectSchema as ClaimWhereUniqueInputObjectSchema } from './ClaimWhereUniqueInput.schema';
import { ClaimUpdateWithoutPatientInputObjectSchema as ClaimUpdateWithoutPatientInputObjectSchema } from './ClaimUpdateWithoutPatientInput.schema';
import { ClaimUncheckedUpdateWithoutPatientInputObjectSchema as ClaimUncheckedUpdateWithoutPatientInputObjectSchema } from './ClaimUncheckedUpdateWithoutPatientInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => ClaimWhereUniqueInputObjectSchema),
data: z.union([z.lazy(() => ClaimUpdateWithoutPatientInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutPatientInputObjectSchema)])
}).strict();
export const ClaimUpdateWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.ClaimUpdateWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpdateWithWhereUniqueWithoutPatientInput>;
export const ClaimUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();