Compare commits

..

2 Commits

2 changed files with 10 additions and 0 deletions
+4
View File
@@ -96,3 +96,7 @@ func ToSearchPostListDTO(posts []database.Post, query string, limit, offset int)
Offset: offset, Offset: offset,
} }
} }
type TitleResponseDTO struct {
Title string `json:"title"`
}
+6
View File
@@ -117,3 +117,9 @@ func ToRegistrationResponseDTO(user *database.User, verificationSent bool) Regis
type AccountDeletionResponseDTO struct { type AccountDeletionResponseDTO struct {
PostsDeleted bool `json:"posts_deleted"` PostsDeleted bool `json:"posts_deleted"`
} }
type MessageResponseDTO struct {
Message string `json:"message"`
}
type EmptyResponseDTO struct{}