13 lines
1.0 KiB
TypeScript
13 lines
1.0 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ClaimWhereUniqueInputObjectSchema as ClaimWhereUniqueInputObjectSchema } from './ClaimWhereUniqueInput.schema';
|
|
import { ClaimUpdateWithoutUserInputObjectSchema as ClaimUpdateWithoutUserInputObjectSchema } from './ClaimUpdateWithoutUserInput.schema';
|
|
import { ClaimUncheckedUpdateWithoutUserInputObjectSchema as ClaimUncheckedUpdateWithoutUserInputObjectSchema } from './ClaimUncheckedUpdateWithoutUserInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ClaimWhereUniqueInputObjectSchema),
|
|
data: z.union([z.lazy(() => ClaimUpdateWithoutUserInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutUserInputObjectSchema)])
|
|
}).strict();
|
|
export const ClaimUpdateWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.ClaimUpdateWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpdateWithWhereUniqueWithoutUserInput>;
|
|
export const ClaimUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();
|