refactor(localforage): create an enum with the MODULE_TYPEs