@xoxno/types 1.0.46 → 1.0.48

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.
@@ -2,7 +2,7 @@ import { EventGuestProfile } from './event-guest.doc';
2
2
  import { EventInvitation } from './event-invitation.doc';
3
3
  import { EventScanStatus, EventScanMessage } from './event-scan-status.enum';
4
4
  import { TicketProfileSummary } from './event-ticket-profile.doc';
5
- import { NftDoc } from '../token/nft-details.doc';
5
+ import { NftProps } from '../token/nft-details.doc';
6
6
  export declare enum EventTicketQrType {
7
7
  BADGE = "badge",
8
8
  OFFLINE = "offline",
@@ -21,7 +21,7 @@ export declare class TicketValidationResult {
21
21
  message: EventScanMessage;
22
22
  guest?: EventGuestProfile;
23
23
  invitation?: EventInvitation;
24
- nfts?: NftDoc[];
24
+ nfts?: NftProps[];
25
25
  availableTickets?: TicketSelection[];
26
26
  }
27
27
  export declare class QRBody {
@@ -105,7 +105,7 @@ __decorate([
105
105
  __decorate([
106
106
  (0, swagger_1.ApiProperty)({
107
107
  description: 'NFTs used for check in, if any',
108
- type: [nft_details_doc_1.NftDoc],
108
+ type: [nft_details_doc_1.NftProps],
109
109
  required: false,
110
110
  }),
111
111
  __metadata("design:type", Array)
@@ -1,11 +1,4 @@
1
1
  import { XoxnoStakingReward } from '../../cosmos-db/documents/staking/staking-pool-doc';
2
- export declare class RewardDto {
3
- tokenIdentifier: string;
4
- tokenNonce: number;
5
- amount: string;
6
- amountShort: number;
7
- usdValue: number;
8
- }
9
2
  export declare class UserStakingSummaryDto {
10
3
  collection: string;
11
4
  stakedCount: number;
@@ -13,7 +6,6 @@ export declare class UserStakingSummaryDto {
13
6
  isVerified: boolean;
14
7
  profile: string;
15
8
  banner: string;
16
- reward: RewardDto[];
17
9
  poolIds: number[];
18
10
  userReward: XoxnoStakingReward[];
19
11
  }
@@ -9,37 +9,8 @@ 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.UserStakingSummaryDto = exports.RewardDto = void 0;
12
+ exports.UserStakingSummaryDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- class RewardDto {
15
- }
16
- exports.RewardDto = RewardDto;
17
- __decorate([
18
- (0, swagger_1.ApiProperty)({ description: 'Token identifier', example: 'WXMEX-794dbd' }),
19
- __metadata("design:type", String)
20
- ], RewardDto.prototype, "tokenIdentifier", void 0);
21
- __decorate([
22
- (0, swagger_1.ApiProperty)({ description: 'Token nonce', example: 0 }),
23
- __metadata("design:type", Number)
24
- ], RewardDto.prototype, "tokenNonce", void 0);
25
- __decorate([
26
- (0, swagger_1.ApiProperty)({
27
- description: 'Amount of reward',
28
- example: '140649439520333680917622',
29
- }),
30
- __metadata("design:type", String)
31
- ], RewardDto.prototype, "amount", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)({ description: 'Short amount of reward', example: 140649.4395 }),
34
- __metadata("design:type", Number)
35
- ], RewardDto.prototype, "amountShort", void 0);
36
- __decorate([
37
- (0, swagger_1.ApiProperty)({
38
- description: 'USD value of reward',
39
- example: 0.6295776701542604,
40
- }),
41
- __metadata("design:type", Number)
42
- ], RewardDto.prototype, "usdValue", void 0);
43
14
  class UserStakingSummaryDto {
44
15
  }
45
16
  exports.UserStakingSummaryDto = UserStakingSummaryDto;
@@ -73,11 +44,3 @@ __decorate([
73
44
  }),
74
45
  __metadata("design:type", String)
75
46
  ], UserStakingSummaryDto.prototype, "banner", void 0);
76
- __decorate([
77
- (0, swagger_1.ApiProperty)({
78
- type: RewardDto,
79
- isArray: true,
80
- description: 'Rewards information',
81
- }),
82
- __metadata("design:type", Array)
83
- ], UserStakingSummaryDto.prototype, "reward", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",