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

@@ -26,7 +26,8 @@ public class GetUserSettingsEndpointSummary : Summary<GetUserSettingsEndpoint, E
UserId: Guid.NewGuid(),
IsPaginationEnabled: true,
ItemsPerPage: 48,
IgnoreThePrefixForAlphaPicker: false
IgnoreThePrefixForAlphaPicker: false,
IsThemeCachingEnabled: true
));
Response(401, "Authentication required.", "application/problem+json",
@@ -24,9 +24,15 @@ public class UpdateUserSettingsEndpointSummary : Summary<UpdateUserSettingsEndpo
ExampleRequest = new UpdateUserSettingsRequest(
IsPaginationEnabled: true,
ItemsPerPage: 48,
IgnoreThePrefixForAlphaPicker: false
IgnoreThePrefixForAlphaPicker: false,
IsThemeCachingEnabled: true
);
RequestParam(r => r.IsPaginationEnabled, "Whether pagination is enabled for the user, or not. Required.");
RequestParam(r => r.ItemsPerPage, "The number of library items displayed per page when pagination is enabled. Required.");
RequestParam(r => r.IgnoreThePrefixForAlphaPicker, "Whether the \"The\" prefix of library item titles is ignored by the alpha picker, or not. Required.");
RequestParam(r => r.IsThemeCachingEnabled, "Whether the theme data served to this user is cached, or not. Required.");
Response(200, "The settings of the current user were successfully updated.");
Response(401, "Authentication required.", "application/problem+json",