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.
25 lines
501 B
25 lines
501 B
import genericProxyHandler from "utils/proxy/handlers/generic";
|
|
|
|
const widget = {
|
|
api: "{url}/api/v1/{endpoint}?apikey={key}",
|
|
proxyHandler: genericProxyHandler,
|
|
|
|
mappings: {
|
|
artist: {
|
|
endpoint: "artist",
|
|
},
|
|
"wanted/missing": {
|
|
endpoint: "wanted/missing",
|
|
},
|
|
"queue/status": {
|
|
endpoint: "queue/status",
|
|
},
|
|
calendar: {
|
|
endpoint: "calendar",
|
|
params: ["start", "end", "unmonitored", "includeArtist"],
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|