feat: category
This commit is contained in:
@@ -14,6 +14,8 @@ import 'package:apskel_owner_flutter/application/auth/login_form/login_form_bloc
|
||||
as _i775;
|
||||
import 'package:apskel_owner_flutter/application/auth/logout_form/logout_form_bloc.dart'
|
||||
as _i574;
|
||||
import 'package:apskel_owner_flutter/application/category/category_loader/category_loader_bloc.dart'
|
||||
as _i183;
|
||||
import 'package:apskel_owner_flutter/application/language/language_bloc.dart'
|
||||
as _i455;
|
||||
import 'package:apskel_owner_flutter/application/sales/sales_loader/sales_loader_bloc.dart'
|
||||
@@ -30,6 +32,7 @@ import 'package:apskel_owner_flutter/common/network/network_client.dart'
|
||||
import 'package:apskel_owner_flutter/domain/analytic/repositories/i_analytic_repository.dart'
|
||||
as _i477;
|
||||
import 'package:apskel_owner_flutter/domain/auth/auth.dart' as _i49;
|
||||
import 'package:apskel_owner_flutter/domain/category/category.dart' as _i1020;
|
||||
import 'package:apskel_owner_flutter/env.dart' as _i6;
|
||||
import 'package:apskel_owner_flutter/infrastructure/analytic/datasource/remote_data_provider.dart'
|
||||
as _i866;
|
||||
@@ -41,6 +44,10 @@ import 'package:apskel_owner_flutter/infrastructure/auth/datasources/remote_data
|
||||
as _i17;
|
||||
import 'package:apskel_owner_flutter/infrastructure/auth/repositories/auth_repository.dart'
|
||||
as _i1035;
|
||||
import 'package:apskel_owner_flutter/infrastructure/category/datasource/remote_data_provider.dart'
|
||||
as _i333;
|
||||
import 'package:apskel_owner_flutter/infrastructure/category/repositories/category_repository.dart'
|
||||
as _i869;
|
||||
import 'package:apskel_owner_flutter/presentation/router/app_router.dart'
|
||||
as _i258;
|
||||
import 'package:connectivity_plus/connectivity_plus.dart' as _i895;
|
||||
@@ -100,6 +107,9 @@ extension GetItInjectableX on _i174.GetIt {
|
||||
gh.factory<_i866.AnalyticRemoteDataProvider>(
|
||||
() => _i866.AnalyticRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||
);
|
||||
gh.factory<_i333.CategoryRemoteDataProvider>(
|
||||
() => _i333.CategoryRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||
);
|
||||
gh.factory<_i477.IAnalyticRepository>(
|
||||
() => _i393.AnalyticRepository(gh<_i866.AnalyticRemoteDataProvider>()),
|
||||
);
|
||||
@@ -109,6 +119,12 @@ extension GetItInjectableX on _i174.GetIt {
|
||||
gh<_i17.AuthRemoteDataProvider>(),
|
||||
),
|
||||
);
|
||||
gh.factory<_i1020.ICategoryRepository>(
|
||||
() => _i869.CategoryRepository(gh<_i333.CategoryRemoteDataProvider>()),
|
||||
);
|
||||
gh.factory<_i183.CategoryLoaderBloc>(
|
||||
() => _i183.CategoryLoaderBloc(gh<_i1020.ICategoryRepository>()),
|
||||
);
|
||||
gh.factory<_i882.SalesLoaderBloc>(
|
||||
() => _i882.SalesLoaderBloc(gh<_i477.IAnalyticRepository>()),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user