@xoxno/types 1.0.90 → 1.0.92

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.
@@ -1,7 +1,7 @@
1
1
  import { CollectionProfileDoc } from '../collection/profile';
2
- declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "isVisible" | "isVerified" | "banner" | "chain" | "pinnedAtDrops">;
2
+ declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "socials" | "banner" | "chain" | "owner" | "pinnedAtDrops" | "collectionSize">;
3
3
  export declare type ShortCollectionDoc = ShortCollectionDoc_base ;
4
- declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "isVisible" | "isVerified" | "banner" | "chain" | "pinnedAtDrops">>;
4
+ declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "socials" | "banner" | "chain" | "owner" | "pinnedAtDrops" | "collectionSize">>;
5
5
  export declare class ShortCollectionDocNest extends ShortCollectionDocNest_base {
6
6
  }
7
7
  export {};
@@ -12,6 +12,11 @@ class ShortCollectionDoc extends (0, swagger_1.PickType)(profile_1.CollectionPro
12
12
  'description',
13
13
  'chain',
14
14
  'pinnedAtDrops',
15
+ 'collectionSize',
16
+ 'followCount',
17
+ 'holdersCount',
18
+ 'socials',
19
+ 'owner',
15
20
  ]) {
16
21
  }
17
22
  exports.ShortCollectionDoc = ShortCollectionDoc;
@@ -1,10 +1,4 @@
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 {
1
+ import { ShortCollectionDoc } from '../../cosmos-db/documents/short/short-collection.doc';
2
+ export declare class CollectionInfoDto extends ShortCollectionDoc {
8
3
  volume: number;
9
4
  }
10
- export {};
@@ -11,25 +11,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CollectionInfoDto = 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, [
16
- 'name',
17
- 'socials',
18
- 'isVerified',
19
- 'isVisible',
20
- 'description',
21
- 'profile',
22
- 'banner',
23
- 'collectionSize',
24
- 'followCount',
25
- 'holdersCount',
26
- 'owner',
27
- ]) {
14
+ const short_collection_doc_1 = require("../../cosmos-db/documents/short/short-collection.doc");
15
+ class CollectionInfoDto extends short_collection_doc_1.ShortCollectionDoc {
28
16
  }
29
17
  exports.CollectionInfoDto = CollectionInfoDto;
30
18
  __decorate([
31
19
  (0, swagger_1.ApiProperty)({ example: 1230.34 }),
32
20
  __metadata("design:type", Number)
33
21
  ], CollectionInfoDto.prototype, "volume", void 0);
34
-
35
- exports.CollectionInfoDtoNest = CollectionInfoDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.90",
3
+ "version": "1.0.92",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",