Files
eco_os/ecoos_daemon/ts_interfaces/display.ts

25 lines
652 B
TypeScript
Raw Normal View History

/**
* Display interfaces - API contracts for display management
*/
export interface IDisplayInfo {
name: string; // e.g., "DP-1", "HDMI-A-1", "HEADLESS-1"
make: string; // Manufacturer
model: string; // Model name
serial: string; // Serial number
active: boolean; // Currently enabled
width: number; // Resolution width
height: number; // Resolution height
refreshRate: number; // Hz
isPrimary: boolean; // Has the focused window (kiosk)
}
export interface IDisplaysResponse {
displays: IDisplayInfo[];
}
export interface IDisplayActionResult {
success: boolean;
message: string;
}