Kavita/Kavita.Models/Entities/Enums/UserPreferences/AppUserSocialPreferences.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

43 lines
1.5 KiB
C#

using System.Collections.Generic;
namespace Kavita.Models.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; }
}