diff --git a/app/src/main/java/ca/hojat/gamehub/core/domain/games/repository/LikedGamesLocalDataSource.kt b/app/src/main/java/ca/hojat/gamehub/core/domain/games/repository/LikedGamesLocalDataSource.kt index ecb690f1..80602ab3 100644 --- a/app/src/main/java/ca/hojat/gamehub/core/domain/games/repository/LikedGamesLocalDataSource.kt +++ b/app/src/main/java/ca/hojat/gamehub/core/domain/games/repository/LikedGamesLocalDataSource.kt @@ -9,6 +9,13 @@ interface LikedGamesLocalDataSource { suspend fun unlikeGame(gameId: Int) suspend fun isGameLiked(gameId: Int): Boolean + /** + * Checks if a specific game is liked ro not. + */ fun observeGameLikeState(gameId: Int): Flow + + /** + * Returns a list of all liked games. + */ fun observeLikedGames(pagination: Pagination): Flow> }