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

Method getPreferences

src/services/preferences/fetch.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4export class FetchPreferencesAdapter implements PreferencesAdapter {
5 getPreferences(): Promise<Preferences> {
6 return get<Preferences>('/preferences')
7 }
8
9 savePreferences(partial: Partial<Preferences>): Promise<{ success: boolean; error?: string }> {
10 return patch<{ success: boolean; error?: string }>('/preferences', partial)

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected