(partial: Partial<Preferences>)
| 7 | } |
| 8 | |
| 9 | savePreferences(partial: Partial<Preferences>): Promise<{ success: boolean; error?: string }> { |
| 10 | return patch<{ success: boolean; error?: string }>('/preferences', partial) |
| 11 | } |
| 12 | |
| 13 | getUiConfig(): Promise<UiConfig> { |
| 14 | return get<UiConfig>('/preferences/ui-config') |