Initial commit

This commit is contained in:
2026-05-25 17:21:51 -07:00
commit eb27d44cbf
26 changed files with 1003 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using Radium.DataExporter.Models.Accounts.Enums;
using Radium.DataExporter.Models.Common.Enums;
using System.Text.Json.Serialization;
namespace Radium.DataExporter.Models.Accounts;
public class Account
{
[JsonPropertyName(name: "accountId")] public long AccountId { get; set; }
[JsonPropertyName(name: "username")] public string Username { get; set; } = string.Empty;
[JsonPropertyName(name: "displayName")] public string DisplayName { get; set; } = string.Empty;
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName(name: "displayEmoji")] public string? DisplayEmoji { get; set; }
[JsonPropertyName(name: "profileImage")] public string ProfileImage { get; set; } = "DefaultProfileImage";
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName(name: "bannerImage")] public string? BannerImage { get; set; }
[JsonPropertyName(name: "isJunior")] public bool? IsJunior { get; set; }
[JsonPropertyName(name: "platforms")] public PlatformMask Platforms { get; set; }
[JsonPropertyName(name: "personalPronouns")] public PersonalPronouns PersonalPronouns { get; set; }
[JsonPropertyName(name: "identityFlags")] public IdentityFlags IdentityFlags { get; set; }
[JsonPropertyName(name: "createdAt")] public DateTime CreatedAt { get; set; }
[JsonPropertyName(name: "isMetaPlatformBlocked")] public bool IsMetaPlatformBlocked { get; set; }
}

View File

@@ -0,0 +1,17 @@
namespace Radium.DataExporter.Models.Accounts.Enums;
[Flags]
public enum IdentityFlags
{
None = 0,
LGBTQIA = 1,
Transgender = 2,
Bisexual = 4,
Lesbian = 8,
Pansexual = 16,
Asexual = 32,
Intersex = 64,
Genderqueer = 128,
Nonbinary = 256,
Aromantic = 512
}

View File

@@ -0,0 +1,13 @@
namespace Radium.DataExporter.Models.Accounts.Enums;
[Flags]
public enum PersonalPronouns
{
None = 0,
SheHer = 1,
HeHim = 2,
TheyThem = 4,
ZeHir = 8,
ZeZir = 16,
XeXem = 32
}