@experts_hub/shared 1.0.311 → 1.0.313
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
|
@@ -999,7 +999,7 @@ __decorateClass([
|
|
|
999
999
|
(0, import_class_validator28.IsEmail)()
|
|
1000
1000
|
], UpdateCompanyProfileDto.prototype, "email", 2);
|
|
1001
1001
|
__decorateClass([
|
|
1002
|
-
(0, import_class_validator28.
|
|
1002
|
+
(0, import_class_validator28.IsOptional)(),
|
|
1003
1003
|
(0, import_class_validator28.IsString)({ message: "About company must be a string." })
|
|
1004
1004
|
], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
|
|
1005
1005
|
|
|
@@ -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
|
@@ -838,7 +838,7 @@ __decorateClass([
|
|
|
838
838
|
IsEmail4()
|
|
839
839
|
], UpdateCompanyProfileDto.prototype, "email", 2);
|
|
840
840
|
__decorateClass([
|
|
841
|
-
|
|
841
|
+
IsOptional5(),
|
|
842
842
|
IsString9({ message: "About company must be a string." })
|
|
843
843
|
], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
|
|
844
844
|
|
|
@@ -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),
|