mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-14 02:27:30 -06:00
[feature/frontend] Add options to include Unlisted posts or hide all posts (#3272)
* [feature/frontend] Add options to include Unlisted posts or hide all posts * finish up * swagger * move invalidate call into bundb package, avoid invalidating if not necessary * rename show_web_statuses => web_visibility * don't use ptr for webvisibility * last bits
This commit is contained in:
parent
7785fa54da
commit
5543fd5340
24 changed files with 523 additions and 161 deletions
|
|
@ -227,6 +227,9 @@ type UpdateCredentialsRequest struct {
|
|||
EnableRSS *bool `form:"enable_rss" json:"enable_rss"`
|
||||
// Hide this account's following/followers collections.
|
||||
HideCollections *bool `form:"hide_collections" json:"hide_collections"`
|
||||
// Visibility of statuses to show via the web view.
|
||||
// "none", "public" (default), or "unlisted" (which includes public as well).
|
||||
WebVisibility *string `form:"web_visibility" json:"web_visibility"`
|
||||
}
|
||||
|
||||
// UpdateSource is to be used specifically in an UpdateCredentialsRequest.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue