feat: WebSocket temps réel + Finance Workflow + corrections
- Task #6: WebSocket /ws/dashboard + Kafka events (5 topics) * Backend: KafkaEventProducer, KafkaEventConsumer * Mobile: WebSocketService (reconnection, heartbeat, typed events) * DashboardBloc: Auto-refresh depuis WebSocket events - Finance Workflow: approbations + budgets (backend + mobile) * Backend: entities, services, resources, migrations Flyway V6 * Mobile: features finance_workflow complète avec BLoC - Corrections DI: interfaces IRepository partout * IProfileRepository, IOrganizationRepository, IMembreRepository * GetIt configuré avec @injectable - Spec-Kit: constitution + templates mis à jour * .specify/memory/constitution.md enrichie * Templates agent, plan, spec, tasks, checklist - Nettoyage: fichiers temporaires supprimés Signed-off-by: lions dev Team
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/// Use Case: Vider le cache applicatif
|
||||
library clear_cache;
|
||||
|
||||
import 'package:injectable/injectable.dart';
|
||||
import '../repositories/system_config_repository.dart';
|
||||
|
||||
/// Vide le cache applicatif
|
||||
///
|
||||
/// Use case pour nettoyer le cache et libérer de l'espace mémoire
|
||||
/// Endpoint: POST /api/system/cache/clear
|
||||
@injectable
|
||||
class ClearCache {
|
||||
final ISystemConfigRepository _repository;
|
||||
|
||||
ClearCache(this._repository);
|
||||
|
||||
/// Exécute le use case
|
||||
/// Vide complètement le cache applicatif
|
||||
Future<void> call() async {
|
||||
return _repository.clearCache();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user