diff options
Diffstat (limited to 'model/post.go')
-rw-r--r-- | model/post.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/model/post.go b/model/post.go new file mode 100644 index 0000000..58997f7 --- /dev/null +++ b/model/post.go @@ -0,0 +1,19 @@ +package model + +type PostFormat struct { + Name string + Type string +} + +type PostContext struct { + DefaultVisibility string + ReplyContext *ReplyContext + Formats []PostFormat + DarkMode bool +} + +type ReplyContext struct { + InReplyToID string + InReplyToName string + ReplyContent string +} |