@experts_hub/shared 1.0.294 → 1.0.296

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