From beabde2fad62ffa0b666b122100dfe6894668d45 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 29 Jan 2025 14:42:19 +1100 Subject: [PATCH] fix: Actually add the enable and disable toggles --- public_info.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/public_info.py b/public_info.py index 61412f3..0fa73ba 100644 --- a/public_info.py +++ b/public_info.py @@ -25,6 +25,32 @@ functions = { "type": "text" } } + }, + "enable": { + "name": "Enable Dashboard widget", + "type": "default", + "description": "Enable the dashboard widget", + "params": {}, + "returns": { + "result": + { + "name": "Result", + "type": "text" + } + } + }, + "disable": { + "name": "Disable Dashboard widget", + "type": "default", + "description": "Disable the dashboard widget", + "params": {}, + "returns": { + "result": + { + "name": "Result", + "type": "text" + } + } } }