@oxyfoo/gamelife-types 2.2.6 → 2.2.7

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.
@@ -1,3 +1,5 @@
1
+ import { AvatarName, ItemName } from '@oxyfoo/avatar-factory';
2
+ export { AvatarName, ItemName };
1
3
  export type ConnectionState = 'idle' | 'connecting' | 'connected' | 'disconnected' | 'wrong-ssl-pinning' | 'error';
2
4
  export type ServerStatus = 'offline' | 'ok' | 'free' | 'waitMailConfirmation' | 'newDevice' | 'remDevice' | 'maintenance' | 'update' | 'downdate' | 'limitDevice' | 'error';
3
5
  export type LoginStatus = 'ok' | 'free' | 'waitMailConfirmation' | 'newDevice' | 'remDevice' | 'limitDevice' | 'error';
@@ -9,12 +11,12 @@ export interface LeaderboardPlayer {
9
11
  title: number;
10
12
  weeklyXP: number;
11
13
  avatar: {
12
- Skin: string;
14
+ Skin: AvatarName;
13
15
  SkinColor: number;
14
- Hair: string;
15
- Top: string;
16
- Bottom: string;
17
- Shoes: string;
16
+ Hair: ItemName;
17
+ Top: ItemName;
18
+ Bottom: ItemName;
19
+ Shoes: ItemName;
18
20
  };
19
21
  }
20
22
  export interface ShopChestStats {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyfoo/gamelife-types",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "GameLife Types - TypeScript types for the GameLife project.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",