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

Function getKnowledgeDetail

ui/src/api/shared-workspace.ts:39–44  ·  view source on GitHub ↗
(
  knowledge_id,
  loading,
)

Source from the content-addressed store, hash-verified

37 * @param 参数 knowledge_id
38 */
39const getKnowledgeDetail: (knowledge_id: string, loading?: Ref<boolean>) => Promise<Result<any>> = (
40 knowledge_id,
41 loading,
42) => {
43 return get(`${prefix}/${prefix_workspace.value}/knowledge/${knowledge_id}`, undefined, loading)
44}
45
46/**
47 * 文档分页列表

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected