Профиль, редактирование без аватара

This commit is contained in:
Халимов Рустам
2026-04-16 15:41:22 +03:00
parent 8409c51842
commit cea3f4d669
45 changed files with 1063 additions and 178 deletions
@@ -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>
}