mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-03 02:21:38 +00:00
18 lines
730 B
TypeScript
18 lines
730 B
TypeScript
import Extension from "./extension";
|
|
/**
|
|
* This extension servers the frontend
|
|
*/
|
|
export declare class Frontend extends Extension {
|
|
private mqttBaseTopic;
|
|
private server;
|
|
private wss;
|
|
private baseUrl;
|
|
constructor(zigbee: Zigbee, mqtt: Mqtt, state: State, publishEntityState: PublishEntityState, eventBus: EventBus, enableDisableExtension: (enable: boolean, name: string) => Promise<void>, restartCallback: () => Promise<void>, addExtension: (extension: Extension) => Promise<void>);
|
|
start(): Promise<void>;
|
|
stop(): Promise<void>;
|
|
private onUpgrade;
|
|
private onWebSocketConnection;
|
|
private onMQTTPublishMessageOrEntityState;
|
|
}
|
|
export default Frontend;
|
|
//# sourceMappingURL=frontend.d.ts.map
|