widget refactoring
This commit is contained in:
1 parent
03fa2f86d7
commit
035dd25ece
29 files changed
+851
-10
No files matched your search
@@ -6,19 +6,19 @@ const widget = {
|
||||
proxyHandler: genericProxyHandler,
|
||||
|
||||
mappings: {
|
||||
"series": {
|
||||
series: {
|
||||
endpoint: "series",
|
||||
map: (data) => ({
|
||||
total: asJson(data).length,
|
||||
}),
|
||||
},
|
||||
"queue": {
|
||||
queue: {
|
||||
endpoint: "queue",
|
||||
},
|
||||
"wanted/missing": {
|
||||
endpoint: "wanted/missing",
|
||||
},
|
||||
endpoint: "wanted/missing",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
Reference in new issue
Block a user