feat(09-02): add shortcuts config package with default bindings and Wails persistence

- Create backend/shortcuts/config.go with DefaultBindings(), ApplyDefaults(), Validate()
- Wire Shortcuts field into main Config struct with TOML persistence
- Add GetShortcuts, SetShortcuts, SetShortcut, ResetShortcuts Wails binding methods
- Regenerate Wails TypeScript bindings for new config methods
- Fix wsl lint in library.go (blank line before logger call)
This commit is contained in:
2026-03-06 21:46:09 -05:00
parent 42add7fec4
commit 6285ca9dc4
6 changed files with 203 additions and 0 deletions
+2
View File
@@ -108,6 +108,7 @@ export namespace library {
updated: number;
skipped: number;
removed: number;
cancelled: boolean;
warnings: ScanWarning[];
static createFrom(source: any = {}) {
@@ -141,6 +142,7 @@ export namespace library {
this.updated = source["updated"];
this.skipped = source["skipped"];
this.removed = source["removed"];
this.cancelled = source["cancelled"];
this.warnings = this.convertValues(source["warnings"], ScanWarning);
}