Save
This commit is contained in:
		
							
								
								
									
										11
									
								
								Models/BoostingUser.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								Models/BoostingUser.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
namespace decePubClient.Models
 | 
			
		||||
{
 | 
			
		||||
	public class BoostingUser
 | 
			
		||||
	{
 | 
			
		||||
		public string UserId { get; set; } = "45f14fa8-c40f-4121-997c-ef2542196a50";
 | 
			
		||||
		public string UserName { get; set; } = "@loosy@letsrulethe.world";
 | 
			
		||||
		public string DisplayName { get; set; } = "loosy";
 | 
			
		||||
		public string PictureUrl { get; set; } = "https://letsrulethe.world/media/c22d7a6dfcce11e4d2d8d4f6298842a36751b0a179dc5333d24663e4b93793b4.jpg";
 | 
			
		||||
		public string ProfileUrl { get; set; } = "https://letsrulethe.world/users/loosy";
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
@@ -13,7 +13,9 @@ namespace decePubClient.Models
 | 
			
		||||
		public string Title { get; set; }
 | 
			
		||||
		public string Content { get; set; }
 | 
			
		||||
		public bool IsFavourite { get; set; } = false;
 | 
			
		||||
		public bool IsBoosted { get; set; } = false;
 | 
			
		||||
		public int BoostsCounter { get; set; } = 0;
 | 
			
		||||
		public bool IsBoostedByCurrentUser { get; set; } = false;
 | 
			
		||||
		public BoostingUser BoostingUser { get; set; }
 | 
			
		||||
		public List<Media> Medias { get; set; } = new();
 | 
			
		||||
		public DateTime CreatedAt { get; set; }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 | 
			
		||||
public enum ContentType
 | 
			
		||||
{
 | 
			
		||||
	PlainText,
 | 
			
		||||
	PlainText = 1,
 | 
			
		||||
	HTML,
 | 
			
		||||
	Markdown
 | 
			
		||||
}
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
{
 | 
			
		||||
	public enum MediaType
 | 
			
		||||
	{
 | 
			
		||||
		Images,
 | 
			
		||||
		Images = 1,
 | 
			
		||||
		Video,
 | 
			
		||||
		Audio,
 | 
			
		||||
		Documents
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
{
 | 
			
		||||
	public enum MessageType
 | 
			
		||||
	{
 | 
			
		||||
		Direct,
 | 
			
		||||
		Direct = 1,
 | 
			
		||||
		FollowersOnly,
 | 
			
		||||
		Unlisted,
 | 
			
		||||
		Public
 | 
			
		||||
 
 | 
			
		||||
@@ -9,8 +9,9 @@ public class UploadMedia
 | 
			
		||||
	public string FileName { get; set; }
 | 
			
		||||
	public string AltText { get; set; }
 | 
			
		||||
	public byte[] Blob { get; set; }
 | 
			
		||||
	public string Base64Preview { get; set; }
 | 
			
		||||
 | 
			
		||||
	[JsonIgnore, Bindable(false)]
 | 
			
		||||
	public string Base64Preview { get; set; }
 | 
			
		||||
	[JsonIgnore, Bindable(false)]
 | 
			
		||||
	public long Size { get; set; }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user