feat: product
This commit is contained in:
@@ -18,6 +18,8 @@ import 'package:apskel_owner_flutter/application/category/category_loader/catego
|
||||
as _i183;
|
||||
import 'package:apskel_owner_flutter/application/language/language_bloc.dart'
|
||||
as _i455;
|
||||
import 'package:apskel_owner_flutter/application/product/product_loader/product_loader_bloc.dart'
|
||||
as _i458;
|
||||
import 'package:apskel_owner_flutter/application/sales/sales_loader/sales_loader_bloc.dart'
|
||||
as _i882;
|
||||
import 'package:apskel_owner_flutter/common/api/api_client.dart' as _i115;
|
||||
@@ -33,6 +35,7 @@ import 'package:apskel_owner_flutter/domain/analytic/repositories/i_analytic_rep
|
||||
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/domain/product/product.dart' as _i419;
|
||||
import 'package:apskel_owner_flutter/env.dart' as _i6;
|
||||
import 'package:apskel_owner_flutter/infrastructure/analytic/datasource/remote_data_provider.dart'
|
||||
as _i866;
|
||||
@@ -48,6 +51,10 @@ import 'package:apskel_owner_flutter/infrastructure/category/datasource/remote_d
|
||||
as _i333;
|
||||
import 'package:apskel_owner_flutter/infrastructure/category/repositories/category_repository.dart'
|
||||
as _i869;
|
||||
import 'package:apskel_owner_flutter/infrastructure/product/datasources/remote_data_provider.dart'
|
||||
as _i823;
|
||||
import 'package:apskel_owner_flutter/infrastructure/product/repositories/product_repository.dart'
|
||||
as _i121;
|
||||
import 'package:apskel_owner_flutter/presentation/router/app_router.dart'
|
||||
as _i258;
|
||||
import 'package:connectivity_plus/connectivity_plus.dart' as _i895;
|
||||
@@ -110,6 +117,9 @@ extension GetItInjectableX on _i174.GetIt {
|
||||
gh.factory<_i333.CategoryRemoteDataProvider>(
|
||||
() => _i333.CategoryRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||
);
|
||||
gh.factory<_i823.ProductRemoteDataProvider>(
|
||||
() => _i823.ProductRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||
);
|
||||
gh.factory<_i477.IAnalyticRepository>(
|
||||
() => _i393.AnalyticRepository(gh<_i866.AnalyticRemoteDataProvider>()),
|
||||
);
|
||||
@@ -119,9 +129,15 @@ extension GetItInjectableX on _i174.GetIt {
|
||||
gh<_i17.AuthRemoteDataProvider>(),
|
||||
),
|
||||
);
|
||||
gh.factory<_i419.IProductRepository>(
|
||||
() => _i121.ProductRepository(gh<_i823.ProductRemoteDataProvider>()),
|
||||
);
|
||||
gh.factory<_i1020.ICategoryRepository>(
|
||||
() => _i869.CategoryRepository(gh<_i333.CategoryRemoteDataProvider>()),
|
||||
);
|
||||
gh.factory<_i458.ProductLoaderBloc>(
|
||||
() => _i458.ProductLoaderBloc(gh<_i419.IProductRepository>()),
|
||||
);
|
||||
gh.factory<_i183.CategoryLoaderBloc>(
|
||||
() => _i183.CategoryLoaderBloc(gh<_i1020.ICategoryRepository>()),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user