@experts_hub/shared 1.0.394 → 1.0.395
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 +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1190,6 +1190,7 @@ __decorateClass([
|
|
|
1190
1190
|
(0, import_class_validator33.IsString)({ message: "Job role must be a string" })
|
|
1191
1191
|
], JobBasicInformationDto.prototype, "jobRole", 2);
|
|
1192
1192
|
__decorateClass([
|
|
1193
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1193
1194
|
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter project name" })
|
|
1194
1195
|
], JobBasicInformationDto.prototype, "projectName", 2);
|
|
1195
1196
|
__decorateClass([
|
package/dist/index.mjs
CHANGED
|
@@ -993,6 +993,7 @@ __decorateClass([
|
|
|
993
993
|
IsString12({ message: "Job role must be a string" })
|
|
994
994
|
], JobBasicInformationDto.prototype, "jobRole", 2);
|
|
995
995
|
__decorateClass([
|
|
996
|
+
ValidateIf3((o) => !o.isDraft),
|
|
996
997
|
IsNotEmpty29({ message: "Please enter project name" })
|
|
997
998
|
], JobBasicInformationDto.prototype, "projectName", 2);
|
|
998
999
|
__decorateClass([
|