initial commit
This commit is contained in:
7
packages/db/shared/schemas/createManyPatient.schema.ts
Normal file
7
packages/db/shared/schemas/createManyPatient.schema.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientCreateManyInputObjectSchema as PatientCreateManyInputObjectSchema } from './objects/PatientCreateManyInput.schema';
|
||||
|
||||
export const PatientCreateManySchema: z.ZodType<Prisma.PatientCreateManyArgs> = z.object({ data: z.union([ PatientCreateManyInputObjectSchema, z.array(PatientCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.PatientCreateManyArgs>;
|
||||
|
||||
export const PatientCreateManyZodSchema = z.object({ data: z.union([ PatientCreateManyInputObjectSchema, z.array(PatientCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
Reference in New Issue
Block a user