mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 11:24:35 -05:00
Some TODOs with ideas
This commit is contained in:
@@ -15,6 +15,23 @@ import suwayomi.tachidesk.graphql.types.ExtensionType
|
||||
import suwayomi.tachidesk.manga.model.table.ExtensionTable
|
||||
import java.util.concurrent.CompletableFuture
|
||||
|
||||
/**
|
||||
* TODO Queries
|
||||
* - Installed
|
||||
* - HasUpdate
|
||||
* - Obsolete
|
||||
* - IsNsfw
|
||||
* - In Pkg name list
|
||||
* - Query name
|
||||
* - Sort?
|
||||
* - Paged Queries
|
||||
*
|
||||
* TODO Mutations
|
||||
* - Install
|
||||
* - Update
|
||||
* - Uninstall
|
||||
* - Check for updates (global mutation?)
|
||||
*/
|
||||
class ExtensionQuery {
|
||||
fun extension(dataFetchingEnvironment: DataFetchingEnvironment, pkgName: String): CompletableFuture<ExtensionType> {
|
||||
return dataFetchingEnvironment.getValueFromDataLoader<String, ExtensionType>("ExtensionDataLoader", pkgName)
|
||||
|
||||
Reference in New Issue
Block a user