@xoxno/types 1.0.136 → 1.0.138
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/collection/mintProfile.d.ts +5 -2
- package/dist/cosmos-db/documents/collection/mintProfile.js +0 -1
- package/dist/requests/collection/collection-mint-profile.filter.d.ts +2 -2
- package/dist/requests/collection/creator-drop-info.d.ts +1 -0
- package/dist/requests/collection/creator-drop-info.js +4 -0
- package/dist/requests/nft-data/nft-offer-doc.filter.d.ts +2 -2
- package/dist/requests/nft-data/nft-offer-doc.filter.js +0 -8
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { CollectionDataType } from '../../../enums/collection.enum';
|
|
|
3
3
|
import { MintStageDto } from '../../../requests/collection/creator-drop-info';
|
|
4
4
|
import { ShortCollectionInfoDoc } from '../short/short-collection-info.doc';
|
|
5
5
|
import { ShortCreatorDoc } from '../short/short-creator.doc';
|
|
6
|
+
import { CreatorProfileDoc } from '../user/user-creator-profile.doc';
|
|
6
7
|
export declare class CollectionMintProfileDoc {
|
|
7
8
|
dataType: CollectionDataType;
|
|
8
9
|
collection: string;
|
|
@@ -40,18 +41,20 @@ export declare class CollectionMintProfileDocHydrated extends CollectionMintProf
|
|
|
40
41
|
collectionInfo: ShortCollectionInfoDoc;
|
|
41
42
|
creatorInfo: ShortCreatorDoc;
|
|
42
43
|
}
|
|
43
|
-
declare type CollectionMintProfileDocWithStages_base = Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "
|
|
44
|
+
declare type CollectionMintProfileDocWithStages_base = Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "hasAttributes">;
|
|
44
45
|
export declare type CollectionMintProfileDocWithStages = CollectionMintProfileDocWithStages_base & {
|
|
45
46
|
collection: string;
|
|
46
47
|
isExcludedFromMint: boolean;
|
|
47
48
|
userMintsGlobal: number;
|
|
48
49
|
mintStages: MintStageDto[];
|
|
50
|
+
creatorInfo: CreatorProfileDoc;
|
|
49
51
|
};
|
|
50
|
-
declare const CollectionMintProfileDocWithStagesNest_base: import("@nestjs/common").Type<Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "
|
|
52
|
+
declare const CollectionMintProfileDocWithStagesNest_base: import("@nestjs/common").Type<Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "hasAttributes">>;
|
|
51
53
|
export declare class CollectionMintProfileDocWithStagesNest extends CollectionMintProfileDocWithStagesNest_base {
|
|
52
54
|
collection: string;
|
|
53
55
|
isExcludedFromMint: boolean;
|
|
54
56
|
userMintsGlobal: number;
|
|
55
57
|
mintStages: MintStageDto[];
|
|
58
|
+
creatorInfo: CreatorProfileDoc;
|
|
56
59
|
}
|
|
57
60
|
export {};
|
|
@@ -255,7 +255,6 @@ class CollectionMintProfileDocWithStages extends (0, swagger_1.PickType)(Collect
|
|
|
255
255
|
'totalNftMinted',
|
|
256
256
|
'hasAttributes',
|
|
257
257
|
'collectionInfo',
|
|
258
|
-
'creatorInfo',
|
|
259
258
|
]) {
|
|
260
259
|
}
|
|
261
260
|
exports.CollectionMintProfileDocWithStages = CollectionMintProfileDocWithStages;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActivityChain } from '../../enums/common.enum';
|
|
2
|
-
import { CosmosDbGenericFilter, RangeFilter } from '../../cosmos-db/cosmos-db-generic-filter';
|
|
2
|
+
import { CosmosDbGenericFilter, IOrderBy, RangeFilter } from '../../cosmos-db/cosmos-db-generic-filter';
|
|
3
3
|
import { CollectionDataType } from '../../enums/collection.enum';
|
|
4
4
|
import { CollectionMintProfileDoc } from '../../cosmos-db/documents/collection/mintProfile';
|
|
5
5
|
export declare class CollectionMintProfileFilter extends CosmosDbGenericFilter<CollectionMintProfileDoc> {
|
|
@@ -14,7 +14,7 @@ export declare class CollectionMintProfileFilter extends CosmosDbGenericFilter<C
|
|
|
14
14
|
activeMint?: boolean;
|
|
15
15
|
chain?: ActivityChain[];
|
|
16
16
|
};
|
|
17
|
-
orderBy
|
|
17
|
+
orderBy?: IOrderBy<CollectionMintProfileDoc>[];
|
|
18
18
|
strictSelect?: boolean;
|
|
19
19
|
constructor(props?: Partial<CollectionMintProfileFilter>);
|
|
20
20
|
}
|
|
@@ -93,6 +93,10 @@ __decorate([
|
|
|
93
93
|
(0, swagger_1.ApiProperty)({ example: null, nullable: true }),
|
|
94
94
|
__metadata("design:type", Object)
|
|
95
95
|
], MintStageDto.prototype, "maxBuyable", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
98
|
+
__metadata("design:type", Number)
|
|
99
|
+
], MintStageDto.prototype, "userMintsPerStage", void 0);
|
|
96
100
|
class CreatorInfoDto {
|
|
97
101
|
}
|
|
98
102
|
exports.CreatorInfoDto = CreatorInfoDto;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RangeFilter, CosmosDbGenericFilter } from '../../cosmos-db/cosmos-db-generic-filter';
|
|
1
|
+
import { RangeFilter, CosmosDbGenericFilter, IOrderBy } from '../../cosmos-db/cosmos-db-generic-filter';
|
|
2
2
|
import { NftOfferDoc } from '../../cosmos-db/documents/token/nft-offer.doc';
|
|
3
3
|
export declare class NftOfferDocFilterCriteria {
|
|
4
4
|
isActive?: boolean;
|
|
@@ -19,7 +19,7 @@ export declare class NftOfferDocFilter extends CosmosDbGenericFilter<NftOfferDoc
|
|
|
19
19
|
marketplace?: string[];
|
|
20
20
|
range?: RangeFilter<NftOfferDoc>[];
|
|
21
21
|
};
|
|
22
|
-
orderBy?:
|
|
22
|
+
orderBy?: IOrderBy<NftOfferDoc>[];
|
|
23
23
|
constructor(props?: Partial<NftOfferDocFilter>);
|
|
24
24
|
private setPk;
|
|
25
25
|
}
|
|
@@ -87,11 +87,3 @@ __decorate([
|
|
|
87
87
|
}),
|
|
88
88
|
__metadata("design:type", Object)
|
|
89
89
|
], NftOfferDocFilter.prototype, "filters", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, swagger_1.ApiProperty)({
|
|
92
|
-
type: 'array',
|
|
93
|
-
items: { type: 'string', enum: ['priceShort desc'] },
|
|
94
|
-
required: false,
|
|
95
|
-
}),
|
|
96
|
-
__metadata("design:type", Object)
|
|
97
|
-
], NftOfferDocFilter.prototype, "orderBy", void 0);
|