-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplugin.json
More file actions
43 lines (43 loc) · 872 Bytes
/
plugin.json
File metadata and controls
43 lines (43 loc) · 872 Bytes
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
41
42
43
{
"id": "nodebb-plugin-category-queue",
"url": "https://github.com/oplik0/nodebb-plugin-category-queue",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load",
"method": "init"
},
{
"hook": "filter:admin.header.build",
"method": "addAdminNavigation"
},
{
"hook": "filter:post.shouldQueue",
"method": "postQueue"
},
{
"hook": "action:category.create",
"method": "createCategory"
},
{
"hook": "filter:settings.set",
"method": "parseSettings"
}
],
"staticDirs": {
"static": "./static"
},
"modules": {
"../admin/plugins/category-queue.js": "./static/lib/admin.js"
},
"upgrades": [
"upgrades/migrate_settings.js"
],
"settingsRoute": "/admin/plugins/category-queue",
"templates": "static/templates",
"languages": "static/languages",
"defaultLang": "en-GB",
"scss": [
"static/style.scss"
]
}