feat(api): expose unifiOs widget summary query through tRPC router and request handler

Create unifiOs request handler with 60s cache and stale-on-error fallback, and tRPC router exposing clientApi.widget.unifiOs.summary query. Include minimal widget stub for type system.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
zacharyandClaude Opus 5 committed 2026-09-13 22:21:43 +02:00
1 parent c9b3611b77
commit 31781d25ad
6 files changed
+62

No files matched your search

+2
View File
@@ -38,6 +38,7 @@ import * as minecraftServerStatus from "./minecraft/server-status";
import * as networkControllerStatus from "./network-controller/network-status";
import * as networkControllerSummary from "./network-controller/summary";
import * as notebook from "./notebook";
import * as unifiOs from "./unifi-os";
import * as paperlessNgx from "./paperless-ngx";
import * as patchmon from "./patchmon";
import * as notifications from "./notifications";
@@ -97,6 +98,7 @@ export const widgetImports = {
mediaMissing,
networkControllerSummary,
networkControllerStatus,
unifiOs,
rssFeed,
bookmarks,
bazarr,