mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-plugin-leaderboard.git
synced 2025-10-04 20:21:22 +08:00
first
This commit is contained in:
parent
db7b85ebde
commit
9eaead7574
7 changed files with 338 additions and 0 deletions
13
plugin.json
Normal file
13
plugin.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"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.activate", "method": "activate"},
|
||||
{ "hook": "action:plugin.deactivate", "method": "deactivate"},
|
||||
{ "hook": "filter:navigation.available", "method": "getNavigation"}
|
||||
],
|
||||
"templates": "static/templates"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue