13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { PaymentScalarWhereInputObjectSchema as PaymentScalarWhereInputObjectSchema } from './PaymentScalarWhereInput.schema';
|
|
import { PaymentUpdateManyMutationInputObjectSchema as PaymentUpdateManyMutationInputObjectSchema } from './PaymentUpdateManyMutationInput.schema';
|
|
import { PaymentUncheckedUpdateManyWithoutUpdatedByInputObjectSchema as PaymentUncheckedUpdateManyWithoutUpdatedByInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutUpdatedByInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => PaymentScalarWhereInputObjectSchema),
|
|
data: z.union([z.lazy(() => PaymentUpdateManyMutationInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByInputObjectSchema)])
|
|
}).strict();
|
|
export const PaymentUpdateManyWithWhereWithoutUpdatedByInputObjectSchema: z.ZodType<Prisma.PaymentUpdateManyWithWhereWithoutUpdatedByInput> = makeSchema() as unknown as z.ZodType<Prisma.PaymentUpdateManyWithWhereWithoutUpdatedByInput>;
|
|
export const PaymentUpdateManyWithWhereWithoutUpdatedByInputObjectZodSchema = makeSchema();
|