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

17 lines
550 B
TypeScript

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