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

11 lines
783 B
TypeScript

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