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

12 lines
760 B
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentArgsObjectSchema as PaymentArgsObjectSchema } from './PaymentArgs.schema';
import { ServiceLineArgsObjectSchema as ServiceLineArgsObjectSchema } from './ServiceLineArgs.schema'
const makeSchema = () => z.object({
payment: z.union([z.boolean(), z.lazy(() => PaymentArgsObjectSchema)]).optional(),
serviceLine: z.union([z.boolean(), z.lazy(() => ServiceLineArgsObjectSchema)]).optional()
}).strict();
export const ServiceLineTransactionIncludeObjectSchema: z.ZodType<Prisma.ServiceLineTransactionInclude> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionInclude>;
export const ServiceLineTransactionIncludeObjectZodSchema = makeSchema();