@experts_hub/shared 1.0.627 → 1.0.628

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
@@ -2008,8 +2008,7 @@ __decorateClass([
2008
2008
  (0, import_class_validator50.IsOptional)()
2009
2009
  ], JobBasicInformationV2Dto.prototype, "candidateCommunicationSkills", 2);
2010
2010
  __decorateClass([
2011
- (0, import_class_validator50.ValidateIf)((o) => !o.isDraft),
2012
- (0, import_class_validator50.IsNotEmpty)({ message: "Please enter the academic qualification" }),
2011
+ (0, import_class_validator50.IsOptional)(),
2013
2012
  (0, import_class_validator50.IsString)({ message: "Academic qualification must be a string" })
2014
2013
  ], JobBasicInformationV2Dto.prototype, "academicQualification", 2);
2015
2014
  __decorateClass([
@@ -9055,8 +9054,7 @@ __decorateClass([
9055
9054
  (0, import_class_transformer17.Type)(() => JobLocationAdminDto)
9056
9055
  ], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
9057
9056
  __decorateClass([
9058
- (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
9059
- (0, import_class_validator89.IsNotEmpty)({ message: "Please enter the academic qualification" }),
9057
+ (0, import_class_validator89.IsOptional)(),
9060
9058
  (0, import_class_validator89.IsString)({ message: "Academic qualification must be a string" })
9061
9059
  ], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
9062
9060
  __decorateClass([
package/dist/index.mjs CHANGED
@@ -1701,8 +1701,7 @@ __decorateClass([
1701
1701
  IsOptional22()
1702
1702
  ], JobBasicInformationV2Dto.prototype, "candidateCommunicationSkills", 2);
1703
1703
  __decorateClass([
1704
- ValidateIf4((o) => !o.isDraft),
1705
- IsNotEmpty42({ message: "Please enter the academic qualification" }),
1704
+ IsOptional22(),
1706
1705
  IsString22({ message: "Academic qualification must be a string" })
1707
1706
  ], JobBasicInformationV2Dto.prototype, "academicQualification", 2);
1708
1707
  __decorateClass([
@@ -9096,8 +9095,7 @@ __decorateClass([
9096
9095
  Type14(() => JobLocationAdminDto)
9097
9096
  ], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
9098
9097
  __decorateClass([
9099
- ValidateIf9((o) => !o.isDraft),
9100
- IsNotEmpty74({ message: "Please enter the academic qualification" }),
9098
+ IsOptional50(),
9101
9099
  IsString48({ message: "Academic qualification must be a string" })
9102
9100
  ], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
9103
9101
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.627",
3
+ "version": "1.0.628",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",