mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Update dependency org.lighthousegames:logging to v2 (#177)
* Update dependency org.lighthousegames:logging to v2 * Move to new imports --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Syer10 <syer10@users.noreply.github.com>
This commit is contained in:
@@ -20,7 +20,7 @@ import kotlinx.coroutines.flow.flatMapLatest
|
||||
import kotlinx.coroutines.flow.onStart
|
||||
import kotlinx.coroutines.launch
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class ServerListeners {
|
||||
|
||||
@@ -11,7 +11,7 @@ import io.ktor.client.request.HttpRequestBuilder
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class ExportBackupFile(
|
||||
|
||||
@@ -13,7 +13,7 @@ import me.tatarka.inject.annotations.Inject
|
||||
import okio.FileSystem
|
||||
import okio.Path
|
||||
import okio.SYSTEM
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class ImportBackupFile(
|
||||
|
||||
@@ -13,7 +13,7 @@ import me.tatarka.inject.annotations.Inject
|
||||
import okio.FileSystem
|
||||
import okio.Path
|
||||
import okio.SYSTEM
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class ValidateBackupFile(
|
||||
|
||||
@@ -24,7 +24,7 @@ import kotlinx.coroutines.flow.launchIn
|
||||
import kotlinx.coroutines.flow.mapLatest
|
||||
import kotlinx.coroutines.flow.receiveAsFlow
|
||||
import kotlinx.serialization.json.Json
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@OptIn(DelicateCoroutinesApi::class)
|
||||
abstract class WebsocketService(
|
||||
|
||||
@@ -15,7 +15,7 @@ import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.flow
|
||||
import kotlinx.coroutines.flow.map
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class AddMangaToCategory(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.category.service.CategoryRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class CreateCategory(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.category.service.CategoryRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class DeleteCategory(
|
||||
|
||||
@@ -11,7 +11,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.map
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetCategories(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.manga.model.Manga
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetMangaCategories(
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import kotlinx.coroutines.flow.take
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetMangaListFromCategory(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.category.service.CategoryRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class ModifyCategory(
|
||||
|
||||
@@ -15,7 +15,7 @@ import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.flow
|
||||
import kotlinx.coroutines.flow.map
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class RemoveMangaFromCategory(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.category.service.CategoryRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class ReorderCategory(
|
||||
|
||||
@@ -12,7 +12,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.flow
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UpdateCategoryMeta(
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
import kotlin.jvm.JvmName
|
||||
|
||||
@Inject
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import kotlinx.coroutines.flow.take
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetChapter(
|
||||
|
||||
@@ -11,7 +11,7 @@ import io.ktor.client.request.HttpRequestBuilder
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetChapterPages(
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import kotlinx.coroutines.flow.take
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetChapters(
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class RefreshChapters(
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
import kotlin.jvm.JvmName
|
||||
|
||||
@Inject
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.flow
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UpdateChapterMeta(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class BatchChapterDownload(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class ClearDownloadQueue(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class QueueChapterDownload(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class ReorderChapterDownload(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class StartDownloading(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class StopChapterDownload(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class StopDownloading(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.extension.service.ExtensionRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetExtensionList(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.extension.service.ExtensionRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class InstallExtension(
|
||||
|
||||
@@ -13,7 +13,7 @@ import me.tatarka.inject.annotations.Inject
|
||||
import okio.FileSystem
|
||||
import okio.Path
|
||||
import okio.SYSTEM
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class InstallExtensionFile(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.extension.service.ExtensionRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UninstallExtension(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.extension.service.ExtensionRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UpdateExtension(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.global.service.GlobalRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetGlobalMeta(
|
||||
|
||||
@@ -12,7 +12,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.flow
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UpdateGlobalMeta(
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class AddMangaToLibrary(
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class RemoveMangaFromLibrary(
|
||||
|
||||
@@ -14,7 +14,7 @@ import io.ktor.websocket.Frame
|
||||
import io.ktor.websocket.readText
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class LibraryUpdateService(
|
||||
|
||||
@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import kotlinx.coroutines.flow.take
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetManga(
|
||||
|
||||
@@ -14,7 +14,7 @@ import kotlinx.coroutines.flow.onEach
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import kotlinx.coroutines.flow.take
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class RefreshManga(
|
||||
|
||||
@@ -15,7 +15,7 @@ import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.flow
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UpdateMangaMeta(
|
||||
|
||||
@@ -30,7 +30,7 @@ import io.ktor.http.URLBuilder
|
||||
import io.ktor.http.URLProtocol
|
||||
import io.ktor.serialization.kotlinx.json.json
|
||||
import kotlinx.serialization.json.Json
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
import kotlin.time.Duration.Companion.minutes
|
||||
import kotlin.time.Duration.Companion.seconds
|
||||
import io.ktor.client.plugins.auth.Auth as AuthPlugin
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.settings.service.SettingsRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class AboutServer(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.settings.service.SettingsRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetSettings(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.settings.service.SettingsRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class SetSettings(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetFilterList(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetLatestManga(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetPopularManga(
|
||||
|
||||
@@ -12,7 +12,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetSearchManga(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetSourceList(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetSourceSettings(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class SetSourceSetting(
|
||||
|
||||
@@ -27,7 +27,7 @@ import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.sync.Mutex
|
||||
import me.tatarka.inject.annotations.Assisted
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
fun interface GetMangaPage {
|
||||
suspend fun get(page: Int): MangaPage?
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.updates.service.UpdatesRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class GetRecentUpdates(
|
||||
|
||||
@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.updates.service.UpdatesRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UpdateCategory(
|
||||
|
||||
@@ -19,7 +19,7 @@ import kotlinx.coroutines.flow.flow
|
||||
import kotlinx.coroutines.flow.flowOn
|
||||
import kotlinx.coroutines.flow.singleOrNull
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UpdateChecker(
|
||||
|
||||
@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.updates.service.UpdatesRepository
|
||||
import kotlinx.coroutines.flow.catch
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import me.tatarka.inject.annotations.Inject
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
|
||||
@Inject
|
||||
class UpdateLibrary(
|
||||
|
||||
@@ -27,7 +27,7 @@ import okio.Path
|
||||
import okio.Path.Companion.toPath
|
||||
import okio.buffer
|
||||
import okio.source
|
||||
import org.lighthousegames.logging.logging
|
||||
import com.diamondedge.logging.logging
|
||||
import java.io.File.pathSeparatorChar
|
||||
import java.io.IOException
|
||||
import java.io.Reader
|
||||
|
||||
Reference in New Issue
Block a user