@experts_hub/shared 1.0.306 → 1.0.307

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/index.d.mts CHANGED
@@ -157,6 +157,7 @@ declare class FreelancerProfileQuestionDto {
157
157
  uuid: string;
158
158
  question_slug: string;
159
159
  answer: any;
160
+ currency?: string;
160
161
  }
161
162
 
162
163
  declare class FreelancerWorkShowcaseDto {
package/dist/index.d.ts CHANGED
@@ -157,6 +157,7 @@ declare class FreelancerProfileQuestionDto {
157
157
  uuid: string;
158
158
  question_slug: string;
159
159
  answer: any;
160
+ currency?: string;
160
161
  }
161
162
 
162
163
  declare class FreelancerWorkShowcaseDto {
package/dist/index.js CHANGED
@@ -727,6 +727,7 @@ __decorateClass([
727
727
  ], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
728
728
 
729
729
  // src/modules/onboarding/dto/freelancer-profile-question.dto.ts
730
+ var import_common = require("@nestjs/common");
730
731
  var import_class_validator21 = require("class-validator");
731
732
  var FreelancerProfileQuestionDto = class {
732
733
  };
@@ -748,6 +749,9 @@ __decorateClass([
748
749
  __decorateClass([
749
750
  (0, import_class_validator21.IsNotEmpty)({ message: "Please enter answer." })
750
751
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
752
+ __decorateClass([
753
+ (0, import_common.Optional)()
754
+ ], FreelancerProfileQuestionDto.prototype, "currency", 2);
751
755
 
752
756
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
753
757
  var import_class_validator22 = require("class-validator");
package/dist/index.mjs CHANGED
@@ -531,6 +531,7 @@ __decorateClass([
531
531
  ], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
532
532
 
533
533
  // src/modules/onboarding/dto/freelancer-profile-question.dto.ts
534
+ import { Optional } from "@nestjs/common";
534
535
  import {
535
536
  IsUUID as IsUUID8,
536
537
  IsString as IsString4,
@@ -557,6 +558,9 @@ __decorateClass([
557
558
  __decorateClass([
558
559
  IsNotEmpty18({ message: "Please enter answer." })
559
560
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
561
+ __decorateClass([
562
+ Optional()
563
+ ], FreelancerProfileQuestionDto.prototype, "currency", 2);
560
564
 
561
565
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
562
566
  import {
@@ -2,4 +2,5 @@ export declare class FreelancerProfileQuestionDto {
2
2
  uuid: string;
3
3
  question_slug: string;
4
4
  answer: any;
5
+ currency?: string;
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.306",
3
+ "version": "1.0.307",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",