🐛 fix: Update protocol fields to use 'obfs' instead of 'security' and adjust related configurations
This commit is contained in:
+28
@@ -1350,6 +1350,26 @@ declare namespace API {
|
||||
node_secret: string;
|
||||
node_pull_interval: number;
|
||||
node_push_interval: number;
|
||||
traffic_report_threshold: number;
|
||||
ip_strategy: string;
|
||||
dns: NodeDNS[];
|
||||
block: string[];
|
||||
outbound: NodeOutbound[];
|
||||
};
|
||||
|
||||
type NodeDNS = {
|
||||
proto: string;
|
||||
address: string;
|
||||
domains: string[];
|
||||
};
|
||||
|
||||
type NodeOutbound = {
|
||||
name: string;
|
||||
protocol: string;
|
||||
address: string;
|
||||
port: number;
|
||||
password: string;
|
||||
rules: string[];
|
||||
};
|
||||
|
||||
type NodeRelay = {
|
||||
@@ -1554,6 +1574,14 @@ declare namespace API {
|
||||
encryption_client_padding?: string;
|
||||
/** encryption password */
|
||||
encryption_password?: string;
|
||||
/** Traffic ratio, default is 1 */
|
||||
ratio?: number;
|
||||
/** Certificate mode, `none`|`http`|`dns`|`self` */
|
||||
cert_mode?: string;
|
||||
/** DNS provider for certificate */
|
||||
cert_dns_provider?: string;
|
||||
/** Environment for DNS provider */
|
||||
cert_dns_env?: string;
|
||||
};
|
||||
|
||||
type PubilcRegisterConfig = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// @ts-ignore
|
||||
|
||||
/* eslint-disable */
|
||||
import request from '@/utils/request';
|
||||
|
||||
/** Apple Login Callback POST /v1/auth/oauth/callback/apple */
|
||||
|
||||
+28
@@ -363,6 +363,26 @@ declare namespace API {
|
||||
node_secret: string;
|
||||
node_pull_interval: number;
|
||||
node_push_interval: number;
|
||||
traffic_report_threshold: number;
|
||||
ip_strategy: string;
|
||||
dns: NodeDNS[];
|
||||
block: string[];
|
||||
outbound: NodeOutbound[];
|
||||
};
|
||||
|
||||
type NodeDNS = {
|
||||
proto: string;
|
||||
address: string;
|
||||
domains: string[];
|
||||
};
|
||||
|
||||
type NodeOutbound = {
|
||||
name: string;
|
||||
protocol: string;
|
||||
address: string;
|
||||
port: number;
|
||||
password: string;
|
||||
rules: string[];
|
||||
};
|
||||
|
||||
type NodeRelay = {
|
||||
@@ -562,6 +582,14 @@ declare namespace API {
|
||||
encryption_client_padding?: string;
|
||||
/** encryption password */
|
||||
encryption_password?: string;
|
||||
/** Traffic ratio, default is 1 */
|
||||
ratio?: number;
|
||||
/** Certificate mode, `none`|`http`|`dns`|`self` */
|
||||
cert_mode?: string;
|
||||
/** DNS provider for certificate */
|
||||
cert_dns_provider?: string;
|
||||
/** Environment for DNS provider */
|
||||
cert_dns_env?: string;
|
||||
};
|
||||
|
||||
type PubilcRegisterConfig = {
|
||||
|
||||
Reference in New Issue
Block a user