Using a similar API as
function updatePreferences(moduleId, values)
It would be nice to also have the method
let values = getPreferences(moduleId);
The goal is really that we can do
API.updatePreferences(4, API.getPreferences(4));
and nothing should change. I'm quite lost with alias and I don't know how easy it is to do.