mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 07:20:32 -04:00
* Fixed a scaling issue in the epub reader, where images could scale when they shouldn't. * Removed some caching on library/ api and added more output for a foreign key constraint * Hooked in Restricted Profile stat collection * Added a new boolean on age restrictions to explicitly allow unknowns or not. Since unknown is the default state of metadata, if users are allowed access to Unknown, age restricted content could leak. * Fixed a bug where sometimes series cover generation could fail under conditions where only specials existed. * Fixed foreign constraint issue when cleaning up series not seen at end of scan loop * Removed an additional epub parse when scanning and handled merging differently * Code smell
17 lines
420 B
C#
17 lines
420 B
C#
|
|
using API.DTOs.Account;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs;
|
|
|
|
public class UserDto
|
|
{
|
|
public string Username { get; init; }
|
|
public string Email { get; init; }
|
|
public string Token { get; set; }
|
|
public string RefreshToken { get; set; }
|
|
public string ApiKey { get; init; }
|
|
public UserPreferencesDto Preferences { get; set; }
|
|
public AgeRestrictionDto AgeRestriction { get; init; }
|
|
}
|