-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdevvit.json
More file actions
72 lines (72 loc) · 2.39 KB
/
Copy pathdevvit.json
File metadata and controls
72 lines (72 loc) · 2.39 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
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
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "comment-nuke",
"dev": {
"subreddit": "fsvsandbox"
},
"forms": {
"mopComments": "/internal/forms/mop-comments"
},
"marketingAssets": {
"icon": "assets/icon.png"
},
"menu": {
"items": [
{
"label": "Mop Comments",
"description": "Remove this comment and all child comments. This might take a few seconds to run.",
"location": "comment",
"forUserType": "moderator",
"endpoint": "/internal/menus/mop-comments"
},
{
"label": "Mop post comments",
"description": "Remove all comments on this post. This might take a few seconds to run.",
"location": "post",
"forUserType": "moderator",
"endpoint": "/internal/menus/mop-comments"
}
]
},
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"settings": {
"subreddit": {
"remove": {
"label": "Default for Remove Comments",
"type": "boolean",
"defaultValue": true
},
"lock": {
"label": "Default for Lock Comments",
"type": "boolean",
"defaultValue": false
},
"skipDistinguished": {
"label": "Default for Skip Distinguished Comments",
"type": "boolean",
"defaultValue": true
},
"skipAlreadyActioned": {
"label": "Default for Skip Already Actioned Comments",
"helpText": "If set, comments already removed or locked (depending on what actions have been selected) won't get removed or locked again. Generally speaking, this is the desired behavior.",
"type": "boolean",
"defaultValue": true
},
"restrictedMods": {
"label": "Restricted Mods",
"type": "string",
"helpText": "A comma-separated list of mods who may not use Comment Mop. Not case sensitive."
}
}
},
"triggers": {
"onModAction": "/internal/triggers/mod-action"
},
"permissions": {
"reddit": true,
"redis": true
}
}