This commit is contained in:
2026-01-11 03:56:09 -08:00
parent 722eedc3c3
commit bf8ef6d128
2 changed files with 58 additions and 4 deletions

View File

@@ -14,6 +14,18 @@ SCRIPT_DIR = Path(__file__).resolve().parent
_CONFIG_CACHE: Dict[str, Dict[str, Any]] = {}
def global_config() -> List[Dict[str, Any]]:
"""Return configuration schema for global settings."""
return [
{
"key": "debug",
"label": "Debug Output",
"default": "false",
"choices": ["true", "false"]
}
]
def clear_config_cache() -> None:
"""Clear the configuration cache."""
_CONFIG_CACHE.clear()