Add "getUser" action, to fetch a specific user
fixes #31
This includes a backwards-incompatible change, moving the existing getUser
action to getCurrentUser
, which is unfortunate but is at least the most appropriate name for the action which fetches the current user. To do otherwise (e.g. calling the new action getProfile
) would've resulted in several confusingly-named actions.
I also took the opportunity to tidy up the actions index, using import *
rather than importing and exporting each named action individually.