mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +01:00
More todos
This commit is contained in:
@@ -26,6 +26,10 @@ import java.util.concurrent.CompletableFuture
|
||||
* - Name
|
||||
* - Order
|
||||
* - Default
|
||||
* - Create
|
||||
* - Delete
|
||||
* - Add/update meta
|
||||
* - Delete meta
|
||||
*/
|
||||
class CategoryQuery {
|
||||
fun category(dataFetchingEnvironment: DataFetchingEnvironment, id: Int): CompletableFuture<CategoryType> {
|
||||
|
||||
@@ -31,6 +31,7 @@ import java.util.concurrent.CompletableFuture
|
||||
* - bookmark status
|
||||
* - Check for updates?
|
||||
* - Download
|
||||
* - Delete download
|
||||
*/
|
||||
class ChapterQuery {
|
||||
fun chapter(dataFetchingEnvironment: DataFetchingEnvironment, id: Int): CompletableFuture<ChapterType> {
|
||||
|
||||
@@ -30,6 +30,9 @@ import java.util.concurrent.CompletableFuture
|
||||
* - Remove from category
|
||||
* - Check for updates
|
||||
* - Download x(all = -1) chapters
|
||||
* - Delete read/all downloaded chapters
|
||||
* - Add/update meta
|
||||
* - Delete meta
|
||||
*/
|
||||
class MangaQuery {
|
||||
fun manga(dataFetchingEnvironment: DataFetchingEnvironment, id: Int): CompletableFuture<MangaType> {
|
||||
|
||||
@@ -16,6 +16,15 @@ import suwayomi.tachidesk.graphql.types.GlobalMetaItem
|
||||
import suwayomi.tachidesk.graphql.types.MetaItem
|
||||
import java.util.concurrent.CompletableFuture
|
||||
|
||||
/**
|
||||
* TODO Queries
|
||||
* - In list of keys
|
||||
*
|
||||
* TODO Mutations
|
||||
* - Add/update meta
|
||||
* - Delete meta
|
||||
*
|
||||
*/
|
||||
class MetaQuery {
|
||||
fun meta(dataFetchingEnvironment: DataFetchingEnvironment, key: String): CompletableFuture<MetaItem?> {
|
||||
return dataFetchingEnvironment.getValueFromDataLoader<String, MetaItem?>("GlobalMetaDataLoader", key)
|
||||
|
||||
@@ -20,6 +20,7 @@ import java.util.concurrent.CompletableFuture
|
||||
* - Filter by languages
|
||||
* - Filter by name
|
||||
* - Filter by NSFW
|
||||
* - In list of ids
|
||||
* - Sort?
|
||||
*
|
||||
* TODO Mutations
|
||||
|
||||
Reference in New Issue
Block a user