load with public flag
This commit is contained in:
parent
e3c95eb109
commit
322dd01ee0
14 changed files with 73 additions and 38 deletions
12
Femto.Api/Controllers/Posts/Dto/PostDto.cs
Normal file
12
Femto.Api/Controllers/Posts/Dto/PostDto.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using JetBrains.Annotations;
|
||||
|
||||
namespace Femto.Api.Controllers.Posts.Dto;
|
||||
|
||||
[PublicAPI]
|
||||
public record PostDto(
|
||||
PostAuthorDto Author,
|
||||
Guid PostId,
|
||||
string Content,
|
||||
IEnumerable<PostMediaDto> Media,
|
||||
DateTimeOffset CreatedAt
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue