@xoxno/types 1.0.92 → 1.0.94
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/short/short-collection-info.doc.d.ts +10 -0
- package/dist/{requests/collection/collection-info.dto.js → cosmos-db/documents/short/short-collection-info.doc.js} +20 -5
- package/dist/cosmos-db/documents/short/short-collection.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/short/short-collection.doc.js +0 -3
- package/dist/cosmos-db/documents/short/short-nft-collection-info.doc.d.ts +7 -0
- package/dist/cosmos-db/documents/short/short-nft-collection-info.doc.js +23 -0
- package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/token/nft-details.doc.js +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/requests/collection/creator-details.dto.d.ts +2 -2
- package/dist/requests/collection/creator-details.dto.js +3 -3
- package/dist/requests/collection/creator-drop-info.d.ts +2 -2
- package/dist/requests/collection/creator-drop-info.js +3 -3
- package/package.json +1 -1
- package/dist/requests/collection/collection-info.dto.d.ts +0 -4
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CollectionProfileDoc } from '../collection/profile';
|
|
2
|
+
declare type ShortCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "banner" | "chain" | "owner" | "pinnedAtDrops" | "collectionSize">;
|
|
3
|
+
export declare type ShortCollectionInfoDoc = ShortCollectionInfoDoc_base & {
|
|
4
|
+
volume: number;
|
|
5
|
+
};
|
|
6
|
+
declare const ShortCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "banner" | "chain" | "owner" | "pinnedAtDrops" | "collectionSize">>;
|
|
7
|
+
export declare class ShortCollectionInfoDocNest extends ShortCollectionInfoDocNest_base {
|
|
8
|
+
volume: number;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -9,13 +9,28 @@ 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.
|
|
12
|
+
exports.ShortCollectionInfoDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const
|
|
15
|
-
class
|
|
14
|
+
const profile_1 = require("../collection/profile");
|
|
15
|
+
class ShortCollectionInfoDoc extends (0, swagger_1.PickType)(profile_1.CollectionProfileDoc, [
|
|
16
|
+
'name',
|
|
17
|
+
'isVerified',
|
|
18
|
+
'isVisible',
|
|
19
|
+
'profile',
|
|
20
|
+
'description',
|
|
21
|
+
'chain',
|
|
22
|
+
'pinnedAtDrops',
|
|
23
|
+
'collectionSize',
|
|
24
|
+
'followCount',
|
|
25
|
+
'holdersCount',
|
|
26
|
+
'owner',
|
|
27
|
+
'banner',
|
|
28
|
+
]) {
|
|
16
29
|
}
|
|
17
|
-
exports.
|
|
30
|
+
exports.ShortCollectionInfoDoc = ShortCollectionInfoDoc;
|
|
18
31
|
__decorate([
|
|
19
32
|
(0, swagger_1.ApiProperty)({ example: 1230.34 }),
|
|
20
33
|
__metadata("design:type", Number)
|
|
21
|
-
],
|
|
34
|
+
], ShortCollectionInfoDoc.prototype, "volume", void 0);
|
|
35
|
+
|
|
36
|
+
exports.ShortCollectionInfoDocNest = ShortCollectionInfoDoc;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CollectionProfileDoc } from '../collection/profile';
|
|
2
|
-
declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "
|
|
2
|
+
declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "chain" | "pinnedAtDrops" | "collectionSize">;
|
|
3
3
|
export declare type ShortCollectionDoc = ShortCollectionDoc_base ;
|
|
4
|
-
declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "
|
|
4
|
+
declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "chain" | "pinnedAtDrops" | "collectionSize">>;
|
|
5
5
|
export declare class ShortCollectionDocNest extends ShortCollectionDocNest_base {
|
|
6
6
|
}
|
|
7
7
|
export {};
|
|
@@ -8,15 +8,12 @@ class ShortCollectionDoc extends (0, swagger_1.PickType)(profile_1.CollectionPro
|
|
|
8
8
|
'isVerified',
|
|
9
9
|
'isVisible',
|
|
10
10
|
'profile',
|
|
11
|
-
'banner',
|
|
12
11
|
'description',
|
|
13
12
|
'chain',
|
|
14
13
|
'pinnedAtDrops',
|
|
15
14
|
'collectionSize',
|
|
16
15
|
'followCount',
|
|
17
16
|
'holdersCount',
|
|
18
|
-
'socials',
|
|
19
|
-
'owner',
|
|
20
17
|
]) {
|
|
21
18
|
}
|
|
22
19
|
exports.ShortCollectionDoc = ShortCollectionDoc;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CollectionProfileDoc } from '../collection/profile';
|
|
2
|
+
declare type ShortNftCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "banner" | "chain" | "roles" | "customConfig" | "collectionSize">;
|
|
3
|
+
export declare type ShortNftCollectionInfoDoc = ShortNftCollectionInfoDoc_base ;
|
|
4
|
+
declare const ShortNftCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "banner" | "chain" | "roles" | "customConfig" | "collectionSize">>;
|
|
5
|
+
export declare class ShortNftCollectionInfoDocNest extends ShortNftCollectionInfoDocNest_base {
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShortNftCollectionInfoDoc = void 0;
|
|
4
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
5
|
+
const profile_1 = require("../collection/profile");
|
|
6
|
+
class ShortNftCollectionInfoDoc extends (0, swagger_1.PickType)(profile_1.CollectionProfileDoc, [
|
|
7
|
+
'name',
|
|
8
|
+
'isVerified',
|
|
9
|
+
'isVisible',
|
|
10
|
+
'profile',
|
|
11
|
+
'banner',
|
|
12
|
+
'collectionSize',
|
|
13
|
+
'description',
|
|
14
|
+
'holdersCount',
|
|
15
|
+
'followCount',
|
|
16
|
+
'customConfig',
|
|
17
|
+
'roles',
|
|
18
|
+
'chain',
|
|
19
|
+
]) {
|
|
20
|
+
}
|
|
21
|
+
exports.ShortNftCollectionInfoDoc = ShortNftCollectionInfoDoc;
|
|
22
|
+
|
|
23
|
+
exports.ShortNftCollectionInfoDocNest = ShortNftCollectionInfoDoc;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
2
2
|
import { ActivityChain, EsdtTokenSubType, EsdtTokenType } from '../../../enums/common.enum';
|
|
3
3
|
import { TokenDataType } from '../../../enums/token-data.enum';
|
|
4
|
-
import {
|
|
4
|
+
import { ShortNftCollectionInfoDoc } from '../short/short-nft-collection-info.doc';
|
|
5
5
|
import { NftMetadata } from './nft-metadata';
|
|
6
6
|
import { NftSaleInfo, NftSaleInfoHydrated } from './nft-sale-info';
|
|
7
7
|
export declare class NFTEventData {
|
|
@@ -67,7 +67,7 @@ export declare class NftDocHydrated extends NftDocBase {
|
|
|
67
67
|
currentOwner?: OwnerDto;
|
|
68
68
|
owner?: OwnerDto;
|
|
69
69
|
saleInfo?: NftSaleInfoHydrated;
|
|
70
|
-
collectionInfo:
|
|
70
|
+
collectionInfo: ShortNftCollectionInfoDoc;
|
|
71
71
|
balance?: number;
|
|
72
72
|
balanceLong?: string;
|
|
73
73
|
unboundDaysLeft?: number;
|
|
@@ -14,7 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const owner_dto_1 = require("../../../common/owner.dto");
|
|
15
15
|
const common_enum_1 = require("../../../enums/common.enum");
|
|
16
16
|
const token_data_enum_1 = require("../../../enums/token-data.enum");
|
|
17
|
-
const
|
|
17
|
+
const short_nft_collection_info_doc_1 = require("../short/short-nft-collection-info.doc");
|
|
18
18
|
const nft_metadata_1 = require("./nft-metadata");
|
|
19
19
|
const nft_sale_info_1 = require("./nft-sale-info");
|
|
20
20
|
// Sale: Check Last Owner nfts from GuestDoc [1,2,3] -> 0 -> Delete GuestDoc > 0: Edit GuestDoc nftIds [1,2]
|
|
@@ -397,10 +397,10 @@ __decorate([
|
|
|
397
397
|
], NftDocHydrated.prototype, "saleInfo", void 0);
|
|
398
398
|
__decorate([
|
|
399
399
|
(0, swagger_1.ApiProperty)({
|
|
400
|
-
type:
|
|
400
|
+
type: short_nft_collection_info_doc_1.ShortNftCollectionInfoDoc,
|
|
401
401
|
description: 'The extra information about the collection of this specific NFT',
|
|
402
402
|
}),
|
|
403
|
-
__metadata("design:type",
|
|
403
|
+
__metadata("design:type", short_nft_collection_info_doc_1.ShortNftCollectionInfoDoc)
|
|
404
404
|
], NftDocHydrated.prototype, "collectionInfo", void 0);
|
|
405
405
|
__decorate([
|
|
406
406
|
(0, swagger_1.ApiProperty)({
|
package/dist/index.d.ts
CHANGED
|
@@ -42,8 +42,10 @@ export * from './cosmos-db/documents/lending/lending-market-profile.doc';
|
|
|
42
42
|
export * from './cosmos-db/documents/lending/lending-nft-attributes';
|
|
43
43
|
export * from './cosmos-db/documents/lending/lending-token-emode-profile.doc';
|
|
44
44
|
export * from './cosmos-db/documents/notification/notification.doc';
|
|
45
|
+
export * from './cosmos-db/documents/short/short-collection-info.doc';
|
|
45
46
|
export * from './cosmos-db/documents/short/short-collection.doc';
|
|
46
47
|
export * from './cosmos-db/documents/short/short-creator.doc';
|
|
48
|
+
export * from './cosmos-db/documents/short/short-nft-collection-info.doc';
|
|
47
49
|
export * from './cosmos-db/documents/short/short-nft.doc';
|
|
48
50
|
export * from './cosmos-db/documents/short/short-voucher.doc';
|
|
49
51
|
export * from './cosmos-db/documents/staking/staking-delegator-doc';
|
|
@@ -218,7 +220,6 @@ export * from './requests/collection/attributes';
|
|
|
218
220
|
export * from './requests/collection/collection-attributes-fp';
|
|
219
221
|
export * from './requests/collection/collection-attributes-map';
|
|
220
222
|
export * from './requests/collection/collection-holders';
|
|
221
|
-
export * from './requests/collection/collection-info.dto';
|
|
222
223
|
export * from './requests/collection/collection-mint-profile.filter';
|
|
223
224
|
export * from './requests/collection/collection-offers.filter';
|
|
224
225
|
export * from './requests/collection/collection-owner.dto';
|
package/dist/index.js
CHANGED
|
@@ -58,8 +58,10 @@ __exportStar(require("./cosmos-db/documents/lending/lending-market-profile.doc")
|
|
|
58
58
|
__exportStar(require("./cosmos-db/documents/lending/lending-nft-attributes"), exports);
|
|
59
59
|
__exportStar(require("./cosmos-db/documents/lending/lending-token-emode-profile.doc"), exports);
|
|
60
60
|
__exportStar(require("./cosmos-db/documents/notification/notification.doc"), exports);
|
|
61
|
+
__exportStar(require("./cosmos-db/documents/short/short-collection-info.doc"), exports);
|
|
61
62
|
__exportStar(require("./cosmos-db/documents/short/short-collection.doc"), exports);
|
|
62
63
|
__exportStar(require("./cosmos-db/documents/short/short-creator.doc"), exports);
|
|
64
|
+
__exportStar(require("./cosmos-db/documents/short/short-nft-collection-info.doc"), exports);
|
|
63
65
|
__exportStar(require("./cosmos-db/documents/short/short-nft.doc"), exports);
|
|
64
66
|
__exportStar(require("./cosmos-db/documents/short/short-voucher.doc"), exports);
|
|
65
67
|
__exportStar(require("./cosmos-db/documents/staking/staking-delegator-doc"), exports);
|
|
@@ -234,7 +236,6 @@ __exportStar(require("./requests/collection/attributes"), exports);
|
|
|
234
236
|
__exportStar(require("./requests/collection/collection-attributes-fp"), exports);
|
|
235
237
|
__exportStar(require("./requests/collection/collection-attributes-map"), exports);
|
|
236
238
|
__exportStar(require("./requests/collection/collection-holders"), exports);
|
|
237
|
-
__exportStar(require("./requests/collection/collection-info.dto"), exports);
|
|
238
239
|
__exportStar(require("./requests/collection/collection-mint-profile.filter"), exports);
|
|
239
240
|
__exportStar(require("./requests/collection/collection-offers.filter"), exports);
|
|
240
241
|
__exportStar(require("./requests/collection/collection-owner.dto"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShortCollectionInfoDoc } from '../../cosmos-db/documents/short/short-collection-info.doc';
|
|
2
2
|
import { CollectionMintProfileDoc } from '../../cosmos-db/documents/collection/mintProfile';
|
|
3
3
|
import { EventProfileDoc, 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
|
-
collectionInfo:
|
|
6
|
+
collectionInfo: ShortCollectionInfoDoc;
|
|
7
7
|
}
|
|
8
8
|
export declare class CreatorDetailsDto extends CreatorProfileDoc {
|
|
9
9
|
listing?: MintingListingDto[];
|
|
@@ -11,15 +11,15 @@ 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
|
|
14
|
+
const short_collection_info_doc_1 = require("../../cosmos-db/documents/short/short-collection-info.doc");
|
|
15
15
|
const mintProfile_1 = require("../../cosmos-db/documents/collection/mintProfile");
|
|
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 {
|
|
19
19
|
}
|
|
20
20
|
__decorate([
|
|
21
|
-
(0, swagger_1.ApiProperty)({ type: () =>
|
|
22
|
-
__metadata("design:type",
|
|
21
|
+
(0, swagger_1.ApiProperty)({ type: () => short_collection_info_doc_1.ShortCollectionInfoDoc }),
|
|
22
|
+
__metadata("design:type", short_collection_info_doc_1.ShortCollectionInfoDoc)
|
|
23
23
|
], MintingListingDto.prototype, "collectionInfo", void 0);
|
|
24
24
|
class CreatorDetailsDto extends user_creator_profile_doc_1.CreatorProfileDoc {
|
|
25
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShortCollectionInfoDoc } from '../../cosmos-db/documents/short/short-collection-info.doc';
|
|
2
2
|
import { EgldOrEsdtTokenPayment } from '../../common/tokenPayent';
|
|
3
3
|
import { SocialsDto } from '../../common/socials';
|
|
4
4
|
export declare class MintStageDto {
|
|
@@ -46,6 +46,6 @@ export declare class DropInfoDto {
|
|
|
46
46
|
userMintsGlobal: number;
|
|
47
47
|
globalWalletLimit: number;
|
|
48
48
|
mintStages: MintStageDto[];
|
|
49
|
-
collectionInfo:
|
|
49
|
+
collectionInfo: ShortCollectionInfoDoc;
|
|
50
50
|
creatorInfo: CreatorInfoDto;
|
|
51
51
|
}
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.DropInfoDto = exports.CreatorInfoDto = exports.MintStageDto = void 0;
|
|
13
13
|
// DTO Type
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const
|
|
15
|
+
const short_collection_info_doc_1 = require("../../cosmos-db/documents/short/short-collection-info.doc");
|
|
16
16
|
const tokenPayent_1 = require("../../common/tokenPayent");
|
|
17
17
|
const socials_1 = require("../../common/socials");
|
|
18
18
|
class MintStageDto {
|
|
@@ -194,8 +194,8 @@ __decorate([
|
|
|
194
194
|
__metadata("design:type", Array)
|
|
195
195
|
], DropInfoDto.prototype, "mintStages", void 0);
|
|
196
196
|
__decorate([
|
|
197
|
-
(0, swagger_1.ApiProperty)({ type: () =>
|
|
198
|
-
__metadata("design:type",
|
|
197
|
+
(0, swagger_1.ApiProperty)({ type: () => short_collection_info_doc_1.ShortCollectionInfoDoc }),
|
|
198
|
+
__metadata("design:type", short_collection_info_doc_1.ShortCollectionInfoDoc)
|
|
199
199
|
], DropInfoDto.prototype, "collectionInfo", void 0);
|
|
200
200
|
__decorate([
|
|
201
201
|
(0, swagger_1.ApiProperty)({ type: CreatorInfoDto }),
|
package/package.json
CHANGED