Iceshrimp.NET/Iceshrimp.Backend/Controllers/Pleroma/Schemas/Entities/PleromaUserExtensions.cs
notfire 0d176c7aff
Some checks are pending
/ test-build-and-push (push) Waiting to run
this is literally the only other difference
2025-03-30 18:33:32 -04:00

9 lines
No EOL
310 B
C#

using J = System.Text.Json.Serialization.JsonPropertyNameAttribute;
namespace Iceshrimp.Backend.Controllers.Pleroma.Schemas.Entities;
public class PleromaUserExtensions
{
[J("is_admin")] public required bool IsAdmin { get; set; }
[J("is_moderator")] public required bool IsModerator { get; set; }
}