[feature] Add instance-stats-randomize config option

This commit is contained in:
tobi 2025-01-31 18:16:06 +01:00
commit 3991f60e83
13 changed files with 179 additions and 9 deletions

View file

@ -110,6 +110,13 @@ type InstanceV1 struct {
Terms string `json:"terms,omitempty"`
// Raw (unparsed) version of terms.
TermsRaw string `json:"terms_text,omitempty"`
// Random stats generated for the instance.
// Only used if `instance-stats-randomize` is true.
// Not serialized to the frontend.
//
// swagger:ignore
RandomStats `json:"-"`
}
// InstanceV1URLs models instance-relevant URLs for client application consumption.