Enhance staff profile management by updating data structures and repository implementation
- Added new fields to the Staff entity for better profile details. - Updated ProfileRepositoryImpl to fetch staff profiles using a connector. - Refactored GetProfileUseCase to map staff data to UI entities. - Improved dependency injection in StaffProfileModule. - Cleaned up unused mock data references and streamlined profile page logic.
This commit is contained in:
@@ -41,7 +41,7 @@ class ClientCreateOrderModule extends Module {
|
||||
i.addLazySingleton(CreateRapidOrderUseCase.new);
|
||||
|
||||
// BLoCs
|
||||
i.addSingleton<ClientCreateOrderBloc>(ClientCreateOrderBloc.new);
|
||||
i.add<ClientCreateOrderBloc>(ClientCreateOrderBloc.new);
|
||||
i.add<RapidOrderBloc>(RapidOrderBloc.new);
|
||||
i.add<OneTimeOrderBloc>(
|
||||
() => OneTimeOrderBloc(
|
||||
|
||||
Reference in New Issue
Block a user