-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplugin.json
More file actions
28 lines (27 loc) · 1.1 KB
/
plugin.json
File metadata and controls
28 lines (27 loc) · 1.1 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
{
"id": "nodebb-plugin-openai",
"url": "https://github.com/NodeBB/nodebb-plugin-openai",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "action:mentions.notify", "method": "actionMentionsNotify" },
{ "hook": "action:messaging.save", "method": "actionMessagingSave" },
{ "hook": "filter:topic.thread_tools", "method": "filterTopicThreadTools" },
{ "hook": "action:topic.reply", "method": "actionTopicReply" },
{ "hook": "action:post.edit", "method": "actionPostEdit" },
{ "hook": "action:posts.purge", "method": "actionPostsPurge" },
{ "hook": "action:post.restore", "method": "actionPostRestore" },
{ "hook": "action:post.delete", "method": "actionPostDelete" },
{ "hook": "action:post.move", "method": "actionPostMove" },
{ "hook": "action:post.changeOwner", "method": "actionPostChangeOwner" }
],
"scripts": [
"./public/lib/main.js"
],
"modules": {
"../admin/plugins/openai.js": "./public/lib/admin.js"
},
"templates": "templates",
"languages": "languages"
}