feat(admin): add server version check (#10816)

This commit is contained in:
JimmFly
2025-03-13 18:37:07 +08:00
committed by forehalo
parent bed4074bdb
commit 7df06ea98b
5 changed files with 59 additions and 1 deletions

View File

@@ -12,6 +12,12 @@ query adminServerConfig {
credentialsRequirement {
...CredentialsRequirements
}
availableUpgrade {
changelog
version
publishedAt
url
}
availableUserFeatures
}
}

View File

@@ -40,6 +40,12 @@ export const adminServerConfigQuery = {
credentialsRequirement {
...CredentialsRequirements
}
availableUpgrade {
changelog
version
publishedAt
url
}
availableUserFeatures
}
}

View File

@@ -2143,6 +2143,13 @@ export type AdminServerConfigQuery = {
maxLength: number;
};
};
availableUpgrade: {
__typename?: 'ReleaseVersionType';
changelog: string;
version: string;
publishedAt: string;
url: string;
};
};
};