-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathplugin.json
More file actions
30 lines (30 loc) · 1.21 KB
/
plugin.json
File metadata and controls
30 lines (30 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"id": "nodebb-plugin-reactions",
"name": "NodeBB Reactions",
"description": "Reactions plugin for NodeBB",
"url": "https://github.com/NodeBB-Community/nodebb-plugin-reactions",
"library": "./library.js",
"templates": "templates",
"languages": "languages",
"scss": [
"scss/reactions.scss"
],
"scripts": [
"public/client.js"
],
"modules": {
"../admin/plugins/reactions.js": "./public/admin.js"
},
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation"},
{ "hook": "filter:config.get", "method": "getPluginConfig" },
{ "hook": "filter:settings.get", "method": "filterSettingsGet" },
{ "hook": "filter:post.getPosts", "method": "getPostReactions" },
{ "hook": "filter:messaging.getMessages", "method": "getMessageReactions" },
{ "hook": "filter:post.get", "method": "onReply" },
{ "hook": "action:posts.purge", "method": "deleteReactions" },
{ "hook": "filter:notifications.addFilters", "method": "addNotificationFilters" },
{ "hook": "filter:user.notificationTypes", "method": "notificationTypes" }
]
}