Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/ServiceLineTransactionUpdateWithWhereUniqueWithoutPaymentInput.schema.ts
2026-04-04 22:13:55 -04:00

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();