first commit
This commit is contained in:
10
packages/db/shared/schemas/createOneAppointment.schema.ts
Normal file
10
packages/db/shared/schemas/createOneAppointment.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { z } from 'zod';
|
||||
import { AppointmentCreateInputObjectSchema } from './objects/AppointmentCreateInput.schema';
|
||||
import { AppointmentUncheckedCreateInputObjectSchema } from './objects/AppointmentUncheckedCreateInput.schema';
|
||||
|
||||
export const AppointmentCreateOneSchema = z.object({
|
||||
data: z.union([
|
||||
AppointmentCreateInputObjectSchema,
|
||||
AppointmentUncheckedCreateInputObjectSchema,
|
||||
]),
|
||||
});
|
||||
Reference in New Issue
Block a user