Split frontend config API into file_config, server, and health modules

This commit is contained in:
2026-04-18 20:32:38 +02:00
parent 01f2e07921
commit d9550ae4aa
14 changed files with 179 additions and 37 deletions

View File

@@ -22,3 +22,9 @@ export interface ServerStatus {
export interface ServerStatusResponse {
status: ServerStatus;
}
/** Response shape for ``GET /api/health``. */
export interface HealthResponse {
status: "ok";
fail2ban: "online" | "offline";
}