Ziya/types/electron.d.ts
rizary 67fb3a203e
feat: implement CEX analysis cards and real-time token monitoring
- Add TokenCard and CexAnalysisCard components for displaying token data
- Implement real-time Redis event streaming for token updates
- Add environment-based configuration system for dev/prod Redis servers
- Create comprehensive hunting ground dashboard with card management
- Add individual and bulk card removal functionality
- Implement browser integration for token details viewing
- Add timestamp utilities and proper type handling for Redis events
- Create production-ready configuration with 154.38.185.112 Redis server
- Add comprehensive documentation in README.md and CONTRIBUTORS.md
- Restructure project architecture with proper Electron-Vue integration

BREAKING CHANGE: Redis configuration now uses environment-based settings
2025-06-23 09:03:39 +07:00

32 lines
799 B
TypeScript

export interface RedisMessage {
channel: string;
data: unknown;
timestamp: number;
}
export interface IElectronAPI {
// Window controls
minimizeWindow: () => Promise<void>;
maximizeWindow: () => Promise<void>;
closeWindow: () => Promise<void>;
isMaximized: () => Promise<boolean>;
// Window state listeners
onMaximizeChange: (callback: (event: unknown, maximized: boolean) => void) => void;
removeMaximizeListener: (callback: (event: unknown, maximized: boolean) => void) => void;
// External links
openExternal: (url: string) => Promise<void>;
// Redis data subscription
onRedisData: (callback: (data: RedisMessage) => void) => void;
removeRedisDataListener: () => void;
}
declare global {
interface Window {
electronAPI: IElectronAPI;
}
}
export { };