mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-27 05:00:06 +00:00
chore: Update dependencies (#18459)
* fix(ignore): update dependencies * Make compatible with MQTT 5 * updates --------- Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
This commit is contained in:
Vendored
+3
-3
@@ -31,7 +31,7 @@ import type TypeDevice from 'lib/model/device';
|
||||
import type TypeGroup from 'lib/model/group';
|
||||
import type TypeExtension from 'lib/extension/extension';
|
||||
|
||||
import type mqtt from 'mqtt';
|
||||
import type {QoS} from 'mqtt-packet';
|
||||
|
||||
declare global {
|
||||
// Define some class types as global
|
||||
@@ -45,7 +45,7 @@ declare global {
|
||||
|
||||
// Types
|
||||
interface MQTTResponse {data: KeyValue, status: 'error' | 'ok', error?: string, transaction?: string}
|
||||
interface MQTTOptions {qos?: mqtt.QoS, retain?: boolean, properties?: {messageExpiryInterval: number}}
|
||||
interface MQTTOptions {qos?: QoS, retain?: boolean, properties?: {messageExpiryInterval: number}}
|
||||
type StateChangeReason = 'publishDebounce' | 'groupOptimistic' | 'lastSeenChanged' | 'publishCached';
|
||||
type PublishEntityState = (entity: Device | Group, payload: KeyValue,
|
||||
stateChangeReason?: StateChangeReason) => Promise<void>;
|
||||
@@ -189,7 +189,7 @@ declare global {
|
||||
base_topic: string,
|
||||
include_device_information: boolean,
|
||||
force_disable_retain: boolean
|
||||
version?: number,
|
||||
version?: 3 | 4 | 5,
|
||||
user?: string,
|
||||
password?: string,
|
||||
server: string,
|
||||
|
||||
Reference in New Issue
Block a user