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 PostType string 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 Instance activitypub.Actor Meta Meta Themes *[]string ThemeCookie string } type Meta struct { Title string Description string Url string Preview string }