Open mrjackyliang opened 1 month ago
The types for ServerEnvMetadata do not completely show what I see in the browser console.
ServerEnvMetadata
Current types:
export interface ServerEnvMetadata { theme: string; serverTimestamp: string; formAuth: boolean | 'none'; env: { ableToConfigureSelf: boolean; dockerOfflineUpdate: boolean; enableAccessories: boolean; enableTerminalAccess: boolean; homebridgeInstanceName: string; nodeVersion: string; packageName: string; packageVersion: string; platform: string; runningInDocker: boolean; runningInLinux: boolean; serviceMode: boolean; temperatureUnits: string; lang: string | null; instanceId: string; }; }
What I see in the browser console:
Expected the types to match.
Simply do a console.log() of window.homebridge while in a custom UI.
console.log()
window.homebridge
N/A
hb-service
No response
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Analysis
The types for
ServerEnvMetadata
do not completely show what I see in the browser console.Current types:
What I see in the browser console:
Expected Behavior
Expected the types to match.
Steps To Reproduce
Simply do a
console.log()
ofwindow.homebridge
while in a custom UI.Logs
Configuration
Environment
Process Supervisor
hb-service
Additional Context
No response