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

@@ -16,6 +16,21 @@ import suwayomi.tachidesk.graphql.types.ChapterType
import suwayomi.tachidesk.manga.model.table.ChapterTable
import java.util.concurrent.CompletableFuture
/**
* TODO Queries
* - Filter by read
* - Filter by bookmarked
* - Filter by downloaded
* - Filter by scanlators
* - Sort? Upload date, source order, last read, chapter number
*
* TODO Mutations
* - Last page read
* - Read status
* - bookmark status
* - Check for updates?
* - Download
*/
class ChapterQuery {
fun chapter(dataFetchingEnvironment: DataFetchingEnvironment, id: Int): CompletableFuture<ChapterType> {
return dataFetchingEnvironment.getValueFromDataLoader<Int, ChapterType>("ChapterDataLoader", id)