Files
DentalManagement09/packages/db/shared/schemas/createManyPatientServiceHistory.schema.ts
T

7 lines
869 B
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { PatientServiceHistoryCreateManyInputObjectSchema as PatientServiceHistoryCreateManyInputObjectSchema } from './objects/PatientServiceHistoryCreateManyInput.schema';
export const PatientServiceHistoryCreateManySchema: z.ZodType<Prisma.PatientServiceHistoryCreateManyArgs> = z.object({ data: z.union([ PatientServiceHistoryCreateManyInputObjectSchema, z.array(PatientServiceHistoryCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateManyArgs>;
export const PatientServiceHistoryCreateManyZodSchema = z.object({ data: z.union([ PatientServiceHistoryCreateManyInputObjectSchema, z.array(PatientServiceHistoryCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();