Expanding theme tab to customization tab. Started improving theme selection.
This commit is contained in:
14
Moonlight.ApiServer/Mappers/ThemeMapper.cs
Normal file
14
Moonlight.ApiServer/Mappers/ThemeMapper.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Moonlight.ApiServer.Database.Entities;
|
||||
using Moonlight.Shared.Http.Requests.Admin.Sys.Theme;
|
||||
using Moonlight.Shared.Http.Responses.Admin;
|
||||
using Riok.Mapperly.Abstractions;
|
||||
|
||||
namespace Moonlight.ApiServer.Mappers;
|
||||
|
||||
[Mapper]
|
||||
public static partial class ThemeMapper
|
||||
{
|
||||
public static partial ThemeResponse ToResponse(Theme theme);
|
||||
public static partial Theme ToTheme(CreateThemeRequest request);
|
||||
public static partial void Merge([MappingTarget] Theme theme, UpdateThemeRequest request);
|
||||
}
|
||||
Reference in New Issue
Block a user