mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 17:34:39 -05:00
Remove replaceWith and add specific description for GQL APIs
This commit is contained in:
@@ -284,8 +284,7 @@ class ServerConfig(
|
|||||||
defaultValue = emptyList(),
|
defaultValue = emptyList(),
|
||||||
deprecated =
|
deprecated =
|
||||||
SettingsRegistry.SettingDeprecated(
|
SettingsRegistry.SettingDeprecated(
|
||||||
replaceWith = "extensionStores",
|
message = "Replaced with addExtensionStore and removeExtensionStore mutations",
|
||||||
message = "Replaced with extensionStores",
|
|
||||||
migrateConfigValue = {
|
migrateConfigValue = {
|
||||||
@Suppress("UNCHECKED_CAST")
|
@Suppress("UNCHECKED_CAST")
|
||||||
(it.unwrapped() as? List<String>)
|
(it.unwrapped() as? List<String>)
|
||||||
@@ -304,7 +303,7 @@ class ServerConfig(
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
readMigrated = { extensionStores.value },
|
readMigrated = { extensionStores.value },
|
||||||
setMigrated = { extensionStores.value = it?.distinct().orEmpty() },
|
setMigrated = { extensionStores.value = it.distinct() },
|
||||||
typeInfo =
|
typeInfo =
|
||||||
SettingsRegistry.PartialTypeInfo(
|
SettingsRegistry.PartialTypeInfo(
|
||||||
specificType = "List<String>",
|
specificType = "List<String>",
|
||||||
|
|||||||
Reference in New Issue
Block a user