@experts_hub/shared 1.0.485 → 1.0.486
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
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1238,6 +1238,11 @@ __decorateClass([
|
|
|
1238
1238
|
(0, import_class_validator33.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
1239
1239
|
(0, import_class_transformer2.Type)(() => String)
|
|
1240
1240
|
], JobBasicInformationDto.prototype, "skills", 2);
|
|
1241
|
+
__decorateClass([
|
|
1242
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1243
|
+
(0, import_class_validator33.IsNumber)({}, { message: "Skill category must be a number" }),
|
|
1244
|
+
(0, import_class_transformer2.Type)(() => Number)
|
|
1245
|
+
], JobBasicInformationDto.prototype, "skillCategory", 2);
|
|
1241
1246
|
__decorateClass([
|
|
1242
1247
|
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1243
1248
|
(0, import_class_validator33.IsNumber)({}, { message: "Openings must be a number" }),
|
package/dist/index.mjs
CHANGED
|
@@ -1020,6 +1020,11 @@ __decorateClass([
|
|
|
1020
1020
|
IsString12({ each: true, message: "Each skill must be a string" }),
|
|
1021
1021
|
Type(() => String)
|
|
1022
1022
|
], JobBasicInformationDto.prototype, "skills", 2);
|
|
1023
|
+
__decorateClass([
|
|
1024
|
+
ValidateIf3((o) => !o.isDraft),
|
|
1025
|
+
IsNumber({}, { message: "Skill category must be a number" }),
|
|
1026
|
+
Type(() => Number)
|
|
1027
|
+
], JobBasicInformationDto.prototype, "skillCategory", 2);
|
|
1023
1028
|
__decorateClass([
|
|
1024
1029
|
ValidateIf3((o) => !o.isDraft),
|
|
1025
1030
|
IsNumber({}, { message: "Openings must be a number" }),
|