Ingest ExternalReviews from K+
Adds a new entity ExternalChapterMetadata, which would allow us to extend chapters to Recommendations, Ratings, etc in the future
This commit is contained in:
parent
749fb24185
commit
052b3f9fe4
29 changed files with 647 additions and 137 deletions
|
|
@ -334,11 +334,19 @@ public class AutoMapperProfiles : Profile
|
|||
.ForMember(dest => dest.IsExternal,
|
||||
opt =>
|
||||
opt.MapFrom(src => true));
|
||||
CreateMap<ExternalChapterReview, UserReviewDto>()
|
||||
.ForMember(dest => dest.IsExternal,
|
||||
opt =>
|
||||
opt.MapFrom(src => true));
|
||||
|
||||
CreateMap<UserReviewDto, ExternalReview>()
|
||||
.ForMember(dest => dest.BodyJustText,
|
||||
opt =>
|
||||
opt.MapFrom(src => ReviewHelper.GetCharacters(src.Body)));
|
||||
CreateMap<UserReviewDto, ExternalChapterReview>()
|
||||
.ForMember(dest => dest.BodyJustText,
|
||||
opt =>
|
||||
opt.MapFrom(src => ReviewHelper.GetCharacters(src.Body)));
|
||||
|
||||
CreateMap<ExternalRecommendation, ExternalSeriesDto>();
|
||||
CreateMap<Series, ManageMatchSeriesDto>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue