@xoxno/types 1.0.104 → 1.0.106
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.
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-profile.doc.d.ts +2 -2
- package/dist/entities/staking-data/owned-services.dto.d.ts +4 -4
- package/dist/entities/staking-data/owned-services.dto.js +2 -2
- package/dist/requests/collection/creator-details.dto.d.ts +3 -3
- package/dist/requests/collection/creator-details.dto.js +2 -2
- package/dist/requests/nft-activity-data/user-stats.js +5 -0
- package/dist/requests/nft-data/inventory-summary.d.ts +2 -0
- package/dist/requests/nft-data/inventory-summary.js +5 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventCategory } from '../../../enums/event-category.enum';
|
|
1
|
+
import { EventCategory, EventSubCategory } from '../../../enums/event-category.enum';
|
|
2
2
|
import { EventLocationDto, EventSeoDto, RegistrationDetailsDto } from './event-profile-create.dto';
|
|
3
3
|
export declare class EventProfileEditDto {
|
|
4
4
|
title?: string;
|
|
@@ -10,5 +10,5 @@ export declare class EventProfileEditDto {
|
|
|
10
10
|
slug?: string;
|
|
11
11
|
seo?: EventSeoDto;
|
|
12
12
|
category?: EventCategory;
|
|
13
|
-
subCategory?:
|
|
13
|
+
subCategory?: EventSubCategory;
|
|
14
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventCategory } from '../../../enums/event-category.enum';
|
|
1
|
+
import { EventCategory, EventSubCategory } from '../../../enums/event-category.enum';
|
|
2
2
|
import { EventGuestStatus } from '../../../enums/event-guest-status.enum';
|
|
3
3
|
import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
|
|
4
4
|
import { EventTicketQrType } from '../../../enums/ticketing-visibility.enum';
|
|
@@ -32,7 +32,7 @@ export declare class EventProfileDoc {
|
|
|
32
32
|
slug: string;
|
|
33
33
|
profile: string;
|
|
34
34
|
category: EventCategory;
|
|
35
|
-
subCategory?:
|
|
35
|
+
subCategory?: EventSubCategory;
|
|
36
36
|
background?: string;
|
|
37
37
|
registration: RegistrationDetailsDto;
|
|
38
38
|
premium: PremiumType;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CollectionMintProfileDocHydrated } from '../../cosmos-db/documents/collection/mintProfile';
|
|
2
2
|
import { StakingSummary } from '../../cosmos-db/documents/staking/staking-pool-doc';
|
|
3
|
-
import {
|
|
3
|
+
import { EventProfile } from '../../cosmos-db/documents/ticketing/event-profile.doc';
|
|
4
4
|
import { CreatorProfileDoc } from '../../cosmos-db/documents/user/user-creator-profile.doc';
|
|
5
5
|
export declare class OwnedServicesDto {
|
|
6
|
-
mintProfiles:
|
|
6
|
+
mintProfiles: CollectionMintProfileDocHydrated[];
|
|
7
7
|
stakingPools: StakingSummary[];
|
|
8
|
-
events:
|
|
8
|
+
events: EventProfile[];
|
|
9
9
|
creatorProfile: CreatorProfileDoc;
|
|
10
10
|
address: string;
|
|
11
11
|
}
|
|
@@ -19,7 +19,7 @@ class OwnedServicesDto {
|
|
|
19
19
|
}
|
|
20
20
|
exports.OwnedServicesDto = OwnedServicesDto;
|
|
21
21
|
__decorate([
|
|
22
|
-
(0, swagger_1.ApiProperty)({ type: mintProfile_1.
|
|
22
|
+
(0, swagger_1.ApiProperty)({ type: mintProfile_1.CollectionMintProfileDocHydrated, isArray: true }),
|
|
23
23
|
__metadata("design:type", Array)
|
|
24
24
|
], OwnedServicesDto.prototype, "mintProfiles", void 0);
|
|
25
25
|
__decorate([
|
|
@@ -27,7 +27,7 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", Array)
|
|
28
28
|
], OwnedServicesDto.prototype, "stakingPools", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, swagger_1.ApiProperty)({ type: event_profile_doc_1.
|
|
30
|
+
(0, swagger_1.ApiProperty)({ type: event_profile_doc_1.EventProfile, isArray: true }),
|
|
31
31
|
__metadata("design:type", Array)
|
|
32
32
|
], OwnedServicesDto.prototype, "events", void 0);
|
|
33
33
|
__decorate([
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ShortCollectionInfoDoc } from '../../cosmos-db/documents/short/short-collection-info.doc';
|
|
2
1
|
import { CollectionMintProfileDoc } from '../../cosmos-db/documents/collection/mintProfile';
|
|
3
|
-
import {
|
|
2
|
+
import { ShortCollectionInfoDoc } from '../../cosmos-db/documents/short/short-collection-info.doc';
|
|
3
|
+
import { EventProfile } from '../../cosmos-db/documents/ticketing/event-profile.doc';
|
|
4
4
|
import { CreatorProfileDoc } from '../../cosmos-db/documents/user/user-creator-profile.doc';
|
|
5
5
|
declare class MintingListingDto extends CollectionMintProfileDoc {
|
|
6
6
|
collectionInfo: ShortCollectionInfoDoc;
|
|
7
7
|
}
|
|
8
8
|
export declare class CreatorDetailsDto extends CreatorProfileDoc {
|
|
9
9
|
listing?: MintingListingDto[];
|
|
10
|
-
events?:
|
|
10
|
+
events?: EventProfile[];
|
|
11
11
|
}
|
|
12
12
|
export {};
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreatorDetailsDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const short_collection_info_doc_1 = require("../../cosmos-db/documents/short/short-collection-info.doc");
|
|
15
14
|
const mintProfile_1 = require("../../cosmos-db/documents/collection/mintProfile");
|
|
15
|
+
const short_collection_info_doc_1 = require("../../cosmos-db/documents/short/short-collection-info.doc");
|
|
16
16
|
const event_profile_doc_1 = require("../../cosmos-db/documents/ticketing/event-profile.doc");
|
|
17
17
|
const user_creator_profile_doc_1 = require("../../cosmos-db/documents/user/user-creator-profile.doc");
|
|
18
18
|
class MintingListingDto extends mintProfile_1.CollectionMintProfileDoc {
|
|
@@ -29,6 +29,6 @@ __decorate([
|
|
|
29
29
|
__metadata("design:type", Array)
|
|
30
30
|
], CreatorDetailsDto.prototype, "listing", void 0);
|
|
31
31
|
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ type: event_profile_doc_1.
|
|
32
|
+
(0, swagger_1.ApiProperty)({ type: event_profile_doc_1.EventProfile, isArray: true, required: false }),
|
|
33
33
|
__metadata("design:type", Array)
|
|
34
34
|
], CreatorDetailsDto.prototype, "events", void 0);
|
|
@@ -14,6 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const short_nft_doc_1 = require("../../cosmos-db/documents/short/short-nft.doc");
|
|
17
|
+
const common_enum_1 = require("../../enums/common.enum");
|
|
17
18
|
class WalletDto {
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
@@ -56,6 +57,10 @@ __decorate([
|
|
|
56
57
|
(0, class_validator_1.IsNumber)(),
|
|
57
58
|
__metadata("design:type", Number)
|
|
58
59
|
], WalletDto.prototype, "followCount", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, swagger_1.ApiProperty)({ enum: common_enum_1.ActivityChain, required: false }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], WalletDto.prototype, "chain", void 0);
|
|
59
64
|
class PriceDataDto {
|
|
60
65
|
}
|
|
61
66
|
__decorate([
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ActivityChain } from '../../enums/common.enum';
|
|
1
2
|
export declare class InventorySummaryDto {
|
|
2
3
|
collection: string;
|
|
3
4
|
inventoryCount: number;
|
|
@@ -12,4 +13,5 @@ export declare class InventorySummaryDtoHydrated extends InventorySummaryDto {
|
|
|
12
13
|
profile: string;
|
|
13
14
|
banner: string;
|
|
14
15
|
value: number;
|
|
16
|
+
chain?: ActivityChain;
|
|
15
17
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
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
|
+
const common_enum_1 = require("../../enums/common.enum");
|
|
15
16
|
class InventorySummaryDto {
|
|
16
17
|
}
|
|
17
18
|
exports.InventorySummaryDto = InventorySummaryDto;
|
|
@@ -73,3 +74,7 @@ __decorate([
|
|
|
73
74
|
(0, class_validator_1.IsNumber)(),
|
|
74
75
|
__metadata("design:type", Number)
|
|
75
76
|
], InventorySummaryDtoHydrated.prototype, "value", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, swagger_1.ApiProperty)({ enum: common_enum_1.ActivityChain, required: false }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], InventorySummaryDtoHydrated.prototype, "chain", void 0);
|