fix up stats, allow more instance settings

This commit is contained in:
tsmethurst
2021-06-22 13:06:44 +02:00
parent fd57cca437
commit c08dc0937b
6 changed files with 108 additions and 7 deletions

View File

@ -45,7 +45,7 @@ type Instance struct {
// URLs of interest for clients apps.
URLS *InstanceURLs `json:"urls,omitempty"`
// Statistics about how much information the instance contains.
Stats *InstanceStats `json:"stats,omitempty"`
Stats map[string]int `json:"stats,omitempty"`
// Banner image for the website.
Thumbnail string `json:"thumbnail"`
// A user that can be contacted, as an alternative to email.