feat(server): allow check available version to upgrade (#10767)

close CLOUD-159
This commit is contained in:
forehalo
2025-03-12 02:52:19 +00:00
parent 50da76d4af
commit 5f14c4248f
2 changed files with 81 additions and 0 deletions

View File

@@ -1091,6 +1091,13 @@ type QueryTooLongDataType {
max: Int!
}
type ReleaseVersionType {
changelog: String!
publishedAt: DateTime!
url: String!
version: String!
}
type RemoveAvatar {
success: Boolean!
}
@@ -1128,6 +1135,9 @@ type SameSubscriptionRecurringDataType {
}
type ServerConfigType {
"""fetch latest available upgradable release of server"""
availableUpgrade: ReleaseVersionType!
"""Features for user that can be configured"""
availableUserFeatures: [FeatureType!]!