feat: add proxy management

This commit is contained in:
zhom
2025-07-04 01:56:41 +04:00
parent d8f07ddb11
commit 7b6ea00838
14 changed files with 1689 additions and 748 deletions
+8 -3
View File
@@ -1,5 +1,4 @@
export interface ProxySettings {
enabled: boolean;
proxy_type: string; // "http", "https", "socks4", or "socks5"
host: string;
port: number;
@@ -13,16 +12,22 @@ export interface TableSortingSettings {
}
export interface BrowserProfile {
id: string; // UUID of the profile
name: string;
browser: string;
version: string;
profile_path: string;
proxy?: ProxySettings;
proxy_id?: string; // Reference to stored proxy
process_id?: number;
last_launch?: number;
release_type: string; // "stable" or "nightly"
}
export interface StoredProxy {
id: string;
name: string;
proxy_settings: ProxySettings;
}
export interface DetectedProfile {
browser: string;
name: string;