0.1.52 Gateway

This commit is contained in:
ponzischeme89
2026-08-17 19:09:17 +12:00
parent d5a8d3ad88
commit 1da91e40a1
46 changed files with 1626 additions and 106 deletions
+35
View File
@@ -528,3 +528,38 @@ export interface RuntimeStatus {
memoryLimit: number;
configuredLimit?: string;
}
/* ---------- gateway settings ---------- */
/** GatewaySettings is the operator's overrides. Every field is optional in meaning: an
* empty string or a zero means "whatever the container was started with", and -1 means
* off for the three that can be switched off. */
export interface GatewaySettings {
timezone: string;
logLevel: string;
sessionIdleDays: number;
sonarrAlertMinutes: number;
radarrAlertMinutes: number;
embyHealthSeconds: number;
updatedAt?: string;
updatedBy?: string;
}
/** GatewaySettingValues is the same vocabulary as plain values, used twice: once for what
* the container was deployed with and once for what is actually in force. */
export interface GatewaySettingValues {
timezone: string;
logLevel: string;
sessionIdleDays: number;
sonarrAlertMinutes: number;
radarrAlertMinutes: number;
embyHealthSeconds: number;
}
export interface GatewaySettingsResponse {
settings: GatewaySettings;
deployed: GatewaySettingValues;
effective: GatewaySettingValues;
logLevels: string[] | null;
version: string;
}