Started work on generating definitions
This commit is contained in:
27
definitions/definitions.lua
Normal file
27
definitions/definitions.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
--- @meta
|
||||
|
||||
automation = {}
|
||||
|
||||
--- @class Device
|
||||
--- @class Config
|
||||
|
||||
--- @class DeviceManager
|
||||
automation.device_manager = {}
|
||||
|
||||
--- @class MqttClient
|
||||
automation.mqtt_client = {}
|
||||
|
||||
--- @param identifier string
|
||||
--- @param config Config
|
||||
--- @return Device
|
||||
function automation.device_manager:create(identifier, config) end
|
||||
|
||||
--- @class DebugBridge
|
||||
DebugBridge = {}
|
||||
|
||||
--- @class DebugBridgeConfig
|
||||
--- @field topic string
|
||||
|
||||
--- @param config DebugBridgeConfig
|
||||
--- @return Config
|
||||
function DebugBridge.new(config) end
|
||||
Reference in New Issue
Block a user