update module to newer and more aligned to template structure

This commit is contained in:
2025-01-14 11:42:29 +01:00
parent c7eccd3571
commit 9dc24f2d7b
13 changed files with 169 additions and 147 deletions

View File

@@ -12,7 +12,7 @@ Paste this token into the config page of this module and click save. If all is w
## Actions
**Start New Timer**
**Start New Timer**
Start a new timer running with the description set in the action and store the ID. If a list of projects has been retrieved on startup you can choose a project. By default a new timer can't be started if one is already running. This behaviour can be changed by ticking the 'Always Start' option in the module configuration.
@@ -35,12 +35,15 @@ Presets are available for **Start Timer** and **Stop Timer**.
## History
### Version 1.0.0
First release
### Version 1.0.1
Fix broken link
### Version 1.0.2
Allow a project to be specified when starting a new timer button
Add an action to refresh the project list
@@ -48,16 +51,17 @@ Add an action to refresh the project list
Add 'Always start' configuration option
### Version 1.0.3
Add variables for timerId and timerDescription
### Version 2.0.0
Updated for Companion version 3
Updated for toggl API version 9
### Version 2.0.1
Make the API token config field required
Fix manifest file

View File

@@ -10,6 +10,9 @@
"maintainers": [
{
"name": "Peter Daniel"
},
{
"name": "Matthias Kesler"
}
],
"legacyIds": [],
@@ -17,13 +20,9 @@
"type": "node18",
"api": "nodejs-ipc",
"apiVersion": "0.0.0",
"entrypoint": "../index.js"
"entrypoint": "../main.js"
},
"manufacturer": "Toggl",
"products": [
"Track"
],
"keywords": [
"Logging", "Timer", "Task Tracking", "Time Tracking", "Project Management"
]
"products": ["Track"],
"keywords": ["Logging", "Timer", "Task Tracking", "Time Tracking", "Project Management"]
}