MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / exportMulDocument

Function exportMulDocument

ui/src/api/knowledge/document.ts:191–199  ·  view source on GitHub ↗
(document_name, knowledge_id, document_ids, loading)

Source from the content-addressed store, hash-verified

189 document_ids: string[],
190 loading?: Ref<boolean>,
191) => Promise<any> = (document_name, knowledge_id, document_ids, loading) => {
192 return exportExcelPost(
193 document_name.trim() + '.xlsx',
194 `${prefix.value}/${knowledge_id}/document/batch_export`,
195 {},
196 document_ids,
197 loading,
198 )
199}
200/**
201 * 导出文档
202 * @param document_name 文档名称

Callers

nothing calls this directly

Calls 1

exportExcelPostFunction · 0.90

Tested by

no test coverage detected