-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.json
24 lines (24 loc) · 937 Bytes
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"id": "nodebb-plugin-hashtags",
"url": "https://github.com/NodeBB/nodebb-plugin-hashtags",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:parse.post", "method": "parsePost" },
{ "hook": "filter:parse.raw", "method": "parseRaw" },
{ "hook": "filter:topic.create", "method": "onTopicCreateOrEdit" },
{ "hook": "filter:post.edit", "method": "onTopicCreateOrEdit" },
{ "hook": "action:post.save", "method": "indexPost" },
{ "hook": "action:post.edit", "method": "indexPost" },
{ "hook": "filter:topics.getTagTidsByCids", "method": "clobberTagTids" },
{ "hook": "filter:tag.build", "method": "updateTagsPage" },
{ "hook": "filter:topics.getTagTopicCount", "method": "updateTagCounts" },
{ "hook": "filter:tags.getAll", "method": "updateTagListCounts" }
],
"scripts": [
"public/src/autofill.js"
],
"upgrades": [
"./upgrades/reindex_tag_pids.js"
]
}