Skip to content

Commit 1b279bb

Browse files
feat: info resolver cleanup (#1425)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced device information endpoints, allowing users to query GPU, PCI, and USB device details. - Added new system information endpoints for apps, OS, CPU, display, versions, and memory, providing detailed environment insights. - Added a new configuration file for network and authentication settings. - **Bug Fixes** - Improved error handling for system and device information retrieval, ensuring graceful fallbacks when data is unavailable. - **Tests** - Added comprehensive tests for device and system information services and resolvers to ensure accurate data and robust error handling. - **Refactor** - Refactored system information and display logic into dedicated service classes for better maintainability and modularity. - Updated resolvers to delegate data fetching to injected services instead of standalone functions or inline logic. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 68df344 commit 1b279bb

File tree

16 files changed

+1766
-508
lines changed

16 files changed

+1766
-508
lines changed

api/dev/configs/connect.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"wanaccess": false,
3+
"wanport": 0,
4+
"upnpEnabled": false,
5+
"apikey": "",
6+
"localApiKey": "",
7+
"email": "",
8+
"username": "",
9+
"avatar": "",
10+
"regWizTime": "",
11+
"accesstoken": "",
12+
"idtoken": "",
13+
"refreshtoken": "",
14+
"dynamicRemoteAccessType": "DISABLED",
15+
"ssoSubIds": []
16+
}

0 commit comments

Comments
 (0)