11 lines
873 B
TypeScript
11 lines
873 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { PatientServiceHistoryCreateManyPatientInputObjectSchema as PatientServiceHistoryCreateManyPatientInputObjectSchema } from './PatientServiceHistoryCreateManyPatientInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
data: z.union([z.lazy(() => PatientServiceHistoryCreateManyPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateManyPatientInputObjectSchema).array()]),
|
|
skipDuplicates: z.boolean().optional()
|
|
}).strict();
|
|
export const PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCreateManyPatientInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateManyPatientInputEnvelope>;
|
|
export const PatientServiceHistoryCreateManyPatientInputEnvelopeObjectZodSchema = makeSchema();
|