1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

image tags (#7124)

* image tags

* update

* update

---------

Co-authored-by: zheng.shen <zheng.shen@seafile.com>
This commit is contained in:
shenzheng-1
2024-12-02 16:42:22 +08:00
committed by GitHub
parent 49cd661163
commit fd5d998044
13 changed files with 332 additions and 22 deletions

View File

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