@xoxno/types 1.0.173 → 1.0.175
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.
|
@@ -5,4 +5,5 @@ var NotificationAssetType;
|
|
|
5
5
|
(function (NotificationAssetType) {
|
|
6
6
|
NotificationAssetType["NFT"] = "nft";
|
|
7
7
|
NotificationAssetType["USER"] = "user";
|
|
8
|
+
NotificationAssetType["CHAT"] = "chat";
|
|
8
9
|
})(NotificationAssetType || (exports.NotificationAssetType = NotificationAssetType = {}));
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
banner: string;
|
|
7
|
-
description: string;
|
|
8
|
-
creator: string;
|
|
9
|
-
isMintable?: boolean;
|
|
1
|
+
import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
|
|
2
|
+
declare type PinnedCollectionDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "collection" | "name" | "isVerified" | "banner" | "chain" | "creator" | "isMintable">;
|
|
3
|
+
export declare type PinnedCollectionDto = PinnedCollectionDto_base ;
|
|
4
|
+
declare const PinnedCollectionDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "collection" | "name" | "isVerified" | "banner" | "chain" | "creator" | "isMintable">>;
|
|
5
|
+
export declare class PinnedCollectionDtoNest extends PinnedCollectionDtoNest_base {
|
|
10
6
|
}
|
|
7
|
+
export {};
|
|
@@ -1,56 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.PinnedCollectionDto = void 0;
|
|
13
4
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
|
|
5
|
+
const profile_1 = require("../../cosmos-db/documents/collection/profile");
|
|
6
|
+
class PinnedCollectionDto extends (0, swagger_1.PickType)(profile_1.CollectionProfileDoc, [
|
|
7
|
+
'collection',
|
|
8
|
+
'name',
|
|
9
|
+
'isVerified',
|
|
10
|
+
'profile',
|
|
11
|
+
'banner',
|
|
12
|
+
'description',
|
|
13
|
+
'creator',
|
|
14
|
+
'isMintable',
|
|
15
|
+
'chain',
|
|
16
|
+
]) {
|
|
15
17
|
}
|
|
16
18
|
exports.PinnedCollectionDto = PinnedCollectionDto;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], PinnedCollectionDto.prototype, "collection", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, swagger_1.ApiProperty)({ example: 'EAPES' }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], PinnedCollectionDto.prototype, "name", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, swagger_1.ApiProperty)({ example: true }),
|
|
27
|
-
__metadata("design:type", Boolean)
|
|
28
|
-
], PinnedCollectionDto.prototype, "isVerified", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, swagger_1.ApiProperty)({
|
|
31
|
-
example: 'https://media.xoxno.com/collectionprofile/EAPES-8f3c1f/profilePicture.webp?ts=1691359925',
|
|
32
|
-
}),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], PinnedCollectionDto.prototype, "profile", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, swagger_1.ApiProperty)({
|
|
37
|
-
example: 'https://media.xoxno.com/collectionprofile/EAPES-8f3c1f/profilebanner.webp',
|
|
38
|
-
}),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], PinnedCollectionDto.prototype, "banner", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, swagger_1.ApiProperty)({
|
|
43
|
-
example: 'EAPES is a collection of 10,000 unique 3D APEs living on the MultiversX blockchain',
|
|
44
|
-
}),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], PinnedCollectionDto.prototype, "description", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, swagger_1.ApiProperty)({
|
|
49
|
-
example: 'erd1qqqqqqqqqqqqqpgq7gma4udjeh3mwuq4lmk7wccgh0tenxu6yv5qc2csfy',
|
|
50
|
-
}),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], PinnedCollectionDto.prototype, "creator", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, swagger_1.ApiProperty)({ example: false, required: false }),
|
|
55
|
-
__metadata("design:type", Boolean)
|
|
56
|
-
], PinnedCollectionDto.prototype, "isMintable", void 0);
|
|
19
|
+
|
|
20
|
+
exports.PinnedCollectionDtoNest = PinnedCollectionDto;
|