mirror of
https://github.com/usual2970/certimate.git
synced 2025-10-04 13:34:52 +00:00
feat: new deployment provider: baotawaf console
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Form, type FormInstance, Input, Select } from "antd";
|
||||
import { Form, type FormInstance, Input } from "antd";
|
||||
import { createSchemaFieldRule } from "antd-zod";
|
||||
import { z } from "zod";
|
||||
|
||||
|
@@ -373,6 +373,7 @@ export const DEPLOYMENT_PROVIDERS = Object.freeze({
|
||||
BAISHAN_CDN: `${ACCESS_PROVIDERS.BAISHAN}-cdn`,
|
||||
BAOTAPANEL_CONSOLE: `${ACCESS_PROVIDERS.BAOTAPANEL}-console`,
|
||||
BAOTAPANEL_SITE: `${ACCESS_PROVIDERS.BAOTAPANEL}-site`,
|
||||
BAOTAWAF_CONSOLE: `${ACCESS_PROVIDERS.BAOTAWAF}-console`,
|
||||
BAOTAWAF_SITE: `${ACCESS_PROVIDERS.BAOTAWAF}-site`,
|
||||
BUNNY_CDN: `${ACCESS_PROVIDERS.BUNNY}-cdn`,
|
||||
BYTEPLUS_CDN: `${ACCESS_PROVIDERS.BYTEPLUS}-cdn`,
|
||||
@@ -551,6 +552,7 @@ export const deploymentProvidersMap: Map<DeploymentProvider["type"] | string, De
|
||||
[DEPLOYMENT_PROVIDERS.RATPANEL_SITE, "provider.ratpanel.site", DEPLOYMENT_CATEGORIES.WEBSITE],
|
||||
[DEPLOYMENT_PROVIDERS.RATPANEL_CONSOLE, "provider.ratpanel.console", DEPLOYMENT_CATEGORIES.OTHER],
|
||||
[DEPLOYMENT_PROVIDERS.BAOTAWAF_SITE, "provider.baotawaf.site", DEPLOYMENT_CATEGORIES.FIREWALL],
|
||||
[DEPLOYMENT_PROVIDERS.BAOTAWAF_CONSOLE, "provider.baotawaf.console", DEPLOYMENT_CATEGORIES.OTHER],
|
||||
[DEPLOYMENT_PROVIDERS.SAFELINE, "provider.safeline", DEPLOYMENT_CATEGORIES.FIREWALL],
|
||||
[DEPLOYMENT_PROVIDERS.PROXMOXVE, "provider.proxmoxve", DEPLOYMENT_CATEGORIES.NAS],
|
||||
].map(([type, name, category, builtin]) => [
|
||||
|
@@ -43,6 +43,7 @@
|
||||
"provider.baotapanel.console": "aaPanel (aka BaoTaPanel) - Console",
|
||||
"provider.baotapanel.site": "aaPanel (aka BaoTaPanel) - Website",
|
||||
"provider.baotawaf": "aaWAF (aka BaotaWAF)",
|
||||
"provider.baotawaf.console": "aaWAF (aka BaotaWAF) - Console",
|
||||
"provider.baotawaf.site": "aaWAF (aka BaotaWAF) - Website",
|
||||
"provider.bunny": "Bunny",
|
||||
"provider.bunny.cdn": "Bunny - CDN (Content Delivery Network)",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"provider.1panel": "1Panel",
|
||||
"provider.1panel.console": "1Panel - 面板",
|
||||
"provider.1panel.console": "1Panel - 控制台",
|
||||
"provider.1panel.site": "1Panel - 网站",
|
||||
"provider.acmeca": "ACME 自定义 CA 端点",
|
||||
"provider.acmehttpreq": "ACME 自定义 HTTP 端点",
|
||||
@@ -40,9 +40,10 @@
|
||||
"provider.baishan": "白山云",
|
||||
"provider.baishan.cdn": "白山云 - 内容分发网络 CDN",
|
||||
"provider.baotapanel": "宝塔面板",
|
||||
"provider.baotapanel.console": "宝塔面板 - 面板",
|
||||
"provider.baotapanel.console": "宝塔面板 - 控制台",
|
||||
"provider.baotapanel.site": "宝塔面板 - 网站",
|
||||
"provider.baotawaf": "堡塔云 WAF",
|
||||
"provider.baotawaf.console": "堡塔云 WAF - 控制台",
|
||||
"provider.baotawaf.site": "堡塔云 WAF - 网站",
|
||||
"provider.bunny": "Bunny",
|
||||
"provider.bunny.cdn": "Bunny - 内容分发网络 CDN",
|
||||
@@ -110,7 +111,7 @@
|
||||
"provider.rainyun": "雨云",
|
||||
"provider.rainyun.rcdn": "雨云 - 雨盾 CDN",
|
||||
"provider.ratpanel": "耗子面板",
|
||||
"provider.ratpanel.console": "耗子面板 - 面板",
|
||||
"provider.ratpanel.console": "耗子面板 - 控制台",
|
||||
"provider.ratpanel.site": "耗子面板 - 网站",
|
||||
"provider.safeline": "雷池",
|
||||
"provider.ssh": "SSH 部署",
|
||||
|
Reference in New Issue
Block a user