Files
unionflow-server-api/unionflow/unionflow-mobile-apps/lib/features/solidarity/bloc/solidarity_event.dart
dahoud e8ad874015 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
2026-03-15 02:12:17 +00:00

55 lines
1.3 KiB
Dart

part of 'solidarity_bloc.dart';
abstract class SolidarityEvent extends Equatable {
const SolidarityEvent();
@override
List<Object?> get props => [];
}
class LoadDemandesAide extends SolidarityEvent {
final int page;
final int size;
const LoadDemandesAide({this.page = 0, this.size = 20});
@override
List<Object?> get props => [page, size];
}
class LoadDemandeAideById extends SolidarityEvent {
final String id;
const LoadDemandeAideById(this.id);
@override
List<Object?> get props => [id];
}
class SearchDemandesAide extends SolidarityEvent {
final String? statut;
final String? type;
final int page;
final int size;
const SearchDemandesAide({this.statut, this.type, this.page = 0, this.size = 20});
@override
List<Object?> get props => [statut, type, page, size];
}
class CreateDemandeAide extends SolidarityEvent {
final DemandeAideModel demande;
const CreateDemandeAide(this.demande);
@override
List<Object?> get props => [demande];
}
class ApprouverDemandeAide extends SolidarityEvent {
final String id;
const ApprouverDemandeAide(this.id);
@override
List<Object?> get props => [id];
}
class RejeterDemandeAide extends SolidarityEvent {
final String id;
final String? motif;
const RejeterDemandeAide(this.id, {this.motif});
@override
List<Object?> get props => [id, motif];
}