chore: prettify frontend code

This commit is contained in:
Semesse
2024-01-22 00:44:18 +08:00
parent 0e03c931ea
commit 90414a69b6
82 changed files with 5224 additions and 5586 deletions

View File

@@ -1,58 +1,58 @@
import { HeaderOperations } from "./common";
import { HeaderOperations } from './common'
export interface ClientPluginOptions { }
export interface ClientPluginOptions {}
export interface TypedClientPluginOptions {
type: string;
clientPluginOptions?: ClientPluginOptions;
type: string
clientPluginOptions?: ClientPluginOptions
}
export interface HTTP2HTTPSPluginOptions {
type?: string;
localAddr?: string;
hostHeaderRewrite?: string;
requestHeaders?: HeaderOperations;
type?: string
localAddr?: string
hostHeaderRewrite?: string
requestHeaders?: HeaderOperations
}
export interface HTTPProxyPluginOptions {
type?: string;
httpUser?: string;
httpPassword?: string;
type?: string
httpUser?: string
httpPassword?: string
}
export interface HTTPS2HTTPPluginOptions {
type?: string;
localAddr?: string;
hostHeaderRewrite?: string;
requestHeaders?: HeaderOperations;
crtPath?: string;
keyPath?: string;
type?: string
localAddr?: string
hostHeaderRewrite?: string
requestHeaders?: HeaderOperations
crtPath?: string
keyPath?: string
}
export interface HTTPS2HTTPSPluginOptions {
type?: string;
localAddr?: string;
hostHeaderRewrite?: string;
requestHeaders?: HeaderOperations;
crtPath?: string;
keyPath?: string;
type?: string
localAddr?: string
hostHeaderRewrite?: string
requestHeaders?: HeaderOperations
crtPath?: string
keyPath?: string
}
export interface Socks5PluginOptions {
type?: string;
username?: string;
password?: string;
type?: string
username?: string
password?: string
}
export interface StaticFilePluginOptions {
type?: string;
localPath?: string;
stripPrefix?: string;
httpUser?: string;
httpPassword?: string;
type?: string
localPath?: string
stripPrefix?: string
httpUser?: string
httpPassword?: string
}
export interface UnixDomainSocketPluginOptions {
type?: string;
unixPath?: string;
type?: string
unixPath?: string
}