@xoxno/types 1.0.236 → 1.0.238

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.
@@ -22,7 +22,7 @@ export declare class NftMedia {
22
22
  originalMedia: OriginalMedia;
23
23
  }
24
24
  declare class NftStats {
25
- likedCount?: number;
25
+ likeCount?: number;
26
26
  constructor(props?: Partial<NftStats>);
27
27
  }
28
28
  declare class NftDocBase {
@@ -78,13 +78,13 @@ __decorate([
78
78
  class NftStats {
79
79
  constructor(props) {
80
80
  Object.assign(this, props);
81
- this.likedCount = props?.likedCount ?? 0;
81
+ this.likeCount = props?.likeCount ?? 0;
82
82
  }
83
83
  }
84
84
  __decorate([
85
85
  (0, swagger_1.ApiProperty)({ type: 'integer', required: false }),
86
86
  __metadata("design:type", Number)
87
- ], NftStats.prototype, "likedCount", void 0);
87
+ ], NftStats.prototype, "likeCount", void 0);
88
88
  class NftDocBase {
89
89
  constructor(props) {
90
90
  this.dataType = token_data_enum_1.TokenDataType.Nft;
@@ -20,6 +20,7 @@ class MintStageDto {
20
20
  constructor(props) {
21
21
  this.dataType = enums_1.CollectionDataType.MintStage;
22
22
  Object.assign(this, props);
23
+ this.id = `${this.collection}-${this.name}-${this.dataType}`;
23
24
  }
24
25
  }
25
26
  exports.MintStageDto = MintStageDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.236",
3
+ "version": "1.0.238",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {