mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-31 15:45:08 +08:00
### What problem does this PR solve? feat: upload file in FileManager #345 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -9,6 +9,7 @@ const {
|
||||
renameFile,
|
||||
getAllParentFolder,
|
||||
createFolder,
|
||||
connectFileToKnowledge,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -36,6 +37,10 @@ const methods = {
|
||||
url: createFolder,
|
||||
method: 'post',
|
||||
},
|
||||
connectFileToKnowledge: {
|
||||
url: connectFileToKnowledge,
|
||||
method: 'post',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const fileManagerService = registerServer<keyof typeof methods>(
|
||||
|
||||
Reference in New Issue
Block a user