Customized Scheduler + Saved Kavita+ Details (#2644)
This commit is contained in:
parent
2092e120c3
commit
ad74871623
76 changed files with 6076 additions and 3370 deletions
|
@ -45,5 +45,9 @@ public enum FilterField
|
|||
/// Last time User Read
|
||||
/// </summary>
|
||||
ReadingDate = 27,
|
||||
/// <summary>
|
||||
/// Average rating from Kavita+ - Not usable for non-licensed users
|
||||
/// </summary>
|
||||
AverageRating = 28
|
||||
|
||||
}
|
||||
|
|
17
API/DTOs/Scrobbling/MediaRecommendationDto.cs
Normal file
17
API/DTOs/Scrobbling/MediaRecommendationDto.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System.Collections.Generic;
|
||||
using API.Services.Plus;
|
||||
|
||||
namespace API.DTOs.Scrobbling;
|
||||
|
||||
public record MediaRecommendationDto
|
||||
{
|
||||
public int Rating { get; set; }
|
||||
public IEnumerable<string> RecommendationNames { get; set; } = null!;
|
||||
public string Name { get; set; }
|
||||
public string CoverUrl { get; set; }
|
||||
public string SiteUrl { get; set; }
|
||||
public string? Summary { get; set; }
|
||||
public int? AniListId { get; set; }
|
||||
public long? MalId { get; set; }
|
||||
public ScrobbleProvider Provider { get; set; }
|
||||
}
|
21
API/DTOs/Scrobbling/PlusSeriesDto.cs
Normal file
21
API/DTOs/Scrobbling/PlusSeriesDto.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
namespace API.DTOs.Scrobbling;
|
||||
|
||||
public record PlusSeriesDto
|
||||
{
|
||||
public int? AniListId { get; set; }
|
||||
public long? MalId { get; set; }
|
||||
public string? GoogleBooksId { get; set; }
|
||||
public string? MangaDexId { get; set; }
|
||||
public string SeriesName { get; set; }
|
||||
public string? AltSeriesName { get; set; }
|
||||
public MediaFormat MediaFormat { get; set; }
|
||||
/// <summary>
|
||||
/// Optional but can help with matching
|
||||
/// </summary>
|
||||
public int? ChapterCount { get; set; }
|
||||
/// <summary>
|
||||
/// Optional but can help with matching
|
||||
/// </summary>
|
||||
public int? VolumeCount { get; set; }
|
||||
public int? Year { get; set; }
|
||||
}
|
|
@ -14,27 +14,29 @@ public class UserReviewDto
|
|||
/// </summary>
|
||||
/// <remarks>This is not possible to set as a local user</remarks>
|
||||
public string? Tagline { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The main review
|
||||
/// </summary>
|
||||
public string Body { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The main body with just text, for review preview
|
||||
/// </summary>
|
||||
public string? BodyJustText { get; set; }
|
||||
/// <summary>
|
||||
/// The series this is for
|
||||
/// </summary>
|
||||
public int SeriesId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The library this series belongs in
|
||||
/// </summary>
|
||||
public int LibraryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The user who wrote this
|
||||
/// </summary>
|
||||
public string Username { get; set; }
|
||||
|
||||
public int TotalVotes { get; set; }
|
||||
public float Rating { get; set; }
|
||||
public string? RawBody { get; set; }
|
||||
/// <summary>
|
||||
/// How many upvotes this review has gotten
|
||||
/// </summary>
|
||||
|
@ -43,16 +45,11 @@ public class UserReviewDto
|
|||
/// <summary>
|
||||
/// If External, the url of the review
|
||||
/// </summary>
|
||||
public string? ExternalUrl { get; set; }
|
||||
public string? SiteUrl { get; set; }
|
||||
/// <summary>
|
||||
/// Does this review come from an external Source
|
||||
/// </summary>
|
||||
public bool IsExternal { get; set; }
|
||||
/// <summary>
|
||||
/// The main body with just text, for review preview
|
||||
/// </summary>
|
||||
public string? BodyJustText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If this review is External, which Provider did it come from
|
||||
/// </summary>
|
||||
|
|
|
@ -8,11 +8,12 @@ public class ServerSettingDto
|
|||
|
||||
public string CacheDirectory { get; set; } = default!;
|
||||
public string TaskScan { get; set; } = default!;
|
||||
public string TaskBackup { get; set; } = default!;
|
||||
public string TaskCleanup { get; set; } = default!;
|
||||
/// <summary>
|
||||
/// Logging level for server. Managed in appsettings.json.
|
||||
/// </summary>
|
||||
public string LoggingLevel { get; set; } = default!;
|
||||
public string TaskBackup { get; set; } = default!;
|
||||
/// <summary>
|
||||
/// Port the server listens on. Managed in appsettings.json.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue