New Feature Stats (#1179)
* When searching, search against normalized names. * Added new stat fields
This commit is contained in:
parent
fbb8934eef
commit
0622d8a874
8 changed files with 80 additions and 16 deletions
|
@ -1,4 +1,6 @@
|
|||
namespace API.DTOs.Stats
|
||||
using API.Entities.Enums;
|
||||
|
||||
namespace API.DTOs.Stats
|
||||
{
|
||||
public class ServerInfoDto
|
||||
{
|
||||
|
@ -10,5 +12,39 @@
|
|||
public int NumOfCores { get; set; }
|
||||
public int NumberOfLibraries { get; set; }
|
||||
public bool HasBookmarks { get; set; }
|
||||
/// <summary>
|
||||
/// The site theme the install is using
|
||||
/// </summary>
|
||||
public string ActiveSiteTheme { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The reading mode the main user has as a preference
|
||||
/// </summary>
|
||||
public ReaderMode MangaReaderMode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of users on the install
|
||||
/// </summary>
|
||||
public int NumberOfUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of collections on the install
|
||||
/// </summary>
|
||||
public int NumberOfCollections { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of reading lists on the install (Sum of all users)
|
||||
/// </summary>
|
||||
public int NumberOfReadingLists { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Is OPDS enabled
|
||||
/// </summary>
|
||||
public bool OPDSEnabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Total number of files in the instance
|
||||
/// </summary>
|
||||
public int TotalFiles { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue