feat: WIP
All checks were successful
Build and deploy / build (push) Successful in 10m34s
Build and deploy / Deploy container (push) Has been skipped

This commit is contained in:
2025-09-17 00:17:31 +02:00
parent 06b3154733
commit 175066a4c7
12 changed files with 219 additions and 10 deletions

View File

@@ -0,0 +1,36 @@
---@meta
local devices
---@class Ntfy
local Ntfy
---@async
---@param notification Notification
function Ntfy:send_notification(notification) end
---@alias Priority
---| "min"
---| "low"
---| "default"
---| "high"
---| "max"
---@class Notification
---@field title string
---@field message string?
---@field tags string[]?
---@field priority Priority?
---@field actions Action[]?
---@class NtfyConfig
---@field url string
---@field topic string
---@class Action
---@field action
---| "broadcast"
---@field extras table<string, string>?
---@field label string
---@field clear boolean?
return devices