feat: add update interval

This commit is contained in:
GyDi
2022-04-21 14:26:41 +08:00
committed by GitHub
parent 573571978c
commit cb661aaebd
4 changed files with 39 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
/**
* Some interface for clash api
*/
export namespace ApiType {
export namespace ApiType {
export interface ConfigData {
port: number;
mode: string;
@@ -113,6 +113,7 @@ export namespace CmdType {
export interface ProfileOption {
user_agent?: string;
with_proxy?: boolean;
update_interval?: number;
}
export interface ProfilesConfig {