-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
1 parent
7422ea0
commit 79babb4
Showing
9 changed files
with
34 additions
and
45 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
...ain/java/com/stepango/blockme/feature/characters/core/api/data/mapper/ICharacterMapper.kt
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...rc/main/java/com/stepango/blockme/feature/characters/core/api/di/CharactersCoreFeature.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,11 +1,8 @@ | ||
package com.stepango.blockme.feature.characters.core.api.di | ||
|
||
import com.stepango.blockme.feature.characters.core.api.data.mapper.ICharacterMapper | ||
import com.stepango.blockme.feature.characters.core.api.domain.repository.MarvelRepository | ||
|
||
interface CharactersCoreFeature { | ||
|
||
fun getMarvelRepository(): MarvelRepository | ||
|
||
fun getCharacterMapper(): ICharacterMapper | ||
} |
7 changes: 3 additions & 4 deletions
7
...va/com/stepango/blockme/feature/characters/core/api/domain/repository/MarvelRepository.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,11 +1,10 @@ | ||
package com.stepango.blockme.feature.characters.core.api.domain.repository | ||
|
||
import com.stepango.blockme.core.network.library.response.BaseResponse | ||
import com.stepango.blockme.feature.characters.core.api.data.response.CharacterResponse | ||
import com.stepango.blockme.feature.characters.core.api.domain.model.ICharacter | ||
|
||
interface MarvelRepository { | ||
|
||
suspend fun getCharacter(id: Long): BaseResponse<CharacterResponse> | ||
suspend fun getCharacter(id: Long): ICharacter | ||
|
||
suspend fun getCharacters(offset: Int, limit: Int): BaseResponse<CharacterResponse> | ||
suspend fun getCharacters(offset: Int, limit: Int): List<ICharacter> | ||
} |
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
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