You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homepage/src/widgets/scrutiny/widget.js

24 lines
384 B

import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/api/{endpoint}",
proxyHandler: genericProxyHandler,
mappings: {
summary: {
endpoint: "summary",
validate: [
"data",
]
},
settings: {
endpoint: "settings",
validate: [
"settings",
]
}
},
};
export default widget;