-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
172 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
domain/src/main/java/com/d83t/bpm/domain/usecase/GetStoredIdUseCase.kt
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
domain/src/main/java/com/d83t/bpm/domain/usecase/splash/GetKakaoUserIdUseCase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.d83t.bpm.domain.usecase.splash | ||
|
||
import com.d83t.bpm.domain.repository.SplashRepository | ||
import kotlinx.coroutines.flow.Flow | ||
import javax.inject.Inject | ||
|
||
class GetKakaoUserIdUseCase @Inject constructor( | ||
private val splashRepository: SplashRepository | ||
) { | ||
operator fun invoke(): Flow<String?> { | ||
return splashRepository.getKakaoUserId() | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
domain/src/main/java/com/d83t/bpm/domain/usecase/splash/SetKakaoUserIdUseCase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.d83t.bpm.domain.usecase.splash | ||
|
||
import com.d83t.bpm.domain.repository.SplashRepository | ||
import javax.inject.Inject | ||
import kotlinx.coroutines.flow.Flow | ||
|
||
class SetKakaoUserIdUseCase @Inject constructor( | ||
private val splashRepository: SplashRepository | ||
) { | ||
suspend operator fun invoke(kakaoId: String): Flow<String?> { | ||
return splashRepository.setKakaoUserId(kakaoId) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
presentation/src/main/java/com/d83t/bpm/presentation/ui/splash/SplashViewEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
package com.d83t.bpm.presentation.ui.splash | ||
|
||
interface SplashViewEvent { | ||
object Click : SplashViewEvent | ||
} | ||
sealed interface SplashViewEvent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters