feat(package): gitea: add private heatmap opt-in
This commit is contained in:
@@ -80,8 +80,9 @@ type UserSettings struct {
|
||||
Theme string `json:"theme"`
|
||||
DiffViewStyle string `json:"diff_view_style"`
|
||||
// Privacy
|
||||
HideEmail bool `json:"hide_email"`
|
||||
HideActivity bool `json:"hide_activity"`
|
||||
HideEmail bool `json:"hide_email"`
|
||||
HideActivity bool `json:"hide_activity"`
|
||||
IncludePrivateContributions bool `json:"include_private_contributions"`
|
||||
}
|
||||
|
||||
// UserSettingsOptions represents options to change user settings
|
||||
@@ -95,8 +96,9 @@ type UserSettingsOptions struct {
|
||||
Theme *string `json:"theme"`
|
||||
DiffViewStyle *string `json:"diff_view_style"`
|
||||
// Privacy
|
||||
HideEmail *bool `json:"hide_email"`
|
||||
HideActivity *bool `json:"hide_activity"`
|
||||
HideEmail *bool `json:"hide_email"`
|
||||
HideActivity *bool `json:"hide_activity"`
|
||||
IncludePrivateContributions *bool `json:"include_private_contributions"`
|
||||
}
|
||||
|
||||
// RenameUserOption options when renaming a user
|
||||
|
||||
Reference in New Issue
Block a user