Приложение
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package profiles.domain.repository
|
||||
|
||||
import android.net.Uri
|
||||
import profiles.data.remote.dto.ProfileDto
|
||||
|
||||
interface ProfileRepository {
|
||||
suspend fun getProfile(id: String): Result<ProfileDto>
|
||||
suspend fun getMyProfile(): Result<ProfileDto>
|
||||
suspend fun updateProfile(displayName: String?, bio: String?): Result<ProfileDto>
|
||||
suspend fun uploadAvatar(uri: Uri): Result<ProfileDto>
|
||||
suspend fun removeAvatar(): Result<ProfileDto>
|
||||
}
|
||||
Reference in New Issue
Block a user