@xoxno/types 1.0.137 → 1.0.139

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.
@@ -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" | "creatorInfo" | "hasAttributes">;
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" | "creatorInfo" | "hasAttributes">>;
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;
@@ -2,11 +2,10 @@ import { CollectionMintProfileDoc } from '../../cosmos-db/documents/collection/m
2
2
  import { ShortCollectionInfoDoc } from '../../cosmos-db/documents/short/short-collection-info.doc';
3
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
- declare class MintingListingDto extends CollectionMintProfileDoc {
5
+ export declare class MintingListingDto extends CollectionMintProfileDoc {
6
6
  collectionInfo: ShortCollectionInfoDoc;
7
7
  }
8
8
  export declare class CreatorDetailsDto extends CreatorProfileDoc {
9
9
  listing?: MintingListingDto[];
10
10
  events?: EventProfile[];
11
11
  }
12
- export {};
@@ -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.CreatorDetailsDto = void 0;
12
+ exports.CreatorDetailsDto = exports.MintingListingDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const mintProfile_1 = require("../../cosmos-db/documents/collection/mintProfile");
15
15
  const short_collection_info_doc_1 = require("../../cosmos-db/documents/short/short-collection-info.doc");
@@ -17,6 +17,7 @@ const event_profile_doc_1 = require("../../cosmos-db/documents/ticketing/event-p
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
+ exports.MintingListingDto = MintingListingDto;
20
21
  __decorate([
21
22
  (0, swagger_1.ApiProperty)({ type: () => short_collection_info_doc_1.ShortCollectionInfoDoc }),
22
23
  __metadata("design:type", short_collection_info_doc_1.ShortCollectionInfoDoc)
@@ -20,6 +20,7 @@ export declare class MintStageDto {
20
20
  _ts: number;
21
21
  walletLimitReached: boolean;
22
22
  maxBuyable: number | null;
23
+ userMintsPerStage?: number;
23
24
  constructor(props?: Partial<MintStageDto>);
24
25
  }
25
26
  export declare class CreatorInfoDto {
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.137",
3
+ "version": "1.0.139",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {