Cookies: Provide a mechanism for per user control over cookies (#61566)
This commit is contained in:
@@ -17,6 +17,7 @@ type UpdatePrefsCmd struct {
|
||||
WeekStart string `json:"weekStart"`
|
||||
QueryHistory *pref.QueryHistoryPreference `json:"queryHistory,omitempty"`
|
||||
Language string `json:"language"`
|
||||
Cookies []pref.CookieType `json:"cookies,omitempty"`
|
||||
}
|
||||
|
||||
// swagger:model
|
||||
@@ -32,4 +33,5 @@ type PatchPrefsCmd struct {
|
||||
Language *string `json:"language,omitempty"`
|
||||
QueryHistory *pref.QueryHistoryPreference `json:"queryHistory,omitempty"`
|
||||
HomeDashboardUID *string `json:"homeDashboardUID,omitempty"`
|
||||
Cookies []pref.CookieType `json:"cookies,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user