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

13 lines
1.2 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema';
import { ServiceLineUpdateWithoutPaymentInputObjectSchema as ServiceLineUpdateWithoutPaymentInputObjectSchema } from './ServiceLineUpdateWithoutPaymentInput.schema';
import { ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema as ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema } from './ServiceLineUncheckedUpdateWithoutPaymentInput.schema'
const makeSchema = () => z.object({
where: z.lazy(() => ServiceLineWhereUniqueInputObjectSchema),
data: z.union([z.lazy(() => ServiceLineUpdateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateWithoutPaymentInputObjectSchema)])
}).strict();
export const ServiceLineUpdateWithWhereUniqueWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineUpdateWithWhereUniqueWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpdateWithWhereUniqueWithoutPaymentInput>;
export const ServiceLineUpdateWithWhereUniqueWithoutPaymentInputObjectZodSchema = makeSchema();