Feature/graphql server settings (#629)

* Add "uiName" to WebUI enum

* Add "Custom" WebUI to enum

* Rename "WebUI" enum to "WebUIFlavor"

* Add "WebUIInterface" enum

* Add query for server settings

* Add mutation for server settings

* Add mutation to reset the server settings

* Only update the config in case the value changed

In case the value of the config is already the same as the new value of the state flow, it is not necessary to update the config file
This commit is contained in:
schroda
2023-08-12 18:03:25 +02:00
committed by GitHub
parent 321fbe22dd
commit a31446557d
8 changed files with 371 additions and 31 deletions

View File

@@ -0,0 +1,9 @@
package suwayomi.tachidesk.graphql.queries
import suwayomi.tachidesk.graphql.types.SettingsType
class SettingsQuery {
fun settings(): SettingsType {
return SettingsType()
}
}