omniarena-types 1.45.0 → 1.47.0
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.
- package/dist/index.d.ts +10 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -172,7 +172,7 @@ export type UserDto = {
|
|
|
172
172
|
username: string;
|
|
173
173
|
displayName: string;
|
|
174
174
|
title: string;
|
|
175
|
-
|
|
175
|
+
avatarImageId: string | null;
|
|
176
176
|
elo: number;
|
|
177
177
|
wins: number;
|
|
178
178
|
losses: number;
|
|
@@ -209,7 +209,7 @@ export type PostDto = {
|
|
|
209
209
|
creator: {
|
|
210
210
|
id: string;
|
|
211
211
|
username: string;
|
|
212
|
-
|
|
212
|
+
avatarImageId: string;
|
|
213
213
|
};
|
|
214
214
|
likes: number;
|
|
215
215
|
dislikes: number;
|
|
@@ -228,7 +228,7 @@ export type BattleHistoryPlayerDto = {
|
|
|
228
228
|
id: string;
|
|
229
229
|
username: string;
|
|
230
230
|
displayName: string;
|
|
231
|
-
|
|
231
|
+
avatarImageId: string | null;
|
|
232
232
|
eloBefore: number;
|
|
233
233
|
eloAfter: number;
|
|
234
234
|
};
|
|
@@ -236,10 +236,16 @@ export type LeaderboardEntryDto = {
|
|
|
236
236
|
id: string;
|
|
237
237
|
username: string;
|
|
238
238
|
displayName: string;
|
|
239
|
-
|
|
239
|
+
avatarImageId: string | null;
|
|
240
240
|
elo: number;
|
|
241
241
|
wins: number;
|
|
242
242
|
losses: number;
|
|
243
243
|
streak: number;
|
|
244
244
|
highestStreak: number;
|
|
245
245
|
};
|
|
246
|
+
export type LiveStats = {
|
|
247
|
+
playersOnline: number;
|
|
248
|
+
playersInBattle: number;
|
|
249
|
+
characterCount: number;
|
|
250
|
+
playerCount: number;
|
|
251
|
+
};
|