Repository navigation
Expand file tree
/
Copy pathdevvit.json
More file actions
97 lines (97 loc) · 3.02 KB
/
Copy pathdevvit.json
File metadata and controls
97 lines (97 loc) · 3.02 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
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "saved-response",
"permissions": {
"http": {
"enable": false
},
"media": false,
"realtime": false,
"redis": true,
"reddit": {
"enable": true
}
},
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"settings": {
"subreddit": {
"pin-response": {
"type": "boolean",
"label": "Pin response by default",
"helpText": "This setting affects the default value of the \"Pin response\" option on the pop-up.",
"defaultValue": true
},
"lock-response": {
"type": "boolean",
"label": "Lock response by default",
"helpText": "This setting affects the default value of the \"Lock response\" option on the pop-up.",
"defaultValue": true
},
"edit-response": {
"type": "boolean",
"label": "Edit response by default",
"helpText": "This setting affects the default value of the \"Edit response\" option on the pop-up.",
"defaultValue": false
},
"pm-as-subreddit": {
"type": "boolean",
"label": "Private message as subreddit by default",
"helpText": "This setting affects the default value of the \"Message as subreddit\" option on the pop-up.",
"defaultValue": false
},
"title-keywords": {
"type": "paragraph",
"label": "Keywords in reason title (case-sensitive)",
"helpText": "Enter a comma (,) separated list of case-sensitive keywords or phrases that MUST be in the removal reason's title for it to be included for selection in the pop-up (e.g. the word \"Warning\"). Works with certain special characters like brackets or quotes, but not commas. Leave blank for no title restrictions.",
"defaultValue": ""
}
}
},
"menu": {
"items": [
{
"label": "Create Mod-Team Post",
"forUserType": "moderator",
"location": ["subreddit"],
"endpoint": "/internal/menu/create-modteam-post"
},
{
"label": "Comment Saved Response",
"forUserType": "moderator",
"location": [
"post",
"comment"
],
"endpoint": "/internal/menu/comment-saved-response"
},
{
"label": "Message Saved Response",
"forUserType": "moderator",
"location": [
"post",
"comment"
],
"endpoint": "/internal/menu/message-saved-response"
}
]
},
"forms": {
"postForm": "/internal/forms/modteam-post-submit",
"savedResponseForm": "/internal/forms/saved-response-submit",
"editResponseForm": "/internal/forms/edit-response-submit",
"savedResponsePMForm": "/internal/forms/saved-response-pm-submit",
"editResponsePMForm": "/internal/forms/edit-response-pm-submit"
},
"triggers": {
"onCommentCreate": "/internal/triggers/on-comment-create"
},
"marketingAssets": {
"icon": "assets/sr-icon.png"
},
"dev": {
"subreddit": "CapitalOneBank"
}
}