mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Hard deletes user themes, restores damaged bundled themes and fixes the web theme service DI lifetime
This commit is contained in:
1 parent
bf8faba24d
commit
45dc3f5706
7 files changed
+126
-10
No files matched your search
@@ -95,6 +95,13 @@ public interface IThemeService
|
||||
/// <returns>An <see cref="Result{TValue}"/> representing either a successful operation, or an error.</returns>
|
||||
Task<Result<Success>> RestoreBundledThemeAsync(string themeId, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether the stored pack files of a theme still exist.
|
||||
/// </summary>
|
||||
/// <param name="themeId">The manifest id of the theme.</param>
|
||||
/// <returns><see langword="true"/> when the theme pack files exist, <see langword="false"/> otherwise.</returns>
|
||||
bool HasThemePack(string themeId);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the paths of the theme pack archives shipped with the application.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user