mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Move files in file manager #1826 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -13,6 +13,7 @@ const {
|
||||
connectFileToKnowledge,
|
||||
get_document_file,
|
||||
getFile,
|
||||
moveFile,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -49,6 +50,10 @@ const methods = {
|
||||
method: 'get',
|
||||
responseType: 'blob',
|
||||
},
|
||||
moveFile: {
|
||||
url: moveFile,
|
||||
method: 'post',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const fileManagerService = registerServer<keyof typeof methods>(
|
||||
|
||||
Reference in New Issue
Block a user