Skip to content

Commit

Permalink
Update interfaces.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vfarid committed Jun 3, 2024
1 parent c27fc52 commit 8f03a5e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,43 @@ export interface Config {
merged?: boolean,
}

export interface ClashConfig {
name: string,
type: string,
server: string,
port: number,
uuid?: string,
password?: string,
alterId?: number,
cipher?: string,
security?: string,
encryption?: string,
tls?: boolean,
sni?: string,
network: string,
path: string,
host?: string,
alpn?: string,
fp?: string,
obfs?: string,
protocol?: string,
fragment?: string,
tfo?: string,
pbk?: string,
spx?: string,
sid?: string,
headerType?: string,
flow?: string,
serviceName?: string,
seed?: string,
quicSecurity?: string,
key?: string,
mode?: string,
authority?: string,
merged?: boolean,
"skip-cert-verify"?: boolean,
}

export interface WSOpts {
path: string,
headers: WSHeaders,
Expand Down

0 comments on commit 8f03a5e

Please sign in to comment.