.NET 8 Update (#2496)

This commit is contained in:
Joe Milazzo 2023-12-13 19:16:54 -06:00 committed by GitHub
parent 6d4d2d4a7f
commit b838fd53e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
75 changed files with 590 additions and 405 deletions

View file

@ -1,4 +1,5 @@
namespace API.DTOs.Account;
#nullable enable
public class LoginDto
{

View file

@ -3,6 +3,7 @@ using API.Entities;
using API.Entities.Enums;
namespace API.DTOs.Filtering;
#nullable enable
public class FilterDto
{

View file

@ -1,4 +1,6 @@
namespace API.DTOs.Filtering;
#nullable enable
/// <summary>
/// Represents a range between two int/float/double
/// </summary>

View file

@ -1,9 +1,7 @@
using System.Collections.Generic;
namespace API.DTOs.Filtering.v2;
#nullable enable
/// <summary>
/// Metadata filtering for v2 API only

View file

@ -4,6 +4,7 @@ using System.Collections.Generic;
using API.Entities.Enums;
namespace API.DTOs;
#nullable enable
public class LibraryDto
{

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using API.DTOs.Account;
namespace API.DTOs;
#nullable enable
/// <summary>
/// Represents a member of a Kavita server.

View file

@ -2,6 +2,7 @@
using API.Entities.Enums;
namespace API.DTOs.Metadata;
#nullable enable
/// <summary>
/// Exclusively metadata about a given chapter

View file

@ -1,6 +1,7 @@
using API.Services.Plus;
namespace API.DTOs;
#nullable enable
public class RatingDto
{

View file

@ -1,6 +1,7 @@
using System.ComponentModel.DataAnnotations;
namespace API.DTOs.Reader;
#nullable enable
public class BookmarkDto
{

View file

@ -2,6 +2,7 @@
using API.Entities.Enums;
namespace API.DTOs.Reader;
#nullable enable
public class BookmarkInfoDto
{

View file

@ -2,6 +2,7 @@
using API.Entities.Enums;
namespace API.DTOs.Reader;
#nullable enable
/// <summary>
/// Information about the Chapter for the Reader to render

View file

@ -1,5 +1,7 @@
namespace API.DTOs.Reader;
#nullable enable
public class PersonalToCDto
{
public required int ChapterId { get; set; }

View file

@ -2,6 +2,7 @@
using API.DTOs.Scrobbling;
namespace API.DTOs.Recommendation;
#nullable enable
public class ExternalSeriesDetailDto
{

View file

@ -1,4 +1,5 @@
namespace API.DTOs.Recommendation;
#nullable enable
public class SeriesStaffDto
{

View file

@ -1,4 +1,5 @@
namespace API.DTOs.Scrobbling;
#nullable enable
/// <summary>
/// Response from Kavita+ Scrobble API

View file

@ -1,6 +1,7 @@
using System.ComponentModel.DataAnnotations;
namespace API.DTOs.SeriesDetail;
#nullable enable
public class UpdateUserReviewDto
{

View file

@ -1,6 +1,7 @@
using API.Services.Plus;
namespace API.DTOs.SeriesDetail;
#nullable enable
/// <summary>
/// Represents a User Review for a given Series

View file

@ -2,6 +2,7 @@
using API.Entities.Enums;
namespace API.DTOs.Statistics;
#nullable enable
public class FileExtensionDto
{

View file

@ -1,4 +1,5 @@
namespace API.DTOs.Statistics;
#nullable enable
public class TopReadDto
{

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using API.Entities.Enums;
namespace API.DTOs.Stats;
#nullable enable
/// <summary>
/// Represents information about a Kavita Installation

View file

@ -1,6 +1,7 @@
using System.Collections.Generic;
namespace API.DTOs;
#nullable enable
public class UpdateRbsDto
{

View file

@ -2,6 +2,7 @@
using API.DTOs.Account;
namespace API.DTOs;
#nullable enable
public class UserDto
{