-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevvit.json
More file actions
88 lines (88 loc) · 2.09 KB
/
Copy pathdevvit.json
File metadata and controls
88 lines (88 loc) · 2.09 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
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "sublurk-app",
"permissions": {
"redis": true,
"http": {
"domains": [
"generativelanguage.googleapis.com"
]
}
},
"post": {
"dir": "dist/client",
"entrypoints": {
"default": {
"inline": true,
"entry": "splash.html"
},
"game": {
"entry": "game.html"
}
}
},
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"menu": {
"items": [
{
"label": "Post a community game",
"description": "The whole sub plays one crawler together",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/post-create-community"
},
{
"label": "Post a solo demo",
"description": "A private run anyone who finds it can play",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/post-create-solo"
},
{
"label": "Reset world",
"description": "Clear this community's cached world so a fresh one is generated",
"location": "subreddit",
"forUserType": "moderator",
"endpoint": "/internal/menu/reset-world"
},
{
"label": "Resolve the turn",
"description": "Resolve the top-voted action now",
"location": "post",
"forUserType": "moderator",
"endpoint": "/internal/menu/resolve-turn"
}
]
},
"triggers": {
"onAppInstall": "/internal/triggers/on-app-install"
},
"scheduler": {
"tasks": {
"resolve-turn": {
"endpoint": "/internal/scheduler/resolve-turn",
"cron": "* * * * *"
}
}
},
"settings": {
"global": {
"gemini-api-key": {
"type": "string",
"label": "Google Gemini API key",
"helpText": "Server-side key used to generate dungeon narration.",
"isSecret": true
}
}
},
"scripts": {
"dev": "vite build --watch",
"build": "vite build"
},
"dev": {
"subreddit": "sublurk_app_dev"
}
}