Refactor API requests and update imports

This commit is contained in:
wangqiao
2025-08-18 22:15:55 +08:00
parent ba5f777ed0
commit aac4dec3fd
17 changed files with 113 additions and 193 deletions

6
types/mqtt.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
// types/mqtt.d.ts
declare module 'mqtt' {
import * as mqttTypes from 'mqtt/types/lib/client-options'
export * from 'mqtt/types/lib/client'
export const connect: mqttTypes.IClientOptions
}