Working on Omada Widget

This commit is contained in:
Benoit
2022-12-05 10:24:57 +01:00
parent 92d456dbf4
commit 61065ace28
10 changed files with 124 additions and 0 deletions

View File

View File

@@ -0,0 +1,21 @@
import credentialedProxyHandler from "../../utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/web/v1/{endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
"controller": {
endpoint: "controller",
params: [ "method": "getGridAps",
"params": {
"sortOrder": "asc",
"currentPage": 1,
"currentPageSize": 100000,
"filters": {"status": "All"}
}]
},
},
};
export default widget;

View File

@@ -38,6 +38,7 @@ import transmission from "./transmission/widget";
import tubearchivist from "./tubearchivist/widget";
import truenas from "./truenas/widget";
import unifi from "./unifi/widget";
import omada from "./omada/widget";
import watchtower from './watchtower/widget'
const widgets = {
@@ -81,6 +82,7 @@ const widgets = {
transmission,
tubearchivist,
truenas,
omada,
unifi,
unifi_console: unifi,
watchtower,