CustomServerConfigDataSource

internal class CustomServerConfigDataSource(api: <Error class: unknown class>, developmentApiEnabled: Boolean, serverConfigurationDAO: <Error class: unknown class>, backendMetaDataUtil: <Error class: unknown class> = BackendMetaDataUtilImpl, serverConfigMapper: ServerConfigMapper = MapperProvider.serverConfigMapper()) : CustomServerConfigRepository

Constructors

Link copied to clipboard
internal constructor(api: <Error class: unknown class>, developmentApiEnabled: Boolean, serverConfigurationDAO: <Error class: unknown class>, backendMetaDataUtil: <Error class: unknown class> = BackendMetaDataUtilImpl, serverConfigMapper: ServerConfigMapper = MapperProvider.serverConfigMapper())

Functions

Link copied to clipboard
open suspend override fun fetchRemoteConfig(serverConfigUrl: String): Either<NetworkFailure, ServerConfig.Links>

download an on premise server configuration from a json file

Link copied to clipboard
open suspend override fun getServerConfigsWithUserIdAfterTheDate(date: String): Either<StorageFailure, <Error class: unknown class><List<ServerConfigWithUserId>>>
Link copied to clipboard
Link copied to clipboard
open suspend override fun updateAppBlackListCheckDate(configIds: Set<String>, date: String)

updates lastBlackListCheckDate for the Set of configIds