Refactor: Remove deprecated sync endpoint and BuyModeHandler module; streamline configuration and loading processes

This commit is contained in:
2025-11-08 18:06:23 +01:00
parent 03b6c3a4d8
commit 40dd9b9fd8
6 changed files with 22 additions and 647 deletions

View File

@@ -83,8 +83,7 @@ export interface ConfigProxy {
export interface ConfigUpdate {
enabled?: boolean; // Master toggle for auto-updates (default: true)
method?: 'git' | 'github-api' | 'api' | 'zip'; // Update method: "git" or "github-api" (default: "github-api")
git?: boolean; // Legacy support: if true, use git method (deprecated, use method instead)
method?: 'github-api' | 'api' | 'zip'; // Update method (default: "github-api")
docker?: boolean; // if true, run docker update routine (compose pull/up) after completion
scriptPath?: string; // optional custom path to update script relative to repo root
autoUpdateConfig?: boolean; // if true, allow auto-update of config.jsonc when remote changes it (default: false to preserve user settings)