@experts_hub/shared 1.0.311 → 1.0.312
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
|
@@ -1109,8 +1109,8 @@ __decorateClass([
|
|
|
1109
1109
|
(0, import_class_validator31.ValidateIf)((o) => !o.isDraft),
|
|
1110
1110
|
(0, import_class_validator31.IsArray)({ message: "Skills must be an array" }),
|
|
1111
1111
|
(0, import_class_validator31.ArrayNotEmpty)({ message: "Please select at least one skill" }),
|
|
1112
|
-
(0, import_class_validator31.
|
|
1113
|
-
(0, import_class_transformer.Type)(() =>
|
|
1112
|
+
(0, import_class_validator31.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
1113
|
+
(0, import_class_transformer.Type)(() => String)
|
|
1114
1114
|
], JobBasicInformationDto.prototype, "skills", 2);
|
|
1115
1115
|
__decorateClass([
|
|
1116
1116
|
(0, import_class_validator31.ValidateIf)((o) => !o.isDraft),
|
package/dist/index.mjs
CHANGED
|
@@ -967,8 +967,8 @@ __decorateClass([
|
|
|
967
967
|
ValidateIf3((o) => !o.isDraft),
|
|
968
968
|
IsArray({ message: "Skills must be an array" }),
|
|
969
969
|
ArrayNotEmpty({ message: "Please select at least one skill" }),
|
|
970
|
-
|
|
971
|
-
Type(() =>
|
|
970
|
+
IsString11({ each: true, message: "Each skill must be a string" }),
|
|
971
|
+
Type(() => String)
|
|
972
972
|
], JobBasicInformationDto.prototype, "skills", 2);
|
|
973
973
|
__decorateClass([
|
|
974
974
|
ValidateIf3((o) => !o.isDraft),
|