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

17 lines
574 B
TypeScript

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