Fix Content urls to 1024

This commit is contained in:
2025-04-01 22:53:54 -04:00
parent aad97355c0
commit 915e4823b2
5 changed files with 816 additions and 50 deletions

View File

@@ -12,9 +12,9 @@ public class Content
public DateTimeOffset? DeletedAt { get; set; }
[MaxLength(128)] public required string Title { get; set; }
[MaxLength(512)] public string? ThumbnailUrl { get; set; } = "";
[MaxLength(1024)] public string? ThumbnailUrl { get; set; } = "";
[MaxLength(2048)] public string Description { get; set; } = "";
[MaxLength(2048)] public string? HtmlFileUrl { get; set; } = "";
[MaxLength(1024)] public string? HtmlFileUrl { get; set; } = "";
public IList<ContentReaction> Reactions { get; set; } = new List<ContentReaction>();
public string[]? Urls { get; init; }