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

11 lines
900 B
TypeScript

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