-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugin.json
29 lines (26 loc) · 1.14 KB
/
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
25
26
27
28
29
{
"id": "nodebb-plugin-search-elasticsearch",
"name": "Elasticsearch Search",
"description": "Full-text searching using Elasticsearch",
"url": "https://github.com/joe1chen/nodebb-plugin-search-elasticsearch",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init", "priority": 5 },
{ "hook": "filter:admin.header.build", "method": "adminMenu" },
{ "hook": "filter:admin.notices", "method": "getNotices"},
{ "hook": "action:post.save", "method": "post.save"},
{ "hook": "action:post.delete", "method": "post.delete"},
{ "hook": "action:post.restore", "method": "post.restore"},
{ "hook": "action:post.edit", "method": "post.edit"},
{ "hook": "action:topic.post", "method": "topic.post"},
{ "hook": "action:topic.delete", "method": "topic.delete"},
{ "hook": "action:topic.restore", "method": "topic.restore"},
{ "hook": "action:topic.edit", "method": "topic.edit"},
{ "hook": "filter:search.query", "method": "search"},
{ "hook": "filter:topic.search", "method": "searchTopic"}
],
"less": [
"static/style.less"
],
"templates": "templates"
}