refactor: profile config

This commit is contained in:
GyDi
2022-03-01 08:58:47 +08:00
parent 444f2172fa
commit 749df89229
15 changed files with 567 additions and 759 deletions
+4 -1
View File
@@ -86,6 +86,8 @@ export namespace CmdType {
}
export interface ProfileItem {
uid: string;
type?: string;
name?: string;
desc?: string;
file?: string;
@@ -105,7 +107,8 @@ export namespace CmdType {
}
export interface ProfilesConfig {
current?: number;
current?: string;
chain?: string[];
items?: ProfileItem[];
}