13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema';
|
|
import { ServiceLineUpdateWithoutClaimInputObjectSchema as ServiceLineUpdateWithoutClaimInputObjectSchema } from './ServiceLineUpdateWithoutClaimInput.schema';
|
|
import { ServiceLineUncheckedUpdateWithoutClaimInputObjectSchema as ServiceLineUncheckedUpdateWithoutClaimInputObjectSchema } from './ServiceLineUncheckedUpdateWithoutClaimInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineWhereUniqueInputObjectSchema),
|
|
data: z.union([z.lazy(() => ServiceLineUpdateWithoutClaimInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateWithoutClaimInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineUpdateWithWhereUniqueWithoutClaimInputObjectSchema: z.ZodType<Prisma.ServiceLineUpdateWithWhereUniqueWithoutClaimInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpdateWithWhereUniqueWithoutClaimInput>;
|
|
export const ServiceLineUpdateWithWhereUniqueWithoutClaimInputObjectZodSchema = makeSchema();
|