feat: Setting displays versions info
All checks were successful
gitea-sync/antos-frontend/pipeline/head This commit looks good

This commit is contained in:
DanyLE
2024-03-18 17:06:53 +01:00
parent 04da2a9d39
commit b99668f4f2
7 changed files with 39 additions and 17 deletions

View File

@ -413,6 +413,17 @@ namespace OS {
const p = `${API.REST}/system/settings`;
return API.post(p, OS.setting);
}
/**
* Query the current versions of all system components
*
* @export
* @returns {Promise<RequestResult>} a promise on a {@link RequestResult}
*/
export function versions(): Promise<RequestResult> {
const p = `${API.REST}/system/version`;
return API.get(p);
}
}
}
}