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/tubearchivist/widget.js

36 lines
596 B

import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/{endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
downloads: {
endpoint: "download",
validate: [
"paginate",
]
},
videos: {
endpoint: "video",
validate: [
"paginate",
]
},
channels: {
endpoint: "channel",
validate: [
"paginate",
]
},
playlists: {
endpoint: "playlist",
validate: [
"paginate",
]
},
},
};
export default widget;