feat: Optimizing Provider Support

This commit is contained in:
MystiPanda
2024-01-18 01:01:47 +08:00
parent b6481cfcda
commit cd92b34ef1
9 changed files with 285 additions and 36 deletions

View File

@@ -61,7 +61,7 @@ type IProxyGroupItem = Omit<IProxyItem, "all"> & {
all: IProxyItem[];
};
interface IProviderItem {
interface IProxyProviderItem {
name: string;
type: string;
proxies: IProxyItem[];
@@ -69,6 +69,16 @@ interface IProviderItem {
vehicleType: string;
}
interface IRuleProviderItem {
name: string;
behavior: string;
format: string;
ruleCount: number;
type: string;
updatedAt: string;
vehicleType: string;
}
interface ITrafficItem {
up: number;
down: number;