chore: reserialize db on equal version, update bindings and docs

- Run de/ser roundtrip in pre_init even when db version matches, ensuring
  all #[serde(default)] fields are populated before any typed access
- Add patchdb.md documentation for TypedDbWatch patterns
- Update TS bindings for CheckPortParams, CheckPortRes, ifconfigUrl
- Update CLAUDE.md docs with patchdb and component-level references
This commit is contained in:
Aiden McClelland
2026-02-16 19:27:48 -07:00
parent cfbace1d91
commit 6a1b1627c5
10 changed files with 128 additions and 2 deletions

View File

@@ -205,6 +205,7 @@ export const mockPatchData: DataModel = {
caFingerprint: '63:2B:11:99:44:40:17:DF:37:FC:C3:DF:0F:3D:15',
ntpSynced: false,
smtp: null,
ifconfigUrl: 'https://ifconfig.co',
platform: 'x86_64-nonfree',
zram: true,
governor: 'performance',