- Integrated useRouter for navigation in chat and settings pages, improving user experience. - Added detailed debug logging for web context generation and chat payloads to assist in troubleshooting. - Updated settings page to include a hardware dashboard and enhanced sources configuration management. - Implemented auto-start feature for the application and improved task management with new scheduled task options. - Refined user interface components for better accessibility and usability across chat and settings pages.
16 lines
265 B
TypeScript
16 lines
265 B
TypeScript
// Types matching Rust backend structures
|
|
|
|
export interface SourceCategory {
|
|
id: string;
|
|
name: string;
|
|
base_sites: string[];
|
|
enabled: boolean;
|
|
}
|
|
|
|
export interface SourcesConfig {
|
|
version: number;
|
|
categories: SourceCategory[];
|
|
last_updated: string;
|
|
}
|
|
|