omniarena-types 1.46.0 → 1.48.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -4
  2. 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
- avatarUrl: string | null;
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
- avatarUrl: string;
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
- avatarUrl: string | null;
231
+ avatarImageId: string | null;
232
232
  eloBefore: number;
233
233
  eloAfter: number;
234
234
  };
@@ -236,7 +236,7 @@ export type LeaderboardEntryDto = {
236
236
  id: string;
237
237
  username: string;
238
238
  displayName: string;
239
- avatarUrl: string | null;
239
+ avatarImageId: string | null;
240
240
  elo: number;
241
241
  wins: number;
242
242
  losses: number;
@@ -249,3 +249,8 @@ export type LiveStats = {
249
249
  characterCount: number;
250
250
  playerCount: number;
251
251
  };
252
+ export type ImageDto = {
253
+ id: string;
254
+ url: string;
255
+ createdAt: Date;
256
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.46.0",
3
+ "version": "1.48.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [