Initial commit: unionflow-mobile-apps

Application Flutter complète (sans build artifacts).

Signed-off-by: lions dev Team
This commit is contained in:
dahoud
2026-03-15 16:30:08 +00:00
commit d094d6db9c
1790 changed files with 507435 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/// Use Case: Récupérer les statistiques du cache
library get_cache_stats;
import 'package:injectable/injectable.dart';
import '../repositories/system_config_repository.dart';
import '../../data/models/cache_stats_model.dart';
/// Récupère les statistiques du cache applicatif
///
/// Use case pour consulter l'état du cache (taille, hits/miss, etc.)
/// Endpoint: GET /api/system/cache/stats
@injectable
class GetCacheStats {
final ISystemConfigRepository _repository;
GetCacheStats(this._repository);
/// Exécute le use case
/// Retourne les statistiques du cache (CacheStatsModel)
Future<CacheStatsModel> call() async {
return _repository.getCacheStats();
}
}