diff options
author | r <r@freesoftwareextremist.com> | 2019-12-26 09:11:24 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-26 09:44:05 +0000 |
commit | ac4ff88adb9a2526555757f8d4e65c69cafb3788 (patch) | |
tree | 9277e726f3c152aa72c01167744ba9465ded4cbd /renderer/model.go | |
parent | c34bde2d52bf71ff7de7d92f659e820fe4ea315b (diff) | |
download | bloat-ac4ff88adb9a2526555757f8d4e65c69cafb3788.tar.gz bloat-ac4ff88adb9a2526555757f8d4e65c69cafb3788.zip |
Add liked by and retweeted by page
Diffstat (limited to 'renderer/model.go')
-rw-r--r-- | renderer/model.go | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/renderer/model.go b/renderer/model.go index 4dfac84..20d11d8 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -21,6 +21,19 @@ type CommonData struct { NavbarData *NavbarData } +type ErrorData struct { + *CommonData + Error string +} + +type HomePageData struct { + *CommonData +} + +type SigninData struct { + *CommonData +} + type TimelineData struct { *CommonData Title string @@ -59,6 +72,20 @@ type AboutData struct { } type EmojiData struct { + *CommonData Emojis []*mastodon.Emoji - CommonData *CommonData +} + +type LikedByData struct { + *CommonData + Users []*mastodon.Account + HasNext bool + NextLink string +} + +type RetweetedByData struct { + *CommonData + Users []*mastodon.Account + HasNext bool + NextLink string } |