MCPcopy Create free account
hub / github.com/FeatureProbe/FeatureProbe / saveDictionary

Function saveDictionary

ui/src/services/dictionary.ts:20–33  ·  view source on GitHub ↗
(key: string, data: any)

Source from the content-addressed store, hash-verified

18
19// eslint-disable-next-line @typescript-eslint/no-explicit-any
20export const saveDictionary = async (key: string, data: any) => {
21 const url = `${
22 API.dictionaryURI
23 .replace(':key', key)
24 }`;
25
26 return request(url, {
27 method: 'POST',
28 headers: {
29 ...ApplicationJson()
30 },
31 body: JSON.stringify(data),
32 });
33};

Callers 11

ProjectLayoutFunction · 0.90
UserGuideFunction · 0.90
ToggleDetailFunction · 0.90
FlowExplainFunction · 0.90
SegmentFunction · 0.90
ProjectFunction · 0.90
AccessToggleFunction · 0.90
AccessEventFunction · 0.90
MetricsFunction · 0.90
ToggleFunction · 0.90
handleJoyrideCallbackFunction · 0.90

Calls 2

ApplicationJsonFunction · 0.90
requestFunction · 0.85

Tested by

no test coverage detected