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

Function getDocumentPage

ui/src/api/shared-workspace.ts:60–66  ·  view source on GitHub ↗
(knowledge_id, page, param, loading)

Source from the content-addressed store, hash-verified

58 param: any,
59 loading?: Ref<boolean>,
60) => Promise<Result<any>> = (knowledge_id, page, param, loading) => {
61 return get(
62 `${prefix}/${prefix_workspace.value}/knowledge/${knowledge_id}/document/${page.current_page}/${page.page_size}`,
63 param,
64 loading,
65 )
66}
67
68/**
69 * 文档详情

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected