mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-12-19 19:45:04 -05:00
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com> Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
43 lines
1.4 KiB
C#
43 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace API.Entities.Enums.UserPreferences;
|
|
|
|
public class AppUserSocialPreferences
|
|
{
|
|
/// <summary>
|
|
/// UI Site Global Setting: Should series reviews be shared with all users in the server
|
|
/// </summary>
|
|
public bool ShareReviews { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// UI Site Global Setting: Share your annotations with other users
|
|
/// </summary>
|
|
public bool ShareAnnotations { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// UI Site Global Setting: See other users' annotations while reading
|
|
/// </summary>
|
|
public bool ViewOtherAnnotations { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// UI Site Global Setting: For which libraries should social features be enabled
|
|
/// </summary>
|
|
/// <remarks>Empty array means all, disable specific social features to opt out everywhere</remarks>
|
|
public IList<int> SocialLibraries { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// UI Site Global Setting: Highest age rating for which social features are enabled
|
|
/// </summary>
|
|
public AgeRating SocialMaxAgeRating { get; set; } = AgeRating.NotApplicable;
|
|
|
|
/// <summary>
|
|
/// UI Site Global Setting: Enable social features for unknown age ratings
|
|
/// </summary>
|
|
public bool SocialIncludeUnknowns { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// UI Site Global Setting: Enable sharing of Profile with other users
|
|
/// </summary>
|
|
public bool ShareProfile { get; set; }
|
|
}
|