
* Started building out idea around detail drawer. Need code from word count to continue * Fixed the logic for caluclating time to read on comics * Adding styles * more styling fixes * Cleaned up the styles a bit more so it's at least functional. Not sure on the feature, might abandon. * Pulled Robbie's changes in and partially migrated them to the drawer. * Add offset overrides for offcanvas so it takes our header into account * Implemented a basic time left to finish the series (or at least what's in Kavita). Rough around the edges. * Cleaned up the drawer code. * Added Quick Catch ups to recommended page. Updated the timeout for scan tasks to ensure we don't run 2 at the same time. * Quick catchups implemented * Added preliminary support for Korean filename parsing. Reduced an array alloc that is called many thousands of times per scan. * Fixing drawer overflow * Fixed a calculation bug with average reading time. * Small spacing changes to drawer * Don't show estimated reading time if the user hasn't read anything * Bump eventsource from 1.1.1 to 2.0.2 in /UI/Web Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.1 to 2.0.2. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](https://github.com/EventSource/eventsource/compare/v1.1.1...v2.0.2) --- updated-dependencies: - dependency-name: eventsource dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Added image to series detail drawer Co-authored-by: Robbie Davis <robbie@therobbiedavis.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
56 lines
2.3 KiB
C#
56 lines
2.3 KiB
C#
using System.Collections.Generic;
|
|
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs.Metadata
|
|
{
|
|
/// <summary>
|
|
/// Exclusively metadata about a given chapter
|
|
/// </summary>
|
|
public class ChapterMetadataDto
|
|
{
|
|
public int Id { get; set; }
|
|
public int ChapterId { get; set; }
|
|
public string Title { get; set; }
|
|
public ICollection<PersonDto> Writers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> CoverArtists { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Publishers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Characters { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Pencillers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Inkers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Colorists { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Letterers { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Editors { get; set; } = new List<PersonDto>();
|
|
public ICollection<PersonDto> Translators { get; set; } = new List<PersonDto>();
|
|
|
|
public ICollection<GenreTagDto> Genres { get; set; } = new List<GenreTagDto>();
|
|
|
|
/// <summary>
|
|
/// Collection of all Tags from underlying chapters for a Series
|
|
/// </summary>
|
|
public ICollection<TagDto> Tags { get; set; } = new List<TagDto>();
|
|
public AgeRating AgeRating { get; set; }
|
|
public string ReleaseDate { get; set; }
|
|
public PublicationStatus PublicationStatus { get; set; }
|
|
/// <summary>
|
|
/// Summary for the Chapter/Issue
|
|
/// </summary>
|
|
public string Summary { get; set; }
|
|
/// <summary>
|
|
/// Language for the Chapter/Issue
|
|
/// </summary>
|
|
public string Language { get; set; }
|
|
/// <summary>
|
|
/// Number in the TotalCount of issues
|
|
/// </summary>
|
|
public int Count { get; set; }
|
|
/// <summary>
|
|
/// Total number of issues for the series
|
|
/// </summary>
|
|
public int TotalCount { get; set; }
|
|
/// <summary>
|
|
/// Number of Words for this chapter. Only applies to Epub
|
|
/// </summary>
|
|
public long WordCount { get; set; }
|
|
|
|
}
|
|
}
|