feat(api): expose app version in /api/v1/stats

Add version to StatsResponse and getStats so the canonical public
monitoring endpoint reports the running build alongside the footer
and /health.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Julien Herr
2026-05-25 15:50:45 +02:00
parent e86beeeb8a
commit 82a4bd8341
5 changed files with 9 additions and 1 deletions
+1
View File
@@ -125,6 +125,7 @@ export interface StatsResponse extends Counters {
active_feeds: number;
websub_subscriptions_active: number;
attachments_enabled: boolean;
version: string; // Running app version (package.json), inlined at build time
}
// WebSub (PubSubHubbub) subscription configuration