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:
34
unionflow/unionflow-mobile-apps/scripts/audit-use-cases.ps1
Normal file
34
unionflow/unionflow-mobile-apps/scripts/audit-use-cases.ps1
Normal file
@@ -0,0 +1,34 @@
|
||||
# Script pour auditer les use cases de chaque feature
|
||||
|
||||
$featuresPath = "C:\Users\dadyo\PersonalProjects\lions-workspace\unionflow\unionflow-mobile-apps\lib\features"
|
||||
|
||||
Write-Host "=== Audit Use Cases par Feature ===" -ForegroundColor Cyan
|
||||
Write-Host ""
|
||||
|
||||
$features = Get-ChildItem -Path $featuresPath -Directory
|
||||
|
||||
foreach ($feature in $features) {
|
||||
$usecasesPath = Join-Path $feature.FullName "domain\usecases"
|
||||
|
||||
if (Test-Path $usecasesPath) {
|
||||
$usecases = Get-ChildItem -Path $usecasesPath -Filter "*.dart" -File
|
||||
|
||||
Write-Host "[$($feature.Name)]" -ForegroundColor Yellow
|
||||
Write-Host " Use cases: $($usecases.Count)"
|
||||
|
||||
if ($usecases.Count -gt 0) {
|
||||
foreach ($usecase in $usecases) {
|
||||
$name = $usecase.Name -replace '\.dart$', ''
|
||||
Write-Host " - $name" -ForegroundColor Gray
|
||||
}
|
||||
} else {
|
||||
Write-Host " (aucun use case trouvé)" -ForegroundColor Red
|
||||
}
|
||||
|
||||
Write-Host ""
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host "=== Résumé ===" -ForegroundColor Cyan
|
||||
$totalFeatures = ($features | Where-Object { Test-Path (Join-Path $_.FullName "domain\usecases") }).Count
|
||||
Write-Host "Features avec use cases: $totalFeatures"
|
||||
Reference in New Issue
Block a user