MCPcopy
hub / github.com/1Panel-dev/MaxKB / download

Function download

ui/src/request/index.ts:452–460  ·  view source on GitHub ↗
(
  url: string,
  method: string,
  data?: any,
  params?: any,
  loading?: NProgress | Ref<boolean>,
)

Source from the content-addressed store, hash-verified

450 params?: any,
451 loading?: NProgress | Ref<boolean>,
452) => Promise<any> = (
453 url: string,
454 method: string,
455 data?: any,
456 params?: any,
457 loading?: NProgress | Ref<boolean>,
458) => {
459 return promise(request({ url: url, method: method, data, params, responseType: 'blob' }), loading)
460}
461
462/**
463 * 与服务器建立ws链接

Callers 8

textToSpeechFunction · 0.90
downloadSkillFileFunction · 0.90
playDemoTextFunction · 0.90
postTextToSpeechFunction · 0.90
playDemoTextFunction · 0.90
postTextToSpeechFunction · 0.90
downloadSkillFileFunction · 0.90
downloadSkillFileFunction · 0.90

Calls 1

promiseFunction · 0.70

Tested by

no test coverage detected