mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Delete the files uploaded in the external dialog box #1880 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -12,6 +12,7 @@ const {
|
||||
get_document_list,
|
||||
document_change_status,
|
||||
document_rm,
|
||||
document_delete,
|
||||
document_create,
|
||||
document_change_parser,
|
||||
document_thumbnails,
|
||||
@ -131,6 +132,10 @@ const methods = {
|
||||
url: knowledge_graph,
|
||||
method: 'get',
|
||||
},
|
||||
document_delete: {
|
||||
url: document_delete,
|
||||
method: 'delete',
|
||||
},
|
||||
};
|
||||
|
||||
const kbService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
Reference in New Issue
Block a user