merge source

This commit is contained in:
Roy
2024-10-20 09:31:20 +08:00
parent 57ae6d5b40
commit 1562e92e74
43 changed files with 1765 additions and 253 deletions

View File

@@ -52,7 +52,7 @@ export type Access = {
config:
| AliyunConfig
| TencentConfig
| HuaweicloudConfig
| HuaweiCloudConfig
| QiniuConfig
| AwsConfig
| CloudflareConfig
@@ -79,7 +79,7 @@ export type TencentConfig = {
secretKey: string;
};
export type HuaweicloudConfig = {
export type HuaweiCloudConfig = {
region: string;
accessKeyId: string;
secretAccessKey: string;

View File

@@ -71,6 +71,7 @@ export const targetTypeMap: Map<string, [string, string]> = new Map([
["aliyun-cdn", ["common.provider.aliyun.cdn", "/imgs/providers/aliyun.svg"]],
["aliyun-dcdn", ["common.provider.aliyun.dcdn", "/imgs/providers/aliyun.svg"]],
["tencent-cdn", ["common.provider.tencent.cdn", "/imgs/providers/tencent.svg"]],
["huaweicloud-cdn", ["common.provider.huaweicloud.cdn", "/imgs/providers/huaweicloud.svg"]],
["qiniu-cdn", ["common.provider.qiniu.cdn", "/imgs/providers/qiniu.svg"]],
["local", ["common.provider.local", "/imgs/providers/local.svg"]],
["ssh", ["common.provider.ssh", "/imgs/providers/ssh.svg"]],