Feature/about screen add option to check for and trigger updates (#485)

* [VersionMapping] Require server version "r1436" for preview

* Move ts util types to new type file

* Add buttons for updating server and webUI
This commit is contained in:
schroda
2023-12-09 23:08:27 +01:00
committed by GitHub
parent 2caf88ce51
commit 78310496aa
13 changed files with 389 additions and 39 deletions

View File

@@ -412,6 +412,21 @@ export const FULL_UPDATER_STATUS = gql`
}
`;
export const ABOUT_WEBUI = gql`
fragment ABOUT_WEBUI on AboutWebUI {
channel
tag
}
`;
export const WEBUI_UPDATE_CHECK = gql`
fragment WEBUI_UPDATE_CHECK on WebUIUpdateCheck {
channel
tag
updateAvailable
}
`;
export const WEBUI_UPDATE_INFO = gql`
fragment WEBUI_UPDATE_INFO on WebUIUpdateInfo {
channel