(knowledge_name, knowledge_id, with_source_file, loading)
| 507 | with_source_file: boolean, |
| 508 | loading?: Ref<boolean> |
| 509 | ) => Promise<any> = (knowledge_name, knowledge_id, with_source_file, loading) => { |
| 510 | return exportFile( |
| 511 | knowledge_name + '.zip', |
| 512 | `${prefix.value}/${knowledge_id}/export_knowledge`, {with_source_file: with_source_file}, loading |
| 513 | ) |
| 514 | } |
| 515 | |
| 516 | /** |
| 517 | * 导入知识库 |
nothing calls this directly
no test coverage detected