diff options
Diffstat (limited to 'renderer/model.go')
-rw-r--r-- | renderer/model.go | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/renderer/model.go b/renderer/model.go index e7cfbfb..f3e7d5d 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -49,17 +49,18 @@ type SigninData struct { } type RootData struct { - Title string + *CommonData } type TimelineData struct { *CommonData - Title string - Type string - Instance string - Statuses []*mastodon.Status - NextLink string - PrevLink string + Title string + Type string + Q string + Statuses []*mastodon.Status + NextLink string + PrevLink string + RefreshLink string } type ListsData struct { @@ -99,12 +100,11 @@ type NotificationData struct { type UserData struct { *CommonData - User *mastodon.Account - IsCurrent bool - Type string - Users []*mastodon.Account - Statuses []*mastodon.Status - NextLink string + User *mastodon.Account + Type string + Users []*mastodon.Account + Statuses []*mastodon.Status + NextLink string } type UserSearchData struct { @@ -155,3 +155,13 @@ type FiltersData struct { *CommonData Filters []*mastodon.Filter } + +type ProfileData struct { + *CommonData + User *mastodon.Account +} + +type MuteData struct { + *CommonData + User *mastodon.Account +} |