23 lines
1.2 KiB
C#
23 lines
1.2 KiB
C#
using FinlyticCore.Models.Settings;
|
|
|
|
namespace FinlyticAssets.Util;
|
|
|
|
public static class SettingKeys
|
|
{
|
|
// --- Logging-Kanäle ---
|
|
public static readonly SettingKey<bool> AssetsChannel = new("Logging.Channel.Assets", true);
|
|
public static readonly SettingKey<bool> MqttChannel = new("Logging.Channel.MQTT", true);
|
|
public static readonly SettingKey<bool> HealthPingChannel = new("Logging.Channel.Health", true);
|
|
|
|
// --- Asset Scanning ---
|
|
public static readonly SettingKey<bool> EnableAutoScan = new("Scanner.EnableAutoScan", true);
|
|
public static readonly SettingKey<int> ScanIntervalHours = new("Scanner.ScanIntervalHours", 12);
|
|
public static readonly SettingKey<int> MaxConcurrentScans = new("Scanner.MaxConcurrentScans", 5);
|
|
public static readonly SettingKey<bool> EnableDerivativeScanning = new("Scanner.EnableDerivativeScanning", true);
|
|
|
|
// --- Logos & Media ---
|
|
public static readonly SettingKey<bool> AutoFetchLogos = new("Media.AutoFetchLogos", true);
|
|
public static readonly SettingKey<int> LogoFetchBatchSize = new("Media.LogoFetchBatchSize", 25);
|
|
public static readonly SettingKey<string> LogoStorageDirectory = new("Media.LogoStorageDirectory", "data/logos");
|
|
}
|