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