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 { ClaimUpdateWithoutAppointmentInputObjectSchema as ClaimUpdateWithoutAppointmentInputObjectSchema } from './ClaimUpdateWithoutAppointmentInput.schema';
|
|
import { ClaimUncheckedUpdateWithoutAppointmentInputObjectSchema as ClaimUncheckedUpdateWithoutAppointmentInputObjectSchema } from './ClaimUncheckedUpdateWithoutAppointmentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ClaimWhereUniqueInputObjectSchema),
|
|
data: z.union([z.lazy(() => ClaimUpdateWithoutAppointmentInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutAppointmentInputObjectSchema)])
|
|
}).strict();
|
|
export const ClaimUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.ClaimUpdateWithWhereUniqueWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpdateWithWhereUniqueWithoutAppointmentInput>;
|
|
export const ClaimUpdateWithWhereUniqueWithoutAppointmentInputObjectZodSchema = makeSchema();
|