aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-01-30 04:13:22 +0000
committerr <r@freesoftwareextremist.com>2021-01-30 04:13:22 +0000
commit9f34b607498c09b4a21bdcc82b3295f6c94bd058 (patch)
treec5a528cad05227f15f30b07f6d0056045176166b /renderer
parentc3f39210d8451d65f3ecaa88046380f42dc536a1 (diff)
parent3ac95ab3b117ee8867a30c8e4b30ab37411e5ccf (diff)
downloadbloat-9f34b607498c09b4a21bdcc82b3295f6c94bd058.tar.gz
bloat-9f34b607498c09b4a21bdcc82b3295f6c94bd058.zip
Merge branch 'master' into absolute_fluoride
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go15
1 files changed, 9 insertions, 6 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 0505c0b..93cbbc6 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -14,6 +14,7 @@ type Context struct {
CSRFToken string
UserID string
AntiDopamineMode bool
+ Referrer string
}
type NavData struct {
@@ -23,12 +24,12 @@ type NavData struct {
}
type CommonData struct {
- Title string
- CustomCSS string
- CSRFToken string
- Count int
- AutoRefresh bool
- Target string
+ Title string
+ CustomCSS string
+ CSRFToken string
+ Count int
+ RefreshInterval int
+ Target string
}
type ErrorData struct {
@@ -51,6 +52,8 @@ type RootData struct {
type TimelineData struct {
*CommonData
Title string
+ Type string
+ Instance string
Statuses []*mastodon.Status
NextLink string
PrevLink string