AccountRepository

internal interface AccountRepository

Inheritors

Functions

Link copied to clipboard
abstract suspend fun deleteAccount(password: String?): Either<NetworkFailure, Unit>
Link copied to clipboard
abstract suspend fun updateLocalSelfUserHandle(handle: String): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun updateSelfDisplayName(displayName: String): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun updateSelfEmail(email: String): Either<NetworkFailure, Boolean>

Updates the self user's email address.

Link copied to clipboard
abstract suspend fun updateSelfHandle(handle: String): Either<NetworkFailure, Unit>
Link copied to clipboard
abstract suspend fun updateSelfUserAvailabilityStatus(status: <Error class: unknown class>): Either<StorageFailure, Unit>