Small UI changes (#3787)
This commit is contained in:
parent
50a052e412
commit
5b8a643d82
203 changed files with 369 additions and 446 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace API.DTOs.SeriesDetail;
|
||||
|
||||
public class NextExpectedChapterDto
|
||||
public sealed record NextExpectedChapterDto
|
||||
{
|
||||
public float ChapterNumber { get; set; }
|
||||
public float VolumeNumber { get; set; }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace API.DTOs.SeriesDetail;
|
||||
|
||||
public class RelatedSeriesDto
|
||||
public sealed record RelatedSeriesDto
|
||||
{
|
||||
/// <summary>
|
||||
/// The parent relationship Series
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace API.DTOs.SeriesDetail;
|
|||
/// This is a special DTO for a UI page in Kavita. This performs sorting and grouping and returns exactly what UI requires for layout.
|
||||
/// This is subject to change, do not rely on this Data model.
|
||||
/// </summary>
|
||||
public class SeriesDetailDto
|
||||
public sealed record SeriesDetailDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Specials for the Series. These will have their title and range cleaned to remove the special marker and prepare
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using API.DTOs.KavitaPlus.Metadata;
|
||||
using API.DTOs.Recommendation;
|
||||
|
||||
namespace API.DTOs.SeriesDetail;
|
||||
|
@ -8,7 +9,7 @@ namespace API.DTOs.SeriesDetail;
|
|||
/// All the data from Kavita+ for Series Detail
|
||||
/// </summary>
|
||||
/// <remarks>This is what the UI sees, not what the API sends back</remarks>
|
||||
public class SeriesDetailPlusDto
|
||||
public sealed record SeriesDetailPlusDto
|
||||
{
|
||||
public RecommendationDto? Recommendations { get; set; }
|
||||
public IEnumerable<UserReviewDto> Reviews { get; set; }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace API.DTOs.SeriesDetail;
|
||||
|
||||
public class UpdateRelatedSeriesDto
|
||||
public sealed record UpdateRelatedSeriesDto
|
||||
{
|
||||
public int SeriesId { get; set; }
|
||||
public IList<int> Adaptations { get; set; } = default!;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
namespace API.DTOs.SeriesDetail;
|
||||
#nullable enable
|
||||
|
||||
public class UpdateUserReviewDto
|
||||
public sealed record UpdateUserReviewDto
|
||||
{
|
||||
public int SeriesId { get; set; }
|
||||
public int? ChapterId { get; set; }
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace API.DTOs.SeriesDetail;
|
|||
/// Represents a User Review for a given Series
|
||||
/// </summary>
|
||||
/// <remarks>The user does not need to be a Kavita user</remarks>
|
||||
public class UserReviewDto
|
||||
public sealed record UserReviewDto
|
||||
{
|
||||
/// <summary>
|
||||
/// A tagline for the review
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue