mirror of
https://github.com/vyme-fr/MercuryCloud_Dashboard.git
synced 2026-01-19 00:57:23 +01:00
2.5 KiB
2.5 KiB
PteroJS Todo
Want to contribute? Familiar with JS? You're already halfway there. Below are things that need to be done for various parts of the module. See the contributing section to find out how to take part. 👍
Application
- Setup
connect()function (PteroApp) - Implement 201 and 204 response handling (RequestManager)
- Implement helper functions for all the managers
- Create and implement
NestEggsManager
Client
- Use typed
ClientOptionsfor startup (PteroClient) - Setup
connect()function (PteroClient) - Create and implement
WebsocketManager - Rename endpoints in endpoints structure
- Rewrite
ServerManagerwith the correct server class (ServerManager) - Implement 201 and 204 response handling (RequestManager)
- Implement helper functions for all the managers
- Implement
ClientUserrequired fetch on startup - Document all functions
Global Managers
- Implement helper functions for all the managers
- Create and implement all necessary submanagers (Dashflo)
- Document all functions (resolved into others)
- Switch
AllocationManager#cacheto maps
Global Structures
- Implement helper functions for all the structures
- Figure out and implement a consistent management system for
Permissions(Permissions)
Misc.
- Add proper notes and annotations to JSDocs
- Overall testing of the package (priority)
- TypeScript support (
index.d.ts) - Investigate incorrectly documented endpoints
- Implement tests in
/tests(or move from/test) - Remove deprecated
PteroUser#tfa - Remove deprecated
Presetsutil
Feature Plans
- Optional webhook client
- Node status client
- Data formatter interface client (may be updated to logging client)