File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,6 +197,13 @@ export const serverHealthSchema = z.object({
197197 actions_available : z . array ( serverActionsSchema ) ,
198198} ) ;
199199
200+ export const serverVersionSchema = z . object ( {
201+ isVersionLatest : z . boolean ( ) ,
202+ isVersionSupported : z . boolean ( ) ,
203+ currentVersion : z . string ( ) ,
204+ latestVersion : z . string ( ) ,
205+ } ) ;
206+
200207export const serverUpgradeInfoSchema = z . object ( {
201208 serverName : z . string ( ) ,
202209 hostId : z . string ( ) ,
Original file line number Diff line number Diff line change @@ -409,6 +409,13 @@ export interface ServerHealth {
409409 actions_available : ServerActions [ ] ;
410410}
411411
412+ export interface ServerVersion {
413+ isVersionLatest : boolean ;
414+ isVersionSupported : boolean ;
415+ currentVersion : string ;
416+ latestVersion : string ;
417+ }
418+
412419export interface ServerUpgradeInfo {
413420 serverName : string ;
414421 hostId : string ;
You can’t perform that action at this time.
0 commit comments