Add and remove reaction from a content
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user