refactor(admin): replace static dashboard stats with dynamic widget registry
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Dashboard Server Registry — Point d'entrée
|
||||
*
|
||||
* Ré-exporte l'API du registre pur et déclenche le câblage des features
|
||||
* via un import side-effect de features/dashboard.server.js.
|
||||
*
|
||||
* Ne jamais importer une feature directement ici.
|
||||
* Pour ajouter une feature : éditer src/features/dashboard.server.js.
|
||||
*/
|
||||
|
||||
export { collectAllDashboardData } from './registry.js';
|
||||
|
||||
// Side effect : initialise le registre, puis déclenche toutes les auto-registrations
|
||||
import './registry.js';
|
||||
import '../../dashboard.server.js';
|
||||
Reference in New Issue
Block a user