🚀New lib version v1.0.0 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2023-04-18 18:05:41 +00:00
parent a014e77edf
commit f4905b8df6
31 changed files with 143 additions and 31 deletions

View File

@@ -6,13 +6,19 @@ class ScanService {
/**
* Get all
* Lists all scans (normal or track) from all runners. <br> This includes the scan's runner's distance ran.
* @param page
* @param pageSize
* @result any
* @throws ApiError
*/
static async scanControllerGetAll() {
static async scanControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/scans`,
query: {
'page': page,
'page_size': pageSize,
},
});
return result.body;
}