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

Function exportDocumentZip

ui/src/api/system-resource-management/document.ts:205–212  ·  view source on GitHub ↗
(document_name, knowledge_id, document_id, loading)

Source from the content-addressed store, hash-verified

203 document_id: string,
204 loading?: Ref<boolean>,
205) => Promise<any> = (document_name, knowledge_id, document_id, loading) => {
206 return exportFile(
207 document_name.trim() + '.zip',
208 `${prefix}/${knowledge_id}/document/${document_id}/export_zip`,
209 {},
210 loading,
211 )
212}
213
214const exportMulDocumentZip: (
215 document_name: string,

Callers

nothing calls this directly

Calls 1

exportFileFunction · 0.90

Tested by

no test coverage detected