Small UI changes (#3787)

This commit is contained in:
Joe Milazzo 2025-05-04 08:14:44 -06:00 committed by GitHub
parent 50a052e412
commit 5b8a643d82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
203 changed files with 369 additions and 446 deletions

View file

@ -2,7 +2,7 @@
namespace API.DTOs.Metadata;
public class AgeRatingDto
public sealed record AgeRatingDto
{
public AgeRating Value { get; set; }
public required string Title { get; set; }

View file

@ -9,7 +9,7 @@ namespace API.DTOs.Metadata;
/// Exclusively metadata about a given chapter
/// </summary>
[Obsolete("Will not be maintained as of v0.8.1")]
public class ChapterMetadataDto
public sealed record ChapterMetadataDto
{
public int Id { get; set; }
public int ChapterId { get; set; }

View file

@ -1,6 +1,6 @@
namespace API.DTOs.Metadata;
public class GenreTagDto
public sealed record GenreTagDto
{
public int Id { get; set; }
public required string Title { get; set; }

View file

@ -1,8 +1,9 @@
using API.DTOs.KavitaPlus.Metadata;
using API.DTOs.Recommendation;
namespace API.DTOs.Metadata.Matching;
public class ExternalSeriesMatchDto
public sealed record ExternalSeriesMatchDto
{
public ExternalSeriesDetailDto Series { get; set; }
public float MatchRating { get; set; }

View file

@ -3,7 +3,7 @@ namespace API.DTOs.Metadata.Matching;
/// <summary>
/// Used for matching a series with Kavita+ for metadata and scrobbling
/// </summary>
public class MatchSeriesDto
public sealed record MatchSeriesDto
{
/// <summary>
/// When set, Kavita will stop attempting to match this series and will not perform any scrobbling

View file

@ -2,7 +2,7 @@
namespace API.DTOs.Metadata;
public class PublicationStatusDto
public sealed record PublicationStatusDto
{
public PublicationStatus Value { get; set; }
public required string Title { get; set; }

View file

@ -1,6 +1,6 @@
namespace API.DTOs.Metadata;
public class TagDto
public sealed record TagDto
{
public int Id { get; set; }
public required string Title { get; set; }