Some TODOs with ideas

This commit is contained in:
Syer10
2023-03-31 22:00:01 -04:00
parent 3a67ddf0f6
commit 4c30d8ab05
5 changed files with 69 additions and 0 deletions

View File

@@ -18,6 +18,19 @@ import suwayomi.tachidesk.manga.model.table.CategoryMangaTable
import suwayomi.tachidesk.manga.model.table.MangaTable
import java.util.concurrent.CompletableFuture
/**
* TODO Queries
* - Query options(optionally query the title, description, or/and)
* - Sort?
*
* TODO Mutations
* - Favorite
* - Unfavorite
* - Add to category
* - Remove from category
* - Check for updates
* - Download x(all = -1) chapters
*/
class MangaQuery {
fun manga(dataFetchingEnvironment: DataFetchingEnvironment, id: Int): CompletableFuture<MangaType> {
return dataFetchingEnvironment.getValueFromDataLoader<Int, MangaType>("MangaDataLoader", id)