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
///
/// Deprecated. This is no longer used v0.5.1+. Assume Authentication is always in effect
[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,
///
/// Represents the version the software is running.
///
/// This will be updated on Startup to the latest release. Provides ability to detect if certain migrations need to be run.
[Description("InstallVersion")]
InstallVersion = 11,
///
/// Location of where bookmarks are stored
///
[Description("BookmarkDirectory")]
BookmarkDirectory = 12,
///
/// If SMTP is enabled on the server
///
[Description("CustomEmailService")]
EmailServiceUrl = 13,
}
}