Add Moonraker (Klipper) widget (#798)
* Add Moonraker (Klipper) widget * Fix linting * Removed filename, to adhere to standards * Removed unused translation * fix conditional in moonraker component Co-authored-by: Eizock <> Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
5 files changed
+80
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import genericProxyHandler from "utils/proxy/handlers/generic";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/printer/objects/query?{endpoint}",
|
||||
proxyHandler: genericProxyHandler,
|
||||
|
||||
mappings: {
|
||||
print_stats: {
|
||||
endpoint: "print_stats",
|
||||
},
|
||||
display_status: {
|
||||
endpoint: "display_status",
|
||||
},
|
||||
webhooks: {
|
||||
endpoint: "webhooks",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
Reference in new issue
Block a user