MCPcopy Index your code
hub / github.com/xerrors/Yuxi / createSkillFile

Function createSkillFile

web/src/apis/skill_api.js:63–65  ·  view source on GitHub ↗
(slug, payload)

Source from the content-addressed store, hash-verified

61}
62
63export const createSkillFile = async (slug, payload) => {
64 return apiPost(`${BASE_URL}/${encodeURIComponent(slug)}/file`, payload)
65}
66
67export const updateSkillFile = async (slug, payload) => {
68 return apiPut(`${BASE_URL}/${encodeURIComponent(slug)}/file`, payload)

Callers

nothing calls this directly

Calls 1

apiPostFunction · 0.90

Tested by

no test coverage detected