13 lines
1.2 KiB
TypeScript
13 lines
1.2 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineScalarWhereInputObjectSchema as ServiceLineScalarWhereInputObjectSchema } from './ServiceLineScalarWhereInput.schema';
|
|
import { ServiceLineUpdateManyMutationInputObjectSchema as ServiceLineUpdateManyMutationInputObjectSchema } from './ServiceLineUpdateManyMutationInput.schema';
|
|
import { ServiceLineUncheckedUpdateManyWithoutClaimInputObjectSchema as ServiceLineUncheckedUpdateManyWithoutClaimInputObjectSchema } from './ServiceLineUncheckedUpdateManyWithoutClaimInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineScalarWhereInputObjectSchema),
|
|
data: z.union([z.lazy(() => ServiceLineUpdateManyMutationInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineUpdateManyWithWhereWithoutClaimInputObjectSchema: z.ZodType<Prisma.ServiceLineUpdateManyWithWhereWithoutClaimInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpdateManyWithWhereWithoutClaimInput>;
|
|
export const ServiceLineUpdateManyWithWhereWithoutClaimInputObjectZodSchema = makeSchema();
|