-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
190 lines (190 loc) · 5.03 KB
/
manifest.json
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"v2": {
"transposit": {
"dependencies": [{
"name": "transposit/airtable:v2.*.*",
"alias": "airtable"
}, {
"name": "transposit/slack:v3.*.*",
"alias": "slack"
}],
"operations": [{
"id": "slash_race_webhook",
"description": "return response for /race command",
"function": {
"parameters": [{
"name": "http_event",
"type": "OBJECT",
"required": true
}],
"js": "webhook.js",
"lang": "js"
},
"access": {
"requireApiKey": true,
"webhook": true
}
}, {
"id": "slash_help_webhook",
"description": "returns response for /race_help command",
"function": {
"parameters": [{
"name": "http_event",
"type": "OBJECT",
"required": true
}],
"js": "slash_help_webhook.js",
"lang": "js"
},
"access": {
"requireApiKey": true,
"webhook": true
}
}, {
"id": "update_best_record",
"description": "helper method to handle record keeping",
"function": {
"parameters": [{
"name": "workspaceId",
"type": "STRING",
"required": true
}, {
"name": "textId",
"type": "STRING",
"required": true
}, {
"name": "username",
"type": "STRING",
"required": true
}, {
"name": "wpm",
"type": "NUMBER",
"required": true
}],
"js": "untitled_1.js",
"lang": "js"
}
}, {
"id": "slash_highscores_webhook",
"description": "return response for /race_highscores command",
"function": {
"parameters": [{
"name": "http_event",
"type": "OBJECT",
"required": true
}],
"js": "slash_highscores_webhook.js",
"lang": "js"
},
"access": {
"requireApiKey": true,
"webhook": true
}
}, {
"id": "interactive_components_webhook",
"description": "called by Slack when interacting with components",
"function": {
"parameters": [{
"name": "http_event",
"type": "OBJECT",
"required": true
}],
"js": "webhook_finished.js",
"lang": "js"
},
"access": {
"requireApiKey": true,
"webhook": true
}
}, {
"id": "generate_test_view",
"description": "generates the test view payload",
"function": {
"parameters": [{
"name": "textId",
"type": "NUMBER"
}],
"js": "found.js",
"lang": "js"
}
}, {
"id": "process_test_response",
"description": "processes response from submitting a test, then reponds with the results view payload",
"function": {
"parameters": [{
"name": "payload",
"type": "OBJECT",
"required": true
}],
"js": "generate_results_view.js",
"lang": "js"
}
}, {
"id": "generate_loading_screen",
"description": "generates the loading screen view payload",
"function": {
"parameters": [{
"name": "title",
"type": "OBJECT",
"required": true
}],
"js": "ack_loading_screen.js",
"lang": "js"
}
}],
"dataConnections": [{
"ref": "slack_identify.raw",
"requireConsumerSignin": true,
"overrides": {
"swagger": {
"oauthConfig": {
"scope": "identity.basic"
},
"executionLimits": {
}
}
},
"title": "Slack",
"description": "Used to identify you on Slack"
}, {
"ref": "slack_bot.raw",
"requireConsumerSignin": true,
"overrides": {
"swagger": {
"oauthConfig": {
"scope": "chat:write:bot channels:write"
},
"executionLimits": {
}
}
}
}, {
"ref": "slack.raw",
"overrides": {
"swagger": {
"oauthConfig": {
"scope": "commands",
"enableGroupCredentials": "true"
},
"executionLimits": {
}
}
}
}],
"javascriptAPIVersion": "3",
"source": "src",
"userSettingsDisplay": "GENERATED",
"appSettings": [{
"name": "baseId",
"description": "BaseId for paragraphs table",
"type": "STRING"
}, {
"name": "recordId",
"description": "RecordId for the list of paragraphs in Airtable",
"type": "STRING"
}]
},
"description": "TypeRacer recreated for Slack! Compete to get the fastest typing speed",
"displayName": "Slack Racer"
}
}