Repository navigation
Expand file tree
/
Copy pathdevvit.json
More file actions
84 lines (84 loc) · 3.28 KB
/
Copy pathdevvit.json
File metadata and controls
84 lines (84 loc) · 3.28 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
73
74
75
76
77
78
79
80
81
82
83
84
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "queue-pruner",
"permissions": {
"reddit": true
},
"scripts": {
"build": "vite build",
"dev": "vite build --watch"
},
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"settings": {
"subreddit": {
"removeDeleted": {
"type": "boolean",
"defaultValue": true,
"label": "Remove modqueued content for deleted users"
},
"removeShadowbanned": {
"type": "boolean",
"defaultValue": true,
"label": "Remove modqueued content for shadowbanned users"
},
"removeBanned": {
"type": "boolean",
"defaultValue": false,
"label": "Remove modqueued content for banned users"
},
"removeItemsRemovedByReddit": {
"type": "boolean",
"defaultValue": false,
"label": "Remove modqueued content removed by Reddit Legal or Anti-Evil Ops",
"helpText": "This affects all [ Removed by Reddit ] posts and comments that are still in the mod queue."
},
"removeCommentsOnRemovedPosts": {
"type": "boolean",
"defaultValue": false,
"label": "Remove modqueued comments on removed posts",
"helpText": "This will not take action on comments on posts filtered to the queue or removed by AutoModerator, only posts removed by moderators, Reddit Legal or Anti-Evil Ops."
},
"removeCommentsOnDeletedPosts": {
"type": "boolean",
"defaultValue": false,
"label": "Remove modqueued comments on deleted posts",
"helpText": "This will remove modqueued comments on any post that has been deleted, regardless of the reason for deletion."
},
"lockOnRemove": {
"type": "boolean",
"defaultValue": false,
"label": "Lock posts when removed",
"helpText": "Lock posts or comments when removing from modqueue"
},
"replyCommentForShadowbanned": {
"type": "paragraph",
"label": "If a user is found to be shadowbanned or suspended, reply to their content with this comment on removal",
"helpText": "Leave blank to skip replying. Markdown is supported. You may wish to use this to alert users to the appeal process."
}
}
},
"triggers": {
"onAppInstall": "/internal/triggers/app-install",
"onAppUpgrade": "/internal/triggers/app-upgrade",
"onModAction": "/internal/triggers/mod-action"
},
"scheduler": {
"tasks": {
"checkQueue": {
"endpoint": "/internal/tasks/check-queue"
},
"pruneUsers": {
"endpoint": "/internal/tasks/prune-users"
},
"removeUsers": {
"endpoint": "/internal/tasks/remove-users"
},
"refreshModeratorList": {
"endpoint": "/internal/tasks/refresh-moderator-list"
}
}
}
}