Adds a theme caching toggle to the user settings

This commit is contained in:
BinaryAlley committed 2026-08-21 04:04:54 -07:00
1 parent 60b551558f
commit 3da7167538
43 files changed
+1611 -56

No files matched your search

@@ -10,9 +10,11 @@ namespace Lumina.Contracts.Requests.UsersManagement.Settings;
/// <param name="IsPaginationEnabled">Whether pagination is enabled for the user, or not. Required.</param>
/// <param name="ItemsPerPage">The number of library items displayed per page when pagination is enabled. Required.</param>
/// <param name="IgnoreThePrefixForAlphaPicker">Whether the "The" prefix of library item titles is ignored by the alpha picker, or not. Required.</param>
/// <param name="IsThemeCachingEnabled">Whether the theme data served to this user is cached, or not. Required.</param>
[DebuggerDisplay("IsPaginationEnabled: {IsPaginationEnabled}; ItemsPerPage: {ItemsPerPage}")]
public sealed record UpdateUserSettingsRequest(
bool IsPaginationEnabled,
int ItemsPerPage,
bool IgnoreThePrefixForAlphaPicker
bool IgnoreThePrefixForAlphaPicker,
bool IsThemeCachingEnabled
);
@@ -12,10 +12,12 @@ namespace Lumina.Contracts.Responses.UsersManagement.Settings;
/// <param name="IsPaginationEnabled">Whether pagination is enabled for the user, or not.</param>
/// <param name="ItemsPerPage">The number of library items displayed per page when pagination is enabled.</param>
/// <param name="IgnoreThePrefixForAlphaPicker">Whether the "The" prefix of library item titles is ignored by the alpha picker, or not.</param>
/// <param name="IsThemeCachingEnabled">Whether the theme data served to this user is cached, or not.</param>
[DebuggerDisplay("UserId: {UserId}")]
public sealed record UserSettingsResponse(
Guid UserId,
bool IsPaginationEnabled,
int ItemsPerPage,
bool IgnoreThePrefixForAlphaPicker
bool IgnoreThePrefixForAlphaPicker,
bool IsThemeCachingEnabled
);