Junyi 5144d47eb9
refactor(plugin-file-manager): refactor file url generating (#6472)
* refactor(plugin-file-manager): change file url generation to a better way

* fix(plugin-file-manager): use url field first

* fix(client): remove unused function call

* fix(plugin-file-manager): fix test cases

* fix: local getURL

* fix: md5

* fix: getFileURL

* fix(plugin-file-manager): fix FileModel class

* fix: use DeleteObjectCommand

* fix(plugin-file-manager): fix package version and require

* test(plugin-file-manager): fix test cases

* fix: storageInstance

* fix: test case error

* fix: url-join

* fix: autoGenId false

* fix: url

* fix: file.url

* fix: file preview

* fix: test error

* fix: isURL

* fix: only

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-03-17 08:54:26 +08:00

49 lines
1.5 KiB
JSON

{
"name": "@nocobase/plugin-file-manager",
"version": "1.6.4",
"displayName": "File manager",
"displayName.zh-CN": "文件管理器",
"description": "Provides files storage services with files collection template and attachment field.",
"description.zh-CN": "提供文件存储服务,并提供了文件表模板和附件字段。",
"license": "AGPL-3.0",
"main": "./dist/server/index.js",
"homepage": "https://docs.nocobase.com/handbook/file-manager",
"homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/file-manager",
"devDependencies": {
"@aws-sdk/client-s3": "3.750.0",
"@formily/antd-v5": "1.x",
"@formily/core": "2.x",
"@formily/react": "2.x",
"@formily/shared": "2.x",
"@koa/multer": "^3.0.0",
"@types/koa-multer": "^1.0.1",
"@types/multer": "^1.4.5",
"antd": "5.x",
"cos-nodejs-sdk-v5": "^2.11.14",
"koa-static": "^5.0.0",
"mime-match": "^1.0.2",
"mkdirp": "~0.5.4",
"multer": "^1.4.2",
"multer-aliyun-oss": "2.1.3",
"multer-cos": "^1.0.3",
"multer-s3": "^3.0.1",
"react": "^18.2.0",
"react-i18next": "^11.15.1",
"supertest": "^6.1.6",
"url-join": "4.0.1"
},
"peerDependencies": {
"@nocobase/actions": "1.x",
"@nocobase/client": "1.x",
"@nocobase/database": "1.x",
"@nocobase/server": "1.x",
"@nocobase/test": "1.x",
"@nocobase/utils": "1.x"
},
"keywords": [
"Collections",
"Collection fields"
],
"gitHead": "d0b4efe4be55f8c79a98a331d99d9f8cf99021a1"
}