(document_name, knowledge_id, document_id, loading)
| 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 | |
| 214 | const exportMulDocumentZip: ( |
| 215 | document_name: string, |
nothing calls this directly
no test coverage detected