aboutsummaryrefslogtreecommitdiff
path: root/renderer/model.go
diff options
context:
space:
mode:
Diffstat (limited to 'renderer/model.go')
-rw-r--r--renderer/model.go29
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
}