forked from revir/nodebb-theme-v2mm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
75 lines (75 loc) · 1.71 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"id": "nodebb-theme-v2mm",
"library": "./lib/theme.js",
"hooks": [
{
"hook": "filter:widgets.getAreas", "method": "defineWidgetAreas", "callbacked": true
},
{
"hook": "static:app.load", "method": "init"
},
{
"hook": "static:app.preload", "method": "preinit"
},
{
"hook": "filter:admin.header.build", "method": "addAdminNavigation"
},
{
"hook": "filter:config.get", "method": "getConfig"
},
{
"hook": "filter:controllers.topic.get", "method": "filterTopic"
},
{
"hook": "filter:topic.create", "method": "setExternalLinkOnSaveTopic"
},
{
"hook": "action:topic.move", "method": "moveTopicFromRootCategory"
},
{
"hook": "filter:topic.edit", "method": "setExternalLinkOnSaveTopic"
},
{
"hook": "action:topic.save", "method": "saveTopicToRootCategory"
},
{
"hook": "action:topic.purge", "method": "onPurgeTopic"
},
{
"hook": "filter:category.topics.get", "method": "filterCategoryTopics"
},
{
"hook": "filter:category.get", "method": "filterCategoryGet"
},
{
"hook": "filter:topics.get", "method": "filterTopics"
},
{
"hook": "filter:user.account.edit", "method": "getEditUserProfile"
},
{
"hook": "filter:user.account", "method": "getUserAccount"
},
{
"hook": "filter:user.updateProfile", "method": "editUserProfile"
}
],
"staticDirs": {
"vendor": "static/vendor",
"css": "public/css",
"lib": "public/lib"
},
"scripts": [
"static/lib/lavender.js",
"static/lib/infinitescroll.js",
"static/lib/categoryTagsTools.js",
"static/lib/topicLabels.js",
"static/vendor/masonry.js",
"static/vendor/imagesLoaded.js"
],
"acpScripts": [
"static/lib/admin.js"
],
"languages": "languages",
"defaultLang": "zh_CN"
}