first commit
This commit is contained in:
10
packages/db/shared/schemas/createManyAppointment.schema.ts
Normal file
10
packages/db/shared/schemas/createManyAppointment.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { z } from 'zod';
|
||||
import { AppointmentCreateManyInputObjectSchema } from './objects/AppointmentCreateManyInput.schema';
|
||||
|
||||
export const AppointmentCreateManySchema = z.object({
|
||||
data: z.union([
|
||||
AppointmentCreateManyInputObjectSchema,
|
||||
z.array(AppointmentCreateManyInputObjectSchema),
|
||||
]),
|
||||
skipDuplicates: z.boolean().optional(),
|
||||
});
|
||||
Reference in New Issue
Block a user