@experts_hub/shared 1.0.400 → 1.0.401

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
@@ -1291,8 +1291,7 @@ __decorateClass([
1291
1291
  (0, import_class_validator33.IsString)({ message: "Years of experience must be a string" })
1292
1292
  ], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
1293
1293
  __decorateClass([
1294
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1295
- (0, import_class_validator33.IsNotEmpty)({ message: "Please enter the business industry" }),
1294
+ (0, import_class_validator33.IsOptional)(),
1296
1295
  (0, import_class_validator33.IsString)({ message: "Business industry must be a string" })
1297
1296
  ], JobBasicInformationDto.prototype, "businessIndustry", 2);
1298
1297
 
package/dist/index.mjs CHANGED
@@ -1091,8 +1091,7 @@ __decorateClass([
1091
1091
  IsString12({ message: "Years of experience must be a string" })
1092
1092
  ], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
1093
1093
  __decorateClass([
1094
- ValidateIf3((o) => !o.isDraft),
1095
- IsNotEmpty29({ message: "Please enter the business industry" }),
1094
+ IsOptional11(),
1096
1095
  IsString12({ message: "Business industry must be a string" })
1097
1096
  ], JobBasicInformationDto.prototype, "businessIndustry", 2);
1098
1097
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.400",
3
+ "version": "1.0.401",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",