mirror of
https://github.com/yaklang/yaklang-chrome-extension.git
synced 2026-09-25 04:31:52 +08:00
19 lines
377 B
TypeScript
19 lines
377 B
TypeScript
export interface StorageChange<T = any> {
|
|
oldValue?: T;
|
|
newValue?: T;
|
|
}
|
|
|
|
export interface StorageChanges {
|
|
[key: string]: StorageChange;
|
|
}
|
|
|
|
export interface ProxyConfig {
|
|
host: string;
|
|
port: number;
|
|
scheme: 'http' | 'https' | 'socks5';
|
|
proxyType: 'fixed_servers';
|
|
enabled?: boolean;
|
|
id?: string;
|
|
name?: string;
|
|
timestamp?: number;
|
|
}
|