mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Adds the server-side theme repository and reworks the web theme engine onto it
This commit is contained in:
1 parent
85928f7c3c
commit
bf8faba24d
136 files changed
+6942
-1197
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Themes;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to delete a theme.
|
||||
/// </summary>
|
||||
/// <param name="ThemeId">The manifest id of the theme to delete.</param>
|
||||
[DebuggerDisplay("ThemeId: {ThemeId}")]
|
||||
public record DeleteThemeRequest(
|
||||
string? ThemeId
|
||||
);
|
||||
@@ -0,0 +1,14 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Themes;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to download the archive of a theme.
|
||||
/// </summary>
|
||||
/// <param name="ThemeId">The manifest id of the theme to download.</param>
|
||||
[DebuggerDisplay("ThemeId: {ThemeId}")]
|
||||
public record GetThemeArchiveRequest(
|
||||
string? ThemeId
|
||||
);
|
||||
@@ -0,0 +1,16 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Themes;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to get an asset file of a theme.
|
||||
/// </summary>
|
||||
/// <param name="ThemeId">The manifest id of the theme.</param>
|
||||
/// <param name="Path">The asset path relative to the theme pack root.</param>
|
||||
[DebuggerDisplay("ThemeId: {ThemeId}, Path: {Path}")]
|
||||
public record GetThemeAssetRequest(
|
||||
string? ThemeId,
|
||||
string? Path
|
||||
);
|
||||
@@ -0,0 +1,14 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.Common.Requests.Themes;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to set the currently active theme.
|
||||
/// </summary>
|
||||
/// <param name="ThemeId">The manifest id of the theme to activate.</param>
|
||||
[DebuggerDisplay("ThemeId: {ThemeId}")]
|
||||
public record SetCurrentThemeRequest(
|
||||
string? ThemeId
|
||||
);
|
||||
Reference in new issue
Block a user