-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevvit.json
More file actions
40 lines (40 loc) · 1.04 KB
/
devvit.json
File metadata and controls
40 lines (40 loc) · 1.04 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
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "<% name %>",
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"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/menu/mop-comment"
},
{
"label": "Mop post comments",
"description": "Remove all comments of this post. This might take a few seconds to run.",
"location": "post",
"forUserType": "moderator",
"endpoint": "/internal/menu/mop-post"
}
]
},
"forms": {
"mopComment": "/internal/form/mop-comment-submit",
"mopPost": "/internal/form/mop-post-submit"
},
"triggers": {
"onAppInstall": "/internal/triggers/on-app-install"
},
"scripts": {
"build": "vite build",
"dev": "vite build --watch"
},
"permissions": {
"reddit": true
}
}