-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Associate files originally in s3 (#59)
```release-note 关联从其他渠道上传至 s3 的文件 ``` 【插件】->【对象存储(Amazon S3 协议)】->【关联s3文件】 ![image](https://github.com/halo-sigs/plugin-s3/assets/28662535/83096e23-d362-4924-b2f0-6984683d87cf) ![image](https://github.com/halo-sigs/plugin-s3/assets/28662535/6dd74842-f9a5-4e3c-9a93-36b4b188ecf6) 目前待优化的功能: - [ ] 列出未关联的文件时会查询多次数据库,期望优化成只查询一次,但是代码改动较大。
- Loading branch information
Showing
43 changed files
with
4,872 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* eslint-env node */ | ||
require("@rushstack/eslint-patch/modern-module-resolution"); | ||
|
||
module.exports = { | ||
root: true, | ||
extends: [ | ||
"plugin:vue/vue3-essential", | ||
"eslint:recommended", | ||
"@vue/eslint-config-typescript/recommended", | ||
"@vue/eslint-config-prettier", | ||
], | ||
env: { | ||
"vue/setup-compiler-macros": true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/// <reference types="vite/client" /> | ||
|
||
declare module "*.vue" { | ||
import Vue from "vue"; | ||
export default Vue; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "@halo-dev/plugin-starter", | ||
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite build --watch", | ||
"build": "vite build", | ||
"preview": "vite preview --port 4173", | ||
"test:unit": "vitest --environment jsdom", | ||
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", | ||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" | ||
}, | ||
"dependencies": { | ||
"@halo-dev/components": "^1.5.0", | ||
"@halo-dev/console-shared": "^2.8.0", | ||
"axios": "^1.4.0", | ||
"canvas-confetti": "^1.6.0", | ||
"path-browserify": "^1.0.1", | ||
"vue": "^3.2.41" | ||
}, | ||
"devDependencies": { | ||
"@iconify/json": "^2.2.18", | ||
"@rushstack/eslint-patch": "^1.2.0", | ||
"@types/canvas-confetti": "^1.6.0", | ||
"@types/jsdom": "^20.0.0", | ||
"@types/node": "^16.18.0", | ||
"@vitejs/plugin-vue": "^3.1.2", | ||
"@vitejs/plugin-vue-jsx": "^2.0.1", | ||
"@vue/eslint-config-prettier": "^7.0.0", | ||
"@vue/eslint-config-typescript": "^11.0.2", | ||
"@vue/test-utils": "^2.2.0", | ||
"@vue/tsconfig": "^0.1.3", | ||
"eslint": "^8.26.0", | ||
"eslint-plugin-vue": "^9.6.0", | ||
"jsdom": "^19.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.7.1", | ||
"sass": "^1.58.0", | ||
"typescript": "~4.7.4", | ||
"unplugin-icons": "^0.15.2", | ||
"vite": "^3.1.8", | ||
"vitest": "^0.24.3", | ||
"vue-tsc": "^1.0.9" | ||
} | ||
} |
Oops, something went wrong.