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,256 +1,256 @@
1
- {
2
- "$id": "lobby/joined/response",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "anyOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "command": {
10
- "const": "lobby/joined/response",
11
- "type": "string"
12
- },
13
- "status": {
14
- "const": "success",
15
- "type": "string"
16
- },
17
- "data": {
18
- "examples": [
19
- {
20
- "id": 27,
21
- "name": "8v8 | All Welcome",
22
- "founderId": 822,
23
- "locked": false,
24
- "passworded": false,
25
- "playerIds": [
26
- 567,
27
- 232,
28
- 88,
29
- 119
30
- ],
31
- "spectatorIds": [
32
- 88
33
- ],
34
- "engine": "105.1.1-1821-gaca6f20 BAR105",
35
- "game": "Beyond All Reason test-23561-0abff7c",
36
- "map": "Red Comet Remake 1.8",
37
- "startAreas": {
38
- "0": {
39
- "x": 0,
40
- "y": 0,
41
- "width": 1,
42
- "height": 0.3
43
- },
44
- "1": {
45
- "x": 0,
46
- "y": 0.7,
47
- "width": 1,
48
- "height": 0.3
49
- }
50
- },
51
- "limits": {
52
- "minTeamsize": 3,
53
- "maxTeamsize": 3,
54
- "minRating": null,
55
- "maxRating": 25
56
- }
57
- }
58
- ],
59
- "type": "object",
60
- "properties": {
61
- "id": {
62
- "type": "integer"
63
- },
64
- "name": {
65
- "type": "string"
66
- },
67
- "founderId": {
68
- "type": "integer"
69
- },
70
- "locked": {
71
- "type": "boolean"
72
- },
73
- "passworded": {
74
- "type": "boolean"
75
- },
76
- "playerIds": {
77
- "type": "array",
78
- "items": {
79
- "type": "integer"
80
- }
81
- },
82
- "spectatorIds": {
83
- "type": "array",
84
- "items": {
85
- "type": "integer"
86
- }
87
- },
88
- "engine": {
89
- "type": "string"
90
- },
91
- "game": {
92
- "type": "string"
93
- },
94
- "map": {
95
- "type": "string"
96
- },
97
- "startAreas": {
98
- "default": {
99
- "0": {
100
- "x": 0,
101
- "y": 0,
102
- "width": 1,
103
- "height": 0.3
104
- },
105
- "1": {
106
- "x": 0,
107
- "y": 0.7,
108
- "width": 1,
109
- "height": 0.3
110
- }
111
- },
112
- "type": "object",
113
- "patternProperties": {
114
- "^(0|[1-9][0-9]*)$": {
115
- "examples": [
116
- {
117
- "x": 0,
118
- "y": 0,
119
- "width": 1,
120
- "height": 0.3
121
- }
122
- ],
123
- "type": "object",
124
- "properties": {
125
- "x": {
126
- "type": "number"
127
- },
128
- "y": {
129
- "type": "number"
130
- },
131
- "width": {
132
- "type": "number"
133
- },
134
- "height": {
135
- "type": "number"
136
- }
137
- },
138
- "required": [
139
- "x",
140
- "y",
141
- "width",
142
- "height"
143
- ]
144
- }
145
- }
146
- },
147
- "limits": {
148
- "type": "object",
149
- "properties": {
150
- "minTeamsize": {
151
- "anyOf": [
152
- {
153
- "type": "integer"
154
- },
155
- {
156
- "type": "null"
157
- }
158
- ]
159
- },
160
- "maxTeamsize": {
161
- "anyOf": [
162
- {
163
- "type": "integer"
164
- },
165
- {
166
- "type": "null"
167
- }
168
- ]
169
- },
170
- "minRating": {
171
- "anyOf": [
172
- {
173
- "type": "integer"
174
- },
175
- {
176
- "type": "null"
177
- }
178
- ]
179
- },
180
- "maxRating": {
181
- "anyOf": [
182
- {
183
- "type": "integer"
184
- },
185
- {
186
- "type": "null"
187
- }
188
- ]
189
- }
190
- },
191
- "required": [
192
- "minTeamsize",
193
- "maxTeamsize",
194
- "minRating",
195
- "maxRating"
196
- ]
197
- }
198
- },
199
- "required": [
200
- "id",
201
- "name",
202
- "founderId",
203
- "locked",
204
- "passworded",
205
- "playerIds",
206
- "spectatorIds",
207
- "engine",
208
- "game",
209
- "map",
210
- "startAreas",
211
- "limits"
212
- ]
213
- }
214
- },
215
- "required": [
216
- "command",
217
- "status",
218
- "data"
219
- ]
220
- },
221
- {
222
- "type": "object",
223
- "properties": {
224
- "command": {
225
- "const": "lobby/joined/response",
226
- "type": "string"
227
- },
228
- "status": {
229
- "const": "failed",
230
- "type": "string"
231
- },
232
- "reason": {
233
- "anyOf": [
234
- {
235
- "const": "internal_error",
236
- "type": "string"
237
- },
238
- {
239
- "const": "unauthorized",
240
- "type": "string"
241
- },
242
- {
243
- "const": "invalid_command",
244
- "type": "string"
245
- }
246
- ]
247
- }
248
- },
249
- "required": [
250
- "command",
251
- "status",
252
- "reason"
253
- ]
254
- }
255
- ]
1
+ {
2
+ "$id": "lobby/joined/response",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "anyOf": [
6
+ {
7
+ "type": "object",
8
+ "properties": {
9
+ "command": {
10
+ "const": "lobby/joined/response",
11
+ "type": "string"
12
+ },
13
+ "status": {
14
+ "const": "success",
15
+ "type": "string"
16
+ },
17
+ "data": {
18
+ "examples": [
19
+ {
20
+ "id": 27,
21
+ "name": "8v8 | All Welcome",
22
+ "founderId": 822,
23
+ "locked": false,
24
+ "passworded": false,
25
+ "playerIds": [
26
+ 567,
27
+ 232,
28
+ 88,
29
+ 119
30
+ ],
31
+ "spectatorIds": [
32
+ 88
33
+ ],
34
+ "engine": "105.1.1-1821-gaca6f20 BAR105",
35
+ "game": "Beyond All Reason test-23561-0abff7c",
36
+ "map": "Red Comet Remake 1.8",
37
+ "startAreas": {
38
+ "0": {
39
+ "x": 0,
40
+ "y": 0,
41
+ "width": 1,
42
+ "height": 0.3
43
+ },
44
+ "1": {
45
+ "x": 0,
46
+ "y": 0.7,
47
+ "width": 1,
48
+ "height": 0.3
49
+ }
50
+ },
51
+ "limits": {
52
+ "minTeamsize": 3,
53
+ "maxTeamsize": 3,
54
+ "minRating": null,
55
+ "maxRating": 25
56
+ }
57
+ }
58
+ ],
59
+ "type": "object",
60
+ "properties": {
61
+ "id": {
62
+ "type": "integer"
63
+ },
64
+ "name": {
65
+ "type": "string"
66
+ },
67
+ "founderId": {
68
+ "type": "integer"
69
+ },
70
+ "locked": {
71
+ "type": "boolean"
72
+ },
73
+ "passworded": {
74
+ "type": "boolean"
75
+ },
76
+ "playerIds": {
77
+ "type": "array",
78
+ "items": {
79
+ "type": "integer"
80
+ }
81
+ },
82
+ "spectatorIds": {
83
+ "type": "array",
84
+ "items": {
85
+ "type": "integer"
86
+ }
87
+ },
88
+ "engine": {
89
+ "type": "string"
90
+ },
91
+ "game": {
92
+ "type": "string"
93
+ },
94
+ "map": {
95
+ "type": "string"
96
+ },
97
+ "startAreas": {
98
+ "default": {
99
+ "0": {
100
+ "x": 0,
101
+ "y": 0,
102
+ "width": 1,
103
+ "height": 0.3
104
+ },
105
+ "1": {
106
+ "x": 0,
107
+ "y": 0.7,
108
+ "width": 1,
109
+ "height": 0.3
110
+ }
111
+ },
112
+ "type": "object",
113
+ "patternProperties": {
114
+ "^(0|[1-9][0-9]*)$": {
115
+ "examples": [
116
+ {
117
+ "x": 0,
118
+ "y": 0,
119
+ "width": 1,
120
+ "height": 0.3
121
+ }
122
+ ],
123
+ "type": "object",
124
+ "properties": {
125
+ "x": {
126
+ "type": "number"
127
+ },
128
+ "y": {
129
+ "type": "number"
130
+ },
131
+ "width": {
132
+ "type": "number"
133
+ },
134
+ "height": {
135
+ "type": "number"
136
+ }
137
+ },
138
+ "required": [
139
+ "x",
140
+ "y",
141
+ "width",
142
+ "height"
143
+ ]
144
+ }
145
+ }
146
+ },
147
+ "limits": {
148
+ "type": "object",
149
+ "properties": {
150
+ "minTeamsize": {
151
+ "anyOf": [
152
+ {
153
+ "type": "integer"
154
+ },
155
+ {
156
+ "type": "null"
157
+ }
158
+ ]
159
+ },
160
+ "maxTeamsize": {
161
+ "anyOf": [
162
+ {
163
+ "type": "integer"
164
+ },
165
+ {
166
+ "type": "null"
167
+ }
168
+ ]
169
+ },
170
+ "minRating": {
171
+ "anyOf": [
172
+ {
173
+ "type": "integer"
174
+ },
175
+ {
176
+ "type": "null"
177
+ }
178
+ ]
179
+ },
180
+ "maxRating": {
181
+ "anyOf": [
182
+ {
183
+ "type": "integer"
184
+ },
185
+ {
186
+ "type": "null"
187
+ }
188
+ ]
189
+ }
190
+ },
191
+ "required": [
192
+ "minTeamsize",
193
+ "maxTeamsize",
194
+ "minRating",
195
+ "maxRating"
196
+ ]
197
+ }
198
+ },
199
+ "required": [
200
+ "id",
201
+ "name",
202
+ "founderId",
203
+ "locked",
204
+ "passworded",
205
+ "playerIds",
206
+ "spectatorIds",
207
+ "engine",
208
+ "game",
209
+ "map",
210
+ "startAreas",
211
+ "limits"
212
+ ]
213
+ }
214
+ },
215
+ "required": [
216
+ "command",
217
+ "status",
218
+ "data"
219
+ ]
220
+ },
221
+ {
222
+ "type": "object",
223
+ "properties": {
224
+ "command": {
225
+ "const": "lobby/joined/response",
226
+ "type": "string"
227
+ },
228
+ "status": {
229
+ "const": "failed",
230
+ "type": "string"
231
+ },
232
+ "reason": {
233
+ "anyOf": [
234
+ {
235
+ "const": "internal_error",
236
+ "type": "string"
237
+ },
238
+ {
239
+ "const": "unauthorized",
240
+ "type": "string"
241
+ },
242
+ {
243
+ "const": "invalid_command",
244
+ "type": "string"
245
+ }
246
+ ]
247
+ }
248
+ },
249
+ "required": [
250
+ "command",
251
+ "status",
252
+ "reason"
253
+ ]
254
+ }
255
+ ]
256
256
  }
@@ -1,15 +1,15 @@
1
- {
2
- "$id": "lobby/leave/request",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "type": "object",
6
- "properties": {
7
- "command": {
8
- "const": "lobby/leave/request",
9
- "type": "string"
10
- }
11
- },
12
- "required": [
13
- "command"
14
- ]
1
+ {
2
+ "$id": "lobby/leave/request",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "type": "object",
6
+ "properties": {
7
+ "command": {
8
+ "const": "lobby/leave/request",
9
+ "type": "string"
10
+ }
11
+ },
12
+ "required": [
13
+ "command"
14
+ ]
15
15
  }