mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-06-12 09:47:51 +02:00
46 lines
936 B
TypeScript
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;
|
|
}
|