mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Renames the image MIME resolver and organizes the MIME resolvers
Renames MimeTypes to ImageMimeTypes and moves it into Common/MimeTypes, updates the thumbnail endpoint and its tests, and aligns ThemeMimeTypes on the same frozen dictionary, initializer style and field naming.
This commit is contained in:
1 parent
1aa427b1e2
commit
4bcd37898c
5 files changed
+33
-32
No files matched your search
+3
-3
@@ -4,12 +4,12 @@ using System.Collections.Frozen;
|
||||
using System.Collections.Generic;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Api.Common.Utilities;
|
||||
namespace Lumina.Presentation.Api.Common.MimeTypes;
|
||||
|
||||
/// <summary>
|
||||
/// Utility class for converting from domain image types to known image mime types.
|
||||
/// Resolves the MIME content type of image types.
|
||||
/// </summary>
|
||||
public static class MimeTypes
|
||||
public static class ImageMimeTypes
|
||||
{
|
||||
private static readonly FrozenDictionary<ImageType, string> s_imageTypeToMimeType = new Dictionary<ImageType, string>
|
||||
{
|
||||
Reference in new issue
Block a user