Update code formatting
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
import { DataSourceState, MqttOptions } from '../backend/src/DataSource'
|
||||
|
||||
import { UpdateInfo } from 'builder-util-runtime'
|
||||
import { Base64Message } from '../backend/src/Model/Base64Message'
|
||||
|
||||
export { UpdateInfo } from 'builder-util-runtime'
|
||||
import { DataSourceState, MqttOptions } from '../backend/src/DataSource'
|
||||
import { UpdateInfo } from 'builder-util-runtime'
|
||||
|
||||
export interface Event<MessageType> {
|
||||
topic: string
|
||||
}
|
||||
|
||||
export interface AddMqttConnection {
|
||||
id: string,
|
||||
id: string
|
||||
options: MqttOptions
|
||||
}
|
||||
|
||||
@@ -33,9 +30,9 @@ export const updateAvailable: Event<UpdateInfo> = {
|
||||
}
|
||||
|
||||
export interface MqttMessage {
|
||||
topic: string,
|
||||
payload: Base64Message | null,
|
||||
qos: 0 | 1 | 2,
|
||||
topic: string
|
||||
payload: Base64Message | null
|
||||
qos: 0 | 1 | 2
|
||||
retain: boolean
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user