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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user