MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / updateSettings

Function updateSettings

webapp/_webapp/src/query/api.ts:101–104  ·  view source on GitHub ↗
(data: PlainMessage<UpdateSettingsRequest>)

Source from the content-addressed store, hash-verified

99};
100
101export const updateSettings = async (data: PlainMessage<UpdateSettingsRequest>) => {
102 const response = await apiclient.put("/users/@self/settings", data);
103 return fromJson(UpdateSettingsResponseSchema, response);
104};
105
106export const resetSettings = async () => {
107 const response = await apiclient.post("/users/@self/settings/reset");

Callers 7

setting-store.tsFile · 0.90
OnboardingGuideFunction · 0.85
createSettingsTextInputFunction · 0.85
handleCustomModelChangeFunction · 0.85
AccountSettingsFunction · 0.85
UISettingsFunction · 0.85
BetaFeatureSettingsFunction · 0.85

Calls 2

fromJsonFunction · 0.90
putMethod · 0.80

Tested by

no test coverage detected