omniarena-types 1.56.0 → 1.58.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 +20 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -224,6 +224,26 @@ export type UserDto = {
224
224
  skinId: string;
225
225
  joinedOn: Date;
226
226
  };
227
+ export type UserSummaryDto = {
228
+ id: string;
229
+ username: string;
230
+ displayName: string;
231
+ title: string;
232
+ avatarImageId: string | null;
233
+ elo: number;
234
+ wins: number;
235
+ losses: number;
236
+ streak: number;
237
+ highestStreak: number;
238
+ skinId: string;
239
+ joinedOn: Date;
240
+ };
241
+ export type UserHeader = {
242
+ id: string;
243
+ username: string;
244
+ displayName: string;
245
+ avatarImageId: string;
246
+ };
227
247
  export type RegisterData = {
228
248
  username: string;
229
249
  password: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.56.0",
3
+ "version": "1.58.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [