.kavitaignore no more (#2442)
This commit is contained in:
parent
cd27efecdd
commit
7221501c4d
91 changed files with 5968 additions and 1026 deletions
|
|
@ -208,7 +208,13 @@ public class AutoMapperProfiles : Profile
|
|||
CreateMap<Library, LibraryDto>()
|
||||
.ForMember(dest => dest.Folders,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.Folders.Select(x => x.Path).ToList()));
|
||||
opt.MapFrom(src => src.Folders.Select(x => x.Path).ToList()))
|
||||
.ForMember(dest => dest.LibraryFileTypes,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.LibraryFileTypes.Select(l => l.FileTypeGroup)))
|
||||
.ForMember(dest => dest.ExcludePatterns,
|
||||
opt =>
|
||||
opt.MapFrom(src => src.LibraryExcludePatterns.Select(l => l.Pattern)));
|
||||
|
||||
CreateMap<AppUser, MemberDto>()
|
||||
.ForMember(dest => dest.AgeRestriction,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue