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

11 lines
765 B
TypeScript

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