@xoxno/types 1.0.230 → 1.0.232
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/cosmos-db/documents/staking/staking-pool-doc.js +1 -0
- package/dist/cosmos-db/documents/user/user-profile.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/user/user-profile.doc.js +2 -1
- package/dist/requests/user-data/creator-profile.dto.d.ts +0 -6
- package/dist/requests/user-data/creator-profile.dto.js +1 -10
- package/dist/requests/user-data/me-profile.d.ts +2 -2
- package/dist/requests/user-data/me-profile.js +0 -1
- package/package.json +1 -1
|
@@ -28,7 +28,6 @@ class UserProfileDoc {
|
|
|
28
28
|
this.joinedDate = Math.floor(Date.now() / 1000);
|
|
29
29
|
this.profile = 'https://media.xoxno.com/utils/defaultProfilePic.webp';
|
|
30
30
|
this.banner = 'https://media.xoxno.com/utils/defaultBanner.webp';
|
|
31
|
-
this.description = '';
|
|
32
31
|
this.herotag = '';
|
|
33
32
|
this.isCreator = false;
|
|
34
33
|
this.isPoolOwner = false;
|
|
@@ -107,8 +106,10 @@ __decorate([
|
|
|
107
106
|
(0, swagger_1.ApiProperty)({
|
|
108
107
|
example: 'NFT collector and trader',
|
|
109
108
|
description: 'User description',
|
|
109
|
+
required: false,
|
|
110
110
|
}),
|
|
111
111
|
(0, class_validator_1.IsString)(),
|
|
112
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
113
|
__metadata("design:type", String)
|
|
113
114
|
], UserProfileDoc.prototype, "description", void 0);
|
|
114
115
|
__decorate([
|
|
@@ -2,9 +2,3 @@ import { CreatorProfileDoc } from '../../cosmos-db/documents/user/user-creator-p
|
|
|
2
2
|
export declare class CreatorProfileDto extends CreatorProfileDoc {
|
|
3
3
|
followCount: number;
|
|
4
4
|
}
|
|
5
|
-
declare type CreatorUpdateProfileDTO_base = Pick<CreatorProfileDto, "description" | "profile" | "socials">;
|
|
6
|
-
export declare type CreatorUpdateProfileDTO = CreatorUpdateProfileDTO_base ;
|
|
7
|
-
declare const CreatorUpdateProfileDTONest_base: import("@nestjs/common").Type<Pick<CreatorProfileDto, "description" | "profile" | "socials">>;
|
|
8
|
-
export declare class CreatorUpdateProfileDTONest extends CreatorUpdateProfileDTONest_base {
|
|
9
|
-
}
|
|
10
|
-
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.
|
|
12
|
+
exports.CreatorProfileDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const user_creator_profile_doc_1 = require("../../cosmos-db/documents/user/user-creator-profile.doc");
|
|
15
15
|
class CreatorProfileDto extends user_creator_profile_doc_1.CreatorProfileDoc {
|
|
@@ -19,12 +19,3 @@ __decorate([
|
|
|
19
19
|
(0, swagger_1.ApiProperty)({ example: 0 }),
|
|
20
20
|
__metadata("design:type", Number)
|
|
21
21
|
], CreatorProfileDto.prototype, "followCount", void 0);
|
|
22
|
-
class CreatorUpdateProfileDTO extends (0, swagger_1.PickType)(CreatorProfileDto, [
|
|
23
|
-
'socials',
|
|
24
|
-
'description',
|
|
25
|
-
'profile',
|
|
26
|
-
]) {
|
|
27
|
-
}
|
|
28
|
-
exports.CreatorUpdateProfileDTO = CreatorUpdateProfileDTO;
|
|
29
|
-
|
|
30
|
-
exports.CreatorUpdateProfileDTONest = CreatorUpdateProfileDTO;
|
|
@@ -10,9 +10,9 @@ declare class UserSettingsDto {
|
|
|
10
10
|
export declare class UserProfileDto extends UserProfileDoc {
|
|
11
11
|
userSettings: UserSettingsDto;
|
|
12
12
|
}
|
|
13
|
-
declare type UserProfileEditDto_base = Partial<Pick<UserProfileDoc, "description" | "
|
|
13
|
+
declare type UserProfileEditDto_base = Partial<Pick<UserProfileDoc, "description" | "socials" | "isBoberBattleUser">>;
|
|
14
14
|
export declare type UserProfileEditDto = UserProfileEditDto_base ;
|
|
15
|
-
declare const UserProfileEditDtoNest_base: import("@nestjs/common").Type<Partial<Pick<UserProfileDoc, "description" | "
|
|
15
|
+
declare const UserProfileEditDtoNest_base: import("@nestjs/common").Type<Partial<Pick<UserProfileDoc, "description" | "socials" | "isBoberBattleUser">>>;
|
|
16
16
|
export declare class UserProfileEditDtoNest extends UserProfileEditDtoNest_base {
|
|
17
17
|
}
|
|
18
18
|
export {};
|