Add and remove reaction from a content

This commit is contained in:
Dominic Villemure
2024-08-24 18:39:09 -04:00
parent 63dc032aa4
commit 588be7941c
17 changed files with 660 additions and 45 deletions

View File

@@ -1,4 +1,6 @@
namespace Hutopy.Web.Features.Contents.Handlers.Models;
using System.ComponentModel.DataAnnotations.Schema;
namespace Hutopy.Web.Features.Contents.Handlers.Models;
[PublicAPI]
public class ContentModel
@@ -15,4 +17,5 @@ public class ContentModel
public required string Title { get; init; }
public required string Description { get; init; }
public required string[]? Urls { get; init; }
public IList<ReactionModel>? Reactions { get; set; } = new List<ReactionModel>();
}