25 lines
652 B
TypeScript
25 lines
652 B
TypeScript
/**
|
|
* 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;
|
|
}
|