This PR transcripts parts of wasabee-iitc to typescript.
Everything but code involving leaflet inheritance system is transcript here.
As a side effect, this PR includes a rewrite of the request system to integrate error handling and hopefully leads to meaningful error messages. Main changes in this aspect are :
use own alert to provide a title to small but informative dialogs (error/warning/info)
don't logout on network/unknown error
Other internal changes:
links and markers are specialization of tasks. In order to provide a unified interface, the client renames some fields from the ones provides by the server.
me object is now a specialization of an Agent. (same renaming: .GoogleID -> .id) + renaming in team agent data
non owned ops are removed whenever the "wasabee:logout" event is raised (only on WasabeeMe.purge()). If the google ID is not available, nothing is removed
This PR transcripts parts of wasabee-iitc to typescript. Everything but code involving leaflet inheritance system is transcript here.
As a side effect, this PR includes a rewrite of the request system to integrate error handling and hopefully leads to meaningful error messages. Main changes in this aspect are :
Other internal changes:
.GoogleID
->.id
) + renaming in team agent data"wasabee:logout"
event is raised (only onWasabeeMe.purge()
). If the google ID is not available, nothing is removed