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

11 lines
747 B
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PaymentCreateManyPatientInputObjectSchema as PaymentCreateManyPatientInputObjectSchema } from './PaymentCreateManyPatientInput.schema'
const makeSchema = () => z.object({
data: z.union([z.lazy(() => PaymentCreateManyPatientInputObjectSchema), z.lazy(() => PaymentCreateManyPatientInputObjectSchema).array()]),
skipDuplicates: z.boolean().optional()
}).strict();
export const PaymentCreateManyPatientInputEnvelopeObjectSchema: z.ZodType<Prisma.PaymentCreateManyPatientInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.PaymentCreateManyPatientInputEnvelope>;
export const PaymentCreateManyPatientInputEnvelopeObjectZodSchema = makeSchema();