From ac4ff88adb9a2526555757f8d4e65c69cafb3788 Mon Sep 17 00:00:00 2001 From: r Date: Thu, 26 Dec 2019 09:11:24 +0000 Subject: Add liked by and retweeted by page --- renderer/model.go | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'renderer/model.go') 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 } -- cgit v1.2.3