MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / savePreferences

Method savePreferences

src/services/preferences/fetch.ts:9–11  ·  view source on GitHub ↗
(partial: Partial<Preferences>)

Source from the content-addressed store, hash-verified

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')

Callers

nothing calls this directly

Calls 1

patchFunction · 0.90

Tested by

no test coverage detected