13 lines
1.1 KiB
TypeScript
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();
|