@xoxno/types 1.0.234 → 1.0.236
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/common/kusto/lending-position-status.d.ts +2 -0
- package/dist/common/kusto/lending-position-status.js +8 -0
- package/dist/cosmos-db/documents/short/short-nft.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +1 -0
- package/dist/cosmos-db/documents/token/nft-details.doc.js +5 -0
- package/dist/requests/collection/pinned-collections.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OwnerDto } from '../owner.dto';
|
|
2
|
+
import { PositionMode } from '../../enums';
|
|
2
3
|
export declare class LendingPositionStatus {
|
|
3
4
|
position: number;
|
|
4
5
|
identifier: string;
|
|
@@ -7,5 +8,6 @@ export declare class LendingPositionStatus {
|
|
|
7
8
|
healthFactor: number;
|
|
8
9
|
wallet: OwnerDto;
|
|
9
10
|
isEMode: boolean;
|
|
11
|
+
positionMode: PositionMode;
|
|
10
12
|
constructor(props?: Partial<LendingPositionStatus>);
|
|
11
13
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LendingPositionStatus = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const owner_dto_1 = require("../owner.dto");
|
|
15
|
+
const enums_1 = require("../../enums");
|
|
15
16
|
class LendingPositionStatus {
|
|
16
17
|
constructor(props) {
|
|
17
18
|
Object.assign(this, props);
|
|
@@ -67,3 +68,10 @@ __decorate([
|
|
|
67
68
|
}),
|
|
68
69
|
__metadata("design:type", Boolean)
|
|
69
70
|
], LendingPositionStatus.prototype, "isEMode", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, swagger_1.ApiProperty)({
|
|
73
|
+
description: 'The position mode of the lending account',
|
|
74
|
+
enum: enums_1.PositionMode,
|
|
75
|
+
}),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], LendingPositionStatus.prototype, "positionMode", void 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NftDoc } from '../token/nft-details.doc';
|
|
2
|
-
declare type ShortNftDoc_base = Pick<NftDoc, "
|
|
2
|
+
declare type ShortNftDoc_base = Pick<NftDoc, "collection" | "identifier" | "name" | "url" | "wasProcessed" | "media" | "metadata">;
|
|
3
3
|
export declare type ShortNftDoc = ShortNftDoc_base ;
|
|
4
|
-
declare const ShortNftDocNest_base: import("@nestjs/common").Type<Pick<NftDoc, "
|
|
4
|
+
declare const ShortNftDocNest_base: import("@nestjs/common").Type<Pick<NftDoc, "collection" | "identifier" | "name" | "url" | "wasProcessed" | "media" | "metadata">>;
|
|
5
5
|
export declare class ShortNftDocNest extends ShortNftDocNest_base {
|
|
6
6
|
}
|
|
7
7
|
export {};
|
|
@@ -76,6 +76,10 @@ __decorate([
|
|
|
76
76
|
__metadata("design:type", OriginalMedia)
|
|
77
77
|
], NftMedia.prototype, "originalMedia", void 0);
|
|
78
78
|
class NftStats {
|
|
79
|
+
constructor(props) {
|
|
80
|
+
Object.assign(this, props);
|
|
81
|
+
this.likedCount = props?.likedCount ?? 0;
|
|
82
|
+
}
|
|
79
83
|
}
|
|
80
84
|
__decorate([
|
|
81
85
|
(0, swagger_1.ApiProperty)({ type: 'integer', required: false }),
|
|
@@ -85,6 +89,7 @@ class NftDocBase {
|
|
|
85
89
|
constructor(props) {
|
|
86
90
|
this.dataType = token_data_enum_1.TokenDataType.Nft;
|
|
87
91
|
this.wasProcessed = false;
|
|
92
|
+
this.statistics = new NftStats();
|
|
88
93
|
this.isTicket = false;
|
|
89
94
|
this.chain = common_enum_1.ActivityChain.MVX;
|
|
90
95
|
this.onSale = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
|
|
2
|
-
declare type PinnedCollectionDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "
|
|
2
|
+
declare type PinnedCollectionDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "creator" | "collection" | "chain" | "name" | "isVerified" | "banner" | "isMintable">;
|
|
3
3
|
export declare type PinnedCollectionDto = PinnedCollectionDto_base ;
|
|
4
|
-
declare const PinnedCollectionDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "
|
|
4
|
+
declare const PinnedCollectionDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "creator" | "collection" | "chain" | "name" | "isVerified" | "banner" | "isMintable">>;
|
|
5
5
|
export declare class PinnedCollectionDtoNest extends PinnedCollectionDtoNest_base {
|
|
6
6
|
}
|
|
7
7
|
export {};
|