-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathplugin.json
More file actions
33 lines (33 loc) · 1.49 KB
/
Copy pathplugin.json
File metadata and controls
33 lines (33 loc) · 1.49 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
31
32
33
{
"id": "@nodebb/nodebb-plugin-reactions",
"name": "NodeBB Reactions",
"description": "Reactions plugin for NodeBB",
"url": "https://github.com/NodeBB-Community/nodebb-plugin-reactions",
"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:activitypub.emojireact", "method": "handleEmojiReact" },
{ "hook": "filter:activitypub.like", "method": "handleLike" },
{ "hook": "filter:activitypub.undo", "method": "handleUndo" },
{ "hook": "filter:activitypub.announce", "method": "handleAnnounce" },
{ "hook": "filter:notifications.addFilters", "method": "addNotificationFilters" },
{ "hook": "filter:user.notificationTypes", "method": "notificationTypes" }
]
}