aboutsummaryrefslogtreecommitdiff
path: root/renderer/model.go
diff options
context:
space:
mode:
Diffstat (limited to 'renderer/model.go')
-rw-r--r--renderer/model.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 4d09338..726cee9 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -62,6 +62,19 @@ type TimelineData struct {
PrevLink string
}
+type ListsData struct {
+ *CommonData
+ Lists []*mastodon.List
+}
+
+type ListData struct {
+ *CommonData
+ List *mastodon.List
+ Accounts []*mastodon.Account
+ Q string
+ SearchAccounts []*mastodon.Account
+}
+
type ThreadData struct {
*CommonData
Statuses []*mastodon.Status
@@ -76,6 +89,11 @@ type QuickReplyData struct {
PostContext model.PostContext
}
+type StatusData struct {
+ *CommonData
+ Status *mastodon.Status
+}
+
type NotificationData struct {
*CommonData
Notifications []*mastodon.Notification