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 { ServiceLineUncheckedUpdateManyWithoutPaymentInputObjectSchema as ServiceLineUncheckedUpdateManyWithoutPaymentInputObjectSchema } from './ServiceLineUncheckedUpdateManyWithoutPaymentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineScalarWhereInputObjectSchema),
|
|
data: z.union([z.lazy(() => ServiceLineUpdateManyMutationInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineUpdateManyWithWhereWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineUpdateManyWithWhereWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpdateManyWithWhereWithoutPaymentInput>;
|
|
export const ServiceLineUpdateManyWithWhereWithoutPaymentInputObjectZodSchema = makeSchema();
|