@xoxno/types 1.0.123 → 1.0.125

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.
@@ -21,5 +21,6 @@ export declare class UserProfileDoc {
21
21
  chain: ActivityChain;
22
22
  _ts: number;
23
23
  id: string;
24
+ isBoberBattleUser: boolean;
24
25
  constructor(props?: Partial<UserProfileDoc>);
25
26
  }
@@ -33,6 +33,7 @@ class UserProfileDoc {
33
33
  this.chain = common_enum_1.ActivityChain.MVX;
34
34
  this._ts = 0;
35
35
  this.id = '';
36
+ this.isBoberBattleUser = false;
36
37
  Object.assign(this, props);
37
38
  this.id = `${this.address}-${this.dataType}`;
38
39
  }
@@ -6,6 +6,7 @@ declare class TokenDataDocBase {
6
6
  name: string;
7
7
  svgUrl: string;
8
8
  pngUrl: string;
9
+ chain: ActivityChain;
9
10
  constructor(props?: Partial<TokenDataDocBase>);
10
11
  }
11
12
  export declare class TokenDataDoc extends TokenDataDocBase {
@@ -15,7 +16,6 @@ export declare class TokenDataDoc extends TokenDataDocBase {
15
16
  type: string;
16
17
  category: string[];
17
18
  _ts: number;
18
- chain: ActivityChain;
19
19
  constructor(props?: Partial<TokenDataDoc>);
20
20
  }
21
21
  export declare class TokenDataDocHydrated extends TokenDataDoc {
@@ -14,6 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
14
14
  const enums_1 = require("../../enums");
15
15
  class TokenDataDocBase {
16
16
  constructor(props) {
17
+ this.chain = enums_1.ActivityChain.MVX;
17
18
  Object.assign(this, props);
18
19
  }
19
20
  }
@@ -22,7 +23,6 @@ class TokenDataDoc extends TokenDataDocBase {
22
23
  super(props);
23
24
  this.dataType = enums_1.TokenDataType.FungibleTokenInfo;
24
25
  this.category = ['userInventory'];
25
- this.chain = enums_1.ActivityChain.MVX;
26
26
  Object.assign(this, props);
27
27
  }
28
28
  }
@@ -10,9 +10,9 @@ declare class UserSettingsDto {
10
10
  export declare class UserProfileDto extends UserProfileDoc {
11
11
  userSettings: UserSettingsDto;
12
12
  }
13
- declare type UserUpdateDTO_base = Pick<UserProfileDto, "description" | "profile" | "socials">;
13
+ declare type UserUpdateDTO_base = Pick<UserProfileDto, "description" | "profile" | "socials" | "isBoberBattleUser">;
14
14
  export declare type UserUpdateDTO = UserUpdateDTO_base ;
15
- declare const UserUpdateDTONest_base: import("@nestjs/common").Type<Pick<UserProfileDto, "description" | "profile" | "socials">>;
15
+ declare const UserUpdateDTONest_base: import("@nestjs/common").Type<Pick<UserProfileDto, "description" | "profile" | "socials" | "isBoberBattleUser">>;
16
16
  export declare class UserUpdateDTONest extends UserUpdateDTONest_base {
17
17
  }
18
18
  export {};
@@ -50,6 +50,7 @@ class UserUpdateDTO extends (0, swagger_1.PickType)(UserProfileDto, [
50
50
  'socials',
51
51
  'description',
52
52
  'profile',
53
+ 'isBoberBattleUser',
53
54
  ]) {
54
55
  }
55
56
  exports.UserUpdateDTO = UserUpdateDTO;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.123",
3
+ "version": "1.0.125",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {