mirrored_repositories/trave_tou_app/lib/core
import 'package:get_it/get_it.dart';
import 'package:injectable/injectable.dart';
import 'package:tourist_app/application/trip/bloc/trip_bloc.dart';
import 'package:tourist_app/core/auth/google_auth/auth.dart';
import 'package:tourist_app/core/auth/google_auth/google_auth.dart';
import 'package:tourist_app/domain/trip_create/trip_create.dart';
import 'package:tourist_app/infrastructure/firestore/firestore.dart';

import 'di.config.dart';

final getIt = GetIt.instance;

@InjectableInit()
Future<void> configureDependencies() async {
  await $initGetIt(getIt, environment: Environment.prod);
  getIt.registerSingleton<Auth>(Auth());
  getIt.registerSingleton<TripCreateModel>(
      const TripCreateModel(expense: '', fromDate: '', name: '', toDate: ''));
}
