tachyon-protocol 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/account/getToken/request.json +72 -72
  2. package/dist/account/getToken/response.json +90 -90
  3. package/dist/account/login/request.json +31 -31
  4. package/dist/account/login/response.json +299 -299
  5. package/dist/account/recover/request.json +14 -14
  6. package/dist/account/recover/response.json +57 -57
  7. package/dist/account/register/request.json +51 -51
  8. package/dist/account/register/response.json +77 -77
  9. package/dist/account/rename/request.json +32 -32
  10. package/dist/account/rename/response.json +65 -65
  11. package/dist/bot/slave/request.json +28 -28
  12. package/dist/bot/slave/response.json +57 -57
  13. package/dist/bot/unslave/request.json +14 -14
  14. package/dist/bot/unslave/response.json +57 -57
  15. package/dist/game/launch/response.json +69 -69
  16. package/dist/index.d.ts +926 -923
  17. package/dist/lobby/close/request.json +14 -14
  18. package/dist/lobby/close/response.json +57 -57
  19. package/dist/lobby/create/request.json +51 -51
  20. package/dist/lobby/create/response.json +65 -65
  21. package/dist/lobby/join/request.json +35 -35
  22. package/dist/lobby/join/response.json +85 -85
  23. package/dist/lobby/joined/response.json +255 -255
  24. package/dist/lobby/leave/request.json +14 -14
  25. package/dist/lobby/leave/response.json +61 -61
  26. package/dist/lobby/left/response.json +57 -57
  27. package/dist/lobby/list/request.json +14 -14
  28. package/dist/lobby/list/response.json +266 -266
  29. package/dist/lobby/receiveMessage/response.json +79 -79
  30. package/dist/lobby/sendMessage/request.json +32 -32
  31. package/dist/lobby/sendMessage/response.json +65 -65
  32. package/dist/lobby/updated/response.json +211 -211
  33. package/dist/matchmaking/cancel/request.json +14 -14
  34. package/dist/matchmaking/cancel/response.json +61 -61
  35. package/dist/matchmaking/found/response.json +69 -69
  36. package/dist/matchmaking/list/request.json +14 -14
  37. package/dist/matchmaking/list/response.json +104 -104
  38. package/dist/matchmaking/lost/response.json +57 -57
  39. package/dist/matchmaking/queue/request.json +30 -30
  40. package/dist/matchmaking/queue/response.json +65 -65
  41. package/dist/matchmaking/queueUpdate/response.json +69 -69
  42. package/dist/matchmaking/ready/request.json +14 -14
  43. package/dist/matchmaking/ready/response.json +61 -61
  44. package/dist/matchmaking/readyUpdate/response.json +73 -73
  45. package/dist/system/disconnect/request.json +14 -14
  46. package/dist/system/disconnected/response.json +57 -57
  47. package/dist/system/version/response.json +95 -70
  48. package/package.json +2 -2
@@ -1,267 +1,267 @@
1
- {
2
- "$id": "lobby/list/response",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "anyOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "command": {
10
- "const": "lobby/list/response",
11
- "type": "string"
12
- },
13
- "status": {
14
- "const": "success",
15
- "type": "string"
16
- },
17
- "data": {
18
- "type": "object",
19
- "properties": {
20
- "lobbies": {
21
- "type": "array",
22
- "items": {
23
- "examples": [
24
- {
25
- "id": 27,
26
- "name": "8v8 | All Welcome",
27
- "founderId": 822,
28
- "locked": false,
29
- "passworded": false,
30
- "playerIds": [
31
- 567,
32
- 232,
33
- 88,
34
- 119
35
- ],
36
- "spectatorIds": [
37
- 88
38
- ],
39
- "engine": "105.1.1-1821-gaca6f20 BAR105",
40
- "game": "Beyond All Reason test-23561-0abff7c",
41
- "map": "Red Comet Remake 1.8",
42
- "startAreas": {
43
- "0": {
44
- "x": 0,
45
- "y": 0,
46
- "width": 1,
47
- "height": 0.3
48
- },
49
- "1": {
50
- "x": 0,
51
- "y": 0.7,
52
- "width": 1,
53
- "height": 0.3
54
- }
55
- },
56
- "limits": {
57
- "minTeamsize": 3,
58
- "maxTeamsize": 3,
59
- "minRating": null,
60
- "maxRating": 25
61
- }
62
- }
63
- ],
64
- "type": "object",
65
- "properties": {
66
- "id": {
67
- "type": "integer"
68
- },
69
- "name": {
70
- "type": "string"
71
- },
72
- "founderId": {
73
- "type": "integer"
74
- },
75
- "locked": {
76
- "type": "boolean"
77
- },
78
- "passworded": {
79
- "type": "boolean"
80
- },
81
- "playerIds": {
82
- "type": "array",
83
- "items": {
84
- "type": "integer"
85
- }
86
- },
87
- "spectatorIds": {
88
- "type": "array",
89
- "items": {
90
- "type": "integer"
91
- }
92
- },
93
- "engine": {
94
- "type": "string"
95
- },
96
- "game": {
97
- "type": "string"
98
- },
99
- "map": {
100
- "type": "string"
101
- },
102
- "startAreas": {
103
- "default": {
104
- "0": {
105
- "x": 0,
106
- "y": 0,
107
- "width": 1,
108
- "height": 0.3
109
- },
110
- "1": {
111
- "x": 0,
112
- "y": 0.7,
113
- "width": 1,
114
- "height": 0.3
115
- }
116
- },
117
- "type": "object",
118
- "patternProperties": {
119
- "^(0|[1-9][0-9]*)$": {
120
- "examples": [
121
- {
122
- "x": 0,
123
- "y": 0,
124
- "width": 1,
125
- "height": 0.3
126
- }
127
- ],
128
- "type": "object",
129
- "properties": {
130
- "x": {
131
- "type": "number"
132
- },
133
- "y": {
134
- "type": "number"
135
- },
136
- "width": {
137
- "type": "number"
138
- },
139
- "height": {
140
- "type": "number"
141
- }
142
- },
143
- "required": [
144
- "x",
145
- "y",
146
- "width",
147
- "height"
148
- ]
149
- }
150
- }
151
- },
152
- "limits": {
153
- "type": "object",
154
- "properties": {
155
- "minTeamsize": {
156
- "anyOf": [
157
- {
158
- "type": "integer"
159
- },
160
- {
161
- "type": "null"
162
- }
163
- ]
164
- },
165
- "maxTeamsize": {
166
- "anyOf": [
167
- {
168
- "type": "integer"
169
- },
170
- {
171
- "type": "null"
172
- }
173
- ]
174
- },
175
- "minRating": {
176
- "anyOf": [
177
- {
178
- "type": "integer"
179
- },
180
- {
181
- "type": "null"
182
- }
183
- ]
184
- },
185
- "maxRating": {
186
- "anyOf": [
187
- {
188
- "type": "integer"
189
- },
190
- {
191
- "type": "null"
192
- }
193
- ]
194
- }
195
- },
196
- "required": [
197
- "minTeamsize",
198
- "maxTeamsize",
199
- "minRating",
200
- "maxRating"
201
- ]
202
- }
203
- },
204
- "required": [
205
- "id",
206
- "name",
207
- "founderId",
208
- "locked",
209
- "passworded",
210
- "playerIds",
211
- "spectatorIds",
212
- "engine",
213
- "game",
214
- "map",
215
- "startAreas",
216
- "limits"
217
- ]
218
- }
219
- }
220
- },
221
- "required": [
222
- "lobbies"
223
- ]
224
- }
225
- },
226
- "required": [
227
- "command",
228
- "status",
229
- "data"
230
- ]
231
- },
232
- {
233
- "type": "object",
234
- "properties": {
235
- "command": {
236
- "const": "lobby/list/response",
237
- "type": "string"
238
- },
239
- "status": {
240
- "const": "failed",
241
- "type": "string"
242
- },
243
- "reason": {
244
- "anyOf": [
245
- {
246
- "const": "internal_error",
247
- "type": "string"
248
- },
249
- {
250
- "const": "unauthorized",
251
- "type": "string"
252
- },
253
- {
254
- "const": "invalid_command",
255
- "type": "string"
256
- }
257
- ]
258
- }
259
- },
260
- "required": [
261
- "command",
262
- "status",
263
- "reason"
264
- ]
265
- }
266
- ]
1
+ {
2
+ "$id": "lobby/list/response",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "anyOf": [
6
+ {
7
+ "type": "object",
8
+ "properties": {
9
+ "command": {
10
+ "const": "lobby/list/response",
11
+ "type": "string"
12
+ },
13
+ "status": {
14
+ "const": "success",
15
+ "type": "string"
16
+ },
17
+ "data": {
18
+ "type": "object",
19
+ "properties": {
20
+ "lobbies": {
21
+ "type": "array",
22
+ "items": {
23
+ "examples": [
24
+ {
25
+ "id": 27,
26
+ "name": "8v8 | All Welcome",
27
+ "founderId": 822,
28
+ "locked": false,
29
+ "passworded": false,
30
+ "playerIds": [
31
+ 567,
32
+ 232,
33
+ 88,
34
+ 119
35
+ ],
36
+ "spectatorIds": [
37
+ 88
38
+ ],
39
+ "engine": "105.1.1-1821-gaca6f20 BAR105",
40
+ "game": "Beyond All Reason test-23561-0abff7c",
41
+ "map": "Red Comet Remake 1.8",
42
+ "startAreas": {
43
+ "0": {
44
+ "x": 0,
45
+ "y": 0,
46
+ "width": 1,
47
+ "height": 0.3
48
+ },
49
+ "1": {
50
+ "x": 0,
51
+ "y": 0.7,
52
+ "width": 1,
53
+ "height": 0.3
54
+ }
55
+ },
56
+ "limits": {
57
+ "minTeamsize": 3,
58
+ "maxTeamsize": 3,
59
+ "minRating": null,
60
+ "maxRating": 25
61
+ }
62
+ }
63
+ ],
64
+ "type": "object",
65
+ "properties": {
66
+ "id": {
67
+ "type": "integer"
68
+ },
69
+ "name": {
70
+ "type": "string"
71
+ },
72
+ "founderId": {
73
+ "type": "integer"
74
+ },
75
+ "locked": {
76
+ "type": "boolean"
77
+ },
78
+ "passworded": {
79
+ "type": "boolean"
80
+ },
81
+ "playerIds": {
82
+ "type": "array",
83
+ "items": {
84
+ "type": "integer"
85
+ }
86
+ },
87
+ "spectatorIds": {
88
+ "type": "array",
89
+ "items": {
90
+ "type": "integer"
91
+ }
92
+ },
93
+ "engine": {
94
+ "type": "string"
95
+ },
96
+ "game": {
97
+ "type": "string"
98
+ },
99
+ "map": {
100
+ "type": "string"
101
+ },
102
+ "startAreas": {
103
+ "default": {
104
+ "0": {
105
+ "x": 0,
106
+ "y": 0,
107
+ "width": 1,
108
+ "height": 0.3
109
+ },
110
+ "1": {
111
+ "x": 0,
112
+ "y": 0.7,
113
+ "width": 1,
114
+ "height": 0.3
115
+ }
116
+ },
117
+ "type": "object",
118
+ "patternProperties": {
119
+ "^(0|[1-9][0-9]*)$": {
120
+ "examples": [
121
+ {
122
+ "x": 0,
123
+ "y": 0,
124
+ "width": 1,
125
+ "height": 0.3
126
+ }
127
+ ],
128
+ "type": "object",
129
+ "properties": {
130
+ "x": {
131
+ "type": "number"
132
+ },
133
+ "y": {
134
+ "type": "number"
135
+ },
136
+ "width": {
137
+ "type": "number"
138
+ },
139
+ "height": {
140
+ "type": "number"
141
+ }
142
+ },
143
+ "required": [
144
+ "x",
145
+ "y",
146
+ "width",
147
+ "height"
148
+ ]
149
+ }
150
+ }
151
+ },
152
+ "limits": {
153
+ "type": "object",
154
+ "properties": {
155
+ "minTeamsize": {
156
+ "anyOf": [
157
+ {
158
+ "type": "integer"
159
+ },
160
+ {
161
+ "type": "null"
162
+ }
163
+ ]
164
+ },
165
+ "maxTeamsize": {
166
+ "anyOf": [
167
+ {
168
+ "type": "integer"
169
+ },
170
+ {
171
+ "type": "null"
172
+ }
173
+ ]
174
+ },
175
+ "minRating": {
176
+ "anyOf": [
177
+ {
178
+ "type": "integer"
179
+ },
180
+ {
181
+ "type": "null"
182
+ }
183
+ ]
184
+ },
185
+ "maxRating": {
186
+ "anyOf": [
187
+ {
188
+ "type": "integer"
189
+ },
190
+ {
191
+ "type": "null"
192
+ }
193
+ ]
194
+ }
195
+ },
196
+ "required": [
197
+ "minTeamsize",
198
+ "maxTeamsize",
199
+ "minRating",
200
+ "maxRating"
201
+ ]
202
+ }
203
+ },
204
+ "required": [
205
+ "id",
206
+ "name",
207
+ "founderId",
208
+ "locked",
209
+ "passworded",
210
+ "playerIds",
211
+ "spectatorIds",
212
+ "engine",
213
+ "game",
214
+ "map",
215
+ "startAreas",
216
+ "limits"
217
+ ]
218
+ }
219
+ }
220
+ },
221
+ "required": [
222
+ "lobbies"
223
+ ]
224
+ }
225
+ },
226
+ "required": [
227
+ "command",
228
+ "status",
229
+ "data"
230
+ ]
231
+ },
232
+ {
233
+ "type": "object",
234
+ "properties": {
235
+ "command": {
236
+ "const": "lobby/list/response",
237
+ "type": "string"
238
+ },
239
+ "status": {
240
+ "const": "failed",
241
+ "type": "string"
242
+ },
243
+ "reason": {
244
+ "anyOf": [
245
+ {
246
+ "const": "internal_error",
247
+ "type": "string"
248
+ },
249
+ {
250
+ "const": "unauthorized",
251
+ "type": "string"
252
+ },
253
+ {
254
+ "const": "invalid_command",
255
+ "type": "string"
256
+ }
257
+ ]
258
+ }
259
+ },
260
+ "required": [
261
+ "command",
262
+ "status",
263
+ "reason"
264
+ ]
265
+ }
266
+ ]
267
267
  }