1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 12:27:48 +00:00

feat: file details ai (#7251)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-12-25 13:53:26 +08:00
committed by GitHub
parent b139c235f7
commit 9b8b7c9324
17 changed files with 432 additions and 179 deletions

View File

@@ -1055,7 +1055,12 @@ export const Utils = {
},
isDescriptionSupportedFile: function (filePath) {
return Utils.isSdocFile(filePath) || Utils.isMarkdownFile(filePath) || Utils.pdfCheck(filePath) || Utils.isDocxFile(filePath) || Utils.isPptxFile(filePath);
return Utils.isSdocFile(filePath) ||
Utils.isMarkdownFile(filePath) ||
Utils.pdfCheck(filePath) ||
Utils.isDocxFile(filePath) ||
Utils.isPptxFile(filePath) ||
Utils.imageCheck(filePath);
},
isFileMetadata: function (type) {