diff --git a/server/src/types/appointment/appointment.types.ts b/server/src/types/appointment/appointment.types.ts new file mode 100644 index 0000000..34cdfda --- /dev/null +++ b/server/src/types/appointment/appointment.types.ts @@ -0,0 +1,12 @@ +export interface CreateAppointmentType { + studentId: string; + teacherId: string; + lesson: string; + price: string; + date: string; + time: string; +} + +export interface UpdateAppointmentStatusType { + status: "approved" | "rejected"; +}