diff options
Diffstat (limited to 'renderer/model.go')
-rw-r--r-- | renderer/model.go | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/renderer/model.go b/renderer/model.go index e7cfbfb..3862976 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -49,7 +49,7 @@ type SigninData struct { } type RootData struct { - Title string + *CommonData } type TimelineData struct { @@ -99,12 +99,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 +154,13 @@ type FiltersData struct { *CommonData Filters []*mastodon.Filter } + +type ProfileData struct { + *CommonData + User *mastodon.Account +} + +type MuteData struct { + *CommonData + User *mastodon.Account +} |