Navigation: Backend to save navigation customization into preferences (#89783)

This commit is contained in:
Joao Silva
2024-07-03 10:40:51 +01:00
committed by GitHub
parent 68e30e2b4b
commit 9004b58851
12 changed files with 106 additions and 3 deletions
+2
View File
@@ -18,6 +18,7 @@ type UpdatePrefsCmd struct {
QueryHistory *pref.QueryHistoryPreference `json:"queryHistory,omitempty"`
Language string `json:"language"`
Cookies []pref.CookieType `json:"cookies,omitempty"`
Navbar *pref.NavbarPreference `json:"navbar,omitempty"`
}
// swagger:model
@@ -34,4 +35,5 @@ type PatchPrefsCmd struct {
QueryHistory *pref.QueryHistoryPreference `json:"queryHistory,omitempty"`
HomeDashboardUID *string `json:"homeDashboardUID,omitempty"`
Cookies []pref.CookieType `json:"cookies,omitempty"`
Navbar *pref.NavbarPreference `json:"navbar,omitempty"`
}