0.1.52 Gateway
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user