@xoxno/types 1.0.39 → 1.0.41

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.
@@ -62,7 +62,6 @@ export declare class ExtraProperties {
62
62
  }
63
63
  export declare class NftProps extends NftDoc {
64
64
  constructor(props?: Partial<NftDoc>);
65
- receiverIsNotOwner?: boolean;
66
65
  balance?: number;
67
66
  balanceLong?: string;
68
67
  unboundDaysLeft?: number;
@@ -363,10 +363,6 @@ class NftProps extends NftDoc {
363
363
  }
364
364
  }
365
365
  exports.NftProps = NftProps;
366
- __decorate([
367
- (0, swagger_1.ApiProperty)({ type: Boolean, required: false }),
368
- __metadata("design:type", Boolean)
369
- ], NftProps.prototype, "receiverIsNotOwner", void 0);
370
366
  __decorate([
371
367
  (0, swagger_1.ApiProperty)({
372
368
  type: Number,
@@ -3,10 +3,13 @@ export declare class InventorySummaryDto {
3
3
  inventoryCount: number;
4
4
  listedCount: number;
5
5
  stakedCount: number;
6
+ }
7
+ export declare class InventorySummaryDtoHydrated extends InventorySummaryDto {
6
8
  floorPrice: number;
7
9
  name: string;
8
10
  isVerified: boolean;
9
11
  isVisible: boolean;
10
12
  profile: string;
13
+ banner: string;
11
14
  value: number;
12
15
  }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.InventorySummaryDto = void 0;
12
+ exports.InventorySummaryDtoHydrated = exports.InventorySummaryDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  class InventorySummaryDto {
@@ -35,33 +35,41 @@ __decorate([
35
35
  (0, class_validator_1.IsNumber)(),
36
36
  __metadata("design:type", Number)
37
37
  ], InventorySummaryDto.prototype, "stakedCount", void 0);
38
+ class InventorySummaryDtoHydrated extends InventorySummaryDto {
39
+ }
40
+ exports.InventorySummaryDtoHydrated = InventorySummaryDtoHydrated;
38
41
  __decorate([
39
42
  (0, swagger_1.ApiProperty)({ description: 'Floor price of the collection' }),
40
43
  (0, class_validator_1.IsNumber)(),
41
44
  __metadata("design:type", Number)
42
- ], InventorySummaryDto.prototype, "floorPrice", void 0);
45
+ ], InventorySummaryDtoHydrated.prototype, "floorPrice", void 0);
43
46
  __decorate([
44
47
  (0, swagger_1.ApiProperty)({ description: 'Name of the collection' }),
45
48
  (0, class_validator_1.IsString)(),
46
49
  __metadata("design:type", String)
47
- ], InventorySummaryDto.prototype, "name", void 0);
50
+ ], InventorySummaryDtoHydrated.prototype, "name", void 0);
48
51
  __decorate([
49
52
  (0, swagger_1.ApiProperty)({ description: 'Verification status of the collection' }),
50
53
  (0, class_validator_1.IsBoolean)(),
51
54
  __metadata("design:type", Boolean)
52
- ], InventorySummaryDto.prototype, "isVerified", void 0);
55
+ ], InventorySummaryDtoHydrated.prototype, "isVerified", void 0);
53
56
  __decorate([
54
57
  (0, swagger_1.ApiProperty)({ description: 'Visibility status of the collection' }),
55
58
  (0, class_validator_1.IsBoolean)(),
56
59
  __metadata("design:type", Boolean)
57
- ], InventorySummaryDto.prototype, "isVisible", void 0);
60
+ ], InventorySummaryDtoHydrated.prototype, "isVisible", void 0);
58
61
  __decorate([
59
62
  (0, swagger_1.ApiProperty)({ description: 'Profile picture URL of the collection' }),
60
63
  (0, class_validator_1.IsUrl)(),
61
64
  __metadata("design:type", String)
62
- ], InventorySummaryDto.prototype, "profile", void 0);
65
+ ], InventorySummaryDtoHydrated.prototype, "profile", void 0);
66
+ __decorate([
67
+ (0, swagger_1.ApiProperty)({ description: 'Banner URL of the collection' }),
68
+ (0, class_validator_1.IsUrl)(),
69
+ __metadata("design:type", String)
70
+ ], InventorySummaryDtoHydrated.prototype, "banner", void 0);
63
71
  __decorate([
64
72
  (0, swagger_1.ApiProperty)({ description: 'Value of the collection' }),
65
73
  (0, class_validator_1.IsNumber)(),
66
74
  __metadata("design:type", Number)
67
- ], InventorySummaryDto.prototype, "value", void 0);
75
+ ], InventorySummaryDtoHydrated.prototype, "value", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",