Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ApiPackageCacheEntry(val data: ApiPackage, val id: Long? = null, val lastUpdate: Instant = Clock.System.now())
Link copied to clipboard
@Serializable
data class ApiRepositoryCacheEntry(val data: List<ApiRepository>, val id: Long? = null, val lastUpdate: Instant = Clock.System.now())
Link copied to clipboard
@Serializable
data class ApiSearchEntry(val packages: List<ApiPackage>, val searchHash: String, val original: SearchPackagesRequest, val id: Long? = null, val lastUpdate: Instant = Clock.System.now())
Link copied to clipboard
typealias NativeModule = Module
Link copied to clipboard
typealias NativeModules = List<Module>
Link copied to clipboard
class PackageSearchApiPackageCache(apiPackageCache: CoroutineObjectRepository<ApiPackageCacheEntry>, searchCache: CoroutineObjectRepository<ApiSearchEntry>, apiClient: PackageSearchApi, maxAge: Duration = Random.nextDouble(0.5, 1.0).days) : PackageSearchApi
Link copied to clipboard
class WindowedModuleBuilderContext(val project: Project, val knownRepositories: Map<String, ApiRepository>, packagesCache: PackageSearchApi, val coroutineScope: CoroutineScope, val projectCaches: CoroutineNitrite, val applicationCaches: CoroutineNitrite, isLoadingChannel: Channel<Boolean>) : PackageSearchModuleBuilderContext

Functions

Link copied to clipboard
Link copied to clipboard
@Composable
fun <T> FlowWithInitialValue<T>.collectAsState(): State<T>
Link copied to clipboard
fun interval(interval: Duration, emitOnStart: Boolean = false): Flow<Unit>
Link copied to clipboard
fun KtorDebugLogger(): Logger
Link copied to clipboard
fun logDebug(message: String, throwable: Throwable? = null)
fun logDebug(contextName: String? = null, throwable: Throwable? = null, messageProvider: () -> String)
fun logDebug(contextName: String? = null, throwable: Throwable? = null, message: String? = null)
Link copied to clipboard
fun logError(message: String, throwable: Throwable? = null)
fun logError(throwable: Throwable? = null, contextName: String? = null, messageProvider: () -> String)
Link copied to clipboard
fun logInfo(message: String, throwable: Throwable? = null)
fun logInfo(contextName: String? = null, throwable: Throwable? = null, messageProvider: () -> String)
Link copied to clipboard
fun logTrace(message: String)
fun logTrace(throwable: Throwable)
Link copied to clipboard
fun logWarn(message: String, throwable: Throwable? = null)
fun logWarn(contextName: String? = null, throwable: Throwable? = null, messageProvider: () -> String)
Link copied to clipboard
fun <T> Flow<T?>.startWithNull(): Flow<T?>