omniarena-types 1.72.0 → 1.74.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 +3 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -211,6 +211,7 @@ export type GameSkill = {
211
211
  };
212
212
  export type GameCharacter = {
213
213
  id: number;
214
+ unplayable: boolean;
214
215
  skills: GameSkill[];
215
216
  };
216
217
  export type UserDto = {
@@ -226,8 +227,10 @@ export type UserDto = {
226
227
  highestStreak: number;
227
228
  shards: number;
228
229
  skinId: string;
230
+ roles: UserRole[];
229
231
  joinedOn: Date;
230
232
  };
233
+ export type UserRole = 'user' | 'admin' | 'mod' | 'bot' | 'skin_maker';
231
234
  export type UserSummaryDto = {
232
235
  id: string;
233
236
  username: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.72.0",
3
+ "version": "1.74.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [