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 { ClaimUpdateWithoutStaffInputObjectSchema as ClaimUpdateWithoutStaffInputObjectSchema } from './ClaimUpdateWithoutStaffInput.schema';
|
|
import { ClaimUncheckedUpdateWithoutStaffInputObjectSchema as ClaimUncheckedUpdateWithoutStaffInputObjectSchema } from './ClaimUncheckedUpdateWithoutStaffInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ClaimWhereUniqueInputObjectSchema),
|
|
data: z.union([z.lazy(() => ClaimUpdateWithoutStaffInputObjectSchema), z.lazy(() => ClaimUncheckedUpdateWithoutStaffInputObjectSchema)])
|
|
}).strict();
|
|
export const ClaimUpdateWithWhereUniqueWithoutStaffInputObjectSchema: z.ZodType<Prisma.ClaimUpdateWithWhereUniqueWithoutStaffInput> = makeSchema() as unknown as z.ZodType<Prisma.ClaimUpdateWithWhereUniqueWithoutStaffInput>;
|
|
export const ClaimUpdateWithWhereUniqueWithoutStaffInputObjectZodSchema = makeSchema();
|