Added Source Chapter and Source Page entities.
This commit is contained in:
@@ -53,7 +53,7 @@ public partial class MangaDexSearchProvider(IMangaDexClient mangaDexClient) : IM
|
||||
return [.. mangaSearchResults];
|
||||
}
|
||||
|
||||
private static MangaSearchResult? GetMangaSearchResult(MangaEntity mangaEntity, CoverArtEntity[] coverArtEntites)
|
||||
private MangaSearchResult? GetMangaSearchResult(MangaEntity mangaEntity, CoverArtEntity[] coverArtEntites)
|
||||
{
|
||||
MangaAttributes? mangaAttributes = mangaEntity.Attributes;
|
||||
|
||||
@@ -65,6 +65,7 @@ public partial class MangaDexSearchProvider(IMangaDexClient mangaDexClient) : IM
|
||||
|
||||
MangaSearchResult mangaSearchResult = new()
|
||||
{
|
||||
Source = SourceId,
|
||||
Title = title,
|
||||
Description = GetDescription(mangaAttributes),
|
||||
Genres = GetGenres(mangaAttributes),
|
||||
|
||||
@@ -17,6 +17,7 @@ public partial class NatoMangaSearchProvider(INatoMangaClient natoMangaClient) :
|
||||
{
|
||||
MangaSearchResult mangaSearchResult = new()
|
||||
{
|
||||
Source = SourceId,
|
||||
Title = searchResult.Name,
|
||||
Thumbnail = searchResult.Thumb,
|
||||
Url = searchResult.Url
|
||||
|
||||
Reference in New Issue
Block a user