mirror of
https://github.com/karl0ss/homepage.git
synced 2025-10-12 18:32:14 +01:00

* 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>
21 lines
386 B
JavaScript
21 lines
386 B
JavaScript
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;
|