feat: WIP
This commit is contained in:
@@ -104,6 +104,24 @@ impl Ntfy {
|
||||
}
|
||||
}
|
||||
|
||||
// impl Typed for Ntfy {
|
||||
// fn type_name() -> String {
|
||||
// "Ntfy".into()
|
||||
// }
|
||||
//
|
||||
// fn generate_header() -> Option<String> {
|
||||
// let type_name = <Self as Typed>::type_name();
|
||||
// Some(format!("---@class {type_name}\nlocal {type_name}\n"))
|
||||
// }
|
||||
//
|
||||
// fn generate_members() -> Option<String> {
|
||||
// Some(format!(
|
||||
// "---@async\n---@param notification Notification\nfunction {}:send_notification(notification) end\n",
|
||||
// <Self as Typed>::type_name(),
|
||||
// ))
|
||||
// }
|
||||
// }
|
||||
|
||||
#[async_trait]
|
||||
impl LuaDeviceCreate for Ntfy {
|
||||
type Config = Config;
|
||||
|
||||
Reference in New Issue
Block a user