-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevvit.json
More file actions
73 lines (73 loc) · 1.73 KB
/
Copy pathdevvit.json
File metadata and controls
73 lines (73 loc) · 1.73 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
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "clatterfall",
"marketingAssets": {
"icon": "assets/icon.png"
},
"post": {
"dir": "dist/client",
"entrypoints": {
"default": {
"entry": "splash.html"
},
"game": {
"entry": "game.html"
}
}
},
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"permissions": {
"reddit": {
"enable": true,
"scope": "moderator"
},
"redis": true
},
"menu": {
"items": [
{
"label": "Clatterfall: Create machine post",
"description": "Post the subreddit's communal marble machine",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/post-create"
},
{
"label": "Clatterfall: Run the machine now",
"description": "Force today's run without waiting for the daily cron",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/run-now"
},
{
"label": "Clatterfall: Reseed starter machine",
"description": "Rebuild a fresh starter cascade (resets placed parts)",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/reseed"
}
]
},
"triggers": {
"onAppInstall": "/internal/triggers/on-app-install",
"onAppUpgrade": "/internal/triggers/on-app-upgrade"
},
"scheduler": {
"tasks": {
"daily-run": {
"endpoint": "/internal/scheduler/daily-run",
"cron": "0 13 * * *"
}
}
},
"scripts": {
"build": "vite build",
"dev": "vite build --watch"
},
"dev": {
"subreddit": "clatterfall_dev"
}
}