wip
This commit is contained in:
parent
def7767b94
commit
8ad4302ec8
13 changed files with 3902 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
namespace Femto.Modules.Blog.Application.Queries.GetPosts.Dto;
|
||||
|
||||
public record PostDto(Guid PostId, string Text, IList<PostMediaDto> Media, DateTimeOffset CreatedAt, PostAuthorDto Author);
|
||||
public record PostDto(
|
||||
Guid PostId,
|
||||
string Text,
|
||||
IList<PostMediaDto> Media,
|
||||
DateTimeOffset CreatedAt,
|
||||
PostAuthorDto Author,
|
||||
IList<PostReactionDto> Reactions);
|
|
@ -0,0 +1,3 @@
|
|||
namespace Femto.Modules.Blog.Application.Queries.GetPosts.Dto;
|
||||
|
||||
public record PostReactionDto(string Emoji, int Count, bool DidReact);
|
Loading…
Add table
Add a link
Reference in a new issue