151 lines
6.3 KiB
Dart
151 lines
6.3 KiB
Dart
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
|
||
|
|
// **************************************************************************
|
||
|
|
// InjectableConfigGenerator
|
||
|
|
// **************************************************************************
|
||
|
|
|
||
|
|
// ignore_for_file: type=lint
|
||
|
|
// coverage:ignore-file
|
||
|
|
|
||
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||
|
|
import 'package:get_it/get_it.dart' as _i1;
|
||
|
|
import 'package:injectable/injectable.dart' as _i2;
|
||
|
|
import 'package:isar/isar.dart' as _i4;
|
||
|
|
|
||
|
|
import '../../auth/telegram_auth_code_service.dart' as _i18;
|
||
|
|
import '../../cron/check_payment.dart' as _i36;
|
||
|
|
import '../../discounts/discounts_manager.dart' as _i6;
|
||
|
|
import '../../packs/free_packs_distributor.dart' as _i7;
|
||
|
|
import '../../packs/pack_dto_converter.dart' as _i23;
|
||
|
|
import '../../packs/pack_manager.dart' as _i24;
|
||
|
|
import '../../packs/products_price_resolver.dart' as _i11;
|
||
|
|
import '../../promo_codes/promo_codes_manager.dart' as _i30;
|
||
|
|
import '../../statistics/achievement_manager.dart' as _i3;
|
||
|
|
import '../../statistics/session_tracker.dart' as _i13;
|
||
|
|
import '../../statistics/statistics_calculator.dart' as _i14;
|
||
|
|
import '../../tests/test_manager.dart' as _i25;
|
||
|
|
import '../../user/user_manager.dart' as _i19;
|
||
|
|
import '../ads/ads_manager.dart' as _i5;
|
||
|
|
import '../mnemo_shelf.dart' as _i22;
|
||
|
|
import '../purchase/payment_manager.dart' as _i29;
|
||
|
|
import '../purchase/rustore/rustore_purchase_handler.dart' as _i12;
|
||
|
|
import '../purchase/yoo_money.dart' as _i27;
|
||
|
|
import '../subscription/subscription_manager.dart' as _i15;
|
||
|
|
import '../user/google_api.dart' as _i9;
|
||
|
|
import '../v2/admin_users_api_v2.dart' as _i34;
|
||
|
|
import '../v2/ads_api_v2.dart' as _i35;
|
||
|
|
import '../v2/auth_api_v2.dart' as _i20;
|
||
|
|
import '../v2/discounts_api_v2.dart' as _i21;
|
||
|
|
import '../v2/games_api_v2.dart' as _i8;
|
||
|
|
import '../v2/jwt_service.dart' as _i10;
|
||
|
|
import '../v2/packs_api_v2.dart' as _i28;
|
||
|
|
import '../v2/promocodes_api_v2.dart' as _i31;
|
||
|
|
import '../v2/purchases_api_v2.dart' as _i32;
|
||
|
|
import '../v2/subscriptions_api_v2.dart' as _i16;
|
||
|
|
import '../v2/tasks_api_v2.dart' as _i17;
|
||
|
|
import '../v2/tests_api_v2.dart' as _i26;
|
||
|
|
import '../v2/users_api_v2.dart' as _i33;
|
||
|
|
|
||
|
|
extension GetItInjectableX on _i1.GetIt {
|
||
|
|
// initializes the registration of main-scope dependencies inside of GetIt
|
||
|
|
_i1.GetIt init({
|
||
|
|
String? environment,
|
||
|
|
_i2.EnvironmentFilter? environmentFilter,
|
||
|
|
}) {
|
||
|
|
final gh = _i2.GetItHelper(
|
||
|
|
this,
|
||
|
|
environment,
|
||
|
|
environmentFilter,
|
||
|
|
);
|
||
|
|
gh.lazySingleton<_i3.AchievementManager>(
|
||
|
|
() => _i3.AchievementManager(gh<_i4.Isar>()));
|
||
|
|
gh.lazySingleton<_i5.AdsManager>(() => _i5.AdsManager());
|
||
|
|
gh.lazySingleton<_i6.DiscountsManager>(() => const _i6.DiscountsManager());
|
||
|
|
gh.lazySingleton<_i7.FreePacksDistributor>(
|
||
|
|
() => const _i7.FreePacksDistributor());
|
||
|
|
gh.lazySingleton<_i8.GamesApiV2>(() => _i8.GamesApiV2());
|
||
|
|
gh.lazySingleton<_i9.GoogleApi>(() => const _i9.GoogleApi());
|
||
|
|
gh.lazySingleton<_i10.JwtService>(() => _i10.JwtService());
|
||
|
|
gh.lazySingleton<_i11.ProductsPriceResolver>(
|
||
|
|
() => _i11.ProductsPriceResolver(gh<_i6.DiscountsManager>()));
|
||
|
|
gh.lazySingleton<_i12.RustorePurchaseHandler>(
|
||
|
|
() => _i12.RustorePurchaseHandler());
|
||
|
|
gh.lazySingleton<_i13.SessionTracker>(
|
||
|
|
() => _i13.SessionTracker(gh<_i4.Isar>()));
|
||
|
|
gh.lazySingleton<_i14.StatisticsCalculator>(
|
||
|
|
() => _i14.StatisticsCalculator());
|
||
|
|
gh.lazySingleton<_i15.SubscriptionManager>(
|
||
|
|
() => _i15.SubscriptionManager());
|
||
|
|
gh.lazySingleton<_i16.SubscriptionsApiV2>(
|
||
|
|
() => _i16.SubscriptionsApiV2(gh<_i15.SubscriptionManager>()));
|
||
|
|
gh.lazySingleton<_i17.TasksApiV2>(() => const _i17.TasksApiV2());
|
||
|
|
gh.lazySingleton<_i18.TelegramAuthCodeService>(
|
||
|
|
() => _i18.TelegramAuthCodeService());
|
||
|
|
gh.lazySingleton<_i19.UserManager>(() => _i19.UserManager(
|
||
|
|
gh<_i7.FreePacksDistributor>(),
|
||
|
|
gh<_i13.SessionTracker>(),
|
||
|
|
gh<_i14.StatisticsCalculator>(),
|
||
|
|
gh<_i3.AchievementManager>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i20.AuthApiV2>(() => _i20.AuthApiV2(
|
||
|
|
gh<_i19.UserManager>(),
|
||
|
|
gh<_i9.GoogleApi>(),
|
||
|
|
gh<_i10.JwtService>(),
|
||
|
|
gh<_i18.TelegramAuthCodeService>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i21.DiscountsApiV2>(
|
||
|
|
() => _i21.DiscountsApiV2(gh<_i6.DiscountsManager>()));
|
||
|
|
gh.lazySingleton<_i22.MnemoShelf>(
|
||
|
|
() => _i22.MnemoShelf(gh<_i19.UserManager>()));
|
||
|
|
gh.lazySingleton<_i23.PackDtoConverter>(() => _i23.PackDtoConverter(
|
||
|
|
gh<_i11.ProductsPriceResolver>(),
|
||
|
|
gh<_i5.AdsManager>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i24.PackManager>(
|
||
|
|
() => _i24.PackManager(gh<_i23.PackDtoConverter>()));
|
||
|
|
gh.lazySingleton<_i25.TestManager>(
|
||
|
|
() => _i25.TestManager(gh<_i23.PackDtoConverter>()));
|
||
|
|
gh.lazySingleton<_i26.TestsApiV2>(() => _i26.TestsApiV2(
|
||
|
|
gh<_i25.TestManager>(),
|
||
|
|
gh<_i19.UserManager>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i27.YooMoneyHandler>(
|
||
|
|
() => _i27.YooMoneyHandler(gh<_i24.PackManager>()));
|
||
|
|
gh.lazySingleton<_i28.PacksApiV2>(() => _i28.PacksApiV2(
|
||
|
|
gh<_i24.PackManager>(),
|
||
|
|
gh<_i25.TestManager>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i29.PaymentManager>(() => _i29.PaymentManager(
|
||
|
|
gh<_i24.PackManager>(),
|
||
|
|
gh<_i15.SubscriptionManager>(),
|
||
|
|
gh<_i27.YooMoneyHandler>(),
|
||
|
|
gh<_i12.RustorePurchaseHandler>(),
|
||
|
|
gh<_i11.ProductsPriceResolver>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i30.PromoCodesManager>(
|
||
|
|
() => _i30.PromoCodesManager(gh<_i29.PaymentManager>()));
|
||
|
|
gh.lazySingleton<_i31.PromocodesApiV2>(
|
||
|
|
() => _i31.PromocodesApiV2(gh<_i30.PromoCodesManager>()));
|
||
|
|
gh.lazySingleton<_i32.PurchasesApiV2>(() => _i32.PurchasesApiV2(
|
||
|
|
gh<_i29.PaymentManager>(),
|
||
|
|
gh<_i24.PackManager>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i33.UsersApiV2>(() => _i33.UsersApiV2(
|
||
|
|
gh<_i19.UserManager>(),
|
||
|
|
gh<_i29.PaymentManager>(),
|
||
|
|
gh<_i14.StatisticsCalculator>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i34.AdminUsersApiV2>(() => _i34.AdminUsersApiV2(
|
||
|
|
gh<_i19.UserManager>(),
|
||
|
|
gh<_i29.PaymentManager>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i35.AdsApiV2>(() => _i35.AdsApiV2(
|
||
|
|
gh<_i5.AdsManager>(),
|
||
|
|
gh<_i29.PaymentManager>(),
|
||
|
|
));
|
||
|
|
gh.lazySingleton<_i36.CheckPaymentTask>(
|
||
|
|
() => _i36.CheckPaymentTask(gh<_i29.PaymentManager>()));
|
||
|
|
return this;
|
||
|
|
}
|
||
|
|
}
|