keypadOS/bindings.lua

24 lines
540 B
Lua
Raw Normal View History

2024-08-25 20:44:09 +00:00
--- @class Exports
--- @field log Logger
--- @field updater Updater
--- @field notifier Notifier
--- @field json JsonParser
--- @class Logger
--- @field error fun(...)
--- @field warn fun(...)
--- @field info fun(...)
--- @field debug fun(...)
--- @class Updater
2024-08-25 20:52:04 +00:00
--- @field addEntry fun(self: Updater, path: string, branch: string, url: string)
2024-08-25 20:44:09 +00:00
--- @class JsonParser
--- @field decode fun(s: string): table
--- @field encode fun(s: table): string
--- @class Notifier
--- @field notify fun(priority: "1"|"2"|"3"|"4"|"5", body: string)