Files
Prowlarr/src/NzbDrone.Core/Configuration/IConfigService.cs
T
2022-07-06 19:22:07 -05:00

60 lines
1.6 KiB
C#

using System.Collections.Generic;
using NzbDrone.Common.Http.Proxy;
using NzbDrone.Core.Security;
namespace NzbDrone.Core.Configuration
{
public interface IConfigService
{
void SaveConfigDictionary(Dictionary<string, object> configValues);
bool IsDefined(string key);
//History
int HistoryCleanupDays { get; set; }
//UI
int FirstDayOfWeek { get; set; }
string CalendarWeekColumnHeader { get; set; }
string ShortDateFormat { get; set; }
string LongDateFormat { get; set; }
string TimeFormat { get; set; }
bool ShowRelativeDates { get; set; }
bool EnableColorImpairedMode { get; set; }
string UILanguage { get; set; }
//Internal
string PlexClientIdentifier { get; }
//Forms Auth
string RijndaelPassphrase { get; }
string HmacPassphrase { get; }
string RijndaelSalt { get; }
string HmacSalt { get; }
//Link Protection
string DownloadProtectionKey { get; }
//Proxy
bool ProxyEnabled { get; }
ProxyType ProxyType { get; }
string ProxyHostname { get; }
int ProxyPort { get; }
string ProxyUsername { get; }
string ProxyPassword { get; }
string ProxyBypassFilter { get; }
bool ProxyBypassLocalAddresses { get; }
// Backups
string BackupFolder { get; }
int BackupInterval { get; }
int BackupRetention { get; }
// Indexers
bool LogIndexerResponse { get; set; }
CertificateValidationType CertificateValidation { get; }
}
}