Preferences: Support Create+Update+Delete over apiserver (#111715)

This commit is contained in:
Ryan McKinley
2025-10-02 21:58:08 +03:00
committed by GitHub
parent 5a5aac1d6b
commit 0af6efb096
20 changed files with 969 additions and 177 deletions
+6
View File
@@ -74,6 +74,12 @@ type SavePreferenceCommand struct {
Navbar *NavbarPreference `json:"navbar,omitempty"`
}
// One (and only one) of the values must be non-zero
type DeleteCommand struct {
OrgID int64
UserID int64
TeamID int64
}
type PatchPreferenceCommand struct {
UserID int64
OrgID int64