mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-05 14:45:28 -04:00
* Cleaned up error interceptor to avoid sending auth errors (when a 500 occurs) to sentry as auth errors aren't issues. * Added extra stat collection * Fixed a bad gitignore which ignored anything in a stats directory
25 lines
587 B
C#
25 lines
587 B
C#
using System.Collections.Generic;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs.Stats
|
|
{
|
|
public class UsageInfoDto
|
|
{
|
|
public UsageInfoDto()
|
|
{
|
|
FileTypes = new HashSet<string>();
|
|
LibraryTypesCreated = new HashSet<LibInfo>();
|
|
}
|
|
|
|
public int UsersCount { get; set; }
|
|
public IEnumerable<string> FileTypes { get; set; }
|
|
public IEnumerable<LibInfo> LibraryTypesCreated { get; set; }
|
|
}
|
|
|
|
public class LibInfo
|
|
{
|
|
public LibraryType Type { get; set; }
|
|
public int Count { get; set; }
|
|
}
|
|
}
|