Files
DentalManagement2025/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInputEnvelope.schema.ts
2025-05-08 21:27:29 +05:30

17 lines
592 B
TypeScript

import { z } from 'zod';
import { AppointmentCreateManyPatientInputObjectSchema } from './AppointmentCreateManyPatientInput.schema';
import type { Prisma } from '../../../generated/prisma';
const Schema: z.ZodType<Prisma.AppointmentCreateManyPatientInputEnvelope> = z
.object({
data: z.union([
z.lazy(() => AppointmentCreateManyPatientInputObjectSchema),
z.lazy(() => AppointmentCreateManyPatientInputObjectSchema).array(),
]),
skipDuplicates: z.boolean().optional(),
})
.strict();
export const AppointmentCreateManyPatientInputEnvelopeObjectSchema = Schema;