@experts_hub/shared 1.0.294 → 1.0.295

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.js CHANGED
@@ -1271,6 +1271,7 @@ __decorateClass([
1271
1271
  (0, import_class_validator36.IsString)({ message: "Please enter valid mobile number." })
1272
1272
  ], UpdateFreelancerProfileDto.prototype, "mobile", 2);
1273
1273
  __decorateClass([
1274
+ (0, import_class_validator36.IsOptional)(),
1274
1275
  (0, import_class_validator36.IsNotEmpty)({ message: "Please select country." }),
1275
1276
  (0, import_class_validator36.IsNumber)()
1276
1277
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
@@ -3765,9 +3766,10 @@ __decorateClass([
3765
3766
  (0, import_class_validator43.IsString)()
3766
3767
  ], ExperienceDto.prototype, "jobDuration", 2);
3767
3768
  __decorateClass([
3769
+ (0, import_class_validator43.IsOptional)(),
3768
3770
  (0, import_class_validator43.IsNotEmpty)(),
3769
3771
  (0, import_class_validator43.IsString)(),
3770
- (0, import_class_validator43.MaxLength)(500, { message: "Description must not exceed 500 characters" })
3772
+ (0, import_class_validator43.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
3771
3773
  ], ExperienceDto.prototype, "description", 2);
3772
3774
  var FreelancerExperienceDto = class {
3773
3775
  };
@@ -3901,7 +3903,7 @@ __decorateClass([
3901
3903
  __decorateClass([
3902
3904
  (0, import_class_validator48.IsOptional)(),
3903
3905
  (0, import_class_validator48.IsString)(),
3904
- (0, import_class_validator48.MaxLength)(500, { message: "Description must not exceed 500 characters" })
3906
+ (0, import_class_validator48.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
3905
3907
  ], ProjectDto.prototype, "description", 2);
3906
3908
  var CaseStudyDto = class {
3907
3909
  };
@@ -3913,13 +3915,14 @@ __decorateClass([
3913
3915
  (0, import_class_validator48.IsNotEmpty)({ message: "Please Enter Project Name " })
3914
3916
  ], CaseStudyDto.prototype, "projectName", 2);
3915
3917
  __decorateClass([
3918
+ (0, import_class_validator48.IsOptional)(),
3916
3919
  (0, import_class_validator48.IsString)(),
3917
3920
  (0, import_class_validator48.IsNotEmpty)({ message: "Please Enter Case Study Link " })
3918
3921
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
3919
3922
  __decorateClass([
3920
3923
  (0, import_class_validator48.IsOptional)(),
3921
3924
  (0, import_class_validator48.IsString)(),
3922
- (0, import_class_validator48.MaxLength)(500, { message: "Description must not exceed 500 characters" })
3925
+ (0, import_class_validator48.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
3923
3926
  ], CaseStudyDto.prototype, "description", 2);
3924
3927
  var FreelancerProjectDto = class {
3925
3928
  };
package/dist/index.mjs CHANGED
@@ -1140,6 +1140,7 @@ __decorateClass([
1140
1140
  IsString15({ message: "Please enter valid mobile number." })
1141
1141
  ], UpdateFreelancerProfileDto.prototype, "mobile", 2);
1142
1142
  __decorateClass([
1143
+ IsOptional7(),
1143
1144
  IsNotEmpty30({ message: "Please select country." }),
1144
1145
  IsNumber2()
1145
1146
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
@@ -3835,9 +3836,10 @@ __decorateClass([
3835
3836
  IsString19()
3836
3837
  ], ExperienceDto.prototype, "jobDuration", 2);
3837
3838
  __decorateClass([
3839
+ IsOptional12(),
3838
3840
  IsNotEmpty35(),
3839
3841
  IsString19(),
3840
- MaxLength9(500, { message: "Description must not exceed 500 characters" })
3842
+ MaxLength9(5e3, { message: "Description must not exceed 5000 characters" })
3841
3843
  ], ExperienceDto.prototype, "description", 2);
3842
3844
  var FreelancerExperienceDto = class {
3843
3845
  };
@@ -3971,7 +3973,7 @@ __decorateClass([
3971
3973
  __decorateClass([
3972
3974
  IsOptional16(),
3973
3975
  IsString23(),
3974
- MaxLength11(500, { message: "Description must not exceed 500 characters" })
3976
+ MaxLength11(5e3, { message: "Description must not exceed 5000 characters" })
3975
3977
  ], ProjectDto.prototype, "description", 2);
3976
3978
  var CaseStudyDto = class {
3977
3979
  };
@@ -3983,13 +3985,14 @@ __decorateClass([
3983
3985
  IsNotEmpty39({ message: "Please Enter Project Name " })
3984
3986
  ], CaseStudyDto.prototype, "projectName", 2);
3985
3987
  __decorateClass([
3988
+ IsOptional16(),
3986
3989
  IsString23(),
3987
3990
  IsNotEmpty39({ message: "Please Enter Case Study Link " })
3988
3991
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
3989
3992
  __decorateClass([
3990
3993
  IsOptional16(),
3991
3994
  IsString23(),
3992
- MaxLength11(500, { message: "Description must not exceed 500 characters" })
3995
+ MaxLength11(5e3, { message: "Description must not exceed 5000 characters" })
3993
3996
  ], CaseStudyDto.prototype, "description", 2);
3994
3997
  var FreelancerProjectDto = class {
3995
3998
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.294",
3
+ "version": "1.0.295",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",