-
Notifications
You must be signed in to change notification settings - Fork 10
/
plugin.json
40 lines (40 loc) · 2.02 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
30
31
32
33
34
35
36
37
38
39
40
{
"id": "nodebb-plugin-user-invitations",
"name": "User Invitations",
"description": "Allows current users to email invitations to potential new users.",
"url": "https://github.com/NodeBB-Community/nodebb-plugin-user-invitations",
"library": "./lib/index.js",
"staticDirs": {
"public": "public"
},
"less": [
"public/less/style.less"
],
"scripts": [
"public/js/script.js"
],
"acpScripts": [
"public/js/script.js"
],
"templates": "public/templates",
"hooks": [
{ "hook": "static:app.load", "method": "views.init" },
{ "hook": "filter:user.profileMenu", "method": "views.userProfileMenu" },
{ "hook": "filter:admin.header.build", "method": "views.adminHeaderBuild" },
{ "hook": "filter:middleware.render", "method": "views.middlewareRender" },
{ "hook": "filter:register.check", "method": "invitations.registerCheck" },
{ "hook": "action:user.loggedIn", "method": "invitations.loginCheck"},
{ "hook": "action:user.create", "method": "invitations.userCreate" },
{ "hook": "static:user.delete", "method": "invitations.userDelete" },
{ "hook": "filter:rewards.conditionals", "method": "conditionals.get" },
{ "hook": "filter:rewards.conditions", "method": "conditions.get" },
{ "hook": "filter:rewards.rewards", "method": "rewards.get" },
{ "hook": "action:rewards.award:invite/give-invitations", "method": "rewards.giveInvitations" },
{ "hook": "filter:rewards.checkConditional:greaterthan", "method": "conditionals.greaterthan" },
{ "hook": "filter:rewards.checkConditional:greaterorequalthan", "method": "conditionals.greaterorequalthan" },
{ "hook": "filter:rewards.checkConditional:lesserthan", "method": "conditionals.lesserthan" },
{ "hook": "filter:rewards.checkConditional:lesserorequalthan", "method": "conditionals.lesserorequalthan" },
{ "hook": "filter:rewards.checkConditional:string", "method": "conditionals.string" }
],
"languages": "public/language"
}