nodebb-plugin-leaderboard/plugin.json
Barış Soner Uşaklı 47b8d08522 add widget, add awaits
update for 4.x
2025-02-13 11:58:06 -05:00

15 lines
No EOL
678 B
JSON

{
"library": "./index.js",
"hooks": [
{ "hook": "static:app.load", "method": "init"},
{ "hook": "action:post.upvote", "method": "onUpvote"},
{ "hook": "action:post.downvote", "method": "onDownvote"},
{ "hook": "action:post.unvote", "method": "onUnvote"},
{ "hook": "action:plugin.deactivate", "method": "deactivate"},
{ "hook": "filter:navigation.available", "method": "getNavigation"},
{ "hook": "filter:widgets.getWidgets", "method": "defineWidgets" },
{ "hook": "filter:widget.render:leaderboard", "method": "renderLeaderboardWidget" }
],
"templates": "templates",
"languages": "languages"
}