1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00
* doc ocr

* update

* update

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Co-authored-by: zheng.shen <zheng.shen@seafile.com>
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
shenzheng-1
2024-12-13 16:41:42 +08:00
committed by GitHub
parent 36e8f641c2
commit 2470f6e5a0
25 changed files with 425 additions and 80 deletions

View File

@@ -235,6 +235,11 @@ class Context {
return this.metadataAPI.generateFileTags(repoID, filePath);
};
ocr = (filePath) => {
const repoID = this.settings['repoID'];
return this.metadataAPI.ocr(repoID, filePath);
};
extractFileDetails = (objIds) => {
const repoID = this.settings['repoID'];
return this.metadataAPI.extractFileDetails(repoID, objIds);