13 lines
1.3 KiB
TypeScript
13 lines
1.3 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema';
|
|
import { ServiceLineTransactionUpdateWithoutPaymentInputObjectSchema as ServiceLineTransactionUpdateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUpdateWithoutPaymentInput.schema';
|
|
import { ServiceLineTransactionUncheckedUpdateWithoutPaymentInputObjectSchema as ServiceLineTransactionUncheckedUpdateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUncheckedUpdateWithoutPaymentInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
where: z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema),
|
|
data: z.union([z.lazy(() => ServiceLineTransactionUpdateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedUpdateWithoutPaymentInputObjectSchema)])
|
|
}).strict();
|
|
export const ServiceLineTransactionUpdateWithWhereUniqueWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionUpdateWithWhereUniqueWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionUpdateWithWhereUniqueWithoutPaymentInput>;
|
|
export const ServiceLineTransactionUpdateWithWhereUniqueWithoutPaymentInputObjectZodSchema = makeSchema();
|