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

Function exportDocument

ui/src/api/knowledge/document.ts:177–184  ·  view source on GitHub ↗
(document_name, knowledge_id, document_id, loading)

Source from the content-addressed store, hash-verified

175 document_id: string,
176 loading?: Ref<boolean>,
177) => Promise<any> = (document_name, knowledge_id, document_id, loading) => {
178 return exportExcel(
179 document_name.trim() + '.xlsx',
180 `${prefix.value}/${knowledge_id}/document/${document_id}/export`,
181 {},
182 loading,
183 )
184}
185
186const exportMulDocument: (
187 document_name: string,

Callers

nothing calls this directly

Calls 1

exportExcelFunction · 0.90

Tested by

no test coverage detected