blob: 7c6e9802e3eb7ef3e32dde6133b12016f8a66d7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
package routes
import (
"github.com/FChannel0/FChannel-Server/activitypub"
"github.com/FChannel0/FChannel-Server/db"
"github.com/FChannel0/FChannel-Server/util"
"github.com/FChannel0/FChannel-Server/webfinger"
)
type PageData struct {
Title string
PreferredUsername string
Board webfinger.Board
Pages []int
CurrentPage int
TotalPage int
Boards []webfinger.Board
Posts []activitypub.ObjectBase
Key string
PostId string
Instance activitypub.Actor
InstanceIndex []activitypub.ObjectBase
ReturnTo string
NewsItems []db.NewsItem
BoardRemainer []int
Meta Meta
Themes *[]string
ThemeCookie string
}
type AdminPage struct {
Title string
Board webfinger.Board
Key string
Actor string
Boards []webfinger.Board
Following []string
Followers []string
Reported []db.Report
Domain string
IsLocal bool
PostBlacklist []util.PostBlacklist
AutoSubscribe bool
Themes *[]string
ThemeCookie string
}
type Meta struct {
Title string
Description string
Url string
Preview string
}
|