20 lines
1.0 KiB
C#
20 lines
1.0 KiB
C#
using FinlyticCore.Models.Settings;
|
|
|
|
namespace FinlyticBackend.Settings;
|
|
|
|
/// <summary>
|
|
/// FinlyticBackend's own dynamic settings - previously nonexistent (it had no <c>ISettingsDbContext</c>/
|
|
/// <c>ISettingsService</c> registration at all), which is why the admin UI's per-service settings screen never
|
|
/// showed anything for it, unlike every other service (see <c>EngineSettingKeys</c>/<c>SimulationSettingKeys</c>
|
|
/// for the same pattern elsewhere).
|
|
/// </summary>
|
|
public static class BackendSettingKeys
|
|
{
|
|
// --- Logging Channels ---
|
|
public static readonly SettingKey<bool> HealthPingChannel = new("Logging.Channel.Health", true);
|
|
public static readonly SettingKey<bool> MqttChannel = new("Logging.Channel.MQTT", true);
|
|
public static readonly SettingKey<bool> BackendChannel = new("Logging.Channel.Backend", true);
|
|
public static readonly SettingKey<bool> AuthChannel = new("Logging.Channel.Auth", true);
|
|
public static readonly SettingKey<bool> PushNotificationChannel = new("Logging.Channel.PushNotification", true);
|
|
}
|