ConnectionRepository
Functions
Link copied to clipboard
abstract suspend fun deleteConnection(connection: <Error class: unknown class>): Either<StorageFailure, Unit>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getConnection(conversationId: <Error class: unknown class>): Either<StorageFailure, <Error class: unknown class>>
Link copied to clipboard
abstract suspend fun getConnections(): Either<StorageFailure, <Error class: unknown class><List<<Error class: unknown class>>>>
Link copied to clipboard
abstract suspend fun ignoreConnectionRequest(userId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun insertConnectionFromEvent(event: Event.User.NewConnection): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun observeConnectionList(): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
abstract suspend fun observeConnectionRequestList(): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
abstract suspend fun observeConnectionRequestsForNotification(): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
abstract suspend fun sendUserConnection(userId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun updateConnectionStatus(userId: <Error class: unknown class>, connectionState: <Error class: unknown class>): Either<CoreFailure, <Error class: unknown class>>