Skip to content

Commit

Permalink
✨ Running 관련 유즈케이스 DI
Browse files Browse the repository at this point in the history
  • Loading branch information
yonghanJu committed Oct 20, 2023
1 parent 084c427 commit f294a3a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/src/main/java/com/whyranoid/walkie/KoinModules.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import com.whyranoid.domain.usecase.UploadPostUseCase
import com.whyranoid.domain.usecase.running.GetRunningFollowerUseCase
import com.whyranoid.domain.usecase.running.RunningFinishUseCase
import com.whyranoid.domain.usecase.running.RunningStartUseCase
import com.whyranoid.domain.usecase.running.SendLikeUseCase
import com.whyranoid.presentation.screens.mypage.editprofile.EditProfileViewModel
import com.whyranoid.presentation.viewmodel.AddPostViewModel
import com.whyranoid.presentation.viewmodel.RunningEditViewModel
Expand All @@ -79,7 +80,7 @@ val viewModelModule = module {
single { ChallengeDetailViewModel(get()) }
single { ChallengeExitViewModel(get()) }
single { UserPageViewModel(get(), get(), get(), get(), get()) }
factory { RunningViewModel(get(), get(), get(), get(), get()) }
factory { RunningViewModel(get(), get(), get(), get(), get(), get()) }
factory { RunningEditViewModel() }
factory { SplashViewModel(get()) }
factory { SignInViewModel(get()) }
Expand Down Expand Up @@ -118,11 +119,12 @@ val useCaseModule = module {
single { GetUserPostPreviewsUseCase(get()) }
single { GetUserBadgesUseCase(get()) }
single { GetUserDetailUseCase(get()) }
single { GetRunningFollowerUseCase() }
single { GetRunningFollowerUseCase(get(), get()) }
single { RunningFinishUseCase(get(), get()) }
single { RunningStartUseCase(get(), get()) }
single { SignOutUseCase(get()) }
single { UploadPostUseCase(get(), get()) }
single { SendLikeUseCase(get(), get()) }
}

val databaseModule = module {
Expand Down

0 comments on commit f294a3a

Please sign in to comment.