summaryrefslogtreecommitdiffstats
path: root/model/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/post.go')
-rw-r--r--model/post.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/model/post.go b/model/post.go
index d903156eb..0df698279 100644
--- a/model/post.go
+++ b/model/post.go
@@ -110,6 +110,19 @@ func (o *PostPatch) WithRewrittenImageURLs(f func(string) string) *PostPatch {
return &copy
}
+type PostForExport struct {
+ Post
+ TeamName string
+ ChannelName string
+ Username string
+ ReplyCount int
+}
+
+type ReplyForExport struct {
+ Post
+ Username string
+}
+
type PostForIndexing struct {
Post
TeamId string `json:"team_id"`