@@ -8,9 +8,11 @@ import net.squanchy.remoteconfig.RemoteConfig
88import net.squanchy.remoteconfig.RemoteConfigModule
99import net.squanchy.schedule.tracksfilter.TracksFilter
1010import net.squanchy.schedule.tracksfilter.TracksFilterModule
11- import net.squanchy.service.firebase.FirebaseAuthService
11+ import net.squanchy.search.algolia.AlgoliaModule
12+ import net.squanchy.search.algolia.AlgoliaSearchEngine
1213import net.squanchy.service.firebase.FirestoreDbService
1314import net.squanchy.service.firebase.injection.FirestoreModule
15+ import net.squanchy.service.repository.AuthService
1416import net.squanchy.service.repository.EventRepository
1517import net.squanchy.service.repository.SpeakerRepository
1618import net.squanchy.service.repository.TracksRepository
@@ -24,6 +26,7 @@ fun createApplicationComponent(application: Application): ApplicationComponent {
2426 .repositoryModule(RepositoryModule ())
2527 .checksumModule(ChecksumModule ())
2628 .applicationContextModule(ApplicationContextModule (application))
29+ .algoliaModule(AlgoliaModule ())
2730 .analyticsModule(AnalyticsModule (application))
2831 .remoteConfigModule(RemoteConfigModule ())
2932 .tracksFilterModule(TracksFilterModule ())
@@ -33,6 +36,7 @@ fun createApplicationComponent(application: Application): ApplicationComponent {
3336@ApplicationLifecycle
3437@Component(
3538 modules = [
39+ AlgoliaModule ::class ,
3640 ApplicationContextModule ::class ,
3741 FirestoreModule ::class ,
3842 ChecksumModule ::class ,
@@ -47,7 +51,7 @@ interface ApplicationComponent {
4751
4852 fun firestoreDbService (): FirestoreDbService
4953
50- fun firebaseAuthService (): FirebaseAuthService
54+ fun firebaseAuthService (): AuthService
5155
5256 fun eventRepository (): EventRepository
5357
@@ -62,4 +66,6 @@ interface ApplicationComponent {
6266 fun remoteConfig (): RemoteConfig
6367
6468 fun application (): Application
69+
70+ fun algoliaSearchEngine (): AlgoliaSearchEngine
6571}
0 commit comments