@xoxno/types 1.0.91 → 1.0.93

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.
@@ -0,0 +1,10 @@
1
+ import { CollectionProfileDoc } from '../collection/profile';
2
+ declare type ShortCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "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" | "chain" | "owner" | "pinnedAtDrops" | "collectionSize">>;
7
+ export declare class ShortCollectionInfoDocNest extends ShortCollectionInfoDocNest_base {
8
+ volume: number;
9
+ }
10
+ export {};
@@ -9,27 +9,27 @@ 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.CollectionInfoDto = void 0;
12
+ exports.ShortCollectionInfoDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- const profile_1 = require("../../cosmos-db/documents/collection/profile");
15
- class CollectionInfoDto extends (0, swagger_1.PickType)(profile_1.CollectionProfileDoc, [
14
+ const profile_1 = require("../collection/profile");
15
+ class ShortCollectionInfoDoc extends (0, swagger_1.PickType)(profile_1.CollectionProfileDoc, [
16
16
  'name',
17
- 'socials',
18
17
  'isVerified',
19
18
  'isVisible',
20
- 'description',
21
19
  'profile',
22
- 'banner',
20
+ 'description',
21
+ 'chain',
22
+ 'pinnedAtDrops',
23
23
  'collectionSize',
24
24
  'followCount',
25
25
  'holdersCount',
26
26
  'owner',
27
27
  ]) {
28
28
  }
29
- exports.CollectionInfoDto = CollectionInfoDto;
29
+ exports.ShortCollectionInfoDoc = ShortCollectionInfoDoc;
30
30
  __decorate([
31
31
  (0, swagger_1.ApiProperty)({ example: 1230.34 }),
32
32
  __metadata("design:type", Number)
33
- ], CollectionInfoDto.prototype, "volume", void 0);
33
+ ], ShortCollectionInfoDoc.prototype, "volume", void 0);
34
34
 
35
- exports.CollectionInfoDtoNest = CollectionInfoDto;
35
+ 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" | "banner" | "chain" | "pinnedAtDrops" | "collectionSize">;
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" | "banner" | "chain" | "pinnedAtDrops" | "collectionSize">>;
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,7 +8,6 @@ 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',
package/dist/index.d.ts CHANGED
@@ -42,6 +42,7 @@ 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';
47
48
  export * from './cosmos-db/documents/short/short-nft.doc';
@@ -218,7 +219,6 @@ export * from './requests/collection/attributes';
218
219
  export * from './requests/collection/collection-attributes-fp';
219
220
  export * from './requests/collection/collection-attributes-map';
220
221
  export * from './requests/collection/collection-holders';
221
- export * from './requests/collection/collection-info.dto';
222
222
  export * from './requests/collection/collection-mint-profile.filter';
223
223
  export * from './requests/collection/collection-offers.filter';
224
224
  export * from './requests/collection/collection-owner.dto';
package/dist/index.js CHANGED
@@ -58,6 +58,7 @@ __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);
63
64
  __exportStar(require("./cosmos-db/documents/short/short-nft.doc"), exports);
@@ -234,7 +235,6 @@ __exportStar(require("./requests/collection/attributes"), exports);
234
235
  __exportStar(require("./requests/collection/collection-attributes-fp"), exports);
235
236
  __exportStar(require("./requests/collection/collection-attributes-map"), exports);
236
237
  __exportStar(require("./requests/collection/collection-holders"), exports);
237
- __exportStar(require("./requests/collection/collection-info.dto"), exports);
238
238
  __exportStar(require("./requests/collection/collection-mint-profile.filter"), exports);
239
239
  __exportStar(require("./requests/collection/collection-offers.filter"), exports);
240
240
  __exportStar(require("./requests/collection/collection-owner.dto"), exports);
@@ -1,9 +1,9 @@
1
- import { CollectionInfoDto } from './collection-info.dto';
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: CollectionInfoDto;
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 collection_info_dto_1 = require("./collection-info.dto");
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: () => collection_info_dto_1.CollectionInfoDto }),
22
- __metadata("design:type", collection_info_dto_1.CollectionInfoDto)
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 { CollectionInfoDto } from './collection-info.dto';
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: CollectionInfoDto;
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 collection_info_dto_1 = require("./collection-info.dto");
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: () => collection_info_dto_1.CollectionInfoDto }),
198
- __metadata("design:type", collection_info_dto_1.CollectionInfoDto)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.91",
3
+ "version": "1.0.93",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,10 +0,0 @@
1
- import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
2
- declare type CollectionInfoDto_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">;
3
- export declare type CollectionInfoDto = CollectionInfoDto_base & {
4
- volume: number;
5
- };
6
- declare const CollectionInfoDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">>;
7
- export declare class CollectionInfoDtoNest extends CollectionInfoDtoNest_base {
8
- volume: number;
9
- }
10
- export {};