mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-17 06:19:51 +02:00
feat: Setting displays versions info
All checks were successful
gitea-sync/antos-frontend/pipeline/head This commit looks good
All checks were successful
gitea-sync/antos-frontend/pipeline/head This commit looks good
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user