blob: fbfb327d2eb2fee8649aa3f37eca7be86e641b57 (
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
56
|
package route
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 map[string]db.Reports
Domain string
IsLocal bool
PostBlacklist []util.PostBlacklist
AutoSubscribe bool
RecentPosts []activitypub.ObjectBase
Themes *[]string
ThemeCookie string
}
type Meta struct {
Title string
Description string
Url string
Preview string
}
|