Main update
This commit is contained in:
@@ -4,6 +4,58 @@
|
||||
"version": "0.1.0",
|
||||
"description": "Zentrales Modul fuer Waehrungskurse, Historie, API-Abrufe und Desktop-Widget.",
|
||||
"enabled_by_default": true,
|
||||
"app_scope": "module",
|
||||
"installable": true,
|
||||
"desktop": {
|
||||
"available": true,
|
||||
"show_on_desktop": true,
|
||||
"show_in_start_menu": true
|
||||
},
|
||||
"widgets": [
|
||||
{
|
||||
"widget_id": "fx-rates-refresh",
|
||||
"title": "Waehrungskurse",
|
||||
"icon": "FX",
|
||||
"zone": "sidebar",
|
||||
"default_enabled": true,
|
||||
"supports_public_home": false,
|
||||
"summary": "Aktuelle FX-Kurse pruefen und bei Bedarf manuell aktualisieren.",
|
||||
"content": "Ein API-Abruf wird nur ausgefuehrt, wenn der letzte Snapshot alt genug ist, ausser bei explizitem Force.",
|
||||
"launch_app_id": "fx-rates",
|
||||
"action_label": "App oeffnen",
|
||||
"widget_type": "fx-rates-refresh",
|
||||
"status_api": "/api/fx-rates/index.php?path=v1/status",
|
||||
"refresh_api": "/api/fx-rates/index.php?path=v1/refresh"
|
||||
}
|
||||
],
|
||||
"cron_jobs": [
|
||||
{
|
||||
"job_id": "refresh-rates",
|
||||
"label": "FX-Kurse aktualisieren",
|
||||
"description": "Laedt neue Wechselkurse, sofern der letzte Snapshot nicht mehr frisch genug ist.",
|
||||
"endpoint_path": "/api/fx-rates/index.php?path=v1/refresh",
|
||||
"method": "POST",
|
||||
"payload": {
|
||||
"trigger_source": "cron"
|
||||
},
|
||||
"default_enabled": false,
|
||||
"default_cron": "0 */6 * * *",
|
||||
"lock_minutes": 15
|
||||
},
|
||||
{
|
||||
"job_id": "sync-currency-catalog",
|
||||
"label": "FX-Waehrungskatalog synchronisieren",
|
||||
"description": "Aktualisiert den internen Waehrungskatalog des Moduls.",
|
||||
"endpoint_path": "/api/fx-rates/index.php?path=v1/currency-catalog/sync",
|
||||
"method": "POST",
|
||||
"payload": {
|
||||
"trigger_source": "cron"
|
||||
},
|
||||
"default_enabled": false,
|
||||
"default_cron": "30 3 * * 1",
|
||||
"lock_minutes": 30
|
||||
}
|
||||
],
|
||||
"setup": {
|
||||
"sections": {
|
||||
"database": true
|
||||
|
||||
Reference in New Issue
Block a user