using System.ComponentModel;
namespace API.Entities.Enums
{
public enum ServerSettingKey
{
///
/// Cron format for how often full library scans are performed.
///
[Description("TaskScan")]
TaskScan = 0,
///
/// Where files are cached. Not currently used.
///
[Description("CacheDirectory")]
CacheDirectory = 1,
///
/// Cron format for how often backups are taken.
///
[Description("TaskBackup")]
TaskBackup = 2,
///
/// Logging level for Server. Not managed in DB. Managed in appsettings.json and synced to DB.
///
[Description("LoggingLevel")]
LoggingLevel = 3,
///
/// Port server listens on. Not managed in DB. Managed in appsettings.json and synced to DB.
///
[Description("Port")]
Port = 4,
///
/// Where the backups are stored.
///
[Description("BackupDirectory")]
BackupDirectory = 5,
///
/// Allow anonymous data to be reported to KavitaStats
///
[Description("AllowStatCollection")]
AllowStatCollection = 6,
///
/// Is OPDS enabled for the server
///
[Description("EnableOpds")]
EnableOpds = 7,
///
/// Is Authentication needed for non-admin accounts
///
[Description("EnableAuthentication")]
EnableAuthentication = 8,
///
/// Base Url for the server. Not Implemented.
///
[Description("BaseUrl")]
BaseUrl = 9,
///
/// Represents this installation of Kavita. Is tied to Stat reporting but has no information about user or files.
///
[Description("InstallId")]
InstallId = 10
}
}