@xoxno/types 1.0.127 → 1.0.129

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.
@@ -131,3 +131,11 @@ __decorate([
131
131
  }),
132
132
  __metadata("design:type", String)
133
133
  ], UserProfileDoc.prototype, "id", void 0);
134
+ __decorate([
135
+ (0, swagger_1.ApiProperty)({
136
+ example: true,
137
+ description: 'Wether analytics are enabled',
138
+ required: false,
139
+ }),
140
+ __metadata("design:type", Boolean)
141
+ ], UserProfileDoc.prototype, "isBoberBattleUser", void 0);
@@ -10,9 +10,9 @@ declare class UserSettingsDto {
10
10
  export declare class UserProfileDto extends UserProfileDoc {
11
11
  userSettings: UserSettingsDto;
12
12
  }
13
- declare type UserUpdateDTO_base = Partial<Pick<UserProfileDoc, "description" | "profile" | "socials" | "isBoberBattleUser">>;
14
- export declare type UserUpdateDTO = UserUpdateDTO_base ;
15
- declare const UserUpdateDTONest_base: import("@nestjs/common").Type<Partial<Pick<UserProfileDoc, "description" | "profile" | "socials" | "isBoberBattleUser">>>;
16
- export declare class UserUpdateDTONest extends UserUpdateDTONest_base {
13
+ declare type UserProfileEditDto_base = Partial<Pick<UserProfileDoc, "description" | "profile" | "socials" | "isBoberBattleUser">>;
14
+ export declare type UserProfileEditDto = UserProfileEditDto_base ;
15
+ declare const UserProfileEditDtoNest_base: import("@nestjs/common").Type<Partial<Pick<UserProfileDoc, "description" | "profile" | "socials" | "isBoberBattleUser">>>;
16
+ export declare class UserProfileEditDtoNest extends UserProfileEditDtoNest_base {
17
17
  }
18
18
  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.UserUpdateDTO = exports.UserProfileDto = void 0;
12
+ exports.UserProfileEditDto = exports.UserProfileDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const user_profile_doc_1 = require("../../cosmos-db/documents/user/user-profile.doc");
15
15
  const user_settings_doc_1 = require("../../cosmos-db/documents/user/user-settings.doc");
@@ -46,13 +46,13 @@ __decorate([
46
46
  (0, swagger_1.ApiProperty)({ type: UserSettingsDto, required: false }),
47
47
  __metadata("design:type", UserSettingsDto)
48
48
  ], UserProfileDto.prototype, "userSettings", void 0);
49
- class UserUpdateDTO extends (0, swagger_1.PartialType)((0, swagger_1.PickType)(user_profile_doc_1.UserProfileDoc, [
49
+ class UserProfileEditDto extends (0, swagger_1.PartialType)((0, swagger_1.PickType)(user_profile_doc_1.UserProfileDoc, [
50
50
  'socials',
51
51
  'description',
52
52
  'profile',
53
53
  'isBoberBattleUser',
54
54
  ])) {
55
55
  }
56
- exports.UserUpdateDTO = UserUpdateDTO;
56
+ exports.UserProfileEditDto = UserProfileEditDto;
57
57
 
58
- exports.UserUpdateDTONest = UserUpdateDTO;
58
+ exports.UserProfileEditDtoNest = UserProfileEditDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.127",
3
+ "version": "1.0.129",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {