aboutsummaryrefslogtreecommitdiff
path: root/renderer/model.go
diff options
context:
space:
mode:
Diffstat (limited to 'renderer/model.go')
-rw-r--r--renderer/model.go32
1 files changed, 21 insertions, 11 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 20d11d8..ffeb2d1 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -61,10 +61,10 @@ type NotificationData struct {
type UserData struct {
*CommonData
- User *mastodon.Account
- Statuses []*mastodon.Status
- HasNext bool
- NextLink string
+ User *mastodon.Account
+ Statuses []*mastodon.Status
+ HasNext bool
+ NextLink string
}
type AboutData struct {
@@ -73,19 +73,29 @@ type AboutData struct {
type EmojiData struct {
*CommonData
- Emojis []*mastodon.Emoji
+ Emojis []*mastodon.Emoji
}
type LikedByData struct {
*CommonData
- Users []*mastodon.Account
- HasNext bool
- NextLink string
+ Users []*mastodon.Account
+ HasNext bool
+ NextLink string
}
type RetweetedByData struct {
*CommonData
- Users []*mastodon.Account
- HasNext bool
- NextLink string
+ Users []*mastodon.Account
+ HasNext bool
+ NextLink string
+}
+
+type SearchData struct {
+ *CommonData
+ Q string
+ Type string
+ Users []*mastodon.Account
+ Statuses []*mastodon.Status
+ HasNext bool
+ NextLink string
}