Hi,
In a widget, i had to add layers without adding it in LayerList widget (and without modifications in jimu.js).
After digging in jimu.js, i finally find how to do this :
After layer's instanciation but before adding it in the map:
myLayer._basemapGalleryLayerType = "basemap";