ServerConfigurationDAO

Types

Link copied to clipboard
data class InsertData(val id: String, val apiBaseUrl: String, val accountBaseUrl: String, val webSocketBaseUrl: String, val blackListUrl: String, val teamsUrl: String, val websiteUrl: String, val title: String, val isOnPremises: Boolean, val federation: Boolean, val domain: String?, val commonApiVersion: Int, val apiProxyHost: String?, val apiProxyNeedsAuthentication: Boolean?, val apiProxyPort: Int?)

Functions

Link copied to clipboard
abstract suspend fun allConfig(): List<ServerConfigEntity>
Link copied to clipboard
abstract suspend fun allConfigFlow(): <Error class: unknown class><List<ServerConfigEntity>>
Link copied to clipboard
abstract fun configById(id: String): ServerConfigEntity?
Link copied to clipboard
Link copied to clipboard
abstract suspend fun configForUser(userId: UserIDEntity): ServerConfigEntity?
Link copied to clipboard
abstract suspend fun deleteById(id: String)
abstract suspend fun getServerConfigsWithAccIdWithLastCheckBeforeDate(date: String): <Error class: unknown class><List<ServerConfigWithUserIdEntity>>
Link copied to clipboard
abstract suspend fun insert(insertData: ServerConfigurationDAO.InsertData)
Link copied to clipboard
abstract suspend fun setFederationToTrue(id: String)
Link copied to clipboard
abstract suspend fun updateApiVersion(id: String, commonApiVersion: Int)
Link copied to clipboard
abstract suspend fun updateApiVersionAndDomain(id: String, domain: String, commonApiVersion: Int)
Link copied to clipboard
abstract suspend fun updateBlackListCheckDate(configIds: Set<String>, date: String)