mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 15:30:34 -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
23 lines
618 B
C#
23 lines
618 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using API.Data.Misc;
|
|
using API.DTOs.Account;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs;
|
|
|
|
/// <summary>
|
|
/// Represents a member of a Kavita server.
|
|
/// </summary>
|
|
public class MemberDto
|
|
{
|
|
public int Id { get; init; }
|
|
public string Username { get; init; }
|
|
public string Email { get; init; }
|
|
public AgeRestrictionDto AgeRestriction { get; init; }
|
|
public DateTime Created { get; init; }
|
|
public DateTime LastActive { get; init; }
|
|
public IEnumerable<LibraryDto> Libraries { get; init; }
|
|
public IEnumerable<string> Roles { get; init; }
|
|
}
|