Профиль, редактирование без аватара
This commit is contained in:
@@ -6,7 +6,7 @@ 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 updateProfile(displayName: String?, bio: String?, birthday: String? = null): Result<ProfileDto>
|
||||
suspend fun uploadAvatar(uri: Uri): Result<ProfileDto>
|
||||
suspend fun removeAvatar(): Result<ProfileDto>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user