a67815c61a
- Updated `parseFilename` to `parseTargetFilename` and modified its return structure to include `test_id` instead of `file_id`. - Introduced `parseResultFilename` to extract `test_id` and `device` from result file names. - Enhanced `fullScan` to separately handle target and results directories, improving clarity and functionality. - Updated database interactions to use `test_id` instead of `file_id` across various modules. - Added a new `/rescan` endpoint to trigger a full scan of target and results directories. - Improved logging and error handling throughout the scanning process. - Introduced `parseTputRssi` to extract throughput and RSSI data from log files.
22 lines
411 B
JSON
22 lines
411 B
JSON
{
|
|
"name": "dashboard-server",
|
|
"version": "1.0.0",
|
|
"type": "commonjs",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"dev": "node --watch index.js",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^12.10.0",
|
|
"chokidar": "^4.0.3",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.19.2"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^30.4.2"
|
|
}
|
|
}
|