Compare commits

..

3 commits

Author SHA1 Message Date
bc520c28e4 chore: add .renovaterc.json 2024-10-20 21:37:41 +00:00
f9b2a76894 break: update ServerMessage model
- rename MaxSession to TotalSession (and JSON struct tags)

🤖
2024-10-20 23:36:55 +02:00
314e71acba feat: allow clients to send pomodoro config
- allow clients to send custom configuration for pomodoro sessions
- update RunPomodoro to accept a configuration parameter
- modify startTimer to handle session count from config
- add default pomodoro configuration in client command handling

🤖
2024-10-20 23:36:55 +02:00

View file

@ -33,7 +33,6 @@ Clients communicate with the server by sending JSON-encoded commands. Each comma
| `reset` | Stops and resets the current session| `{"command": "reset"}` |
#### Optional Start Parameters
The Start-Command may contain an optional Pomodoro-Config, which allows you to customize the length of the work session, short break, long break, and the number of sessions. If no configuration is provided, the server will use default values.
Example: