Files
donutbrowser/src/types.ts
T
2025-06-17 16:13:17 +04:00

46 lines
936 B
TypeScript

export interface ProxySettings {
enabled: boolean;
proxy_type: string; // "http", "https", "socks4", or "socks5"
host: string;
port: number;
username?: string;
password?: string;
}
export interface TableSortingSettings {
column: string; // "name", "browser", "status"
direction: string; // "asc" or "desc"
}
export interface BrowserProfile {
name: string;
browser: string;
version: string;
profile_path: string;
proxy?: ProxySettings;
process_id?: number;
last_launch?: number;
release_type: string; // "stable" or "nightly"
}
export interface DetectedProfile {
browser: string;
name: string;
path: string;
description: string;
}
export interface BrowserReleaseTypes {
stable?: string;
nightly?: string;
}
export interface AppUpdateInfo {
current_version: string;
new_version: string;
release_notes: string;
download_url: string;
is_nightly: boolean;
published_at: string;
}